/* DSF 메인 메뉴(드롭다운) 효과 — 2 슬라이딩 인디케이터 (see megafx.js). PC only; the R054 menu rules use !important, so do these. */

@keyframes mmFade{from{opacity:0}to{opacity:1}}



/* the switcher sits under the top-design review switcher when both are shown */
@media(min-width:901px){
 /* v55: sharp text — the R054 panel keeps will-change + backface-visibility:hidden, which puts the whole menu on its own GPU layer
    and Chrome then draws its text with grey (not sub-pixel) smoothing: it looks slightly blurred. Animations still run without it. */
 #faith-mega{will-change:auto!important;-webkit-backface-visibility:visible!important;backface-visibility:visible!important}
 /* ---------- 2 · 슬라이딩 인디케이터 (one bar glides; the panel glides with it) ---------- */
 html[data-mm="2"] #faith-header .faith-nav{position:relative!important}
 html[data-mm="2"] #faith-header .faith-nav>a[data-current="true"]:after{opacity:0!important}
 html[data-mm="2"] #faith-header .faith-nav .mm-ind{position:absolute;left:0;bottom:6px;height:3px;width:0;border-radius:4px;background:#f36a2a;pointer-events:none;opacity:0;transition:transform .36s cubic-bezier(.2,.85,.2,1),width .36s cubic-bezier(.2,.85,.2,1),opacity .2s}
 html[data-mm="2"] #faith-mega{transition:opacity .28s ease,transform .32s cubic-bezier(.2,.85,.2,1),left .36s cubic-bezier(.2,.85,.2,1),visibility .28s!important}
 html[data-mm="2"] #faith-mega .faith-card[data-active="true"]{animation:mmFade .3s ease both}
 html[data-mm="2"] #faith-mega .faith-card .faith-items a:hover{background:#fff6f0!important}

 }
@media(prefers-reduced-motion:reduce){
 html[data-mm] #faith-mega,html[data-mm] #faith-mega *,html[data-mm] #faith-header .faith-nav *{animation:none!important;transition:none!important}
 }

/* v59: after a click on a menu link the menu stays shut until the pointer comes back to a top-menu item (megafx.js · html.mm-shut) */
@media(min-width:901px){
 html.mm-shut #faith-mega,html.mm-shut #faith-mega.open{opacity:0!important;visibility:hidden!important;pointer-events:none!important;transition:opacity .16s ease,visibility 0s linear .16s!important}
 }

