/* 새소망교회 newhope 테마 — 반응형 한 벌
   원칙: 왼쪽 세로 색선(border-left 강조) 사용 금지 */
:root {
  --nh-ink: #1b2733;
  --nh-text: #3b4754;
  --nh-mute: #75818e;
  --nh-line: #e4e8ec;
  --nh-soft: #f4f6f8;
  --nh-bg: #ffffff;
  --nh-navy: #1f3346;
  --nh-slate: #4a6378;
  --nh-slate-d: #3a5063;
  --nh-gold: #b39664;
  --nh-radius: 14px;
  --nh-shadow: 0 18px 48px -18px rgba(24, 40, 56, .28);
  --nh-shadow-s: 0 6px 22px -10px rgba(24, 40, 56, .22);
  --nh-wrap: 1180px;
  --nh-font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --nh-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

html { scroll-behavior: smooth; }
/* default.css 가 h1~h6 을 'Malgun Gothic' 으로 고정해 제목만 다른 글꼴이 되던 것 → 본문과 같은 Pretendard (2026-09-27) */
h1, h2, h3, h4, h5, h6 { font-family: inherit; }
html.nh-lock { overflow: hidden; }
body { margin: 0; background: var(--nh-bg); color: var(--nh-text); font-family: var(--nh-font); font-size: 16px; line-height: 1.7; letter-spacing: -.01em; word-break: keep-all; -webkit-font-smoothing: antialiased; }
body a { color: inherit; text-decoration: none; }
body img { max-width: 100%; height: auto; }
/* 그누보드 기본 CSS 보정: 팝업레이어 상자가 폭 1200px 고정이라 휴대폰 기준폭을 늘려 버린다 */
#hd_pop { width: 100%; max-width: var(--nh-wrap); height: 0; margin: 0 auto; }
#hd_pop .hd_pops { max-width: calc(100vw - 20px); }
/* 기본 CSS 의 word-break: break-all 을 한국어 규칙으로 되돌림 */
.nh-header, .nh-header *, .nh-drawer *, .nh-main, .nh-main *, .nh-footer *, .nh-auth * { word-break: keep-all; overflow-wrap: break-word; }
.nh-wrap { width: 100%; max-width: var(--nh-wrap); margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.nh-skip { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--nh-navy); color: #fff; padding: 10px 16px; }
.nh-skip:focus { left: 12px; top: 12px; }
.sound_only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
*:focus-visible { outline: 2px solid var(--nh-slate); outline-offset: 3px; }

/* ── Header ───────────────────────────────── */
.nh-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); transition: box-shadow .25s ease; }
.nh-header.is-scrolled { box-shadow: 0 1px 0 var(--nh-line), 0 8px 24px -16px rgba(24,40,56,.25); }
.nh-header__in { display: flex; align-items: center; height: 88px; gap: 32px; }
.nh-logo { flex: 0 0 auto; display: block; line-height: 0; }
.nh-logo img { width: 172px; height: auto; }
.nh-gnb { margin-left: auto; }
.nh-gnb ul { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.nh-gnb a { position: relative; display: block; padding: 10px 16px; font-size: 16.5px; font-weight: 600; color: var(--nh-ink); letter-spacing: -.02em; transition: color .2s; }
.nh-gnb a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--nh-slate); transform: scaleX(0); transform-origin: center; transition: transform .25s ease; }
.nh-gnb a:hover, .nh-gnb a.is-on { color: var(--nh-slate); }
.nh-gnb a:hover::after, .nh-gnb a.is-on::after { transform: scaleX(1); }
.nh-util { display: flex; gap: 14px; font-size: 13px; color: var(--nh-mute); }
.nh-util a:hover { color: var(--nh-ink); }
.nh-burger { display: none; width: 44px; height: 44px; margin-left: auto; padding: 0; border: 0; background: none; cursor: pointer; }
.nh-burger span { display: block; width: 22px; height: 2px; margin: 5px auto; border-radius: 2px; background: var(--nh-ink); }

/* Drawer (mobile) */
.nh-drawer { position: fixed; inset: 0; z-index: 300; background: rgba(15, 25, 35, .45); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.nh-drawer.is-open { opacity: 1; visibility: visible; }
.nh-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(84vw, 340px); background: #fff; padding: 22px 26px; box-sizing: border-box; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s ease; }
.nh-drawer.is-open .nh-drawer__panel { transform: none; }
.nh-drawer__top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--nh-line); }
.nh-drawer__close { width: 40px; height: 40px; border: 0; background: none; font-size: 30px; line-height: 1; color: var(--nh-ink); cursor: pointer; }
.nh-drawer__menu { list-style: none; margin: 10px 0 0; padding: 0; }
.nh-drawer__menu a { display: block; padding: 16px 2px; font-size: 18px; font-weight: 600; color: var(--nh-ink); border-bottom: 1px solid var(--nh-soft); }
.nh-drawer__foot { margin-top: auto; font-size: 13.5px; color: var(--nh-mute); line-height: 1.8; }
.nh-drawer__foot p { margin: 0; }
.nh-drawer__login { margin-top: 10px !important; }

/* ── Common ───────────────────────────────── */
.nh-eyebrow { margin: 0 0 8px; font-family: var(--nh-serif); font-size: 19px; font-style: italic; font-weight: 500; letter-spacing: .02em; color: var(--nh-gold); }
.nh-section { padding: 110px 0; }
.nh-head { text-align: center; margin-bottom: 52px; }
.nh-head h2 { margin: 0; font-size: 36px; font-weight: 700; color: var(--nh-ink); letter-spacing: -.035em; }
.nh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 48px; padding: 0 26px; border-radius: 999px; border: 1px solid var(--nh-navy); background: var(--nh-navy); color: #fff !important; font-size: 15px; font-weight: 600; transition: background .2s, border-color .2s, color .2s, transform .2s; cursor: pointer; }
.nh-btn:hover { background: var(--nh-slate); border-color: var(--nh-slate); transform: translateY(-1px); }
.nh-btn small { font-weight: 400; opacity: .75; }
.nh-btn--line { background: #fff; color: var(--nh-ink) !important; border-color: var(--nh-line); }
.nh-btn--line:hover { background: var(--nh-soft); border-color: #cfd6dd; }
.nh-more { font-size: 14px; color: var(--nh-mute); }
.nh-more::after { content: " →"; }
.nh-more:hover { color: var(--nh-ink); }
.nh-empty { padding: 60px 0; text-align: center; color: var(--nh-mute); }

/* Thumbnails */
.nh-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--nh-radius); background: linear-gradient(135deg, #2a4054, #4a6378); }
.nh-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
a:hover .nh-thumb img { transform: scale(1.04); }
.nh-thumb__play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: transform .25s; }
.nh-thumb__play svg { width: 26px; height: 26px; margin-left: 4px; fill: var(--nh-navy); }
a:hover .nh-thumb__play { transform: scale(1.08); }
.nh-thumb--sm { flex: 0 0 150px; border-radius: 10px; }

/* ── Hero ─────────────────────────────────── */
.nh-hero { position: relative; height: min(78vh, 720px); min-height: 480px; overflow: hidden; background: var(--nh-navy); }
.nh-hero__slides, .nh-hero__slide { position: absolute; inset: 0; }
.nh-hero__slide { background: var(--bg) center / cover no-repeat; opacity: 0; transition: opacity 1.2s ease; display: flex; align-items: center; justify-content: center; }
.nh-hero__slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,24,34,.25) 0%, rgba(14,24,34,.45) 60%, rgba(14,24,34,.6) 100%); }
.nh-hero__slide.is-active { opacity: 1; }
.nh-hero__slide.is-active .nh-hero__text { animation: nhRise 1.1s ease both; }
.nh-hero__text { position: relative; max-width: 820px; padding: 0 24px 60px; text-align: center; color: #fff; }
.nh-hero__en { margin: 0 0 14px; font-family: var(--nh-serif); font-size: 24px; font-style: italic; letter-spacing: .03em; opacity: .9; }
.nh-hero__text h2 { margin: 0; font-size: clamp(30px, 4.6vw, 54px); font-weight: 700; line-height: 1.3; letter-spacing: -.04em; text-shadow: 0 2px 24px rgba(0,0,0,.25); text-wrap: balance; }
.nh-hero__verse { margin: 20px 0 0; font-size: 16px; opacity: .88; text-wrap: balance; }
.nh-hero__verse span { display: inline-block; margin-left: 6px; opacity: .8; font-size: 14px; }
.nh-hero__nav { position: absolute; top: 50%; z-index: 3; width: 52px; height: 52px; margin-top: -26px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: rgba(255,255,255,.08); cursor: pointer; transition: background .2s; }
.nh-hero__nav:hover { background: rgba(255,255,255,.22); }
.nh-hero__nav svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nh-hero__nav.is-prev { left: 32px; } .nh-hero__nav.is-next { right: 32px; }
.nh-hero__dots { position: absolute; left: 0; right: 0; bottom: 130px; z-index: 3; display: flex; justify-content: center; gap: 10px; }
.nh-hero__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 8px; background: rgba(255,255,255,.5); cursor: pointer; transition: width .3s, background .3s; }
.nh-hero__dots button.is-on { width: 28px; background: #fff; }
@keyframes nhRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ── Quick cards (hero 위로 겹침) ─────────── */
.nh-quick { position: relative; z-index: 5; margin-top: -96px; }
.nh-quick__list { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; background: #fff; border-radius: 20px; box-shadow: var(--nh-shadow); overflow: hidden; }
.nh-quick__list li + li { box-shadow: -1px 0 0 var(--nh-line); }
.nh-quick__list a { display: flex; flex-direction: column; align-items: center; padding: 42px 16px 38px; text-align: center; transition: background .25s; }
.nh-quick__list a:hover { background: var(--nh-soft); }
.nh-quick__list svg { width: 40px; height: 40px; margin-bottom: 16px; fill: none; stroke: var(--nh-slate); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.nh-quick__list svg .f { fill: var(--nh-slate); stroke: none; }
.nh-quick__list a:hover svg { transform: translateY(-3px); }
.nh-quick__list strong { font-size: 19px; font-weight: 700; color: var(--nh-ink); }
.nh-quick__list span { margin-top: 4px; font-size: 14px; color: var(--nh-mute); }

/* ── Sermon (home) ────────────────────────── */
.nh-sermon__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: stretch; }
.nh-sermon__feature { position: relative; display: flex; align-items: flex-end; min-height: 400px; padding: 44px; border-radius: 22px; overflow: hidden; color: #fff; isolation: isolate; box-shadow: var(--nh-shadow); }
.nh-sermon__feature::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--bg) center / cover no-repeat; transition: transform .8s ease; }
.nh-sermon__feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(20deg, rgba(18,30,42,.94) 20%, rgba(18,30,42,.55) 70%, rgba(18,30,42,.3)); }
.nh-sermon__feature:hover::before { transform: scale(1.04); }
.nh-sermon__badge { position: absolute; top: 28px; left: 32px; padding: 5px 14px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.nh-sermon__meta { max-width: 560px; }
.nh-sermon__date { margin: 0; font-size: 15px; color: #e7d6b4; font-weight: 600; }
.nh-sermon__meta h3 { margin: 8px 0 10px; font-size: clamp(26px, 3vw, 36px); font-weight: 700; line-height: 1.3; letter-spacing: -.04em; text-wrap: balance; }
.nh-sermon__text { margin: 0; color: rgba(255,255,255,.78); }
.nh-sermon__watch { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; font-size: 15px; font-weight: 600; }
.nh-sermon__play { width: 48px; height: 48px; border-radius: 50%; background: #fff; display: grid; place-items: center; transition: transform .25s; }
.nh-sermon__play svg { width: 20px; height: 20px; margin-left: 3px; fill: var(--nh-navy); }
.nh-sermon__feature:hover .nh-sermon__play { transform: scale(1.08); }
.nh-sermon__list { display: flex; flex-direction: column; list-style: none; margin: 0; padding: 0; }
.nh-sermon__list li { flex: 1; }
.nh-sermon__list li + li { border-top: 1px solid var(--nh-line); }
.nh-sermon__list a { display: flex; gap: 16px; align-items: center; justify-content: space-between; height: 100%; padding: 22px 4px; box-sizing: border-box; }
.nh-sermon__li { display: flex; flex-direction: column; min-width: 0; }
.nh-sermon__li em { font-style: normal; font-size: 13.5px; color: var(--nh-gold); font-weight: 600; }
.nh-sermon__li strong { margin: 2px 0; font-size: 19px; font-weight: 700; color: var(--nh-ink); line-height: 1.4; letter-spacing: -.025em; }
.nh-sermon__li small { font-size: 14.5px; color: var(--nh-mute); }
.nh-sermon__arrow { flex: 0 0 42px; height: 42px; border-radius: 50%; border: 1px solid var(--nh-line); display: grid; place-items: center; transition: all .2s; }
.nh-sermon__arrow svg { width: 15px; height: 15px; margin-left: 2px; fill: var(--nh-slate); }
.nh-sermon__list a:hover strong { color: var(--nh-slate); }
.nh-sermon__list a:hover .nh-sermon__arrow { background: var(--nh-navy); border-color: var(--nh-navy); }
.nh-sermon__list a:hover .nh-sermon__arrow svg { fill: #fff; }
.nh-sermon__more { flex: 0 0 auto !important; padding-top: 4px; }
.nh-sermon__more a { justify-content: flex-end; padding: 18px 4px 0; height: auto; font-size: 15px; font-weight: 600; color: var(--nh-slate); }

/* ── Banners ──────────────────────────────── */
.nh-banners { padding-bottom: 110px; }
.nh-banners__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.nh-banner { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; padding: 40px; border-radius: 20px; overflow: hidden; color: #fff; isolation: isolate; }
.nh-banner::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--bg) center / cover no-repeat; transition: transform .8s ease; }
.nh-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(200deg, rgba(20,34,48,.05) 20%, rgba(20,34,48,.72) 100%); }
.nh-banner:hover::before { transform: scale(1.05); }
/* 밝은 사진(환영합니다 — 창가의 커피와 책)은 흰 글씨가 묻히지 않게 아래를 더 어둡게 */
.nh-banner--light::after { background: linear-gradient(200deg, rgba(20,34,48,.1) 5%, rgba(20,34,48,.55) 45%, rgba(20,34,48,.86) 100%); }
.nh-banner__en { font-family: var(--nh-serif); font-style: italic; font-size: 20px; opacity: .9; }
.nh-banner strong { font-size: 32px; font-weight: 700; letter-spacing: -.035em; line-height: 1.3; }
.nh-banner__desc { margin-top: 4px; font-size: 15px; opacity: .88; }

/* ── News (bulletin + times) ──────────────── */
.nh-news { background: var(--nh-soft); }
.nh-news__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: start; }
.nh-card { background: #fff; border-radius: 20px; padding: 36px 38px; box-shadow: 0 1px 0 rgba(24,40,56,.04); }
.nh-card__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.nh-card__head h2 { margin: 0; font-size: 23px; font-weight: 700; color: var(--nh-ink); letter-spacing: -.03em; }
.nh-bulletin { list-style: none; margin: 0; padding: 0; }
.nh-bulletin li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 0; border-top: 1px solid var(--nh-line); }
.nh-bulletin li:first-child { border-top: 0; }
.nh-bulletin__title { color: var(--nh-ink); font-weight: 500; }
.nh-bulletin__title:hover { color: var(--nh-slate); }
.nh-bulletin__pdf { flex: 0 0 auto; padding: 3px 12px; border: 1px solid var(--nh-line); border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--nh-slate); transition: all .2s; }
.nh-bulletin__pdf:hover { background: var(--nh-navy); border-color: var(--nh-navy); color: #fff; }
.nh-card--times { background: var(--nh-navy); color: #dfe6ec; }
.nh-card--times h2 { color: #fff; }
.nh-card--times .nh-more { color: #aebccb; }
.nh-card--times .nh-more:hover { color: #fff; }
.nh-times { margin: 0; }
.nh-times div { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-top: 1px solid rgba(255,255,255,.12); }
.nh-times div:first-child { border-top: 0; }
.nh-times dt { color: #fff; font-weight: 600; }
.nh-times dd { margin: 0; color: #c4d0db; }

/* ── Visit ────────────────────────────────── */
.nh-visit { display: grid; grid-template-columns: 1.4fr 1fr; min-height: 440px; }
.nh-visit__map iframe { display: block; width: 100%; height: 100%; min-height: 440px; border: 0; filter: grayscale(.25); }
.nh-visit__info { display: flex; flex-direction: column; justify-content: center; padding: 60px 56px; background: #fff; }
.nh-visit__info h2 { margin: 0 0 14px; font-size: 32px; font-weight: 700; color: var(--nh-ink); letter-spacing: -.035em; }
.nh-visit__addr { margin: 0 0 18px; font-size: 18px; color: var(--nh-ink); }
.nh-visit__info ul { list-style: none; margin: 0 0 28px; padding: 0; }
.nh-visit__info li { display: flex; gap: 14px; padding: 6px 0; }
.nh-visit__info li span { width: 56px; color: var(--nh-mute); font-size: 14px; }
.nh-visit__info .nh-btn { align-self: flex-start; }

/* ── Footer ───────────────────────────────── */
.nh-footer { background: #17232f; color: #9aa8b5; font-size: 14.5px; }
.nh-footer__in { display: grid; grid-template-columns: 1.1fr 1.6fr auto; gap: 48px; padding-top: 64px; padding-bottom: 56px; }
.nh-footer__name { margin: 0; font-size: 22px; font-weight: 700; color: #fff; letter-spacing: -.03em; }
.nh-footer__en { margin: 2px 0 14px; font-family: var(--nh-serif); font-style: italic; font-size: 18px; color: var(--nh-gold); }
.nh-footer__motto { margin: 0; }
.nh-footer__info { margin: 0; }
.nh-footer__info div { display: flex; gap: 16px; padding: 3px 0; }
.nh-footer__info dt { width: 52px; color: #6f7f8e; }
.nh-footer__info dd { margin: 0; color: #c8d2db; }
.nh-footer__info a:hover { color: #fff; }
.nh-footer__menu { list-style: none; margin: 0; padding: 0; }
.nh-footer__menu li { padding: 3px 0; }
.nh-footer__menu a:hover { color: #fff; }
.nh-footer__copy { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; font-size: 13px; color: #6f7f8e; }
.nh-top { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 46px; height: 46px; border: 0; border-radius: 50%; background: #fff; color: var(--nh-navy); box-shadow: var(--nh-shadow-s); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s; }
.nh-top.is-show { opacity: 1; visibility: visible; transform: none; }

/* ── Sub page ─────────────────────────────── */
.nh-subhero { position: relative; display: flex; align-items: center; height: 300px; background: var(--bg, none) center / cover no-repeat var(--nh-navy); color: #fff; text-align: center; isolation: isolate; }
.nh-subhero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16,28,40,.45), rgba(16,28,40,.65)); }
.nh-subhero .nh-eyebrow { color: #e7d6b4; font-size: 21px; }
.nh-subhero h1 { margin: 0; font-size: clamp(30px, 4vw, 44px); font-weight: 700; letter-spacing: -.04em; }
.nh-content { padding-top: 80px; padding-bottom: 120px; }
.nh-lead { margin: 0 auto 56px; max-width: 760px; text-align: center; font-size: 19px; line-height: 1.9; color: var(--nh-ink); }
.nh-h2 { margin: 72px 0 22px; font-size: 26px; font-weight: 700; color: var(--nh-ink); letter-spacing: -.03em; text-align: center; }

/* 예배안내 */
.nh-worship-main { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 880px; margin: 0 auto; }
.nh-worship-card { padding: 44px 30px; border-radius: 20px; background: var(--nh-soft); text-align: center; }
.nh-worship-card:first-child { background: var(--nh-navy); color: #fff; }
.nh-worship-card__en { margin: 0; font-family: var(--nh-serif); font-style: italic; font-size: 19px; color: var(--nh-gold); }
.nh-worship-card h2, .nh-worship-card h3 { margin: 6px 0 10px; font-size: 22px; font-weight: 700; }
.nh-worship-card__time { margin: 0; font-size: 40px; font-weight: 700; letter-spacing: -.03em; line-height: 1.2; }
.nh-worship-card__place { margin: 8px 0 0; font-size: 15px; opacity: .7; }
.nh-worship-card:not(:first-child) .nh-worship-card__place { opacity: 1; color: var(--nh-text); }
.nh-worship-card:not(:first-child) .nh-worship-card__en { color: #7d6434; }
.nh-table-wrap { max-width: 880px; margin: 0 auto; }
.nh-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.nh-table thead th { padding: 14px 16px; font-size: 14px; font-weight: 600; color: var(--nh-mute); text-align: left; border-bottom: 2px solid var(--nh-ink); }
.nh-table tbody th, .nh-table tbody td { padding: 18px 16px; text-align: left; border-bottom: 1px solid var(--nh-line); vertical-align: top; }
.nh-table tbody th { font-weight: 600; color: var(--nh-ink); white-space: nowrap; }
.nh-table tbody tr:hover { background: #fafbfc; }
.nh-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 880px; margin: 72px auto 0; padding: 30px 36px; border-radius: 20px; background: var(--nh-soft); }
.nh-cta strong { display: block; font-size: 19px; color: var(--nh-ink); }
.nh-cta span { color: var(--nh-mute); }

/* 오시는길 */
.nh-location { display: grid; grid-template-columns: 1fr 1.4fr; gap: 0; border-radius: 22px; overflow: hidden; box-shadow: var(--nh-shadow); }
.nh-location__info { padding: 52px 48px; background: #fff; }
.nh-location__info h2 { margin: 0; font-size: 30px; font-weight: 700; color: var(--nh-ink); letter-spacing: -.035em; }
.nh-location__en { margin: 0 0 30px; font-family: var(--nh-serif); font-style: italic; font-size: 20px; color: var(--nh-gold); }
.nh-location__info dl { margin: 0 0 34px; }
.nh-location__info dl div { padding: 16px 0; border-top: 1px solid var(--nh-line); }
.nh-location__info dt { font-size: 13.5px; color: var(--nh-mute); }
.nh-location__info dd { margin: 2px 0 0; font-size: 17.5px; color: var(--nh-ink); font-weight: 500; }
.nh-location__map iframe { display: block; width: 100%; height: 100%; min-height: 480px; border: 0; }
.nh-entrance { display: flex; gap: 16px; align-items: center; margin: 0 0 30px; padding: 14px; border-radius: 16px; background: var(--nh-soft); }
.nh-entrance img { flex: 0 0 132px; width: 132px; height: 88px; object-fit: cover; border-radius: 10px; }
.nh-entrance figcaption { font-size: 14.5px; line-height: 1.6; color: var(--nh-text); }
.nh-entrance strong { display: block; font-size: 15px; color: var(--nh-ink); }
.nh-entrance b { color: var(--nh-ink); }

/* 환영과 담임목사소개 */
.nh-welcome { text-align: center; }
.nh-welcome__hi { margin: 0 0 14px; font-size: 30px; font-weight: 700; color: var(--nh-ink); letter-spacing: -.03em; }
.nh-welcome__body { max-width: 760px; margin: 0 auto; font-size: 17px; line-height: 2; }
.nh-about { max-width: 920px; margin: 100px auto 0; }
.nh-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 6px; border-radius: 16px; background: var(--nh-soft); margin-bottom: 44px; }
.nh-tabs button { padding: 14px 8px; border: 0; border-radius: 12px; background: transparent; font-family: inherit; font-size: 16px; font-weight: 600; color: var(--nh-mute); cursor: pointer; transition: all .2s; }
.nh-tabs button small { display: block; font-family: var(--nh-serif); font-style: italic; font-size: 14px; font-weight: 500; opacity: .8; }
.nh-tabs button.is-on { background: #fff; color: var(--nh-ink); box-shadow: var(--nh-shadow-s); }
.nh-panel { font-size: 16.5px; line-height: 1.95; }
.nh-quote { margin: 32px 0; padding: 40px 30px; border-radius: 20px; background: var(--nh-navy); color: #fff; text-align: center; }
.nh-quote p { margin: 0; font-size: 24px; font-weight: 700; line-height: 1.5; letter-spacing: -.03em; }
.nh-quote cite { display: block; margin-top: 10px; font-family: var(--nh-serif); font-style: italic; font-size: 18px; color: #e7d6b4; }
.nh-verse { text-align: center; color: var(--nh-ink); font-weight: 500; }
.nh-verse span { display: block; font-size: 14px; color: var(--nh-mute); font-weight: 400; }
.nh-values { list-style: none; margin: 28px 0 0; padding: 0; }
.nh-values li { display: flex; gap: 22px; padding: 26px 0; border-top: 1px solid var(--nh-line); }
.nh-values b { flex: 0 0 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--nh-soft); font-family: var(--nh-serif); font-size: 28px; color: var(--nh-slate); }
.nh-values strong { display: block; font-size: 18px; color: var(--nh-ink); }
.nh-values em { display: block; font-family: var(--nh-serif); font-size: 16.5px; color: var(--nh-gold); }
.nh-values p { margin: 6px 0 0; }
.nh-strategy { list-style: none; counter-reset: s; margin: 0; padding: 0; }
.nh-strategy li { counter-increment: s; position: relative; padding: 26px 0 26px 64px; border-top: 1px solid var(--nh-line); }
.nh-strategy li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 24px; font-family: var(--nh-serif); font-size: 30px; font-weight: 600; color: var(--nh-gold); line-height: 1; }
.nh-strategy strong { display: block; font-size: 18px; color: var(--nh-ink); margin-bottom: 4px; }
.nh-strategy p { margin: 0; }
.nh-pastor { max-width: 920px; margin: 110px auto 0; text-align: center; }
.nh-pastor h2 { margin: 0 0 28px; font-size: 30px; font-weight: 700; color: var(--nh-ink); letter-spacing: -.035em; }
/* 환영인사 본문 · 담임목사 프로필 (2026-09-27 교회 자료 반영) */
.nh-welcome__hi .nh-nw { display: inline-block; white-space: nowrap; }
.nh-welcome__body { max-width: 680px; text-align: left; }
.nh-welcome__body p { margin: 0 0 1.2em; text-wrap: pretty; }
.nh-welcome__body p:last-child { margin-bottom: 0; }
/* 환영의 글 재정리(2026-09-30): 말씀 인용 상자 · 본문 양쪽 정렬(교회 요청) · 초대 문장 */
.nh-welcome__scripture { max-width: 680px; margin: 0 auto 36px; padding: 30px 28px 26px; border-radius: 18px; background: var(--nh-soft); text-align: center; }
.nh-welcome__scripture p { margin: 0; font-size: 19px; font-weight: 600; line-height: 1.75; letter-spacing: -.02em; color: var(--nh-ink); }
.nh-welcome__scripture cite { display: block; margin-top: 10px; font-style: normal; font-size: 14.5px; color: var(--nh-mute); }
.nh-welcome__body p { text-align: justify; text-justify: inter-character; }
.nh-welcome__invite { max-width: 680px; margin: 28px auto 0; font-size: 17px; font-weight: 600; line-height: 1.7; color: var(--nh-ink); text-wrap: balance; }
.nh-welcome__note { max-width: 680px; margin: 40px auto 0; padding-top: 22px; border-top: 1px solid var(--nh-line); font-size: 15px; color: var(--nh-mute); }
.nh-profile { display: grid; grid-template-columns: 200px 1fr; gap: 44px; align-items: center; max-width: 760px; margin: 0 auto; padding: 48px 52px; border-radius: 22px; background: linear-gradient(135deg, #f6f3ec, #f1f4f7); text-align: left; }
.nh-profile__photo { margin: 0; }
.nh-profile__photo img { display: block; width: 200px; height: auto; border-radius: 16px; box-shadow: 0 16px 34px -20px rgba(24, 40, 56, .5); }
.nh-profile__role { margin: 0; font-size: 14.5px; font-weight: 600; letter-spacing: .06em; color: var(--nh-slate); }
.nh-profile__name { margin: 2px 0 18px; font-size: 30px; font-weight: 700; line-height: 1.3; letter-spacing: -.03em; color: var(--nh-ink); }
.nh-profile__cv { margin: 0; padding: 0; list-style: none; }
.nh-profile__cv li { padding: 12px 0; border-top: 1px solid rgba(31, 51, 70, .1); font-size: 16px; line-height: 1.6; color: var(--nh-text); text-wrap: balance; }
.nh-profile__cv li:first-child { padding-top: 0; border-top: 0; }
/* 교회연혁 (2026-09-30) — 왼쪽 세로선 없이, 연도는 왼쪽 칸 · 해마다 가로선으로 구분 */
.nh-history { max-width: 920px; margin: 110px auto 0; scroll-margin-top: 100px; }
.nh-history__head { text-align: center; }
.nh-history__head h2 { margin: 0 0 28px; font-size: 30px; font-weight: 700; color: var(--nh-ink); letter-spacing: -.035em; }
.nh-history__list { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--nh-ink); }
.nh-history__year { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 22px 8px; border-bottom: 1px solid var(--nh-line); }
.nh-history__year h3 { margin: 0; font-size: 26px; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--nh-slate); }
.nh-history__year ul { margin: 0; padding: 0; list-style: none; }
.nh-history__year ul li { display: flex; gap: 16px; padding: 5px 0; }
.nh-history__year time { flex: 0 0 104px; padding-top: 2px; font-size: 14.5px; font-variant-numeric: tabular-nums; color: var(--nh-mute); }
.nh-history__year ul p { margin: 0; line-height: 1.75; color: var(--nh-text); }

/* 숨겨 둔 옛 페이지 호환 */
.nh-legacy img { max-width: 100%; }

/* ── Board ────────────────────────────────── */
.nh-board__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 30px; }
.nh-board__count { margin: 0; color: var(--nh-mute); font-size: 15px; }
.nh-board__count strong { color: var(--nh-ink); }
.nh-search { display: flex; align-items: center; width: min(100%, 320px); height: 46px; padding: 0 6px 0 18px; border: 1px solid var(--nh-line); border-radius: 999px; background: #fff; box-sizing: border-box; transition: border-color .2s, box-shadow .2s; }
.nh-search:focus-within { border-color: var(--nh-slate); box-shadow: 0 0 0 4px rgba(74,99,120,.1); }
.nh-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; font-family: inherit; font-size: 15px; color: var(--nh-ink); outline: none; }
.nh-search button { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--nh-soft); cursor: pointer; display: grid; place-items: center; }
.nh-search svg, .nh-blist svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nh-vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.nh-scard { display: flex; flex-direction: column; height: 100%; min-height: 250px; padding: 32px 30px 26px; border-radius: 20px; background: var(--nh-soft); box-sizing: border-box; transition: background .3s, color .3s, transform .3s, box-shadow .3s; }
.nh-scard__date { font-style: normal; font-size: 14px; font-weight: 600; color: var(--nh-gold); }
.nh-scard__title { margin: 10px 0 8px; font-size: 22px; font-weight: 700; line-height: 1.4; letter-spacing: -.035em; color: var(--nh-ink); text-wrap: balance; transition: color .3s; }
.nh-scard__text { font-size: 15px; color: var(--nh-mute); transition: color .3s; }
.nh-scard__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 26px; font-size: 14px; color: var(--nh-mute); transition: color .3s; }
.nh-scard__play { width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--nh-shadow-s); }
.nh-scard__play svg { width: 16px; height: 16px; margin-left: 2px; fill: var(--nh-navy); }
.nh-scard:hover { background: var(--nh-navy); transform: translateY(-4px); box-shadow: var(--nh-shadow); }
.nh-scard:hover .nh-scard__title { color: #fff; }
.nh-scard:hover .nh-scard__text, .nh-scard:hover .nh-scard__foot { color: #b9c6d2; }
.nh-scard:hover .nh-scard__date { color: #e7d6b4; }
.nh-vgrid li:first-child .nh-scard { background: var(--nh-navy); }
.nh-vgrid li:first-child .nh-scard__title { color: #fff; }
.nh-vgrid li:first-child .nh-scard__text, .nh-vgrid li:first-child .nh-scard__foot { color: #b9c6d2; }
.nh-vgrid li:first-child .nh-scard__date { color: #e7d6b4; }
.nh-blist { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--nh-ink); }
.nh-blist li { display: flex; align-items: center; gap: 18px; padding: 20px 8px; border-bottom: 1px solid var(--nh-line); transition: background .2s; }
.nh-blist li:hover { background: #fafbfc; }
.nh-blist__icon { flex: 0 0 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--nh-soft); color: var(--nh-slate); }
.nh-blist__title { flex: 1; min-width: 0; font-size: 17.5px; font-weight: 600; color: var(--nh-ink); }
.nh-blist__title span { font-weight: 400; color: var(--nh-mute); }
.nh-blist__title:hover { color: var(--nh-slate); }
.nh-blist__date { font-size: 14px; color: var(--nh-mute); }
.nh-blist__pdf { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border: 1px solid var(--nh-line); border-radius: 999px; font-size: 13.5px; font-weight: 700; color: var(--nh-slate); transition: all .2s; }
.nh-blist__pdf:hover { background: var(--nh-navy); border-color: var(--nh-navy); color: #fff; }
.nh-board__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; }
.nh-board__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.nh-paging .pg_wrap { float: none; display: block; margin: 0; }
.nh-paging .pg { display: flex; gap: 4px; flex-wrap: wrap; }
.nh-paging .pg_page, .nh-paging .pg_current { display: inline-grid; place-items: center; min-width: 38px; height: 38px; padding: 0 6px; border: 0; border-radius: 10px; background: none; font-size: 15px; color: var(--nh-text); box-sizing: border-box; }
.nh-paging .pg_page:hover { background: var(--nh-soft); }
.nh-paging .pg_current { background: var(--nh-navy); color: #fff; font-weight: 700; }
.nh-paging .pg_start, .nh-paging .pg_prev, .nh-paging .pg_next, .nh-paging .pg_end { text-indent: 0; font-size: 13px; }

.nh-view { max-width: 960px; margin: 0 auto; }
.nh-view__head { text-align: center; margin-bottom: 36px; }
.nh-view__date { margin: 0; font-size: 15px; font-weight: 600; color: var(--nh-gold); }
.nh-view__title { margin: 6px 0 12px; font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; color: var(--nh-ink); letter-spacing: -.04em; line-height: 1.35; }
.nh-view__meta { margin: 0; display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; color: var(--nh-mute); }
.nh-video { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; box-shadow: var(--nh-shadow); }
.nh-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.nh-view__yt { margin: 14px 0 0; text-align: right; font-size: 14px; }
.nh-view__yt a { color: var(--nh-mute); }
.nh-view__yt a:hover { color: var(--nh-ink); }
.nh-view__dl { justify-content: center; margin-bottom: 30px; }
.nh-pdf { aspect-ratio: 1 / 1.3; max-height: 1200px; border-radius: 16px; overflow: hidden; border: 1px solid var(--nh-line); background: var(--nh-soft); }
.nh-pdf iframe { width: 100%; height: 100%; border: 0; }
.nh-view__body { margin-top: 36px; }
.nh-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.nh-prevnext a { display: flex; flex-direction: column; padding: 20px 24px; border-radius: 14px; background: var(--nh-soft); transition: background .2s; min-width: 0; }
.nh-prevnext a:hover { background: #e9edf1; }
.nh-prevnext a.is-next { text-align: right; }
.nh-prevnext span { font-size: 13px; color: var(--nh-mute); }
.nh-prevnext strong { font-weight: 600; color: var(--nh-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nh-view__btns { justify-content: center; margin-top: 40px; }

/* 그누보드 기본 화면(로그인·글쓰기 등) 이 테마 안에서 자연스럽게 */
.nh-content #fwrite, .nh-content .mbskin, .nh-content #bo_w { max-width: 880px; margin-left: auto; margin-right: auto; }
.nh-content .frm_input, .nh-content .full_input { box-sizing: border-box; }

/* ── Login ────────────────────────────────── */
.nh-auth { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 100vh; background: #fff; }
.nh-auth__side { position: relative; display: flex; align-items: flex-end; padding: 64px; color: #fff; isolation: isolate; }
.nh-auth__side::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--bg) center 40% / cover no-repeat; }
.nh-auth__side::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(20deg, rgba(18,30,42,.92) 15%, rgba(18,30,42,.45) 75%); }
.nh-auth__side .nh-eyebrow { color: #e7d6b4; font-size: 22px; }
.nh-auth__verse { margin: 0; font-size: 34px; font-weight: 700; line-height: 1.4; letter-spacing: -.04em; }
.nh-auth__main { display: flex; flex-direction: column; justify-content: center; width: 100%; max-width: 440px; margin: 0 auto; padding: 60px 28px; box-sizing: border-box; }
.nh-auth__logo { align-self: flex-start; line-height: 0; margin-bottom: 48px; }
.nh-auth__logo img { width: 150px; height: auto; }
.nh-auth__title { margin: 0; font-size: 34px; font-weight: 700; color: var(--nh-ink); letter-spacing: -.04em; }
.nh-auth__desc { margin: 6px 0 34px; color: var(--nh-mute); }
.nh-field { display: block; margin-bottom: 16px; }
.nh-field span { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 600; color: var(--nh-ink); }
.nh-field input { width: 100%; height: 54px; padding: 0 18px; border: 1px solid var(--nh-line); border-radius: 12px; background: #fff; font-family: inherit; font-size: 16px; color: var(--nh-ink); box-sizing: border-box; transition: border-color .2s, box-shadow .2s; }
.nh-field input:focus { outline: none; border-color: var(--nh-slate); box-shadow: 0 0 0 4px rgba(74,99,120,.12); }
.nh-auth__row { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 26px; font-size: 14.5px; }
.nh-check { display: inline-flex; align-items: center; gap: 8px; color: var(--nh-text); cursor: pointer; }
.nh-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nh-check span { width: 20px; height: 20px; border: 1.5px solid #c9d1d9; border-radius: 6px; background: #fff; transition: all .2s; }
.nh-check input:checked + span { background: var(--nh-navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; border-color: var(--nh-navy); }
.nh-check input:focus-visible + span { outline: 2px solid var(--nh-slate); outline-offset: 2px; }
.nh-auth__link { color: var(--nh-mute); }
.nh-auth__link:hover { color: var(--nh-ink); }
.nh-auth__submit { width: 100%; height: 56px; font-size: 16.5px; }
.nh-auth__foot { margin: 28px 0 0; text-align: center; font-size: 14.5px; color: var(--nh-mute); }
.nh-auth__foot a { margin-left: 6px; font-weight: 600; color: var(--nh-slate); }
.nh-auth__home { align-self: center; margin-top: 18px; font-size: 14px; color: var(--nh-mute); }
.nh-auth__home:hover { color: var(--nh-ink); }
.nh-auth #sns_login { margin-top: 24px; }

/* ── Write form (설교·주보 등록) ───────────── */
.nh-form-wrap { max-width: 820px; margin: 0 auto; }
.nh-form-head { text-align: center; margin-bottom: 36px; }
.nh-form-head h2 { margin: 0 0 6px; font-size: 32px; font-weight: 700; color: var(--nh-ink); letter-spacing: -.04em; }
.nh-form-head p:last-child { margin: 0; color: var(--nh-mute); }
.nh-form__section { margin-bottom: 20px; padding: 30px 32px 14px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--nh-line), 0 10px 30px -22px rgba(24,40,56,.3); }
.nh-form__section h3 { margin: 0 0 18px; font-size: 17px; font-weight: 700; color: var(--nh-ink); letter-spacing: -.02em; }
.nh-form__section h3 small { margin-left: 6px; font-size: 13px; font-weight: 500; color: var(--nh-mute); }
.nh-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.nh-form .nh-field { margin-bottom: 18px; }
.nh-field em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--nh-gold); margin-left: 2px; }
.nh-field select, .nh-field textarea { width: 100%; min-height: 54px; padding: 0 18px; border: 1px solid var(--nh-line); border-radius: 12px; background: #fff; font-family: inherit; font-size: 16px; color: var(--nh-ink); box-sizing: border-box; }
.nh-field input::placeholder { color: #a7b1bb; }
.nh-field__help { display: block; margin-top: 7px; font-size: 13.5px; line-height: 1.6; color: var(--nh-mute); }
.nh-field__help b { color: var(--nh-ink); font-weight: 600; }
.nh-datefield { display: flex; gap: 8px; }
.nh-datefield input[type=text] { flex: 1; min-width: 0; }
.nh-datefield__pick { position: relative; flex: 0 0 54px; height: 54px; border: 1px solid var(--nh-line); border-radius: 12px; display: grid; place-items: center; background: #fff; cursor: pointer; transition: border-color .2s, background .2s; }
.nh-datefield__pick:hover { background: var(--nh-soft); }
.nh-datefield__pick svg { width: 22px; height: 22px; fill: none; stroke: var(--nh-slate); stroke-width: 1.7; stroke-linecap: round; }
.nh-field .nh-datefield__pick input[type=date] { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.nh-datefield__pick input[type=date]::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.nh-datefield__sun { flex: 0 0 auto; height: 54px; padding: 0 16px; border: 1px solid var(--nh-line); border-radius: 12px; background: #fff; font-family: inherit; font-size: 14.5px; font-weight: 600; color: var(--nh-slate); cursor: pointer; white-space: nowrap; transition: background .2s; }
.nh-datefield__sun:hover { background: var(--nh-soft); }
/* hidden 속성이 display 지정에 덮이지 않게 */
.nh-form [hidden], .nh-form-wrap [hidden] { display: none !important; }
/* 유튜브 미리보기 */
.nh-ytpreview { display: flex; align-items: center; gap: 16px; margin: -4px 0 18px; padding: 12px; border-radius: 14px; background: var(--nh-soft); }
.nh-ytpreview img { flex: 0 0 160px; width: 160px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 9px; background: #dde3e8; }
.nh-ytpreview p { margin: 0; display: flex; flex-direction: column; font-size: 13.5px; color: var(--nh-mute); }
.nh-ytpreview strong { font-size: 15px; color: #2f7d55; }
.nh-ytpreview.is-bad { background: #fbf1ef; }
.nh-ytpreview.is-bad strong { color: #b4462f; }
/* 파일 */
.nh-file__input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.nh-file { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.nh-file__btn { flex: 0 0 auto; height: 46px; padding: 0 20px; border: 1px solid var(--nh-line); border-radius: 999px; display: inline-flex; align-items: center; font-size: 14.5px; font-weight: 600; color: var(--nh-ink); cursor: pointer; transition: background .2s; }
.nh-file__btn:hover { background: var(--nh-soft); }
.nh-file__name { font-size: 14px; color: var(--nh-mute); overflow-wrap: anywhere; }
.nh-file.is-picked .nh-file__name, .nh-filecard.is-picked .nh-file__name { color: var(--nh-ink); font-weight: 500; }
.nh-file__del { margin: 0 0 14px; font-size: 14px; }
.nh-files { display: grid; gap: 14px; padding-bottom: 16px; }
.nh-filecard { position: relative; display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 16px; padding: 16px 18px; border: 1.5px dashed #d5dce2; border-radius: 16px; transition: border-color .2s, background .2s; }
.nh-filecard.is-picked { border-style: solid; border-color: var(--nh-slate); background: #f7f9fb; }
.nh-filecard__icon { position: relative; width: 56px; height: 56px; border-radius: 12px; background: var(--nh-soft); display: grid; place-items: center; overflow: hidden; }
.nh-filecard__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--nh-slate); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.nh-filecard__thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nh-filecard__body { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.nh-filecard__body strong { font-size: 15.5px; color: var(--nh-ink); }
.nh-filecard__cur { font-size: 13px; color: var(--nh-slate); overflow-wrap: anywhere; }
.nh-filecard .nh-check { margin-top: 4px; font-size: 13.5px; }
.nh-filecard__btn { height: 42px; padding: 0 18px; font-size: 14px; }
.nh-filecard__desc { grid-column: 1 / -1; height: 44px; padding: 0 14px; border: 1px solid var(--nh-line); border-radius: 10px; font-family: inherit; }
/* 에디터 */
.nh-editor { border-radius: 12px; overflow: hidden; }
.nh-editor iframe, .nh-editor textarea { width: 100% !important; box-sizing: border-box; }
.nh-editor textarea { min-height: 260px; padding: 14px 16px; border: 1px solid var(--nh-line); border-radius: 12px; font-family: inherit; font-size: 15.5px; }
/* 저장공간 막대 */
.nh-meter { margin: 4px 0 18px; padding: 14px 16px; border-radius: 14px; background: var(--nh-soft); }
.nh-meter__row { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: var(--nh-mute); }
.nh-meter__row b { color: var(--nh-ink); font-weight: 600; }
.nh-meter__bar { height: 8px; margin: 8px 0 6px; border-radius: 8px; background: #e2e7ec; overflow: hidden; }
.nh-meter__bar i { display: block; height: 100%; border-radius: 8px; background: var(--nh-slate); }
.nh-meter.is-warn .nh-meter__bar i { background: var(--nh-gold); }
.nh-meter.is-full .nh-meter__bar i { background: #b4462f; }
.nh-meter.is-full .nh-meter__row small { color: #b4462f; font-weight: 600; }
/* 에디터 '단축키 일람' 버튼 */
.nh-editor .cke_sc { text-align: right; margin-bottom: 6px; }
.nh-editor .btn_cke_sc { height: 30px; padding: 0 12px; border: 1px solid var(--nh-line); border-radius: 999px; background: #fff; font-family: inherit; font-size: 12.5px; color: var(--nh-mute); cursor: pointer; }
.nh-editor .btn_cke_sc:hover { color: var(--nh-ink); background: var(--nh-soft); }
.nh-form__options { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 6px 4px 20px; }
.nh-form__captcha { margin: 0 4px 20px; }
.nh-form__actions { display: flex; justify-content: center; gap: 12px; margin-top: 30px; }
.nh-form__actions .nh-btn { min-width: 150px; height: 54px; font-size: 16px; }

/* ── 터치 영역·가독성 보정 (2026-09-25 모바일 실측 결과) ── */
/* 히어로 점: 보이는 크기는 그대로, 누르는 영역만 28x28 */
.nh-hero__dots { gap: 2px; }
.nh-hero__dots button { position: relative; width: 28px; height: 28px; background: none !important; border-radius: 0; }
.nh-hero__dots button::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 8px; background: rgba(255,255,255,.5); transition: width .3s, margin .3s, background .3s; }
.nh-hero__dots button.is-on::before { width: 28px; margin-left: -14px; background: #fff; }
.nh-hero__dots button.is-on { width: 40px; }
/* 링크류 누르는 영역 */
.nh-more { display: inline-flex; align-items: center; min-height: 40px; }
.nh-bulletin__title { flex: 1; min-width: 0; padding: 10px 0; }
.nh-bulletin__pdf { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; font-size: 13px; }
.nh-visit__info li a, .nh-location__info dd a, .nh-footer__info dd a, .nh-footer__menu a, .nh-view__yt a { display: inline-flex; align-items: center; min-height: 40px; }
.nh-footer__info div { padding: 0; align-items: center; min-height: 32px; }
.nh-footer__menu li { padding: 0; }
.nh-blist__title { padding: 8px 0; }
.nh-search { height: 50px; }
.nh-search button { width: 40px; height: 40px; }
.nh-paging .pg_page, .nh-paging .pg_current { min-width: 42px; height: 42px; }
/* 작은 글자 */
.nh-quick__list span { font-size: 13.5px; }
.nh-view__dl small { font-size: 13px; }
.nh-field em { font-size: 12.5px; }
.nh-meter__row small { font-size: 13px; }

/* ── 모바일 검토 반영 (2026-09-25, 검토 4 + 반박 검증 4, 확정 23건) ── */
/* 대비: 흐린 회색 #75818e(3.97:1) → #66717d(4.97:1) */
:root { --nh-mute: #66717d; }
/* 메인 */
.nh-hero__text h2 .nh-nw { white-space: nowrap; }
.nh-more { gap: 4px; }
.nh-more::after { content: "→"; }
.nh-visit__info li { align-items: center; }
.nh-visit__info li span { flex: 0 0 56px; }
.nh-footer__info div { align-items: baseline; }
.nh-footer__info dt { flex: 0 0 52px; }
/* 환영과 담임목사소개 */
.nh-lead, .nh-welcome__body, .nh-quote p { text-wrap: balance; }
.nh-quote p span { display: inline-block; }
.nh-panel p + p { margin-top: 1.2em; }
.nh-verse { margin-top: 28px !important; padding-top: 24px; border-top: 1px solid var(--nh-line); }
/* 주보 보기 */
.nh-view__hint { margin: 0 0 12px; text-align: center; font-size: 14px; color: var(--nh-mute); }
.nh-view--bulletin .nh-view__body a { display: block; }
.nh-view--bulletin .nh-view__body img { display: block; margin: 0 auto 12px; border-radius: 8px; }
/* 로그인 링크 터치 영역 */
.nh-auth__link, .nh-auth__foot a, .nh-auth__home { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; }
.nh-auth__link { margin-right: -6px; }
.nh-auth__foot a { margin-left: 0; }
.nh-auth .nh-check { min-height: 44px; }
.nh-auth__row { margin: 0 0 20px; }
.nh-auth__foot { margin-top: 18px; }
.nh-auth__home { margin-top: 4px; }

/* 회원가입 약관 (그누보드 basic 스킨 위에 덮어쓰기) */
.register { max-width: 760px; margin: 0 auto; padding: 36px 18px 70px; box-sizing: border-box; }
#fregister p:before { display: none; }
#fregister p { display: flex; align-items: flex-start; gap: 8px; height: auto; line-height: 1.55; padding: 14px 18px; text-align: left; font-size: 15px; background: var(--nh-soft); color: var(--nh-ink); font-weight: 600; border-radius: 12px; }
#fregister p i { flex: none; margin-top: 3px; color: var(--nh-slate); }
#fregister section { border-color: var(--nh-line); border-radius: 16px; overflow: hidden; }
#fregister h2 { border-bottom-color: var(--nh-line); font-family: inherit; }
#fregister textarea { height: 220px; padding: 18px; font-family: inherit; font-size: 16px; line-height: 1.7; color: var(--nh-text); resize: none; }
#fregister section .fregister_agree label { position: absolute; top: 0; right: 0; width: 64px; height: 66px; display: block; cursor: pointer; }
#fregister section .fregister_agree label span { top: 22px; right: 20px; width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid #c9d1d9; }
#fregister .fregister_agree input[type=checkbox]:checked + label span { background-color: var(--nh-navy); border-color: var(--nh-navy); }
.register .btn_confirm { display: flex; gap: 10px; }
.register .btn_confirm .btn_submit, .register .btn_confirm .btn_close { float: none; flex: 1; width: auto; height: 54px; line-height: 54px; margin: 0; border-radius: 999px; font-family: inherit; font-size: 16px; font-weight: 600; text-align: center; }
.register .btn_confirm .btn_submit { background: var(--nh-navy); border: 0; color: #fff; }
.register .btn_confirm .btn_close { background: #fff; border: 1px solid var(--nh-line); color: var(--nh-ink); }

/* 회원정보 찾기 (새 창) */
#find_info .new_win_con { background: #fff; border-radius: 20px; box-shadow: 0 0 0 1px var(--nh-line), 0 10px 30px -22px rgba(24,40,56,.3); padding: 26px 20px; }
#find_info #mb_email { height: 54px; border: 1px solid var(--nh-line); border-radius: 12px; padding: 0 16px; font-family: inherit; font-size: 16px; }
#find_info #captcha { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; width: 100%; }
#find_info #captcha #captcha_img { flex: none; border-color: var(--nh-line); border-radius: 8px; }
#find_info #captcha #captcha_key { flex: 1; min-width: 0; width: auto; height: 44px; margin: 0; border: 1px solid var(--nh-line); border-radius: 12px; font-size: 16px; }
#find_info #captcha #captcha_mp3, #find_info #captcha #captcha_reload { flex: none; width: 44px; height: 44px; background: #fff; border: 1px solid var(--nh-line); border-radius: 12px; text-indent: 0; font-size: 0; color: var(--nh-slate); }
#find_info #captcha #captcha_mp3::before { content: '\f028'; font: 18px/1 FontAwesome; }
#find_info #captcha #captcha_reload::before { content: '\f021'; font: 18px/1 FontAwesome; }
#find_info #captcha #captcha_info { flex-basis: 100%; margin: 2px 0 0; font-size: 14px; letter-spacing: 0; color: var(--nh-mute); }
#find_info .win_btn .btn_submit { width: 100%; height: 54px; margin-top: 10px; border-radius: 999px; background: var(--nh-navy); border: 0; font-family: inherit; font-size: 16px; }

/* ── Responsive ───────────────────────────── */
@media (max-width: 1100px) {
  .nh-gnb a { padding: 10px 11px; font-size: 15.5px; }
  .nh-util { display: none; }
}
@media (max-width: 960px) {
  .nh-header__in { height: 70px; }
  .nh-logo img { width: 138px; }
  .nh-gnb { display: none; }
  .nh-burger { display: block; }
  .nh-section { padding: 80px 0; }
  .nh-head h2 { font-size: 30px; }
  .nh-quick { margin-top: -64px; }
  .nh-quick__list { grid-template-columns: repeat(2, 1fr); border-radius: 18px; }
  .nh-quick__list li:nth-child(3) { box-shadow: 0 -1px 0 var(--nh-line); }
  .nh-quick__list li:nth-child(4) { box-shadow: -1px 0 0 var(--nh-line), 0 -1px 0 var(--nh-line); }
  .nh-quick__list a { padding: 30px 12px 28px; }
  .nh-sermon__grid, .nh-news__grid, .nh-banners__grid, .nh-location, .nh-visit { grid-template-columns: 1fr; }
  .nh-banners { padding-bottom: 80px; }
  .nh-footer__in { grid-template-columns: 1fr; gap: 28px; }
  .nh-vgrid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .nh-hero__nav { display: none; }
  .nh-visit__info { padding: 48px 28px; }
  .nh-location__info { padding: 40px 28px; }
  .nh-location__map iframe { min-height: 340px; }
  .nh-visit__map iframe { min-height: 320px; }
  .nh-auth { grid-template-columns: 1fr; }
  .nh-auth__side { display: none; }
  .nh-auth__main { justify-content: flex-start; padding-top: 40px; }
  .nh-auth__logo { margin-bottom: 36px; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .nh-wrap { padding: 0 18px; }
  .nh-hero { height: min(76vh, 620px); min-height: 460px; }
  .nh-hero__en { font-size: 19px; }
  .nh-hero__verse { font-size: 14.5px; }
  /* 슬라이드 1 성경구절: 휴대폰에서도 PC처럼 한 줄로 (교회 요청 2026-09-29) — 화면 폭에 맞춰 글자 크기를 줄이고 장절은 아래 줄로 */
  .nh-hero__verse--line { white-space: nowrap; font-size: clamp(11px, calc((100vw - 52px) / 27.6), 14.5px); }
  .nh-hero__verse--line span { display: block; margin: 6px 0 0; font-size: 13px; }
  .nh-hero__dots { bottom: 96px; }
  .nh-quick__list strong { font-size: 16.5px; }
  .nh-quick__list span { font-size: 13px; }
  /* 아이폰은 16px 미만 입력칸을 누르면 화면을 확대해 버린다 */
  .nh-main input:not([type=checkbox]):not([type=radio]):not([type=file]), .nh-main select, .nh-main textarea, .nh-auth input:not([type=checkbox]) { font-size: 16px; }
  .nh-quick__list svg { width: 34px; height: 34px; margin-bottom: 12px; }
  .nh-sermon__feature { min-height: 330px; padding: 28px; border-radius: 18px; }
  .nh-sermon__badge { top: 22px; left: 24px; }
  .nh-sermon__li strong { font-size: 17px; }
  .nh-scard { min-height: 0; padding: 26px 24px 22px; }
  .nh-scard__title { font-size: 20px; }
  .nh-banner { min-height: 220px; padding: 28px; }
  .nh-banner strong { font-size: 25px; }
  .nh-card { padding: 28px 22px; }
  .nh-subhero { height: 220px; }
  /* 예배안내 상단(오른쪽 십자가 사진): 좁은 화면에서도 십자가가 잘리지 않게 오른쪽을 보여 준다 */
  .nh-subhero--right { background-position: 88% center; }
  .nh-content { padding-top: 52px; padding-bottom: 90px; }
  .nh-lead { font-size: 16.5px; margin-bottom: 40px; }
  .nh-worship-main { grid-template-columns: 1fr; }
  .nh-worship-card__time { font-size: 34px; }
  .nh-table thead { display: none; }
  .nh-table, .nh-table tbody, .nh-table tr, .nh-table th, .nh-table td { display: block; width: auto; }
  .nh-table tr { padding: 14px 4px; border-bottom: 1px solid var(--nh-line); }
  .nh-table tbody th, .nh-table tbody td { padding: 2px 0; border: 0; white-space: normal; }
  .nh-table tbody td { color: var(--nh-mute); font-size: 15px; }
  .nh-cta { flex-direction: column; align-items: flex-start; padding: 26px 24px; }
  .nh-tabs { grid-template-columns: repeat(2, 1fr); }
  .nh-quote p { font-size: 20px; }
  .nh-welcome__hi { font-size: 25px; }
  .nh-welcome__body { font-size: 16px; line-height: 1.95; }
  .nh-welcome__scripture { margin-bottom: 28px; padding: 24px 14px 20px; border-radius: 16px; }
  .nh-history { margin-top: 80px; }
  .nh-history__head h2 { font-size: 26px; }
  .nh-history__year { grid-template-columns: 1fr; gap: 6px; padding: 18px 2px; }
  .nh-history__year h3 { font-size: 22px; }
  .nh-history__year ul li { gap: 12px; }
  .nh-history__year time { flex-basis: 88px; font-size: 14px; }
  .nh-history__year ul p { font-size: 15.5px; }
  .nh-welcome__scripture p { font-size: clamp(14.5px, 4.2vw, 19px); }
  .nh-welcome__invite { margin-top: 24px; font-size: 16px; }
  .nh-welcome__note { margin-top: 32px; font-size: 14.5px; }
  .nh-pastor { margin-top: 80px; }
  .nh-profile { grid-template-columns: 1fr; gap: 22px; padding: 34px 22px 28px; text-align: center; }
  .nh-profile__photo img { width: 150px; margin: 0 auto; }
  .nh-profile__name { margin-bottom: 14px; font-size: 26px; }
  .nh-profile__cv li { font-size: 15.5px; }
  .nh-values li { gap: 16px; }
  .nh-values b { flex-basis: 46px; height: 46px; font-size: 23px; }
  .nh-strategy li { padding-left: 48px; }
  .nh-strategy li::before { font-size: 24px; }
  .nh-board__bar { flex-direction: column; align-items: stretch; }
  .nh-search { width: 100%; }
  .nh-vgrid { grid-template-columns: 1fr; }
  .nh-blist li { flex-wrap: wrap; gap: 10px 14px; padding: 18px 4px; }
  .nh-blist__icon { flex-basis: 40px; height: 40px; }
  .nh-blist__title { flex-basis: calc(100% - 60px); }
  .nh-blist__date { margin-left: 54px; }
  .nh-blist__pdf { margin-left: auto; }
  .nh-prevnext { grid-template-columns: 1fr; }
  .nh-prevnext a.is-next { text-align: left; }
  .nh-pdf { aspect-ratio: auto; height: 70vh; }
  /* 예배와 모임 표: 시간은 진하게, 장소는 흐리게 구분 */
  .nh-table tbody td:nth-child(2) { color: var(--nh-text); font-weight: 500; }
  .nh-table tbody td:nth-child(3) { color: var(--nh-mute); }
  /* 주보 목록: 제목에 날짜가 있으니 등록일은 숨기고 PDF 버튼을 같은 줄에 */
  .nh-blist li { flex-wrap: nowrap; }
  .nh-blist__date { display: none; }
  .nh-blist__title { flex: 1 1 auto; font-size: 16.5px; }
  .nh-blist__title span { display: none; }
  .nh-blist__pdf { margin-left: 0; height: 44px; padding: 0 14px; }
  /* 회원가입 약관 표 */
  .fregister_terms div { padding: 14px 12px; }
  .fregister_terms table th, .fregister_terms table td { padding: 9px 7px; font-size: 14px; line-height: 1.5; }
  .fregister_terms table th { width: auto; }
  .fregister_terms table th:first-child { width: 40%; }
  #find_info p br { display: none; }
  .nh-form-head h2 { font-size: 26px; }
  .nh-form__section { padding: 24px 18px 8px; border-radius: 16px; }
  .nh-form__grid { grid-template-columns: 1fr; }
  .nh-datefield { flex-wrap: wrap; }
  .nh-datefield input[type=text] { flex-basis: calc(100% - 62px); }
  .nh-datefield__sun { flex: 1 0 100%; height: 46px; }
  .nh-ytpreview img { flex-basis: 112px; width: 112px; }
  .nh-filecard { grid-template-columns: 48px 1fr; padding: 14px; gap: 12px; }
  .nh-filecard__icon { width: 48px; height: 48px; }
  .nh-filecard__btn { grid-column: 1 / -1; justify-self: stretch; }
  .nh-form__actions .nh-btn { flex: 1; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
/* 350px 미만 아주 좁은 화면: 한 줄이면 글자가 11px 아래로 작아지므로 두 줄로 고르게 나눈다 */
@media (max-width: 349px) {
  .nh-hero__verse--line { white-space: normal; text-wrap: balance; }
}
