/*활용 css*/

.hwalyong-fixed-box {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;

  width: 100%;
  margin: 0;
  padding: 0;

  background: transparent;
}

.hwalyong-fixed-box-space {
  position: static;
  visibility: hidden;
  pointer-events: none;

  width: 100%;
  margin: 0;
  padding: 0;
}

/* 내부 요소는 fixed 금지 */
.site-header-fixed,
.hwalyong-top-header,
.hwalyong-fixed-hero,
.hwalyong-fixed-tabs {
  position: static;
}

/* 상단 헤더 */
.site-header-fixed {
  width: 100%;

  margin: 0;
  padding: 0;

  border-bottom: 1px solid rgba(239, 220, 169, 0.88);
  background: transparent;
  backdrop-filter: blur(18px);

  transition:
    background 0.3s ease,
    border-color 0.3s ease;
}

.hwalyong-top-header {
  width: 100%;
  margin: 0;
  padding: 0;

  border-bottom: 1px solid rgba(239, 220, 169, 0.88);
  backdrop-filter: blur(18px);

  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    backdrop-filter 0.3s ease;
}

/* 활용 헤더 - 소개 페이지와 같은 초기 투명 상태 */
.hwalyong-top-header:not(.header--scrolled) {
  background: transparent !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

/*
.hwalyong-top-header:not(.header--scrolled) .site-nav a:hover,
.hwalyong-top-header:not(.header--scrolled) .site-nav a.active {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.15) !important;
}
  */

/*
.hwalyong-top-header:not(.header--scrolled) .header-cta {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.18) !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  box-shadow: none !important;
}

.hwalyong-top-header:not(.header--scrolled) .header-cta:hover,
.hwalyong-top-header:not(.header--scrolled) .header-cta.active {
  color: #111 !important;
  background: #ffffff !important;
}
*/
.hwalyong-top-header:not(.header--scrolled) .brand span:last-child {
  color: #f5c518 !important;
}

.hwalyong-fixed-hero {
  width: 100%;
  height: var(--hero-height, 360px);

  margin: 0;
  padding: 0;

  overflow: hidden;
  background: #fff;
}

.hwalyong-hero-bg {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
  object-position: bottom center;
}
/* =========================
   hero banner
   ========================= */

.hwalyong-fixed-hero {
  position: relative;

  width: 100%;
  height: var(--hero-height, 360px);

  overflow: hidden;

  background: #111;
}

.hwalyong-hero-bg {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
  object-position: center;
}

.hwalyong-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;

  background: rgba(0, 0, 0, 0.42);
}

.hwalyong-hero-text,
.use-banner-text {
  position: absolute;
  top: 50%;
  left: max(56px, calc((100vw - 1180px) / 2));

  z-index: 2;

  max-width: 480px;

  transform: translateY(-50%);

  text-align: left;
  color: #fff;
}

.hwalyong-hero-text h1 {
  margin: 0 0 16px;

  color: #f5c518;

  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.15;
}

.hwalyong-hero-text p {
  margin: 0 0 28px;

  color: #fff;

  font-size: clamp(1rem, 1.8vw, 1.15rem);
  font-weight: 600;
  line-height: 1.7;
}

.hwalyong-hero-icons {
  width: clamp(100px, 30vw, 300px);
  height: auto;

  display: block;
}

/* 이미지 위 글자 */
.use-banner-text {
  position: absolute;

  top: 80%;
  left: max(56px, calc((100vw - 1180px) / 2));

  z-index: 2;

  max-width: 480px;

  transform: translateY(-50%);

  text-align: left;
  color: #fff;
}

.use-banner-text span {
  display: inline-block;

  margin-bottom: 12px;

  color: #f5c518;

  font-size: 1.05rem;
  font-weight: 800;
}

.use-banner-text h1 {
  margin: 0 0 16px;

  color: #fff;

  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.25;
}

.use-banner-text p {
  margin: 0;

  color: rgba(255, 255, 255, 0.92);

  font-size: clamp(0.95rem, 1.6vw, 1.12rem);
  font-weight: 600;
  line-height: 1.75;
}

/* =========================
   mobile
   ========================= */

@media (max-width: 768px) {
  .hwalyong-fixed-hero {
    height: 320px;
  }

  .hwalyong-hero-text {
    left: 24px;
    right: 24px;
  }

  .hwalyong-hero-text h1 {
    font-size: 2rem;
  }

  .hwalyong-hero-text p {
    font-size: 0.95rem;
  }

  .hwalyong-hero-icons {
    width: min(260px, 72vw);
  }

  .use-banner-text {
    left: 24px;
    right: 24px;

    max-width: none;
  }

  .use-banner-text h1 {
    font-size: 2rem;
  }

  .use-banner-text p {
    font-size: 0.95rem;
  }
}

/* 탭 */
.hwalyong-fixed-tabs {
  position: sticky;
  top: var(--header-height);
  z-index: 900;

  width: 100%;
  margin: 0;
  padding: 0;

  display: flex;
  justify-content: center;

  background: #fff;
  border-bottom: 1px solid #eadfce;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
}

/* 메인 */
.hwalyong-main {
  padding-top: 0;
  background: #fff;
}

.hwalyong-content {
  padding: 0 0 100px;
}

/* 탭 버튼 */
.use-tabs {
  display: flex;
  justify-content: center;

  background: #fff;
}

.use-panel {
  scroll-margin-top: 520px;
}

.use-tab {
  min-width: 150px;
  padding: 18px 22px;

  border: none;
  border-left: 1px solid #f0e8dc;

  background: #fff;
  color: #555;

  font-size: 0.95rem;
  font-weight: 700;

  cursor: pointer;

  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.use-tab:last-child {
  border-right: 1px solid #f0e8dc;
}

.use-tab:hover,
.use-tab.active {
  color: #fff;
  background: #f5a400;
}

/* 패널 */
.use-panels {
  padding-top: 80px;
}

.use-panel {
  display: none;

  padding-bottom: 120px;

  animation: fadeUp 0.45s ease both;
}

.use-panel.active {
  display: block;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

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

/* 제목 */
.panel-title {
  max-width: 760px;

  margin: 0 auto 64px;

  text-align: center;
}

.panel-title span {
  display: inline-block;

  margin-bottom: 18px;

  color: #f5a400;

  font-size: 1.2rem;
  font-weight: 800;
}

.panel-title h2 {
  margin: 0 0 16px;

  color: #111;

  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.05em;
}

.panel-title p {
  margin: 0 0 10px;

  color: #333;

  font-size: 1.05rem;
  line-height: 1.8;
}

.panel-title .strong {
  color: #111;

  font-size: 1.25rem;
  font-weight: 800;
}

/* 카드 */
.feature-card {
  max-width: 1180px;

  margin: 0 auto 90px;
  padding: 0;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;

  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.feature-card h3 {
  margin: 0 0 18px;

  color: #111;

  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.35;
}

.feature-card p {
  margin: 0 0 16px;

  color: #333;

  font-size: 1.03rem;
  line-height: 1.85;
}

.feature-card img {
  width: 100%;
  max-width: 430px;
  max-height: 360px;

  object-fit: contain;
  justify-self: center;
}

/* 반응형 */
@media (max-width: 1024px) {
  .use-tabs {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .use-tab {
    min-width: 132px;
    flex-shrink: 0;
  }

  .use-panel {
    scroll-margin-top: 560px;
  }

  .feature-card {
    grid-template-columns: 1fr;
    gap: 40px;

    text-align: center;
  }
}

@media (max-width: 640px) {
  .hwalyong-hero {
    height: 310px;
  }

  .use-panels {
    padding-top: 48px;
  }

  .use-panel {
    scroll-margin-top: 540px;
  }

  .feature-card {
    padding: 0;
  }
}

/* 활용 단계 */
.safezone-main-title {
  /* 안심존 설정 제목 */
  margin-bottom: 5rem;
}

.panel-title.safezone-main-title h3 {
  margin: 0;

  color: #f5a400;

  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.3;
}
.guide-flow {
  max-width: 1180px;

  margin: 0 auto;
  padding: 0 clamp(3rem, 10vw, 6rem);
}

.guide-step {
  min-height: 15rem;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(0.5rem, 2vw, 1.2rem);
  align-items: center;

  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
}

.guide-step img {
  width: min(100%, 15rem);
  height: auto;

  display: block;
  justify-self: center;
}

.guide-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;

  text-align: left;
}

.guide-step.reverse .guide-text {
  align-items: flex-end;

  text-align: right;
}

.guide-step.reverse .guide-num {
  align-self: flex-end;
}

.guide-num {
  width: 30px;
  height: 30px;

  flex-shrink: 0;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: #f5a400;
  color: #fff;

  font-weight: 800;
}

.guide-text p {
  max-width: 29rem;

  margin: 0;

  color: #111;

  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 700;
  line-height: 1.65;
}

@media (max-width: 1024px) {
  .guide-step,
  .guide-step.reverse {
    grid-template-columns: 1fr 1fr;

    gap: clamp(1rem, 4vw, 2rem);

    padding: clamp(3rem, 6vw, 4rem) 0;
  }

  .guide-step.reverse .guide-text,
  .guide-step.reverse img {
    order: initial;
  }

  .guide-text {
    justify-content: center;
    text-align: center;
  }

  .guide-text p {
    max-width: 32rem;
  }
}

@media (max-width: 640px) {
  .guide-step img {
    width: min(100%, 22rem);
  }

  .guide-text p {
    font-size: 1.05rem;
  }
}

/* 안심존 설정 전용 */
.safezone-guide-flow {
  max-width: 1180px;
  margin: 0 auto;
}

.safezone-divider {
  width: 100%;
  margin: 5rem auto 0;

  border: none;
  border-top: 1px solid #ddd;
}

.safezone-edit-step {
  padding-top: 3rem;
}

.safezone-edit-text h3 {
  margin: 0 0 1.5rem;

  color: #f5a400;

  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
}

.safezone-edit-text p {
  margin: 0;

  color: #111;

  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 700;
  line-height: 1.8;
}

@media (max-width: 1024px) {
  .safezone-guide-flow .guide-step {
    min-height: auto;
  }

  .safezone-edit-text {
    justify-content: center;
  }
}
.safezone-double-text > div {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.safezone-double-item p {
  margin: 0;

  color: #111;

  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 800;
  line-height: 1.65;
}
/* 안심 리포트 전용 */
.report-guide-flow {
  max-width: 1180px;
  margin: 0 auto;
}

.report-step-title {
  margin: 0 0 0.75rem;

  color: #f5a400;

  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 800;
  line-height: 1.35;
}

.report-step-sub {
  margin-top: 0.75rem;

  color: #777;

  font-size: clamp(0.8rem, 1.4vw, 0.92rem);
  font-weight: 500;
  line-height: 1.7;
}

.report-multi-text > div {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* 다중 보호자 전용 */
.guardian-user-type {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(3rem, 10vw, 6rem);
}

.guardian-type-row {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;

  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.guardian-type-row.reverse {
  grid-template-columns: 1.2fr 0.8fr;
}

.guardian-type-row img {
  width: min(100%, 13rem);
  height: auto;

  justify-self: center;
}

.guardian-type-text h3 {
  margin: 0 0 0.8rem;

  color: #f5a400;

  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 800;
}

.guardian-type-text strong {
  display: block;

  margin-bottom: 1.3rem;

  color: #111;

  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 800;
  line-height: 1.6;
}

.guardian-type-text p {
  margin: 0;

  color: #111;

  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  font-weight: 500;
  line-height: 1.9;
}

.guardian-permission {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(3rem, 10vw, 6rem);
}

.guardian-permission h3 {
  margin: 0 0 2rem;

  color: #f5a400;

  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
}

.guardian-table-wrap {
  overflow-x: auto;
}

.guardian-table {
  width: 100%;
  min-width: 720px;

  border-collapse: collapse;

  text-align: center;
}

.guardian-table thead th {
  padding: 1rem 0.75rem;

  border-bottom: 2px solid #f5a400;

  color: #666;

  font-size: 1.1rem;
  font-weight: 800;
}

.guardian-table tbody th {
  padding: 1.15rem 0.75rem;

  color: #111;

  font-size: 1rem;
  font-weight: 800;
  text-align: left;
}

.guardian-table td {
  padding: 1.15rem 0.75rem;

  color: #111;

  font-size: 1rem;
  font-weight: 600;
}

.yellowcircle {
  color: #f5a400;

  font-size: 1.4rem;
  font-weight: 800;
}
.yellow {
  color: #f5a400;
  font-size: 1.1rem;
  font-weight: 600;
}
.gray {
  color: #aaa;

  font-size: 2.4rem;
  font-weight: 300;
  line-height: 1;
}

.guardian-sub-title {
  margin-top: 0;
}

.guardian-guide-flow {
  max-width: 1180px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .guardian-type-row,
  .guardian-type-row.reverse {
    grid-template-columns: 1fr;

    text-align: center;
  }

  .guardian-type-text {
    text-align: center;
  }
}

/*nav*/
/* nav */
.detail-side-nav {
  position: fixed;
  top: 70%;
  right: clamp(1rem, 3vw, 2.5rem);
  z-index: 1100;

  transform: translateY(-50%);

  width: 8.5rem;
  padding: 0.7rem 0.45rem;

  display: flex;
  flex-direction: column;
  gap: 0.4rem;

  border-radius: 1rem;

  background: rgba(245, 245, 245, 0.96);
  backdrop-filter: blur(10px);

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.detail-side-nav a {
  padding: 0.65rem 0.5rem;

  border-radius: 0.7rem;

  color: #888;

  font-size: 0.92rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;

  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.detail-side-nav a.active {
  background: #fff;
  color: #f5a400;
}


/* =========================
   활용 모바일 최종 보정
   - 배너 크기 원상복구
   - 배너 이미지 상단 기준 통일
   - 노란 빈 영역 최소화
   ========================= */

@media (max-width: 1024px) {
  :root {
    --header-height: 78px;
    --mobile-hero-height: 260px;
    --use-tabs-height: 42px;
  }

  /* PC용 복제 spacer는 모바일에서 제거 */
  #hwalyong-fixed-spacer,
  #hwalyong-fixed-spacer .hwalyong-fixed-box-space,
  .hwalyong-fixed-box-space {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
  }

  /* 모바일에서는 전체 박스 fixed 금지: 배너가 스크롤되어야 함 */
  .hwalyong-fixed-box {
    position: static !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
  }

  /* 헤더만 fixed */
  .hwalyong-top-header,
  .hwalyong-top-header:not(.header--scrolled),
  .hwalyong-top-header.header--scrolled {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1200 !important;

    height: var(--header-height) !important;
    min-height: var(--header-height) !important;

    background: rgba(255, 253, 247, 0.98) !important;
    border-bottom: 1px solid rgba(239, 220, 169, 0.88) !important;
    backdrop-filter: blur(18px) !important;
    box-shadow: none !important;
  }

  .hwalyong-top-header .header-inner {
    height: var(--header-height) !important;
    min-height: var(--header-height) !important;
    overflow: visible !important;
  }

  .hwalyong-top-header .brand .logo,
  .hwalyong-top-header .brand img.logo {
    width: 170px !important;
    max-width: 58vw !important;
    height: auto !important;
  }

  .hwalyong-top-header .nav-toggle {
    display: inline-flex !important;
  }

  /* 배너 크기 원상복구 */
  .hwalyong-fixed-hero {
    position: relative !important;

    height: var(--mobile-hero-height) !important;
    min-height: var(--mobile-hero-height) !important;
    max-height: var(--mobile-hero-height) !important;

    margin-top: var(--header-height) !important;
    margin-bottom: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;
    background: #111 !important;
  }

  /* 이미지가 매번 중구난방으로 보이는 문제 해결 */
  .hwalyong-hero-bg {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
    object-position: top center !important;
  }

  .hwalyong-hero-text {
    top: 52% !important;
    left: 22px !important;
    right: 22px !important;
  }

  .hwalyong-hero-text h1 {
    font-size: clamp(1.35rem, 5vw, 1.75rem) !important;
    line-height: 1.15 !important;
    margin-bottom: 8px !important;
  }

  .hwalyong-hero-text p {
    font-size: 0.78rem !important;
    line-height: 1.5 !important;
    font-weight: 500 !important;
    margin-bottom: 12px !important;
  }

  .hwalyong-hero-icons {
    width: min(190px, 56vw) !important;
  }

  /* 탭 기본 상태 */
  .hwalyong-fixed-tabs {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;

    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;

    width: 100% !important;
    height: var(--use-tabs-height) !important;
    min-height: var(--use-tabs-height) !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;
    white-space: nowrap !important;

    background: #fff !important;
    border-top: 1px solid #eadfce !important;
    border-bottom: 1px solid #eadfce !important;
    box-shadow: none !important;
    z-index: 1000 !important;
  }

  .hwalyong-fixed-tabs .use-tab,
  .hwalyong-fixed-tabs button.use-tab {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;

    height: var(--use-tabs-height) !important;
    min-height: var(--use-tabs-height) !important;
    padding: 0 2px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-left: 1px solid #f0e8dc !important;
    border-right: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;

    font-size: 0.76rem !important;
    font-weight: 600 !important;
    line-height: 1.1 !important;
    letter-spacing: -0.055em !important;
    white-space: nowrap !important;
  }

  .hwalyong-fixed-tabs .use-tab:last-child {
    border-right: 1px solid #f0e8dc !important;
  }

  body.tabs-stuck .hwalyong-fixed-tabs {
    position: fixed !important;
    top: var(--header-height) !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1100 !important;
  }

  .hwalyong-tabs-placeholder {
    display: none;
    height: 0;
  }

  body.tabs-stuck .hwalyong-tabs-placeholder {
    display: block;
    height: var(--use-tabs-height);
  }

  /* 노란 영역 최소화 */
  .hwalyong-main,
  .hwalyong-content,
  .use-panels,
  .use-panel,
  .use-panel.active {
    background: #fff !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .use-panels {
    padding-top: 0 !important;
  }

  .use-panel.active .panel-title {
    padding-top: 50px !important;
    margin-top: 0 !important;
    margin-bottom: 22px !important;
    background: #fff !important;
  }

  .panel-title.safezone-main-title h3,
  .panel-title h2,
  .panel-title h3 {
    font-size: 1.35rem !important;
    line-height: 1.25 !important;
  }

  .guide-text p,
  .safezone-edit-text p,
  .safezone-double-item p,
  .feature-card p {
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    line-height: 1.55 !important;
  }

  .report-step-title {
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin-bottom: 0.45rem !important;
  }

  .report-step-sub {
    font-size: 0.7rem !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
  }

  .guardian-type-text strong {
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    margin-bottom: 0.75rem !important;
  }

  .guardian-type-text p {
    font-size: 0.78rem !important;
    font-weight: 500 !important;
    line-height: 1.55 !important;
  }

  .panel-title p {
    font-size: 0.85rem !important;
    line-height: 1.55 !important;
  }

  .detail-side-nav {
    top: 72% !important;
    right: 10px !important;

    width: 5.8rem !important;
    padding: 0.42rem 0.3rem !important;
    gap: 0.22rem !important;

    border-radius: 0.75rem !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07) !important;
  }

  .detail-side-nav a {
    padding: 0.46rem 0.3rem !important;
    border-radius: 0.55rem !important;

    font-size: 0.68rem !important;
    font-weight: 650 !important;
    line-height: 1.2 !important;
  }
}

@media (max-width: 640px) {
  :root {
    --mobile-hero-height: 240px;
  }

  .detail-side-nav {
    width: 5.5rem !important;
    right: 8px !important;
  }

  .detail-side-nav a {
    font-size: 0.66rem !important;
    font-weight: 650 !important;
  }
}

/* PC 전용: 우측 고정 네비 축소 */
@media (min-width: 1025px) {
  .detail-side-nav {
    width: 8rem !important;
    padding: 0.55rem 0.35rem !important;
    gap: 0.28rem !important;
    border-radius: 0.8rem !important;
  }

  .detail-side-nav a {
    padding: 0.5rem 0.35rem !important;
    border-radius: 0.55rem !important;

    font-size: 0.9rem !important;
    font-weight: 650 !important;
    line-height: 1.25 !important;
  }
}

@media (max-width: 1024px) {
  #hwalyong-fixed-spacer {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  #hwalyong-fixed-spacer .hwalyong-fixed-box-space,
  .hwalyong-fixed-box-space {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
  }
}

@media (max-width: 1024px) {
  .hwalyong-main,
  .hwalyong-content,
  .use-panels {
    background: #fff !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}

/* =========================
   활용 모바일: 노란 배경 강제 제거
   ========================= */

@media (max-width: 1024px) {
  html,
  body {
    background: #fff !important;
    background-image: none !important;
  }

  #common-header,
  #hwalyong-fixed-spacer,
  .hwalyong-fixed-box,
  .hwalyong-main,
  .hwalyong-content,
  .use-panels,
  .use-panel,
  .use-panel.active {
    background: #fff !important;
    background-image: none !important;
  }

  .hwalyong-content,
  .use-panels,
  .use-panel,
  .use-panel.active {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .use-panel.active .panel-title {
    padding-top: 0px !important;
    margin-top: 0 !important;
  }
}

/* =========================
   활용 모바일: 탭 아래 빈 구간 제거
   ========================= */

@media (max-width: 1024px) {
  /* 탭 아래 본문 전체를 위로 끌어올림 */
  .hwalyong-content {
    margin-top: -120px !important;
  }

  .use-panels {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  .use-panel.active {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  .use-panel.active .panel-title {
    padding-top: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 22px !important;
  }
}

/* 세부 네비 이동 기준점 통일 */
.scroll-anchor {
  display: block;
  position: relative;
  top: -150px;
  height: 0;
  visibility: hidden;
}

@media (max-width: 1024px) {
  .scroll-anchor {
    top: -130px;
  }
}

@media (max-width: 768px) {
  .guardian-table-wrap {
    width: 100%;
    overflow-x: hidden;
  }

  .guardian-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
  }

  .guardian-table thead th {
    padding: 0.7rem 0.25rem;
    font-size: 0.72rem;
    line-height: 1.25;
    word-break: keep-all;
  }

  .guardian-table tbody th {
    width: 20%;
    padding: 0.75rem 0.25rem;
    font-size: 0.72rem;
    line-height: 1.35;
    word-break: keep-all;
  }

  .guardian-table td {
    padding: 0.75rem 0.2rem;
    font-size: 0.68rem;
    line-height: 1.35;
    word-break: keep-all;
  }

  .yellowcircle {
    font-size: 1.1rem;
  }

  .yellow {
    font-size: 0.68rem;
    line-height: 1.3;
  }

  .gray {
    font-size: 1.5rem;
  }
}

/* 다중보호자 표: 중간 화면에서는 찌그러지지 않게 유지 */
@media (min-width: 769px) {
  .guardian-table-wrap {
    overflow-x: visible;
  }

  .guardian-table {
    width: 100%;
    min-width: 720px;
    table-layout: auto;
  }
}