/* MHM v2 — newspaper-style masthead and homepage.
   One sans family (Noto Sans KR), hierarchy through weight and tracking; one accent (site accent color). Light only. */
:root{
  --mhm-ink:#1b1719; --mhm-sub:#5d5559; --mhm-mute:#8e8589;
  --mhm-rule:#e4dee0; --mhm-strong:#1b1719;
  --mhm-accent:var(--ghost-accent-color,#bb2649);
  --mhm-accent-soft:color-mix(in srgb,var(--mhm-accent) 10%,#fff);
  --mhm-paper:#faf7f8; --mhm-band:#22191d; --mhm-band-ink:#f4eef0;
  --mhm-font:"Noto Sans KR","Apple SD Gothic Neo","Malgun Gothic",system-ui,sans-serif;
  color-scheme:light;
}
body{word-break:keep-all;overflow-wrap:anywhere}

.mhm-wrap{max-width:1200px;margin-inline:auto;padding-inline:max(16px,env(safe-area-inset-left,0px)) max(16px,env(safe-area-inset-right,0px))}
.mhm a,.mhm-util a,.mhm-gnb a,.mhm-mast a{color:inherit;text-decoration:none}
.mhm a:focus-visible,.mhm-util :focus-visible,.mhm-gnb a:focus-visible{outline:2px solid var(--mhm-accent);outline-offset:3px}
.mhm img{display:block;width:100%;height:auto;object-fit:cover;max-width:100%;background:var(--mhm-paper)}
.mhm{font-family:var(--mhm-font);color:var(--mhm-ink);font-size:15px;line-height:1.6;letter-spacing:-.02em}
.mhm .mhm-hl{font-family:var(--mhm-font);font-weight:700!important;text-wrap:balance;letter-spacing:-.035em;line-height:1.4!important}
.mhm a:hover .mhm-hl,.mhm a:focus-visible .mhm-hl{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.mhm-kicker{font-size:12px;font-weight:700;color:var(--mhm-accent);letter-spacing:.02em}
.mhm-meta{font-size:12.5px;color:var(--mhm-mute)}
.mhm-meta b{font-weight:500;color:var(--mhm-sub)}
.mhm-ex{color:var(--mhm-sub);font-size:14.5px;margin:0}
.mhm-btn{display:inline-block;background:var(--mhm-accent);color:#fff!important;font-weight:700;font-size:12.5px;padding:6px 14px;border-radius:2px;line-height:1.4;white-space:nowrap}
.mhm-btn:hover{filter:brightness(1.1)}

/* ---------- Util bar ---------- */
.mhm-util{border-bottom:1px solid var(--mhm-rule);font-size:12.5px;color:var(--mhm-sub);font-family:var(--mhm-font);background:var(--color-bgr,#fff)}
.mhm-util .mhm-wrap{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-block:7px}
.mhm-motto{letter-spacing:.14em;font-size:11px;text-transform:uppercase}
.mhm-util-actions{display:flex;gap:14px;align-items:center;margin-left:auto}
.mhm-util-link:hover{color:var(--mhm-accent)}
.mhm-icon-btn{display:inline-flex;align-items:center;justify-content:center;padding:4px;color:var(--mhm-ink);cursor:pointer;background:none;border:0}
.mhm-icon-btn:hover{color:var(--mhm-accent)}

/* ---------- Masthead ---------- */
.mhm-mast{font-family:var(--mhm-font);background:var(--color-bgr,#fff)}
.mhm-mast .mhm-wrap{display:grid;grid-template-columns:1fr auto 1fr;align-items:end;gap:16px;padding-block:22px 16px}
.mhm-date{font-size:13px;color:var(--mhm-sub);line-height:1.5;display:flex;flex-direction:column}
.mhm-date strong{font-size:15px;color:var(--mhm-ink);font-weight:700;letter-spacing:-.02em}
.mhm-date span{font-size:11px;letter-spacing:.12em}
.mhm-brand{justify-self:center;display:block}
.mhm-brand img{width:220px;height:auto;display:block}
.mhm-brand-text{font-size:32px;font-weight:800;letter-spacing:-.04em}
.mhm-mast-right{justify-self:end;display:flex;align-items:center}
.mhm-menu-btn{display:none;flex-direction:column;gap:4px;padding:8px;cursor:pointer;background:none;border:0}
.mhm-menu-btn>span:not(.sr-only){display:block;width:20px;height:2px;border-radius:2px;background:var(--mhm-ink);pointer-events:none}

/* ---------- Section nav ---------- */
.mhm-gnb{border-top:2px solid var(--mhm-strong);border-bottom:1px solid var(--mhm-rule);position:sticky;top:0;background:var(--color-bgr,#fff);z-index:40;font-family:var(--mhm-font)}
.mhm-gnb-list{list-style:none;margin:0;padding:0;display:flex;justify-content:center;gap:2px;overflow-x:auto;scrollbar-width:none}
.mhm-gnb-list::-webkit-scrollbar{display:none}
.mhm-gnb-list li{display:flex}
.mhm-gnb-list li a{display:block;padding:11px 16px;font-weight:700;font-size:14.5px;white-space:nowrap;letter-spacing:-.02em}
.mhm-gnb-list li a:hover{color:var(--mhm-accent)}
.mhm-gnb-list li.nav-current a{color:var(--mhm-accent);box-shadow:inset 0 -3px 0 var(--mhm-accent)}
.mhm-gnb-list li.is-subitem{display:none}
.mhm-gnb-list li::before,.mhm-gnb-list li::after{content:none!important;display:none!important}

/* ---------- Language selector ---------- */
.mhm-lang{position:relative}
.mhm-lang-btn{display:inline-flex;align-items:center;gap:6px;font:inherit;font-weight:700;color:var(--mhm-ink);background:transparent;border:1px solid var(--mhm-rule);border-radius:999px;padding:3px 10px 3px 8px;cursor:pointer}
.mhm-lang-btn:hover,.mhm-lang-btn[aria-expanded="true"]{border-color:var(--mhm-ink)}
.mhm-lang-btn svg{width:15px;height:15px;flex:none}
.mhm-lang-btn .mhm-lang-chev{width:10px;height:10px;transition:transform .15s}
.mhm-lang-btn[aria-expanded="true"] .mhm-lang-chev{transform:rotate(180deg)}
.mhm-lang-pop{position:absolute;right:0;top:calc(100% + 8px);z-index:60;background:#fff;border:1px solid var(--mhm-rule);box-shadow:0 12px 32px rgba(27,23,25,.14);border-radius:6px;padding:14px;width:min(340px,calc(100vw - 32px))}
.mhm-lang-pop[hidden]{display:none}
.mhm-lang-pop p{margin:0 0 10px;font-size:12px;color:var(--mhm-mute)}
.mhm-lang-pop ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:2px}
.mhm-lang-pop button{width:100%;text-align:left;font:inherit;font-size:13.5px;color:var(--mhm-ink);background:transparent;border:0;border-radius:4px;padding:7px 9px;cursor:pointer;display:flex;justify-content:space-between;gap:8px}
.mhm-lang-pop button b{font-weight:inherit}
.mhm-lang-pop button span{color:var(--mhm-mute);font-size:11.5px;text-transform:uppercase;letter-spacing:.04em}
.mhm-lang-pop button:hover{background:var(--mhm-accent-soft)}
.mhm-lang-pop button[aria-current="true"]{color:var(--mhm-accent);font-weight:700}
.mhm-gt-hidden{display:none!important}

/* ---------- Today strip ---------- */
.mhm-series{border-bottom:1px solid var(--mhm-rule)}
.mhm-series .mhm-wrap{display:grid;grid-template-columns:auto repeat(4,1fr)}
.mhm-series-tag{font-size:12px;font-weight:700;color:var(--mhm-accent);padding:14px 20px 14px 0;align-self:center;line-height:1.3}
.mhm-series-tag small{display:block;color:var(--mhm-mute);font-weight:400}
.mhm-series a{padding:12px 18px;border-left:1px solid var(--mhm-rule);display:flex;flex-direction:column;gap:2px;min-width:0}
.mhm-series a b{font-size:13.5px}
.mhm-series a span{font-size:12.5px;color:var(--mhm-sub);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mhm-series a:hover span{color:var(--mhm-accent)}

/* ---------- Top 3 columns ---------- */
.mhm-top{display:grid;grid-template-columns:1fr 2fr 1fr;padding-block:24px 28px}
.mhm-top>*{min-width:0;padding-inline:22px}
.mhm-top>*:first-child{padding-left:0}
.mhm-top>*:last-child{padding-right:0}
.mhm-top>*+*{border-left:1px solid var(--mhm-rule)}
.mhm-card img{aspect-ratio:3/2;margin-bottom:12px}
.mhm-card .mhm-hl{font-size:19px;margin:4px 0 6px}
.mhm-bullets{list-style:none;padding:12px 0 0;margin:12px 0 0;border-top:1px dashed var(--mhm-rule);display:grid;gap:8px;font-size:13.5px}
.mhm-bullets li{padding-left:12px;position:relative}
.mhm-bullets li::before{content:"";position:absolute;left:0;top:.7em;width:4px;height:4px;background:var(--mhm-accent)}
.mhm-bullets a:hover{color:var(--mhm-accent)}
.mhm-mini{margin-top:18px;padding-top:16px;border-top:1px solid var(--mhm-rule);display:grid;grid-template-columns:1fr 84px;gap:12px}
.mhm-mini .mhm-hl{font-size:15px;margin-top:2px}
.mhm-mini img{aspect-ratio:1;height:84px}

.mhm-lead figure{margin:0}
.mhm-lead img{aspect-ratio:16/10}
.mhm-lead figcaption{font-size:12px;color:var(--mhm-mute);padding-top:6px}
.mhm-lead .mhm-kicker{margin-top:14px}
.mhm .mhm-lead h1.mhm-hl{font-size:clamp(24px,2.6vw,32px)!important;margin:8px 0 10px;font-weight:800!important;line-height:1.32!important;letter-spacing:-.045em}
.mhm-lead .mhm-ex{font-size:15.5px;line-height:1.75}
.mhm-lead .mhm-meta{margin-top:10px}

.mhm .mhm-col-right h3{font-size:13px!important;margin:0 0 4px;display:flex;justify-content:space-between;align-items:baseline;font-weight:700!important;letter-spacing:-.02em}
.mhm-col-right h3 span{color:var(--mhm-mute);font-weight:400;font-size:12px}
.mhm-latest{list-style:none;margin:0;padding:0}
.mhm-latest li+li{border-top:1px solid var(--mhm-rule)}
.mhm-latest a{display:grid;grid-template-columns:1fr 76px;gap:12px;padding-block:13px;align-items:start}
.mhm-latest .mhm-hl{font-size:15px;margin-top:3px}
.mhm-latest img{aspect-ratio:4/3;height:57px}

/* ---------- Section heads ---------- */
.mhm-sec{padding-block:34px 8px}
.mhm-sec-h{display:flex;align-items:center;gap:12px;margin-bottom:18px}
.mhm .mhm-sec-h h2{font-family:var(--mhm-font);font-weight:800!important;font-size:22px;letter-spacing:-.04em;margin:0;white-space:nowrap;line-height:1.3!important}
.mhm-sec-h .mhm-line{flex:1;height:2px;background:var(--mhm-strong)}
.mhm-sec-h a{font-size:12.5px;font-weight:700;color:var(--mhm-sub);white-space:nowrap}
.mhm-sec-h a::after{content:" ›"}
.mhm-sec-h a:hover{color:var(--mhm-accent)}
.mhm-sub{font-size:12.5px;color:var(--mhm-mute);white-space:nowrap}

/* ---------- Daily prayer / devotion ---------- */
.mhm-daily{display:grid;grid-template-columns:1fr 1fr;gap:40px}
.mhm-daily>*{min-width:0}
.mhm-today{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start;padding-bottom:16px;border-bottom:1px solid var(--mhm-rule)}
.mhm-today img{aspect-ratio:4/3}
.mhm-today .mhm-hl{font-size:19px;margin:6px 0 8px}
.mhm-today .mhm-ex{font-size:13.5px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.mhm-count{display:inline-flex;align-items:baseline;gap:4px;font-size:12px;color:var(--mhm-sub);font-variant-numeric:tabular-nums}
.mhm-count[hidden]{display:none}
.mhm-count b{font-size:18px;color:var(--mhm-accent);font-weight:800;letter-spacing:-.02em}
.mhm-days{list-style:none;margin:0;padding:0}
.mhm-days li{border-bottom:1px solid var(--mhm-rule)}
.mhm-days a{display:grid;grid-template-columns:52px 1fr;gap:10px;padding-block:10px;font-size:14px;align-items:baseline}
.mhm-days a:hover span{color:var(--mhm-accent)}
.mhm-days time{font-size:12.5px;font-weight:700;color:var(--mhm-accent);font-variant-numeric:tabular-nums}
.mhm-verse{background:var(--mhm-paper);border-top:3px solid var(--mhm-accent);padding:24px;display:flex;flex-direction:column;gap:14px}
.mhm-verse cite{font-style:normal;font-size:12.5px;color:var(--mhm-accent);font-weight:700;letter-spacing:.04em}
.mhm-verse blockquote{margin:0;padding:0;border:0;font-size:clamp(17px,1.7vw,19px);line-height:1.75;font-weight:500;letter-spacing:-.03em;font-style:normal;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}
.mhm-row{display:grid;grid-template-columns:96px 1fr;gap:14px;align-items:center;padding-top:14px;border-top:1px solid var(--mhm-rule)}
.mhm-row img{aspect-ratio:1;height:96px}
.mhm-row .mhm-hl{font-size:16px;margin:2px 0}
.mhm-prev{list-style:none;margin:14px 0 0;padding:0;font-size:13.5px;display:grid;gap:6px}
.mhm-prev li{padding-left:12px;position:relative;color:var(--mhm-sub)}
.mhm-prev li::before{content:"";position:absolute;left:0;top:.7em;width:4px;height:4px;background:var(--mhm-accent)}
.mhm-prev a:hover{color:var(--mhm-accent)}

/* ---------- Campaign band ---------- */
.mhm-campaign{background:var(--mhm-band);color:var(--mhm-band-ink);margin-top:36px}
.mhm-campaign .mhm-wrap{display:grid;grid-template-columns:1.25fr 1fr;align-items:center;gap:32px;padding-block:28px}
.mhm-campaign img{aspect-ratio:21/9;border-radius:2px;background:#2f2428}
.mhm-campaign .mhm-kicker{color:#ff8aa6}
.mhm-campaign .mhm-hl{font-size:clamp(22px,2.4vw,29px);margin:8px 0 14px;font-weight:800!important;letter-spacing:-.04em}
.mhm-campaign p{color:color-mix(in srgb,var(--mhm-band-ink) 72%,transparent);margin:0 0 16px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.mhm-btn-light{background:#fff;color:var(--mhm-band)!important}
.mhm-campaign-more{list-style:none;margin:0;padding:0;display:grid;gap:6px;font-size:13.5px}
.mhm-campaign-more:has(li){margin-top:18px;padding-top:14px;border-top:1px solid rgba(255,255,255,.16)}
.mhm-campaign-more a{color:color-mix(in srgb,var(--mhm-band-ink) 80%,transparent)}
.mhm-campaign-more a:hover{color:#fff;text-decoration:underline}
.mhm-campaign-more li::before{content:"› ";color:#ff8aa6}

/* ---------- Topic blocks ---------- */
.mhm-two{display:grid;grid-template-columns:1fr 1fr;gap:40px}
.mhm-two>*{min-width:0}
.mhm-feature{display:grid;grid-template-columns:1fr 1.1fr;gap:16px;align-items:start;padding-bottom:18px;border-bottom:1px solid var(--mhm-rule);margin-bottom:16px}
.mhm-feature:last-child{border-bottom:0;margin-bottom:0}
.mhm-feature img{aspect-ratio:4/3}
.mhm-feature .mhm-hl{font-size:17px;margin:4px 0 6px}
.mhm-feature .mhm-ex{font-size:13.5px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:6px}
.mhm-pray{display:inline-block;font-size:11.5px;font-weight:700;color:var(--mhm-accent);background:var(--mhm-accent-soft);padding:2px 8px;border-radius:2px}
.mhm-four{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.mhm-four>*{min-width:0}
.mhm-four img{aspect-ratio:16/10}
.mhm-four .mhm-hl{font-size:16px;margin:10px 0 6px}

/* Theme sections that follow (writers, events) */
.home-template .mhm + section,.home-template .mhm ~ section{margin-top:56px}

/* ---------- Responsive ---------- */
@media (max-width:1023px){
  .mhm-menu-btn{display:flex}
}
@media (max-width:980px){
  .mhm-top{grid-template-columns:1fr 1fr}
  .mhm-lead{grid-column:1/-1;order:-1;padding-inline:0!important;border-left:0!important;padding-bottom:22px;border-bottom:1px solid var(--mhm-rule);margin-bottom:20px}
  .mhm-col-left{padding-left:0}
  .mhm-four{grid-template-columns:repeat(2,1fr)}
  .mhm-series .mhm-wrap{grid-template-columns:repeat(2,1fr)}
  .mhm-series-tag{display:none}
  .mhm-series a:nth-of-type(odd){border-left:0;padding-left:0}
  .mhm-series a:nth-of-type(n+3){border-top:1px solid var(--mhm-rule)}
}
@media (max-width:720px){
  .mhm-motto,.mhm-hide-sm{display:none}
  .mhm-mast .mhm-wrap{grid-template-columns:40px 1fr 40px;padding-block:14px 10px;align-items:center}
  .mhm-date{display:none}
  .mhm-brand{grid-column:2}
  .mhm-brand img{width:160px}
  .mhm-mast-right{grid-column:3}
  .mhm-gnb-list{justify-content:flex-start}
  .mhm-gnb-list li a{padding:10px 12px;font-size:14px}
  .mhm-top{grid-template-columns:1fr}
  .mhm-top>*{padding-inline:0!important;border-left:0!important}
  .mhm-col-right{border-top:1px solid var(--mhm-rule);margin-top:20px;padding-top:16px}
  .mhm-campaign .mhm-wrap,.mhm-two,.mhm-daily{grid-template-columns:1fr}
  .mhm-two,.mhm-daily{gap:8px}
  .mhm-verse{padding:20px}
  .mhm-feature{grid-template-columns:120px 1fr}
  .mhm-feature .mhm-ex{display:none}
  .mhm-four{grid-template-columns:1fr 1fr;gap:16px}
  .mhm-four .mhm-hl{font-size:14.5px}
  .mhm-today{grid-template-columns:1fr}
  .mhm-lang-lbl{display:none}
  .mhm-lang-btn{padding:4px 7px}
}
@media (prefers-reduced-motion:no-preference){.mhm a img{transition:filter .2s}.mhm a:hover img{filter:brightness(1.05)}}

/* ---------- Sidebars (tag / author / list pages, posts) ---------- */
.mhm-side-sticky{display:flex;flex-direction:column;gap:24px}
.mhm-side-sticky>*{position:static!important}
@media (min-width:768px){
  .mhm-side-sticky{position:sticky;top:64px}
  [data-sidebar]{align-self:stretch}
}
@media (min-width:1024px){
  aside.lg\:sticky{top:64px!important}
}

/* ---------- Donate (right of logo) ---------- */
.mhm-mast-right{gap:8px}
.mhm-donate{display:inline-flex;align-items:center;gap:10px;background:var(--mhm-accent);color:#fff!important;border-radius:4px;padding:10px 18px 10px 14px;line-height:1.25;transition:filter .15s,transform .15s;box-shadow:0 2px 0 color-mix(in srgb,var(--mhm-accent) 70%,#000)}
.mhm-donate:hover{filter:brightness(1.08);transform:translateY(-1px)}
.mhm-donate:focus-visible{outline:2px solid var(--mhm-accent);outline-offset:3px}
.mhm-donate svg{width:22px;height:22px;flex:none}
.mhm-donate span{display:flex;flex-direction:column}
.mhm-donate b{font-size:16px;font-weight:800;letter-spacing:-.03em}
.mhm-donate small{font-size:11.5px;opacity:.85;font-weight:500;letter-spacing:-.02em}
@media (max-width:1023px){.mhm-donate small{display:none}.mhm-donate{padding:8px 14px 8px 11px}.mhm-donate b{font-size:14px}.mhm-donate svg{width:18px;height:18px}}
@media (max-width:720px){
  .mhm-mast .mhm-wrap{grid-template-columns:auto 1fr auto}
  .mhm-brand{justify-self:start;grid-column:1}
  .mhm-mast-right{grid-column:3}
  .mhm-donate{padding:7px 11px 7px 9px;gap:6px}
  .mhm-donate b{font-size:13px}
  .mhm-donate svg{width:15px;height:15px}
  .mhm-brand img{width:140px}
}
