/* SLOT88 Header v3.4.2 - separate mobile masthead and desktop navigation; no cross-layout reflow. */
.s88h3{--s88h3-lime:#d5ff43;--s88h3-panel:#141e21;--s88h3-line:#344448;--s88h3-fg:#f1f5f6;position:relative!important;z-index:99990!important;box-sizing:border-box!important;display:block!important;width:var(--s88h3-page-width,100%)!important;max-width:none!important;margin:0!important;margin-left:calc(50% - var(--s88h3-page-half,50%))!important;margin-right:0!important;padding:0 clamp(14px,3.1vw,42px)!important;background:linear-gradient(115deg,#141c1f 0%,#0a0f12 50%,#111b1b 100%)!important;border-bottom:1px solid #3a4a4a!important;box-shadow:0 14px 35px rgba(0,0,0,.22)!important;color:var(--s88h3-fg)!important;font-family:-apple-system,BlinkMacSystemFont,"IBM Plex Sans KR","Pretendard","Noto Sans KR",sans-serif!important;line-height:1.4!important}
.s88h3,.s88h3 *,.s88h3 *::before,.s88h3 *::after{box-sizing:border-box!important}
.s88h3 a,.s88h3 button,.s88h3 input,.s88h3 summary{font-family:inherit!important;letter-spacing:normal}
.s88h3 a:focus-visible,.s88h3 button:focus-visible,.s88h3 summary:focus-visible,.s88h3 input:focus-visible{outline:2px solid var(--s88h3-lime)!important;outline-offset:2px!important}
.s88h3 [hidden]{display:none!important}
.wp-block-template-part:has(.s88h3),.wp-block-shortcode:has(>.s88h3){position:relative;z-index:99990;overflow:visible!important}
.s88h3-topbar,.s88h3-main{width:100%;max-width:1320px;margin:0 auto!important}
.s88h3-topbar{height:21px;display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #303b3d;color:#a2b4b8;font-size:10px;font-weight:750;letter-spacing:.14em}
.s88h3-topbar>span:first-child{display:flex;align-items:center;gap:8px;white-space:nowrap}
.s88h3-topbar i{display:block;width:6px;height:6px;background:var(--s88h3-lime)}
.s88h3-topbar strong{color:#eaf2f1;font-weight:850}
.s88h3-topbar .s88h3-sep{color:#748c8c}
.s88h3-topbar>span:last-child{white-space:nowrap;font-size:9px;color:#889b9f}
.s88h3-main{position:relative;display:flex;flex-flow:row nowrap;align-items:stretch;justify-content:space-between;gap:clamp(10px,1.1vw,21px);min-height:64px}
.s88h3-brand{display:flex!important;align-items:center;flex:0 0 auto;width:clamp(155px,16vw,218px);max-width:218px;min-width:0;text-decoration:none!important}
.s88h3-brand img{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;max-height:49px!important;object-fit:contain!important;object-position:left center!important;border:0!important;border-radius:0!important}
.s88h3-nav{display:flex;flex:1 1 auto;justify-content:flex-end;align-items:stretch;min-width:0;margin:0!important;padding:0!important;position:static!important}
.s88h3-nav-list{display:flex!important;flex-flow:row nowrap!important;justify-content:flex-end!important;align-items:stretch!important;gap:clamp(6px,.75vw,13px)!important;list-style:none!important;padding:0!important;margin:0!important;min-width:0;max-width:none!important;width:auto!important;background:transparent!important}
.s88h3-nav-entry{display:flex;position:static!important;align-items:stretch;flex:0 0 auto;min-width:max-content!important;max-width:none!important;list-style:none!important;padding:0!important;margin:0!important;white-space:nowrap;gap:0!important}
.s88h3-nav-link{display:inline-flex!important;flex:0 0 auto;align-items:center;justify-content:center;position:relative;width:auto!important;min-width:max-content!important;max-width:none!important;padding:0 clamp(5px,.65vw,10px)!important;margin:0!important;border:0!important;background:transparent!important;font-size:13px!important;line-height:1.35!important;font-weight:780!important;color:#e3eceb!important;text-decoration:none!important;white-space:nowrap!important;transition:color .14s}
.s88h3-nav-link:before{content:"";position:absolute;bottom:0;left:9px;right:9px;height:2px;background:var(--s88h3-lime);opacity:0;transform:scaleX(.5);transition:opacity .16s,transform .16s}
.s88h3-nav-entry:hover>.s88h3-nav-link,.s88h3-nav-entry:focus-within>.s88h3-nav-link,.s88h3-nav-entry.is-open>.s88h3-nav-link{color:var(--s88h3-lime)!important}
.s88h3-nav-entry:hover>.s88h3-nav-link:before,.s88h3-nav-entry.is-open>.s88h3-nav-link:before{opacity:1;transform:scaleX(1)}
.s88h3-nav-unlinked{cursor:default;opacity:.7}
.s88h3-nav-arrow{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 23px!important;width:23px!important;min-width:23px!important;max-width:23px!important;padding:0 5px 0 0!important;margin:0!important;background:none!important;border:0!important;box-shadow:none!important;color:var(--s88h3-lime)!important;cursor:pointer}
.s88h3-nav-arrow svg{width:13px;height:13px;display:block;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .14s}
.s88h3-nav-entry.is-open .s88h3-nav-arrow svg{transform:rotate(180deg)}
.s88h3-tools{display:flex;flex:0 0 auto;align-items:center;justify-content:flex-end;gap:9px}
.s88h3-search-wrap{position:static!important;display:flex;align-items:center;flex:0 0 auto}
.s88h3-search-button,.s88h3-mobile-open{display:flex!important;align-items:center;justify-content:center;width:39px!important;height:39px!important;min-width:39px!important;padding:0!important;margin:0!important;background:#1a272a!important;border:1px solid #40545a!important;border-radius:3px!important;box-shadow:none!important;color:#e7f0f1!important;cursor:pointer!important}
.s88h3-search-button:hover,.s88h3-search-button[aria-expanded=true],.s88h3-mobile-open:hover{color:var(--s88h3-lime)!important;border-color:#728f53!important}
.s88h3-search-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.s88h3-search-panel{position:absolute!important;left:auto!important;right:0!important;top:100%!important;z-index:100000;display:block;width:min(390px,100%)!important;max-width:100%!important;margin:0!important;padding:17px;background:#152023;border:1px solid #536568;border-top:2px solid var(--s88h3-lime);box-shadow:0 22px 55px #0008;border-radius:5px}
.s88h3-search-panel label{display:block;color:#f2f5f5;font-size:13px;font-weight:780;margin:0 0 10px}
.s88h3-search-fields{display:flex!important;flex-flow:row nowrap!important;align-items:stretch!important;width:100%!important;gap:8px!important}
.s88h3-search-fields input,.s88h3-filter{display:block;flex:1 1 auto;width:100%;min-width:0!important;height:42px!important;margin:0!important;padding:10px 12px!important;border:1px solid #4c5e61!important;border-radius:4px!important;background:#0b1417!important;color:#f4f7f7!important;box-shadow:none!important;font-size:13px!important;line-height:1.4!important}
.s88h3-search-fields input::placeholder,.s88h3-filter::placeholder{color:#91a2a5!important}
.s88h3-search-fields button{display:block;flex:0 0 auto;min-width:63px;padding:9px 15px!important;border:0!important;border-radius:3px!important;background:var(--s88h3-lime)!important;color:#111914!important;font-size:12px!important;font-weight:820!important;cursor:pointer!important}
.s88h3-telegram,.s88h3-drawer-telegram{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;flex:0 0 auto;min-height:39px;padding:0 12px!important;background:#293b31!important;border:1px solid #5b784b!important;border-radius:3px!important;color:#f4f7f4!important;text-decoration:none!important;font-size:12px!important;font-weight:800!important;white-space:nowrap!important}
.s88h3-telegram:hover,.s88h3-drawer-telegram:hover{background:#354d38!important;border-color:var(--s88h3-lime)!important;color:#fff!important}
.s88h3-telegram svg,.s88h3-drawer-telegram svg{display:block;width:19px;height:19px;fill:var(--s88h3-lime)}
/* PC mega panel is positioned relative to the header, not WordPress submenu wrappers. */
.s88h3-mega{position:absolute;top:100%;left:0;right:0;z-index:99999;display:none;grid-template-columns:250px minmax(0,1fr);width:100%;max-width:1320px;max-height:min(74vh,660px);margin:0!important;background:linear-gradient(130deg,#182529,#0d1518 65%,#182321);border:1px solid #425657;border-top:3px solid var(--s88h3-lime);border-radius:0 0 9px 9px;box-shadow:0 26px 60px #000b;color:#f1f5f6;overflow:hidden}
.s88h3-nav-entry--mega:hover:not(.is-dismissed)>.s88h3-mega,.s88h3-nav-entry--mega:focus-within:not(.is-dismissed)>.s88h3-mega,.s88h3-nav-entry--mega.is-open:not(.is-dismissed)>.s88h3-mega{display:grid}
.s88h3-mega-sidebar{display:flex;flex-direction:column;align-items:stretch;padding:31px 24px;min-width:0;border-right:1px solid #35494b;background:linear-gradient(145deg,#263439,#152023)}
.s88h3-mega-kicker{margin:0 0 8px;font-size:10px;font-weight:850;letter-spacing:.13em;color:var(--s88h3-lime)}
.s88h3-mega-heading{font-size:24px;font-weight:870;line-height:1.25;color:#fff;letter-spacing:-.04em}
.s88h3-mega-count{display:flex;align-items:baseline;gap:7px;margin:11px 0 24px;color:#c4d0d1}
.s88h3-mega-count strong{font-size:49px;line-height:1;font-weight:900;color:#fff;letter-spacing:-.05em}
.s88h3-mega-count span{font-size:12px;font-weight:750}
.s88h3-filter-label{display:block;margin-bottom:8px;font-size:11px;font-weight:730;color:#cbd5d6}
.s88h3-filter{flex:0 0 auto;height:43px!important}
.s88h3-overview{display:flex!important;align-items:center;justify-content:space-between;gap:7px;margin-top:12px!important;padding:12px!important;background:var(--s88h3-lime)!important;border-radius:3px!important;text-decoration:none!important;font-size:12px!important;font-weight:850!important;color:#0b1510!important}
.s88h3-overview:hover{background:#edffa2!important}
.s88h3-mega-content{min-width:0;display:flex;flex-direction:column;overflow-y:auto;padding:19px 24px 24px}
.s88h3-mega-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 0 10px;border-bottom:1px solid #394649;color:#a9bdc0;font-size:11px;font-weight:780;letter-spacing:.04em}
.s88h3-mega-close{display:grid!important;place-items:center!important;width:27px!important;height:27px!important;min-width:27px!important;padding:0!important;background:#263539!important;border:1px solid #506365!important;border-radius:3px!important;color:#e9f0f1!important;cursor:pointer!important}
.s88h3-mega-close svg,.s88h3-drawer-head svg{width:16px;height:16px;display:block;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.s88h3-mega-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:0 14px!important;align-content:start;align-items:start;list-style:none!important;margin:0!important;padding:9px 0 0!important;min-width:0!important;max-width:none!important}
.s88h3-mega-item{display:block!important;min-width:0!important;width:100%!important;margin:0!important;padding:0!important;list-style:none!important;border-bottom:1px solid #2b3b3e!important}
.s88h3-mega-item[hidden]{display:none!important}
.s88h3-mega-item a{display:flex!important;align-items:center;justify-content:space-between;gap:5px;width:100%;min-height:47px;padding:8px 5px!important;color:#e2eceb!important;font-size:12px!important;font-weight:770!important;line-height:1.35!important;white-space:normal!important;word-break:keep-all!important;overflow-wrap:anywhere!important;text-decoration:none!important;background:transparent!important}
.s88h3-mega-item a span{color:var(--s88h3-lime);opacity:0;font-size:12px;flex:0 0 auto;transition:opacity .14s}
.s88h3-mega-item a:hover,.s88h3-mega-item a:focus-visible{color:var(--s88h3-lime)!important;background:#20312c!important}
.s88h3-mega-item a:hover span,.s88h3-mega-item a:focus-visible span{opacity:1}
.s88h3-no-results{padding:25px 0;color:#b6c5c6;font-size:13px}
.s88h3-mobile-open,.s88h3-overlay,.s88h3-drawer{display:none!important}
.s88h3-scroll-lock{overflow:hidden!important}
@media(min-width:1180px) and (max-width:1375px){.s88h3-brand{width:clamp(170px,16vw,215px)}.s88h3-main{gap:10px}.s88h3-nav-list{gap:4px!important}.s88h3-nav-link{font-size:12px!important;padding-inline:5px!important}.s88h3-telegram{padding-inline:9px!important}.s88h3-mega{grid-template-columns:220px minmax(0,1fr)}.s88h3-mega-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
/* Independent mobile drawer below 1180px, avoiding nav label overlap altogether. */
@media(max-width:1179px){
.s88h3-topbar{display:none!important}
.s88h3-main{min-height:60px;align-items:center;gap:10px}
.s88h3-nav{display:none!important}
.s88h3-brand{width:clamp(145px,22vw,200px);height:auto}
.s88h3-tools{gap:8px}
.s88h3-mobile-open{display:flex!important;flex-direction:column;gap:5px}
.s88h3-mobile-open span{display:block;width:21px;height:2px;background:var(--s88h3-lime);border-radius:1px}
.s88h3-overlay:not([hidden]){display:block!important;position:fixed;inset:0;z-index:100001;background:#030809ca;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.s88h3-drawer:not([hidden]){display:flex!important;position:fixed;top:0;right:0;bottom:0;width:min(420px,95vw);max-width:100vw;height:100dvh;z-index:100002;flex-direction:column;overflow-y:auto;background:linear-gradient(145deg,#223037,#10191e 75%);border-left:1px solid #526163;box-shadow:-20px 0 45px #0009;color:#fff;padding:calc(14px + env(safe-area-inset-top,0px)) 18px calc(19px + env(safe-area-inset-bottom,0px))}
.s88h3-drawer-head{display:flex;justify-content:space-between;align-items:center;min-height:50px;border-bottom:1px solid #394c4f;padding:0 0 12px;color:var(--s88h3-lime);font-size:15px;font-weight:820}
.s88h3-drawer-head button{display:grid;place-items:center;width:38px;height:38px;background:#26363b;border:1px solid #4c6062;border-radius:3px;color:#eef6f5;cursor:pointer}
.s88h3-drawer-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-top:12px}
.s88h3-mobile-group{border-bottom:1px solid #36464a;margin:0}
.s88h3-mobile-group>summary,.s88h3-mobile-link{display:flex!important;align-items:center;justify-content:space-between;width:100%;min-height:53px;margin:0!important;padding:14px 6px!important;list-style:none;color:#f2f7f7!important;font-size:15px!important;font-weight:780!important;text-decoration:none!important;cursor:pointer!important;white-space:normal!important}
.s88h3-mobile-group>summary::-webkit-details-marker{display:none}
.s88h3-mobile-group>summary::marker{content:""}
.s88h3-mobile-group>summary svg{width:17px;height:17px;stroke:var(--s88h3-lime);stroke-width:2;fill:none;transition:transform .16s}
.s88h3-mobile-group[open]>summary{color:var(--s88h3-lime)!important}
.s88h3-mobile-group[open]>summary svg{transform:rotate(180deg)}
.s88h3-mobile-sub{display:flex;flex-direction:column;margin-bottom:12px;padding:4px 11px;background:#10191c;border:1px solid #3c4a4d;border-left:2px solid var(--s88h3-lime)}
.s88h3-mobile-sub a{display:block!important;margin:0!important;padding:11px 8px!important;border-bottom:1px solid #2f3c40!important;color:#cbd9da!important;font-size:13px!important;font-weight:650!important;text-decoration:none!important;line-height:1.35;white-space:normal!important;overflow-wrap:anywhere}
.s88h3-mobile-sub a:last-child{border-bottom:0!important}
.s88h3-mobile-sub a:hover{color:var(--s88h3-lime)!important;background:#23342c}
.s88h3-mobile-sub a.s88h3-mobile-all{color:var(--s88h3-lime)!important;font-weight:820!important}
.s88h3-mobile-disabled{opacity:.5;cursor:default!important}
.s88h3-drawer-telegram{margin-top:16px;display:flex!important;min-height:45px;width:100%;background:#293d31!important}
}
@media(max-width:650px){.s88h3{padding-inline:12px!important}.s88h3-topbar{display:none!important}.s88h3-main{min-height:58px!important;gap:7px}.s88h3-brand{width:clamp(130px,40vw,172px)}.s88h3-brand img{max-height:43px!important}.s88h3-tools{gap:6px!important}.s88h3-telegram{width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;padding:0!important}.s88h3-telegram span{display:none}.s88h3-search-button,.s88h3-mobile-open{width:40px!important;min-width:40px!important;height:40px!important}.s88h3-search-panel{left:auto!important;right:0!important;width:min(390px,100%)!important;max-width:100%!important;padding:15px!important;border-radius:0 0 7px 7px!important}.s88h3-drawer:not([hidden]){width:min(410px,100vw);padding-inline:16px}}
@media(max-width:355px){.s88h3{padding-inline:10px!important}.s88h3-main{min-height:56px!important}.s88h3-brand{width:126px}.s88h3-tools{gap:5px!important}.s88h3-search-button,.s88h3-mobile-open,.s88h3-telegram{width:38px!important;min-width:38px!important;height:38px!important;min-height:38px!important}.s88h3-search-panel{left:0!important;right:0!important;width:100%!important;padding:12px!important}}
@media(prefers-reduced-motion:reduce){.s88h3 *{transition:none!important;scroll-behavior:auto!important}}



/* v3.4 isolated responsive masthead. Desktop nav and its controls stay in their own container. */
.s88h3 .s88h3-mobilebar{display:none!important}
@media(max-width:1179px){
  .s88h3 .s88h3-topbar{display:none!important}
  .s88h3 .s88h3-main{display:none!important}
  .s88h3 .s88h3-mobilebar{
    display:flex!important;position:relative!important;align-items:center!important;
    flex-direction:row!important;flex-wrap:nowrap!important;justify-content:space-between!important;
    width:100%!important;max-width:1320px!important;min-width:0!important;
    min-height:62px!important;height:62px!important;margin:0 auto!important;padding:0!important;
    gap:10px!important;overflow:visible!important
  }
  .s88h3 .s88h3-mobilebar .s88h3-brand{
    display:flex!important;align-items:center!important;flex:0 1 auto!important;
    width:clamp(132px,24vw,190px)!important;min-width:0!important;max-width:190px!important;
    margin:0!important;padding:0!important;align-self:center!important
  }
  .s88h3 .s88h3-mobilebar .s88h3-brand img{display:block!important;width:100%!important;max-height:44px!important;height:auto!important}
  .s88h3 .s88h3-mobile-actions{
    display:flex!important;position:static!important;flex-direction:row!important;flex-wrap:nowrap!important;
    flex:0 0 auto!important;align-items:center!important;justify-content:flex-end!important;
    gap:8px!important;width:max-content!important;min-width:0!important;
    max-width:none!important;margin:0!important;padding:0!important
  }
  .s88h3 .s88h3-mobile-actions>.s88h3-search-wrap{
    display:flex!important;align-items:center!important;justify-content:center!important;
    position:static!important;flex:0 0 39px!important;width:39px!important;min-width:39px!important;
    height:39px!important;margin:0!important;padding:0!important
  }
  .s88h3 .s88h3-mobile-actions>.s88h3-telegram,
  .s88h3 .s88h3-mobile-actions>.s88h3-mobile-open,
  .s88h3 .s88h3-mobile-actions .s88h3-search-button{
    display:flex!important;flex:0 0 39px!important;align-items:center!important;justify-content:center!important;
    width:39px!important;min-width:39px!important;max-width:39px!important;
    height:39px!important;min-height:39px!important;max-height:39px!important;
    margin:0!important;padding:0!important;box-sizing:border-box!important
  }
  .s88h3 .s88h3-mobile-actions>.s88h3-mobile-open{
    flex-direction:column!important;gap:5px!important
  }
  .s88h3 .s88h3-mobile-actions>.s88h3-telegram span{display:none!important}
  .s88h3 .s88h3-mobilebar .s88h3-search-panel{
    position:absolute!important;left:0!important;right:0!important;top:100%!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    margin:0!important;border-radius:0 0 6px 6px!important
  }
}
@media(max-width:650px){
  .s88h3{padding-left:12px!important;padding-right:12px!important}
  .s88h3 .s88h3-mobilebar{min-height:60px!important;height:60px!important;gap:8px!important}
  .s88h3 .s88h3-mobilebar .s88h3-brand{width:clamp(126px,38vw,172px)!important}
  .s88h3 .s88h3-mobile-actions{gap:6px!important}
  .s88h3 .s88h3-mobile-actions>.s88h3-search-wrap,
  .s88h3 .s88h3-mobile-actions>.s88h3-telegram,
  .s88h3 .s88h3-mobile-actions>.s88h3-mobile-open,
  .s88h3 .s88h3-mobile-actions .s88h3-search-button{
    flex-basis:39px!important;width:39px!important;min-width:39px!important;max-width:39px!important;
    height:39px!important;min-height:39px!important;max-height:39px!important
  }
}
@media(max-width:355px){
  .s88h3{padding-left:10px!important;padding-right:10px!important}
  .s88h3 .s88h3-mobilebar{min-height:58px!important;height:58px!important;gap:6px!important}
  .s88h3 .s88h3-mobilebar .s88h3-brand{width:118px!important}
  .s88h3 .s88h3-mobile-actions{gap:5px!important}
  .s88h3 .s88h3-mobile-actions>.s88h3-search-wrap,
  .s88h3 .s88h3-mobile-actions>.s88h3-telegram,
  .s88h3 .s88h3-mobile-actions>.s88h3-mobile-open,
  .s88h3 .s88h3-mobile-actions .s88h3-search-button{
    flex-basis:37px!important;width:37px!important;min-width:37px!important;max-width:37px!important;
    height:37px!important;min-height:37px!important;max-height:37px!important
  }
}

/* v3.4 defense-in-depth: WordPress content formatters can wrap inline shortcode output.
   These selectors have no effect on the clean header, which has no p/br nodes. */
.s88h3 p{display:contents!important;margin:0!important;padding:0!important}
.s88h3 br{display:none!important}

/* v3.4.1 - SITE-WIDE FSE header-to-content gap fix.
   WordPress autoformatting can leave a blank paragraph after the header shortcode.
   Scope to the SLOT88 header template part; never alter page/post paragraphs. */
.wp-site-blocks > header.wp-block-template-part > .s88h3 ~ p,
.wp-site-blocks > header.wp-block-template-part:has(.s88h3) > p:empty,
.wp-site-blocks > header.wp-block-template-part:has(.s88h3) > p:has(> br:only-child){
  display:none!important;
  margin:0!important;
  padding:0!important;
  line-height:0!important;
}
