/* Pages from the 2026-11-24 meeting: 처음 오셨나요? paths (home and 예배 안내), the dated archive with FOCUS, one
   ministry page pattern (중고등부), one canonical post, and the public 주보 공개본 with its members-only note.
   Tokens only (elim.css): navy ink, warm paper, one orange action; spacing 8/16/24/40/64; radii 12/20 and 100vmax pills. */

/* ---------- shared: a row of quiet links under a card ---------- */
.fp-go { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: var(--s3) 0 0; }
.fp-go .link { font-weight: 600; }

/* ---------- home: 처음 오셨나요? ---------- */
.hm-first .fp-list { list-style: none; margin: var(--s3) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s2); }
.hm-first .fp-list a { position: relative; display: grid; gap: 8px; min-height: 100%; padding: var(--s3); border-radius: 20px;
  background: #fff; box-shadow: inset 0 0 0 1px var(--rule); color: var(--ink); text-decoration: none;
  transition: box-shadow var(--spring-quick-dur) var(--spring-quick), transform var(--spring-snappy-dur) var(--spring-snappy); }
.hm-first .fp-n { display: flex; align-items: center; justify-content: space-between; gap: 8px; font: 700 var(--t-lead)/1.3 var(--sans); letter-spacing: -.01em; }
.hm-first .fp-a { display: grid; gap: 4px; font: 400 var(--t-small)/1.45 var(--sans); color: var(--ink-2); }
.hm-first .fp-a b { font: 600 var(--t-body)/1.2 var(--sans); color: var(--ink); }
.hm-first .fp-list svg { flex: none; width: 20px; height: 20px; color: var(--ink-3);
  transition: transform var(--spring-snappy-dur) var(--spring-snappy), color var(--spring-quick-dur) var(--spring-quick); }
.hm-first .fp-list a:hover, .hm-first .fp-list a:focus-visible { box-shadow: inset 0 0 0 2px var(--night); }
.hm-first .fp-list a:hover svg, .hm-first .fp-list a:focus-visible svg { transform: translateX(4px); color: var(--orange-ink); }
.hm-first .fp-list a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.hm-first .fp-list a:active { transform: scale(.98); }
@media (max-width: 1024px) { .hm-first .fp-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* phone: one plain column of rows, in reading order (Hanmaum note: readable at 320 px) */
@media (max-width: 560px) {
  .hm-first .fp-list { grid-template-columns: 1fr; gap: 0; border-radius: 20px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--rule); background: #fff; }
  .hm-first .fp-list li + li a { border-top: 1px solid var(--rule); }
  .hm-first .fp-list a { border-radius: 0; box-shadow: none; padding: var(--s2); gap: 4px; }
  .hm-first .fp-list a:hover, .hm-first .fp-list a:focus-visible { box-shadow: inset 0 0 0 2px var(--night); }
  .hm-first .fp-a { grid-auto-flow: column; justify-content: start; gap: 8px; align-items: baseline; }
}

/* ---------- 예배 안내: four path cards ---------- */
.first .fp-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); margin-top: var(--s3); }
.fp-card { padding: var(--s4) var(--s4) var(--s3); border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--rule); scroll-margin-top: var(--s6); }
.fp-card:target { box-shadow: inset 0 0 0 2px var(--night); }
.fp-card h3 { margin: 0 0 var(--s2); font: 700 var(--t-h3)/1.25 var(--sans); color: var(--ink); }
.fp-card dl, .mn-card { margin: 0; display: grid; gap: 0; }
.fp-card dl > div, .mn-card > div { display: grid; grid-template-columns: 96px 1fr; gap: var(--s2); padding: 12px 0; border-top: 1px solid var(--rule); }
.fp-card dt, .mn-card dt { font: 600 var(--t-small)/1.5 var(--sans); color: var(--ink-3); }
.fp-card dd, .mn-card dd { margin: 0; font: 400 var(--t-body)/1.5 var(--sans); color: var(--ink); }
.fp-card dd b, .mn-card dd b { font-weight: 700; }
#first + #schedule { padding-top: 0; }
@media (max-width: 820px) { .first .fp-cards { grid-template-columns: 1fr; } .fp-card { padding: var(--s3) var(--s3) var(--s2); } }
@media (max-width: 380px) { .fp-card dl > div, .mn-card > div { grid-template-columns: 1fr; gap: 0; } }

/* ---------- 교회 소식: FOCUS + dated archive ---------- */
.focus-card { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "k t go" "k m go"; gap: 4px var(--s3); align-items: center;
  padding: var(--s3) var(--s4); border-radius: 20px; background: var(--night); color: #fff; text-decoration: none; margin-bottom: var(--s4);
  transition: transform var(--spring-snappy-dur) var(--spring-snappy); }
.focus-card .fc-k { grid-area: k; align-self: center; padding: 8px 12px; border-radius: 100vmax; background: var(--orange); color: var(--night); font: 800 13px/1 var(--sans); letter-spacing: .08em; }
.focus-card .fc-t { grid-area: t; font: 700 var(--t-h3)/1.3 var(--sans); }
.focus-card .fc-m { grid-area: m; display: flex; flex-wrap: wrap; gap: 4px 24px; font: 400 var(--t-small)/1.5 var(--sans); color: rgba(255, 255, 255, .78); }
.focus-card .fc-m b, .focus-card .fc-m time { color: #fff; font-weight: 600; }
.focus-card .fc-go { grid-area: go; width: 24px; height: 24px; color: var(--orange); transition: transform var(--spring-snappy-dur) var(--spring-snappy); }
.focus-card:hover .fc-go, .focus-card:focus-visible .fc-go { transform: translateX(4px); }
.focus-card:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.focus-card:active { transform: scale(.99); }
@media (max-width: 560px) { .focus-card { grid-template-columns: 1fr auto; grid-template-areas: "k go" "t t" "m m"; padding: var(--s3); gap: 8px; } .focus-card .fc-k { justify-self: start; } }

.ar-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ar-bar .ar-q { flex: 1 1 280px; min-width: 0; max-width: 100%; }
.ar-bar .ar-q input { width: 100%; }
.ar-count { margin: var(--s2) 0 0; font: 400 var(--t-small)/1.5 var(--sans); color: var(--ink-3); }
.ar-list { list-style: none; margin: var(--s2) 0 0; padding: 0; border-top: 1px solid var(--ink); }
.ar-list li { display: grid; grid-template-columns: 112px 56px minmax(0, 1fr) auto; gap: var(--s2); align-items: baseline; border-bottom: 1px solid var(--rule); }
.ar-list li[hidden] { display: none; }
.ar-list time { padding: var(--s2) 0; font: 400 var(--t-small)/1.5 var(--sans); color: var(--ink-3); }
.ar-list a { display: block; padding: var(--s2) 0; font: 500 var(--t-body)/1.5 var(--sans); color: var(--ink); text-decoration: none; }
.ar-list a:hover, .ar-list a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.ar-k { justify-self: start; padding: 4px 8px; border-radius: 8px; font: 600 13px/1.3 var(--sans); background: var(--sand-2); color: var(--ink-2); }
.ar-k-album { background: var(--spring); color: var(--ink); }
.ar-k-jubo { background: #FFF1E0; color: var(--orange-ink); }
.ar-n { font: 400 var(--t-small)/1.5 var(--sans); color: var(--ink-3); }
.ar-more { display: flex; justify-content: center; margin-top: var(--s3); }
/* a year's list, 20 posts a page (archive.js): round number keys in the button language of .btn-line; the current page filled */
.ar-pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px; margin-top: var(--s3); }
.ar-pager button { min-width: 44px; height: 44px; padding: 0 8px; border: 0; border-radius: 100vmax; background: transparent; color: var(--ink-2);
  font: 500 var(--t-small)/1 var(--sans); font-variant-numeric: tabular-nums; cursor: pointer;
  transition: background-color var(--spring-quick-dur) var(--spring-quick), color var(--spring-quick-dur) var(--spring-quick), transform var(--spring-snappy-dur) var(--spring-snappy); }
.ar-pager button:hover, .ar-pager button:focus-visible { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--rule-blue); }
.ar-pager button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.ar-pager button:active:not(:disabled) { transform: scale(.94); }
.ar-pager button[aria-current="page"] { background: var(--night); color: #fff; box-shadow: none; font-weight: 600; }
.ar-pager button:disabled { color: var(--ink-3); opacity: .45; cursor: default; }
.ar-pager .ar-gap { min-width: 24px; text-align: center; color: var(--ink-3); }
.ar-empty { padding: var(--s4) 0; text-align: center; color: var(--ink-2); }
.ar-empty p { margin: 0 0 var(--s2); font: 500 var(--t-body)/1.5 var(--sans); }
.btn-line { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border: 0; border-radius: 100vmax;
  background: #fff; box-shadow: inset 0 0 0 1px var(--rule-blue); color: var(--ink); font: 600 var(--t-small)/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: box-shadow var(--spring-quick-dur) var(--spring-quick), transform var(--spring-snappy-dur) var(--spring-snappy); }
.btn-line:hover, .btn-line:focus-visible { box-shadow: inset 0 0 0 2px var(--night); }
.btn-line:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.btn-line:active { transform: scale(.96); }
@media (max-width: 560px) {
  .ar-list li { grid-template-columns: auto auto 1fr; grid-template-areas: "d k n" "t t t"; gap: 0 8px; padding: 12px 0; }
  .ar-list time { grid-area: d; padding: 0; } .ar-k { grid-area: k; } .ar-n { grid-area: n; justify-self: end; }
  .ar-list a { grid-area: t; padding: 4px 0 0; min-height: 44px; }
  .ar-bar .ar-y { flex: 1 1 100%; } .ar-bar .ar-y select { width: 100%; }
}

/* ---------- 사역 페이지 (중고등부) ---------- */
.mn-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s5); margin-top: var(--s3); align-items: start; }
.mn-lead { margin: 0 0 var(--s3); font: 600 var(--t-lead)/1.6 var(--sans); color: var(--ink); }
.mn-card a { color: var(--ink); font-weight: 600; }
.mn-recent .mn-h { margin: 0; font: 700 var(--t-h3)/1.3 var(--sans); color: var(--ink); }
.mn-recent .news-more { margin-top: var(--s3); }
@media (max-width: 900px) { .mn-grid { grid-template-columns: 1fr; gap: var(--s4); } }

/* ---------- one post ---------- */
.post-crumb { display: flex; gap: 8px; margin: 0 0 var(--s2); font: 500 var(--t-small)/1.5 var(--sans); color: var(--ink-3); }
.post-crumb a { display: inline-flex; align-items: center; min-height: 44px; margin: -12px 0; color: var(--ink-2); }
.post-head h1, .post-head h2 { margin: 0; font: 800 var(--t-h1)/1.2 var(--sans); letter-spacing: -.02em; color: var(--ink); }
.post-meta { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: var(--s2) 0 0; padding-bottom: var(--s3); border-bottom: 1px solid var(--ink); font: 400 var(--t-small)/1.5 var(--sans); color: var(--ink-3); }
.post-meta time { color: var(--ink); font-weight: 600; }
.post-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 360px); gap: var(--s5); margin-top: var(--s4); align-items: start; }
.post-facts { margin: 0; }
.post-facts > div { display: grid; grid-template-columns: 112px 1fr; gap: var(--s2); padding: var(--s2) 0; border-bottom: 1px solid var(--rule); }
.post-facts dt { font: 600 var(--t-small)/1.5 var(--sans); color: var(--ink-3); }
.post-facts dd { margin: 0; font: 400 var(--t-lead)/1.5 var(--sans); color: var(--ink); }
.post-poster { display: flex; align-items: flex-start; gap: var(--s2); padding: var(--s3); border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--rule);
  color: var(--ink); text-decoration: none; transition: box-shadow var(--spring-quick-dur) var(--spring-quick), transform var(--spring-snappy-dur) var(--spring-snappy); }
.post-poster svg { width: 24px; height: 24px; flex: none; color: var(--ink-2); }
.pp-t { display: grid; gap: 4px; font: 700 var(--t-body)/1.4 var(--sans); }
.pp-t small { font: 400 var(--t-cap)/1.4 var(--sans); color: var(--ink-3); }
.post-poster:hover, .post-poster:focus-visible { box-shadow: inset 0 0 0 2px var(--night); }
.post-poster:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.post-poster:active { transform: scale(.98); }
.post-files { margin-top: var(--s4); }
.post-files h2 { margin: 0 0 8px; font: 700 var(--t-small)/1.5 var(--sans); color: var(--ink-3); }
.post-files ul { list-style: none; margin: 0; padding: 0; }
.post-files li { display: flex; align-items: center; gap: 12px; padding: 12px var(--s2); border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--rule); font: 500 var(--t-body)/1.4 var(--sans); color: var(--ink); }
.post-files li svg { width: 20px; height: 20px; flex: none; color: var(--ink-2); }
.post-files small { margin-left: auto; font: 400 var(--t-cap)/1.4 var(--sans); color: var(--ink-3); }
.post-back { margin: var(--s4) 0 0; }
@media (max-width: 820px) { .post-body { grid-template-columns: 1fr; gap: var(--s4); } .post-facts > div { grid-template-columns: 88px 1fr; } }

/* ---------- 주보: 공개본 label and the members-only note ---------- */
.jubo-pub { margin-left: 12px; padding: 4px 8px; border-radius: 8px; background: var(--spring); color: var(--ink); font: 600 13px/1.3 var(--sans); vertical-align: 2px; }
.jubo-lock { display: flex; gap: 12px; align-items: flex-start; margin-top: var(--s3); padding: var(--s2) var(--s3); border-radius: 12px; background: var(--sand-2); color: var(--ink-2); }
.jubo-lock svg { width: 24px; height: 24px; flex: none; color: var(--ink); }
.jubo-lock p { margin: 0; font: 400 var(--t-small)/1.6 var(--sans); }
.jubo-lock b { color: var(--ink); }
.mn-recent .ar-list { margin-top: var(--s3); }
.mn-recent .mn-h, .post-files h2 { border-bottom: 0; padding-bottom: 0; }

/* ---------- 교회 소식 · 기록 (every post of the church's boards) ---------- */
.ar-groups { margin-top: var(--s2); }
.ar-boards { list-style: none; margin: var(--s3) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.ar-boards a { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "n go" "m ."; gap: 4px 12px; align-items: center; min-height: 100%;
  padding: var(--s2); border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--rule); color: var(--ink); text-decoration: none;
  transition: box-shadow var(--spring-quick-dur) var(--spring-quick), transform var(--spring-snappy-dur) var(--spring-snappy); }
.ar-boards .bc-n { grid-area: n; font: 700 var(--t-body)/1.4 var(--sans); }
.ar-boards .bc-m { grid-area: m; font: 400 var(--t-cap)/1.4 var(--sans); color: var(--ink-3); }
.ar-boards .bc-m b { color: var(--ink); font-weight: 600; }
.ar-boards svg { grid-area: go; width: 20px; height: 20px; color: var(--ink-3); transition: transform var(--spring-snappy-dur) var(--spring-snappy); }
.ar-boards a:hover, .ar-boards a:focus-visible { box-shadow: inset 0 0 0 2px var(--night); }
.ar-boards a:hover svg, .ar-boards a:focus-visible svg { transform: translateX(4px); color: var(--orange-ink); }
.ar-boards a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.ar-boards a:active { transform: scale(.98); }
.news-archive .ar-list li { grid-template-columns: 112px minmax(96px, auto) minmax(0, 1fr) auto; }
.ar-k { white-space: nowrap; }
.ar-k-word { background: #FFF1E0; color: var(--orange-ink); }
.ar-k-news { background: var(--sand-2); color: var(--ink-2); }
.ar-k-photo { background: var(--spring); color: var(--ink); }
.ar-k-next { background: #EAF2EC; color: #1E5B3A; }
.ar-k-train { background: #EEEAF5; color: #4A3B7A; }
@media (max-width: 560px) { .ar-boards { grid-template-columns: 1fr 1fr; } .ar-boards a { padding: 12px; } .ar-boards svg { display: none; } .ar-boards a { grid-template-columns: 1fr; grid-template-areas: "n" "m"; } }

.archive-board .ab-year { margin-top: var(--s4); }
.archive-board .ab-year h2 { margin: 0; padding: 0; border: 0; font: 700 var(--t-h3)/1.3 var(--sans); color: var(--ink); }
.archive-board .ar-list { margin-top: var(--s2); }
.archive-board .ar-list li { grid-template-columns: 72px minmax(0, 1fr); }
@media (max-width: 560px) { .archive-board .ar-list li { grid-template-columns: 56px minmax(0, 1fr); grid-template-areas: none; gap: 0 12px; padding: 0; }
  .archive-board .ar-list time { grid-area: auto; padding: var(--s2) 0; } .archive-board .ar-list a { grid-area: auto; padding: var(--s2) 0; } }

.post-text { max-width: 720px; margin-top: var(--s4); }
.post-text p { max-width: 37em; margin: 0 0 var(--s2); font: 400 var(--t-body)/1.85 var(--sans); color: var(--ink); overflow-wrap: anywhere; }
.post-empty { color: var(--ink-3) !important; }
.post-note { max-width: 720px; margin: var(--s3) 0 0; padding: 12px var(--s2); border-radius: 12px; background: var(--sand-2); font: 400 var(--t-small)/1.6 var(--sans); color: var(--ink-2); }
.post-gallery { margin: var(--s3) 0; }
.post-gallery.pg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; max-width: 1040px; }
.pg-ph { display: block; border-radius: 12px; overflow: hidden; background: var(--sand-2); }
.pg-grid .pg-ph { aspect-ratio: 4 / 3; }
.pg-ph img { display: block; object-fit: cover;
  /* grid crops fill their cell; a single picture keeps the width written on it (capped by the column), so its space is held before it loads */
}
.pg-grid .pg-ph img { width: 100%; height: 100%; transition: transform var(--spring-smooth-dur) var(--spring-smooth); }
.post-gallery.pg-one { max-width: 720px; }
.pg-one .pg-ph { background: none; }
.pg-one .pg-ph img { height: auto; }
.pg-ph:hover img { transform: scale(1.02); }
.pg-ph:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
@media (max-width: 560px) { .post-gallery.pg-grid { grid-template-columns: 1fr 1fr; } }
.post-video, .post-frame { position: relative; display: block; width: 100%; max-width: 720px; aspect-ratio: 16 / 9; margin: var(--s3) 0; border: 0; border-radius: 12px; overflow: hidden; background: var(--night); }
.post-video img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.pv-play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 8px 24px rgba(11, 36, 71, .3); }
.pv-play::after { content: ""; position: absolute; left: 26px; top: 20px; border-left: 20px solid var(--night); border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.post-video:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.post-orig { margin: var(--s3) 0 0; font: 500 var(--t-small)/1.5 var(--sans); }
.post-orig a { display: inline-flex; align-items: center; min-height: 44px; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid var(--rule); }
.post-nav a { display: grid; gap: 4px; min-height: 64px; padding: 12px var(--s2); border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--rule); color: var(--ink); text-decoration: none; }
.post-nav .pn-next { text-align: right; }
.post-nav small { font: 600 var(--t-cap)/1.4 var(--sans); color: var(--ink-3); }
.post-nav a span { font: 600 var(--t-small)/1.45 var(--sans); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.post-nav a:hover, .post-nav a:focus-visible { box-shadow: inset 0 0 0 2px var(--night); }
@media (max-width: 560px) { .post-nav { grid-template-columns: 1fr; } .post-nav .pn-next { text-align: left; } }
.ar-y select { min-height: 48px; padding: 0 32px 0 16px; border: 0; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--rule); font: 600 var(--t-small)/1 var(--sans); color: var(--ink); cursor: pointer; }
.ar-y select:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
@media (max-width: 560px) { .news-archive .ar-list li { grid-template-columns: auto auto 1fr; } }

/* ---------- 파란 띠: the church's blue band, as calm as the footer it answers ---------- */
:root { --belt-h: 32px; --header-h: 112px; }
@media (max-width: 900px) { :root { --belt-h: 28px; --header-h: 92px; } }
@media (max-width: 760px) { :root { --header-h: 84px; } }
.belt { position: relative; height: var(--belt-h); overflow: hidden; color: #fff; background: linear-gradient(90deg, #0B2447 0%, #123A75 50%, #0B2447 100%); }
.belt-txt { position: absolute; inset: 0; margin: 0; display: flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap; }
.belt-dove { width: 28px; height: 20px; flex: none; }
.belt-txt b { font: 400 15px/1 "MaruBuri", var(--serif); letter-spacing: .01em; }
.belt-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--orange); }
.belt-name { font: 500 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
@media (max-width: 900px) { .belt-txt b { font-size: 13px; } .belt-dove { width: 24px; height: 17px; } }
@media (max-width: 640px) { .belt-name, .belt-dot { display: none; } }

/* ---------- 게시판 (the old menu folded into six sections) ---------- */
.boards .bd-group + .bd-group { margin-top: var(--s4); }
.boards .bd-group h3, .ai-col h3 { margin: 0; font: 700 var(--t-small)/1.5 var(--sans); color: var(--ink-3); }
.boards .ar-boards { margin-top: 12px; }
.archive-sec .boards { margin-top: var(--s4); }
.ar-k-t { background: var(--sand-2); color: var(--ink-2); }
.ar-k-about { background: #EAF2EC; color: #1E5B3A; }
.ar-k-worship { background: #FFF1E0; color: var(--orange-ink); }
.ar-k-qt { background: #EEEAF5; color: #4A3B7A; }
.ar-k-prayer { background: var(--spring); color: var(--ink); }
.ar-k-mission, .ar-k-album { background: var(--sand-2); color: var(--ink-2); }

.ai-cols { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s3); margin: var(--s4) 0 var(--s5); padding-bottom: var(--s4); border-bottom: 1px solid var(--rule); }
.ai-col h2 { margin: 0 0 var(--s2); padding: 0 0 12px; border-bottom: 1px solid var(--ink); font: 700 var(--t-h3)/1.3 var(--sans); }
.ai-col h2 a { color: var(--ink); text-decoration: none; }
.ai-col h3 { margin-top: var(--s2); }
.ai-col ul { list-style: none; margin: 4px 0 0; padding: 0; }
.ai-col li { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.ai-col li a { display: inline-flex; align-items: center; min-height: 40px; color: var(--ink); text-decoration: none; font: 500 var(--t-small)/1.4 var(--sans); }
.ai-col li a:hover, .ai-col li a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.ai-col small { font: 400 var(--t-cap)/1 var(--sans); color: var(--ink-3); }
@media (max-width: 1180px) { .ai-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: var(--s4); } }
@media (max-width: 560px) { .ai-cols { grid-template-columns: 1fr 1fr; gap: var(--s4) var(--s2); } }

/* FOCUS: each poster whole, in an A4 frame (meeting 2026-11-24: "틀 자체를 A4 비율로") */
.focus-posters { margin-bottom: var(--s5); }
.focus-posters ul { list-style: none; margin: var(--s3) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); }
.focus-posters a { display: grid; gap: 8px; color: var(--ink); text-decoration: none; }
.fp-a4 { display: block; aspect-ratio: 1 / 1.414; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--rule);
  transition: box-shadow var(--spring-quick-dur) var(--spring-quick), transform var(--spring-snappy-dur) var(--spring-snappy); }
.fp-a4 img { width: 100%; height: 100%; object-fit: contain; }
.fp-blank { display: block; width: 100%; height: 100%; background: var(--sand-2); }
.focus-posters .fp-t { font: 700 var(--t-body)/1.4 var(--sans); }
.focus-posters time { font: 400 var(--t-cap)/1.4 var(--sans); color: var(--ink-3); }
.focus-posters a:hover .fp-a4, .focus-posters a:focus-visible .fp-a4 { box-shadow: inset 0 0 0 2px var(--night); transform: translateY(-2px); }
.focus-posters a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 12px; }
@media (max-width: 900px) { .focus-posters ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 부서 · 순 · 훈련: their own words, their Instagram, their board */
.dp-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s5); margin-top: var(--s4); align-items: start; }
.dp-text p { max-width: 37em; margin: 0 0 12px; font: 400 var(--t-body)/1.8 var(--sans); color: var(--ink); }
.dp-insta { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "k go" "b ."; gap: 4px 12px; align-items: center; padding: var(--s3); border-radius: 20px;
  background: var(--night); color: #fff; text-decoration: none; transition: transform var(--spring-snappy-dur) var(--spring-snappy); }
.dp-insta + .dp-insta { margin-top: 8px; }
.dp-insta .dp-k { grid-area: k; font: 500 var(--t-small)/1.4 var(--sans); color: rgba(255, 255, 255, .8); }
.dp-insta b { grid-area: b; font: 700 var(--t-h3)/1.3 var(--sans); }
.dp-insta svg { grid-area: go; width: 24px; height: 24px; color: var(--orange); transition: transform var(--spring-snappy-dur) var(--spring-snappy); }
.dp-insta:hover svg, .dp-insta:focus-visible svg { transform: translateX(4px); }
.dp-insta:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.dp-insta:active { transform: scale(.98); }
.dp-board { margin-top: var(--s5); }
.dp-board .ar-list { margin-top: var(--s2); }
@media (max-width: 900px) { .dp-grid { grid-template-columns: 1fr; gap: var(--s3); } .dp-side { order: -1; } }
.focus-posters .sh, .boards .sh, .dp-board .sh { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s2); }
.focus-posters .sh .link, .boards .sh .link, .dp-board .sh .link { flex: none; white-space: nowrap; }

/* 모든 게시판: nine categories as cards, each board a row with its count and years */
.ai-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); margin: var(--s4) 0 var(--s5); align-items: start; }
.ai-cat { padding: var(--s3); border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--rule); }
.ai-cat header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.ai-cat h2 { margin: 0; padding: 0; border: 0; font: 700 var(--t-h3)/1.3 var(--sans); color: var(--ink); }
.ai-cat header .num { font: 600 var(--t-small)/1 var(--sans); color: var(--ink-3); }
.ai-cat ul { list-style: none; margin: 0; padding: 0; }
.ai-cat li + li { border-top: 1px solid var(--rule); }
.ai-cat a { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "n go" "m ."; gap: 4px 12px; align-items: center; padding: 12px 0; color: var(--ink); text-decoration: none; }
.ai-cat .bc-n { grid-area: n; font: 600 var(--t-body)/1.4 var(--sans); }
.ai-cat .bc-m { grid-area: m; font: 400 var(--t-cap)/1.4 var(--sans); color: var(--ink-3); }
.ai-cat .bc-m b { color: var(--ink-2); font-weight: 600; }
.ai-cat svg { grid-area: go; width: 18px; height: 18px; color: var(--ink-3); transition: transform var(--spring-snappy-dur) var(--spring-snappy), color var(--spring-quick-dur) var(--spring-quick); }
.ai-cat a:hover .bc-n, .ai-cat a:focus-visible .bc-n { text-decoration: underline; text-underline-offset: 4px; }
.ai-cat a:hover svg, .ai-cat a:focus-visible svg { transform: translateX(4px); color: var(--orange-ink); }
.ai-cat a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 8px; }
@media (max-width: 1024px) { .ai-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ai-cats { grid-template-columns: 1fr; gap: var(--s2); } .ai-cat { padding: var(--s2) var(--s3); } }

.ar-boards a svg, .ai-cat a svg, .dp-insta svg { align-self: center; }

/* photos never larger than they are (owner 2026-11-24: "화질도 안좋아") */
.pg-one .pg-ph { display: inline-block; max-width: 100%; vertical-align: top; }
.pg-one .pg-ph img { max-width: 100%; height: auto; }

/* short boards and 5대 훈련 on one page */
.compendium .cp-post { max-width: 760px; margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid var(--rule); }
.compendium .cp-post h2, .compendium .cp-post h3 { margin: 0; padding: 0; border: 0; font: 700 var(--t-h3)/1.35 var(--sans); color: var(--ink); }
.compendium .cp-post .post-meta { margin: 8px 0 0; padding: 0; border: 0; }
.compendium .cp-post .post-text { margin-top: var(--s2); }
.tr-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s3); }
.tr-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s2); border-radius: 100vmax; background: #fff; box-shadow: inset 0 0 0 1px var(--rule); color: var(--ink); font: 600 var(--t-small)/1 var(--sans); text-decoration: none; }
.tr-nav a:hover, .tr-nav a:focus-visible { box-shadow: inset 0 0 0 2px var(--night); }
.tr-ch { margin-top: var(--s5); scroll-margin-top: calc(var(--header-h) + 16px); }
.tr-ch > h2 { margin: 0; padding: 0 0 12px; border-bottom: 1px solid var(--ink); font: 700 var(--t-h2)/1.25 var(--sans); }
.tr-ch > .post-text { margin-top: var(--s3); }

/* 다음 세대 · 순: one card per department or group */
.gp-intro { margin-top: var(--s3); }
.gp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); margin-top: var(--s4); align-items: start; }
.gp-card { display: grid; gap: 12px; padding: var(--s3); border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--rule); scroll-margin-top: calc(var(--header-h) + 16px); }
.gp-card:target { box-shadow: inset 0 0 0 2px var(--night); }
.gp-card h2 { margin: 0; padding: 0; border: 0; font: 700 var(--t-h3)/1.3 var(--sans); color: var(--ink); }
.gp-when { margin: -4px 0 0; font: 500 var(--t-small)/1.5 var(--sans); color: var(--ink-2); }
.gp-card .dp-insta { padding: var(--s2); border-radius: 12px; }
.gp-card .dp-insta b { font-size: var(--t-body); }
.gp-recent { list-style: none; margin: 0; padding: 0; }
.gp-recent li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 8px 0; border-top: 1px solid var(--rule); }
.gp-recent a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font: 500 var(--t-small)/1.5 var(--sans); text-decoration: none; }
.gp-recent a:hover, .gp-recent a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.gp-recent time { font: 400 var(--t-cap)/1.5 var(--sans); color: var(--ink-3); }
.gp-all { justify-self: start; font-weight: 600; }
/* a group with no posts yet: its own words where the list would be, set off by the same hairline as a list row */
.gp-intro { margin: 0; padding-top: 12px; border-top: 1px solid var(--rule); font: 400 var(--t-small)/1.75 var(--sans); color: var(--ink-2); word-break: keep-all; }
@media (max-width: 1024px) { .gp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .gp-grid { grid-template-columns: 1fr; gap: var(--s2); } }
.community .cm-part + .cm-part { margin-top: var(--s5); }
.community .cm-part > h2 { margin: 0; padding: 0 0 12px; border-bottom: 1px solid var(--ink); font: 700 var(--t-h3)/1.3 var(--sans); color: var(--ink); }
.community .gp-grid { margin-top: var(--s3); }
.gp-card h3 { margin: 0; font: 700 var(--t-h3)/1.3 var(--sans); color: var(--ink); }
.gp-train .gp-recent a { white-space: normal; }
.gp-ph { display: block; margin: calc(-1 * var(--s3)) calc(-1 * var(--s3)) 4px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 20px 20px 0 0; background: var(--night); }
.gp-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--spring-smooth-dur) var(--spring-smooth); }
a.gp-ph:hover img, a.gp-ph:focus-visible img { transform: scale(1.03); }
a.gp-ph:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.gp-mark { display: grid; place-items: center; width: 100%; height: 100%; color: #fff; font: 800 var(--t-h2)/1 var(--sans); letter-spacing: -.02em;
  background: radial-gradient(80% 120% at 50% 0%, #1F56B8 0%, #123B86 45%, var(--night) 100%); }

/* attachments: documents only, one quiet line each */
.post-files ul { display: flex; flex-wrap: wrap; gap: 8px; }
.post-files li { display: contents; }
.pf-doc { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 var(--s2) 0 12px; border-radius: 100vmax; background: #fff; box-shadow: inset 0 0 0 1px var(--rule); color: var(--ink); text-decoration: none; font: 500 var(--t-small)/1.3 var(--sans); }
.pf-doc svg { width: 18px; height: 18px; color: var(--ink-2); }
.pf-x { padding: 2px 6px; border-radius: 6px; background: var(--sand-2); font: 700 11px/1.3 var(--sans); color: var(--ink-2); }
.pf-doc:hover, .pf-doc:focus-visible { box-shadow: inset 0 0 0 2px var(--night); }

/* year picker on long boards */
.yr-nav { margin: var(--s3) 0 0; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
.yr-nav a { display: inline-flex; align-items: baseline; gap: 6px; min-height: 44px; align-items: center; padding: 0 16px; border-radius: 12px; color: var(--ink-2); text-decoration: none; font: 600 var(--t-small)/1 var(--sans); white-space: nowrap; }
.yr-nav a small { font: 400 var(--t-cap)/1 var(--sans); color: var(--ink-3); }
.yr-nav a[aria-current="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(11, 36, 71, .14); }
.yr-nav a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.ab-year[hidden] { display: none; }
.gp-insta { justify-self: start; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: -8px 0 -4px; color: var(--ink-2); text-decoration: none; font: 600 var(--t-small)/1 var(--sans); }
.gp-insta svg { width: 18px; height: 18px; }
.gp-insta svg .i-line { fill: none; stroke: currentColor; stroke-width: 1.5; }
.gp-insta:hover, .gp-insta:focus-visible { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* 교회 소개 › 교육 */
.ed-lead { max-width: 37em; margin: var(--s3) 0 0; font: 500 var(--t-lead)/1.7 var(--sans); color: var(--ink); }
.ed-sets { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); margin-top: var(--s4); }
.ed-set { padding: var(--s3); border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--rule); }
.ed-set h3 { margin: 0 0 var(--s2); font: 700 var(--t-h3)/1.3 var(--sans); color: var(--ink); }
.ed-set ol { list-style: none; margin: 0; padding: 0; }
.ed-set li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--rule); font: 500 var(--t-body)/1.5 var(--sans); color: var(--ink); }
.ed-set li .num { font: 700 var(--t-h3)/1 "MaruBuri", var(--serif); color: var(--orange-ink); }
.education-log .tr-ch { margin-top: var(--s4); }
.education-log .tr-ch > h3 { margin: 0; padding: 0 0 12px; border-bottom: 1px solid var(--ink); font: 700 var(--t-h3)/1.3 var(--sans); color: var(--ink); }
.education-log .cp-post h4 { margin: 0; font: 700 var(--t-body)/1.4 var(--sans); color: var(--ink); }
@media (max-width: 760px) { .ed-sets { grid-template-columns: 1fr; gap: var(--s2); } }
.gp-recent a { display: block; }
.gp-recent a { white-space: normal; overflow: visible; text-overflow: clip; }
/* cards in a row share one height; the last link sits on the bottom edge */
.gp-grid { align-items: stretch; }
.gp-card { grid-template-rows: auto auto auto auto 1fr auto; }
.gp-card .gp-all { align-self: end; }

/* 처음 오셨나요?: choose who you are (five round photo links, after Hanmaum) */
.hm-first .fc-list { list-style: none; margin: var(--s4) 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s3); }
.hm-first .fc-list a { display: grid; justify-items: center; gap: var(--s2); color: var(--ink); text-decoration: none; }
.fc-ph { display: block; width: min(100%, 168px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--sand-2);
  box-shadow: 0 0 0 4px var(--sand), 0 0 0 5px var(--rule); transition: box-shadow var(--spring-quick-dur) var(--spring-quick), transform var(--spring-snappy-dur) var(--spring-snappy); }
.fc-ph img { width: 100%; height: 100%; object-fit: cover; }
.is-first .fc-ph { box-shadow: 0 0 0 4px var(--sand), 0 0 0 7px var(--orange); }
.fc-n { font: 700 var(--t-lead)/1.3 var(--sans); }
.hm-first .fc-list a:hover .fc-ph, .hm-first .fc-list a:focus-visible .fc-ph { transform: translateY(-4px); box-shadow: 0 0 0 4px var(--sand), 0 0 0 7px var(--night); }
.hm-first .is-first:hover .fc-ph, .hm-first .is-first:focus-visible .fc-ph { box-shadow: 0 0 0 4px var(--sand), 0 0 0 7px var(--orange-ink); }
/* craft-exception: web.focus-outline -- the ring is drawn on .fc-ph in the rule above */
.hm-first .fc-list a:focus-visible { outline: none; }
.hm-first .fc-list a:focus-visible .fc-n { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) {
  .hm-first .fc-list { grid-template-columns: repeat(6, 96px); gap: var(--s2); overflow-x: auto; padding: 8px 4px var(--s2); margin-left: -4px; scrollbar-width: none; }
  .fc-ph { width: 88px; } .fc-n { font-size: var(--t-small); white-space: nowrap; }
}

.archive-index .ar-list li { grid-template-columns: 112px max-content minmax(0, 1fr) auto; }
/* a department page's board rows are date + title only: without this the title fell into the 56px kind column */
.dp-board .ar-list li { grid-template-columns: 112px minmax(0, 1fr); }
@media (max-width: 560px) { .dp-board .ar-list li { grid-template-columns: 96px minmax(0, 1fr); grid-template-areas: none; } }
.archive-index[data-searching] .ai-cats { display: none; }
/* the 880px is the reading column; the page margin (which grows with the screen) sits outside it, so a wide screen
   never squeezes the column (2026-11-28: at 2000px it was 360px, wider screens set titles one letter per line) */
article.post, .archive-board, .group-page, .related-page { max-width: calc(880px + 2 * var(--margin)); margin-left: auto; margin-right: auto; }
article.post .post-text, article.post .post-note, .compendium .cp-post { max-width: none; }
article.post .post-gallery.pg-grid { max-width: none; }

/* 예배 › 주보: the week's notices, set like a post */
.jubo-week .sh { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s2); }
.jubo-week .sh p { margin: 0; font: 500 var(--t-small)/1 var(--sans); color: var(--ink-3); }
.jw-body { max-width: 760px; margin-top: var(--s3); }
.jw-body p { margin-bottom: 8px; }
.jubo-past .ab-year h3 { margin: var(--s3) 0 0; font: 700 var(--t-h3)/1.3 var(--sans); }
.ai-find { margin-top: var(--s3); max-width: 640px; }
main.is-inner .jubo-week.sec, main.is-inner .jubo-past.sec { display: block !important; }
.archive-search .ar-list li { grid-template-columns: 112px max-content minmax(0, 1fr) auto; }
@media (max-width: 560px) { .archive-search .ar-list li, .archive-index .ar-list li { grid-template-columns: auto auto 1fr; } }

/* 모든 게시판: cards flow in columns, so a short card never leaves a hole */
.ai-cats { display: block; columns: 3 300px; column-gap: var(--s3); }
.ai-cat { break-inside: avoid; margin-bottom: var(--s3); }
@media (max-width: 640px) { .ai-cats { columns: 1; } .ai-cat { margin-bottom: var(--s2); } }
/* 산상기도 › 앨범: the album opened on 산상기도 alone */
.album.is-only .album-bar, .album.is-only .album-line { display: none !important; }

/* home rhythm (owner 2026-11-24: "사이 여백 정돈"): one gap between every section, 64 on wide screens, 40 on phones */
main.is-home .hm-sec.hm-sec { padding-top: 64px !important; }
@media (min-width: 761px) { main.is-home .hm-times + .hm-sec.hm-sec { padding-top: 80px !important; } }   /* the strip overlaps 16 px */
@media (max-width: 760px) { main.is-home .hm-sec.hm-sec { padding-top: 40px !important; } main.is-home .m-today + .hm-times + .hm-sec { padding-top: 40px !important; } }
/* inner pages keep the same rhythm between sections */
@media (min-width: 761px) {
  main.is-inner > .sec + .sec.sec { padding-top: 64px !important; }
  main.is-inner > .sec + .boards .bd-group:first-child { margin-top: 0; }
}
@media (max-width: 760px) { main.is-inner > .sec + .sec.sec { padding-top: 40px !important; } }

.belt-dove { width: 30px; height: 20px; flex: none; margin-right: -2px; }
.belt-dove circle { fill: #123A75; }
@media (max-width: 900px) { .belt-dove { width: 24px; height: 16px; } }
.belt-dot { width: 1px !important; height: 12px !important; border-radius: 0 !important; background: rgba(255, 255, 255, .35) !important; }
.gp-recent a { display: flex; align-items: center; min-height: 44px; padding: 0; }
.gp-recent li { padding: 0; align-items: center; }
.belt-name { font-size: 13px !important; letter-spacing: .08em !important; }
.pv-vimeo { display: grid; place-items: center; background: radial-gradient(80% 120% at 50% 0%, #1F56B8 0%, #123B86 45%, var(--night) 100%); }
.pv-vimeo .pv-title { position: absolute; left: var(--s3); right: var(--s3); bottom: var(--s3); color: #fff; font: 600 var(--t-body)/1.4 var(--sans); }

/* board lists: the scripture and preacher line sits under its title, never in the date column */
.archive-board .ar-list li { grid-template-areas: "d t" ". n"; }
.archive-board .ar-list time { grid-area: d; }
.archive-board .ar-list a { grid-area: t; }
.archive-board .ar-list .ar-n { grid-area: n; justify-self: start; margin: calc(-1 * var(--s2) + 2px) 0 0; padding-bottom: var(--s2); }
@media (max-width: 560px) {
  .archive-board .ar-list li { grid-template-areas: "d t" ". n"; }
  .archive-board .ar-list time { grid-area: d; } .archive-board .ar-list a { grid-area: t; }
}



/* belt, redrawn (owner 2026-11-24 "아직도 너무 밤티"): one flat navy line, a keyline dove, the year and the word. No gradient, no shouting caps */
.belt { background: #0B2447 !important; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.belt-txt { gap: 12px !important; }
.belt-dove { width: 30px !important; height: 22px !important; margin: 0 !important; fill: none; stroke: #fff; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.belt-dove .bd-leaf { stroke: var(--orange); stroke-width: 1.6; }
.belt-yr { font: 500 12px/1 var(--sans); letter-spacing: .12em; color: var(--orange); padding-right: 12px; border-right: 1px solid rgba(255, 255, 255, .22); }
.belt-txt b { font: 400 15px/1 "MaruBuri", var(--serif) !important; letter-spacing: .02em; color: #fff; }
@media (max-width: 900px) { .belt-dove { width: 26px !important; height: 19px !important; } .belt-txt b { font-size: 13px !important; } }

/* footer, rebuilt on one grid (owner 2026-11-24 "비율 … 스페이싱 … 제대로"): brand and three columns on one row,
   the three ministries as one row of equal tiles, one size each for headings, labels and text; 8/16/24/40/64 only */
footer.ft.ft .ft-in { display: grid !important; grid-template-columns: repeat(12, minmax(0, 1fr)) !important; column-gap: 24px !important; row-gap: 40px !important; padding: 64px var(--margin) 40px; align-items: start; }
footer.ft.ft .ft-brand { grid-column: 1 / span 4 !important; }
footer.ft.ft .ft-motto { margin: 16px 0 0; font: 400 17px/1.6 var(--sans); color: rgba(255, 255, 255, .86); }
footer.ft.ft .ft-cols { grid-column: 5 / -1 !important; display: grid !important; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) !important; column-gap: 24px; row-gap: 40px; }
footer.ft.ft .fh { display: block; margin: 0 0 16px; font: 600 13px/1 var(--sans); letter-spacing: .04em; color: rgba(255, 255, 255, .56); }
footer.ft.ft .ft-places dl { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 24px !important; margin: 0; }
footer.ft.ft .ft-places dl > div { margin: 0 !important; padding: 0 !important; }
footer.ft.ft .ft-places dt { margin: 0 0 4px; font: 600 14px/1.4 var(--sans); color: #fff; }
footer.ft.ft .ft-places dd { margin: 0; font: 400 14px/1.5 var(--sans); color: rgba(255, 255, 255, .72); }
footer.ft.ft .ft-reach { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
footer.ft.ft .ft-reach .ft-link { font: 400 15px/1.5 var(--sans); }
footer.ft.ft .ft-reach .ft-contact { margin-top: 8px; }
footer.ft.ft .ft-mins { grid-column: 1 / -1 !important; padding-top: 40px; border-top: 1px solid rgba(255, 255, 255, .12); }
footer.ft.ft .ft-proj { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
footer.ft.ft .fp { display: flex; align-items: center; gap: 16px; min-height: 72px; padding: 16px; border-radius: 12px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); color: #fff; text-decoration: none; transition: background .2s ease; }
footer.ft.ft .fp:hover, footer.ft.ft .fp:focus-visible { background: rgba(255, 255, 255, .09); }
footer.ft.ft .fp-mark { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font: 400 18px/1 "MaruBuri", var(--serif); color: #fff; }
footer.ft.ft .fp-mita .fp-mark { background: linear-gradient(160deg, #8C93C9, #4E5891); }
footer.ft.ft .fp-joshua .fp-mark { background: #2E2E2E; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
footer.ft.ft .fp-oasis .fp-mark { background: var(--orange); }
footer.ft.ft .fp-t { flex: 1; min-width: 0; display: grid; gap: 4px; }
footer.ft.ft .fp-t b { font: 600 15px/1.3 var(--sans); }
footer.ft.ft .fp-t small { font: 400 13px/1.4 var(--sans); color: rgba(255, 255, 255, .64); }
footer.ft.ft .fp-go { flex: none; width: 16px; height: 16px; fill: none; stroke: rgba(255, 255, 255, .5); stroke-width: 1.6; transition: transform .2s ease, stroke .2s ease; }
footer.ft.ft .fp:hover .fp-go, footer.ft.ft .fp:focus-visible .fp-go { transform: translate(2px, -2px); stroke: #fff; }
@media (max-width: 1100px) {
  footer.ft.ft .ft-brand, footer.ft.ft .ft-cols { grid-column: 1 / -1 !important; }
}
@media (max-width: 760px) {
  footer.ft.ft .ft-in { row-gap: 40px; padding: 40px var(--margin) 24px; }
  footer.ft.ft .ft-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; }
  footer.ft.ft .ft-places { grid-column: 1 / -1; }
  footer.ft.ft .ft-proj { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  footer.ft.ft .ft-mins { padding-top: 24px; }
}
/* the dove: a traced silhouette (GPT Image board, owner 2026-11-24), solid white, never a hand-drawn stroke */
.belt-dove { width: 19px !important; height: 20px !important; fill: #fff !important; stroke: none !important; }
@media (max-width: 900px) { .belt-dove { width: 16px !important; height: 17px !important; } }
@media (max-width: 760px) { footer.ft.ft .ft-places dl { grid-template-columns: minmax(0, 1fr) !important; gap: 16px !important; } }
@media (max-width: 760px) {
  footer.ft.ft .ft-legal { display: flex !important; flex-wrap: wrap; align-items: center; gap: 8px 12px !important; }
  footer.ft.ft .ft-legal .ft-admin { margin-left: auto !important; }
  footer.ft.ft .ft-legal > * { white-space: nowrap; flex: none !important; width: auto !important; }
  footer.ft.ft .ft-base { padding-bottom: 112px; }
}
/* footer between phone and desktop (761–1100): brand on top; addresses 2×2 on the left, contact over community on the right */
@media (min-width: 761px) and (max-width: 1100px) {
  footer.ft.ft .ft-brand { display: block !important; }
  footer.ft.ft .ft-brand .ft-motto { margin-top: 16px !important; }
  footer.ft.ft .ft-cols { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) !important; grid-template-rows: auto auto; }
  footer.ft.ft .ft-places { grid-column: 1 !important; grid-row: 1 / span 2 !important; }
  footer.ft.ft .ft-cols > div:not(.ft-places) { grid-column: 2 !important; }
}
@media (max-width: 900px) { footer.ft.ft .ft-proj { grid-template-columns: minmax(0, 1fr) !important; gap: 8px; } }
footer.ft.ft .fp-go { align-self: center !important; margin: 0 !important; }
footer.ft.ft .fp-oasis .fp-mark { color: #0B2447; }
.post-crumb a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; justify-content: center; }

/* FOCUS wall: every post an A4 poster. Real posters fill the sheet; other pictures sit in the navy template with date and title set beneath */
.fc-wall { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
@media (max-width: 1100px) { .fc-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .fc-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; } }
.fc { display: grid; gap: 16px; color: var(--ink); text-decoration: none; }
.fc-sheet { position: relative; display: flex; flex-direction: column; aspect-ratio: 210 / 297; overflow: hidden; border-radius: 4px; background: #0B2447;
  box-shadow: 0 1px 2px rgba(11, 36, 71, .08), 0 12px 32px -12px rgba(11, 36, 71, .28); transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease; }
.fc:hover .fc-sheet, .fc:focus-visible .fc-sheet { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(11, 36, 71, .1), 0 24px 48px -16px rgba(11, 36, 71, .36); }
.fc-pic { position: relative; flex: 1; min-height: 0; display: block; }
.fc-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fc-band { display: grid; gap: 8px; padding: 16px; color: #fff; }
.fc-band time { font: 500 11px/1 var(--sans); letter-spacing: .12em; color: var(--orange); }
.fc-band .fc-t { font: 400 17px/1.35 "MaruBuri", var(--serif); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
/* a poster already in A4: the poster alone, nothing printed over it */
.fc-full .fc-band { display: none; }
.fc-full .fc-sheet { background: #fff; }
/* any other picture: inset on the navy sheet like a printed template */
.fc-tpl .fc-pic { margin: 12px 12px 0; flex: 0 0 auto; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; }
.fc-tpl .fc-band { flex: 1; align-content: end; padding-top: 24px; }
/* no picture: a typeset poster */
.fc-type .fc-pic { display: grid; align-content: start; padding: 16px; flex: 1; }
.fc-mark { font: 600 11px/1 var(--sans); letter-spacing: .24em; color: rgba(255, 255, 255, .56); }
.fc-type .fc-band .fc-t { font-size: 22px; -webkit-line-clamp: 5; }
.fc-cap { display: grid; gap: 4px; }
.fc-cap time { font: 400 13px/1.4 var(--sans); color: var(--ink-3); }
.fc-cap span { font: 500 15px/1.45 var(--sans); }
.fc:hover .fc-cap span, .fc:focus-visible .fc-cap span { text-decoration: underline; text-underline-offset: 4px; }
/* the template already prints date and title on the sheet; below it only the full posters need a caption */
.fc-tpl .fc-cap, .fc-type .fc-cap { display: none; }
/* ministry marks: keyline icons on tinted glass tiles (owner 2026-11-24 "아이콘으로 이쁘게 고급지게") */
footer.ft.ft .fp-mark { width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .06) !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12) !important; }
footer.ft.ft .fp-mark .ic { width: 22px; height: 22px; }
footer.ft.ft .fp-mita .fp-mark { color: #B9BEEB; background: linear-gradient(160deg, rgba(140, 147, 201, .28), rgba(78, 88, 145, .12)) !important; }
footer.ft.ft .fp-joshua .fp-mark { color: #fff; }
footer.ft.ft .fp-oasis .fp-mark { color: var(--orange); background: linear-gradient(160deg, rgba(239, 131, 6, .24), rgba(239, 131, 6, .08)) !important; }
/* belt: the church name back beside the word, quiet (owner 2026-11-24 "이름 왜 다 짤렸냐") */
.belt-dot { display: block !important; width: 1px !important; height: 12px !important; background: rgba(255, 255, 255, .28) !important; }
.belt-name { display: inline !important; font: 500 12px/1 var(--sans) !important; letter-spacing: .12em !important; text-transform: uppercase; color: rgba(255, 255, 255, .7) !important; }
@media (max-width: 640px) { .belt-name, .belt-dot { display: none !important; } }
/* FOCUS template: the title always fits; the picture gives way */
.fc-tpl .fc-pic { flex: 1 1 auto !important; aspect-ratio: auto !important; min-height: 0; }
.fc-tpl .fc-band { flex: 0 0 auto !important; padding-top: 16px; }
.fc-band .fc-t { line-height: 1.4 !important; }
/* poster headline in the site's own heading face (owner 2026-11-24 "폰트 제대로 살려라") */
.fc-band .fc-t { font: 700 19px/1.3 var(--sans) !important; letter-spacing: -.02em; word-break: keep-all; -webkit-line-clamp: 3; }
.fc-type .fc-band .fc-t { font-size: 24px !important; line-height: 1.25 !important; -webkit-line-clamp: 5; }
.fc-band { padding: 16px 16px 20px !important; }
.fc-band time { font-weight: 600 !important; }
@media (max-width: 760px) { .fc-band .fc-t { font-size: 16px !important; } .fc-type .fc-band .fc-t { font-size: 19px !important; } .fc-band { padding: 12px 12px 16px !important; } }
.fc-tpl .fc-pic img { object-fit: contain; object-position: center top; }
footer.ft.ft .fp { align-items: flex-start !important; }
footer.ft.ft .fp-mark { align-self: center; }
footer.ft.ft .fp-t { align-self: center; }
footer.ft.ft .fp-go { align-self: flex-start !important; margin-top: 15px !important; }
.post-crumb a { justify-content: flex-start !important; }
.fc-band time { font-size: 12px !important; }
.fc-band .fc-t { font-size: 18px !important; }
.fc-type .fc-band .fc-t { font-size: 26px !important; }
@media (max-width: 760px) { .fc-band .fc-t { font-size: 15px !important; } .fc-type .fc-band .fc-t { font-size: 18px !important; } }
/* ministries, minimal (owner 2026-11-24 "아이콘만 … 이름이랑 … 작게 미니멀하게"): one quiet line of icon + name under the motto */
footer.ft.ft .ft-proj { display: flex !important; flex-wrap: wrap; gap: 4px 24px !important; margin: 24px 0 0 !important; padding: 0; list-style: none; border: 0 !important; grid-template-columns: none !important; }
footer.ft.ft .ft-proj li { border: 0 !important; }
footer.ft.ft .fp { display: inline-flex !important; align-items: center !important; gap: 8px !important; min-height: 44px !important; padding: 0 !important; background: none !important; box-shadow: none !important; border-radius: 0 !important; color: rgba(255, 255, 255, .72) !important; }
footer.ft.ft .fp:hover, footer.ft.ft .fp:focus-visible { color: #fff !important; background: none !important; }
footer.ft.ft .fp-mark { width: auto !important; height: auto !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; }
footer.ft.ft .fp-mark .ic { width: 16px !important; height: 16px !important; stroke-width: 1.75; }
footer.ft.ft .fp-mita .fp-mark, footer.ft.ft .fp-joshua .fp-mark, footer.ft.ft .fp-oasis .fp-mark { color: inherit !important; background: none !important; }
footer.ft.ft .fp-t { display: inline !important; font: 400 14px/1.4 var(--sans) !important; }
footer.ft.ft .fp:hover .fp-t, footer.ft.ft .fp:focus-visible .fp-t { text-decoration: underline; text-underline-offset: 4px; }
footer.ft.ft .ft-proj { flex-direction: column; align-items: flex-start; gap: 0 !important; margin-top: 16px !important; }
/* ministries: tight rows; on tablet they sit in the right column of the brand row, on the 연락처 line */
footer.ft.ft .fp { min-height: 36px !important; }
footer.ft.ft .ft-proj { margin-top: 16px !important; }
@media (min-width: 761px) and (max-width: 1100px) {
  footer.ft.ft .ft-brand { display: grid !important; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); column-gap: 24px; align-items: start; }
  footer.ft.ft .ft-brand .lockup, footer.ft.ft .ft-brand .ft-motto { grid-column: 1; }
  footer.ft.ft .ft-proj { grid-column: 2; grid-row: 1 / span 2; margin-top: 0 !important; }
}

/* published from 사이트 관리 (assets/content.js) */
.jw-items { margin: 0; padding-left: 24px; line-height: 1.9; }
.nw-new { margin-bottom: 64px; }
.nw-item { padding: 24px 0; border-top: 1px solid var(--rule); max-width: 760px; }
.nw-item:first-of-type { border-top: 1px solid var(--ink); }
.nw-head { display: flex; gap: 12px; align-items: center; color: var(--ink-3); font-size: 13px; }
.nw-k { font-weight: 700; color: var(--orange-ink, #A85A00); letter-spacing: .04em; }
.nw-item h3 { margin: 8px 0 16px; font: 700 var(--t-h3, 22px)/1.35 var(--sans); letter-spacing: -.02em; }
.nw-poster { display: block; width: min(360px, 100%); margin-bottom: 16px; border-radius: 4px; overflow: hidden; box-shadow: 0 12px 32px -12px rgba(11, 36, 71, .28); }
.nw-poster img { display: block; width: 100%; height: auto; }
.al-new-ev + .al-new-ev { margin-top: 40px; }
.al-new-head { display: flex; gap: 16px; align-items: baseline; margin-bottom: 16px; }
.al-new-head h3 { margin: 0; font: 700 19px/1.3 var(--sans); }
.al-new-head time { color: var(--ink-3); font-size: 13px; }
.al-new-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.al-new-grid a { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; }
.al-new-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.al-new-grid a:hover img { transform: scale(1.03); }

/* type scale: every size on the scale (12 13 14 15 17 18 26 36 56) */
main .qtc-v2 .qtc-t { font-size: 36px !important; }
@media (max-width: 760px) { main .qtc-v2 .qtc-t { font-size: 26px !important; } }
.fc-n { font-size: 18px !important; }
.belt-name { font-size: 13px !important; }
/* 44 px tap areas without loosening the approved 36 px rhythm: each name's area reaches 4 px into its neighbours */
footer.ft.ft .fp { min-height: 44px !important; margin: -4px 0 !important; }
footer.ft.ft .ft-proj { margin-top: 12px !important; }
footer.ft.ft .ft-secure { display: inline-flex; align-items: center; min-height: 44px; }
/* stray sizes back on the scale (audit 2026-11-24): QT 19/21 → 18/20, verse numbers 12, 교회 소개 lists 20, prayer counters 12 */
.qtp-point p { font-size: 20px !important; }
.qtp-ch h2, .qtp-index-h { font-size: 20px !important; }
.qtp-flow .vn { font-size: 12px !important; }
.qtp-flow .v, .qtp-flow span.v { font-size: 18px !important; }
#intro .ab-four li, #intro .ab-verbs li { font-size: 20px !important; }
.dawnstrip .frame figcaption { font-size: 12px !important; letter-spacing: .1em; bottom: -24px; }   /* the film-edge frame numbers, readable */
/* item titles inside lists use the card-title size (18), under 26 section headings */
.ed-lead, .ed-lead b { font-size: 18px !important; }
.album h3, .gallery h3, main[data-page="album"] h3, main[data-page="prayer-album"] h3 { font-size: 18px !important; }
main[data-page="worship"] span.title { font-size: 18px !important; }
.dawnstrip .frame figcaption { font-size: 13px !important; }
#training li > b { font-size: 18px !important; }
/* archive reading column = 8 of the 12 grid columns, centred, so its edges land on the page grid (wide screens only) */
@media (min-width: 1101px) {
  .archive-board { max-width: calc((100% - 2 * var(--margin) - 11 * 24px) / 12 * 8 + 7 * 24px + 2 * var(--margin)) !important; }
}
.fc-mark { font-size: 12px !important; }

/* ministries beside the motto (owner 2026-11-25 "열두 제자 저거 옆에 두는게 낫지"): the motto on the left, the three
   names on its right, the first name level with the motto's first line, at every width */
footer.ft.ft .ft-brand { display: grid !important; grid-template-columns: auto auto; justify-content: start; column-gap: 40px; align-items: start; }
footer.ft.ft .ft-brand .lockup { grid-column: 1 / -1; grid-row: 1; }
footer.ft.ft .ft-brand .ft-motto { grid-column: 1; grid-row: 2; }
footer.ft.ft .ft-proj { grid-column: 2; grid-row: 2; margin-top: 12px !important; }
@media (max-width: 760px) { footer.ft.ft .ft-brand { column-gap: 24px; } }

/* FOCUS wall, one template (owner 2026-11-25 "포스터 밑에 글자 통일 … 썸네일 디자인은 다 통일"): every card is a full-bleed
   A4 picture with nothing written on it, and every card has the same caption under it (date 13, title 15, two lines kept,
   so every row lines up). A post without a picture is a navy A4 with the FOCUS mark and its date set large. */
.fc-wall .fc-band { display: none !important; }
.fc-wall .fc-cap { display: grid !important; gap: 4px; margin-top: 16px; }
.fc-wall .fc-cap time { font: 400 13px/1.4 var(--sans); color: var(--ink-3); }
.fc-wall .fc-cap span { font: 500 15px/1.45 var(--sans) !important; color: var(--ink); word-break: keep-all;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(2 * 1.45em); }
.fc-wall .fc-sheet { background: #0B2447; }
.fc-wall .fc-full .fc-sheet { background: #fff; }
.fc-wall .fc-pic { flex: 1 1 auto !important; margin: 0 !important; aspect-ratio: auto !important; border-radius: 0 !important; }
.fc-wall .fc-pic img { object-fit: cover !important; object-position: center !important; }
.fc-wall .fc-type .fc-pic { display: grid; grid-template-rows: auto 1fr auto; padding: 20px; }
.fc-wall .fc-type .fc-mark { color: var(--orange); }
.fc-wall .fc-type .fc-big { align-self: end; font: 700 56px/1 var(--sans); letter-spacing: -.03em; color: #fff; }
.fc-wall .fc-type .fc-yr { margin-top: 8px; font: 500 13px/1 var(--sans); letter-spacing: .12em; color: rgba(255, 255, 255, .64); }
@media (max-width: 760px) { .fc-wall .fc-cap { margin-top: 12px; } .fc-wall .fc-type .fc-pic { padding: 14px; } .fc-wall .fc-type .fc-big { font-size: 36px; } }
/* every FOCUS picture whole (owner 2026-11-25 "비율 맞춰서 다 보이게끔"): contained and centred, over a soft blurred copy of
   itself that fills the A4, so posters of any shape share one card */
.fc-wall .fc-pic { overflow: hidden; }
.fc-wall .fc-pic img { object-fit: contain !important; z-index: var(--z-raised); }
.fc-wall .fc-pic img.fc-bg { object-fit: cover !important; z-index: var(--z-flat); filter: blur(18px) saturate(1.1); transform: scale(1.2); opacity: .9; }
.fc-wall .fc-pic::after { content: ""; position: absolute; inset: 0; z-index: var(--z-flat); background: rgba(11, 36, 71, .18); }
/* the date on a picture-less FOCUS card scales with the card, on one line at every width */
.fc-wall .fc-type .fc-pic { container-type: inline-size; }
.fc-wall .fc-type .fc-big { font-size: 27cqw !important; white-space: nowrap; }

/* footer on two shared lines (owner 2026-11-25 "정렬 … 인덱싱 그리딩"): line 1 = the column labels, the wordmark centred on
   it; line 2 = the first item of every column (motto, 본당, phone, icons, ministries) starting at the same height.
   Tap areas stay 44 px; negative margins only move the visible line onto the grid. */
@media (min-width: 761px) {
  footer.ft.ft .ft-brand .lockup { min-height: 32px !important; height: 32px; margin: 0 !important; align-items: center; }
  footer.ft.ft .ft-brand .lockup::after { content: ""; position: absolute; inset: -6px 0; }
  footer.ft.ft .ft-brand .lockup { position: relative; }
  footer.ft.ft .ft-brand .ft-motto { margin-top: 8px !important; }
  footer.ft.ft .ft-proj { margin-top: 4px !important; }
  footer.ft.ft .ft-reach .ft-link:first-of-type { margin-top: -12px; }
  footer.ft.ft .ft-social { margin-top: -14px !important; }
}
@media (min-width: 761px) {
  footer.ft.ft .ft-brand .lockup { display: inline-flex !important; align-items: center !important; }
  footer.ft.ft .ft-brand .lockup span, footer.ft.ft .ft-brand .lockup b { display: block; line-height: 1.2 !important; margin: 0 !important; padding: 0 !important; }
  footer.ft.ft .ft-reach .fh + .ft-link { margin-top: -12px !important; }
}
/* recent sermons: every title keeps two lines, so the dates above them line up across a row (sweep ROW, 2026-11-25) */
.hm-recent .c-t { display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(2 * 1.3em); line-height: 1.3 !important; }

/* year picker on long boards (owner 2026-11-25 "서브 탭 … 정돈되게"): never a row running off the edge with the chosen
   year cut in half. Equal cells in a tidy matrix that wraps, the chosen year raised in white, the same on every width. */
.yr-nav.album-bar { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); width: 100% !important; max-width: 100%;
  box-sizing: border-box; overflow: visible !important; flex-wrap: wrap; gap: 4px !important; padding: 4px !important; border-radius: 12px; }
.yr-nav.album-bar a { justify-content: center; padding: 0 8px !important; border-radius: 8px !important; font-variant-numeric: tabular-nums; }
.yr-nav.album-bar a:hover:not([aria-current="true"]) { background: rgba(255, 255, 255, .6); color: var(--ink); }
.yr-nav.album-bar a[aria-current="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(11, 36, 71, .14), inset 0 -2px 0 var(--orange, #E07A00); }
.yr-nav.album-bar a:focus-visible { outline: 2px solid var(--orange, #E07A00); outline-offset: -2px; }
@media (max-width: 760px) { .yr-nav.album-bar { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* sub tabs on phones (owner 2026-11-25 "서브 탭 … 정돈되게"): every label at its own width, never squeezed into a cell
   narrower than its text; the row shares the width when it fits and slides sideways when it does not */
@media (max-width: 760px) {
  .subnav { display: flex !important; grid-auto-flow: unset; flex-wrap: nowrap !important; overflow-x: auto !important; gap: 4px !important;
    scrollbar-width: none; scroll-padding-inline: 16px; overscroll-behavior-x: contain; }
  .subnav a { flex: 1 0 auto !important; padding: 0 14px !important; white-space: nowrap; letter-spacing: -.01em; }
}
@media (max-width: 760px) {
  .subnav.sn-more-r { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .subnav.sn-more-l { -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%); mask-image: linear-gradient(90deg, transparent, #000 15%); }
  .subnav.sn-more-l.sn-more-r { -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
}

/* belt on phones (owner 2026-11-25 "폰으로는 이게 풀로 안뜨냐"): the whole line is ~430 px and a phone has ~375, so it
   stacks: dove + New Beginning on top, the church's name in small spaced capitals beneath. Nothing is hidden. */
@media (max-width: 640px) {
  :root { --belt-h: 46px; --header-h: 110px; }
  .belt-txt { flex-wrap: wrap; align-content: center; row-gap: 4px !important; column-gap: 8px !important; white-space: normal; }
  .belt-dot { display: none !important; }
  .belt-name { display: block !important; flex-basis: 100%; text-align: center; font-size: 11px !important; letter-spacing: .14em !important; line-height: 1.2; opacity: .8; }
}
/* training records: the chapter heading's rule is the first post's top edge (no second rule beneath it; sweep STACK) */
.tr-ch > h2 + .cp-post, .tr-ch > h2 + article { border-top: 0 !important; }

/* 홈 › FOCUS above 토요 산상기도 (board review/home-focus/board-v1.png, approved 2026-11-25): the wall's own A4 cards in
   one rail; the newest 1.4× and tagged NEW; every card bottom-aligned so the captions share one line */
.hm-focus .hm-head h2 small { display: block; margin-top: 4px; font: 400 15px/1.4 var(--sans); color: var(--ink-3); letter-spacing: 0; }
.hm-focus .hm-head { align-items: end; }
.hf-arrows { display: inline-flex; gap: 8px; margin-left: auto; margin-right: 16px; }
.hf-arrows[hidden] { display: none; }
.hf-arrows button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer;
  transition: background .2s, color .2s, opacity .2s; }
.hf-arrows button:hover:not(:disabled), .hf-arrows button:focus-visible { background: var(--night, #0B2447); color: #fff; }
.hf-arrows button:disabled { opacity: .3; cursor: default; }
.hf-arrows svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; }
.fc-wall.hf-rail { display: flex !important; align-items: flex-end; gap: 24px; margin-top: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  overscroll-behavior-x: contain; padding: 8px 0 4px; }
.fc-wall.hf-rail::-webkit-scrollbar { display: none; }
.hf-rail > li { flex: 0 0 calc((100% - 4 * 24px) / 5.4); scroll-snap-align: start; min-width: 0; }
.hf-rail > li.hf-new { flex-basis: calc((100% - 4 * 24px) / 5.4 * 1.4); }
.hf-new .fc-sheet::before { content: "NEW"; position: absolute; top: 12px; left: 12px; z-index: var(--z-over); padding: 6px 8px; border-radius: 4px; background: var(--orange, #E07A00);
  color: #fff; font: 700 12px/1 var(--sans); letter-spacing: .1em; }
.hf-rail .fc-sheet { position: relative; }
.hf-dots { display: none; }
@media (max-width: 760px) {
  .fc-wall.hf-rail { gap: 16px; margin-inline: calc(-1 * var(--margin, 16px)); padding-inline: var(--margin, 16px); scroll-padding-inline: var(--margin, 16px); }
  .hf-rail > li, .hf-rail > li.hf-new { flex-basis: 70%; }
  .hf-arrows { display: none !important; }
  .hf-dots { display: flex; justify-content: center; gap: 8px; margin: 16px 0 0; }
  .hf-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); opacity: .2; transition: opacity .2s, transform .2s; }
  .hf-dots i.on { opacity: .9; transform: scale(1.2); }
}

/* footer grid, one system (owner 2026-11-25 "그리드 최적화 … 오토레이아웃", icons "밑에 딱 키우면"): brand | 장소 | 연락처
   on the 12-column grid. The brand column holds the wordmark, the motto beside the ministries, and the community row
   (YouTube, Instagram, Facebook, 홈 화면에 추가) at a larger size under them. Gaps from the 8/16/24/40/64 scale. */
footer.ft.ft .ft-in { display: grid !important; grid-template-columns: repeat(12, minmax(0, 1fr)) !important; column-gap: 24px !important; row-gap: 40px !important; align-items: start; }
footer.ft.ft .ft-brand { grid-column: 1 / span 5 !important; grid-row: 1; display: grid !important; grid-template-columns: auto auto !important; justify-content: start; column-gap: 40px !important; row-gap: 0; }
footer.ft.ft .ft-brand .lockup { grid-column: 1 / -1; grid-row: 1; }
footer.ft.ft .ft-brand .ft-motto { grid-column: 1; grid-row: 2; }
footer.ft.ft .ft-proj { grid-column: 2; grid-row: 2; }
footer.ft.ft .ft-soc { grid-column: 1 / -1; grid-row: 3; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-top: 32px; }
footer.ft.ft .ft-soc .ft-social { display: flex; gap: 8px; margin: 0 !important; }
footer.ft.ft .ft-soc .ft-icon { width: 48px; height: 48px; display: grid !important; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
  color: #fff; transition: background .2s, box-shadow .2s; }
footer.ft.ft .ft-soc .ft-icon svg { width: 24px !important; height: 24px !important; }
footer.ft.ft .ft-soc .ft-icon:hover, footer.ft.ft .ft-soc .ft-icon:focus-visible { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); }
footer.ft.ft .ft-soc .a2hs { min-height: 48px !important; margin: 0 !important; padding: 0 20px !important; font-size: 15px !important; }
footer.ft.ft .ft-soc .a2hs-hint { flex-basis: 100%; margin: 0; }
footer.ft.ft .ft-cols { grid-column: 7 / -1 !important; grid-row: 1; display: grid !important; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) !important; column-gap: 40px !important; }
@media (min-width: 761px) and (max-width: 1100px) {
  footer.ft.ft .ft-brand { grid-column: 1 / -1 !important; }
  footer.ft.ft .ft-cols { grid-column: 1 / -1 !important; grid-row: 2; }
}
@media (max-width: 760px) {
  footer.ft.ft .ft-in { grid-template-columns: minmax(0, 1fr) !important; row-gap: 40px !important; }
  footer.ft.ft .ft-brand, footer.ft.ft .ft-cols { grid-column: 1 / -1 !important; }
  footer.ft.ft .ft-brand { column-gap: 24px !important; }
  footer.ft.ft .ft-soc { margin-top: 24px; }
  footer.ft.ft .ft-cols { grid-row: 2; grid-template-columns: minmax(0, 1fr) !important; row-gap: 40px; }
}
/* belt on phones, one thin line again (owner 2026-11-25 "한줄로 짧게 … 두꺼워지면 디자인처럼 안보인다"): dove · New Beginning ·
   HONG KONG ELIM; "Presbyterian Church" only where the line has room */
@media (max-width: 640px) {
  :root { --belt-h: 28px; --header-h: 92px; }
  .belt-txt { flex-wrap: nowrap !important; white-space: nowrap; column-gap: 8px !important; }
  .belt-dot { display: inline-block !important; }
  .belt-name { display: inline !important; flex-basis: auto; font-size: 11px !important; letter-spacing: .1em !important; opacity: .8; }
  .bn-rest { display: none; }
}

/* home sermons on phones (owner 2026-11-25 "스페이싱 너무 두껍 … 폰 비율에 맞춰"): the feature at 10:9, the two recent
   ones square, 8 px between all three, 16 px inside each card; type one step smaller so nothing crowds */
@media (max-width: 760px) {
  .hm-word-grid { gap: 8px !important; }
  .hm-word-grid a.cover.big { aspect-ratio: 10 / 9 !important; height: auto !important; min-height: 0 !important; padding: 16px !important; }
  #recent.hm-recent { gap: 8px !important; margin-top: 0 !important; }
  #recent.hm-recent > li > a.cover { aspect-ratio: 1 / 1 !important; height: auto !important; min-height: 0 !important; padding: 12px !important; }
  .hm-word-grid a.cover.big .c-t { font-size: 26px !important; line-height: 1.25 !important; margin: 4px 0 !important; }
  .hm-word-grid a.cover.big .c-k, .hm-word-grid a.cover.big .c-m { font-size: 13px !important; }
  #recent.hm-recent .c-t { font-size: 15px !important; line-height: 1.35 !important; }
  #recent.hm-recent .c-k { font-size: 12px !important; }
}

/* 사이트 관리 entrance (owner 2026-11-25 "어드민 페이지도 구성 잘"): left the way in, right what can be managed;
   one 12-column composition, the type scale and 8/16/24/40/64 spacing */
.ad-gate { display: grid !important; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 64px; align-items: start; padding-block: 64px !important; }
.ad-lock { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--night, #0B2447); color: #fff; margin-bottom: 24px; }
.ad-lock svg, .ad-tiles svg, .ad-acts svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ad-lock svg { width: 28px; height: 28px; }
.ad-intro h2 { margin: 0; font: 700 36px/1.2 var(--sans); letter-spacing: -.02em; color: var(--ink); }
.ad-note { margin: 16px 0 24px; font: 400 17px/1.6 var(--sans); color: var(--ink-2); word-break: keep-all; max-width: 28em; }
.ad-acts { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin: 0; }
.ad-acts .btn { display: inline-flex; align-items: center; gap: 6px; }
.ad-acts .btn svg { width: 18px; height: 18px; }
.ad-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ad-tiles a { display: grid; justify-items: start; align-content: start; gap: 4px; height: 100%; box-sizing: border-box; padding: 24px; border-radius: 8px; background: #fff; border: 1px solid var(--rule);
  color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s cubic-bezier(.2, .7, .2, 1); }
.ad-tiles svg { width: 28px; height: 28px; margin-bottom: 12px; color: var(--ink); }
.ad-tiles b { font: 700 17px/1.4 var(--sans); }
.ad-tiles span { font: 400 13px/1.5 var(--sans); color: var(--ink-3); word-break: keep-all; }
.ad-tiles a:hover, .ad-tiles a:focus-visible { border-color: var(--ink); transform: translateY(-2px); }
.ad-tiles a:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
@media (max-width: 1100px) { .ad-gate { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .ad-gate { padding-block: 24px 40px !important; gap: 32px; }
  .ad-intro h2 { font-size: 26px; }
  .ad-lock { width: 48px; height: 48px; margin-bottom: 16px; }
  .ad-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ad-tiles a { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) { .ad-tiles a { transition: none; } }
/* belt: the full name only where it fits on one line (it was clipped between 641 and ~760 px) */
@media (max-width: 860px) { .bn-rest { display: none !important; } .belt-name { font-size: 11px !important; letter-spacing: .1em !important; } }

/* home worship strip (owner 2026-11-25 "정렬이나 폰트 사이즈 … 잘 어울리게"): every label one word on one line, every time on
   one baseline, the notes (월–금, 대학·청년) as a small caption under the time; 13 / 15 / 36 / 12 on the type scale */
.hm-times .tm-k { font: 700 13px/1.4 var(--sans) !important; letter-spacing: .04em; color: var(--ink) !important; margin: 0 0 12px !important; }
.hm-times dl > div { display: grid !important; grid-template-rows: auto auto auto; align-content: start; gap: 4px; }
.hm-times dt { font: 500 15px/1.4 var(--sans) !important; color: var(--ink-2) !important; white-space: nowrap; }
.hm-times dd.num { margin: 0; font: 300 36px/1.1 var(--sans) !important; letter-spacing: -.02em; color: var(--ink) !important; }
.hm-times dd.tm-n { margin: 0; font: 400 12px/1.4 var(--sans); color: var(--ink-3); white-space: nowrap; }
@media (max-width: 760px) { .hm-times dd.num { font-size: 26px !important; } .hm-times dt { font-size: 13px !important; } }
/* 엘림 공동체 follows the strip directly: no empty band and no divider in between */
.hm-times + .hm-sec, .hm-times ~ .hm-first:first-of-type, section.hm-times + section.hm-first { border-top: 0 !important; margin-top: 0 !important; }
.hm-times + .hm-first > .hm-head, .hm-times + .hm-first { padding-top: 40px !important; }
.hm-times + .hm-first > .hm-head { border-top: 0 !important; padding-top: 0 !important; }
.hm-times + .hm-first > .hm-head::before { display: none !important; }
main section.hm-times + section.hm-sec.hm-first { padding-top: 40px !important; border-top: 0 !important; background-image: none !important; }
main section.hm-times + section.hm-sec.hm-first::before, main section.hm-times + section.hm-sec.hm-first > .hm-head::before { content: none !important; display: none !important; }
main section.hm-times + section.hm-sec.hm-first > .hm-head { border-top: 0 !important; padding-top: 0 !important; box-shadow: none !important; }
main .hm-times dl dd.tm-n { font: 400 12px/1.4 var(--sans) !important; color: var(--ink-3) !important; letter-spacing: 0 !important; }
/* elim-fluid sets every .hm-times dd with a triple-class selector; the caption needs the same weight plus its class */
main .hm-times.hm-times.hm-times dl dd.tm-n { font: 400 12px/1.4 var(--sans) !important; color: var(--ink-3) !important; letter-spacing: 0 !important; margin-top: 2px !important; }

/* footer base line without middots (owner 2026-11-25 "· 이런거 슬롭"): three items set apart by space alone, the church
   first in full white, the other two quieter; stacked on phones */
footer.ft.ft .ft-copy { display: flex !important; flex-wrap: wrap; align-items: baseline; column-gap: 24px !important; row-gap: 4px; }
footer.ft.ft .ft-copy span { color: rgba(255, 255, 255, .56); white-space: nowrap; }
footer.ft.ft .ft-copy .ft-c1 { color: rgba(255, 255, 255, .9); }
footer.ft.ft .ft-copy span + span::before { content: none !important; }
@media (max-width: 760px) { footer.ft.ft .ft-copy { flex-direction: column; align-items: flex-start; } footer.ft.ft .ft-copy span { white-space: normal; } }

/* phone footer grid (owner 2026-11-25 "여백이 너무 많잖아 그리딩"): the brand block fills the width. Motto and ministries
   in two equal columns, the community row as icons then one wide 홈 화면에 추가; rhythm 8 / 16 / 24 */
@media (max-width: 760px) {
  footer.ft.ft .ft-brand { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; column-gap: 16px !important; }
  footer.ft.ft .ft-brand .ft-motto { margin-top: 16px !important; }
  footer.ft.ft .ft-proj { margin-top: 16px !important; }
  footer.ft.ft .fp { min-height: 36px !important; margin: 0 !important; }
  footer.ft.ft .ft-soc { display: grid !important; grid-template-columns: repeat(3, 44px) minmax(0, 1fr); gap: 8px !important; margin-top: 24px !important; }
  footer.ft.ft .ft-soc .ft-social { display: contents !important; }
  footer.ft.ft .ft-soc .ft-icon { width: 44px; height: 44px; }
  footer.ft.ft .ft-soc .a2hs { min-height: 44px !important; justify-content: center; width: 100%; padding: 0 12px !important; }
  footer.ft.ft .ft-soc .a2hs-hint { grid-column: 1 / -1; }
}

/* a section header's link never breaks: text and arrow on one line (owner 2026-11-25 "FOCUS 모두 보기 >" wrapped) */
.sh > a.link, .hm-head > a.link, header > a.link, .ed-more, .cm-more { white-space: nowrap !important; flex-shrink: 0; }
.sh { column-gap: 24px; }

/* 예배 › 말씀: "많은 물 소리" (owner 2026-11-25: the waterfall, set as a composed piece, not a bare photo). The falls, a slow
   drift of the camera, a soft shade rising from the river, Revelation 1:15 in the site's serif over the calm water */
.plate.waters { position: relative; margin: 0; overflow: hidden; border-radius: 8px; aspect-ratio: 4 / 3; background: #0B2447; isolation: isolate; }
.waters-pic { position: absolute; inset: 0; display: block; overflow: hidden; }
.waters-pic img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 45%; animation: waters-drift 24s ease-in-out infinite alternate; }
@keyframes waters-drift { from { transform: scale(1.02); } to { transform: scale(1.09) translateY(-1.5%); } }
.plate.waters::after { content: ""; position: absolute; inset: 0; z-index: var(--z-raised); background: linear-gradient(180deg, rgba(11, 36, 71, 0) 45%, rgba(11, 36, 71, .55) 78%, rgba(11, 36, 71, .82) 100%); }
.plate.waters figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: var(--z-over); display: grid; gap: 12px; padding: 32px; margin: 0; color: #fff; text-align: left; }
.waters-v { font: 400 28px/1.45 "MaruBuri", var(--serif); letter-spacing: -.01em; text-shadow: 0 1px 12px rgba(0, 0, 0, .25); word-break: keep-all; }
.waters-r { font: 600 13px/1 var(--sans); letter-spacing: .12em; color: rgba(255, 255, 255, .8); }
.waters-r::before { content: ""; display: inline-block; width: 24px; height: 1px; margin-right: 10px; vertical-align: middle; background: currentColor; }
@media (max-width: 760px) { .plate.waters figcaption { padding: 20px; gap: 8px; } .waters-v { font-size: 20px; } }
@media (prefers-reduced-motion: reduce) { .waters-pic img { animation: none; transform: none; } }
/* 산상기도 film: the pointer says a frame can be opened */
#strip .frame img { cursor: zoom-in; }
#strip.is-grabbing .frame img { cursor: grabbing; }

/* 산상기도 film (owner 2026-11-25 "비율이 이상"): a frame's caption is sized from the frame itself and never leaves it, even
   when the browser enlarges text (Safari text size, minimum font size) */
#strip .frame figure { container-type: inline-size; }
#strip .frame figcaption { display: flex !important; gap: 8px; overflow: hidden; white-space: nowrap; font-size: clamp(10px, 4.6cqw, 15px) !important; }
#strip .frame figcaption > * { min-width: 0; overflow: hidden; text-overflow: clip; }
/* the frame viewer: the whole photo, fitted inside the screen and centred, never cropped or oversized */
dialog.strip-view .lb-stage { display: grid !important; place-items: center; overflow: hidden !important; height: calc(100dvh - 96px); padding: 0 56px; box-sizing: border-box; }
dialog.strip-view .lb-stage img { width: auto !important; height: auto !important; max-width: 100% !important; max-height: 100% !important; object-fit: contain; border-radius: 6px; cursor: default; transform: none; }
@media (max-width: 760px) { dialog.strip-view .lb-stage { padding: 0 8px; } }
#strip .frame figcaption > * { flex: 0 1 auto !important; }
#strip .frame figcaption > * { overflow: visible !important; flex-shrink: 0 !important; }
/* phone footer: each ministry name on one line; its column takes the width it needs, the motto the rest */
@media (max-width: 760px) {
  footer.ft.ft .ft-brand { grid-template-columns: minmax(0, 1fr) auto !important; }
  footer.ft.ft .fp-t { white-space: nowrap; }
}
@media (max-width: 359px) { footer.ft.ft .fp-t { font-size: 13px !important; } footer.ft.ft .ft-motto { font-size: 15px !important; } }
@media (max-width: 760px) { #recent.hm-recent .c-k { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; } }
@media (max-width: 359px) { #recent.hm-recent .c-k { font-size: 11px !important; letter-spacing: 0 !important; } }

/* belt steady across pages (owner 2026-11-25 "다른 페이지 누를 때마다 띠가 이상하게 반응"): "New Beginning" was drawn in a
   fallback serif and then swapped to MaruBuri (190 KB, not preloaded), shifting the centred line on every page. A 2.2 KB
   subset holding only those letters is preloaded on every page and blocks its own swap, so the belt paints once, final. */
@font-face { font-family: "MaruBuri Belt"; src: url("fonts/sub/MaruBuri-Belt.woff2") format("woff2"); font-weight: 400; font-display: block; }
.belt-txt b { font-family: "MaruBuri Belt", "MaruBuri", var(--serif) !important; }
/* home FOCUS (owner 2026-11-25 "사이즈가 왜 다르냐"): every poster the same size, the newest marked by its NEW tag alone;
   five across on wide screens, sheets and captions on one line */
.hf-rail > li, .hf-rail > li.hf-new { flex: 0 0 calc((100% - 4 * 24px) / 5) !important; }
.fc-wall.hf-rail { align-items: flex-start !important; }
@media (max-width: 1100px) { .hf-rail > li, .hf-rail > li.hf-new { flex-basis: calc((100% - 2 * 24px) / 3) !important; } }
@media (max-width: 760px) { .hf-rail > li, .hf-rail > li.hf-new { flex-basis: 70% !important; } }
/* the photograph: Yosemite, Vernal Fall (Wikimedia Commons, public domain, by Jan2K; legacy/stock/) */

/* 예배 › 말씀 (owner 2026-11-25 "여백이 너무 많다"): the sermon sits centred against the picture, the picture a calmer 3:2,
   and "영상으로 듣기" a real play button */
#sermon .sermon-top { align-items: center !important; }
.plate.waters { aspect-ratio: 3 / 2 !important; }
#sermon .feature .link[href*="youtube"] { display: inline-flex !important; align-items: center; gap: 10px; min-height: 48px; margin-top: 24px; padding: 0 22px 0 16px;
  border-radius: 100vmax; background: var(--night, #0B2447); color: #fff !important; font: 600 15px/1 var(--sans); text-decoration: none; }
#sermon .feature .link[href*="youtube"]::before { content: ""; width: 0; height: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
#sermon .feature .link[href*="youtube"]::after { display: none !important; }
#sermon .feature .link[href*="youtube"]:hover, #sermon .feature .link[href*="youtube"]:focus-visible { background: var(--orange-ink, #A85A00); }
/* 지난 설교: "더 보기" under the list */
.sermon-more { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 52px; margin-top: 16px; border: 1px solid var(--rule); border-radius: 8px;
  background: #fff; color: var(--ink); font: 600 15px/1 var(--sans); cursor: pointer; transition: border-color .2s; }
.sermon-more .num { color: var(--ink-3); font-weight: 400; }
.sermon-more:hover, .sermon-more:focus-visible { border-color: var(--ink); }
.sermon-more[hidden] { display: none; }

/* 실황 예배는 유튜브에서 (owner 2026-11-25): one clear row under the sermons, the way to every full service stream */
.yt-live { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px 24px; margin-top: 24px; padding: 20px 24px; border-radius: 8px;
  background: #fff; border: 1px solid var(--rule); color: var(--ink); text-decoration: none; transition: border-color .2s; }
.yt-live > svg { width: 40px; height: 40px; fill: none; stroke: #C4302B; stroke-width: 1.6; }
.yt-live > svg .fill { fill: #C4302B; stroke: none; }
.yt-live-t { display: grid; gap: 4px; }
.yt-live-t b { font: 700 18px/1.4 var(--sans); }
.yt-live-t span { font: 400 13px/1.5 var(--sans); color: var(--ink-3); word-break: keep-all; }
.yt-live-go { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 18px; border-radius: 100vmax; box-shadow: inset 0 0 0 1px var(--ink);
  font: 600 15px/1 var(--sans); white-space: nowrap; transition: background .2s, color .2s; }
.yt-live-go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.75; }
.yt-live:hover, .yt-live:focus-visible { border-color: var(--ink); }
.yt-live:hover .yt-live-go, .yt-live:focus-visible .yt-live-go { background: var(--night); color: #fff; }
.yt-live:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
@media (max-width: 760px) { .yt-live { grid-template-columns: auto minmax(0, 1fr); padding: 16px; } .yt-live-go { grid-column: 1 / -1; justify-content: center; } }

/* footer, two shared lines (owner 2026-11-25 "가로 줄 정렬 … 그리딩 인덱싱 스페이싱"): every column starts on the label line
   and ends on one bottom line: the icon row, the last 장소 row and 문의하기 share their bottom edge */
@media (min-width: 1101px) {
  footer.ft.ft .ft-in { align-items: stretch !important; }
  footer.ft.ft .ft-brand { grid-template-rows: auto auto 1fr !important; }
  footer.ft.ft .ft-soc { align-self: end; margin-top: 40px !important; }
  footer.ft.ft .ft-cols { align-items: stretch; }
  footer.ft.ft .ft-cols > div { display: flex; flex-direction: column; }
  footer.ft.ft .ft-reach .ft-contact { margin-top: auto !important; align-self: flex-start; }
}

/* home FOCUS: twelve posters, and a mouse can drag the rail sideways too */
.fc-wall.hf-rail { cursor: grab; }
.fc-wall.hf-rail.is-grabbing { cursor: grabbing; scroll-snap-type: none; }
.fc-wall.hf-rail.is-grabbing a { pointer-events: none; }
@media (min-width: 1101px) { footer.ft.ft .ft-places dl { flex: 1; align-content: space-between; } }
/* the YouTube mark sits on the title's line, the button centred on the row */
.yt-live { align-items: start; }
.yt-live > svg { margin-top: -8px; }
.yt-live-go { align-self: center; }
@media (max-width: 760px) { #recent.hm-recent { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } #recent.hm-recent > li, #recent.hm-recent > li > a { min-width: 0; } }

/* 실황 예배는 유튜브에서 (owner 2026-11-25 "블록 말고 배경으로"): no white card. The church's own worship photo under a navy
   shade, the line and the channel button in white over it */
.yt-live { position: relative; overflow: hidden; isolation: isolate; border: 0 !important; border-radius: 8px; padding: 32px 40px !important; align-items: center !important;
  background: #0B2447 url("photos/cover/c1-1280.jpg") center 40% / cover no-repeat !important; color: #fff !important; }
.yt-live::before { content: ""; position: absolute; inset: 0; z-index: var(--z-backdrop); background: linear-gradient(90deg, rgba(11, 36, 71, .92) 0%, rgba(11, 36, 71, .78) 55%, rgba(11, 36, 71, .55) 100%); }
.yt-live > svg { margin-top: 0 !important; stroke: #fff !important; }
.yt-live > svg .fill { fill: #fff !important; }
.yt-live-t b { color: #fff; font-size: 18px !important; }
.yt-live-t span { color: rgba(255, 255, 255, .72) !important; }
.yt-live-go { background: #fff; color: #0B2447; box-shadow: none !important; }
.yt-live:hover .yt-live-go, .yt-live:focus-visible .yt-live-go { background: #FFDFAE; color: #0B2447; }
@media (max-width: 760px) { .yt-live { padding: 24px !important; } }
/* "더 보기" (owner 2026-11-25 "미니멀하면서 세련되게"): a small pill sized to its words, centred under the list */
.sermon-more { width: auto !important; min-height: 44px !important; margin: 24px auto 0 !important; padding: 0 8px 0 20px !important; gap: 8px !important;
  border-radius: 100vmax !important; border: 1px solid var(--rule) !important; background: transparent !important; font: 500 15px/1 var(--sans) !important; }
.sermon-more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.75; }
.sermon-more .num { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 8px; box-sizing: border-box; border-radius: 100vmax;
  background: rgba(11, 36, 71, .06); color: var(--ink-2) !important; font: 500 13px/1 var(--sans) !important; }
.sermon-more:hover, .sermon-more:focus-visible { border-color: var(--ink) !important; }
.sermon-more:hover svg, .sermon-more:focus-visible svg { transform: translateY(2px); }
.sermon-more svg { transition: transform .2s; }

/* year picker, quieter (owner 2026-11-25 "정보가 많다 … 노란색 넣지 마"): one line of plain years like the site's tabs; the
   chosen year in navy with a thin navy underline; the line slides sideways, the chosen year kept in view */
.yr-nav.album-bar { display: flex !important; grid-template-columns: none !important; flex-wrap: nowrap !important; gap: 4px !important; padding: 0 !important; width: 100% !important;
  overflow-x: auto !important; background: none !important; border-radius: 0 !important; border-bottom: 1px solid var(--rule); scrollbar-width: none; }
.yr-nav.album-bar::-webkit-scrollbar { display: none; }
.yr-nav.album-bar a { flex: 0 0 auto; min-height: 44px; padding: 0 12px !important; border-radius: 0 !important; background: none !important; box-shadow: none !important;
  color: var(--ink-3) !important; font: 500 15px/1 var(--sans) !important; position: relative; }
.yr-nav.album-bar a:hover { color: var(--ink) !important; }
.yr-nav.album-bar a[aria-current="true"] { color: var(--ink) !important; font-weight: 700 !important; box-shadow: inset 0 -2px 0 var(--ink) !important; }
.yr-nav.album-bar.yr-more-r { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
.yr-nav.album-bar.yr-more-l { -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%); mask-image: linear-gradient(90deg, transparent, #000 12%); }
.yr-nav.album-bar.yr-more-l.yr-more-r { -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
@media (max-width: 760px) { .yr-nav.album-bar { grid-template-columns: none !important; } }
/* one year at a time: the year line already names it, so the year heading under it is for screen readers only */
.yr-nav ~ .ab-year > h3 { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.yr-nav ~ .ab-year { margin-top: 16px; }
.yt-live { align-items: start !important; }
.yt-live > svg { margin-top: -8px !important; }
.yt-live-go { align-self: center !important; }
@media (max-width: 760px) { .yt-live > svg { margin-top: 5px !important; } }
.yr-nav.album-bar { border-bottom: 0 !important; }

/* footer, natural rhythm (owner 2026-11-25 "아직도 좀 그런데"): no stretched gaps. Every column starts on the label line and
   keeps its own spacing: 장소 rows 24 apart, 연락처 items 16 apart, the community row 32 under the motto block */
@media (min-width: 1101px) {
  footer.ft.ft .ft-in { align-items: start !important; }
  footer.ft.ft .ft-brand { grid-template-rows: auto auto auto !important; }
  footer.ft.ft .ft-soc { align-self: start; margin-top: 32px !important; }
  footer.ft.ft .ft-cols > div { display: block; }
  footer.ft.ft .ft-places dl { flex: none; align-content: start; row-gap: 24px !important; }
  footer.ft.ft .ft-reach .ft-contact { margin-top: 16px !important; }
}
/* the YouTube mark: on narrow phones the title wraps, so it sits on the first line; 361–760 it is one line */
@media (min-width: 340px) and (max-width: 760px) { .yt-live > svg { margin-top: -8px !important; } }

/* footer on three lines (owner 2026-11-25 "가로세로 정렬"): (1) the labels and wordmark, (2) the first item of every column
   (motto, ministries, 본당, phone) on one line, (3) one bottom line where the icon row, the last 장소 row and 문의하기 end.
   The icon row sits 24 under the ministries, so the 장소 rows open only a little to reach the same bottom. */
@media (min-width: 1101px) {
  footer.ft.ft .ft-in { align-items: stretch !important; }
  footer.ft.ft .ft-brand { grid-template-rows: auto auto 1fr !important; }
  footer.ft.ft .ft-soc { align-self: end !important; margin-top: 24px !important; }
  footer.ft.ft .ft-cols { align-items: stretch !important; }
  footer.ft.ft .ft-cols > div { display: flex !important; flex-direction: column; }
  footer.ft.ft .ft-places dl { flex: 1 !important; align-content: space-between !important; row-gap: 24px !important; }
  footer.ft.ft .ft-reach .ft-contact { margin-top: auto !important; align-self: flex-start; }
  footer.ft.ft .ft-reach .fh + .ft-link { margin-top: -11px !important; }
}

/* 지난 설교 rows (QA 2026-11-25: a long service text ran over 다시 보기): every column keeps to its own width */
#sermon .archive li > * { min-width: 0; }
#sermon .archive .title { overflow-wrap: anywhere; word-break: keep-all; }
#sermon .archive .svc { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#sermon .archive .act { justify-self: end; white-space: nowrap; }
@media (max-width: 760px) { #sermon .archive li:nth-child(n+6) { display: grid !important; } }   /* "더 보기" pages the list now */

/* the last section meets the footer on the spacing scale (owner 2026-11-25 "스페이스 제대로"): 64 on wide screens, 40 on phones */
/* the last section, even when a viewer dialog follows it in main (archive posts, 2026-11-25 "밑에 바로 붙여져 있잖아") */
main.is-inner > .sec:not(:has(~ .sec)), main[data-page] > .sec:not(:has(~ .sec)) { padding-bottom: 64px !important; margin-bottom: 0 !important; }
@media (max-width: 760px) { main.is-inner > .sec:not(:has(~ .sec)), main[data-page] > .sec:not(:has(~ .sec)) { padding-bottom: 40px !important; } }
/* 이전·다음 글: the date sits after the label, quieter, so two posts with one title can be told apart */
.post-nav small time { margin-left: 8px; font-weight: 400; font-variant-numeric: tabular-nums; }
/* home 주일 설교: the feature and the three recent sermons read as one block, so they sit 8px apart, the same as on
   phones (owner 2026-11-25 "하얀색 벌어짐이 너무 큰거 같다") */
section.hm-word .hm-word-grid { column-gap: 8px !important; }
section.hm-word #recent.hm-recent { gap: 8px !important; }

/* breadcrumbs: a short crumb like "교육" kept its 44px box and left a wide gap before the next "/" (owner 2026-11-25
   "이런 스페이싱"): crumbs are as wide as their words; the row keeps the 44px tap height */
.post-crumb a { min-width: 0 !important; }
/* phone footer: the "홈 화면에 추가" pill keeps its own width and moves to the next line when the row is too narrow
   (owner 2026-11-25, a phone with larger text: the label ran out of the pill and past the footer) */
@media (max-width: 760px) {
  footer.ft.ft .ft-soc { display: flex !important; flex-wrap: wrap; align-items: center; gap: 8px !important; }
  footer.ft.ft .ft-soc .ft-social { display: contents !important; }
  footer.ft.ft .ft-soc .a2hs { flex: 0 0 auto; width: auto !important; max-width: 100%; white-space: nowrap; padding: 0 16px !important; }
}
/* 함께하는 사역 (owner 2026-11-25): the three ministries get a heading set exactly like 장소 and 연락처 (the list is
   already named for screen readers by its aria-label, so the visible heading is drawn, not read twice) */
footer.ft.ft .ft-proj::before { content: "함께하는 사역"; display: block; margin: 0 0 8px; font: 600 13px/1 var(--sans); letter-spacing: .04em; color: rgba(255, 255, 255, .56); }
footer.ft.ft .ft-proj::before { content: "함께하는 사역" / ""; }
/* wide footer: the 함께하는 사역 heading starts on the same line as 장소 and 연락처 */
@media (min-width: 1101px) { footer.ft.ft .ft-proj { grid-row: 1 / span 2 !important; align-self: start; margin-top: 0 !important; } }
/* phone footer: each ministry link is a full 44px tap target (audit: 36px at 320) */
@media (max-width: 760px) { footer.ft.ft .fp { min-height: 44px !important; display: flex !important; align-items: center; } }
/* a section header's link is text and chevron on one line; the old poster rule (.focus-posters a { display: grid })
   was stacking the chevron under "FOCUS 모두 보기" (review 2026-11-25) */
main .sh > a.link { display: inline-flex !important; align-items: center; gap: 4px; }
/* sticky bars are solid (review 2026-11-25): the header no longer shows blurred content through it, and the phone
   sub-tab pill sits on a cream band from edge to edge, so nothing is seen beside, above or around it */
header.header { background: #F7F6F2 !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
@media (max-width: 760px) {
  .subnav-band { position: sticky; top: var(--header-h); z-index: var(--z-sticky); margin: 0 0 var(--s3); padding: 8px 0;
    background: #F7F6F2; box-shadow: 0 1px 0 var(--rule, rgba(11, 36, 71, .14)); transition: transform var(--spring-snappy-dur) var(--spring-snappy); }
  /* the cream also runs up behind the band (owner 2026-11-29: "위에 바에 다 가려져야하는데 구멍이 뚫려있다"): it closes the strip
     between the header and the band, whose sticky top and the header's real height differ by a few px at some widths, and
     the phone's status-bar area once the header slides away */
  .subnav-band.is-stuck::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 160px; background: #F7F6F2; pointer-events: none; }
  /* with the header away the tabs stop under the status bar (notch), not beneath the clock */
  body.chrome-hide .subnav-band { transform: translateY(calc(-1 * var(--header-h) + env(safe-area-inset-top, 0px))); }
  .subnav-band .subnav { position: static !important; transform: none !important; margin: 0 var(--margin) !important; }
}
.subnav-band + .sec, .subnav-band + section { padding-top: 24px; }
.qtp-index { background: #F7F6F2 !important; }
/* 선교 · countries as a quiet wrapping list, set apart by space, not middots (review 2026-11-25) */
.nat-names { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.nat-names li { margin: 0; padding: 0; white-space: nowrap; }
/* 주보 광고 기록 sits on the same left edge as the page title and the other tabs (review 2026-11-25: it was an inset column) */
main .sec.jubo-past.archive-board { max-width: none !important; margin-inline: var(--margin, 24px) !important; padding-inline: 0 !important; }
/* 오시는 길 · the five places on phones: one row that slides sideways, each tab as wide as its name (review 2026-11-25:
   they wrapped 3 + 2 with mismatched widths) */
@media (max-width: 480px) {
  main .walk-to { display: flex !important; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 4px; padding: 4px; border-radius: 100vmax;
    scroll-snap-type: x proximity; }
  main .walk-to::-webkit-scrollbar { display: none; }
  main .walk-to a { flex: 0 0 auto; grid-column: auto !important; padding: 0 16px !important; scroll-snap-align: start; white-space: nowrap; }
}
/* 헌금 · every 복사 button sits at the right end of its row, centred on the value, so they form one column (review
   2026-11-25: they followed the text and landed at different places) */
@media (min-width: 761px) { main .of-copy { margin-left: auto !important; align-self: center; } }
/* photos are shown, not handed out (owner 2026-11-25 "사진 복붙도 안되고"): no drag-out, no long-press save sheet on phones,
   no selection highlight; text stays selectable */
main img, footer img, dialog img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
/* type on the scale (craft audit 2026-11-25: 12px and 14px were in use): captions and marks 13, footer links 15 */
main .hm-times.hm-times.hm-times dd.tm-n, .fc-mark { font-size: 13px !important; }
footer.ft.ft .ft-places dt, footer.ft.ft .ft-places dd { font-size: 13px !important; }
footer.ft.ft .fp-t { font-size: 15px !important; }
/* crumb links keep a 44px target without moving the text (audit 2026-11-26: "교육" was 26px wide at 320) */
.post-crumb a { padding-inline: 10px !important; margin-inline: -10px !important; }
/* 주보 광고 items (owner 2026-11-26): each notice's title is a small heading with a rule, so a week reads as a list of
   notices rather than one run of lines */
.post-text h2.post-item { max-width: 37em; margin: var(--s4, 40px) 0 var(--s1, 8px); padding-top: var(--s2, 16px); border-top: 1px solid var(--rule, rgba(11, 36, 71, .14)); font: 700 var(--t-body)/1.5 var(--sans); color: var(--ink); }
.post-text h2.post-item + p { margin-top: 0; }
/* 성경일독 table in 주보 광고: dates over passages; scrolls sideways on phones instead of squeezing */
.post-text .post-table { max-width: 100%; overflow-x: auto; margin: 0 0 var(--s3, 24px); }
.post-text .post-table table { border-collapse: collapse; font: 400 var(--t-small, 15px)/1.5 var(--sans); color: var(--ink); white-space: nowrap; }
.post-text .post-table th, .post-text .post-table td { padding: 8px 12px; border-bottom: 1px solid var(--rule, rgba(11, 36, 71, .14)); text-align: left; }
.post-text .post-table th { font-weight: 700; padding-left: 0; }
.post-text .post-table tr:first-child td { color: var(--ink-3, #5E6880); }
.post-text .post-table:focus-visible { outline: 2px solid var(--blue, #1D4ED8); outline-offset: 4px; border-radius: 8px; }

/* ===== 앨범 분류 as a row of photos (owner 2026-11-26, after six text layouts: "느낌이 없다 … 정돈되어 보여야 한다";
   direction C of docs/boards/album-category-options.png). 전체 and the sixteen categories in one even row across the
   album, each a round photo from that kind of gathering with its name beneath, like the 공동체 bubbles; a little more
   space where a group begins; the chosen one ringed in navy with its name bold. On phones the same row slides
   sideways. No side column, so the photos keep the full width. ===== */
.al-side { margin: 0 0 40px; padding-top: 16px; border-top: 2px solid var(--ink); }
.al-cats ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; gap: 4px; }
.al-cats li.ac-gs { margin-left: 12px; }
.al-cats button { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 64px; padding: 0; border: 0;
  background: none; color: var(--ink-2); font: 400 13px/1.35 var(--sans); text-align: center; cursor: pointer; }
.al-cats .ac-ph { display: block; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: var(--sand-2);
  box-shadow: 0 0 0 2px var(--sand), 0 0 0 3px var(--rule-blue); transition: box-shadow .2s ease; }
.al-cats .ac-ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.al-cats .ac-name { word-break: keep-all; }
.al-cats button:hover { color: var(--ink); }
.al-cats button:hover .ac-ph { box-shadow: 0 0 0 2px var(--sand), 0 0 0 3px var(--ink-3); }
.al-cats button[aria-pressed="true"] { color: var(--ink); font-weight: 700; }
.al-cats button[aria-pressed="true"] .ac-ph { box-shadow: 0 0 0 2px var(--sand), 0 0 0 4px var(--ink); }
.al-cats button:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 8px; }
@media (max-width: 1399px) {   /* narrower than the seventeen photos need: the row slides sideways from the page edge */
  .al-cats { margin: 0 calc(var(--margin, 16px) * -1); overflow-x: auto; scrollbar-width: none; scroll-padding-inline: var(--margin, 16px); }
  .al-cats::-webkit-scrollbar { display: none; }
  .al-cats ul { justify-content: flex-start; gap: 8px; padding: 4px var(--margin, 16px) 8px; width: max-content; }
}
.album.is-only .al-side { display: none !important; }
/* ===== 앨범 as a photo book (approved board docs/boards/album-photobook-board.png, 2026-11-26) =====
   One title line; the newest gathering opens the page large; every gathering is a spread of one large photo and two
   small ones, alternating sides; "사진 N장 더 보기" is a quiet link in its header, no dark "+N" tiles. */
main[data-page="album"] .page-head { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 16px; }
main[data-page="album"] .page-head .crumb { flex-basis: 100%; }
main[data-page="album"] .page-head::after { content: "사진으로 드리는 예배"; font: 400 17px/1.4 var(--sans); color: var(--ink-3);
  padding-left: 16px; border-left: 1px solid var(--rule-blue); }
main[data-page="album"] #gallery > .sh { display: none; }
/* the lead */
.al-lead { margin: 0 0 48px; }
.al-lead-ph { display: block; border-radius: 12px; overflow: hidden; background: var(--sand-2); }
.al-lead-ph img { display: block; width: 100%; aspect-ratio: 2 / 1; max-height: 52dvh; object-fit: cover; object-position: 50% 40%; }
.al-lead-t { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-top: 16px; }   /* the row's navy rule follows */
main .album .al-lead h2 { margin: 0; font: 700 24px/1.3 var(--sans) !important; color: var(--ink); }
.al-lead-t p { margin: 4px 0 0; font: 400 15px/1.5 var(--sans); color: var(--ink-3); }
/* inline, not flex: flex split "333" from "장" with a gap */
.al-lead-go, .al-evh .al-more { display: inline-block; min-height: 44px; color: var(--ink); font: 500 15px/44px var(--sans); text-decoration: none; white-space: nowrap; }
.al-lead-go::after, .al-evh .al-more::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; vertical-align: 2px;
  border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); }
.al-lead-go:hover, .al-evh .al-more:hover { text-decoration: underline; text-underline-offset: 6px; }
.album.is-filtered .al-lead { display: none; }
/* the event header: title and date on the left, the link on the right */
.al-evh { align-items: center !important; }
.al-evh .al-more { position: static; inset: auto; margin-left: auto; padding: 0; border: 0; border-radius: 0; background: none; cursor: pointer; }
.al-evh .al-more:hover { background: none; }
.al-evh .al-more:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 8px; }
/* the spread */
.al-grid .ph-open { display: block; width: 100%; height: 100%; border-radius: 8px; }
.al-grid .ph-open img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
@media (min-width: 761px) {
  .al-ev .al-grid { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; gap: 12px !important; }
  /* rows of a fixed height range, so a spread never grows past ~450px however wide the screen (owner 2026-11-26) */
  /* only the spread's two rows have the capped height; photos past the spread are 3:2, and the "더 보기 / 접기" row is
     as tall as its button (a fixed row height stretched it into an oval, owner 2026-11-27) */
  .al-ev .al-grid { grid-template-rows: repeat(2, clamp(150px, 12vw, 220px)); grid-auto-rows: auto; }
  .al-ev .al-grid > .ph { grid-column: span 2; }
  .al-ev .al-grid > .ph:nth-child(n + 4) { aspect-ratio: 3 / 2; }
  .al-ev.is-even .al-grid { grid-template-rows: clamp(150px, 12vw, 220px); }
  .al-ev .al-grid > .ph:nth-child(1) { grid-column: 1 / span 4; grid-row: 1 / span 2; aspect-ratio: auto; }
  .al-ev .al-grid > .ph:nth-child(2) { grid-column: 5 / span 2; grid-row: 1; }
  .al-ev .al-grid > .ph:nth-child(3) { grid-column: 5 / span 2; grid-row: 2; }
  /* every other gathering mirrors: the two small photos on the left */
  .al-yb > .al-ev:nth-of-type(even) .al-grid > .ph:nth-child(1) { grid-column: 3 / span 4; }
  .al-yb > .al-ev:nth-of-type(even) .al-grid > .ph:nth-child(2),
  .al-yb > .al-ev:nth-of-type(even) .al-grid > .ph:nth-child(3) { grid-column: 1 / span 2; }
  .al-ev { margin-bottom: 48px; }
  /* a gathering without a checked group shot: three equal tiles, nobody enlarged */
  .al-yb > .al-ev.is-even .al-grid > .ph { grid-column: span 2 !important; grid-row: auto !important; }
}
/* phones: the large photo full width, the others two to a row beneath it */
@media (max-width: 760px) {
  .al-ev .al-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; }
  .al-ev .al-grid > .ph { aspect-ratio: 4 / 3; }
  .al-ev .al-grid > .ph:nth-child(1) { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .al-ev.is-even .al-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .al-ev.is-even .al-grid > .ph, .al-ev.is-even .al-grid > .ph:nth-child(1) { grid-column: auto; aspect-ratio: 1; }
  .al-evh .al-more { margin-left: 0; }
  .al-lead-ph img { aspect-ratio: 4 / 3; }
  .al-lead-t { flex-direction: column; align-items: flex-start; }
}
/* the newest gathering is the lead: its spread below stays hidden until the lead's link asks for it */
.album:not(.is-filtered):not(.lead-open) .al-ev.is-lead { display: none; }

/* "사진 N장 더 보기" and "접기" stay small pills whatever the grid does */
.al-ev .al-grid > .al-next, .al-ev .al-grid > .al-less { grid-column: 1 / -1; justify-self: center; align-self: center; height: auto; aspect-ratio: auto; }

/* 문의하기 panel (owner 2026-11-27): opens upward from the footer button, white on the night footer like the site's
   other small panels; three plain rows: send an email, copy the address, call */
.ft-ask-wrap { position: relative; display: inline-block; }
.ft-ask { position: absolute; left: 0; bottom: calc(100% + 8px); z-index: var(--z-popover); width: 272px; padding: 6px; border-radius: 16px;
  background: #fff; color: var(--ink); text-shadow: none; box-shadow: 0 0 0 1px rgba(11, 36, 71, .08), 0 16px 40px rgba(8, 18, 36, .28); }
.ft-ask[hidden] { display: none; }
/* three equal rows; the hairline between them starts and ends where the text does, and every row's hover shares one
   radius, concentric with the panel's (16 - 6 = 10) */
.ft-ask a, .ft-ask button { position: relative; display: grid; align-content: center; gap: 2px; width: 100%; min-height: 56px; padding: 8px 14px; border: 0;
  border-radius: 10px; background: transparent; color: var(--ink); text-align: left; text-decoration: none; text-shadow: none; cursor: pointer; font: inherit; }
.ft-ask > * + *::before { content: ""; position: absolute; left: 14px; right: 14px; top: 0; height: 1px; background: var(--rule); }
.ft-ask > *:hover::before, .ft-ask > *:hover + *::before, .ft-ask > *:focus-visible::before, .ft-ask > *:focus-visible + *::before { opacity: 0; }
.ft-ask b { font: 600 15px/1.35 var(--sans); color: var(--ink); }
.ft-ask span { font: 400 13px/1.4 var(--sans); color: var(--ink-3); }
.ft-ask a:hover, .ft-ask button:hover { background: var(--sand); }
.ft-ask a:focus-visible, .ft-ask button:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
@media (prefers-reduced-motion: no-preference) { .ft-ask:not([hidden]) { animation: ft-ask-in .16s ease-out; } @keyframes ft-ask-in { from { opacity: 0; transform: translateY(4px); } } }

/* Home spacing (owner 2026-11-28 "사이 여백 왤케 크냐 적당히 맞춰라"):
   the live-worship band follows the sermon cards at the cards' own 8px gutter, so it reads as part of the same block;
   the 큐티 card hands over to FOCUS with one section step instead of 100px of empty sand. */
.hm-word-grid + .yt-live { margin-top: 8px; }
.hm-qt .qtc.qtc-v2 { padding-bottom: 16px !important; }
main.is-home .hm-sec.hm-qt + .hm-sec.hm-focus { padding-top: 24px !important; }

/* posts written in 사이트 관리 (content.js). On a board they are rows of the year's own list (owner 2026-11-29: the separate
   새 글 box read as slop); a small orange mark says which are new. On a department page the same rows sit under a quiet heading. */
.ar-list li.ar-new a { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.ar-tag { flex: none; display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px 0 8px; border-radius: 100vmax;
  background: rgba(239, 131, 6, .14); color: #9C5200; font: 600 11.5px/1 var(--sans); letter-spacing: .01em; transform: translateY(-1px); }
.ar-tag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }   /* the site's orange "now" dot */
.ar-tag.ar-pin { background: rgba(11, 36, 71, .08); color: var(--night); }
.ar-tag.ar-pin::before { background: var(--night); }
.np-new .sh h2 { font: 600 var(--t-body)/1.4 var(--sans); }
.np-new .ar-list { margin-top: var(--s1); }
.np-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule, #DCD9D0); }
.np-list li { border-bottom: 1px solid var(--rule, #DCD9D0); }
.np-list a { display: flex; align-items: center; gap: 16px; min-height: 64px; padding: 12px 4px; color: inherit; text-decoration: none; transition: background .2s ease; }
.np-list a:hover, .np-list a:focus-visible { background: rgba(11, 36, 71, .04); }
.np-pic { width: 72px; height: 54px; flex: none; object-fit: cover; border-radius: 8px; background: rgba(11, 36, 71, .06); }
.np-txt { display: grid; gap: 4px; min-width: 0; }
.np-t { font-weight: 600; color: var(--ink, #0B2447); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.np-pin { display: inline-block; margin-right: 8px; padding: 1px 8px; border-radius: 100vmax; background: #FCE9D2; color: #A85A00; font-size: 12px; font-weight: 700; vertical-align: 1px; }
.np-txt time { font-size: 13px; color: var(--ink-3, #5E6880); }
.post-video { position: relative; aspect-ratio: 16 / 9; margin: 24px 0; border-radius: 12px; overflow: hidden; background: #0B2447; }
.post-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.post-files { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 8px; }
.post-files a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 100vmax; box-shadow: inset 0 0 0 1px var(--rule, #DCD9D0); color: var(--ink, #0B2447); font-weight: 600; text-decoration: none; }
.post-files a::before { content: "↓"; margin-right: 8px; color: var(--orange, #EF8306); }
.jw-pages { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin: 0 0 20px; }
.jw-page { display: block; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px var(--rule, #DCD9D0); background: #fff; }
.jw-page img { display: block; width: 100%; height: auto; }

/* footer (owner 2026-11-29): the year sits inside "© 2026 홍콩엘림교회" on one line; on phones one left edge, top to
   bottom (name, motto, 함께하는 사역, links) instead of a short motto beside a tall list */
footer .ft-c1 .ft-year { display: inline !important; margin: 0 !important; color: inherit !important; font: inherit !important; }
@media (min-width: 561px) and (max-width: 760px) {   /* two even columns, tops aligned; links full width below */
  footer.ft.ft .ft-brand { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; column-gap: 32px; row-gap: 20px; align-items: start; }
  footer.ft.ft .ft-brand .lockup { grid-column: 1 / -1 !important; grid-row: 1 !important; }
  footer.ft.ft .ft-brand .ft-motto { grid-column: 1 !important; grid-row: 2 !important; margin: 0 !important; }
  footer.ft.ft .ft-brand .ft-proj { grid-column: 2 !important; grid-row: 2 !important; margin: 0 !important; }
  footer.ft.ft .ft-brand .ft-soc { grid-column: 1 / -1 !important; grid-row: 3 !important; }
}
@media (max-width: 560px) {
  footer.ft.ft .ft-brand { grid-template-columns: minmax(0, 1fr) !important; row-gap: 16px; }
  footer.ft.ft .ft-brand > * { grid-column: 1 !important; grid-row: auto !important; }
  footer.ft.ft .ft-brand .ft-proj { margin: 0; }
}

/* 말씀 카드 v2 (owner 2026-11-30 "내가 준 레퍼런스랑 너무 다르지 않냐", board docs/boards/sermon-cards-v2.png, Figma 128:158):
   solid colour cards in the reference's language. Each theme has one colour and one ink that reads on it at 4.5:1 or more (at full strength: no faded text, audit 2026-11-30);
   the date stands on the left (요일 / 일 / 월), a hairline in the card's own ink, then tag, title, passage, service · preacher,
   and a round outlined play mark. Filters are pills: the chosen one filled in navy, the others outlined. Rows keep equal
   heights; one column on a phone, pills scroll sideways. A card plays its sermon in place, the player across the card. */
/* one colour per 말씀 카테고리 (2026-11-30: by the book preached, site/api/bible.mjs), the board's palette plus a teal;
   every ink measured at 4.5:1 or more on its colour (율법서 4.75, 역사서 6.83, 시가서 7.68, 예언서 6.92, 복음서 12.09, 서신서 5.77) */
.th-law { --c: #C24E2C; --on: #fff; } .th-history { --c: #8A4650; --on: #fff; } .th-poetry { --c: #93C47D; --on: var(--ink); }
.th-prophecy { --c: #A5A8EA; --on: var(--ink); } .th-gospel { --c: #34363B; --on: #fff; } .th-letters { --c: #2F6F73; --on: #fff; }
.th-none { --c: #E4E1D8; --on: var(--ink); }
/* one colour per 말씀 주제 (owner 2026-11-30 "카테고리 별로"; site/api/topics.mjs): the six above kept their places and two
   join (gold for grace, rose for love). Ink on colour, measured: 말씀 12.09, 기도 6.92, 회개 6.83, 믿음 5.77, 은혜 8.74, 사랑 7.80,
   사명 4.75, 소망 7.68 */
.th-word { --c: #34363B; --on: #fff; } .th-prayer { --c: #A5A8EA; --on: var(--ink); } .th-repent { --c: #8A4650; --on: #fff; }
.th-faith { --c: #2F6F73; --on: #fff; } .th-grace { --c: #E8BD5E; --on: var(--ink); } .th-love { --c: #E7A9A2; --on: var(--ink); }
.th-mission { --c: #C24E2C; --on: #fff; } .th-hope { --c: #93C47D; --on: var(--ink); }
.sm-filters { display: grid; gap: 8px; margin-top: var(--s2); }
.sm-pills { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.sm-filters .sm-pills + .sm-pills { padding-top: 8px; border-top: 1px solid var(--rule); }
.sm-empty { grid-column: 1 / -1; padding: 40px 0; color: var(--ink-2); font: 400 15px/1.4 var(--sans); text-align: center; }
.sm-pills::-webkit-scrollbar { display: none; }
.sm-pill { flex: none; min-height: 44px; padding: 0 20px; border: 1px solid var(--ink); border-radius: 100vmax; background: transparent; color: var(--ink);
  font: 500 15px/1 var(--sans); cursor: pointer; transition: background-color .2s, color .2s; }
.sm-pill:hover { background: rgba(11, 36, 71, .06); }
.sm-pill[aria-pressed="true"] { background: var(--ink); color: #fff; }
.sm-pill:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.sm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s2); margin: 0; padding: var(--s3) 0 0; list-style: none; }
.sm-card { position: relative; display: grid; grid-template-columns: 56px 1px minmax(0, 1fr); grid-template-rows: 1fr auto; column-gap: 16px;
  padding: 24px; border-radius: 20px; background: var(--c); color: var(--on); min-height: 220px; }
.sm-date { grid-row: 1 / 3; display: flex; flex-direction: column; align-items: center; gap: 4px; padding-top: 4px; }
.sm-date span { font: 600 13px/1 var(--sans); letter-spacing: .08em; }
.sm-date b { font: 600 36px/1 var(--sans); letter-spacing: -.02em; }
.sm-rule { grid-row: 1 / 3; width: 1px; background: currentColor; opacity: .35; }
.sm-main { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.sm-tag { display: inline-flex; align-items: center; min-height: 24px; padding: 0 10px; border: 1px solid currentColor; border-radius: 100vmax;
  font: 500 13px/1 var(--sans); }
.sm-t { margin: 4px 0 0; font: 700 17px/1.4 var(--sans); letter-spacing: -.01em; word-break: keep-all;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sm-p { margin: 0; font: 400 15px/1.4 var(--sans); }
.sm-foot { grid-column: 3; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 16px; }
.sm-m { margin: 0; font: 400 13px/1.3 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sm-play { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1.5px solid currentColor; border-radius: 50%;
  background: transparent; color: inherit; cursor: pointer; transition: background-color .2s, color .2s, transform .2s; }
.sm-play svg { width: 18px; height: 18px; margin-left: 2px; fill: currentColor; }
.sm-play:hover, .sm-play:focus-visible { background: var(--on); color: var(--c); }
.sm-play:active { transform: scale(.94); }
.sm-play:focus-visible { outline: 2px solid var(--on); outline-offset: 3px; }
.sm-card.is-playing { grid-template-rows: auto 1fr auto; }
.sm-card .ytp { grid-column: 1 / -1; grid-row: 1; margin-bottom: 16px; border-radius: 12px; }
.sm-card.is-playing .sm-date, .sm-card.is-playing .sm-rule { grid-row: 2 / 4; }
.sm-card.is-playing .sm-foot { grid-row: 3; }
@media (max-width: 1023px) { .sm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .sm-pills { margin-left: calc(-1 * var(--margin)); margin-right: calc(-1 * var(--margin)); padding: 0 var(--margin); }
  .sm-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .sm-card { min-height: 0; padding: 20px; column-gap: 12px; grid-template-columns: 48px 1px minmax(0, 1fr); border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) { .sm-pill, .sm-play { transition: none; } }
/* 앨범: the weekly 산상기도 (owner 2026-11-29 "겹치는게 너무 많다"): the main album keeps each year's newest week and a
   link to the rest; every week stays on the 산상기도 album page (.is-only) */
.album:not(.is-only) .al-ev.is-weekly { display: none !important; }
.album .al-mtn { display: inline-flex; align-items: center; min-height: 44px; margin-left: auto; padding: 0 4px; color: var(--ink); font: 600 13px/1 var(--sans); text-decoration: none; }
.album .al-mtn::after { content: "›"; margin-left: 6px; font-size: 15px; }
.album .al-mtn:hover, .album .al-mtn:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.album.is-only .al-mtn { display: none; }
/* 말씀 grid (owner 2026-11-29 screenshot "왜 이렇게 뜨냐"): a grid item's automatic minimum let the square cover grow past its
   seven columns at 900–1000 px and slide under the sermon list; each side keeps to its own columns */
section.hm-word .hm-word-grid > * { min-width: 0; }
section.hm-word .hm-word-grid > a.cover.big { width: 100%; max-width: 100%; }

/* 섬기는 분들 as saved in the page editor (assets/staff-model.js): a person without a photo shows an initial, and the
   optional one-line 소개 sits under 맡은 일 */
.st-nophoto { display: grid; place-items: center; aspect-ratio: 4 / 5; border-radius: 12px; background: #EEEDE7; color: var(--ink-3); font: 700 32px/1 var(--sans); }
.st-grid .st-nophoto { grid-row: 1 / span 3; width: 88px; aspect-ratio: 1; border-radius: 8px; font-size: 24px; }
.st-intro { grid-column: 2; margin: 4px 0 0; font: 400 var(--t-cap, 13px)/1.5 var(--sans); color: var(--ink-3); word-break: keep-all; }
/* the shared in-page player (elim.js elimPlayer, owner 2026-11-30 "Error 153"): 16:9, and when YouTube holds it, one plain
   way to the video on YouTube over it, in the cover's own button language (elim-fluid.css .hm-hero .lc-btn) */
.ytp { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #000; }
.ytp > iframe { display: block; width: 100%; height: 100%; border: 0; }
.ytp .lc-help { position: absolute; left: 50%; bottom: 16px; z-index: 2; display: flex; transform: translateX(-50%); animation: lc-in .25s ease-out both; }
.ytp .lc-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 100vmax; white-space: nowrap;
  background: #fff; color: var(--night); box-shadow: 0 8px 24px rgba(8, 18, 36, .28); font: 600 15px/1 var(--sans); text-decoration: none; }
/* the second way, 여기서 재생, in the cover's glass (elim-fluid.css .hm-hero .lc-btn) */
.ytp .lc-help { gap: 8px; }
.ytp .lc-btn:not(.lc-main) { border: 0; cursor: pointer; background: rgba(8, 18, 36, .62); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); color: #fff; }
.ytp .lc-btn:active { transform: scale(.96); }
.ytp .lc-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.ytp .lc-btn svg .yt-play { fill: #E5352B; stroke: none; }
.ytp .lc-btn:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .ytp .lc-help { animation: none; } }
/* 말씀 카드, finish (owner 2026-11-30 "카드도 뭔가 좀 이쁘게"): the day becomes the card's anchor (56 light, on the site's type scale; two digits always
   on one line), light falls from the top-left over the solid colour, a shadow in the card's own colour lifts it, and the tag
   is a soft fill. (A faint book-name watermark was tried and left out: it ran into the titles and abbreviations read badly.) */
.sm-card { isolation: isolate;
  background-image: radial-gradient(140% 90% at 0% 0%, rgba(255, 255, 255, .16), transparent 60%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 16px 32px -20px color-mix(in srgb, var(--c) 80%, #000);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s cubic-bezier(.22, 1, .36, 1); }
@media (hover: hover) { .sm-card:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 24px 40px -20px color-mix(in srgb, var(--c) 85%, #000); } }
.sm-date { gap: 6px; }
.sm-date b { font: 300 56px/.95 var(--sans); letter-spacing: -.04em; white-space: nowrap; }
.sm-card { grid-template-columns: 72px 1px minmax(0, 1fr); }
.sm-tag { border: 0; background: color-mix(in srgb, var(--on) 16%, transparent); }
@media (max-width: 600px) { .sm-card { grid-template-columns: 52px 1px minmax(0, 1fr); } .sm-date b { font-size: 36px; font-weight: 400; } }
@media (prefers-reduced-motion: reduce) { .sm-card { transition: none; } .sm-card:hover { transform: none; } }
/* the service and preacher always show in full (QA 2026-11-30: "새벽기도회 · 조…" was cut on narrower cards): two lines if needed */
.sm-m { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.4; }
/* 말씀 카드, refined (owner 2026-11-30 "더 이쁘게 다듬어라"):
   · filters step back: each row is named (예배 · 목사님 · 말씀); "전체" is a quiet tint, only a real choice fills navy;
     pills are hairline until hovered; a category pill carries its card colour as a dot, so the row is also the legend
   · the play mark is solid (the card's ink, the triangle in the card's colour) — the one strong mark on the card
   · the title rises to 18; the passage is set in MaruBuri, as Scripture is everywhere on the site */
.sm-filters { gap: 4px; }
.sm-row { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 8px; }
.sm-row + .sm-row { padding-top: 4px; border-top: 1px solid var(--rule); }
.sm-row-k { font: 500 13px/1 var(--sans); letter-spacing: .02em; color: var(--ink-2); }
.sm-filters .sm-pills + .sm-pills { padding-top: 0; border-top: 0; }
.sm-pills { padding: 4px 0; }
.sm-pill { border-color: var(--rule-blue); color: var(--ink-2); font-weight: 500; transition: background-color .2s, color .2s, border-color .2s; }
.sm-pill:hover { border-color: var(--ink); color: var(--ink); background: transparent; }
.sm-pill.is-all[aria-pressed="true"] { background: rgba(11, 36, 71, .07); border-color: transparent; color: var(--ink); font-weight: 700; }
.sm-pill:not(.is-all)[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.sm-pill.has-dot { display: inline-flex; align-items: center; gap: 8px; }
.sm-pill.has-dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1px rgba(11, 36, 71, .12); }
.sm-play { border: 0; background: var(--on); color: var(--c); }
.sm-play svg { width: 16px; height: 16px; }
.sm-play:hover, .sm-play:focus-visible { background: var(--on); color: var(--c); transform: scale(1.08); }
.sm-t { font-size: 18px; line-height: 1.4; }
.sm-p { font-family: "MaruBuri", var(--serif); font-size: 15px; letter-spacing: -.01em; }
@media (max-width: 600px) {
  .sm-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .sm-row-k { padding-top: 8px; }
  .sm-row .sm-pills { margin-left: calc(-1 * var(--margin)); margin-right: calc(-1 * var(--margin)); padding-left: var(--margin); padding-right: var(--margin); }
}
@media (prefers-reduced-motion: reduce) { .sm-play:hover { transform: none; } }
.sm-pill.has-dot[aria-pressed="true"]::before { box-shadow: 0 0 0 2px rgba(255, 255, 255, .9); }   /* the dot stays visible on navy */
/* folded filters (owner 2026-11-30 "필터가 필요할 때 뜨는 방식으로"): one quiet line — what is shown on the left, 초기화 when
   something is chosen, and 필터 at the right, which opens the three rows in place (a dot on it while a choice is active) */
.sm-filterbar { display: flex; align-items: center; gap: 8px; margin-top: var(--s2); }
.sm-showing { flex: 1; min-width: 0; margin: 0; color: var(--ink); font: 500 15px/1.4 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sm-toggle, .sm-reset { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 100vmax; cursor: pointer;
  font: 500 15px/1 var(--sans); transition: background-color .2s, border-color .2s, color .2s; }
.sm-toggle { position: relative; border: 1px solid var(--rule-blue); background: transparent; color: var(--ink); }
.sm-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; }
.sm-toggle:hover, .sm-toggle[aria-expanded="true"] { border-color: var(--ink); }
.sm-toggle[aria-expanded="true"] { background: var(--ink); color: #fff; }
.sm-toggle.is-on::after { content: ""; position: absolute; top: 8px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.sm-reset { border: 0; background: none; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; padding: 0 8px; }
.sm-reset[hidden], .sm-filters[hidden] { display: none; }
.sm-toggle:focus-visible, .sm-reset:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.sm-filterbar + .sm-filters { margin-top: 8px; padding: 8px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
@media (prefers-reduced-motion: no-preference) { .sm-filters:not([hidden]) { animation: sm-open .25s cubic-bezier(.22, 1, .36, 1) both; } }
@keyframes sm-open { from { opacity: 0; transform: translateY(-6px); } }

/* 주보, read on a phone (owner 2026-11-30): each notice is a title and its details, not one paragraph; a place is a small
   tag; notices are set apart by a hairline instead of crowded numbers */
.jw-items { counter-reset: jw; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; line-height: 1.6; }
.jw-items li { counter-increment: jw; display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 8px; row-gap: 4px; padding: 16px 0; border-top: 1px solid var(--rule, #E6E1D8); }
.jw-items li:first-child { border-top: 0; padding-top: 4px; }
.jw-items li::before { content: counter(jw); grid-row: 1 / 3; font: 600 15px/1.5 var(--sans); color: var(--ink-3, #6B7488); font-variant-numeric: tabular-nums; }
.jw-items .jw-h { font: 700 17px/1.45 var(--sans); color: var(--ink, #0B2447); word-break: keep-all; }
.jw-items .jw-b { grid-column: 2; font: 400 15px/1.65 var(--sans); color: var(--ink-2, #4A5670); word-break: keep-all; }
.jw-items li:not(:has(.jw-h)) .jw-b { grid-row: 1 / 3; }
.jw-items .jw-at { display: inline-block; margin: 0 4px; padding: 0 8px; border-radius: 100vmax; background: #F3EDE3; color: var(--ink, #0B2447);
  font: 500 13px/1.75 var(--sans); white-space: nowrap; vertical-align: 1px; }
/* the archive: each week names its first notices, not only "주보 광고" */
.jubo-past .ar-list li a small { display: block; margin-top: 2px; font: 400 13px/1.4 var(--sans); color: var(--ink-3, #6B7488); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 교회 소식 · 모든 게시판: the year row is the site's tabs, not the phone's system picker (owner 2026-11-30, phone check) */
.ar .ar-years { margin: 12px 0 4px; }
.ar .ar-years a { min-width: 72px; white-space: nowrap; }
/* the place in a 주보 notice is plain text after a dot, not a chip (owner rule: no chip pills) */
.jw-items .jw-at { margin: 0; padding: 0; border-radius: 0; background: none; color: var(--ink, #0B2447); font: 600 15px/1.65 var(--sans); white-space: normal; vertical-align: baseline; }
.jw-items .jw-at::before { content: "· "; color: var(--ink-3, #6B7488); font-weight: 400; }
/* a row's kind (소식 · 주보 광고 · FOCUS) is plain text after the date, not a chip (owner rule: no chip pills, 2026-11-30) */
.ar-list .ar-k { padding: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; color: var(--ink-3, #6B7488) !important; font-weight: 500 !important; }
.ar-list .ar-k::before { content: "· "; }
#strip .frame figcaption { font-size: clamp(13px, 4.6cqw, 15px) !important; }   /* phone QA 2026-11-30: the frame numbers read 11px; never under 13 */

/* 공동체 on a phone (owner 2026-11-30, phone check): ten cards each led by a 257px photo made a 5,800px page.
   The photo sits beside the name as a square, the words run full width under it. */
@media (max-width: 640px) {
  .community .gp-card { grid-template-columns: 88px minmax(0, 1fr); grid-template-rows: none; column-gap: 16px; row-gap: 8px; align-items: center; }
  .community .gp-card > * { grid-column: 1 / -1; }
  .community .gp-card > .gp-ph { grid-column: 1; grid-row: 1 / span 3; margin: 0; width: 88px; aspect-ratio: 1; border-radius: 14px; align-self: start; }
  .community .gp-card > h3, .community .gp-card > .gp-when, .community .gp-card > .gp-insta { grid-column: 2; }
  .community .gp-card > .gp-when { margin: 0; }
  .community .gp-card > .gp-insta { margin: -8px 0 -12px; }
  .community .gp-grid { margin-top: 0; }   /* the tab band already leaves the room */
}
/* 말씀 주제, Scripture colours (owner 2026-12-01 "카드 색감도 너무 구리다 성경과 그 주제에 맞는 디자인으로"; board
   review/selfrunning/cards.png approved): each theme is a deep field taken from its own Scripture image, and the image sits in
   the card's right side, fading into the field where the type sits. A new sermon gets its theme by itself (site/api/topics.mjs),
   so its card is designed with no hand work. White type on every field: contrast 9.9–15.0 : 1, measured on the field colours.
     말씀과 지혜 scroll and lamp (시 119:105) · 기도와 성령 flame on a lamp (행 2) · 회개와 회복 a sprout from ashes (욜 2)
     믿음과 순종 the cedar on rock (히 11) · 은혜와 감사 the wheat sheaf (룻) · 사랑과 공동체 bread and pomegranate (요 13)
     사명과 전도 the boat on Galilee (마 4) · 소망과 하나님 나라 dawn over the road (계 22) */
.th-word { --c: #0B3E44; --on: #fff; --art: url("brand/topics/word-w-640.webp"); }
.th-prayer { --c: #6A1A0C; --on: #fff; --art: url("brand/topics/prayer-w-640.webp"); }
.th-repent { --c: #3A2742; --on: #fff; --art: url("brand/topics/repent-w-640.webp"); }
.th-faith { --c: #163320; --on: #fff; --art: url("brand/topics/faith-w-640.webp"); }
.th-grace { --c: #643808; --on: #fff; --art: url("brand/topics/grace-w-640.webp"); }
.th-love { --c: #500B18; --on: #fff; --art: url("brand/topics/love-w-640.webp"); }
.th-mission { --c: #0A3A57; --on: #fff; --art: url("brand/topics/mission-w-640.webp"); }
.th-hope { --c: #1E2858; --on: #fff; --art: url("brand/topics/hope-w-640.webp"); }
.sm-card[class*=" th-"]:not(.th-none) {
  background-color: var(--c);
  /* the colour holds the words; the hand drawing (tools/make_topic_art.py, Rembrandt) shows on the right at full strength */
  background-image: linear-gradient(90deg, var(--c) 38%, color-mix(in srgb, var(--c) 45%, transparent) 50%, transparent 62%), var(--art);
  /* the whole drawing, fitted to the card's height (owner 2026-12-02 "카드 안에 다 안들어가잖아 … 뭐가 뭔진 알 수 있는 정도") */
  background-size: cover, cover; background-position: center, right center; background-repeat: no-repeat; }
@media (min-width: 1024px) { .th-word { --art: url("brand/topics/word-w-1280.webp"); } .th-prayer { --art: url("brand/topics/prayer-w-1280.webp"); }
  .th-repent { --art: url("brand/topics/repent-w-1280.webp"); } .th-faith { --art: url("brand/topics/faith-w-1280.webp"); }
  .th-grace { --art: url("brand/topics/grace-w-1280.webp"); } .th-love { --art: url("brand/topics/love-w-1280.webp"); }
  .th-mission { --art: url("brand/topics/mission-w-1280.webp"); } .th-hope { --art: url("brand/topics/hope-w-1280.webp"); } }
.sm-card .sm-t, .sm-card .sm-date b { text-shadow: 0 1px 12px color-mix(in srgb, var(--c) 70%, transparent); }
/* 앨범 v3 (owner 2026-12-01 "앨범 디자인 보니까 아직도 너무 심각하다 … 왼쪽 라인"; board review/selfrunning/album.png approved):
   · the cover is the newest real gathering, its name set large in MaruBuri over its own photo (tools/build_album.py picks it)
   · categories are plain words, the chosen one underlined: no photo bubbles, no rules or lines beside them
   · every gathering is a spread: the photos, and beside them its name, day and the way in; sides alternate down the page
   · a photo is never an empty box: its small tile shows softened at once and the full photo fades in (elim.js, .lq-on) */
section.album { --al-serif: "MaruBuri", "Noto Serif KR", serif; }
section.album .al-lead { position: relative; display: block; margin-top: 24px; border-radius: 6px; overflow: hidden; background: #1A2236; }
section.album .al-lead-ph { display: block; aspect-ratio: 21 / 9; background: var(--lq, none) center / cover no-repeat, #1A2236; }
section.album .al-lead-ph img { display: block; width: 100%; height: 100%; max-height: none; aspect-ratio: auto; object-fit: cover; }   /* the photo fills its frame whole: an older 52dvh cap let the blurred stand-in show beneath it as a second, shifted strip (owner 2026-12-03 "앨범 왜 짜른거냐") */
section.album .al-lead::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(8, 14, 28, .78) 0%, rgba(8, 14, 28, .42) 38%, transparent 66%), linear-gradient(0deg, rgba(8, 14, 28, .45), transparent 40%); }
section.album .al-lead-t { position: absolute; z-index: 1; left: clamp(20px, 5vw, 64px); bottom: clamp(20px, 4vw, 56px); right: 20px; display: block; padding: 0; color: #fff; background: none; }
section.album .al-lead-t h2 { margin: 0; max-width: 9em; font: 400 clamp(40px, 6vw, 88px)/1.04 var(--al-serif) !important; letter-spacing: -.03em; color: #fff; word-break: keep-all; text-wrap: balance; }
section.album .al-lead-t p { margin: 14px 0 0; font: 400 18px/1 var(--al-serif); color: rgba(255, 255, 255, .88); }
section.album .al-lead-go { display: inline-flex; align-items: center; min-height: 44px; margin-top: 20px; padding: 0 22px; border-radius: 100vmax; background: #fff; color: var(--night, #0B2447);
  font: 600 15px/1 var(--sans); text-decoration: none; }
section.album .al-layout, section.album .al-side, section.album .al-cats { border: 0 !important; box-shadow: none !important; }
section.album .al-layout::before, section.album .al-side::before, section.album .al-side::after, section.album .al-cats::before { display: none !important; }
section.album .al-cats ul { display: flex; gap: 4px 20px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0; padding: 8px 0 0; list-style: none; }
section.album .al-cats ul::-webkit-scrollbar { display: none; }
section.album .al-cats .ac-ph { display: none !important; }
section.album .al-cats button { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; border: 0 !important; border-radius: 0 !important;
  background: none !important; box-shadow: none !important; color: var(--ink-3, #5E6880); font: 500 16px/1 var(--sans); white-space: nowrap; cursor: pointer; }
section.album .al-cats button .ac-name { font: inherit; color: inherit; }
section.album .al-cats button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--orange, #EF8306); transform: scaleX(0); transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
section.album .al-cats button:hover { color: var(--ink); }
section.album .al-cats button[aria-pressed="true"] { color: var(--ink); font-weight: 700; }
section.album .al-cats button[aria-pressed="true"]::after { transform: scaleX(1); }
section.album .al-cats button:focus-visible { outline: 2px solid var(--orange, #EF8306); outline-offset: 2px; }
@media (min-width: 900px) {
  section.album .al-ev { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 300px); column-gap: 40px; align-items: center; }
  section.album .al-ev.is-even { grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); }
  section.album .al-ev > .al-evh { grid-row: 1; grid-column: 2; display: block; border: 0; padding: 0; }
  section.album .al-ev.is-even > .al-evh { grid-column: 1; }
  section.album .al-ev > .al-grid { grid-row: 1; grid-column: 1; }
  section.album .al-ev.is-even > .al-grid { grid-column: 2; }
  section.album .al-ev > :not(.al-evh):not(.al-grid) { grid-column: 1 / -1; }
}
section.album .al-evh h3 { margin: 0; font: 400 clamp(26px, 2.6vw, 36px)/1.15 var(--al-serif); letter-spacing: -.02em; color: var(--ink); word-break: keep-all; text-wrap: balance; }
section.album .al-evh p { margin: 10px 0 0; } section.album .al-evh p .num { font: 400 17px/1 var(--al-serif); color: var(--ink-2, #4A5670); }
section.album .al-evh .al-more { display: inline-flex; align-items: center; min-height: 44px; margin-top: 10px; padding: 0; border: 0; background: none; color: #B4560A; font: 600 15px/1 var(--sans); cursor: pointer; }
section.album .al-evh .al-more:hover, section.album .al-evh .al-more:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
section.album.lq-on .ph { background: var(--lq, none) center / cover no-repeat, #E9E4DA; }
section.album.lq-on .ph img, section.album.lq-on .al-lead-ph img { opacity: 0; transition: opacity .5s ease; }
section.album.lq-on .ph img.is-in, section.album.lq-on .al-lead-ph img.is-in { opacity: 1; }
@media (max-width: 899px) {
  section.album .al-lead-ph { aspect-ratio: 4 / 5; }
  section.album .al-lead::after { background: linear-gradient(0deg, rgba(8, 14, 28, .82) 0%, rgba(8, 14, 28, .35) 45%, transparent 70%); }
  section.album .al-evh { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 12px; }
  section.album .al-evh h3 { font-size: 24px; } section.album .al-evh p { margin: 0; }
  section.album .al-evh .al-more { margin: 0 0 0 auto; }
}
@media (prefers-reduced-motion: reduce) { section.album.lq-on .ph img, section.album.lq-on .al-lead-ph img, section.album .al-cats button::after { transition: none; } }
section.album .al-lead { aspect-ratio: 21 / 9; }
section.album .al-lead-ph { position: absolute; inset: 0; aspect-ratio: auto; }
@media (max-width: 899px) { section.album .al-lead { aspect-ratio: 4 / 5; } }

/* 앨범 fixes (owner 2026-12-01 "왜 짤려 있냐", "버튼 누르니까 안넘어간다"):
   1. a gathering filtered out is gone, whatever display the spread layout gives it (the grid rule above had kept all 836
      filtered gatherings in place, so a category's results sat thousands of pixels down and the tab looked dead)
   2. category names take their own width (the old 64 px photo-bubble slot clipped "Visual Worship"); on wide screens the
      row wraps instead of hiding names past the edge, on phones it slides */
section.album [hidden] { display: none !important; }
section.album .al-cats ul { justify-content: flex-start; padding: 8px 4px 4px; }
section.album .al-cats li, section.album .al-cats li.ac-gs { flex: none; margin: 0; }
section.album .al-cats button { width: auto; min-width: 44px; justify-content: center; white-space: nowrap; flex-direction: row; gap: 0; }   /* a two-letter tab is still a 44px target (audit 2026-12-02) */
@media (min-width: 900px) { section.album .al-cats ul { flex-wrap: wrap; overflow: visible; row-gap: 0; } }

/* 소식 list rows (audit 2026-12-01, owner rule 3 "the kind of a list row like 주보 광고 / FOCUS"): the date and the title only;
   the filter above already sorts by kind, so no kind chip and no photo count sits on each row */
.ar-list li, .news-archive .ar-list li { grid-template-columns: 112px minmax(0, 1fr); }
.ar-list li:has(.ar-k), .news-archive .ar-list li:has(.ar-k) { grid-template-columns: 112px minmax(96px, auto) minmax(0, 1fr); }
.ar-list li a { justify-self: start; text-align: left; }
.ar-k, .ar-k-album, .ar-k-jubo { padding: 0; border-radius: 0; background: none !important; font: 500 13px/1.4 var(--sans); color: var(--ink-3); }
@media (max-width: 760px) { .ar-list li, .ar-list li:has(.ar-k), .news-archive .ar-list li, .news-archive .ar-list li:has(.ar-k) { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "d k" "t t"; gap: 2px 10px; } .ar-list li time { grid-area: d; } .ar-list li .ar-k { grid-area: k; } .ar-list li a { grid-area: t; } }

/* 말씀 카드, premium (board review/slop3/card.png, approved 2026-12-01; owner "삽화랑 그림은 너무 좋은데 너무 느낌이 없다 더
   고급지게"): fine stationery — a matte paper grain over the topic colour, a gold hairline frame set inside the edge, the
   day and title in serif, the month and passage in gold, ivory type, a thin outlined play. The sermon title stays the
   headline (the board put the topic first; the topic is the small gold label above it). */
.sm-card[class*=" th-"]:not(.th-none) { --gold: #D9B873; --ivory: #F4ECDA; border-radius: 12px; color: var(--ivory);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 26px 44px -26px color-mix(in srgb, var(--c) 80%, #000), 0 2px 4px rgba(0, 0, 0, .12); }
/* the paper: a fine fibre grain, printed over colour and art alike */
.sm-card[class*=" th-"]:not(.th-none)::before { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none; opacity: .16; mix-blend-mode: overlay;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
/* the gold hairline, set 10 px inside the edge */
.sm-card[class*=" th-"]:not(.th-none)::after { content: ""; position: absolute; inset: 10px; z-index: 0; border: 1px solid color-mix(in srgb, var(--gold) 55%, transparent); border-radius: 6px; pointer-events: none; }
.sm-card[class*=" th-"]:not(.th-none) > * { position: relative; z-index: 1; }
.sm-card[class*=" th-"]:not(.th-none) .sm-date b { font: 400 44px/1 "MaruBuri", "Noto Serif KR", serif; letter-spacing: -.02em; color: var(--ivory); }
.sm-card[class*=" th-"]:not(.th-none) .sm-date span { font: 500 12px/1 var(--sans); letter-spacing: .14em; color: var(--ivory); opacity: .85; }
.sm-card[class*=" th-"]:not(.th-none) .sm-date span:last-child { color: var(--gold); opacity: 1; }
.sm-card[class*=" th-"]:not(.th-none) .sm-rule { background: var(--gold); opacity: .55; }
.sm-card[class*=" th-"]:not(.th-none) .sm-tag { min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; font: 600 13px/1.2 var(--sans); letter-spacing: .08em; color: var(--gold); }
.sm-card[class*=" th-"]:not(.th-none) .sm-t { margin-top: 4px; font: 600 20px/1.38 "MaruBuri", "Noto Serif KR", serif !important; letter-spacing: -.01em; color: var(--ivory); }
.sm-card[class*=" th-"]:not(.th-none) .sm-p { font: 500 15px/1.4 var(--sans); color: var(--gold); }
.sm-card[class*=" th-"]:not(.th-none) .sm-m { color: var(--ivory); opacity: .82; }
.sm-card[class*=" th-"]:not(.th-none) .sm-play { width: 44px; height: 44px; border: 1px solid color-mix(in srgb, var(--ivory) 80%, transparent); color: var(--ivory); }
.sm-card[class*=" th-"]:not(.th-none) .sm-play:hover, .sm-card[class*=" th-"]:not(.th-none) .sm-play:focus-visible { background: var(--ivory); color: var(--c); }
@media (max-width: 600px) { .sm-card[class*=" th-"]:not(.th-none) .sm-date b { font-size: 36px; } .sm-card[class*=" th-"]:not(.th-none) .sm-t { font-size: 18px; } }

/* 홈 › 말씀 as a printed page (board review/slop3/word.png, approved 2026-12-01; owner "참신하게 잘 디자인"): the newest Sunday
   sermon in its topic's colour with the hand drawing on its right (the same .th-* colour and art as the 말씀 카드), serif
   title, gold label and passage; the three before it a typeset list between hairlines. No crowd photos. */
.hm-word-grid.ww { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 0 48px; align-items: stretch; margin-top: 8px; }
.ww-lead { --gold: #D9B873; --ivory: #F4ECDA; position: relative; display: flex; flex-direction: column; justify-content: center; gap: 12px; min-height: 420px;
  padding: 48px 46% 48px 48px; border-radius: 4px; color: var(--ivory); text-decoration: none; overflow: hidden; isolation: isolate;
  background-color: var(--c); background-image: linear-gradient(90deg, var(--c) 42%, color-mix(in srgb, var(--c) 40%, transparent) 58%, transparent 72%), var(--art);
  background-size: cover, cover; background-position: center, right center; background-repeat: no-repeat;   /* the whole drawing: the art is drawn in the card's own shape (tools/make_topic_art.py art_wide) */
  box-shadow: 0 30px 50px -32px color-mix(in srgb, var(--c) 85%, #000); }
.ww-lead::after { content: ""; position: absolute; inset: 12px; border: 1px solid color-mix(in srgb, var(--gold) 50%, transparent); border-radius: 2px; pointer-events: none; }
.ww-k { font: 600 13px/1.4 var(--sans); letter-spacing: .06em; color: var(--gold); }
.ww-t { font: 600 clamp(32px, 3.4vw, 50px)/1.2 "MaruBuri", "Noto Serif KR", serif; letter-spacing: -.02em; word-break: keep-all; text-wrap: balance; }
.ww-m { padding-bottom: 20px; border-bottom: 1px solid color-mix(in srgb, var(--gold) 60%, transparent); font: 500 15px/1.5 var(--sans); color: var(--ivory); opacity: .9; align-self: flex-start; }
.ww-play { display: grid; place-items: center; width: 52px; height: 52px; margin-top: 6px; border-radius: 50%; background: var(--ivory); color: var(--c); transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
.ww-play svg { width: 20px; height: 20px; margin-left: 3px; fill: currentColor; }
.ww-lead:hover .ww-play { transform: scale(1.06); }
.ww-lead:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.ww-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.ww-list li { flex: 1; border-bottom: 1px solid var(--rule); }
.ww-list a { display: grid; align-content: center; gap: 6px; height: 100%; min-height: 96px; padding: 18px 0; color: var(--ink); text-decoration: none; }
.ww-list time { font: 400 15px/1 var(--sans); color: var(--ink-3); }
.ww-list b { font: 700 18px/1.35 var(--sans); word-break: keep-all; }
.ww-list small { font: 500 13px/1.45 var(--sans); color: var(--ink-3); }
.ww-list a:hover b { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.ww-list a:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
@media (min-width: 1024px) { .ww-lead { padding-right: 44%; } }
@media (max-width: 900px) {
  .hm-word-grid.ww { grid-template-columns: 1fr; gap: 8px; }
  .ww-lead { min-height: 0; padding: 32px 40% 30px 26px; }
  .ww-lead::after { inset: 8px; }
  .ww-t { font-size: 30px; }
  .ww-list a { min-height: 0; padding: 16px 0; }
}
/* 실황 예배는 유튜브에서: a plain row on paper (board review/slop3/word.png), no photo band */
.yt-live { background: none !important; background-image: none !important; color: var(--ink) !important; border: 0 !important; border-top: 1px solid var(--rule) !important; border-bottom: 1px solid var(--rule) !important; border-radius: 0 !important; padding: 20px 0 !important; box-shadow: none !important; }
.yt-live::before, .yt-live::after { display: none !important; }
.yt-live-t b { color: var(--ink) !important; } .yt-live-t span { color: var(--ink-3) !important; }
.yt-live-go { box-shadow: none !important; padding: 0 !important; background: none !important; color: var(--ink) !important; }
.yt-live:hover .yt-live-go, .yt-live:focus-visible .yt-live-go { background: none !important; color: var(--ink) !important; text-decoration: underline; text-underline-offset: 4px; }
/* the play mark as a thin ivory outline (board), over the older solid-white rule */
.sm-card[class*=" th-"]:not(.th-none) .sm-play { background: transparent !important; color: var(--ivory) !important; border-color: color-mix(in srgb, var(--ivory) 80%, transparent) !important; }
.sm-card[class*=" th-"]:not(.th-none) .sm-play:hover, .sm-card[class*=" th-"]:not(.th-none) .sm-play:focus-visible { background: var(--ivory) !important; color: var(--c) !important; }




/* the YouTube row (owner 2026-12-01 "색감이랑 중심정렬 왜 이러냐 … 문구 이쁘게"): the mark in YouTube's own red, set on the
   text's centre line; one quiet row */
.yt-live { grid-template-columns: 44px minmax(0, 1fr) auto !important; align-items: center !important; column-gap: 16px !important; }
.yt-live > svg { width: 36px !important; height: 36px !important; align-self: center; stroke: #C4302B !important; fill: none !important; }
.yt-live > svg .fill { fill: #C4302B !important; stroke: none !important; }
.yt-live-t { align-self: center; gap: 4px !important; }
.yt-live-t b { font: 700 18px/1.35 "MaruBuri", "Noto Serif KR", serif !important; }
.yt-live-go { align-self: center; }



/* 계 1:15 plate as a print on the page (owner 2026-12-01 "배경이랑 잘 어울리게"): Dürer's woodcut in navy ink on the page's
   own paper, no dark box, no frame; the verse set in navy serif at the quiet lower left */
.plate.waters { background: none !important; border-radius: 0 !important; overflow: visible; }
.plate.waters::after { display: none !important; }
.waters-pic img { animation: none !important; transform: none !important; }
.plate.waters figcaption { color: var(--ink, #0B2447) !important; padding: 0 0 6% 6% !important; }
.waters-v { color: var(--ink, #0B2447); text-shadow: none !important; font-size: 30px; }
.waters-r { color: var(--orange-ink, #B45F00) !important; }
@media (max-width: 760px) { .waters-v { font-size: 21px; } }
/* the verse on the clear paper above the waters (owner 2026-12-01 "구절이랑 … 잘 어우러지게"): serif in navy, the reference
   in orange under a short rule, set where the drawing gives way to the sea */
.plate.waters figcaption { top: auto !important; bottom: 31% !important; left: 5% !important; right: auto !important; padding: 0 !important; gap: 14px !important; max-width: 46%; }
.waters-v { font: 500 clamp(22px, 2.3vw, 32px)/1.5 "MaruBuri", "Noto Serif KR", serif !important; letter-spacing: -.01em; }
.waters-r { font: 600 12.5px/1 var(--sans) !important; letter-spacing: .16em; }
@media (max-width: 760px) { .plate.waters figcaption { bottom: 30% !important; max-width: 60%; gap: 8px !important; } .waters-v { font-size: 18px !important; } }
.plate.waters figcaption { bottom: 27% !important; max-width: 56%; }
.waters-v { font-size: clamp(19px, 1.95vw, 28px) !important; white-space: nowrap; }



/* 계 1:15, two columns (board review/slop3/plate-concepts.png "B 두 단", chosen 2026-12-01): the verse set large in navy serif
   on the left, an orange rule and the reference under it; Dürer's Christ with the seven stars on the right, a light print
   fading into the page. Nothing overlaps. */
.plate.waters { display: grid !important; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 0 12px; aspect-ratio: auto !important; overflow: visible; }
.plate.waters .waters-pic { position: relative !important; inset: auto !important; grid-column: 2; grid-row: 1; overflow: visible; }
.plate.waters .waters-pic img { width: 100%; height: auto; object-fit: contain; }
.plate.waters figcaption { position: static !important; grid-column: 1; grid-row: 1; max-width: none !important; padding: 0 0 0 4px !important; gap: 20px !important; }
.waters-v { white-space: normal !important; font: 600 clamp(26px, 2.5vw, 36px)/1.32 "MaruBuri", "Noto Serif KR", serif !important; letter-spacing: -.02em; }
.waters-r { display: grid !important; gap: 14px; font: 600 13px/1 var(--sans) !important; letter-spacing: .22em !important; }
.waters-r::before { width: 40px !important; height: 2px !important; margin: 0 !important; background: var(--orange, #EF8306) !important; }
@media (max-width: 760px) { .plate.waters { grid-template-columns: 1fr 1fr; } .waters-v { font-size: 22px !important; } }

/* 말씀 as index tabs (board review/slop3/deck-concepts.png "A 책갈피 탭", chosen 2026-12-01): the sermons as slim tabs of a bound
   planner standing out from the main card's right edge, each in its topic colour with only its date in gold serif; pointing
   slides a tab out and shows its title; the chosen tab stays pulled out. On phones the tabs hang from the card's foot. */
.hm-word-grid.ww { grid-template-columns: minmax(0, 1fr) 150px !important; column-gap: 0 !important; align-items: start !important; }
.hm-word-grid.ww .ww-lead { position: relative; z-index: 2; }
.ww-deck { display: flex !important; flex-direction: column; gap: 5px; margin: 32px 0 0 !important; padding: 0 !important; min-height: 0 !important; list-style: none; }
.ww-deck li { margin: 0 !important; transform: none !important; translate: none !important; }
.ww-mini { --gold: #D9B873; --ivory: #F4ECDA; position: relative; display: flex !important; flex-direction: row !important; align-items: center; justify-content: flex-start !important; gap: 12px !important;
  width: 112px !important; height: 42px !important; min-height: 0 !important; margin-left: -8px; padding: 0 16px 0 22px !important; border: 0; border-radius: 0 10px 10px 0 !important;
  background: var(--c) !important; background-image: none !important; color: var(--ivory); cursor: pointer; text-align: left; overflow: hidden; white-space: nowrap;
  box-shadow: inset 8px 0 10px -8px rgba(0, 0, 0, .45), 0 8px 14px -10px rgba(11, 20, 36, .55) !important; transform: none !important;
  transition: width .45s cubic-bezier(.22, 1, .36, 1), filter .3s ease !important; }
.ww-mini::before, .ww-mini::after { content: none !important; }
.ww-mini .ww-md { flex: none; font: 400 18px/1 "MaruBuri", "Noto Serif KR", serif !important; color: var(--gold); }
.ww-mini .ww-mt { display: block !important; max-height: none !important; opacity: 0; font: 500 13px/1 "MaruBuri", "Noto Serif KR", serif !important; color: var(--ivory);
  min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .25s .1s; }
.ww-mini .ww-mm { display: none !important; }
.ww-mini:hover, .ww-mini:focus-visible { width: 176px !important; }   /* only the service peeks out (owner 2026-12-02 "무슨 예배 설교인지만 … 너무 길다") */
.ww-mini:hover .ww-mt, .ww-mini:focus-visible .ww-mt { opacity: 1; }
/* the chosen tab joins the card (owner 2026-12-02 "뛰어나오는게 아니라 붙어있어야지"): same size and place as the others, no
   shadow where it meets the card, full colour and an ivory date; the others sit a shade back, tucked behind the card's edge */
.ww-mini[aria-pressed="true"] { width: 112px !important; margin-left: -8px; box-shadow: 0 8px 14px -10px rgba(11, 20, 36, .55) !important; font-weight: 600; }
.ww-mini[aria-pressed="true"] .ww-md { color: var(--ivory); }
.ww-mini[aria-pressed="true"]:hover, .ww-mini[aria-pressed="true"]:focus-visible { width: 112px !important; }   /* the chosen one is already on the card */
.ww-mini:focus-visible { outline: 2px solid var(--orange, #EF8306); outline-offset: 2px; }
.ww-deck li:hover, .ww-deck li:focus-within { position: relative; z-index: 3; }
/* silk ribbon markers, as in a Bible (owner 2026-12-02 "이 디자인 말고 다른 북마크 디자인으로 … 너무 슬롭 같다"): each sermon is a
   ribbon of its topic's colour drawn out from behind the card, cut with a swallow-tail; the one on the card is drawn all the
   way through (the card's own colour, a bright date), the others rest tucked further in, their dates quiet */
.ww-mini { clip-path: polygon(0 0, 100% 0, calc(100% - 13px) 50%, 100% 100%, 0 100%); border-radius: 0 !important; padding-right: 26px !important;
  background: var(--c) !important; box-shadow: none !important; filter: none !important; }
.ww-mini:not([aria-pressed="true"]) { width: 96px !important; }
.ww-mini:not([aria-pressed="true"]) .ww-md { color: color-mix(in srgb, var(--ivory) 62%, transparent); }
.ww-mini[aria-pressed="true"] { width: 124px !important; }
.ww-mini[aria-pressed="true"] .ww-md { color: var(--ivory); font-weight: 600; }
.ww-mini[aria-pressed="true"]:hover, .ww-mini[aria-pressed="true"]:focus-visible { width: 124px !important; }
/* a ribbon drawn out only as far as its date and service need (owner 2026-12-03 "북마크 길어지는거 너무 싫다 적당히"), quickly,
   and each ribbon repaints alone so the big card beside it is not redrawn on every frame ("랙이 너무 심하다") */
.ww-mini:hover, .ww-mini:focus-visible { width: 164px !important; }
.ww-mini { contain: layout paint; transition: width .2s cubic-bezier(.22, 1, .36, 1) !important; }
.ww-mini .ww-mt { transition: opacity .15s .05s; }
.ww-mini:focus-visible { outline: none; box-shadow: inset 8px 0 10px -8px rgba(0, 0, 0, .45), inset 0 0 0 2px var(--orange, #EF8306) !important; }
@media (max-width: 900px) {
  .hm-word-grid.ww { grid-template-columns: 1fr !important; }
  /* phone: the tabs stand on top of the card like folder tabs (owner 2026-12-02 "폰에서 탭 버튼이 메뉴에 가려지는데"): under
     the card they sat exactly where the floating menu is whenever the card is in view */
  .ww-deck { order: -1; flex-direction: row !important; gap: 5px; margin: 0 18px -8px !important; }
  .ww-deck li { flex: 1 1 0; min-width: 0; }   /* the tabs share the card's width, so every one shows on a phone */
  .ww-deck li:nth-child(n+6) { display: none; }   /* eight beside the card on wide screens (owner 2026-12-02 "더 많아도"), five under it on a phone */
  .ww-mini { width: 100% !important; height: 50px !important; margin: 0 !important; padding: 0 0 8px !important; justify-content: center !important; border-radius: 10px 10px 0 0 !important;
    box-shadow: inset 0 8px 10px -8px rgba(0, 0, 0, .45), 0 8px 14px -10px rgba(11, 20, 36, .55) !important; }
  .ww-mini .ww-md { font-size: 15px !important; white-space: nowrap; } .ww-mini .ww-mt { display: none !important; }
  .ww-mini:hover, .ww-mini:focus-visible, .ww-mini[aria-pressed="true"]:hover { width: 100% !important; }
  .ww-mini, .ww-mini:not([aria-pressed="true"]), .ww-mini[aria-pressed="true"], .ww-mini:hover, .ww-mini:focus-visible { width: 100% !important; }
  .ww-mini { clip-path: polygon(0 0, 50% 11px, 100% 0, 100% 100%, 0 100%); padding: 14px 0 6px !important; border-radius: 0 !important;
    box-shadow: inset 0 -8px 10px -8px rgba(0, 0, 0, .45) !important; }
  .ww-mini:not([aria-pressed="true"]) { height: 44px !important; margin-top: 8px !important; }   /* still a 44px tap target */
  .ww-mini[aria-pressed="true"] { height: 52px !important; }
}
@media (prefers-reduced-motion: reduce) { .ww-mini { transition: none !important; } }
/* 계 1:15 with the waterfall itself (owner 2026-12-02 "무서운 검 그런거 말고 진짜 그 폭포 사진으로"): the photo in the right
   column, cropped tall around the falls, a clean print with soft corners and a quiet shadow; the verse stays on the left */
.plate.waters .waters-pic { border-radius: 6px; overflow: hidden !important; box-shadow: 0 24px 40px -28px rgba(11, 36, 71, .55); }
.plate.waters .waters-pic img { display: block; width: 100%; height: auto; aspect-ratio: 880 / 1168; object-fit: cover; }   /* the falls as a navy-ink etching, the 말씀 cards' print language (owner 2026-12-02 "그림으로 그리는 이미지") */
.plate.waters { grid-template-columns: minmax(0, 1fr) minmax(0, .82fr) !important; gap: 0 28px !important; }
/* one printed plate (owner 2026-12-02 "글자 배치된거랑 색이랑 너무 안 어울린다"): the etching is printed straight onto the page
   paper (no card, no shadow), and the verse is set in the same navy ink in two calm lines, with the reference as a quiet
   caption under a hairline; the orange accent, which fought the blue print, is gone from this plate */
.plate.waters { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr) !important; gap: 0 48px !important; align-items: center !important; }   /* the print large (owner 2026-12-02 "공간 많잖아 … 그냥 크게") */
@media (min-width: 901px) { .sermon-top .feature { grid-column: 1 / span 5 !important; } .sermon-top figure.plate.waters { grid-column: 6 / span 7 !important; } }
.plate.waters .waters-pic { border-radius: 0 !important; box-shadow: none !important; overflow: visible !important; }
.plate.waters .waters-pic img { mix-blend-mode: normal; }   /* the print's paper is toned to the page's own (--sand #F7F6F2): no box, even inside the reveal layer */
.waters-v { white-space: nowrap !important; font: 500 clamp(22px, 1.9vw, 26px)/1.55 "MaruBuri", "Noto Serif KR", serif !important; letter-spacing: -.01em; color: var(--ink, #0B2447) !important; word-break: keep-all; }
.waters-r { gap: 16px !important; color: var(--ink-3, #6B7488) !important; font: 500 13px/1 "MaruBuri", "Noto Serif KR", serif !important; letter-spacing: .2em !important; }
.waters-r::before { width: 32px !important; height: 1px !important; background: var(--ink, #0B2447) !important; opacity: .35; }
@media (max-width: 760px) {
  .plate.waters { grid-template-columns: minmax(0, 1fr) minmax(0, .85fr) !important; gap: 0 16px !important; }
  .waters-v { white-space: normal !important; font-size: 19px !important; line-height: 1.6 !important; }
  .waters-r { font-size: 12px !important; gap: 12px !important; }
}

/* filters that work as they look (owner 2026-12-03 "일거 필터 제대로 하자"): a chosen pill stays filled under the pointer
   (a later hover rule made it look unchosen); on wide screens every choice shows, the row wrapping instead of running off
   the edge; on phones the row still swipes, its right edge fading to say there is more */
.sm-pill[aria-pressed="true"], .sm-pill[aria-pressed="true"]:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (min-width: 761px) { .sm-row .sm-pills, .sm-pills { flex-wrap: wrap; overflow: visible; } }
@media (max-width: 760px) { .sm-row .sm-pills { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); } }
/* phone ribbons (owner 2026-12-03 "모바일로 볼 때 북마크 이거 좀 너무 심각해"): the five markers had grown into full-width
   folder blocks with a wide notch, heavy and flat. On a phone they are slim silk ribbons again, standing above the card's
   left edge at a ribbon's width, a fine swallow-tail cut, a sheen down the silk; the chosen one runs down into the card */
@media (max-width: 900px) {
  .ww-deck { justify-content: flex-start; gap: 12px; margin: 0 24px -6px !important; }
  .ww-deck li { flex: 0 0 auto; }
  .ww-mini, .ww-mini:not([aria-pressed="true"]), .ww-mini[aria-pressed="true"], .ww-mini:hover, .ww-mini:focus-visible, .ww-mini[aria-pressed="true"]:hover { width: 46px !important; }
  .ww-mini { clip-path: polygon(0 0, 50% 6px, 100% 0, 100% 100%, 0 100%); padding: 10px 0 7px !important; align-items: flex-end;
    background: var(--c) !important; box-shadow: none !important; }
  .ww-mini .ww-md { font-size: 12px !important; letter-spacing: 0; }
  .ww-mini:not([aria-pressed="true"]) { height: 46px !important; margin-top: 14px !important; }
  .ww-mini[aria-pressed="true"] { height: 60px !important; }
  .ww-mini:focus-visible { box-shadow: inset 0 0 0 2px var(--orange, #EF8306) !important; }
}
/* flat ribbons (owner 2026-12-03 "아직도 너무 슬롭 같다 그라디언트 때문인거 같은데"): the sheen gradients go, on phones and wide
   screens; each ribbon is its topic's colour, flat, as printed; the chosen one is told by its length alone */
.ww-mini, .ww-mini:not([aria-pressed="true"]), .ww-mini[aria-pressed="true"] { background: var(--c) !important; box-shadow: none !important; }
.ww-mini:focus-visible, .ww-mini[aria-pressed="true"]:focus-visible, .ww-mini:not([aria-pressed="true"]):focus-visible { box-shadow: inset 0 0 0 2px var(--orange, #EF8306) !important; }   /* the keyboard ring stays */
/* the quiet ribbons' dates read at AA on every topic colour (axe 2026-12-04: ivory at 62% on the grace ribbon was under
   4.5:1); the chosen ribbon is still told by its length */
.ww-mini:not([aria-pressed="true"]) .ww-md { color: color-mix(in srgb, var(--ivory, #F4ECDA) 88%, transparent) !important; }
main .hm-times.hm-times.hm-times dl dd.tm-n { font-size: 13px !important; }   /* the 13 step of the one type scale (audit 2026-12-04) */
