/* DSF 모바일 메뉴(☰) — ☰ 팝오버 · 2단 (see mnav.js) · 모바일 서브메뉴 타일. 900px and below only. */
@media(max-width:900px){
/* ================= 모바일 메뉴(☰) — full screen ================= */
html.mn-lock,html.mn-lock body{overflow:hidden!important}
.mn-wrap{min-height:100%;display:flex;flex-direction:column;color:#13222a;font-size:15px;line-height:1.4}
.mn-wrap a{text-decoration:none;color:inherit;-webkit-tap-highlight-color:transparent}
.mn-wrap button{font:inherit;-webkit-tap-highlight-color:transparent}
.mn-wrap small,.mn-wrap b,.mn-wrap em{letter-spacing:normal;text-transform:none}
.mn-ic,.mn-ch,.mn-bk{display:block;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.mn-ic{width:100%;height:100%}
.mn-ch{flex:none;width:16px;height:16px;color:#9eb1b9;stroke-width:2}
.mn-bk{width:18px;height:18px;stroke-width:2}
/* top bar */
.mn-top{position:sticky;top:0;z-index:3;display:flex;align-items:center;gap:10px;height:60px;padding:0 8px 0 14px;background:#fff;border-bottom:1px solid #e6edee}
.mn-home{display:grid;place-items:center;width:40px;height:40px;border:1px solid #dbe4e6;border-radius:11px;color:#13262f}
.mn-home .mn-ic{width:20px;height:20px}
.mn-top strong{flex:1;font-size:12px;font-weight:800;letter-spacing:.18em;color:#6c838c}
.mn-lang{display:flex;align-items:center;gap:2px;font-size:13px}
.mn-lang i{font-style:normal;color:#c7d2d6}
#faith-drawer .mn-lang button{padding:8px 6px;font-size:13px;font-weight:800;color:#9eb1b9}
#faith-drawer .mn-lang button[aria-pressed="true"]{color:#e86530}
#faith-drawer .mn-x{width:44px;height:44px;padding:0;font-size:30px;font-weight:300;line-height:1;color:#13262f}
/* icon boxes */
.mn-hi{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:11px;background:#fff1e8;color:#e86530;font-style:normal}
.mn-hi .mn-ic{width:21px;height:21px}
/* content */
.mn-foot{display:grid;gap:10px;margin-top:auto;padding:16px 16px calc(18px + env(safe-area-inset-bottom));border-top:1px solid #e6edee}
.mn-cta{display:flex;align-items:center;justify-content:center;gap:6px;min-height:50px;border-radius:12px;background:#e86530;color:#fff!important;font-size:15.5px;font-weight:750}
.mn-cta .mn-ch{color:#fff}
.mn-mail2{display:flex;align-items:center;justify-content:center;gap:8px;font-size:14px;font-weight:650;color:#3b525c!important}
.mn-mail2 .mn-ic{width:18px;height:18px}
@keyframes mnIn{from{opacity:0;transform:translateX(24px)}to{opacity:1;transform:none}}

/* ---------- 3 · 2단 이동 ---------- */
.mn-deck{flex:1;display:flex;flex-direction:column}
.mn-lv1{flex:1;display:flex;flex-direction:column}
.mn-deck.is-2 .mn-lv1{display:none}
.mn-deck:not(.is-2) .mn-lv2{display:none!important}
.mn-cards{display:grid;gap:10px;padding:14px 16px}
#faith-drawer .mn-card{display:flex;align-items:center;gap:14px;width:100%;padding:16px 14px;border:1px solid #dbe4e6;border-radius:16px;background:#fff;text-align:left;color:#0f1d24;box-shadow:0 1px 3px rgba(20,40,50,.05)}
.mn-card>span{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}
.mn-card b{font-size:17px;font-weight:800;letter-spacing:-.02em}
.mn-card small{font-size:12.5px;font-weight:400;color:#6c838c}
.mn-card:active{background:#f2f6f6}
.mn-lv2{padding:0 16px 26px;animation:mnIn .22s cubic-bezier(.2,.8,.2,1)}
/* ================= 모바일 서브메뉴 ================= */
/* 2 · 아래에서 올라오는 목록 */
@keyframes mnUp{from{transform:translateY(40px);opacity:.4}to{transform:none;opacity:1}}
}
@media(max-width:900px) and (prefers-reduced-motion:reduce){.mn-lv2{animation:none}}
/* ================= floating panel — the menu floats over the dimmed page, under the ☰ button ================= */
@media(max-width:900px){
html:not([data-fm="0"]) #faith-drawer{height:auto!important;padding:0!important;border-radius:20px;background:#fff;box-shadow:0 24px 60px rgba(10,25,32,.30)!important;overflow:auto;overscroll-behavior:contain;opacity:0;visibility:hidden;transition:opacity .18s ease,transform .24s cubic-bezier(.2,.8,.2,1),visibility .2s!important}
html:not([data-fm="0"]) #faith-drawer.open{opacity:1;visibility:visible;transform:none!important}
html:not([data-fm="0"]) #faith-scrim.open{display:block!important;background:rgba(15,30,37,.42)!important;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
/* 3 · pop-over from the ☰ button */
html[data-fm="3"] #faith-drawer{top:68px!important;right:10px!important;left:auto!important;bottom:auto!important;width:min(310px,calc(100vw - 20px))!important;max-height:calc(100dvh - 80px)!important;border-radius:18px;transform:scale(.94)!important;transform-origin:calc(100% - 26px) 0}
html[data-fm="3"] #faith-header{z-index:2270}
/* dark: 5 · 6 */
.mn-fl{min-height:0}
.mn-fl .mn-top{border-radius:20px 20px 0 0}
.mn-pop .mn-top{display:none}
/* 2 · 3 · 5 have no top bar: the header stays bright above the dim, its KR/EN works as is and ☰ turns into ✕ */
html[data-fm="3"] #faith-header .faith-mobile-toggle[aria-expanded="true"]{font-size:0;background:#13262f;border-color:#13262f;color:#fff}
html[data-fm="3"] #faith-header .faith-mobile-toggle[aria-expanded="true"]::before{content:"✕";font-size:17px;line-height:1}
/* 3 · pop-over: compact two levels */
.mn-pop .mn-cards{padding:8px;gap:2px}
#faith-drawer .mn-pop .mn-card{padding:10px 10px;border:0;border-radius:12px;box-shadow:none}
.mn-pop .mn-card small{display:none}
.mn-pop .mn-card b{font-size:16px}
.mn-pop .mn-hi{width:34px;height:34px;border-radius:10px}
.mn-pop .mn-lv2{padding:0 12px 14px}
.mn-pop .mn-foot{padding:12px}
}
@media(max-width:900px) and (prefers-reduced-motion:reduce){html:not([data-fm="0"]) #faith-drawer{transition:none!important}}
/* ================= v68 · 3 ☰ 팝오버 확정 — second level as plain as the first ================= */
@media(max-width:900px){
.mn-pop .mn-lv2s{padding:0 0 8px}
#faith-drawer .mn-bar2{display:flex;align-items:center;gap:6px;width:100%;height:54px;padding:0 14px 0 10px;border:0;border-bottom:1px solid #e6edee;background:transparent;text-align:left;color:#0f1d24}
.mn-bar2 .mn-bk{flex:none;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;color:#3b525c}
.mn-bar2 b{font-size:17px;font-weight:800;letter-spacing:-.02em}
.mn-bar2:active{background:#f2f6f6}
.mn-pop .mn-c2{padding:6px 8px 0}
#faith-drawer .mn-pop .mn-c2 .mn-card{padding:8px 10px}
.mn-pop .mn-c2 .mn-card b{font-size:15.5px;font-weight:750}
.mn-pop .mn-c2 .mn-hi{width:32px;height:32px}
#faith-drawer .mn-pop .mn-c2 .mn-card.is-cur{background:#f2f6f6;box-shadow:inset 3px 0 0 #13262f}
.mn-pop .mn-c2 .mn-card.is-cur b{color:#13262f}
}

/* v76 — phone header KR / EN: the buttons were 21 px wide (under the 24 px minimum touch target). An invisible extension
   of each button makes the touch area about 33 × 44 px; nothing moves on screen. */
@media(max-width:900px){
 html #faith-header .faith-language button{position:relative}
 html #faith-header .faith-language button::after{content:"";position:absolute;inset:-5px -6px}
}
