@charset "utf-8";
/* ============================================================
   우석장학문화재단 - common.css
   공통 리셋 / 변수 / 헤더 / 푸터 / 전체메뉴
   Design: 1920 canvas · Content: 1440
   ============================================================ */

/* ---------- Webfont : Pretendard ---------- */
@import url("/api/modules/assets/hwashin-site/dist/sites/HSwooseok/assets/fonts/pretendard/fonts.css");

/* ---------- Reset ---------- */
*,*::before,*::after{box-sizing:border-box}
html,body,div,span,h1,h2,h3,h4,h5,h6,p,a,em,img,strong,b,i,ul,ol,li,form,label,table,thead,tbody,tfoot,tr,th,td,article,aside,footer,header,nav,section,figure,figcaption,button{margin:0;padding:0;border:0;font:inherit;vertical-align:baseline}
article,aside,figure,figcaption,footer,header,nav,section,main{display:block}
ul,ol{list-style:none}
img{max-width:100%;vertical-align:top;border:0}
a{color:inherit;text-decoration:none}
button{background:none;cursor:pointer;font:inherit;color:inherit}
address{font-style:normal}
table{border-collapse:collapse;border-spacing:0}
/* 자간 -25 (PSD Tracking) : em 은 요소별 font-size 기준으로 계산되어야 하므로 전역 선택자 사용 */
*{letter-spacing:-0.025em}

html{font-size:10px;-webkit-text-size-adjust:100%}
body{
  font-family:'Pretendard',sans-serif;
  font-size:16px;line-height:1.5;color:#000;background:#fff;
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
}
.pc-br{display:inline}
.blind{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* ---------- Design tokens ---------- */
:root{
  /* Brand */
  --c-accent:#9A82C2;
  --c-blue:var(--c-accent);
  --c-mint:#4DA7B5;
  --c-purple:#9A82C2;
  --c-pink:#CF7FA8;
  --c-green:#66B79A;
  --c-cyan:var(--c-accent);          /* 햄버거 버튼 */

  /* Neutral */
  --c-black:#000000;
  --c-body:#434343;
  --c-date:#7D7D7D;
  --c-ft-bg:#292620;
  --c-ft-dim:#898989;
  --c-ft-txt:#C9C9C9;

  /* Gradient (장학사업 카드) */
  --g-scholar:linear-gradient(to bottom right,#5B91C5 0%,#4DA7B6 50%,#66B79A 100%);

  /* Layout */
  --wrap:1440px;
  --gutter:40px;
  --radius-card:10px;
  --header-h:100px;
}

/* ---------- Layout helper ---------- */
.wrap{width:var(--wrap);margin:0 auto;position:relative}

/* ============================================================
   HEADER
   1920 기준 : 로고 61px / GNB 715px / KOR 1729px / 햄버거 1820px
   flex-grow 비율(415 : 433 : 29)로 축소 시에도 비율 유지
   ============================================================ */
#header{
  position:absolute;top:0;left:0;z-index:100;
  width:100%;height:var(--header-h);
  border-bottom:1px solid rgba(255,255,255,.3);
  transition:background-color .3s ease, border-color .3s ease;
}
#header .header__inner{
  display:flex;align-items:center;
  height:100px;padding-left:61px;
}
#header .logo{flex:0 0 auto;line-height:0}
#header .logo img{width:239px;height:32px}

#header .sp1{flex:415 1 0}
#header .sp2{flex:433 1 0}
#header .sp3{flex:29 1 0}

#header .gnb{flex:0 0 auto}
#header .gnb > ul{display:flex}
#header .gnb > ul > li{width:130px}
#header .gnb > ul > li:last-child{width:auto}
#header .gnb > ul > li > a{
  display:inline-block;position:relative;
  font-size:18.6667px;font-weight:600;line-height:1;color:#fff;
  padding:8px 0;
}
#header .gnb > ul > li > a::after{
  content:"";position:absolute;left:0;bottom:2px;width:0;height:2px;
  background:#fff;transition:width .3s ease;
}
#header .gnb > ul > li:hover > a::after,
#header .gnb > ul > li.on > a::after{width:100%}

#header .util{flex:0 0 auto;display:flex;align-items:center;gap:10px}
#header .util .lang{font-size:16px;font-weight:600;line-height:1;color:#fff}
#header .util .globe{width:22px;height:22px}

#header .btn-allmenu{
  flex:0 0 auto;width:100px;height:100px;
  background:var(--c-cyan);
  display:flex;align-items:center;justify-content:center;
}
#header .btn-allmenu img{width:26px;height:20px;transition:transform .3s ease}
#header .btn-allmenu:hover img{transform:scale(1.1)}

/* 스크롤 시 화이트 헤더 (로고는 CSS filter로 임시 반전 → 컬러 로고 전달 시 교체) */
#header.is-fixed{
  position:fixed;background:#fff;border-bottom-color:rgba(0,0,0,.08);
  box-shadow:0 2px 20px rgba(0,0,0,.06);
}
#header.is-fixed .logo img,#header.is-menu-active .logo img{filter:none}
#header.is-fixed .gnb > ul > li > a,#header.is-menu-active .gnb > ul > li > a{color:#111}
#header.is-fixed .gnb > ul > li > a::after,#header.is-menu-active .gnb > ul > li > a::after{background:#111}
#header.is-fixed .util .lang,#header.is-menu-active .util .lang{color:#111}
#header.is-fixed .util .globe,#header.is-menu-active .util .globe{filter:brightness(0)}

/* ---------- 전체메뉴 (햄버거) ---------- */
#allmenu{
  position:fixed;inset:0;z-index:200;
  background:rgba(20,18,15,.68);
  -webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);
  opacity:0;visibility:hidden;transition:opacity .35s ease,visibility .35s ease;
}
#allmenu.is-open{opacity:1;visibility:visible}
#allmenu .allmenu__head{
  display:flex;align-items:center;justify-content:space-between;
  height:100px;padding:0 0 0 61px;border-bottom:1px solid rgba(255,255,255,.2);
}
#allmenu .allmenu__head .logo img{width:239px;height:32px}
#allmenu .btn-close{
  width:100px;height:100px;background:var(--c-cyan);
  display:flex;align-items:center;justify-content:center;
  font-size:34px;line-height:1;color:#fff;font-weight:300;
}
#allmenu .allmenu__body{width:var(--wrap);margin:0 auto;padding:80px 0}
#allmenu .allmenu__body > ul{display:flex;gap:40px}
#allmenu .allmenu__body > ul > li{flex:1}
#allmenu .allmenu__body > ul > li > a.d1{
  display:block;font-size:32px;font-weight:700;color:#fff;
  padding-bottom:24px;border-bottom:1px solid rgba(255,255,255,.3);
}
#allmenu .allmenu__body > ul > li > a.d1 em{
  display:block;margin-top:6px;
  font-size:14px;font-weight:500;font-style:normal;letter-spacing:0.02em;
  color:rgba(255,255,255,.5);
}
#allmenu .allmenu__body .depth3{margin:8px 0 0 12px}
#allmenu .allmenu__body .depth3 li + li{margin-top:8px}
#allmenu .allmenu__body .depth3 a{
  position:relative;padding-left:12px;font-size:15px;color:rgba(255,255,255,.55);
}
#allmenu .allmenu__body .depth3 a::before{
  content:"";position:absolute;left:0;top:50%;width:5px;height:1px;
  background:rgba(255,255,255,.45);
}
#allmenu .allmenu__body .depth2{margin-top:24px}
#allmenu .allmenu__body .depth2 li + li{margin-top:14px}
#allmenu .allmenu__body .depth2 a{font-size:17px;font-weight:500;color:rgba(255,255,255,.72)}
#allmenu .allmenu__body .depth2 a:hover{color:#fff}
body.is-locked{overflow:hidden}

/* ============================================================
   FOOTER   (1920 기준 4458 ~ 4847 / 389px)
   ============================================================ */
#footer{background:var(--c-ft-bg);color:var(--c-ft-txt)}
#footer .footer__inner{width:var(--wrap);margin:0 auto;position:relative;height:389px}

/* 상단 : 로고 · 그룹/정공 바로가기 · 관련서비스 */
#footer .ft-logo{position:absolute;left:0;top:66px;line-height:0}
#footer .ft-logo img{width:239px;height:32px}

#footer .ft-family{
  position:absolute;left:315px;top:65.68px;
  display:flex;align-items:center;gap:40px;flex-wrap:wrap;
}
#footer .ft-group{
  white-space:nowrap;
  display:flex;align-items:center;
  font-size:25.3333px;font-weight:700;line-height:34.6667px;color:var(--c-ft-txt);
}
#footer .ft-group img{width:19px;height:19px;margin-left:17px}
#footer .ft-group:hover{color:#fff}

#footer .ft-select{
  position:absolute;left:1225px;top:56px;
  width:215px;height:54px;border-radius:27px;
  background:rgba(255,255,255,.07);
  display:flex;align-items:center;
}
#footer .ft-select .label{
  font-size:16px;font-weight:500;line-height:32px;color:var(--c-ft-txt);
  padding-left:32px;
}
#footer .ft-select .chev{position:absolute;right:26px;top:24px;width:12px;height:6px;transition:transform .3s}
#footer .ft-select.is-open .chev{transform:rotate(180deg)}
#footer .ft-select ul{
  position:absolute;left:0;bottom:calc(100% + 8px);width:100%;
  background:#3a3630;border-radius:12px;overflow:hidden;
  opacity:0;visibility:hidden;transform:translateY(6px);transition:.25s;
}
#footer .ft-select.is-open ul{opacity:1;visibility:visible;transform:translateY(0)}
#footer .ft-select ul a{display:block;padding:12px 32px;font-size:15px;color:var(--c-ft-txt)}
#footer .ft-select ul a:hover{background:rgba(255,255,255,.08);color:#fff}

/* 주소 · 연락처 */
#footer .ft-addr{
  position:absolute;left:0;top:185px;
  font-size:16px;font-weight:500;line-height:34.6667px;color:var(--c-ft-dim);
}
#footer .ft-contact{
  position:absolute;left:2px;top:229.52px;
  font-size:17.3333px;font-weight:600;line-height:34.6667px;color:var(--c-ft-dim);
  white-space:nowrap;
}
#footer .ft-contact .t{display:inline-block;width:44px}
#footer .ft-contact .t.w2{width:49px}
#footer .ft-contact .t.w3{width:70px}
#footer .ft-contact .v{color:var(--c-ft-txt)}
#footer .ft-contact .gap{display:inline-block;width:66px}
#footer .ft-contact br.m-br{display:none}

/* 하단 */
#footer .ft-line{position:absolute;left:0;top:307px;width:100%;height:1px;background:rgba(255,255,255,.1)}
#footer .ft-copy{
  position:absolute;left:0;top:325.33px;
  font-size:16px;font-weight:500;line-height:48px;color:var(--c-ft-dim);
}
#footer .ft-copy b{font-weight:700;color:var(--c-ft-txt)}
#footer .ft-copy .c{font-size:19px;margin-right:2px;vertical-align:-1px}
#footer .ft-policy{
  position:absolute;right:3px;top:334.33px;
  display:flex;font-size:16px;font-weight:500;line-height:32px;color:var(--c-ft-dim);
}
#footer .ft-policy li + li{margin-left:42px}
#footer .ft-policy li:last-child{margin-left:45px}
#footer .ft-policy li:last-child a{color:#fff}
#footer .ft-policy a:hover{color:#fff}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* 1520 이하 : 콘텐츠 유동 (1440 → 1200) */
@media (max-width:1519px){
  :root{--wrap:calc(100vw - 80px)}
  #footer .ft-family{left:315px}
  #footer .ft-select{left:auto;right:0}
}

/* 1279 이하 : 태블릿 와이드 - 상단 간격 조정 */
@media (max-width:1279px){
  :root{--header-h:80px;--gutter:32px}
  #header .header__inner{height:80px;padding-left:32px}
  #header .gnb > ul{gap:16px}
  #header .gnb > ul > li{width:auto}
  #header .sp1{flex:1 1 12px;min-width:12px}
  #header .sp2{flex:1 1 12px;min-width:12px}
  #header .sp3{flex:0 0 auto}
  #header .util{margin-right:24px}
  #header .btn-allmenu{width:80px;height:80px}
  #allmenu .allmenu__head{height:80px;padding-left:32px}
  #allmenu .btn-close{width:80px;height:80px}
  #allmenu .allmenu__body{padding:56px 0}
  #allmenu .allmenu__body > ul{gap:24px}
  #allmenu .allmenu__body > ul > li > a.d1{font-size:26px}

  #footer .footer__inner{height:auto;padding:56px 0 40px}
  #footer .ft-logo,#footer .ft-family,#footer .ft-group,#footer .ft-select,
  #footer .ft-addr,#footer .ft-contact,#footer .ft-line,
  #footer .ft-copy,#footer .ft-policy{position:static}
  #footer .ft-logo img{width:210px;height:auto}
  #footer .ft-family{margin-top:22px;gap:32px}
  #footer .ft-group{font-size:21px;line-height:1.4}
  #footer .ft-group img{margin-left:12px;width:16px;height:16px}
  #footer .ft-select{position:relative;left:auto;right:auto;top:auto;margin-top:26px;width:215px}
  #footer .ft-addr{margin-top:34px;font-size:15px;line-height:1.7}
  #footer .ft-contact{margin-top:6px;font-size:15px;line-height:1.9;white-space:normal}
  #footer .ft-contact .gap{width:28px}
  #footer .ft-line{margin-top:30px}
  #footer .ft-copy{margin-top:20px;font-size:14px;line-height:1.6}
  #footer .ft-policy{margin-top:14px;font-size:14px;line-height:1.6;flex-wrap:wrap}
  #footer .ft-policy li + li,
  #footer .ft-policy li:last-child{margin-left:24px}
}

/* 1000 이하에서만 상단 1차 메뉴 숨김. 사이트맵 버튼은 유지. */
@media (max-width:1000px){
  #header .gnb{display:none}
  #header .sp1{flex:0 0 auto;min-width:0}
  #header .sp2{flex:1 1 auto;min-width:0}
}

/* 1023 이하 : 태블릿 */
@media (max-width:1023px){
  #header .logo img{width:200px;height:auto}
  #allmenu .allmenu__head .logo img{width:200px;height:auto}
  #allmenu .allmenu__body > ul{flex-wrap:wrap}
  #allmenu .allmenu__body > ul > li{flex:0 0 calc(50% - 12px)}
  #allmenu .allmenu__body > ul > li:nth-child(n+3){margin-top:40px}

}

/* 767 이하 : 모바일 */
@media (max-width:767px){
  :root{--wrap:calc(100vw - 40px);--header-h:64px}
  .pc-br{display:none}
  #header .header__inner{height:64px;padding-left:20px}
  #header .logo img{width:168px}
  #header .util .lang{font-size:14px}
  #header .util .globe{width:19px;height:19px}
  #header .util{margin-right:14px}
  #header .btn-allmenu{width:64px;height:64px}
  #header .btn-allmenu img{width:22px;height:17px}

  #allmenu .allmenu__head{height:64px;padding-left:20px}
  #allmenu .allmenu__head .logo img{width:168px}
  #allmenu .btn-close{width:64px;height:64px;font-size:28px}
  #allmenu .allmenu__body{padding:36px 0;max-height:calc(100vh - 64px);overflow-y:auto}
  #allmenu .allmenu__body > ul{display:block}
  #allmenu .allmenu__body > ul > li{margin-top:0!important}
  #allmenu .allmenu__body > ul > li + li{margin-top:28px}
  #allmenu .allmenu__body > ul > li > a.d1{font-size:22px;padding-bottom:16px}
  #allmenu .allmenu__body .depth2{margin-top:16px}
  #allmenu .allmenu__body .depth2 a{font-size:15px}

  #footer .footer__inner{padding:44px 0 32px}
  #footer .ft-logo img{width:180px}
  #footer .ft-family{margin-top:18px;gap:24px}
  #footer .ft-group{font-size:18px}
  #footer .ft-select{width:100%;max-width:280px;height:48px;border-radius:24px}
  #footer .ft-select .label{padding-left:24px;font-size:15px}
  #footer .ft-select .chev{right:22px;top:21px}
  #footer .ft-addr{font-size:13.5px;margin-top:26px}
  #footer .ft-contact{font-size:13.5px}
  #footer .ft-contact .t{width:38px}
  #footer .ft-contact br.m-br{display:block}
  #footer .ft-contact .gap--mail{display:none}
  #footer .ft-copy{font-size:12.5px}
  #footer .ft-policy{font-size:12.5px}
  #footer .ft-policy li + li,#footer .ft-policy li:last-child{margin-left:16px}
}

/* Preserve the outlined foundation logo proportions in existing logo boxes. */
#header .logo img,#allmenu .allmenu__head .logo img,#footer .ft-logo img{object-fit:contain;object-position:left center}

/* v107: load translator styling with the existing common stylesheet. */
/* Shared custom language menu for Group and Precision. */
#header .hs-translation-picker{position:relative;}
/* Legacy and current Website Translator toolbar frames only. */
html.hs-inpage-translation iframe.goog-te-banner-frame,
html.hs-inpage-translation iframe.VIpgJd-ZVi9od-ORHb-OEVmcd{
  display:none !important;visibility:hidden !important;height:0 !important;
}
html.hs-inpage-translation body{top:0 !important;}
html.hs-inpage-translation #header{--hs-translate-offset:0px;}

#header .hs-translation-status{
  position:absolute;right:0;top:calc(100% + 10px);z-index:4;
  width:260px;max-width:calc(100vw - 40px);padding:12px 14px;
  border:1px solid #ddd;border-radius:8px;background:#fff;color:#222;
  font:400 13px/1.5 'Pretendard',sans-serif;white-space:normal;
}
#header .hs-translation-status[hidden]{display:none;}

/* Custom rounded language menu; native combo remains only as translation adapter. */
#header .hs-google-translate-host{display:none!important}
#header .hs-translation-ready .hs-translation-artwork{pointer-events:auto}
/* The outer shell clips rounded corners; the inset list owns scrolling. */
#header .hs-language-menu{position:absolute;top:calc(100% + 12px);right:0;z-index:100;box-sizing:border-box;width:100%;max-width:calc(100vw - 32px);overflow:hidden;padding:7px;border:1px solid #e5eaf0;border-radius:14px;background:#fff;color:#333;box-shadow:0 12px 32px rgba(15,35,55,.16);color-scheme:light}
#header .hs-language-menu[hidden]{display:none!important}
#header .hs-language-list{box-sizing:border-box;width:100%;max-height:344px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#cbd4dc #f5f7f9;scrollbar-gutter:stable}
#header .hs-language-list::-webkit-scrollbar{width:6px}
#header .hs-language-list::-webkit-scrollbar-track{background:#f5f7f9;border-radius:8px}
#header .hs-language-list::-webkit-scrollbar-thumb{background:#cbd4dc;border-radius:8px}
#header .hs-language-list::-webkit-scrollbar-thumb:hover{background:#b5c2cd}
#header .hs-language-option{display:block;box-sizing:border-box;width:100%;min-height:36px;margin:0;padding:8px 6px;border:0;border-radius:7px;background:transparent;color:#384450;text-align:left;font:400 13px/20px 'Pretendard',sans-serif;cursor:pointer;white-space:normal;overflow-wrap:anywhere}
#header .hs-language-option:hover,#header .hs-language-option:focus-visible{background:#f1f6fa;color:var(--c-accent);outline:none}
#header .hs-language-option[aria-checked="true"]{background:#f2edf8;color:var(--c-accent);font-weight:700}
#header .hs-language-option:disabled{opacity:.45;cursor:default}
#header .hs-translation-picker:focus-within .hs-translation-artwork{outline:none}
#header .hs-translation-picker .hs-translation-artwork:focus-visible{outline:2px solid currentColor;outline-offset:3px}

/* Keep the dismiss control visible while the language list scrolls. */
#header .hs-language-menu-header{display:flex;align-items:center;justify-content:space-between;gap:4px;padding:0 0 6px 4px;border-bottom:1px solid #edf1f4;margin-bottom:4px;font:500 11px/20px 'Pretendard',sans-serif;color:#687784}
#header .hs-language-close{display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:52px;min-height:32px;padding:4px 6px;border:0;border-radius:6px;background:#f3f7f9;color:#384450;font:500 12px/20px 'Pretendard',sans-serif;cursor:pointer}
#header .hs-language-close:hover,#header .hs-language-close:focus-visible{background:#f2edf8;color:var(--c-accent)}
@media(max-width:768px){
 #header #header-util--updated .language-toggle.hs-translation-artwork{box-sizing:border-box;width:32px;height:32px;min-width:32px;padding:6px;border:1px solid #fff;border-radius:50%;gap:0;justify-content:center}
 #header #header-util--updated .language-toggle.hs-translation-artwork>img:first-child{width:18px;height:18px;object-fit:contain}
}

/* Foundation: one Google language picker; no separate English site link. */
#header .language-picker{flex:none}
#header .language-toggle{display:flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;height:38px;padding:0 12px;border:1px solid #777;border-radius:22px;background:#fff;color:#333;font:500 14px/1.2 'Pretendard',sans-serif;white-space:nowrap;cursor:pointer}
#header .language-toggle img{width:20px;height:20px;object-fit:contain}
#header .language-toggle i{width:7px;height:7px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:translateY(-2px) rotate(45deg)}
@media(max-width:700px){#header .language-toggle{width:36px;height:36px;padding:7px}#header .language-toggle span,#header .language-toggle i{display:none}}

/* Large Hwashin wordmark proportions, with an explicit white overlay variant. */
#header .logo a{position:relative;display:block}
#header .logo img{width:290px;height:auto;max-width:none}
#header .logo .logo-white{position:absolute;inset:0;opacity:0;pointer-events:none}
#header:not(.is-fixed):not(.is-menu-active) .logo .logo-blue{opacity:0}
#header:not(.is-fixed):not(.is-menu-active) .logo .logo-white{opacity:1}
#header:not(.is-fixed):not(.is-menu-active) .logo a:hover .logo-white{opacity:1}
#header.is-fixed .logo .logo-blue,#header.is-menu-active .logo .logo-blue{opacity:1}
#header.is-fixed .logo .logo-white,#header.is-menu-active .logo .logo-white{opacity:0}
#header .language-toggle{width:131px;height:38px;padding:0 19px 0 7px;gap:8px;justify-content:space-between;font:500 16px/1 'Pretendard',sans-serif;border:1px solid currentColor;border-radius:22px;background:#fff;color:#222;flex-shrink:0}
#header .language-toggle>img:first-child{width:21px;height:22px;flex:none;object-fit:contain}
#header .language-toggle i{width:8px;height:8px;flex:none}
@media(max-width:767px){#header .logo img{width:235px}}
@media(max-width:700px){#header .language-toggle{width:32px;height:32px;padding:5px;gap:0;justify-content:center}#header .language-toggle>img:first-child{width:18px;height:18px}}
@media(max-width:480px){#header .logo img{width:190px}}

/* v110: white over images; gray on the fixed white header. */
#header .language-toggle{background:transparent;color:#fff;border-color:#fff}
#header.is-fixed .language-toggle,#header.is-menu-active .language-toggle{background:transparent;color:#666;border-color:#999}

/* Korean source control shared by the normal and fixed header. */
#header .ws-language-source{display:inline-flex;align-items:center;justify-content:flex-start;flex:none;width:64px;gap:6px;padding:0;border:0;background:transparent;color:#fff;font-size:16px;font-weight:600;line-height:1.4;white-space:nowrap;cursor:pointer}
#header .ws-language-source span{padding:3px 0;border-bottom:1px solid transparent}
#header .ws-language-source.is-active span{border-bottom-color:currentColor}
#header .ws-language-source:focus-visible{outline:2px solid currentColor;outline-offset:4px}
#header.is-fixed .ws-language-source,#header.is-menu-active .ws-language-source{color:#111}
@media(min-width:1001px) and (max-width:1279px){#header .util{margin-right:16px}}
@media(max-width:700px){
  #header .logo{flex:0 1 235px;min-width:0}
  #header .logo a{width:100%}
  #header .logo img{width:100%;max-width:235px}
  #header .ws-language-source{width:58px;gap:5px;font-size:14px}
  #header .util .ws-language-source .globe{width:18px;height:18px}
}
@media(max-width:480px){#header .logo{flex-basis:190px}#header .logo img{max-width:190px}}

/* Keep footer rows together above 900px; use the stacked layout at 900px and below. */
@media (min-width:901px) and (max-width:1279px){
  #footer .footer__inner{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));column-gap:24px}
  #footer .ft-logo,#footer .ft-family,#footer .ft-select{grid-column:span 2;align-self:center}
  #footer .ft-family{margin-top:0;gap:24px;flex-wrap:nowrap}
  #footer .ft-select{margin-top:0;justify-self:end}
  #footer .ft-addr,#footer .ft-contact,#footer .ft-line{grid-column:1 / -1}
  #footer .ft-copy,#footer .ft-policy{grid-column:span 3;margin-top:20px;align-self:center}
  #footer .ft-policy{justify-self:end;flex-wrap:nowrap;white-space:nowrap}
}

/* Foundation typography: one family for Korean, English, numbers and controls. */
:root{--f-ko:'Pretendard',sans-serif;--f-en:'Pretendard',sans-serif}
input,select,textarea{font-family:'Pretendard',sans-serif}
#header .hs-language-picker,#header .hs-language-picker button{font-family:'Pretendard',sans-serif}

/* v183: desktop dropdowns preserve the original header dimensions and flex layout. */
#header.is-menu-active{background:#fff;border-bottom-color:rgba(0,0,0,.08)}
#header .gnb__submenu{display:none}
@media(min-width:1001px){
  #header .gnb > ul > li{position:relative}
  #header .gnb__submenu{
    display:block;position:absolute;left:var(--ws-menu-center,35px);
    top:calc(50% + var(--header-h)/2 - 12px);min-width:176px;
    margin:0;padding:12px 8px;list-style:none;border:1px solid #eceaf0;
    border-radius:10px;background:#fff;color:#222;
    box-shadow:0 12px 28px rgba(0,0,0,.10);
    opacity:0;visibility:hidden;pointer-events:none;transform:translate(-50%,4px);
    transition:opacity .18s ease,transform .18s ease,visibility .18s;
  }
  /* Bridge from the original menu baseline to the floating panel. */
  #header .gnb > ul > li.is-open::before{
    content:"";position:absolute;left:var(--ws-menu-center,35px);top:100%;width:176px;
    height:calc(var(--header-h)/2 - var(--ws-menu-height,35px)/2 - 6px);
    transform:translateX(-50%);
  }
  #header .gnb > ul > li.is-open > .gnb__submenu{
    opacity:1;visibility:visible;pointer-events:auto;transform:translate(-50%,0);
  }
  #header .gnb > ul > li.is-open > a::after{width:100%}
  #header .gnb__submenu a{
    display:block;padding:9px 14px;border-radius:6px;
    font-size:16px;font-weight:500;line-height:1.5;white-space:nowrap;text-align:left;
  }
  /* v203: third-level project links remain visible within the same dropdown. */
  #header .gnb__depth3{margin:0;padding:0;list-style:none}
  #header .gnb__depth3 a{padding-left:26px;color:#666}
  #header .gnb__submenu a:hover,#header .gnb__submenu a:focus-visible{
    background:#f5f1fa;color:var(--c-accent);outline-offset:-2px;
  }
}
@media(prefers-reduced-motion:reduce){#header .gnb__submenu{transition:none}}
/* Keep hidden cultural-business cards out of the layout. */
.biz-card--culture[hidden]{display:none!important}
@media(min-width:901px) and (max-width:1279px){#footer .ft-select{grid-column:5 / 7}}


/* v185: footer agency links alongside the contact details. */
#footer .ft-contact-row{position:absolute;left:0;right:0;top:216px;display:flex;align-items:center;justify-content:space-between;gap:32px}
#footer .ft-contact-row .ft-contact{position:static;margin:0}
#footer .ft-agencies{display:flex;align-items:center;gap:24px;flex:0 0 auto}
#footer .ft-agency{display:flex;align-items:center;justify-content:center;min-height:44px;color:#fff}
#footer .ft-agency img{display:block;max-width:100%;height:auto;object-fit:contain}
#footer .ft-agency--sje{gap:10px}
/* v186: preserve the supplied PNG transparency and original color artwork. */
#footer .ft-agency--sje img{width:64px;filter:none}
#footer .ft-agency--sje span{font-size:13px;line-height:1.4;white-space:nowrap}
#footer .ft-agency--sje b{font-weight:700}
#footer .ft-agency--nts img{width:104px}
#footer .ft-agency--acrc img{width:162px}
#footer .ft-agency:focus-visible{outline:2px solid #fff;outline-offset:6px;border-radius:2px}
@media(max-width:1399px){
  #footer .footer__inner{display:block;height:auto;padding:56px 0 40px}
  #footer .ft-logo,#footer .ft-addr,#footer .ft-contact-row,#footer .ft-line,#footer .ft-copy,#footer .ft-policy{position:static}
  #footer .ft-addr{margin-top:34px}
  #footer .ft-contact-row{margin-top:6px;flex-direction:column;align-items:flex-start;gap:24px}
  #footer .ft-contact-row .ft-contact{white-space:normal}
  #footer .ft-line{margin-top:32px}
  #footer .ft-copy{margin-top:20px;line-height:1.6}
  #footer .ft-policy{margin-top:14px;flex-wrap:wrap;white-space:normal}
}
@media(max-width:600px){
  #footer .footer__inner{padding:44px 0 32px}
  #footer .ft-agencies{display:grid;grid-template-columns:1.35fr .75fr 1.2fr;gap:14px;width:100%;max-width:440px}
  #footer .ft-agency{min-width:0}
  #footer .ft-agency--sje{flex-direction:column;gap:5px}
  #footer .ft-agency--sje img{width:48px}
  #footer .ft-agency--sje span{font-size:11px;line-height:1.3;text-align:center}
  #footer .ft-agency--sje span br{display:none}
  #footer .ft-agency--sje b{display:block}
}

/* v187: group-matched policy dialog styles; foundation page typography stays unchanged. */
@font-face{font-family:'Wooseok Legal Noto Sans KR';font-style:normal;font-weight:400;font-display:swap;src:url('/api/modules/assets/hwashin-site/dist/sites/HSgroup/assets/fonts/google-fonts/e223aaf1c6d9ebce.ttf') format('truetype')}
@font-face{font-family:'Wooseok Legal Noto Sans KR';font-style:normal;font-weight:500;font-display:swap;src:url('/api/modules/assets/hwashin-site/dist/sites/HSgroup/assets/fonts/google-fonts/819a8cac7955b255.ttf') format('truetype')}
@font-face{font-family:'Wooseok Legal Noto Sans KR';font-style:normal;font-weight:700;font-display:swap;src:url('/api/modules/assets/hwashin-site/dist/sites/HSgroup/assets/fonts/google-fonts/9462951c13d2dde3.ttf') format('truetype')}
.ws-legal,.ws-legal *{letter-spacing:normal}
/* Footer policy dialogs: reference corners and inset native scroll region. */
.ws-legal{box-sizing:border-box;width:1280px;max-width:calc(100% - 48px);height:939px;max-height:calc(100dvh - 48px);margin:auto;padding:50px;border:0;border-radius:30px;background:#fff;color:#666;font-family:'Wooseok Legal Noto Sans KR',sans-serif;overflow:hidden;}
.ws-legal[open]{display:flex;flex-direction:column;gap:17px;}
.ws-legal::backdrop{background:rgba(0,0,0,.8);}
.ws-legal-header{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-shrink:0;}
.ws-legal-header h2{margin:0;font:700 24px/1.5 'Wooseok Legal Noto Sans KR',sans-serif;letter-spacing:-.025em;color:#333;}
.ws-legal-close{position:relative;flex:0 0 60px;width:60px;height:60px;border:0;border-radius:15px;background:#ccc;cursor:pointer;}
.ws-legal-close::before,.ws-legal-close::after{content:'';position:absolute;top:28px;left:14px;width:32px;height:4px;background:white;transform:rotate(45deg);}
.ws-legal-close::after{transform:rotate(-45deg);}
.ws-legal-close:hover{background:#aaa;}
.ws-legal :focus-visible{outline:2px solid #888;outline-offset:3px;}
.ws-legal-surface{display:flex;min-height:0;flex:1;padding:30px;overflow:hidden;border-radius:15px;background:#f2f2f2;}
.ws-legal-body{min-height:0;min-width:0;flex:1;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:0 20px 0 0;font-size:16px;font-weight:400;color:#666;line-height:1.85;word-break:keep-all;overflow-wrap:anywhere;scrollbar-color:#999 #fff;scrollbar-width:auto;}
.ws-legal-body::-webkit-scrollbar{width:15px;}
.ws-legal-body::-webkit-scrollbar-track{background:#fff;border-radius:8px;}
.ws-legal-body::-webkit-scrollbar-thumb{background:#999;border:3px solid #fff;border-radius:8px;}
.ws-legal-body p{margin:0 0 16px;}
.ws-legal-section{padding:0;margin-top:32px;border:0;}
.ws-legal-section h3{margin:0 0 14px;font-size:18px;line-height:1.7;font-weight:500;color:#4d4d4d;}
.ws-legal-body h4{margin:22px 0 8px;font-size:17px;line-height:1.7;font-weight:500;color:#555;}
.ws-legal-body .ws-legal-item{padding-left:24px;text-indent:-24px;}
.ws-legal-list{margin:0 0 8px;padding-left:16px;list-style:none;}
.ws-legal-body .ws-legal-contact{margin:0;padding:3px 0 3px 16px;border:0;background:none;}
@media(max-width:640px){.ws-legal{padding:20px;max-width:calc(100% - 24px);max-height:calc(100dvh - 24px);border-radius:30px;}.ws-legal-close{flex-basis:40px;width:40px;height:40px;border-radius:15px;}.ws-legal-close::before,.ws-legal-close::after{top:18px;left:8px;width:24px;}.ws-legal-surface{padding:20px 16px;}.ws-legal-body{padding-right:12px;font-size:15px;}.ws-legal-section h3{font-size:17px;}.ws-legal-body h4{font-size:16px;}}

