/* 기본 교리 (/CorePrinciples) 전용 — 2026-11-23
   공통 틀은 site/site.css, 색 · 글꼴 값은 site/site-tokens.css · shared/theme.css. 여기에는 색상값을 적지 않습니다.
   치수는 아임웹 https://firstfruitskr.org/CorePrinciples 를 PC 1440px · 모바일 390px 에서 잰 값입니다.
   교리 본문 모양은 doctrine/doctrine.css (아임웹에 붙어 있던 위젯 그대로). */

.ffc p,
.ffc h1 {
  margin: 0;
}

.ffc-line {
  height: 1px;
  background: var(--ff-site-line);
}

.ffc-eyebrow {
  color: var(--ff-gold);
  font-family: var(--ff-font-heading);
  font-weight: 700;
  text-align: center;
}

.ffc-title {
  color: var(--ff-site-text);
  font-weight: 700;
  text-align: center;
}

.ffc-closing-text {
  font-weight: 700;
  text-align: center;
}

/* ═══════════════════════ PC ═══════════════════════ */

/* 머리말 바로 아래 조모임 안내 한 줄은 2026-11-29 아임웹에서 빠져 이 페이지에도 없음 */

.ffs-pc .ffc-head {
  height: 341px;
  padding-top: 115px;
}

.ffs-pc .ffc-eyebrow {
  font-size: 23.148px;
  line-height: 32px;
}

.ffs-pc .ffc-title {
  margin-top: 5px;
  font-family: var(--ff-font-heading);
  font-size: 57.852px;
  line-height: 79px;
  letter-spacing: 1px;
}

.ffs-pc .ffc-head .ffc-line {
  margin-top: 89px;
}

.ffc-doctrine {
  padding-top: 31px;
}

.ffs-pc .ffc-closing {
  height: 277px;
  padding-top: 15px;
}

.ffs-pc .ffc-closing-text {
  margin-top: 85px;
  color: var(--ff-site-text-soft);
  font-family: var(--ff-font-heading);
  font-size: 30.852px;
  line-height: 46.278px;
  letter-spacing: -1px;
}

/* ═══════════════════════ 모바일 ═══════════════════════ */

@media (max-width: 991px) {
  .ffs-mo .ffc-head {
    height: 204px;
    padding-top: 66px;
  }

  .ffs-mo .ffc-eyebrow {
    font-size: 18px;
    line-height: 24px;
  }

  .ffs-mo .ffc-title {
    margin-top: 6px;
    font-family: var(--ff-font-site);
    font-size: 24px;
    line-height: 30px;
  }

  .ffs-mo .ffc-head .ffc-line {
    margin-top: 34px;
  }

  .ffc-doctrine {
    padding-top: 16px;
  }

  .ffs-mo .ffc-closing {
    height: 127px;
    padding-top: 15px;
  }

  .ffs-mo .ffc-closing-text {
    color: var(--ff-site-text);
    font-family: var(--ff-font-site);
    font-size: 18px;
    line-height: 28.8px;
    word-break: keep-all;
  }
}

/* 다크 모드(2026-11-30) — 교리 위젯(doctrine/doctrine.css)은 색이 직접 적혀 있어(아임웹에 붙어 있던 위젯 그대로)
   어두운 바탕에서 본문 · 제목이 흐린 회색이 됩니다. 위젯 파일은 아임웹과 함께 쓰므로 고치지 않고 여기서만 덮습니다. */
@media (prefers-color-scheme: dark) {
  .ffs-page #ffDoctrineRoot,
  .ffs-page #ffDoctrineRoot .acc-title,
  .ffs-page #ffDoctrineRoot .more-label:hover {
    color: var(--ff-site-text);
  }

  .ffs-page #ffDoctrineRoot .acc-summary,
  .ffs-page #ffDoctrineRoot .acc-body-inner p,
  .ffs-page #ffDoctrineRoot ul.list li {
    color: var(--ff-site-text-soft);
  }

  .ffs-page #ffDoctrineRoot .acc-source-note,
  .ffs-page #ffDoctrineRoot .acc-status {
    color: var(--ff-site-label);
  }

  .ffs-page #ffDoctrineRoot .acc-divider {
    background: var(--ff-site-line);
    opacity: 1;
  }

  .ffs-page #ffDoctrineRoot .verse,
  .ffs-page #ffDoctrineRoot .bracket-label {
    background: var(--ff-site-cell-tint);
  }

  .ffs-page #ffDoctrineRoot .verse {
    color: var(--ff-site-text);
  }
}
