/* 타토아의원 구미점 시안 — 공통 오버라이드 (Pretendard + 타토아 웜그레이 톤) */
:root{--gm-dark:#1c1915;--gm-dark2:#363636;--gm-brown:#8e7b6c;--gm-g1:#a8a4a1;--gm-g2:#bab6b3;--gm-g3:#d8d1cc;--gm-bg:#eeebe6;--gm-bg2:#f6f4f1}
html body,body *:not(i):not([class*="icon"]):not([class*="fa-"]):not(.fa):not(.fab):not(.fas){font-family:'Pretendard',-apple-system,'Apple SD Gothic Neo','Malgun Gothic',sans-serif!important}
#rs-strip{background:var(--gm-dark)!important}
#rs-strip button:not(#rs-popbtn){display:none}
/* header */
#header-outer #logo img{height:35px!important;width:auto!important}
.gm_htel .menu-title-text{font-weight:700;letter-spacing:.02em}
/* quick pc */
.gm_quick ul li a{display:flex;flex-direction:column;align-items:center;gap:4px;text-decoration:none}
.gm_quick .gm_qi{display:flex;align-items:center;justify-content:center;width:54px;height:54px;border-radius:50%;background:var(--gm-dark2);box-shadow:0 4px 12px rgba(0,0,0,.15)}
.gm_quick .gm_qi img{width:24px!important;height:24px!important;object-fit:contain}
.gm_quick em{font-style:normal;font-size:11px;color:var(--gm-dark2);font-weight:600}
/* quick mobile bottom bar */
.gm_quick_mo .quick_menu_body ul{display:flex!important;justify-content:space-around}
.gm_quick_mo .quick_menu_body ul li{flex:1 1 0;min-width:0}
.gm_quick_mo .quick_menu_body ul li a{display:flex;flex-direction:column;align-items:center;gap:3px}
.gm_quick_mo .gm_qi{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:var(--gm-dark2)}
.gm_quick_mo .gm_qi img{width:16px!important;height:16px!important;object-fit:contain}
.gm_quick_mo .gm_qi_ev{font-size:7.5px;font-weight:800;color:#fff;letter-spacing:.02em}
.gm_quick_mo .text{white-space:nowrap}
.counsel_btn img{width:22px!important;height:22px!important;object-fit:contain}
/* hero info bar */
.gm-herobar{position:absolute;left:0;right:0;bottom:0;z-index:30;background:rgba(28,25,21,.72);backdrop-filter:blur(4px);color:#fff}
.gm-hb-in{max-width:1400px;margin:0 auto;display:flex;flex-wrap:wrap;align-items:center;gap:6px 28px;padding:14px 40px}
.gm-hb-i{display:flex;gap:10px;align-items:baseline;font-size:14px;line-height:1.5}
.gm-hb-i b{font-weight:700;color:var(--gm-g3);font-size:13px}
.gm-hb-i span,.gm-hb-i a{color:#fff!important}
.gm-hb-btn{margin-left:auto;gap:8px}
.gm-hb-btn a{display:inline-block;border:1px solid rgba(255,255,255,.6);border-radius:20px;padding:5px 14px;font-size:13px;font-weight:600}
.gm-hb-btn a:hover{background:#fff;color:var(--gm-dark)!important}
.section1{position:relative}
@media (max-width:999px){.gm-hb-in{padding:10px 16px;gap:4px 14px}.gm-hb-i{font-size:12px;gap:6px}.gm-hb-i b{font-size:11px}.gm-hb-btn{margin-left:0;width:100%}.gm-hb-btn a{font-size:12px;padding:3px 10px}}
@media (max-width:480px){.gm-hb-i:nth-child(2){display:none}}
/* chips */
.gm-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 10px;padding:22px 20px;background:var(--gm-bg);position:relative;z-index:2}
.gm-chips-t{font-weight:800;font-size:15px;color:var(--gm-dark);margin-right:8px;align-self:center}
.gm-chips a{display:inline-block;padding:6px 16px;border-radius:24px;background:#fff;color:#444!important;font-size:14px;font-weight:600;border:1px solid var(--gm-g3)}
.gm-chips a:hover{background:var(--gm-g1);color:#fff!important}
@media (max-width:690px){.gm-chips{gap:6px;padding:14px 12px;justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto}.gm-chips a{font-size:12.5px;padding:4px 11px;white-space:nowrap}.gm-chips-t{font-size:13px;white-space:nowrap}}
img.gm-sig{object-fit:cover;aspect-ratio:330/415;width:100%;max-width:330px}
.gm-bar{display:block;width:120px;height:3px;background:rgba(0,0,0,.12);margin:10px 0}.gm-bar i{display:block;height:100%;background:var(--gm-dark2)}
/* event strip */
/* product thumbs */
img.gm-thumb{aspect-ratio:1/1;object-fit:cover;width:100%;border-radius:8px}
.gm_noprice{display:none!important}
.gm-note{font-size:13px;color:#8e7b6c}
.gm-tbd{color:#b0413e;font-weight:600}
.gm-map{width:100%;height:100%;object-fit:cover;display:block}
#map{overflow:hidden}
#rs-toast{position:fixed;left:50%;bottom:110px;transform:translateX(-50%);z-index:2147483001;background:rgba(0,0,0,.85);color:#fff;padding:10px 16px;border-radius:8px;font-size:13px;line-height:1.45;max-width:86vw;text-align:center;opacity:0;transition:opacity .2s;pointer-events:none}
#rs-toast.on{opacity:1}
@media (max-width:999px){.gm-herobar{position:relative;background:var(--gm-dark2)}.section1 .gm-herobar{margin-top:0}}
/* category grid */
.gm-catgrid{margin:0 0 50px}
.gm-cg-t{font-size:24px;font-weight:800;margin:0 0 18px;color:var(--gm-dark)}.gm-cg-t small{font-size:14px;color:var(--gm-brown);font-weight:500;margin-left:8px}
ul.gm-cg{display:grid!important;grid-template-columns:repeat(5,1fr);gap:16px;list-style:none;margin:0!important;padding:0!important}
ul.gm-cg li{list-style:none;margin:0!important;width:auto!important;float:none!important}
ul.gm-cg a{display:block;background:#fff;border:1px solid var(--gm-g3);border-radius:10px;overflow:hidden;color:var(--gm-dark)!important;height:100%}
ul.gm-cg img{width:100%;aspect-ratio:1/1;object-fit:cover;display:block}
ul.gm-cg b{display:block;font-size:15px;font-weight:700;padding:10px 12px 2px;line-height:1.35}
ul.gm-cg span{display:block;font-size:12.5px;color:#666;padding:0 12px;line-height:1.45;word-break:keep-all}
ul.gm-cg em{display:block;font-style:normal;font-weight:800;color:var(--gm-brown);padding:6px 12px 12px;font-size:15px}
ul.gm-cg a span:last-child{padding-bottom:12px}
@media (max-width:999px){ul.gm-cg{grid-template-columns:repeat(2,1fr);gap:10px}.gm-cg-t{font-size:19px}}
.gm-more a{font-weight:700;color:var(--gm-brown)!important;text-decoration:underline}
/* detail */
.gm-sub{margin:10px 0 18px;color:#555;font-size:15px;line-height:1.6}
.gm-detail{clear:both;max-width:900px;margin:40px auto 60px;padding:36px 40px;background:var(--gm-bg2);border-radius:12px}
.gm-detail h2{font-size:24px;font-weight:800;line-height:1.4;margin:16px 0}
.gm-detail .gm-d-og{width:100%;max-width:600px;display:block;margin:0 auto;border-radius:8px}
.gm-d-body{font-size:15.5px;line-height:1.95;color:#333;white-space:pre-line;word-break:keep-all}
.gm-d-src{font-size:12.5px;color:var(--gm-brown)}
@media (max-width:690px){.gm-detail{padding:22px 16px;margin:24px 0 40px}.gm-detail h2{font-size:19px}.gm-d-body{font-size:14.5px}}
.gm-landing{clear:both;text-align:center;margin:30px auto 60px;max-width:1000px}
.gm-landing img{width:100%;height:auto;display:block;margin:0 auto}
.single-product-main-image img{aspect-ratio:1/1;object-fit:cover;border-radius:10px}
/* doctors */
img.gm-doc{object-fit:contain!important;background:var(--gm-bg);width:100%!important;height:auto!important;aspect-ratio:1/1}
.gm-prof{font-weight:700;text-decoration:underline}
/* reservation */
.gm-ch{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:26px 0 34px}
.gm-ch a{display:flex;flex-direction:column;align-items:center;gap:6px;padding:22px 10px;border:1px solid var(--gm-g3);border-radius:12px;background:#fff;color:var(--gm-dark)!important;text-align:center}
.gm-ch img{width:34px;height:34px;object-fit:contain;filter:brightness(.25)}
.gm-ch b{font-size:16px;font-weight:800}.gm-ch span{font-size:12.5px;color:#777;word-break:keep-all}
.gm-form{max-width:760px;margin:0 auto;text-align:left}
.gm-form label{display:block;font-weight:700;margin-bottom:6px}
.gm-form input[type=text],.gm-form input[type=tel],.gm-form select,.gm-form textarea{width:100%;border:1px solid var(--gm-g3)!important;border-radius:8px;padding:10px 12px!important;background:#fff}
.gm-form .button{background:var(--gm-dark2)!important;color:#fff!important;border-radius:30px!important;padding:12px 40px!important}
.gm-agree{font-weight:500!important}.gm-agree input{width:auto!important;margin-right:6px}
.gm-hours{margin-top:18px;font-size:13px;color:#666}
@media (max-width:690px){.gm-ch{grid-template-columns:repeat(2,1fr)}}
/* price */
.gm-price{text-align:left}
.gm-ph{font-size:21px;font-weight:800;margin:44px 0 16px;padding-bottom:10px;border-bottom:2px solid var(--gm-dark2)}
.gm-ph a{font-size:13px;font-weight:600;color:var(--gm-brown)!important;margin-left:10px}.gm-ph small{font-size:13px;color:#888;font-weight:500}
.gm-noplist{font-size:14px;line-height:2;color:#444}
.gm-selfpay{text-align:center}.gm-selfpay img{max-width:1100px;width:100%;height:auto}
.gm-psrc{margin-top:10px}
body[data-gm-key="event"] img.gm-thumb,body[data-gm-key="price"] img.gm-thumb{aspect-ratio:auto}
body[data-gm-key^="event-"] section.related img.gm-thumb{aspect-ratio:4/3}
.gm-banner img{max-width:900px;border-radius:12px}
#rs-popbtn{margin-left:12px;padding:2px 10px;border:1px solid #fff;background:transparent;color:#fff;font-size:11px;line-height:16px;font-family:inherit;border-radius:12px;cursor:pointer}
#gm-pop{position:fixed;inset:0;z-index:100000;background:rgba(0,0,0,.45);align-items:center;justify-content:center;flex-direction:column}
#gm-pop .gm-pop-in{display:flex;gap:10px;max-width:96vw;overflow-x:auto}
#gm-pop .gm-pop-item img{width:300px;max-width:80vw;height:auto;display:block}
#gm-pop .gm-pop-btns{display:flex;width:300px;background:#000;color:#fff;margin-top:0}
#gm-pop .gm-pop-btns p{width:50%;text-align:center;padding:10px 0;margin:0;cursor:pointer;font-size:15px}
/* 첫 화면 팝업 가로:세로 5:3 (지점별, SiteRenderer::POPUP_RATIO_BY_CODE) — PC: 화면 너비 50% 이상, 팝업 전체 높이(탭·닫기 줄 120px 포함) 화면 90% 안 / 모바일: 화면 너비 그대로 */
html body #cross-popup-slider .cross-popup-slider-common.cross-popup-slider-pc .popup-wrap{width:min(max(50vw,600px),calc(100vw - 40px),calc((90vh - 120px) * 5 / 3))!important;max-width:none!important}
html body #cross-popup-slider .swiper-slide>a{display:block;aspect-ratio:5/3;background:#fff;overflow:hidden}
html body #cross-popup-slider .swiper-slide>a>img{display:block;width:100%!important;height:100%!important;max-height:none;object-fit:cover}
/* PC 퀵메뉴: 글자 숨김 → 마우스 올림·키보드 초점 때 아이콘 옆으로 펼침 (지점별, SiteRenderer::QUICK_HOVER_BY_CODE) — 링크·aria-label·글자는 그대로, 모바일 아래 막대는 그대로 */
@media (min-width:1000px) and (hover:hover) and (pointer:fine){
html body .gm_quick.gm_quick ul{display:flex;flex-direction:column;align-items:flex-end}
html body .gm_quick.gm_quick li>:is(a,button){width:auto;gap:0;transition:gap .25s ease}
html body .gm_quick.gm_quick li>:is(a,button) em{flex:0 0 auto;width:113px;max-width:0;padding:0;opacity:0;overflow:hidden;transform:translateX(8px);transition:max-width .25s ease,padding .25s ease,opacity .25s ease,transform .25s ease}
html body .gm_quick.gm_quick li>:is(a,button):is(:hover,:focus-visible){gap:17px}
html body .gm_quick.gm_quick li>:is(a,button):is(:hover,:focus-visible) em{max-width:113px;padding:0 8px;opacity:1;transform:none}
}
@media (min-width:1000px) and (hover:hover) and (pointer:fine) and (prefers-reduced-motion:reduce){ html body .gm_quick.gm_quick li>:is(a,button),html body .gm_quick.gm_quick li>:is(a,button) em{transition:none} }
/* 1.9.11 원 커서 · 1.9.14 로고 t · 1.9.19: #2c2825 한 색+흰 1px 외곽선 · 기본 29×33 · 기울기 ±25deg · 1.9.20: 호버 45×52 (지점별, SiteRenderer::CURSOR_CLIP_BY_CODE) — PC 마우스에서만, 클릭을 막지 않음. 동작은 assets/gm-port.js 끝 */
#gm-cursor{display:none}
@media (hover:hover) and (pointer:fine){
#gm-cursor{display:block;position:fixed;left:0;top:0;z-index:2147483000;pointer-events:none;will-change:transform;transition:opacity .3s;filter:drop-shadow(1px 0 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 1px 0 #fff) drop-shadow(0 -1px 0 #fff)}
#gm-cursor.is-out{opacity:0}
/* 1.9.20: #2c2825 채움 + 흰 1px 한 겹 외곽선(1.9.18 A2와 같음). 기본 29×33(1.5배). 호버 45×52(1.9.19 60×70 증가폭의 절반) · 불투명도 .42 */
#gm-cursor .gm-cursor__circle{width:29px;height:33px;margin:-16.5px 0 0 -14.5px;border-radius:0;background:#2c2825;-webkit-mask:url(img/gm-cursor-t.png) center/contain no-repeat;mask:url(img/gm-cursor-t.png) center/contain no-repeat;transform-origin:50% 50%;transition:width .45s,height .45s,margin .45s,opacity .45s}
#gm-cursor.is-hover .gm-cursor__circle{width:45px;height:52px;margin:-26px 0 0 -22.5px;opacity:.42}
}
@media (hover:none),(pointer:coarse){#gm-cursor{display:none!important}}
@media (prefers-reduced-motion:reduce){#gm-cursor,#gm-cursor .gm-cursor__circle{transition:none}}
/* 1.9.11 글자 안에 사진이 비치는 큰 영문 타이틀 — 미지원 브라우저는 단색(#2c2825) */
html body .gm-clip{position:relative;box-sizing:border-box;width:calc(100vw - var(--gm-sbw,0px));max-width:none;margin:0 0 0 calc(50% - 50vw + var(--gm-sbw,0px) / 2);padding:190px 24px 180px;text-align:center;background:#f5f3f2;overflow:hidden}
.gm-clip .gm-clip__in{max-width:1400px;margin:0 auto}
html body .gm-clip .gm-clip__t{margin:0;padding:0;font-weight:400;font-size:clamp(44px,12.4vw,188px);line-height:1.12;letter-spacing:.02em;color:#2c2825;text-transform:none;white-space:nowrap}
@supports ((-webkit-background-clip:text) or (background-clip:text)){ html body .gm-clip .gm-clip__t{color:transparent;-webkit-text-fill-color:transparent;background:#2c2825 url(img/interior_07.png) 0% 90%/600% auto no-repeat;-webkit-background-clip:text;background-clip:text} }
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){ html body .gm-clip .gm-clip__t{background-attachment:fixed;background-size:600% auto;background-position:0% 50%} }
html body .gm-clip .gm-clip__t:not(#gm-x){font-family:'GM Marcellus','Marcellus',serif!important}
/* 1.9.12 타이틀 아래 메시지 (Pretendard — gm.css 전역 글꼴) */
html body .gm-clip .gm-clip__msg{margin:64px auto 0;max-width:900px;word-break:keep-all}
html body .gm-clip .gm-clip__ko{margin:0;font-size:36px;line-height:1.4;font-weight:700;color:#2c2825;letter-spacing:-.02em}
html body .gm-clip .gm-clip__pt{margin:18px 0 0;font-size:17px;line-height:1.5;font-weight:500;letter-spacing:.04em;color:#8e8075}
html body .gm-clip .gm-clip__desc{margin:30px 0 0;font-size:18px;line-height:1.8;font-weight:400;color:#5b524b}
@media (max-width:999px){html body .gm-clip{padding:110px 20px 104px} html body .gm-clip .gm-clip__msg{margin-top:36px} html body .gm-clip .gm-clip__ko{font-size:22px} html body .gm-clip .gm-clip__ko{padding-bottom:0} html body .gm-clip .gm-clip__pt{margin-top:20px;font-size:14px} html body .gm-clip .gm-clip__desc{margin-top:18px;font-size:15px;line-height:1.75}}
/* 1.9.26 구미: 예약 아이콘·「Naver >」 없음. 주소 줄만 두고 float로 흰 박스 높이는 실서버를 넘지 않게 */
html body .map_con_left_wrap{float:left;display:block;width:100%;box-sizing:border-box;margin-left:0;margin-right:0;text-align:left}
html body .map_con_left_wrap p{word-break:keep-all}
html body .map_con_left_wrap .gm-addr-clinic{white-space:nowrap}
@media (max-width:767px){html body .foot_infor_wrap .map_wrap .vc_col-sm-12 .vc_column-inner{padding-bottom:46px!important}}
@media (max-width:389px){html body .map_con_left_wrap p{font-size:clamp(11px,calc(13px * 100vw / 390px),13px);font-weight:400!important}}
@media (max-width:359px){html body .foot_infor_wrap .map_wrap .vc_col-sm-12 .vc_column-inner{padding-bottom:58px!important}}
/* 1.9.22 구미 모바일 원장 상세: Salient .team_member_picture{display:none}(max-width:690px)을 덮고, 사진 위·소개 아래. PC는 그대로 */
@media (max-width:690px){
html body .nectar_team_member_overlay .inner-wrap{display:flex;flex-direction:column;height:100%;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;padding-top:0 !important}
html body .nectar_team_member_overlay .team_member_picture{display:block;order:-1;position:relative;width:100%;height:auto;aspect-ratio:4/3;right:auto;top:auto;left:auto;flex:0 0 auto;pointer-events:none;background-color:#f2f2f2}
html body .nectar_team_member_overlay .team_member_picture .team_member_picture_wrap{position:absolute;inset:0;width:100%;height:100%;overflow:hidden}
html body .nectar_team_member_overlay .team_member_image{opacity:1;transform:scale(1);-webkit-transform:scale(1);height:100%;width:100%;background-position:center top;background-size:cover}
html body .nectar_team_member_overlay .team_member_picture .team_member_image_bg_cover{display:none}
html body .nectar_team_member_overlay .team_member_details{width:100%;max-height:none;overflow:visible;position:relative;flex:1 0 auto;padding:24px 20px 40px}
html body .page-id-25 .nectar_team_member_overlay .team_member_details{padding:24px 20px 40px !important}
html body .nectar_team_member_overlay .team_member_details .bio-inner .mobile-close{position:fixed;top:16px;left:16px;z-index:1200;margin:0;background:#fff}
}

/* Gumi desktop header hover, user-approved 2026-11-15 */
@media (min-width:1000px) and (hover:hover) and (pointer:fine){
html body #header-outer #top nav > ul.sf-menu:not(.buttons) > li > a > .menu-title-text{position:relative;display:inline-block;transition:color 280ms ease}
html body #header-outer #top nav > ul.sf-menu:not(.buttons) > li > a > .menu-title-text::after{content:"";position:absolute;left:0;right:auto;top:auto;bottom:-9px;width:100%;height:1px;border:0!important;background:#8e8075;opacity:1;transform:scaleX(0);transform-origin:50% 50%;transition:transform 280ms cubic-bezier(.22,.61,.36,1);pointer-events:none}
html body #header-outer #top nav > ul.sf-menu:not(.buttons) > li:hover > a > .menu-title-text,html body #header-outer #top nav > ul.sf-menu:not(.buttons) > li > a:focus-visible > .menu-title-text{color:#8e8075!important}
html body #header-outer #top nav > ul.sf-menu:not(.buttons) > li:hover > a > .menu-title-text::after,html body #header-outer #top nav > ul.sf-menu:not(.buttons) > li > a:focus-visible > .menu-title-text::after{transform:scaleX(1)}
}
@media (min-width:1000px) and (hover:hover) and (pointer:fine) and (prefers-reduced-motion:reduce){html body #header-outer #top nav > ul.sf-menu:not(.buttons) > li > a > .menu-title-text,html body #header-outer #top nav > ul.sf-menu:not(.buttons) > li > a > .menu-title-text::after{transition:none!important}}

/* Gumi submenu refinement 2026-11-16: desktop only, original DOM/link order retained. */
@media (min-width:1000px){
html body #header-outer #top nav > ul.sf-menu:not(.buttons) > li > ul.sub-menu{box-sizing:border-box;width:224px!important;padding:12px!important;border:1px solid #e9e3dc!important;border-radius:8px!important;box-shadow:0 12px 28px rgba(47,38,29,.10)!important;column-count:1;column-gap:12px}
html body #header-outer #top nav > ul.sf-menu:not(.buttons) > li:is(.menu-item-901,.menu-item-9570,.menu-item-9560) > ul.sub-menu{width:416px!important;column-count:2}
html body #header-outer #top nav > ul.sf-menu:not(.buttons) > li.menu-item-9560 > ul.sub-menu{left:0!important;right:auto!important}
html body #header-outer #top nav > ul.sf-menu:not(.buttons) > li > ul.sub-menu > li{float:none!important;display:block!important;vertical-align:top;width:100%!important;break-inside:avoid}
html body #header-outer #top nav > ul.sf-menu:not(.buttons) > li > ul.sub-menu > li > a{box-sizing:border-box;min-height:42px;padding:10px 12px!important;font-size:16px!important;line-height:22px!important;border-radius:4px;color:#4e4944!important;background:transparent!important;transition:color 180ms ease,background-color 180ms ease}
html body #header-outer #top nav > ul.sf-menu:not(.buttons) > li > ul.sub-menu > li > a > .menu-title-text{position:relative;display:inline-block}
html body #header-outer #top nav > ul.sf-menu:not(.buttons) > li > ul.sub-menu > li > a > .menu-title-text::after{content:"";position:absolute;left:0;right:auto;bottom:-4px;top:auto;width:20px;height:1px;border:0!important;background:#8e8075;opacity:1;transform:scaleX(0);transform-origin:left center;transition:transform 180ms ease;pointer-events:none}
html body #header-outer #top nav > ul.sf-menu:not(.buttons) > li > ul.sub-menu > li > a:is(:hover,:focus-visible){color:#8e8075!important;background:#f6f2ed!important}
html body #header-outer #top nav > ul.sf-menu:not(.buttons) > li > ul.sub-menu > li > a:is(:hover,:focus-visible) > .menu-title-text::after{transform:scaleX(1)}
html body #header-outer #top nav > ul.sf-menu:not(.buttons) > li > ul.sub-menu > li > a:focus-visible{outline:2px solid #b9a797;outline-offset:-2px}
html body #header-outer #top nav > ul.sf-menu:not(.buttons) > li:focus-within > ul.sub-menu{display:block!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important}
}
@media (min-width:1000px) and (prefers-reduced-motion:reduce){html body #header-outer #top nav > ul.sf-menu:not(.buttons) > li > ul.sub-menu > li > a,html body #header-outer #top nav > ul.sf-menu:not(.buttons) > li > ul.sub-menu > li > a > .menu-title-text::after{transition:none!important}}

/* Gumi event dropdown only: balanced desktop columns, in original link order. */
@media (min-width:1000px){
html body #header-outer #top nav > ul.sf-menu:not(.buttons) > li.menu-item-902 > ul.sub-menu{width:456px!important;column-count:2;column-gap:12px}
html body #header-outer #top nav > ul.sf-menu:not(.buttons) > li.menu-item-902 > ul.sub-menu > li > a{padding-inline:9px!important;white-space:normal;word-break:keep-all;overflow-wrap:anywhere}
}

/* Gumi mobile event submenu: wrap at Korean word boundaries, not inside a word. */
html body #slide-out-widget-area .off-canvas-menu-container.mobile-only li.menu-item-902 > ul.sub-menu > li > a > .menu-title-text{word-break:keep-all!important;overflow-wrap:normal!important}
/* 구미 모바일 메뉴 폭 C7 시안.
 * 시각·폭 규칙은 C5와 같다. letter-spacing -0.05em은 360px 이하만.
 * 이 조각 자체에는 구미 전용 스코프 선택자(예: body[data-branch=gumi])가 없다.
 * 반드시 SiteRenderer::branchCssTail()에서 branchCode==='gumi'일 때만,
 * 기존 gumiEventDropdownCss()보다 뒤에 붙여야 한다.
 * gmsite_rps.css나 공통 CSS에 넣으면 다른 지점까지 바뀐다.
 * 1.9.56에서 구미 전용으로 반영.
 * 적용 범위: max-width 690px만. 691–1280은 자식 테마 250px, 1440 데스크톱은 그대로.
 */
@media screen and (max-width: 690px) {

  /* 패널 폭·여백. 좌우 20px 여백은 스크롤 상자(.inner-wrap) 안에 두어,
     화살표가 여백에 있어도 overflow에 잘리지 않게 한다.
     위 80px는 패널 패딩으로 남겨 햄버거 아래로 글자가 스크롤되지 않게 한다.
     패널 자체는 pointer-events:none, 안쪽 메뉴와 상단 닫기 띠만 auto. */
  html body #slide-out-widget-area.slide-out-from-right-hover {
    width: 50% !important;
    max-width: 200px !important;
    box-sizing: border-box !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 80px !important;
    overflow: hidden !important;
    pointer-events: none !important;
  }
  html body #slide-out-widget-area.slide-out-from-right-hover > .inner-wrap {
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    height: 100% !important;
    max-height: 100% !important;
    min-height: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 1 !important;
  }

  /* JS가 넣는 상단 80px 닫기 히트. 햄버거(X)와 데드존을 여기서 받는다. */
  html body #slide-out-widget-area.slide-out-from-right-hover > #gumi-ocm-top-close {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 80px !important;
    pointer-events: auto !important;
    z-index: 5 !important;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer;
  }

  /* 테마 min-width:190px가 좁은 패널에서 글자를 밀어 내는 것을 막음 */
  html body #slide-out-widget-area.slide-out-from-right-hover .off-canvas-menu-container,
  html body #slide-out-widget-area.slide-out-from-right-hover .off-canvas-menu-container.mobile-only {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 이벤트 하위 목록은 세로로만. 테마가 display:flex 기본(가로)이라
     펼침 직후 높이가 0으로 남으면 항목이 가로로 새어 나간다. */
  html body #slide-out-widget-area .off-canvas-menu-container.mobile-only li.menu-item-902.open-submenu > ul.sub-menu,
  html body #slide-out-widget-area .off-canvas-menu-container.mobile-only li.menu-item-902.open > ul.sub-menu {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    box-sizing: border-box !important;
  }
  html body #slide-out-widget-area .off-canvas-menu-container.mobile-only li.menu-item-902 > ul.sub-menu > li {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  /* 이벤트 하위만 줄바꿈. gumiEventDropdownCss의 overflow-wrap:normal을 뒤에서 덮음 */
  html body #slide-out-widget-area .off-canvas-menu-container.mobile-only li.menu-item-902 > ul.sub-menu > li > a,
  html body #slide-out-widget-area .off-canvas-menu-container.mobile-only li.menu-item-902 > ul.sub-menu > li > a > .menu-title-text {
    overflow-wrap: anywhere !important;
    word-break: keep-all !important;
    white-space: normal !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 「TATOA GUMI」는 한 줄. 화살표는 흐름에서 빼서 폭을 잡아먹지 않게 함.
     letter-spacing -0.05em은 360px 이하에만 적용(토니 C4 권고). */
  html body #slide-out-widget-area .off-canvas-menu-container.mobile-only ul.menu > li.menu-item-900 > a,
  html body #slide-out-widget-area .off-canvas-menu-container.mobile-only ul.menu > li.menu-item-900 > a > .menu-title-text {
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
  }
  @media screen and (max-width: 360px) {
    html body #slide-out-widget-area .off-canvas-menu-container.mobile-only ul.menu > li.menu-item-900 > a,
    html body #slide-out-widget-area .off-canvas-menu-container.mobile-only ul.menu > li.menu-item-900 > a > .menu-title-text {
      letter-spacing: -0.05em !important;
    }
  }
  html body #slide-out-widget-area .off-canvas-menu-container.mobile-only ul.menu > li.menu-item-has-children {
    position: relative !important;
  }
  html body #slide-out-widget-area .off-canvas-menu-container.mobile-only ul.menu > li.menu-item-has-children:not(.menu-item-900) > a {
    padding-right: 44px !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
  }
  html body #slide-out-widget-area .off-canvas-menu-container.mobile-only ul.menu > li.menu-item-900.menu-item-has-children > a {
    padding-right: 0 !important;
  }

  /* 펼침 화살표: 250px 전제였던 padding-left:200px를 버림 */
  html body #slide-out-widget-area .ocm-dropdown-arrow {
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    padding-left: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  /* TATOA GUMI 행: 히트 폭 22px, 높이 44, 오른쪽 여백에 붙임. 보이는 꺾쇠는 flex-end. */
  html body #slide-out-widget-area .off-canvas-menu-container.mobile-only ul.menu > li.menu-item-900 > .ocm-dropdown-arrow,
  html body #slide-out-widget-area .off-canvas-menu-container.mobile-only ul.menu > li.menu-item-900 > a .ocm-dropdown-arrow {
    width: 22px !important;
    min-width: 22px !important;
    max-width: 22px !important;
    height: 44px !important;
    min-height: 44px !important;
    right: -20px !important;
    justify-content: flex-end !important;
  }

  /* 터치 44px */
  html body #slide-out-widget-area.slide-out-from-right-hover .off-canvas-menu-container.mobile-only ul.menu > li > a,
  html body #slide-out-widget-area.slide-out-from-right-hover .off-canvas-menu-container.mobile-only ul.sub-menu > li > a {
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    box-sizing: border-box !important;
  }
  html body #header-outer .slide-out-widget-area-toggle,
  html body #header-outer .slide-out-widget-area-toggle a {
    min-width: 44px !important;
    min-height: 44px !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* 디밍: 테마는 열린 뒤에도 opacity 0이고 body에 material-ocm-open이 없다.
     패널 .open을 :has()로 잡고, C7 JS가 붙이는 body.gumi-ocm-open / material-ocm-open도 폴백으로 켠다.
     닫히면 opacity 0·pointer-events none으로 돌아간다. 실제 농도 약 0.32. */
  html body #slide-out-widget-area-bg {
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    inset: 0 !important;
    left: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.8) !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
  html body:has(#slide-out-widget-area.open) #slide-out-widget-area-bg,
  html body.gumi-ocm-open #slide-out-widget-area-bg,
  html body.material-ocm-open #slide-out-widget-area-bg,
  html body #slide-out-widget-area-bg.open,
  html body #slide-out-widget-area-bg.revealed {
    opacity: 0.4 !important;
    pointer-events: auto !important;
  }

}
/* 구미 홈 WHY TATOA 시안 A2 — A안의 뼈대(텍스트 열 왼쪽 정렬 점, PC 진행 막대 숨김, 점 클릭 유지).
   세로는 JS가 선택된 본문 하단 + 32px 로 맞춘다. 이 파일은 top만 비워 둔다.
   뷰포트 margin-bottom 80px 는 기본으로 두지 않는다. 점이 캐러셀 아래로 넘칠 때만 JS가 더한다.
   적용 위치: SiteRenderer::branchCssTail(), branchCode==='gumi' 일 때만(gumiEventDropdownCss() 뒤).
   gmsite.css / gmsite_rps.css / gm.css 는 수정하지 않는다.
   999px 이하 모바일은 건드리지 않는다. */
@media (min-width: 1000px) {
  html body .section4 .nectar-flickity[data-control-style="material_pagination"] .flickity-page-dots,
  html body .section4 .nectar-flickity .flickity-page-dots {
    left: calc(50% + 100px);
    right: auto;
    width: auto;
    bottom: auto;
    top: 0;
    transform: none;
    text-align: left;
    margin: 0 !important;
    z-index: 3;
    pointer-events: auto;
  }
  html body .section4 .nectar-flickity.nectar-carousel:not(.masonry) .flickity-viewport {
    margin-bottom: 0 !important;
  }
  html body .section4 .gm-bar {
    display: none !important;
  }
}
@media (min-width: 1000px) and (max-width: 1500px) {
  html body .section4 .nectar-flickity[data-control-style="material_pagination"] .flickity-page-dots,
  html body .section4 .nectar-flickity .flickity-page-dots {
    left: calc(50% + 50px);
  }
}

/* Keep mobile disclosures in the title row, clear of the links. */
@media screen and (max-width: 690px) {
  html body #slide-out-widget-area.slide-out-from-right-hover {
    min-width: min(188px, 100vw) !important;
  }

  html body #slide-out-widget-area.slide-out-from-right-hover > .inner-wrap {
    overflow-anchor: none;
  }

  /* The theme can retain the height of a previously expanded submenu. */
  html body #slide-out-widget-area.slide-out-from-right-hover > .inner-wrap > .inner {
    min-height: 0 !important;
  }

  html body #slide-out-widget-area.slide-out-from-right-hover > .inner-wrap > .inner > .off-canvas-menu-container.mobile-only {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Keep submenu links compact while leaving room for wrapped labels. */
  html body #slide-out-widget-area.slide-out-from-right-hover .off-canvas-menu-container.mobile-only ul.menu > li:is(.menu-item-900, .menu-item-902, [data-tatoa-mobile-disclosure-row]) > ul.sub-menu > li {
    margin: 2px 0 !important;
  }

  html body #slide-out-widget-area.slide-out-from-right-hover .off-canvas-menu-container.mobile-only ul.menu > li:is(.menu-item-900, .menu-item-902, [data-tatoa-mobile-disclosure-row]) > ul.sub-menu > li:first-child {
    margin-top: 8px !important;
  }

  html body #slide-out-widget-area.slide-out-from-right-hover .off-canvas-menu-container.mobile-only ul.menu > li:is(.menu-item-900, .menu-item-902, [data-tatoa-mobile-disclosure-row]) > ul.sub-menu > li > a {
    padding-block: 3px !important;
  }

  html body #slide-out-widget-area .off-canvas-menu-container.mobile-only ul.menu > li:is(.menu-item-900, .menu-item-902, [data-tatoa-mobile-disclosure-row]) > a {
    position: static !important;
    width: calc(100% - 44px) !important;
    max-width: calc(100% - 44px) !important;
    padding-right: 0 !important;
  }

  html body #slide-out-widget-area .off-canvas-menu-container.mobile-only ul.menu > li.menu-item-900 > a {
    font-size: 19px !important;
  }

  html[data-tatoa-mobile-menu="all"] body #slide-out-widget-area .off-canvas-menu-container.mobile-only ul.menu > li[data-tatoa-mobile-disclosure-row] > a {
    display: flex !important;
    align-items: center;
    box-sizing: border-box;
    min-height: 44px;
    padding-block: 0 !important;
    padding-inline-end: 0 !important;
    line-height: 22px !important;
  }

  html body #slide-out-widget-area .off-canvas-menu-container.mobile-only ul.menu > li:is(.menu-item-900, .menu-item-902, [data-tatoa-mobile-disclosure-row]) > .ocm-dropdown-arrow,
  html body #slide-out-widget-area .off-canvas-menu-container.mobile-only ul.menu > li:is(.menu-item-900, .menu-item-902, [data-tatoa-mobile-disclosure-row]) > a .ocm-dropdown-arrow {
    top: 0 !important;
    right: 0 !important;
    transform: none !important;
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    justify-content: center !important;
    cursor: pointer;
    z-index: 1;
  }

  html body #slide-out-widget-area .off-canvas-menu-container.mobile-only ul.menu > li:is(.menu-item-900, .menu-item-902, [data-tatoa-mobile-disclosure-row]) > .ocm-dropdown-arrow > i,
  html body #slide-out-widget-area .off-canvas-menu-container.mobile-only ul.menu > li:is(.menu-item-900, .menu-item-902, [data-tatoa-mobile-disclosure-row]) > a .ocm-dropdown-arrow > i {
    transform: rotate(0deg);
    transition: transform 160ms ease;
  }

  html body #slide-out-widget-area .off-canvas-menu-container.mobile-only ul.menu > li:is(.menu-item-900, .menu-item-902, [data-tatoa-mobile-disclosure-row]).open-submenu > .ocm-dropdown-arrow > i,
  html body #slide-out-widget-area .off-canvas-menu-container.mobile-only ul.menu > li:is(.menu-item-900, .menu-item-902, [data-tatoa-mobile-disclosure-row]).open-submenu > a .ocm-dropdown-arrow > i {
    transform: rotate(180deg);
  }

  html body #slide-out-widget-area .off-canvas-menu-container.mobile-only ul.menu > li:is(.menu-item-900, .menu-item-902, [data-tatoa-mobile-disclosure-row]) > .ocm-dropdown-arrow:focus-visible,
  html body #slide-out-widget-area .off-canvas-menu-container.mobile-only ul.menu > li:is(.menu-item-900, .menu-item-902, [data-tatoa-mobile-disclosure-row]) > a .ocm-dropdown-arrow:focus-visible {
    outline: 2px solid currentColor !important;
    outline-offset: -2px;
  }
}

@media screen and (max-width: 690px) and (prefers-reduced-motion: reduce) {
  html body #slide-out-widget-area .off-canvas-menu-container.mobile-only ul.menu > li:is(.menu-item-900, .menu-item-902, [data-tatoa-mobile-disclosure-row]) .ocm-dropdown-arrow > i {
    transition: none;
  }
}
