/* Shared bilingual navigation and text-relative active indicator. */
header .header-contact,
header.hero-header .header-contact,
header.menu-active .header-contact,
.subpage-body header .header-contact{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:42px;padding:0 22px;border:1px solid #d9252f!important;border-radius:999px;background:#fff!important;color:#bd202a!important;font-size:14px;font-weight:700;line-height:1.5;white-space:nowrap;transition:background .2s ease,color .2s ease}
header .header-contact:hover,header .header-contact:focus-visible,
header.hero-header .header-contact:hover,header.hero-header .header-contact:focus-visible,
header.menu-active .header-contact:hover,header.menu-active .header-contact:focus-visible,
.subpage-body header .header-contact:hover,.subpage-body header .header-contact:focus-visible{background:#d9252f!important;color:#fff!important}
header .main-nav .nav-business-dropdown > .dropdown-heading,
header .main-nav .nav-business-dropdown > a.dropdown-standalone{font-weight:800!important}
header .main-nav .nav-dropdown{border-top:0}
header .main-nav .nav-business-dropdown > .dropdown-heading,
header .main-nav .nav-business-dropdown > .dropdown-standalone{color:#222;font-size:14px;font-weight:600;border-bottom:0}
header .main-nav .nav-business-dropdown > a:not(.dropdown-standalone){padding-left:28px}
header .nav-business-dropdown,header .nav-business-dropdown > a,header .nav-business-dropdown > .dropdown-heading{text-align:left;justify-content:flex-start;align-items:flex-start}
header .nav-business-dropdown .dropdown-heading,
header .nav-business-dropdown .dropdown-standalone{display:block;background:transparent;color:#d9252f;border:0;border-bottom:1px solid #e4e4e4;border-radius:0;margin:7px 0 4px;padding:9px 12px 5px;font-size:12px;font-weight:800;line-height:1.45;white-space:normal}
header .nav-business-dropdown .dropdown-heading:first-child{margin-top:0}
/* Give the three business sections distinct vertical breathing room. */
header .nav-business-dropdown .dropdown-standalone,
header .nav-business-dropdown .dropdown-heading:not(:first-child){margin-top:20px}
@media(max-width:760px){header .nav-business-dropdown .dropdown-heading,header .nav-business-dropdown .dropdown-standalone{padding-left:10px}}
header .main-nav .nav-group > a{height:auto;padding:0 5px;gap:3px;line-height:1.25;text-align:center}
header .main-nav .nav-label-ko{display:block;font-size:18px;font-weight:700;line-height:1.25}
header .main-nav .nav-label-en{display:block;font-size:11px;font-weight:500;line-height:1.2;letter-spacing:.02em;color:#777}
header.hero-header .main-nav .nav-label-en{color:rgba(255,255,255,.7)}
header .main-nav .nav-group > a::after{content:"";display:block;position:absolute;left:5px;right:5px;top:calc(100% + 7px);bottom:auto;width:auto;height:3px;border-radius:0;background:#d9252f;transform:scaleX(0);transform-origin:center;transition:transform .18s ease}
header .main-nav .nav-group:hover > a::after,header .main-nav .nav-group:focus-within > a::after,header .main-nav .nav-group > a[aria-current="true"]::after{transform:scaleX(1)}
@media(max-width:1050px){header .main-nav .nav-label-ko{font-size:15px}}
@media(max-width:760px){header .main-nav .nav-group > a{align-items:flex-start;width:fit-content;margin-bottom:13px;padding:10px 5px;border-bottom:0;text-align:left}header .main-nav .nav-group > a::after{top:calc(100% - 3px)}header .main-nav .nav-label-ko{font-size:16px}}

/* One dropdown format across the home page and all subpages. */
header .main-nav .nav-dropdown{border:1px solid #eee;border-top:0;padding:10px;background:#fff;color:#333;text-align:left}
header .main-nav .nav-dropdown > a,
header .main-nav .nav-dropdown > .dropdown-heading{display:block;margin:0;padding:10px 14px;border:0;border-radius:0;background:transparent;color:#333;font-size:14px;font-weight:500;line-height:1.5;letter-spacing:normal;text-align:left;white-space:normal}
header .main-nav .nav-dropdown > a:hover,
header .main-nav .nav-dropdown > a:focus-visible{background:#f5f5f5;color:#333}
header .main-nav .nav-business-dropdown > a:not(.dropdown-standalone){padding-left:30px}
header .main-nav .nav-business-dropdown > .dropdown-standalone,
header .main-nav .nav-business-dropdown > .dropdown-heading:not(:first-child){border-top:1px solid #eee;margin-top:12px;padding-top:16px}

header .main-nav .nav-business-dropdown > a.dropdown-heading{padding-left:14px;color:#333;font-weight:500}
header .main-nav .nav-business-dropdown > a.dropdown-standalone{color:#333;font-weight:500}
.admin-entry{font-size:12px;color:#999;display:inline-block;padding:15px 24px}

.footer-company-copy .admin-entry{display:flex;align-items:center;gap:7px;width:fit-content;margin-top:14px;padding:8px 12px;border:1px solid #ddd;border-radius:5px;background:#fff;color:#60656b;font-size:12px;line-height:1.4}
.footer-company-copy .admin-entry:hover{background:#f5f5f5;color:#25272b}
.footer-company-copy a.admin-entry{color:#60656b!important}
header .admin-session-badge{display:inline-flex;align-items:center;white-space:nowrap;padding:7px 10px;border:1px solid #cce5d5;border-radius:20px;background:#f0faf3;color:#237542;font-size:11px;font-weight:600;line-height:1.4}
header .admin-session-badge[hidden]{display:none!important}
@media(max-width:1050px){header .admin-session-badge{font-size:10px;padding:5px 7px}}
@media(max-width:760px){header .admin-session-badge{margin-left:auto;font-size:10px}}

header .admin-session-badge{margin-right:6px}
@media(max-width:760px){header .admin-session-badge{margin-right:6px}}

/* Keep session status beside the contact button as one header item. */
header .header-session-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex:0 0 auto}
header .header-session-actions .admin-session-badge,header .header-session-actions .header-contact{margin:0!important}

/* Public header: centered dropdowns, right-aligned menu, identity on the left. */
body>header{justify-content:flex-start;gap:20px}
header .header-identity{display:flex;align-items:center;gap:12px;flex:0 0 auto}
header .header-identity .admin-session-badge{margin:0!important}
header .main-nav{margin-left:auto;justify-content:flex-end}
header .main-nav .nav-dropdown,
header .main-nav .nav-dropdown>a,
header .main-nav .nav-dropdown>.dropdown-heading,
header .main-nav .nav-business-dropdown>a:not(.dropdown-standalone),
header .main-nav .nav-business-dropdown>a.dropdown-heading,
header .main-nav .nav-business-dropdown>a.dropdown-standalone{text-align:center;align-items:center;justify-content:center;padding-left:14px;padding-right:14px}
@media(max-width:760px){body>header{gap:10px}header .header-identity{gap:8px;min-width:0}header .header-identity .brand img{max-width:160px}header .header-identity .admin-session-badge{font-size:9px;padding:5px 6px}header .menu{margin-left:auto}header .main-nav{margin-left:0}header .main-nav .nav-group>a{align-items:center;text-align:center}}

@media(min-width:761px){body>header{padding-right:max(16px,calc(4.8% - 24px))}}

/* Compact company information, with a small logo on the company-name row. */
.footer-company-details .footer-company-details-inner{display:block}
.footer-company-details .footer-company-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:12px}
.footer-company-details .footer-company-heading>strong{font-size:16px;color:inherit}
.footer-company-details .footer-company-logo{padding:0;flex:0 0 auto}
.footer-company-details .footer-company-logo img{width:140px;max-width:100%;height:auto}
.footer-company-details .footer-company-fields{display:grid;grid-template-columns:1fr;gap:4px}
.footer-company-details .footer-info-row{display:flex;flex-wrap:wrap;column-gap:28px;row-gap:4px}
@media(max-width:760px){.footer-company-details .footer-company-heading{gap:14px}.footer-company-details .footer-company-logo img{width:110px}.footer-company-details .footer-info-row{column-gap:20px}}

/* Subpage navigation overlays the banner with white lettering. */
body.subpage-body>header{position:absolute;top:0;left:0;right:0;background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;color:#fff!important}
body.subpage-body>header a,body.subpage-body>header .nav-label-ko,body.subpage-body>header .nav-label-en,body.subpage-body>header .dropdown-heading,body.subpage-body>header .menu{color:#fff!important}
body.subpage-body>header .brand .company-logo{filter:brightness(0) invert(1)!important}
body.subpage-body>header .admin-session-badge{background:transparent;border-color:#ffffff70;color:#fff!important}
body.subpage-body>header .menu{background:transparent;border-color:#ffffff90}
body.subpage-body>header .nav-group>a::after{background:#fff}
body.subpage-body>header .main-nav .nav-dropdown{background:rgba(20,38,53,.94);border-color:#ffffff35;box-shadow:0 12px 28px #0002}
body.subpage-body>header .main-nav .nav-dropdown>a:hover,body.subpage-body>header .main-nav .nav-dropdown>a:focus-visible{background:#ffffff18!important;color:#fff!important}
body.subpage-body #subpage-main{padding-top:0}
body.subpage-body .sub-hero{padding-top:78px}
body.subpage-body .sub-hero::after{background:linear-gradient(180deg,rgba(8,24,39,.62),rgba(8,24,39,.36))}
body.subpage-body .sub-hero h1,body.subpage-body .sub-hero .sub-hero-inner>p,body.subpage-body .sub-hero .breadcrumbs,body.subpage-body .sub-hero .breadcrumbs a,body.subpage-body .sub-hero .breadcrumbs strong{color:#fff}
@media(max-width:760px){body.subpage-body>header .main-nav.open{background:rgba(20,38,53,.96)}body.subpage-body .sub-hero{padding-top:76px}}
/* Supplied symbol with a separate editable company name. */
body>header .brand{display:flex;align-items:center;gap:12px;flex:0 0 auto;text-decoration:none}
body>header .brand img.header-brand-symbol{display:block;width:64px;max-width:none;height:50px;max-height:none;object-fit:contain;filter:none!important}
body>header .brand .brand-company-name{font-size:22px;line-height:1.3;font-weight:750;letter-spacing:-.7px;white-space:nowrap;color:inherit}
@media(max-width:760px){body>header .brand{gap:8px}body>header .brand img.header-brand-symbol{width:48px;height:38px}body>header .brand .brand-company-name{font-size:17px}}
@media(max-width:480px){body>header .brand{gap:6px}body>header .brand img.header-brand-symbol{width:42px;height:34px}body>header .brand .brand-company-name{font-size:14px}body>header .header-identity .admin-session-badge{font-size:8px;padding:4px}}
/* Match the symbol to white header lettering. */
body>header.hero-header .brand img.header-brand-symbol,body.subpage-body>header .brand img.header-brand-symbol{filter:brightness(0) invert(1)!important}
body>header .brand .brand-company-name{font-size:19px}
@media(max-width:760px){body>header .brand .brand-company-name{font-size:15px}}
@media(max-width:480px){body>header .brand .brand-company-name{font-size:13px}}
body>header .brand .brand-company-name{font-weight:300}

/* Keep the header and its dropdowns above homepage image popups (2200). */
body>header{z-index:2300!important}
