
:root{--ink:#192d42;--muted:#72808b;--paper:#f9f8f4;--line:#dcdedc;--accent:#8a6946;--header:#f3eee5;font-family:system-ui,-apple-system,'Apple SD Gothic Neo','Malgun Gothic',sans-serif;color:var(--ink);background:var(--paper)}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}img{display:block;width:100%;height:auto}h1,h2,h3,p{word-break:keep-all}a:focus-visible,button:focus-visible{outline:3px solid #ad8558;outline-offset:6px}.wrap{width:min(1240px,88%);margin:auto}header{height:100px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:30px}.brand{width:235px;flex-shrink:0}nav{display:flex;gap:32px;align-items:center;font-size:14px}nav a:hover{color:var(--accent)}.nav-visit{border-bottom:1px solid var(--ink);padding:8px 0}.menu-toggle{display:none;background:none;border:1px solid var(--line);padding:8px 12px}.eyebrow{font-size:11px;letter-spacing:.2em;font-weight:600;color:var(--accent);text-transform:uppercase}.hero{display:grid;grid-template-columns:1fr 1.06fr;align-items:center;gap:45px;padding:58px 0 52px}.hero h1{font-size:clamp(42px,4.7vw,67px);line-height:1.2;font-weight:540;letter-spacing:-.075em;margin:28px 0}.hero h1 em{font-style:normal;color:#758c9b}.hero p{font-size:16px;line-height:1.9;color:#62727e;margin:0 0 35px}.solid{background:var(--ink);color:white;display:inline-flex;justify-content:space-between;align-items:center;gap:40px;padding:17px 23px;font-size:14px}.hero-photo{position:relative;margin:0}.hero-photo img{height:450px;object-fit:cover;object-position:48% center}.hero-photo figcaption{display:flex;justify-content:space-between;padding-top:14px;font-size:11px;color:var(--muted);letter-spacing:.03em}.service-strip{display:flex;gap:45px;align-items:center;padding:24px 0;border-block:1px solid var(--line);font-size:14px}.service-strip span{color:var(--muted);font-size:12px;margin-right:14px}.service-strip strong{font-weight:600}.service-strip a{margin-left:auto;border-bottom:1px solid var(--line);padding-bottom:4px}.section{padding:82px 0;border-bottom:1px solid var(--line)}.section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:30px}.section h2{font-weight:550;font-size:35px;letter-spacing:-.055em;line-height:1.35;margin:14px 0 0}.text-link{font-size:13px;padding-bottom:6px;border-bottom:1px solid #b9c1c7}.sermon{display:grid;grid-template-columns:1.2fr 1fr;gap:68px;align-items:center}.sermon-image{position:relative}.sermon-image img{height:305px;object-fit:cover}.sermon-image .photo-label{position:absolute;bottom:18px;left:18px;padding:8px 12px;background:#fffffff0;font-size:11px;color:var(--ink);letter-spacing:.08em}.sermon h3{font-size:35px;letter-spacing:-.04em;font-weight:550;margin:18px 0}.sermon p{color:var(--muted);line-height:1.9;font-size:14px;margin-bottom:28px}.sermon .date{font-size:12px;color:var(--accent)}.news{display:grid;grid-template-columns:1fr 2fr;gap:65px}.news-intro p{font-size:14px;line-height:1.9;color:var(--muted);margin:20px 0 32px}.news-list{border-top:1px solid var(--ink)}.news-row{width:100%;display:grid;grid-template-columns:1fr auto;gap:18px;text-align:left;border:0;border-bottom:1px solid var(--line);background:transparent;padding:22px 0;color:var(--ink)}.news-row strong{display:block;font-size:17px;font-weight:550;letter-spacing:-.025em;margin-top:8px}.news-row small{font-size:11px;color:var(--muted)}.news-row>span:last-child{align-self:center;font-size:18px}.bulletin-link{display:flex;align-items:center;justify-content:space-between;background:#eeeee7;padding:20px 24px;margin-top:20px;border:0;width:100%;text-align:left;color:var(--ink)}.bulletin-link small{color:var(--muted);margin-right:20px}.gallery{display:grid;grid-template-columns:1.3fr 1fr;gap:28px}.gallery button{background:none;border:0;padding:0;text-align:left;color:var(--ink)}.gallery img{height:300px;object-fit:cover;transition:filter .2s}.gallery button:hover img{filter:brightness(.9)}.gallery h3{font-size:18px;font-weight:550;margin:17px 0 7px}.gallery p{font-size:12px;color:var(--muted);margin:0}.welcome{padding:76px 0;display:flex;justify-content:space-between;align-items:center;gap:30px}.welcome h2{font-size:38px;letter-spacing:-.06em;font-weight:500;margin:0 0 14px}.welcome p{line-height:1.8;color:var(--muted);font-size:14px;margin:0}.footer{background:#1c3042;color:#f1f2ec;padding:44px 0 22px}.footer-top{display:flex;justify-content:space-between;gap:30px}.footer h3{font-size:20px;letter-spacing:-.04em;font-weight:600;margin:0 0 12px}.footer p,.footer a{font-size:12px;line-height:1.9;color:#b7c3ce}.footer-bottom{border-top:1px solid #ffffff23;margin-top:30px;padding-top:19px;display:flex;justify-content:space-between;font-size:10px;color:#9eacb9}.concept-tag{font-size:11px;color:var(--muted);padding:16px 0;text-align:right}dialog{width:min(660px,90vw);max-height:85vh;overflow:auto;background:var(--paper);color:var(--ink);border:0;padding:36px}dialog::backdrop{background:#132330b8}dialog h2{font-size:27px;letter-spacing:-.04em}dialog p{font-size:15px;line-height:1.9;color:#62727e}dialog button{float:right;background:none;border:0;padding:8px;color:var(--ink)}dialog img{margin-top:20px}#detail-date{font-size:12px;color:var(--accent)}html{scroll-behavior:smooth;scroll-padding-top:25px}@media(max-width:900px){.wrap{width:88%}header{height:82px}.brand{width:200px}nav{gap:18px;font-size:12px}.hero{gap:24px}.hero h1{font-size:43px}.hero-photo img{height:390px}.sermon{gap:35px}.service-strip{gap:20px}.news{gap:35px;grid-template-columns:.9fr 1.5fr}.section{padding:60px 0}}@media(max-width:650px){.wrap{width:88%}.menu-toggle{display:block}header{position:relative}header nav{display:none;position:absolute;z-index:5;top:81px;left:-7%;right:-7%;padding:28px 6%;background:var(--paper);border-bottom:1px solid var(--line);font-size:15px;flex-direction:column;align-items:flex-start}header nav.open{display:flex}.hero{grid-template-columns:1fr;gap:35px;padding:38px 0 30px}.hero h1{font-size:48px;margin:22px 0}.hero p{font-size:14px;margin-bottom:23px}.hero-photo img{height:280px}.hero-photo figcaption{font-size:10px}.service-strip{flex-wrap:wrap;gap:16px;font-size:13px}.service-strip>div:first-child{width:100%}.service-strip a{font-size:12px}.section{padding:48px 0}.section h2{font-size:29px}.sermon{grid-template-columns:1fr;gap:25px}.sermon-image img{height:230px}.sermon h3{font-size:29px;margin:13px 0}.news{grid-template-columns:1fr;gap:22px}.news-intro p{margin:13px 0 20px}.news-row strong{font-size:16px}.gallery{grid-template-columns:1fr;gap:30px}.gallery img{height:230px}.welcome{padding:45px 0;align-items:flex-start;flex-direction:column}.welcome h2{font-size:31px}.footer-top{flex-direction:column;gap:18px}.footer-bottom{gap:15px;flex-direction:column}.bulletin-link{padding:18px}.bulletin-link small{display:block;margin-bottom:5px}.concept-tag{text-align:left;line-height:1.6}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Top menu bar: warm beige, slightly deeper than page paper. */
.wrap>header{position:relative;z-index:2;background:var(--header)}
.wrap>header::before{content:"";position:absolute;z-index:-1;top:0;bottom:0;left:50%;width:100vw;transform:translateX(-50%);background:var(--header);border-bottom:1px solid var(--line)}
@media(max-width:760px){.wrap>header nav{background:var(--header)}}
@media(max-width:650px){.wrap>header nav{background:var(--header)}}

/* Soft section boundaries and quieter rounded photography. */
.hero-photo img,.sermon-image img,.gallery img,dialog img{border-radius:18px}.solid{border-radius:7px}.section{border:0;padding:52px 40px;margin:30px -40px;border-radius:24px}#sermon{background:#eef2f4}#news{background:#f3eee5}#bulletin{background:#fff;border:1px solid #c9d4ce}#bulletin.section{padding:10px;margin-block:14px;box-shadow:0 14px 36px #192d4224,0 4px 12px #192d4214}#gallery{background:#fff}.welcome{border-top:1px solid var(--line);margin-top:42px}.service-strip{background:#f0f0e9;padding:23px 26px;border:0;border-radius:12px}.bulletin-layout{display:grid;grid-template-columns:0.85fr 1.35fr;gap:58px;align-items:center}.bulletin-cover{padding:40px;background:#fffdf7;border:1px solid #deddd4;box-shadow:8px 8px 0 #d7ded5;border-radius:5px;max-width:360px}.bulletin-cover h3{font-size:29px;letter-spacing:-.055em;font-weight:500;line-height:1.5;margin:50px 0 25px}.bulletin-cover p{font-size:13px;line-height:1.9;color:var(--muted)}.cover-rule{width:42px;height:2px;background:#8a9b86}.cover-label,.sample-note{font-size:11px;color:var(--muted);line-height:1.8}.cover-label{display:block;margin-top:26px}.issue{font-size:12px;color:var(--muted)}.bulletin-copy h3{font-size:25px;font-weight:550;letter-spacing:-.04em}.bulletin-copy>p{font-size:14px;color:var(--muted);line-height:1.9}.bulletin-details{border-top:1px solid #ccd5ca;padding:15px 0}.bulletin-details summary{cursor:pointer;list-style:none;font-size:14px;display:flex;justify-content:space-between}.bulletin-details summary::-webkit-details-marker{display:none}.bulletin-details[open] summary span{transform:rotate(45deg)}.bulletin-details ol{padding-left:22px;font-size:13px;color:#647264;line-height:2.2}.bulletin-details p{font-size:13px;color:var(--muted)}.gallery a{display:block}.gallery a:hover img{filter:brightness(.94)}.gallery-top{padding:65px 0 35px}.gallery-top h1{font-size:46px;font-weight:500;letter-spacing:-.06em;margin:16px 0}.gallery-top p{color:var(--muted);font-size:15px;line-height:1.9}.crumb{font-size:12px;color:var(--muted)}.album-list{padding:35px;background:#eef2f4;border-radius:24px;margin-bottom:65px;display:grid;grid-template-columns:1fr 1fr;gap:28px}.album-list img{height:300px;object-fit:cover;border-radius:16px}.album-list h2{font-size:23px;letter-spacing:-.04em;font-weight:550}.album-list p{color:var(--muted);font-size:13px;line-height:1.8}.album-photos{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:25px 0 35px}.album-photos button{border:0;padding:0;background:transparent;text-align:left;color:var(--ink)}.album-photos img{height:310px;object-fit:cover;border-radius:16px}.album-photos button:first-child{grid-column:1/-1}.album-photos button:first-child img{height:480px}.album-photos span{display:block;font-size:12px;margin-top:9px;color:var(--muted)}.album-nav{display:flex;justify-content:space-between;margin:35px 0 65px}.viewer{width:min(1100px,94vw);padding:18px;background:#182735;color:white;border-radius:16px}.viewer img{max-height:72vh;width:auto;max-width:100%;margin:15px auto;object-fit:contain}.viewer-top,.viewer-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px}.viewer button{float:none;color:white;border:1px solid #ffffff55;border-radius:6px;min-height:42px;min-width:64px}.viewer p{color:#d3dce4;font-size:13px;margin:0}.viewer-top strong{font-size:13px;font-weight:500}.footer-gallery{margin-top:45px}summary:focus-visible{outline:3px solid #ad8558;outline-offset:4px}@media(max-width:1050px){nav{gap:18px}.brand{width:205px}.section{margin-inline:-22px;padding:40px 22px}.bulletin-layout{gap:32px}}@media(max-width:760px){header{position:relative}.menu-toggle{display:block}header nav{display:none;position:absolute;z-index:5;top:81px;left:-7%;right:-7%;padding:25px 6%;background:var(--paper);border-bottom:1px solid var(--line);font-size:15px;flex-direction:column;align-items:flex-start}header nav.open{display:flex}}@media(max-width:650px){.section{padding:30px 18px;margin:25px -18px;border-radius:18px}.bulletin-layout{grid-template-columns:1fr;gap:28px}.bulletin-cover{width:100%;max-width:none;padding:28px}.bulletin-cover h3{margin:26px 0;font-size:28px}.section-head{gap:18px;flex-wrap:wrap}.service-strip{padding:19px}.hero-photo img,.sermon-image img,.gallery img{border-radius:14px}.gallery-top{padding:36px 0 20px}.gallery-top h1{font-size:33px}.album-list{grid-template-columns:1fr;padding:16px;margin-inline:0;gap:28px}.album-list img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover}.album-photos{grid-template-columns:1fr}.album-photos button:first-child{grid-column:auto}.album-photos img,.album-photos button:first-child img{height:240px}.album-nav{font-size:13px;gap:20px}.viewer{padding:14px}.viewer-bottom{flex-wrap:wrap}}

/* Worship + upcoming events board. */
.service-board{margin:0 0 26px;background:#f3f1eb;color:var(--ink);border:1px solid var(--line);border-radius:22px;padding:0;scroll-margin-top:24px}
.service-board-toggle{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 30px;cursor:pointer;list-style:none}
.service-board-toggle::-webkit-details-marker{display:none}
.service-board-head{display:grid;gap:6px;flex:none;min-width:0}
.service-board .eyebrow{color:var(--accent)}
.service-board-title{display:block;margin:0;font-size:28px;font-weight:650;letter-spacing:-.04em;line-height:1.25;color:var(--ink)}
.service-board-ticker{position:relative;flex:1 1 auto;min-width:0;min-height:2.8em;margin:0 8px;overflow:hidden;transition:opacity .2s ease}
.service-board[open] .service-board-ticker{flex:0 0 0;width:0;min-width:0;margin:0;opacity:0;pointer-events:none}
.service-board-slide{position:absolute;inset:0;display:grid;align-content:center;gap:4px;opacity:0;transform:translateY(6px);transition:opacity .35s ease,transform .35s ease;pointer-events:none}
.service-board-slide.is-active{opacity:1;transform:translateY(0)}
.service-board-slide strong{display:block;font-size:15px;font-weight:650;letter-spacing:-.02em;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.service-board-slide span{display:block;font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.service-board-slide[data-kind="event"] strong{color:#6b5438}
.service-board-chevron{flex:none;width:12px;height:12px;border-right:2px solid #8a959f;border-bottom:2px solid #8a959f;transform:rotate(45deg);transition:transform .2s ease;margin-top:-4px}
.service-board[open] .service-board-chevron{transform:rotate(225deg);margin-top:4px}
.service-board-grid{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:0 30px 28px;padding-top:8px;border-top:1px solid var(--line)}
.service-panel{padding:22px 0 0}
.service-panel + .service-panel{padding-left:32px;margin-left:32px;border-left:1px solid var(--line)}
.service-panel-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:8px}
.service-panel-head h3{margin:0;font-size:18px;font-weight:650;letter-spacing:-.03em;color:var(--ink)}
.service-panel-link{flex:none;font-size:13px;color:var(--muted);border-bottom:1px solid #b9c1c7;padding-bottom:2px}
.service-panel-link:hover{color:var(--ink);border-bottom-color:var(--ink)}
.worship-list,.event-list{list-style:none;margin:0;padding:0}
.worship-list li,.event-list li{display:grid;gap:8px 16px;align-items:baseline;padding:14px 0;border-bottom:1px solid var(--line)}
.worship-list li{grid-template-columns:5.75rem minmax(0,1fr) auto}
.worship-time{font-size:15px;font-weight:650;color:var(--ink);font-variant-numeric:tabular-nums;white-space:nowrap}
.worship-name{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:15px;font-weight:550;color:var(--ink)}
.worship-place{font-size:13px;color:var(--muted);text-align:right}
.worship-weekday{margin-top:18px}
.worship-weekday-label{display:block;margin-bottom:4px;font-size:12px;color:var(--muted);letter-spacing:.04em}
.event-list li{grid-template-columns:48px minmax(0,1fr);gap:14px;align-items:center}
.event-date{display:grid;place-items:center;gap:1px;padding:4px 4px;border-radius:10px;background:#fff;border:1px solid var(--line);color:var(--ink);text-align:center;align-self:center}
.event-date small{font-size:10px;line-height:1.2;color:var(--muted)}
.event-date strong{font-size:18px;line-height:1;font-weight:700;font-variant-numeric:tabular-nums}
.event-copy{display:grid;gap:4px;min-width:0}
.event-copy>strong{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:15px;font-weight:650;color:var(--ink);letter-spacing:-.02em;line-height:1.35}
.event-copy>span{font-size:13px;line-height:1.45;color:var(--muted)}
.event-badge{display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;background:#c46a2b;color:#fff;font-size:11px;font-weight:700}
.service-empty{margin:18px 0 0;color:var(--muted);font-size:14px;line-height:1.7}
@media(max-width:900px){
  .service-board-toggle{padding:20px 22px}
  .service-board-grid{margin:0 22px 24px}
  .service-panel + .service-panel{padding-left:22px;margin-left:22px}
  .worship-list li{grid-template-columns:5.5rem minmax(0,1fr);gap:6px 12px}
  .worship-place{grid-column:2;text-align:left}
}
@media(max-width:650px){
  .service-board{border-radius:18px}
  .service-board-toggle{padding:18px;flex-wrap:wrap;gap:12px 16px}
  .service-board-title{font-size:24px}
  .service-board-ticker{order:3;flex:1 1 100%;margin:0 28px 0 0;min-height:2.6em}
  .service-board-chevron{margin-left:auto}
  .service-board-grid{grid-template-columns:1fr;margin:0 18px 20px}
  .service-panel + .service-panel{padding-left:0;margin-left:0;border-left:0;padding-top:26px;margin-top:8px;border-top:1px solid var(--line)}
  .worship-list li{grid-template-columns:5.25rem minmax(0,1fr)}
}

.bulletin-frame{width:100%;height:min(82vh,1100px);border:0;background:#fff;border-radius:12px;margin-top:18px}.empty-note,.bulletin-intro{color:var(--muted);line-height:1.7}.article-copy{white-space:pre-wrap;line-height:1.85;max-width:720px}.article-images{display:grid;gap:18px;max-width:960px;margin:24px 0}.article-image{display:block;width:100%;max-width:960px;border-radius:16px;margin:24px 0}.article-images .article-image{margin:0}

.hero,.service-board{margin-inline:-40px}
@media(max-width:1050px){.hero,.service-board{margin-inline:-22px}}
@media(max-width:650px){.hero,.service-board{margin-inline:-18px}}

.bulletin-fold{background:none;border:0;border-bottom:1px solid #b9c1c7;padding:0 0 6px;color:inherit;font-size:13px;pointer-events:none}
#bulletin-book.is-peek{position:relative;max-height:clamp(120px,22vw,180px);overflow:hidden;cursor:pointer;border-radius:14px}
#bulletin-book.is-peek::after{content:"";position:absolute;left:0;right:0;bottom:0;height:72px;background:linear-gradient(180deg,#fff0 0%,#fffc 55%,#fff 100%);pointer-events:none;z-index:2}
#bulletin-book.is-peek .reader{pointer-events:none}
#bulletin-book.is-peek .turn-zone{display:none}
#bulletin .bulletin-head{display:flex;align-items:center;justify-content:space-between;gap:12px 18px;margin:0 4px 10px;cursor:pointer;user-select:none}
#bulletin .bulletin-head .bulletin-intro{flex:1 1 auto;min-width:0;margin:0;font-size:clamp(18px,2.4vw,28px);font-weight:550;letter-spacing:-.04em;line-height:1.25}
.bulletin-handle{flex:none;display:inline-flex;align-items:center;gap:8px;margin:0;padding:8px 14px;border:1px solid #b9c1c7;border-radius:999px;background:#fff;color:var(--ink);font-size:13px;font-weight:650;letter-spacing:-.02em;line-height:1.2;white-space:nowrap;text-decoration:none;box-shadow:0 1px 0 #d7ddd8;pointer-events:auto;cursor:pointer}
.bulletin-handle:hover{border-color:#9aa6ad}
.bulletin-handle-chevron{width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-top:-3px;transition:transform .2s ease}
.bulletin-handle[aria-expanded="true"] .bulletin-handle-chevron{transform:rotate(225deg);margin-top:3px}
@media(max-width:560px){
  #bulletin .bulletin-head{gap:8px 10px}
  #bulletin .bulletin-head .bulletin-intro{font-size:16px}
  .bulletin-handle{padding:7px 11px;font-size:12px}
}
.sermon-player{position:relative;aspect-ratio:16/9;border-radius:18px;overflow:hidden;background:#102028}
.sermon-player iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.sermon-list{display:grid;grid-template-columns:1fr 1fr;gap:28px;padding-bottom:70px}
.sermon-list a{color:inherit}
.sermon-list img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:16px;background:#e7ecee}
.sermon-list small{display:block;margin-top:12px;color:var(--accent);font-size:12px}
.sermon-list h2{font-size:22px;font-weight:550;letter-spacing:-.04em;margin:8px 0}
.sermon-list p{color:var(--muted);font-size:14px;line-height:1.7;margin:0}
.sermon-title[data-structured]{display:grid;gap:8px;align-content:start}
.sermon-title .sermon-context{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.sermon-title .sermon-date{display:inline-block;width:fit-content;padding:3px 9px;border-radius:999px;background:#e8eef2;color:#3f5d73;font-size:12px;font-weight:700;letter-spacing:.02em;line-height:1.4}
.sermon-title .sermon-service{color:#5a6d7c;font-size:13px;font-weight:650;letter-spacing:-.02em;line-height:1.4}
.sermon-title .sermon-headline{display:block;color:var(--ink);font-weight:650;letter-spacing:-.035em;line-height:1.4}
.sermon-title .sermon-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;font-size:.58em;line-height:1.45}
.sermon-title .sermon-passage{color:#5d7a68;font-weight:650;font-family:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif}
.sermon-title .sermon-preacher{color:#8a6946;font-weight:650}
.sermon-title .sermon-sep{color:#b4bec6}
.sermon h3.sermon-title{font-size:clamp(24px,2.4vw,33px);margin:10px 0 14px}
.sermon-list .sermon-title{margin:10px 0 8px;font-size:20px}
.gallery-top>h1.sermon-title{margin:16px 0;font-size:clamp(28px,3.4vw,42px);font-weight:550;letter-spacing:-.05em}
.sermon-page{padding-bottom:70px}
.sermon-copy{white-space:pre-wrap;line-height:1.85;max-width:760px}
@media(max-width:650px){.sermon-list{grid-template-columns:1fr}.sermon-player{border-radius:14px}}

.ad-rail{min-width:0;overflow-x:hidden;container-type:inline-size;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.ad-rail::-webkit-scrollbar{display:none}
.ad-rail[data-scroll]{overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;cursor:grab}
.ad-rail[data-scroll]:active{cursor:grabbing}
.ad-track{display:flex;gap:14px;align-items:stretch;justify-content:flex-end;width:max-content;min-width:100%}
.ad-card{flex:none;width:calc((100cqi - 42px) / 4);display:flex;flex-direction:column;gap:10px;color:var(--ink);scroll-snap-align:start}
.ad-card img,.ad-photo{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:14px;border:1px solid var(--line);background:#fff}
.ad-card small{display:block;font-size:11px;color:var(--muted);margin-bottom:4px}
.ad-card strong{display:block;font-size:14px;font-weight:550;letter-spacing:-.03em;line-height:1.45}
@container(min-width:920px){.ad-card{width:calc((100cqi - 56px) / 5)}}
@media(max-width:980px){
  #sermon .section-head,#sermon .sermon-copy{display:none}
  #sermon.section{padding:32px 24px;margin:22px -24px;border-radius:20px}
  #sermon .sermon{display:block;gap:0}
  #sermon .sermon-player,#sermon .sermon-image img{border-radius:16px}
  #news .news-intro{display:none}
  #news.section{padding:28px 0;margin:22px -24px;border-radius:20px}
  #news.news{display:block;grid-template-columns:none;gap:0}
  #news .ad-rail{padding-inline:24px}
}
@media(max-width:650px){
  .ad-card{width:calc((100cqi - 46px) / 2)}
  .ad-card strong{font-size:13px}
  #sermon.section,#news.section{padding:28px 0;margin:18px -18px;border-radius:18px}
  #sermon.section{padding-inline:18px}
  #sermon .sermon-player,#sermon .sermon-image img{border-radius:14px}
  #news .ad-rail{padding-inline:18px}
}
@media(prefers-reduced-motion:reduce){.ad-rail[data-scroll]{scroll-behavior:auto}}

.viewer-stage{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;margin-top:12px}
.viewer-stage img{display:block;width:auto;max-width:100%;max-height:72vh;margin:0 auto;object-fit:contain}
.viewer-stage button{display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border-radius:999px}
.viewer-stage button svg{display:block}
#photo-counter{text-align:center;margin-top:12px}
@media(max-width:650px){.viewer-stage{gap:8px}.viewer-stage button{width:40px;height:40px;min-width:40px;min-height:40px}}

.markdown{max-width:760px;color:#31424f;font-size:15px;line-height:1.85}
.markdown>*:first-child{margin-top:0}.markdown>*:last-child{margin-bottom:0}
.markdown h2{font-size:26px;font-weight:550;letter-spacing:-.04em;line-height:1.35;margin:1.4em 0 .5em}
.markdown h3{font-size:20px;font-weight:550;letter-spacing:-.03em;line-height:1.4;margin:1.3em 0 .45em}
.markdown h4{font-size:17px;font-weight:600;margin:1.2em 0 .4em}
.markdown p,.markdown ul,.markdown ol,.markdown blockquote,.markdown pre,.markdown table{margin:0 0 1em}
.markdown ul,.markdown ol{padding-left:1.3em}
.markdown a{color:var(--accent);text-decoration:underline}
.markdown blockquote{border-left:3px solid #c9d4ce;padding-left:14px;color:var(--muted)}
.markdown code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.92em;background:#eef2f0;padding:.1em .35em;border-radius:4px}
.markdown pre{overflow:auto;background:#182735;color:#f4f7f6;padding:14px 16px;border-radius:12px}
.markdown pre code{background:none;color:inherit;padding:0}
.markdown img{max-width:100%;height:auto;border-radius:14px;margin:8px 0}
.markdown table{border-collapse:collapse;width:100%;font-size:14px}
.markdown th,.markdown td{border:1px solid #d5ddd8;padding:8px 10px;text-align:left;vertical-align:top}
.markdown hr{border:0;border-top:1px solid var(--line);margin:1.4em 0}
.gallery-top .markdown,.album-list .markdown{color:var(--muted)}
.album-list .markdown{font-size:13px;line-height:1.8}
.album-list .markdown h2,.album-list .markdown h3,.album-list .markdown h4{font-size:15px;margin:.6em 0 .3em}
.album-list>a{min-width:0;max-width:100%}
.album-list .album-excerpt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:6px 0 0;max-width:100%;word-break:break-word;overflow-wrap:anywhere}

.gallery-filters{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 22px}
.gallery-filters button,.gallery-filters>a{appearance:none;border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:999px;padding:10px 16px;font-size:14px;font-weight:650;letter-spacing:-.02em;display:inline-flex;align-items:center;gap:8px}
.gallery-filters button small,.gallery-filters>a small{font-size:12px;font-weight:700;color:var(--muted)}
.gallery-filters button:hover,.gallery-filters>a:hover{border-color:#b9c1c7}
.gallery-filters button.is-active,.gallery-filters>a.is-active{background:var(--ink);border-color:var(--ink);color:#fff}
.gallery-filters button.is-active small,.gallery-filters>a.is-active small{color:#d7dee6}
.gallery-filter-empty{margin:0 0 28px;color:var(--muted);font-size:14px;line-height:1.7}
.album-dept{display:inline-flex;align-items:center;margin:14px 0 0;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:700;letter-spacing:-.02em;line-height:1.4}
.album-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0 0}
.album-list .album-dept{margin:0}
.album-date{display:inline-block;font-size:12px;font-weight:650;color:#5d6b76;letter-spacing:-.02em;line-height:1.4}
.gallery-top .album-dept{margin:12px 0 0}
.gallery-top>h1+p{margin:8px 0 0;font-size:14px;line-height:1.5}
.album-dept.tone-children{background:#fff1df;color:#c46a2b}
.album-dept.tone-hic{background:#e7f2ff;color:#2f6fd6}
.album-dept.tone-young-adults{background:#e9f7ef;color:#1f8a7a}
.album-dept.tone-general{background:#eef1f4;color:#5d6b76}
.album-list>a[hidden]{display:none}

.photo-guard{position:relative;display:block;-webkit-touch-callout:none;user-select:none}
.photo-guard::after{content:"";position:absolute;inset:0}
.photo-guard img,.gallery-top .markdown img{-webkit-user-drag:none;user-select:none;-webkit-touch-callout:none;pointer-events:none}
.viewer-stage .photo-guard{min-width:0}
body[data-image-guard] main img,
body[data-image-guard] #home img,
body[data-image-guard] .page-content img,
body[data-image-guard] .hero-bg,
body[data-image-guard] .book-viewport img{-webkit-user-drag:none;user-select:none;-webkit-touch-callout:none}
.ad-card .photo-guard{display:block;width:100%;border-radius:14px;overflow:hidden;border:1px solid var(--line);background:#fff}
.ad-card .photo-guard img{width:100%;aspect-ratio:3/4;object-fit:cover;border:0;border-radius:0}
.sermon-list .photo-guard{display:block;border-radius:16px;overflow:hidden}
.sermon-list .photo-guard img{border-radius:0}
.article-images .photo-guard,.gallery-top+.article-image-wrap{display:block;border-radius:18px;overflow:hidden;margin:0 0 16px}

.hero h1{font-size:clamp(30px,3.1vw,42px)}
.hero h1 small{display:block;margin-top:12px;font-size:.45em;font-weight:550;letter-spacing:0;color:var(--muted)}
#home[data-hero="classic"]>.hero{position:relative;isolation:isolate;display:flex;align-items:flex-start;grid-template-columns:none;gap:0;min-height:clamp(320px,42vw,460px);padding:40px 40px 48px;overflow:hidden;border-radius:24px 24px 0 0;color:#fff;background:#1a2734}
#home[data-hero="classic"] .hero-bg{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:center 38%}
#home[data-hero="classic"]>.hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(12,20,30,.34) 0%,rgba(12,20,30,.12) 38%,rgba(12,20,30,.08) 58%,rgba(249,248,244,.55) 82%,var(--paper) 100%)}
#home[data-hero="classic"] .hero-copy{max-width:560px}
#home[data-hero="classic"] .eyebrow{color:#f0d7ad}
#home[data-hero="classic"] .hero h1{margin:18px 0 0;color:#fff;text-shadow:0 2px 8px rgba(0,0,0,.45),0 6px 24px rgba(0,0,0,.35)}
#home[data-hero="classic"] .hero h1 small{margin-top:10px;color:rgba(255,255,255,.78);text-shadow:0 2px 8px rgba(0,0,0,.4),0 4px 16px rgba(0,0,0,.28)}
@media(max-width:1050px){#home[data-hero="classic"]>.hero{padding:32px 22px 40px}}
@media(max-width:650px){#home[data-hero="classic"]>.hero{min-height:280px;padding:26px 18px 34px;border-radius:18px 18px 0 0}#home[data-hero="classic"] .hero h1{font-size:28px;margin-top:14px}}

/* Draft hero at /preview/hero: full-bleed church photo with the header floating over it. */
body:has(#home[data-hero="banner"]){overflow-x:clip}
body:has(#home[data-hero="banner"]) header{position:relative;z-index:3;border-bottom-color:transparent;color:#fff}
body:has(#home[data-hero="banner"]) .brand img{filter:brightness(0) invert(1)}
body:has(#home[data-hero="banner"]) nav a:hover{color:#f4c95d}
body:has(#home[data-hero="banner"]) .nav-visit{border-bottom-color:rgba(255,255,255,.7)}
body:has(#home[data-hero="banner"]) .menu-toggle{color:#fff;border-color:rgba(255,255,255,.45)}
#home[data-hero="banner"]>.hero{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:0;grid-template-columns:none;min-height:clamp(520px,68vh,700px);margin:-100px calc(50% - 50vw) 28px;padding:140px 24px 64px;color:#fff;background:#152230;overflow:hidden}
#home[data-hero="banner"] .hero-bg{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:center 42%}
#home[data-hero="banner"]>.hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(9,17,27,.68) 0%,rgba(9,17,27,.44) 45%,rgba(9,17,27,.7) 100%)}
#home[data-hero="banner"] .hero-copy{max-width:780px}
#home[data-hero="banner"] .eyebrow{display:inline-block;padding:7px 15px;border:1px solid rgba(255,255,255,.35);border-radius:999px;background:rgba(255,255,255,.08);color:#f5e9d3;font-size:11px}
#home[data-hero="banner"] .hero h1{font-size:clamp(30px,3.6vw,48px);font-weight:700;letter-spacing:-.05em;line-height:1.28;margin:22px 0 18px;color:#fff;text-shadow:0 2px 20px rgba(0,0,0,.35)}
#home[data-hero="banner"] .hero h1 em{font-style:normal;color:#f4c95d}
#home[data-hero="banner"] .hero h1 small{margin-top:10px;font-size:.42em;font-weight:500;color:rgba(255,255,255,.72)}
#home[data-hero="banner"] .hero p{font-size:16px;line-height:1.85;color:rgba(255,255,255,.84);margin:0 0 30px}
#home[data-hero="banner"] .hero-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}
#home[data-hero="banner"] .solid,#home[data-hero="banner"] .ghost{display:inline-flex;align-items:center;gap:14px;padding:15px 24px;border-radius:7px;font-size:14px;transition:background .2s}
#home[data-hero="banner"] .solid{background:#2a5bd7;color:#fff}
#home[data-hero="banner"] .solid:hover{background:#2350c0}
#home[data-hero="banner"] .ghost{border:1px solid rgba(255,255,255,.6);color:#fff;background:rgba(255,255,255,.06)}
#home[data-hero="banner"] .ghost:hover{background:rgba(255,255,255,.16)}
@media(max-width:900px){#home[data-hero="banner"]>.hero{margin-top:-82px;padding-top:120px;gap:0}#home[data-hero="banner"] .hero h1{font-size:clamp(30px,3.6vw,48px)}}
@media(max-width:650px){#home[data-hero="banner"]>.hero{min-height:480px;padding:110px 18px 48px;margin-bottom:24px;gap:0}#home[data-hero="banner"] .hero h1{font-size:30px;margin:18px 0 14px}#home[data-hero="banner"] .hero p{font-size:14px;margin-bottom:22px}#home[data-hero="banner"] .hero-actions{flex-direction:column;align-items:stretch;width:100%;max-width:320px;margin:auto}#home[data-hero="banner"] .solid,#home[data-hero="banner"] .ghost{justify-content:center}}

.album-photos{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.album-photos .photo-guard{margin:0}
.album-photos button:first-child{grid-column:auto}
.album-photos img,.album-photos button:first-child img{height:auto;aspect-ratio:1;border-radius:10px}
.album-photos button:hover img{filter:brightness(.92)}
@media(max-width:1050px){.album-photos{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.album-photos{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.album-photos{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}}

#departments{background:transparent;padding:0;margin:28px -40px;border-radius:0}
@media(max-width:1050px){#departments{margin-inline:-22px;padding:0}}
@media(max-width:650px){#departments{margin:24px -18px;padding:0;border-radius:0}}
.dept-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.dept-card{position:relative;display:flex;align-items:flex-end;min-height:270px;padding:18px 20px 16px;border-radius:20px;overflow:hidden;background:#fff;color:inherit;box-shadow:0 10px 28px #192d4210}
.dept-card::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#fff0 28%,#fffc 52%,#fff 72%),var(--dept-photo) var(--dept-pos,center 35%)/cover no-repeat;transition:transform .35s ease}
.dept-card>span{position:relative;z-index:1}
.dept-card h3{margin:0;font-size:26px;font-weight:650;letter-spacing:-.045em}
.dept-card p{margin:6px 0 0;color:#66717b;font-size:14px;line-height:1.55}
.dept-card:hover::before{transform:scale(1.04)}
@media(prefers-reduced-motion:reduce){.dept-card::before{transition:none}}
.dept-page{padding-bottom:70px}
.dept-page .detail{max-width:640px;color:#31424f;font-size:15px;line-height:1.85}
.dept-page .detail p{margin:0 0 1em}
.dept-page dl{display:grid;gap:10px;margin:0 0 28px}
.dept-page dl div{display:grid;grid-template-columns:88px 1fr;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}
.dept-page dt{color:var(--muted);font-size:13px}
.dept-page dd{margin:0}
@media(max-width:760px){.dept-grid{grid-template-columns:1fr}}

nav a[aria-current="page"]{color:var(--accent)}
.about-page{padding-bottom:80px}
.about-jump{position:static;left:auto;right:auto;top:auto;display:flex;flex-direction:row;flex-wrap:wrap;align-items:flex-start;gap:8px 22px;margin:4px 0 28px;padding:0 0 14px;background:transparent;border-bottom:1px solid var(--line);font-size:14px}
.about-jump a{font-size:14px;padding:8px 0;border-bottom:1px solid transparent}
.about-jump a:hover,.about-jump a[aria-current="page"]{color:var(--accent);border-bottom-color:var(--accent)}
.about-jump a[aria-current="page"]{font-weight:650}
.about-intro{padding:28px 0 8px}
.about-jump + .timeline,.about-jump + .leader-group{margin-top:28px}
.about-intro blockquote{max-width:22em;margin:22px 0 0;padding:2px 0 2px 18px;border-left:3px solid var(--accent);font-size:clamp(20px,2.2vw,26px);line-height:1.65;letter-spacing:-.04em;font-weight:520;word-break:keep-all}
.about-intro blockquote cite{display:block;margin-top:14px;font-size:13px;font-style:normal;color:var(--accent);letter-spacing:.04em}
.about-intro p{max-width:36em;margin:18px 0 0;color:#4e5e6a;font-size:16px;line-height:1.8}
.about-block{padding:42px 0 8px;scroll-margin-top:24px}
.about-block>h2{font-size:32px;font-weight:550;letter-spacing:-.05em;margin:12px 0 18px}
.about-lead,.about-motto{max-width:760px;color:#4e5e6a;line-height:1.9;margin:0 0 22px}
.about-lead{font-size:16px}
.about-motto{font-size:18px;letter-spacing:-.03em;color:var(--ink)}
.vision-grid,.program-grid{display:grid;gap:16px}
.program-grid{grid-template-columns:1fr 1fr}
.vision-card,.program-card{background:#fff;border:1px solid #eceae4;border-radius:18px;padding:26px 28px 18px}
.vision-card h3,.program-card h3{margin:0 0 10px;font-size:20px;letter-spacing:-.03em;font-weight:620}
.vision-card p,.program-card p{color:#4e5e6a;line-height:1.85;font-size:15px;margin:0 0 12px}
.vision-card ol{margin:0 0 10px;padding-left:1.2em;color:#31424f;line-height:1.75;font-size:15px}
.vision-card li+li{margin-top:6px}
.program-card header{display:flex;justify-content:space-between;gap:12px;align-items:baseline}
.program-card header h3{margin:0}
.program-meta{flex:none;font-size:12px;color:var(--accent)}
.program-note{margin-top:4px;font-size:13px;color:var(--ink)}
.timeline{list-style:none;margin:8px 0 0;padding:0}
.era{display:grid;grid-template-columns:148px minmax(0,1fr);gap:8px 28px;padding:22px 0;border-top:1px solid var(--line)}
.era-years{margin:2px 0 0;font-size:15px;font-weight:650;color:var(--accent)}
.era p{margin:0 0 12px;color:#31424f;font-size:15px;line-height:1.85}
.era ul{margin:0;padding-left:1.15em;color:#31424f;font-size:15px;line-height:1.8}
.era li+li{margin-top:4px}
.era-photos{display:grid;grid-template-columns:1fr 1fr;gap:14px 16px;margin-top:18px}
.era-photos figure{width:100%;min-width:0;margin:0}
.era-photos figure:only-child,.era-photos figure:last-child:nth-child(odd){grid-column:1/-1;max-width:640px}
.era-photos img{width:100%;height:auto;object-fit:contain;border-radius:12px;background:#f4f1ea}
.era-photos figcaption{margin-top:8px;font-size:12px;color:var(--muted);line-height:1.5}
.leader-group+.leader-group{margin-top:40px}
.leader-group h2{margin:0 0 8px;font-size:22px;letter-spacing:-.03em;font-weight:620}
.leader-group>p{max-width:720px;margin:0 0 16px;color:var(--muted);font-size:14px;line-height:1.7}
.people{list-style:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px 14px;margin:0;padding:0}
.person img,.person-fallback{width:100%;aspect-ratio:3/4;object-fit:cover;object-position:center 15%;border-radius:14px;background:#eceae4}
.person-fallback{position:relative;overflow:hidden}
.person-fallback::before,.person-fallback::after{content:"";position:absolute;left:50%;transform:translateX(-50%);background:#d7d4cc}
.person-fallback::before{top:22%;width:32%;aspect-ratio:1;border-radius:50%}
.person-fallback::after{bottom:14%;width:62%;height:34%;border-radius:90px 90px 18px 18px}
.person h3{margin:12px 0 4px;font-size:16px;font-weight:620;letter-spacing:-.03em}
.person p{margin:0;font-size:13px;color:var(--muted);line-height:1.5}
.person a{display:inline-block;margin-top:6px;font-size:12px;color:var(--accent);overflow-wrap:anywhere}
.about-actions{display:flex;gap:22px;align-items:center;flex-wrap:wrap;margin:36px 0 12px}
.visit-page{padding-bottom:80px}
.visit-photo{width:100%;max-width:960px;border-radius:18px;margin:8px 0 36px;aspect-ratio:16/9;object-fit:cover;background:#e7ecee}
.visit-roadmap{max-width:720px;margin:0 0 48px}
.visit-roadmap>h2{margin:0 0 28px;font-size:clamp(24px,2.6vw,32px);font-weight:700;letter-spacing:-.04em}
.visit-steps{margin:0;padding:0;list-style:none;display:grid;gap:28px}
.visit-steps h3{margin:0 0 10px;font-size:18px;font-weight:650;letter-spacing:-.03em;line-height:1.45}
.visit-steps h3 span{display:inline-block;margin-right:8px;color:var(--accent);font-size:13px;font-weight:700;letter-spacing:.02em}
.visit-steps p{margin:0;color:#4e5e6a;font-size:15px;line-height:1.85}
.visit-guide{max-width:720px;padding-bottom:12px}
.visit-guide h2{margin:0 0 14px;font-size:clamp(24px,2.6vw,32px);font-weight:700;letter-spacing:-.04em}
.visit-guide p{margin:0;color:#4e5e6a;font-size:16px;line-height:1.8}
@media(max-width:900px){
  .people{grid-template-columns:repeat(3,minmax(0,1fr))}
  .era-photos,.era-photos figure:only-child,.era-photos figure:last-child:nth-child(odd){grid-template-columns:1fr;max-width:none}
}
@media(max-width:650px){
  .about-page,.visit-page{padding-bottom:48px}
  .about-block>h2{font-size:28px}
  .about-intro blockquote{font-size:20px}
  .program-grid{grid-template-columns:1fr}
  .people{grid-template-columns:1fr 1fr}
  .era{grid-template-columns:1fr;gap:6px;padding:18px 0}
  .vision-card,.program-card{padding:20px 18px 12px}
  .program-card header{flex-direction:column;gap:4px}
  .visit-photo{border-radius:14px;margin-bottom:28px}
}

/* Home gallery band: wider strip with up to 4 albums (same as /preview/bands). */
body:has(#home){overflow-x:clip}
body:has(#home[data-hero="bands"]) header{position:relative;z-index:1;border-bottom-color:transparent}
body:has(#home[data-hero="bands"]) header::before{content:"";position:absolute;z-index:-1;top:0;bottom:0;left:50%;width:100vw;transform:translateX(-50%);background:var(--header);border-bottom:1px solid var(--line)}
#home>#gallery{position:relative;z-index:0;background:transparent;width:min(1600px,94vw);margin-inline:calc(50% - min(800px,47vw));padding-inline:0}
#home>#gallery::before{content:"";position:absolute;z-index:-1;top:0;bottom:0;left:50%;width:100vw;transform:translateX(-50%);background:#fff}
#home .gallery{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
#home .gallery img{height:auto;aspect-ratio:4/3}
#home .gallery h3{font-size:16px}
@media(max-width:1050px){#home .gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){#home>#gallery{width:auto;margin-inline:-18px;padding-inline:18px}#home .gallery{grid-template-columns:1fr}}

/* 예렘 청년부 */
.jerem{padding:52px 0 84px;color:#1c1c1c;word-break:keep-all}
.jerem h1,.jerem h2,.jerem h3,.jerem p{margin:0}
.jerem-crumb{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 28px;font-size:13px;color:#8d8d8d}
.jerem-crumb a:hover{color:#1c1c1c}
.jerem-crumb span:last-child{color:#1c1c1c;font-weight:650}
.jerem-hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(280px,.95fr);gap:12px 28px;align-items:center}
.jerem-hero h1{font-size:clamp(52px,6.4vw,80px);font-weight:800;letter-spacing:-.065em;line-height:1.08}
.jerem-mark{position:relative;display:inline-block;z-index:0}
.jerem-mark::after{content:"";position:absolute;z-index:-1;left:-.04em;right:-.06em;bottom:.06em;height:.22em;background:#fc8e73;border-radius:999px;transform:rotate(-1.5deg)}
.jerem-lead{margin-top:22px;font-size:clamp(26px,2.5vw,34px);font-weight:800;letter-spacing:-.05em;line-height:1.35}
.jerem-intro{margin-top:16px;max-width:34em;font-size:16px;line-height:1.75;color:#3a3a3a}
.jerem-hero-img{display:block;width:100%;height:auto}
.jerem-facts{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:8px 0 28px}
.jerem-fact{position:relative;display:flex;align-items:center;gap:16px;min-height:112px;padding:22px 28px;border-radius:28px}
.jerem-fact.time{background:#fcbfaa}
.jerem-fact.place{background:#cce8d9}
.jerem-fact small{display:block;margin-bottom:4px;font-size:14px;font-weight:650;color:#5e564f}
.jerem-fact strong{font-size:clamp(22px,2.1vw,30px);font-weight:800;letter-spacing:-.045em}
.jerem-fact-icon{width:48px;height:48px;flex:none}
.jerem-burst{position:absolute;top:50%;width:36px;height:48px;transform:translateY(-50%)}
.jerem-burst.left{left:-6px}
.jerem-burst.right{right:-4px}
.jerem-about{margin-top:8px}
.jerem-about .visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.jerem-about-img{display:block;width:100%;height:auto;border-radius:18px}
.jerem-cta{display:grid;grid-template-columns:1.15fr .85fr;gap:16px;margin-top:16px}
.jerem-cta article{display:flex;align-items:center;gap:18px;min-height:168px;padding:26px 28px;border-radius:26px}
.jerem-cta h2{font-size:clamp(20px,2vw,24px);font-weight:800;letter-spacing:-.04em;line-height:1.35}
.jerem-cta p{margin:8px 0 16px;font-size:15px;line-height:1.65;color:#333}
.jerem-welcome{background:#ffe8e3}
.jerem-ig{position:relative;overflow:hidden;background:#90d6ba}
.jerem-ig h2{margin-bottom:16px}
.jerem-squiggle{position:absolute;left:18px;bottom:14px;width:42px;height:20px}
.jerem-cta svg{flex:none}
.jerem-btn{display:inline-flex;align-items:center;gap:8px;padding:12px 18px;border-radius:999px;background:#1a1f2b;color:#fff;font-size:14px;font-weight:700;letter-spacing:-.02em}
.jerem-btn:hover{background:#000}
.jerem-btn.light{background:#fff;color:#1c1c1c}
.jerem-btn.light:hover{background:#f7f7f7}
@media(max-width:860px){
  .jerem-hero{grid-template-columns:1fr;gap:4px}
  .jerem-hero-art{max-width:480px;margin-inline:auto}
  .jerem-cta{grid-template-columns:1fr}
}
@media(max-width:720px){
  .jerem{padding:32px 0 56px}
  .jerem-hero h1{font-size:46px}
  .jerem-lead{margin-top:16px;font-size:24px}
  .jerem-facts{grid-template-columns:1fr}
  .jerem-fact{padding:18px 20px;border-radius:22px}
  .jerem-burst{display:none}
  .jerem-about-img{border-radius:14px}
  .jerem-cta article{align-items:flex-start;padding:22px 18px;border-radius:22px}
}

/* 아동부 */
body:has(.kids){overflow-x:clip}
.kids{padding:28px 0 72px;color:#243247;word-break:keep-all}
.kids h1,.kids h2,.kids p{margin:0}
.kids-crumb{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 18px;font-size:13px;color:#8d8d8d}
.kids-crumb a:hover{color:#243247}
.kids-crumb span:last-child{color:#243247;font-weight:650}
.kids-hero{position:relative;isolation:isolate;overflow:hidden;min-height:clamp(360px,42vw,500px);margin:0 calc(50% - 50vw);width:100vw;border-radius:0 0 36px 36px;color:#1d3557}
.kids-hero-media,.kids-hero-shade{position:absolute;inset:0}
.kids-hero-media img{width:100%;height:100%;object-fit:cover;object-position:86% 42%}
.kids-hero-shade{background:linear-gradient(90deg,#fff8eef5 0%,#fff8eef0 18%,#fff8eecc 34%,#fff8ee66 48%,#fff8ee22 60%,#ffffff00 72%),linear-gradient(180deg,#ffffff55 0%,#ffffff00 38%,#fff8eeaa 100%)}
.kids-hero-copy{position:relative;z-index:2;box-sizing:border-box;width:min(1240px,88%);margin:0 auto;padding:clamp(44px,6vw,84px) 0 110px}
.kids-hero-copy>*{max-width:22rem}
.kids-title{display:flex;gap:.04em;font-size:clamp(56px,6.5vw,84px);font-weight:800;letter-spacing:-.06em;line-height:1;text-shadow:0 2px 0 #fff8,0 10px 24px #ffffff88}
.kids-title .c1{color:#ff6b45}
.kids-title .c2{color:#3cbc6b}
.kids-title .c3{color:#3b8fe0}
.kids-slogan{position:relative;display:inline-block;margin-top:18px;padding-bottom:10px;font-size:clamp(18px,1.9vw,23px);font-weight:700;letter-spacing:-.03em;line-height:1.45;color:#2f5d9f}
.kids-slogan::after{content:"";position:absolute;left:0;right:8%;bottom:0;height:.34em;background:#ffe066;border-radius:999px;z-index:-1;transform:rotate(-1deg)}
.kids-lead{margin-top:18px;font-size:15.5px;line-height:1.8;color:#31475f;font-weight:550}
.kids-doodle{position:absolute;z-index:2;pointer-events:none;filter:drop-shadow(0 4px 10px #00000018)}
.kids-doodle.sun{top:12%;right:max(4%,calc(50% - 520px));width:clamp(64px,7vw,84px)}
.kids-doodle.cloud-a{top:10%;right:max(16%,calc(50% - 360px));width:clamp(70px,8vw,90px)}
.kids-doodle.cloud-b{top:22%;right:max(3%,calc(50% - 560px));width:clamp(58px,6vw,70px)}
.kids-doodle.rainbow{right:max(4%,calc(50% - 540px));bottom:14%;width:clamp(90px,10vw,112px)}
@media(min-width:1400px){
  .kids-hero{min-height:480px}
  .kids-hero-media img{object-position:90% 40%}
  .kids-hero-copy>*{max-width:24rem}
}
.kids-wave{position:absolute;left:0;right:0;bottom:-1px;z-index:3;line-height:0}
.kids-wave svg{display:block;width:100%;height:clamp(54px,8vw,90px)}
.kids-facts{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:-28px 0 36px;position:relative;z-index:4}
.kids-fact{display:flex;align-items:center;gap:16px;min-height:108px;padding:22px 26px;border-radius:28px;background:#fff;box-shadow:0 10px 28px #1d355714}
.kids-fact.time{background:#fff6df}
.kids-fact.place{background:#e8f4ff}
.kids-fact small{display:block;margin-bottom:4px;font-size:14px;font-weight:700}
.kids-fact.time small{color:#ff7a45}
.kids-fact.place small{color:#3b8fe0}
.kids-fact strong{font-size:clamp(20px,2vw,28px);font-weight:800;letter-spacing:-.04em;color:#243247}
.kids-fact-icon{width:52px;height:52px;flex:none}
.kids-about{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(260px,.9fr);gap:28px 40px;align-items:center;margin:10px 0 48px}
.kids-about-head{display:flex;align-items:center;gap:14px;margin-bottom:18px}
.kids-friends{width:min(120px,28vw);height:auto;flex:none}
.kids-about-head h2{font-size:clamp(28px,3vw,38px);font-weight:800;letter-spacing:-.045em;color:#243247}
.kids-about-head h2 span{color:#ff6b45}
.kids-about-copy p{font-size:15.5px;line-height:1.85;color:#3a4d63}
.kids-about-copy p+p{margin-top:14px}
.kids-about-art{justify-self:center;width:min(100%,420px)}
.kids-about-art img{width:100%;height:auto;display:block}
.kids-stories{position:relative;margin:8px calc(50% - 50vw) 0;width:100vw;padding:48px 0 64px;background:radial-gradient(circle at 12% 20%,#fff7d4 0 18%,transparent 19%),radial-gradient(circle at 88% 78%,#ffe8b8 0 16%,transparent 17%),linear-gradient(180deg,#eef7ff 0%,#f5fbff 55%,#fff8e8 100%);overflow:hidden}
.kids-stories-inner{position:relative;width:min(1240px,88%);margin:0 auto}
.kids-stories-title{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:center;gap:0;margin-bottom:22px;font-size:clamp(30px,3.4vw,42px);font-weight:800;letter-spacing:-.045em}
.kids-stories-title .c1{color:#ff6b45}
.kids-stories-title .c2{color:#3cbc6b}
.kids-stories-title .c3{color:#3b8fe0}
.kids-stories-title .rest{color:#243247}
.kids-spark{position:absolute;top:8px;left:calc(50% + 7.5rem);width:36px}
.kids-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.kids-gallery figure{margin:0;overflow:hidden;border-radius:22px;background:#fff;box-shadow:0 8px 22px #1d355712}
.kids-gallery img{width:100%;aspect-ratio:4/3;object-fit:cover}
.kids-float{position:absolute;pointer-events:none}
.kids-float.heart-l{left:2%;top:18%;width:28px}
.kids-float.heart-p{left:4%;top:52%;width:24px}
.kids-float.rainbow-s{right:4%;top:12%;width:70px}
.kids-float.star-s{right:5%;top:46%;width:34px}
.kids-float.cloud-s{left:6%;bottom:8%;width:70px}
@media(max-width:900px){
  .kids-about{grid-template-columns:1fr;gap:24px}
  .kids-about-art{order:-1;width:min(100%,360px)}
}
@media(max-width:720px){
  .kids{padding:18px 0 48px}
  .kids-hero{min-height:420px;border-radius:0 0 28px 28px}
  .kids-hero-copy{padding:36px 0 96px}
  .kids-title{font-size:52px}
  .kids-slogan{font-size:18px}
  .kids-facts{grid-template-columns:1fr;margin-top:-18px}
  .kids-fact{padding:18px 18px;border-radius:22px}
  .kids-gallery{grid-template-columns:1fr 1fr;gap:12px}
  .kids-gallery figure{border-radius:16px}
  .kids-spark,.kids-float.heart-l,.kids-float.cloud-s{display:none}
  .kids-stories{padding:36px 0 48px}
}
@media(max-width:420px){
  .kids-gallery{grid-template-columns:1fr}
}

/* Hi-C 청소년부 */
body:has(.hic){overflow-x:clip}
.hic{padding:28px 0 80px;color:#243247;word-break:keep-all}
.hic h1,.hic h2,.hic h3,.hic p{margin:0}
.hic-crumb{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 20px;font-size:13px;color:#8d8d8d}
.hic-crumb a:hover{color:#243247}
.hic-crumb span:last-child{color:#243247;font-weight:650}
.hic-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,1.05fr);gap:24px 28px;align-items:center;padding:28px 0 18px;overflow:hidden}
.hic-brush.left{position:absolute;z-index:0;left:-8%;top:-10%;width:min(520px,58%);height:auto;pointer-events:none}
.hic-hero-copy{position:relative;z-index:1;padding:12px 8px 12px 0}
.hic-logo{font-size:clamp(64px,8vw,104px);font-weight:800;letter-spacing:-.06em;line-height:1;color:#2f6fd6}
.hic-logo-mark{position:relative;display:inline-block}
.hic-crown{position:absolute;left:.72em;top:-.32em;width:.38em;height:auto}
.hic-slogan{margin-top:18px;font-size:clamp(22px,2.4vw,30px);font-weight:800;letter-spacing:-.045em;line-height:1.35;color:#1f3f74}
.hic-lead{margin-top:14px;max-width:30em;font-size:15.5px;line-height:1.8;color:#3a4d63}
.hic-hero-media{position:relative;z-index:1;border-radius:28px;overflow:hidden;aspect-ratio:16/11;box-shadow:0 16px 40px #2f6fd622;background:#dce9f8}
.hic-hero-media img{width:100%;height:100%;object-fit:cover;object-position:center 40%}
.hic-banner{position:absolute;right:-2%;top:12%;bottom:12%;width:34%;display:grid;place-items:center;padding:18px 14px;background:linear-gradient(160deg,#4d8ef0,#2f6fd6 55%,#2557b0);clip-path:polygon(18% 0,100% 0,100% 100%,0 100%);color:#fff;text-align:center;font-size:clamp(13px,1.35vw,18px);font-weight:800;letter-spacing:.04em;line-height:1.35;transform:rotate(-1deg)}
.hic-rays{position:absolute;left:34%;top:18%;width:72px;height:auto;filter:drop-shadow(0 2px 0 #fff8)}
.hic-facts{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:18px 0 28px}
.hic-fact{display:flex;align-items:center;gap:16px;min-height:108px;padding:22px 26px;border-radius:26px}
.hic-fact.time{background:#e7f2ff}
.hic-fact.place{background:#efe9ff}
.hic-fact small{display:block;margin-bottom:4px;font-size:14px;font-weight:700;color:#5a6f8c}
.hic-fact.time small{color:#2f6fd6}
.hic-fact.place small{color:#6b5bd6}
.hic-fact strong{font-size:clamp(20px,2vw,28px);font-weight:800;letter-spacing:-.04em}
.hic-fact-icon{width:48px;height:48px;flex:none}
.hic-about{display:grid;grid-template-columns:auto minmax(0,1fr);gap:18px 36px;align-items:center;padding:28px 32px;border:1.5px solid #d7e0ea;border-radius:28px;background:#fff}
.hic-friends{width:min(220px,42vw);height:auto;display:block}
.hic-about-copy h2{margin-bottom:14px;font-size:clamp(26px,2.8vw,34px);font-weight:800;letter-spacing:-.045em;color:#1f3f74}
.hic-about-copy h2 span{position:relative;z-index:0}
.hic-about-copy h2 span::after{content:"";position:absolute;z-index:-1;left:-.08em;right:-.08em;bottom:.08em;height:.34em;background:#cfe4ff;border-radius:999px;transform:rotate(-1deg)}
.hic-about-copy p{font-size:15.5px;line-height:1.85;color:#3a4d63}
.hic-about-copy p+p{margin-top:12px}
@media(max-width:860px){
  .hic-hero{grid-template-columns:1fr;gap:18px}
  .hic-hero-media{max-width:560px;width:100%;margin-inline:auto}
  .hic-banner{width:38%;font-size:13px}
  .hic-about{grid-template-columns:1fr;justify-items:center;text-align:center;padding:24px 18px}
  .hic-about-copy h2 span::after{left:10%;right:10%}
}
@media(max-width:720px){
  .hic{padding:18px 0 56px}
  .hic-logo{font-size:58px}
  .hic-slogan{font-size:22px}
  .hic-facts{grid-template-columns:1fr}
  .hic-fact{padding:18px;border-radius:22px}
  .hic-brush.left{opacity:.55}
  .hic-rays{display:none}
}

/* 부서 페이지 갤러리 이야기 */
.dept-stories{position:relative;margin:36px 0 0;padding:42px 0 8px}
.dept-stories.theme-kids{margin:8px calc(50% - 50vw) 0;width:100vw;padding:48px 0 56px;background:radial-gradient(circle at 12% 20%,#fff7d4 0 18%,transparent 19%),radial-gradient(circle at 88% 78%,#ffe8b8 0 16%,transparent 17%),linear-gradient(180deg,#eef7ff 0%,#f5fbff 55%,#fff8e8 100%);overflow:hidden}
.dept-stories.theme-hic{margin-top:48px;padding:36px 0 8px;border-top:1px solid #d7e0ea}
.dept-stories.theme-jerem{margin-top:42px;padding-top:8px}
.dept-stories-inner{position:relative;width:min(1240px,88%);margin:0 auto}
.dept-stories.theme-kids .dept-stories-inner,.dept-stories.theme-hic .dept-stories-inner,.dept-stories.theme-jerem .dept-stories-inner{width:min(1240px,88%)}
.dept-stories-head{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:14px 24px;margin-bottom:22px}
.dept-stories-title{margin:0;font-size:clamp(28px,3.2vw,40px);font-weight:800;letter-spacing:-.045em;line-height:1.2;color:#243247}
.dept-stories-title .c1{color:#ff6b45}
.dept-stories-title .c2{color:#3cbc6b}
.dept-stories-title .c3{color:#3b8fe0}
.dept-stories-title .rest{color:#243247;font-weight:800}
.dept-stories.theme-hic .dept-stories-title{color:#1f3f74}
.dept-stories.theme-hic .dept-stories-title .rest{color:#1f3f74}
.dept-stories.theme-jerem .dept-stories-title .mark{position:relative;display:inline-block;z-index:0}
.dept-stories.theme-jerem .dept-stories-title .mark::after{content:"";position:absolute;z-index:-1;left:-.04em;right:-.06em;bottom:.08em;height:.22em;background:#fc8e73;border-radius:999px;transform:rotate(-1.5deg)}
.dept-stories-link{font-size:13px;padding-bottom:6px;border-bottom:1px solid #b9c1c7;color:inherit}
.dept-stories-link:hover{border-bottom-color:currentColor}
.dept-stories-empty{margin:0 0 16px;color:var(--muted);font-size:15px;line-height:1.7}
.dept-stories-stage{overflow:hidden}
.dept-stories-track{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 16px}
.dept-story{display:grid;gap:10px;color:inherit;min-width:0}
.dept-story[hidden]{display:none!important}
.dept-story .photo-guard,.dept-story img{display:block;width:100%;border-radius:18px}
.dept-story img{aspect-ratio:4/3;object-fit:cover;background:#e7ecee;transition:transform .35s ease,filter .2s ease}
.dept-story:hover img{transform:scale(1.03);filter:brightness(.96)}
.dept-story strong{display:block;font-size:16px;font-weight:700;letter-spacing:-.03em;line-height:1.4}
.dept-story small{display:block;font-size:12px;color:var(--muted)}
.dept-stories-pager{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:26px;position:static;flex-direction:row;inset:auto;z-index:auto;padding:0;background:transparent;border:0;width:auto}
.dept-stories-pages{display:flex;align-items:center;gap:6px}
.dept-stories-pages button,.dept-stories-page-btn{min-width:34px;height:34px;padding:0 10px;border:1px solid #d4dde6;border-radius:10px;background:#fff;color:#243247;font-size:14px;font-weight:650;cursor:pointer}
.dept-stories-page-btn{font-size:20px;line-height:1;color:#5a6b7d}
.dept-stories-pages button.is-active{background:#243247;border-color:#243247;color:#fff}
.dept-stories.theme-hic .dept-stories-pages button.is-active{background:#2f6fd6;border-color:#2f6fd6}
.dept-stories.theme-jerem .dept-stories-pages button.is-active{background:#1c1c1c;border-color:#1c1c1c}
.dept-stories-pages button:hover,.dept-stories-page-btn:hover{border-color:#9aa8b5}
.dept-stories-page-btn:disabled{opacity:.35;cursor:default;border-color:#e2e8ee}
.dept-stories.is-empty{text-align:center}
.dept-stories.is-empty .dept-stories-title{margin-bottom:12px}
@media(max-width:860px){
  .dept-stories-track{grid-template-columns:1fr 1fr}
}
@media(max-width:650px){
  .dept-stories.theme-kids{padding:36px 0 48px}
  .dept-stories-track{grid-template-columns:1fr}
  .dept-story img{border-radius:14px}
  .dept-stories-head{align-items:flex-start}
  .dept-stories-pager{gap:8px}
  .dept-stories-pages button,.dept-stories-page-btn{min-width:32px;height:32px}
}
@media(prefers-reduced-motion:reduce){
  .dept-story img{transition:none}
}
