/* ================================
   Contact page styles
   ================================ */

/* 页面底色与列表 / detail 一致 */
body.page--contact{
  background: #f5f2e8;
}

/* 主容器 */
.ct{
  padding: 80px 22px 120px;
}

.ct__inner{
  max-width: 720px;
  margin: 0 auto;
}

/* ================================
   Breadcrumb
   ================================ */
.ct-breadcrumb{
  font-size: 11px;
  letter-spacing: .14em;
  color: rgba(43,43,42,.55);
  text-transform: uppercase;
  margin-bottom: 42px;
}

.ct-breadcrumb a{
  color: inherit;
  text-decoration: none;
}

.ct-sep{
  margin: 0 6px;
}

/* ================================
   Head
   ================================ */
.ct-head{
  text-align: center;
  margin-bottom: 46px;
}

.ct-title{
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: .04em;
  color: #2b2b2a;
}

/* ================================
   Lead text
   ================================ */
.ct-lead{
  text-align: center;
  margin-bottom: 56px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(43,43,42,.75);
}

.ct-email{
  color: #bfa77a;
  text-decoration: none;
}

.ct-email:hover{
  text-decoration: underline;
}

/* ================================
   Alert (success / error)
   ================================ */
.ct-alert{
  margin-bottom: 32px;
  padding: 14px 18px;
  font-size: 13px;
  line-height: 1.6;
  border: 1px solid transparent;
}

.ct-alert[data-type="ok"]{
  color: #4a6b52;
  border-color: rgba(74,107,82,.35);
  background: rgba(74,107,82,.08);
}

.ct-alert[data-type="err"]{
  color: #7a3b3b;
  border-color: rgba(122,59,59,.35);
  background: rgba(122,59,59,.08);
}

/* ================================
   Form
   ================================ */
.ct-form{
  width: 100%;
}

/* Honeypot 隐藏 */
.ct-hp{
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* grid */
.ct-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 20px;
}

/* field */
.ct-field{
  display: flex;
  flex-direction: column;
}

.ct-field--full{
  grid-column: 1 / -1;
}

.ct-field input,
.ct-field textarea{
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  color: #2b2b2a;
  background: transparent;
  border: 1px solid rgba(0,0,0,.25);
  padding: 14px 14px;
  outline: none;
}

.ct-field textarea{
  resize: vertical;
  min-height: 160px;
}

/* placeholder */
.ct-field input::placeholder,
.ct-field textarea::placeholder{
  color: rgba(43,43,42,.45);
}

/* focus */
.ct-field input:focus,
.ct-field textarea:focus{
  border-color: #bfa77a;
}

/* error text */
.ct-err{
  margin-top: 6px;
  font-size: 11px;
  color: #7a3b3b;
  min-height: 14px;
}

/* ================================
   Captcha wrapper（可选）
   ================================ */
.ct-captcha{
  margin: 34px 0 10px;
}

/* ================================
   Submit button
   ================================ */
.ct-btn{
  margin-top: 36px;
  padding: 14px 28px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  background: #c9a67a;
  border: 0;
  cursor: pointer;
}

.ct-btn:hover{
  background: #bfa77a;
}

.ct-btn:disabled{
  opacity: .5;
  cursor: not-allowed;
}

/* ================================
   Responsive
   ================================ */
@media (max-width: 900px){
  .ct{
    padding: 64px 18px 96px;
  }

  .ct__inner{
    max-width: 520px;
  }
}

@media (max-width: 640px){
  .ct-grid{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ct-title{
    font-size: 20px;
  }

  .ct-lead{
    font-size: 13px;
  }

  .ct-btn{
    width: 100%;
    text-align: center;
  }
}
