/* Korean Baptist Church of Beaumont — 버몬트 한인침례교회
   공식 사이트 스타일. 보수적 침례교회 · 따뜻하고 절제된 편집 디자인 · 빠른 로딩.
   글꼴: Noto Serif KR(제목) / Noto Sans KR(본문). */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700&family=Noto+Serif+KR:wght@500;600;700&display=swap');

:root {
  --ink: #211c17;
  --ink-soft: #5a5148;
  --paper: #faf7f1;
  --paper-2: #f2ebdd;
  --paper-3: #e9dfca;
  --card: #ffffff;
  --line: #e0d6c1;
  --accent: #6b1f2a;        /* deep burgundy */
  --accent-soft: #8a3a45;
  --gold: #b28b4c;          /* muted warm accent for hairlines */
  --link: #6b1f2a;
  --max: 760px;             /* reading column */
  --wide: 1060px;           /* hero / banded sections */
  --serif: "Noto Serif KR", Georgia, "Times New Roman", "Batang", serif;
  --sans: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI",
          "Apple SD Gothic Neo", "Malgun Gothic", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }

a { color: var(--link); text-underline-offset: 2px; }
a:hover { color: var(--accent-soft); }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: var(--sans);
  font-size: 0.92rem; letter-spacing: 0.02em; font-weight: 500;
  padding: 0.72em 1.5em; border: 1px solid var(--accent);
  background: var(--accent); color: #fff; text-decoration: none;
  border-radius: 2px; transition: background .15s, color .15s;
}
.btn:hover, .btn:focus { background: var(--accent-soft); border-color: var(--accent-soft); color: #fff; }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.ghost:hover { background: var(--accent); color: #fff; }
.btn.small { padding: 0.5em 1.1em; font-size: 0.85rem; }

/* ---------- Header / nav ---------- */
.site-header { background: var(--paper); border-top: 3px solid var(--accent); border-bottom: 1px solid var(--line); }
.site-header .wrap { max-width: var(--wide); padding-top: 22px; padding-bottom: 14px; }
.brand { display: block; text-decoration: none; color: var(--ink); }
.brand .en { font-family: var(--serif); font-size: 1.36rem; font-weight: 600; letter-spacing: 0.01em; line-height: 1.2; }
.brand .ko { font-size: 0.98rem; color: var(--ink-soft); margin-top: 3px; }

nav.main {
  margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px 20px;
  font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.09em;
}
nav.main a { text-decoration: none; color: var(--ink-soft); padding: 3px 0; border-bottom: 2px solid transparent; }
nav.main a:hover, nav.main a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
}
.hero .wrap { max-width: var(--wide); padding: 56px 22px 52px; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 46px; align-items: center; }
.eyebrow {
  font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 14px; font-weight: 500;
}
.hero h1 { margin: 0 0 6px; font-size: 2.5rem; line-height: 1.16; letter-spacing: 0.005em; }
.hero .h1-ko { font-family: var(--serif); font-size: 1.25rem; color: var(--ink-soft); margin: 0 0 20px; }
.hero .theme { font-style: italic; color: var(--accent); font-size: 1.08rem; margin: 0 0 20px; line-height: 1.5; }
.hero-facts { margin: 0 0 26px; color: var(--ink-soft); font-size: 1.02rem; }
.hero-facts strong { color: var(--ink); font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }

/* ---------- Photo placeholders (swap for real <img> later) ---------- */
.photo {
  position: relative; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--paper-2), var(--paper-3));
  border: 1px dashed var(--gold); border-radius: 3px; overflow: hidden;
  color: var(--ink-soft);
}
.photo::after {
  content: attr(data-label); padding: 0 16px; text-align: center;
  font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.5;
}
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo.has-photo { border-style: solid; border-color: var(--line); }
.photo.hero-ph { aspect-ratio: 5 / 4; }
.photo.band { aspect-ratio: 16 / 7; margin: 1.6em 0; }
.photo.portrait { aspect-ratio: 4 / 5; max-width: 288px; margin: 1.4em 0; }

/* ---------- This-week band ---------- */
.this-week { background: var(--accent); color: #fff; }
.this-week .wrap { max-width: var(--wide); padding: 18px 22px; }
.tw-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 40px; }
.tw-inner > div { display: flex; flex-direction: column; }
.tw-k { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: #e7c4c9; }
.tw-v { font-family: var(--serif); font-size: 1.05rem; }
.this-week .btn { margin-left: auto; background: #fff; color: var(--accent); border-color: #fff; }
.this-week .btn:hover { background: var(--paper-2); }

/* ---------- Page header band (sub-pages) ---------- */
.page-head { background: linear-gradient(180deg, var(--paper-2), var(--paper)); border-bottom: 1px solid var(--line); }
.page-head .wrap { max-width: var(--wide); padding: 42px 22px 32px; }
.page-head .eyebrow { margin: 0 0 10px; }
.page-head h1 { font-size: 2.1rem; line-height: 1.18; margin: 0 0 8px; letter-spacing: 0.005em; }
.page-head .sub { margin: 0; color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- Main content ---------- */
main .wrap { padding: 48px 22px 24px; }
h2 {
  font-size: 1.5rem; margin: 2.4em 0 0.6em; line-height: 1.3;
  padding-bottom: 8px; border-bottom: 1px solid var(--line);
}
h2:first-of-type { margin-top: 0; }
h3 { font-size: 1.12rem; margin: 1.9em 0 0.4em; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
li { margin: 0.35em 0; }
.lede { font-size: 1.14rem; color: var(--ink-soft); }
.more { margin-top: -0.2em; }
.more a { font-weight: 500; text-decoration: none; }
.more a:hover { text-decoration: underline; }

blockquote {
  margin: 1.5em 0; padding: 0.1em 0 0.1em 20px;
  border-left: 3px solid var(--gold); color: var(--ink-soft);
  font-family: var(--serif); font-style: italic; font-size: 1.06rem;
}

/* ---------- Cards & fact lists ---------- */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 4px;
  padding: 6px 22px; margin: 1.3em 0;
  box-shadow: 0 1px 2px rgba(33, 28, 23, 0.04);
}
dl.facts { margin: 0.6em 0; }
dl.facts div { display: flex; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); }
dl.facts div:last-child { border-bottom: 0; }
dl.facts dt { flex: 0 0 130px; font-weight: 600; color: var(--ink-soft); }
dl.facts dd { margin: 0; }

.qa { margin: 1.4em 0; }
.qa h3 { margin-bottom: 0.2em; }
.qa p { margin-bottom: 1.4em; }

.callout {
  background: var(--paper-2); border: 1px solid var(--line); border-left: 3px solid var(--gold);
  padding: 16px 20px; margin: 1.7em 0; font-size: 0.98rem;
}

/* ---------- Footer ---------- */
.site-footer { margin-top: 56px; border-top: 3px solid var(--accent); background: var(--paper-2); font-size: 0.9rem; color: var(--ink-soft); }
.site-footer .wrap { max-width: var(--wide); padding: 34px 22px; }
.site-footer .name { font-family: var(--serif); color: var(--ink); font-weight: 600; font-size: 1rem; }
.site-footer a { color: var(--accent); }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 26px 64px; }
.site-footer p { margin: 0.25em 0; }

/* ---------- Language switch ---------- */
.langbar {
  display: flex; gap: 14px; font-size: 0.82rem; letter-spacing: 0.05em;
  text-transform: uppercase; margin: 0 0 8px; color: var(--ink-soft);
}
.langbar a { text-decoration: none; color: var(--ink-soft); }
.langbar a:hover { color: var(--accent); }
.langbar .sep { color: var(--line); }

.lang-ko, .lang-en { margin-top: 52px; padding-top: 10px; border-top: 3px double var(--line); }
.lang-ko > .langbar, .lang-en > .langbar { margin-top: 20px; }

/* ---------- Back to top ---------- */
.totop {
  position: fixed; right: 22px; bottom: 22px; z-index: 50;
  width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff; border-radius: 50%; text-decoration: none;
  font-size: 1.25rem; line-height: 1; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}
.totop:hover, .totop:focus { background: var(--accent-soft); color: #fff; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--accent); color: #fff; padding: 8px 14px; z-index: 60; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero .wrap { padding: 44px 22px 40px; }
  .hero h1 { font-size: 2rem; }
  .photo.hero-ph { aspect-ratio: 16 / 10; }
  .this-week .btn { margin-left: 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero h1 { font-size: 1.7rem; }
  .page-head h1 { font-size: 1.7rem; }
  dl.facts div { flex-direction: column; gap: 2px; }
  dl.facts dt { flex-basis: auto; }
  .card { padding: 4px 16px; }
  .totop { right: 14px; bottom: 14px; width: 42px; height: 42px; }
}
@media print { .totop { display: none; } }
