/* @import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap"); */

@import url("./component/ui-tab.css");

/* ==========================================================================
   nuri-web-dev 2026 Custom Stylesheet - Common (공통)
   Prefix: nr__ (Prevents CSS conflicts with 2021 legacy & base KRDS styles)

   [목차 - Table of Contents]
   1. 공통 (Common / Reset / Layout / Utilities / Buttons / Icons)
      1.1 Root & Base Settings
      1.2 Accessibility (Skip Link & Screen Reader)
      1.3 Common Layout (Inner Container & Dividers)
      1.4 Spacing & Display Utilities (Data Gap & Visibility)
      1.5 Independent Helper Buttons (.nr__btn)
      1.6 Standalone SVG Mask Icons (.svg-icon)
      1.7 Material Symbols Outlined (.material-symbols-outlined)
   2. 헤더 (Header / GNB / Mobile Drawer)
      2.1 Header Root & Top Branding (Logo & Slogan)
      2.2 Desktop GNB Navigation
      2.3 Header Utility (YouTube, Settings, All Menu)
      2.4 Mobile Navigation Drawer (#mobile-nav)
   3. 풋터 (Footer)
      3.1 Footer Root & Quick Links
      3.2 Footer Body & Content (Address & Info)
      3.3 Footer Certification Marks & Call Center
   4. 사이드바 (Aside / LNB - 서브페이지 공통)
      4.1 Sub Page Layout (.nr__sub)
      4.2 Aside Nav & Title (.nr__aside-nav, .nr__aside-title)
      4.3 Aside 2Depth Menu (.nr__aside-depth2-*)
      4.4 Aside 3Depth Panel (.nr__aside-panel, .nr__aside-depth3-*)
      4.5 Aside Quick Banner (.nr__aside-banner)
   5. 반응형 미디어 쿼리 (Responsive Media Queries)
      5.1 Tablet & Mobile (max-width: 1024px)
          - 공통 & 가시성 (Display Helpers)
          - 헤더 & GNB (Header, GNB, Slogan)
          - 사이드바 & 서브 레이아웃 (Aside, Sub Layout)
          - 풋터 (Footer Layout & Tel Link)
          - 공통 컴포넌트 (Toast & Dropdown)
      5.2 Mobile (max-width: 768px)
          - 공통 토스트 알림 (Toast)
      5.3 Small Mobile (max-width: 390px)
          - 뷰포트 기반 폰트 스케일링 (Font Size VW)
   ========================================================================== */

/* ==========================================================================
   1. 공통 (Common / Reset / Layout / Utilities / Buttons / Icons)
   ========================================================================== */

/* 1.1 Root & Base Settings */
/* html {
  font-size: 10px;
} */

body {
  height: auto !important;
  min-height: 100% !important;
}

/* 1.2 Accessibility (Skip Link & Screen Reader) */
#krds-skip-link {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99999;
  background: #000;
}

#krds-skip-link a {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#krds-skip-link a:focus {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  outline-offset: -0.4rem;
  font-size: 1.4rem;
  color: #fff;
  width: 100%;
  height: 3rem;
  margin: 0 auto;
  text-align: center;
}

.nr__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 1.3 Common Layout (Inner Container & Dividers) */
.nr__inner,
.nr__header .nr__inner,
.nr__footer .nr__inner {
  max-width: 132.8rem;
  width: 100%;
  margin: 0 auto;
}

.nr__hr-gray {
  width: 100%;
  border-top: 1px solid #F3F3F3;
}

/* 1.4 Spacing & Display Utilities (Data Gap & Visibility) */
[data-gap="1"] {
  gap: 0.4rem !important;
}

[data-gap="2"] {
  gap: 0.8rem !important;
}

[data-gap="3"] {
  gap: 1.2rem !important;
}

[data-gap="4"] {
  gap: 1.6rem !important;
}

[data-gap="5"] {
  gap: 2rem !important;
}

[data-gap="6"] {
  gap: 2.4rem !important;
}

[data-gap="7"] {
  gap: 2.8rem !important;
}

[data-gap="8"] {
  gap: 3.2rem !important;
}

[data-gap="9"] {
  gap: 3.6rem !important;
}

[data-gap="10"] {
  gap: 4rem !important;
}

[data-gap="11"] {
  gap: 4.4rem !important;
}

[data-gap="12"] {
  gap: 4.8rem !important;
}

[data-gap="13"] {
  gap: 5.2rem !important;
}

[data-gap="14"] {
  gap: 5.6rem !important;
}

[data-gap="15"] {
  gap: 6rem !important;
}

/* Responsive Visibility Helpers */
.nr__desktop-only {
  display: flex !important;
}

.nr__mobile-only {
  display: none !important;
}

/* 1.5 Independent Helper Buttons (.nr__btn) */
.nr__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.6rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  border: 0;
}

.nr__btn-xsmall {
  height: 2.8rem;
  padding: 0 0.8rem;
  font-size: 1.3rem;
}

.nr__btn-large {
  height: 4.8rem;
  padding: 0 1.6rem;
  font-size: 1.6rem;
}

.nr__btn-medium {
  height: 4rem;
  padding: 0 1.2rem;
  font-size: 1.4rem;
}

.nr__btn-text {
  color: #58616a;
  background: none;
  border: 0;
}

.nr__btn-text:hover {
  color: #1e2124;
}

.nr__btn-icon {
  padding: 0;
  background: none;
  border: 0;
}

/* 1.6 Standalone SVG Mask Icons (.svg-icon) (Zero KRDS CSS dependency) */
.svg-icon {
  display: inline-flex;
  width: 2.4rem;
  height: 2.4rem;
  background-color: currentColor;
  forced-color-adjust: none;
}

.svg-icon.ico-log {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 3c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm0 14.2c-2.5 0-4.71-1.28-6-3.22.03-1.99 4-3.08 6-3.08 1.99 0 5.97 1.09 6 3.08-1.29 1.94-3.5 3.22-6 3.22z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 3c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm0 14.2c-2.5 0-4.71-1.28-6-3.22.03-1.99 4-3.08 6-3.08 1.99 0 5.97 1.09 6 3.08-1.29 1.94-3.5 3.22-6 3.22z'/%3E%3C/svg%3E") no-repeat center / contain;
}

.svg-icon.ico-sch,
.svg-icon.ico-search {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E") no-repeat center / contain;
}

.svg-icon.ico-popup-close {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E") no-repeat center / contain;
}

.svg-icon.ico-angle {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z'/%3E%3C/svg%3E") no-repeat center / contain;
}

.svg-icon.ico-angle.left {
  transform: rotate(180deg);
}

.svg-icon.ico-angle.right {
  transform: rotate(0deg);
}

.svg-icon.ico-angle.up {
  transform: rotate(-90deg);
}

.svg-icon.ico-go {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* 1.7 Material Symbols Outlined (.material-symbols-outlined) */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 2.4rem;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'liga';
}


/* ==========================================================================
   2. 헤더 (Header / GNB / Mobile Drawer)
   ========================================================================== */

/* 2.1 Header Root & Wrap */
.nr__header {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 101;
  width: 100%;
  height: 11.8rem;
  min-height: 11.8rem;
  background-color: #ffffff;
  border-bottom: 1px solid #f4f5f6;
  box-sizing: border-box;
}

.nr__header-in {
  position: relative;
  width: 100%;
  background-color: #ffffff;
}

/* 2.2 Top Header (Logo & Slogan) */
.nr__header-top {
  position: relative;
  width: 100%;
  border-bottom: 1px solid #F3F3F3;
}

.nr__header-top .nr__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.4rem;
}

.nr__header-branding {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nr__header-logo {
  display: inline-flex;
  align-items: center;
  width: 12.4rem;
  height: 4rem;
  margin: 0;
  padding: 0;
}

.nr__header-logo-link {
  display: block;
  width: 100%;
  height: 100%;
  background-image: url(../img/common/logo.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  text-decoration: none;
}

.nr__header-slogan {
  display: block;
  width: 27.9rem;
  height: 2.7rem;
  background-image: url(../img/common/logo-text.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* 2.3 Desktop GNB Navigation */
.nr__gnb-nav {
  position: relative;
  width: 100%;
  background-color: #ffffff;
  border-bottom: 1px solid #e6e8ea;
}

.nr__gnb-nav .nr__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2.4rem;
  min-height: 5.6rem;
}

.nr__gnb-menu {
  display: flex;
  align-items: center;
  gap: 6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nr__gnb-item {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nr__gnb-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 2rem;
  font-weight: 700;
  color: #000000;
  text-decoration: none;
  white-space: nowrap;
  height: 5.6rem;
  transition: color 0.2s ease;
}

.nr__gnb-link:hover,
.nr__gnb-link.active,
.nr__gnb-item.active>.nr__gnb-link,
.nr__gnb-item.is-active>.nr__gnb-link {
  color: #0b50d0;
}

.nr__gnb-link.active,
.nr__gnb-item.active>.nr__gnb-link,
.nr__gnb-item.is-active>.nr__gnb-link {
  position: relative;
}

.nr__gnb-link.active::after,
.nr__gnb-item.active>.nr__gnb-link::after,
.nr__gnb-item.is-active>.nr__gnb-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #0b50d0;
  border-radius: 2px 2px 0 0;
}

.nr__gnb-link[target="_blank"] {
  color: #727272;
  font-weight: 500;
  position: relative;
}

.nr__gnb-link[target="_blank"]::before {
  content: '';
  left: -3rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 2.4rem;
  background-color: #D4D4D4;
  position: absolute;
}

/* 2.4 Header Utility (YouTube, Settings, All Menu) */
.nr__header-util {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.nr__util-list {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nr__util-list>li {
  display: flex;
  align-items: center;
}

.nr__util-list>li:not(:first-child) {
  gap: 2rem;
  margin-left: 0.4rem;
}

.nr__util-list>li:not(:first-child)::before {
  content: "";
  display: inline-flex;
  width: 1px;
  height: 1.8rem;
  background-color: #D4D4D4;
}

.nr__util-list>li.nr__no-line::before {
  display: none !important;
}

.nr__btn-util,
.nr__btn-allmenu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  min-height: 4rem;
  background: transparent;
  border: 0;
  border-radius: 0.8rem;
  cursor: pointer;
  padding: 0;
  color: #1e2124;
  transition: background-color 0.2s ease;
}

.nr__btn-util:hover,
.nr__btn-allmenu:hover {
  background-color: #ddd;
}

/* 2.5 Mobile Navigation Drawer (#mobile-nav) */
.nr__mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 1000;
  display: none;
}

.nr__mobile-nav.is-open {
  display: block;
}

.nr__mobile-nav-backdrop {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1001;
  animation: nrBackdropFadeIn 0.3s ease;
}

.nr__mobile-nav-wrap {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 48rem;
  height: 100%;
  background-color: #ffffff;
  z-index: 1002;
  display: flex;
  flex-direction: column;
  box-shadow: -0.4rem 0 2rem rgba(0, 0, 0, 0.15);
  animation: nrDrawerSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

@keyframes nrDrawerSlideIn {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(0);
  }
}

@keyframes nrBackdropFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Mobile Drawer Header */
.nr__mobile-nav-header {
  padding: 2.4rem 2rem 1.6rem;
  background-color: #ffffff;
  border-bottom: 1px solid #e6e8ea;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  flex-shrink: 0;
}

.nr__mobile-util {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.nr__mobile-util-list {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nr__mobile-login {
  display: flex;
  align-items: center;
  padding: 0.4rem 0;
}

.nr__mobile-login .nr__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.8rem;
  font-weight: 700;
  color: #1e2124;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.nr__mobile-service-menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem 1.6rem;
}

.nr__service-link {
  font-size: 1.4rem;
  color: #58616a;
  text-decoration: none;
}

.nr__service-link:hover {
  color: #0b50d0;
}

.nr__mobile-search {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  margin-top: 0.4rem;
}

.nr__mobile-search .nr__input {
  width: 100%;
  height: 4.4rem;
  padding: 0 4.4rem 0 1.4rem;
  font-size: 1.4rem;
  border: 1px solid #cdd1d5;
  border-radius: 0.6rem;
  background-color: #ffffff;
  color: #1e2124;
  outline: none;
  box-sizing: border-box;
}

.nr__mobile-search .nr__input:focus {
  border-color: #256ef4;
}

.nr__mobile-search .nr__btn-sch {
  position: absolute;
  right: 0.4rem;
  top: 50%;
  transform: translateY(-50%);
  width: 3.6rem;
  height: 3.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: #1e2124;
}

/* Mobile Drawer Body (1Depth & Submenus) */
.nr__mobile-nav-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  background-color: #f4f5f6;
  position: relative;
}

.nr__mobile-menu-container {
  display: flex;
  flex: 1;
  min-height: 0;
}

.nr__mobile-tabs {
  width: 12rem;
  flex-shrink: 0;
  background-color: #eef2f7;
  overflow-y: auto;
  border-right: 1px solid #d6e0eb;
}

.nr__mobile-tabs ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nr__mobile-tab-btn {
  display: flex;
  align-items: center;
  height: 5.2rem;
  padding: 0 1.4rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: #58616a;
  text-decoration: none;
  border-bottom: 1px solid #e6e8ea;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.nr__mobile-tab-btn.active {
  background-color: #ffffff;
  color: #0b50d0;
  font-weight: 700;
  border-right: 2px solid #0b50d0;
}

.nr__mobile-sub-wrap {
  flex: 1;
  background-color: #ffffff;
  overflow-y: auto;
  padding: 1.6rem 2rem;
}

.nr__mobile-sub-list {
  display: none;
}

.nr__mobile-sub-list.active {
  display: block;
  animation: nrSubmenuFade 0.2s ease;
}

@keyframes nrSubmenuFade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nr__mobile-sub-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1e2124;
  margin: 0 0 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid #1e2124;
}

.nr__mobile-sub-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nr__mobile-sub-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
  font-size: 1.5rem;
  color: #33363d;
  text-decoration: none;
  border-bottom: 1px solid #f4f5f6;
  transition: color 0.2s;
}

.nr__mobile-sub-link:hover,
.nr__mobile-sub-link.active {
  color: #0b50d0;
}

.nr__mobile-sub-link.active {
  font-weight: 700;
}

.nr__mobile-sub-link.has-depth3::after {
  content: "";
  display: inline-block;
  width: 1.8rem;
  height: 1.8rem;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z'/%3E%3C/svg%3E") no-repeat center / contain;
  transition: transform 0.2s ease;
}

.nr__mobile-sub-link.has-depth3.active::after {
  transform: rotate(90deg);
}

.nr__mobile-depth3-wrap {
  display: none;
  padding: 0.8rem 0 0.8rem 1.6rem;
  background-color: #f9fafb;
  border-radius: 0.6rem;
  margin: 0.4rem 0;
}

.nr__mobile-depth3-wrap.is-open {
  display: block;
}

.nr__mobile-depth3-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
  font-size: 1.4rem;
  color: #58616a;
  text-decoration: none;
  transition: color 0.15s ease;
}

.nr__mobile-depth3-link:hover,
.nr__mobile-depth3-link.active {
  color: #0b50d0;
}

.nr__mobile-depth3-link.active {
  font-weight: 700;
}

.nr__mobile-depth3-link.has-depth4::after {
  content: "";
  display: inline-block;
  width: 1.6rem;
  height: 1.6rem;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z'/%3E%3C/svg%3E") no-repeat center / contain;
}

.nr__mobile-depth4-wrap {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #ffffff;
  z-index: 10;
  display: none;
  flex-direction: column;
  padding: 2rem;
  overflow-y: auto;
  animation: nrDepth4In 0.25s ease;
}

.nr__mobile-depth4-wrap.is-open {
  display: flex;
}

@keyframes nrDepth4In {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.nr__mobile-depth4-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.6rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e6e8ea;
}

.nr__trigger-prev,
.nr__trigger-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.6rem;
  height: 3.6rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: #1e2124;
}

.nr__mobile-depth4-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.nr__mobile-depth4-ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nr__mobile-depth4-ul a {
  font-size: 1.4rem;
  color: #464c53;
  text-decoration: none;
  padding: 0.6rem 0;
}

/* Mobile Drawer Bottom & Close */
.nr__mobile-nav-bottom {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 1.4rem 2rem;
  background-color: #ffffff;
  border-top: 1px solid #e6e8ea;
  flex-shrink: 0;
}

.nr__mobile-nav-bottom .nr__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.4rem;
  font-weight: 600;
  color: #33363d;
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
}

.nr__mobile-close-btn,
#close-nav {
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  width: 4rem;
  height: 4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 0.8rem;
  cursor: pointer;
  z-index: 1005;
  color: #1e2124;
  transition: background-color 0.2s;
}

.nr__mobile-close-btn:hover,
#close-nav:hover {
  background-color: #f4f5f6;
}


/* ==========================================================================
   3. 풋터 (Footer)
   ========================================================================== */

/* 3.1 Footer Root & Quick Links */
.nr__footer {
  background-color: #DBE1E9;
  width: 100%;
}

.nr__footer-quick {
  background-color: #DBE1E9;
  border-bottom: 1px solid #E2E8F0;
  padding: 1.8rem 0;
}

.nr__footer-quick .nr__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8rem;
  max-width: 128rem;
}

.nr__footer-quick-link {
  display: inline-flex;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 500;
  color: #727272;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.5;
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: color 0.15s ease;
}

.nr__footer-quick-link[title="개인정보처리방침"] {
  color: #020618;
}

.nr__footer-quick-link:hover {
  text-decoration: underline;
  text-underline-offset: .4rem;
}

/* 3.2 Footer Body & Content (Address & Info) */
.nr__footer-body {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 4rem;
  padding: 4rem 0 5.2rem;
  max-width: 128rem;
}

.nr__footer-logo {
  flex-shrink: 0;
  width: 15.1rem;
  height: 6rem;
  background-image: url(../img/common/logo-weather.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left top;
  margin-top: 0.2rem;
}

.nr__footer-cnt {
  display: flex;
  flex: 1;
  justify-content: space-between;
  align-items: flex-end;
  gap: 3.2rem;
}

.nr__footer-info {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex: 1;
}

.nr__footer-info-text {
  font-size: 1.4rem;
  line-height: 1.5;
  color: #727272;
  margin: 0;
  word-break: keep-all;
  letter-spacing: -0.015em;
}

/* 3.3 Footer Certification Marks & Call Center */
.nr__footer-marks {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 2.8rem;
  flex-shrink: 0;
}

.nr__footer-mark-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.nr__footer-mark-item:hover {
  opacity: 0.85;
}

/* 전화 링크는 데스크톱에서 비활성화 (모바일 전용) */
.nr__footer-mark-item[href^="tel:"] {
  pointer-events: none;
  cursor: default;
}

.nr__footer-mark-item[href^="tel:"]:hover {
  opacity: 1;
}

.nr__footer-ico-wa {
  display: block;
  width: 7.2rem;
  height: 5rem;
  background-image: url(../img/common/footer_logos_wa.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.nr__footer-ico-131 {
  display: block;
  width: 11.2rem;
  height: 4.8rem;
  background-image: url(../img/common/footer_logos_131.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}


/* ==========================================================================
   4. 사이드바 (Aside / LNB - 서브페이지 공통)
   ========================================================================== */

/* 4.1 Sub Page Layout (.nr__sub) */
.nr__sub {
  display: flex;
  max-width: 132.8rem;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 2.4rem 6rem;
  gap: 4.2rem;
  align-items: flex-start;
  box-sizing: border-box;
}

.nr__aside {
  padding-top: 6rem;
  width: 19.4rem;
  min-width: 19.4rem;
  min-height: 48rem;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

/* 사이드바 비동기 로딩 전 스켈레톤(흔들림 방지 플레이스홀더) */
.nr__aside:empty {
  position: relative;
}

.nr__aside:empty::before {
  content: "";
  display: block;
  width: 12rem;
  height: 2.8rem;
  background: #f0f2f5;
  border-radius: 0.4rem;
  margin-bottom: 2.4rem;
  animation: nrSkeletonPulse 1.5s infinite ease-in-out;
}

.nr__aside:empty::after {
  content: "";
  display: block;
  width: 100%;
  height: 24rem;
  background: linear-gradient(180deg, #f0f2f5 0%, #f7f9fa 100%);
  border-radius: 0.8rem;
  animation: nrSkeletonPulse 1.5s infinite ease-in-out;
}

/* 사이드바 내용 로드 시 부드러운 페이드인 */
.nr__aside>* {
  animation: nrFadeIn 0.18s ease-out;
}

@keyframes nrFadeIn {
  from {
    opacity: 0;
    transform: translateY(-3px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes nrSkeletonPulse {

  0%,
  100% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }
}

.nr__sub main,
.nr__sub #content {
  flex: 1;
  min-width: 0;
}

/* 4.2 Aside Nav & Title (.nr__aside-nav, .nr__aside-title) */
.nr__aside-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.nr__aside-header {
  margin-bottom: 3.2rem;
}

.nr__aside-title {
  margin: 0;
  padding: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
}

.nr__aside-title-link {
  font-size: 2.8rem;
  font-weight: 700;
  color: #0475F4;
  text-decoration: none;
  line-height: 1.3;
  letter-spacing: -0.03em;
  display: inline-block;
  position: relative;
  padding-bottom: 0.8rem;
}

.nr__aside-title-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0.4rem;
  background-color: #0475F4;
  border-radius: 0.2rem;
}

/* 4.3 Aside 2Depth Menu (.nr__aside-depth2-*) */
.nr__aside-depth2-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nr__aside a[target="_blank"]>span:after,
.nr__aside a[target="_popup"]>span:after {
  display: none;
}

.nr__aside-depth2-list a[target="_blank"]::after,
.nr__aside-depth2-list a[target="_popup"]::after {
  content: '\e89e';
  font-family: 'Material Symbols Outlined';
  font-size: 1.3em;
  transform: translateY(0.2rem);
  display: inline-block;
}

.nr__aside-depth2-item {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.nr__aside-depth2-link {
  display: inline-flex;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: #1e2124;
  text-decoration: none;
  justify-content: flex-start;
  line-height: 1.4;
  letter-spacing: -0.02em;
  transition: color 0.15s ease;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.4rem 0;
}

.nr__aside-depth2-link:hover {
  color: #0088ff;
}

/* 2Depth 활성화 상태: - 기상 예보 */
.nr__aside-depth2-link.active,
.nr__aside-depth2-item.is-active>.nr__aside-depth2-link {
  color: #0088ff;
}

.nr__aside-depth2-link.active::before,
.nr__aside-depth2-item.is-active>.nr__aside-depth2-link::before {
  content: "-";
  display: inline-block;
  margin-right: 0.6rem;
  font-weight: 700;
}

/* 4.4 Aside 3Depth Panel (.nr__aside-panel, .nr__aside-depth3-*) */
.nr__aside-panel {
  background-color: #f4f8fe;
  border-radius: 0.4rem;
  padding: 2rem 1.6rem;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  box-sizing: border-box;
}

.nr__aside-depth3-group {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.nr__aside-depth3-item {
  display: flex;
  align-items: center;
  width: 100%;
}

.nr__aside-depth3-link {
  display: inline-flex;
  align-items: center;
  font-size: 1.4rem;
  padding: 0;
  font-weight: 500;
  color: #58616a;
  text-decoration: none;
  line-height: 1.4;
  letter-spacing: -2%;
  transition: color 0.15s ease;
  word-break: keep-all;
}

.nr__aside-depth3-link:hover {
  color: #0088ff;
}

/* 3Depth 활성화 상태: 해상 예보 */
.nr__aside-depth3-link.active {
  color: #0088ff;
  font-weight: 700;
}

/* 새창열림 외부 링크 아이콘 */
.nr__aside-icon-external {
  display: inline-block;
  width: 1.6rem;
  height: 1.6rem;
  margin-left: 0.6rem;
  stroke: currentColor;
  flex-shrink: 0;
}

/* 4.5 Aside Quick Banner (.nr__aside-banner) */
.nr__aside-footer {
  margin-top: 2.4rem;
}

.nr__aside-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.6rem;
  background-color: #ffffff;
  border: 1px solid #E9EDF9;
  border-radius: 0.4rem;
  text-decoration: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.nr__aside-banner:hover {
  border-color: #b9d6f8;
  box-shadow: 0 0.4rem 1.2rem rgba(0, 136, 255, 0.08);
  transform: translateY(-0.1rem);
}

.nr__aside-banner-icon {
  min-width: 4.8rem;
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 50%;
  background-color: #eef6ff;
  background-size: 2.4rem 2.4rem !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nr__aside-banner-text {
  font-size: 1.7rem;
  font-weight: 700;
  color: #1e2124;
  letter-spacing: -0.02em;
}


/* ==========================================================================
   5. 반응형 미디어 쿼리 (Responsive Media Queries)
   ========================================================================== */

/* 5.1 Tablet & Mobile (1024px 이하) */
@media (max-width: 1024px) {

  /* --- 5.1.1 공통 & 가시성 제어 --- */
  .nr__desktop-only {
    display: none !important;
  }

  .nr__mobile-only {
    display: flex !important;
  }

  /* --- 5.1.2 서브페이지 & 사이드바 반응형 --- */
  .nr__sub {
    flex-direction: column;
    padding: 2rem 1.6rem 4rem;
    gap: 2.4rem;
    min-height: auto;
  }

  .nr__aside {
    display: none;
    min-height: 0;
  }

  /* --- 5.1.3 헤더 & GNB 반응형 --- */
  .nr__header {
    height: 6rem;
    min-height: 6rem;
  }

  .nr__header .nr__header-slogan,
  .nr__header-slogan {
    display: none;
  }

  .nr__header-top .nr__inner {
    max-width: 100%;
    min-height: 6rem;
    padding: 0 1.6rem;
    border-bottom: 1px solid #f3f3f3;
  }

  .nr__gnb-menu {
    gap: 0;
  }

  .nr__gnb-nav {
    display: flex;
  }

  .nr__gnb-link {
    height: 5rem !important;
    padding: 0 1.2rem;
    font-size: 1.8rem;
    font-weight: 500;
  }

  .nr__gnb-nav .nr__inner {
    min-height: 5rem;
    overflow-x: auto;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
  }

  .nr__gnb-nav .nr__inner::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
  }

  .nr__header-util {
    position: absolute;
    top: -5rem;
    right: 1.6rem;
  }

  /* --- 4.1.3 풋터 반응형 --- */
  .nr__footer-quick {
    padding: 1.4rem 1.6rem;
  }

  .nr__footer-quick .nr__inner {
    gap: 1.2rem 2rem;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .nr__footer-logo {
    width: 7.5rem;
    height: 3rem;
  }

  .nr__footer-quick-link {
    font-size: 1.4rem;
  }

  .nr__footer-body {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.6rem;
    padding: 3.2rem 1.6rem 6rem;
  }

  .nr__footer-cnt {
    flex-direction: column;
    align-items: flex-start;
    gap: 2.4rem;
    width: 100%;
  }

  .nr__footer-info-text {
    font-size: 1.3rem;
    line-height: 1.6;
  }

  .nr__footer-marks {
    align-items: center;
    gap: 2rem;
  }

  .nr__footer-ico-wa {
    width: 4.4rem;
    height: 3rem;
  }

  .nr__footer-ico-131 {
    height: 3rem;
    width: 8.1rem;
  }

  .nr__footer-mark-item[href^="tel:"] {
    pointer-events: auto;
    cursor: pointer;
  }

  .nr__footer-mark-item[href^="tel:"]:hover {
    opacity: 0.85;
  }

  /* --- 4.1.4 공통 컴포넌트 반응형 --- */
  /* 토스트 알림 */
  .nr__toast--card-top {
    position: absolute;
    top: 1.8rem;
    left: 1.6rem;
    right: 1.6rem;
    width: auto;
    transform: translateY(-1.2rem);
  }

  .nr__toast--card-top.is-show {
    transform: translateY(0);
  }

  .nr__toast--card-top.is-hide {
    transform: translateY(-1.2rem);
  }

  /* 위치 선택 드롭다운 */
  .nr__loc-dropdown {
    flex-direction: column-reverse;
    gap: 2.4rem;
  }

  .nr__loc-dropdown-btn {
    padding: 0 7.4rem 0 4rem;
    pointer-events: none;
  }

  .nr__loc-dropdown-btn .icon-aspect-down {
    display: none;
  }

  .nr__loc-dropdown-menu {
    min-width: 0;
    width: 100%;
    display: flex !important;
    flex-direction: row;
    position: static;
    border: 0;
    box-shadow: none;
  }
}

/* 4.2 Mobile (768px 이하) */
@media (max-width: 768px) {

  /* --- 4.2.1 모바일 토스트 알림 --- */
  .nr__toast--card-top {
    top: 6.2rem;
    left: 1.2rem;
    right: 1.2rem;
    padding: 1rem 1.4rem;
    transform: translateY(-1.2rem);
  }

  .nr__toast--card-top.is-show {
    transform: translateY(0);
  }

  .nr__toast--card-top.is-hide {
    transform: translateY(-1.2rem);
  }

  .nr__toast-message {
    font-size: 1.4rem;
  }
}

/* 4.3 Small Mobile (390px 이하) */
@media (max-width: 390px) {

  /* --- 4.3.1 뷰포트 기준 폰트 스케일링 --- */
  html {
    font-size: 4.1026vw;
  }
}