.topbar .header-sign-logo,
.site-header .header-sign-logo {
  display: flex !important;
  align-items: center;
  position: absolute !important;
  left: 50% !important;
  width: clamp(340px, 38vw, 520px);
  max-width: calc(100% - 310px);
  padding: 0 !important;
  transform: translateX(-50%) !important;
}

/* 모든 화면의 상단 전화 버튼을 메뉴소개 화면과 동일하게 통일 */
.topbar .call,
.site-header .call,
.site-header .header-call {
  display: inline-flex !important;
  flex-direction: column !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 54px !important;
  margin-left: auto !important;
  padding: 10px 14px !important;
  border-radius: 0 !important;
  background: #c5202e !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}
.topbar .call strong,
.site-header .call strong,
.site-header .header-call strong { font-size: inherit; line-height: 1; }
.topbar .call small,
.site-header .call small,
.site-header .header-call small { margin-top: 5px; font-size: 10px; font-weight: 800; line-height: 1; }
.topbar .call::after,
.site-header .call::after,
.site-header .header-call::after {
  display: none !important;
  content: none !important;
}

@media (max-width: 560px) {
  .topbar .header-sign-logo,
  .site-header .header-sign-logo {
    width: min(250px, calc(100vw - 164px)) !important;
    max-width: none !important;
  }
  .topbar .call,
  .site-header .call,
  .site-header .header-call {
    min-height: 38px !important;
    padding: 7px 8px !important;
    font-size: 11px !important;
  }
}

.header-sign-logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.drawer-brand.header-sign-drawer {
  display: block !important;
  margin: 12px 0 36px !important;
}

.header-sign-drawer img {
  display: block;
  width: min(100%, 350px);
  height: auto;
}

footer .header-sign-footer {
  display: block !important;
  width: min(430px, 100%);
  padding: 12px !important;
  background: #fff !important;
  box-sizing: border-box;
}

.header-sign-footer img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* 모든 페이지에서 동일하게 유지되는 상단 메뉴와 햄버거 메뉴 */
.topbar > nav {
  display: none !important;
}

.menu-toggle {
  display: block !important;
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: #0861b8;
  padding: 8px;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.folder-nav {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  border-bottom: 6px solid #0861b8;
  background: #fff;
}

.folder-nav a {
  display: grid;
  min-width: 0;
  min-height: 118px;
  padding: 24px 28px;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  border-right: 1px solid #d9dee3;
  color: #111820;
  text-decoration: none;
  box-sizing: border-box;
}

.folder-nav a:last-child {
  border-right: 0;
  background: #fff !important;
  color: #111820 !important;
}
.folder-nav b {
  grid-row: 1 / 3;
  color: #c11f2e;
  font-size: 13px;
  line-height: 1.35;
}
.folder-nav span {
  display: block;
  font-size: clamp(17px, 1.45vw, 22px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -.04em;
}
.folder-nav small {
  display: block;
  margin-top: 8px;
  color: #77818a;
  font-size: 13px;
  line-height: 1.25;
}
.folder-nav a[aria-current="page"] {
  background: #0861b8 !important;
  color: #fff !important;
}
.folder-nav a[aria-current="page"] b,
.folder-nav a[aria-current="page"] small { color: #fff !important; }
.folder-nav a:last-child[aria-current="page"] {
  background: #0861b8 !important;
  color: #fff !important;
}

.drawer-backdrop {
  z-index: 80;
  display: block;
  position: fixed;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background: rgba(3, 24, 43, .72);
  transition: opacity .25s;
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
body.drawer-open { overflow: hidden !important; }
.mobile-drawer {
  z-index: 81;
  display: flex;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(78vw, 380px);
  padding: 28px;
  flex-direction: column;
  background: #fff;
  transform: translateX(-102%);
  transition: transform .25s;
  box-sizing: border-box;
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer > button { align-self: flex-end; border: 0; background: none; font-size: 34px; }
.mobile-drawer > a { display: flex; justify-content: space-between; border-bottom: 1px solid #e5e5e5; padding: 18px 0; color: #111820; font-size: 19px; font-weight: 800; text-decoration: none; }
.mobile-drawer > a small { color: #77818a; font-size: 12px; }
.mobile-drawer .drawer-call { color: #0861b8; justify-content: flex-start; margin-top: 18px; }

.folder-nav a:nth-child(2) small,
.folder-nav a:nth-child(3) small {
  display: block !important;
}

.home-page > footer .header-sign-footer {
  margin-bottom: 16px;
}

.floating-inquiry {
  z-index: 70;
  position: fixed;
  right: 22px;
  bottom: 22px;
  display: flex;
  width: 104px;
  height: 104px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 5px solid #fff;
  border-radius: 50%;
  background: #c5202e;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
  color: #fff;
  font-weight: 900;
  line-height: 1.08;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}
.floating-inquiry span { font-size: 14px; }
.floating-inquiry b { margin-top: 4px; font-size: 22px; }
.footer-direct-call{display:block!important;width:max-content!important;margin:12px 0 0!important;color:#6e7780!important;font-size:13px!important;font-weight:600!important;text-decoration:none!important;letter-spacing:.02em!important}

@media (max-width: 560px) {
  body { padding-bottom: 0 !important; }
  .bottom-cta { display: none !important; }

  .topbar {
    min-height: 94px;
    padding: 10px 14px !important;
  }

  .topbar .header-sign-logo,
  .site-header .header-sign-logo {
    width: min(250px, calc(100vw - 164px)) !important;
    max-width: none;
  }

  .site-header {
    min-height: 82px;
    height: auto !important;
    padding: 9px 14px !important;
  }

  .category-nav { top: 82px !important; }

  .folder-nav {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    width: 100%;
  }

  .folder-nav a {
    min-width: 0;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto auto !important;
    gap: 2px !important;
    padding: 10px 3px !important;
    text-align: center;
  }

  .folder-nav b {
    grid-row: auto !important;
    font-size: 9px !important;
  }

  .folder-nav span {
    overflow: hidden;
    font-size: clamp(11px, 3vw, 14px) !important;
    line-height: 1.25;
    letter-spacing: -.04em;
    white-space: nowrap;
  }

  .folder-nav small {
    margin-top: 1px !important;
    overflow: hidden;
    font-size: clamp(8px, 2.2vw, 10px) !important;
    line-height: 1.2;
    white-space: nowrap;
  }

  .drawer-brand.header-sign-drawer {
    margin-top: 4px !important;
  }

  footer .header-sign-footer {
    width: min(330px, 92vw);
    padding: 10px !important;
  }

  .floating-inquiry {
    right: 14px;
    bottom: 18px;
    width: 96px;
    height: 96px;
  }
}
