/* 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 17px/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); }
  body.chrome-hide .subnav-band { transform: translateY(calc(-1 * var(--header-h))); }
  .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: 264px; padding: 8px; border-radius: 12px;
  background: #fff; color: var(--ink); box-shadow: 0 16px 40px rgba(0, 0, 0, .32); }
.ft-ask[hidden] { display: none; }
.ft-ask a, .ft-ask button { display: grid; gap: 4px; width: 100%; min-height: 52px; padding: 8px 12px; border: 0; border-radius: 8px;
  background: none; color: var(--ink); text-align: left; text-decoration: none; cursor: pointer; font: inherit; }
.ft-ask a + a, .ft-ask a + button, .ft-ask button + a { border-top: 1px solid var(--rule); border-radius: 0 0 8px 8px; }
.ft-ask b { font: 600 15px/1.3 var(--sans); }
.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; height: 20px; padding: 0 7px; border-radius: 100vmax;
  background: var(--orange-ink); color: #fff; font: 600 11px/1 var(--sans); letter-spacing: .02em; transform: translateY(-1px); }
.ar-tag.ar-pin { 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; }
}
