/* ==========================================================================
   AILO Public P01 — 한빛시 시민재단 (기준 시안)
   원형: D 포털형 — 유틸 줄 + 투명→흰 헤더·메가메뉴, 풀폭 슬라이드 + 겹친 통합검색·빠른메뉴, 알림마당 탭
   접근성 강화: 글자 크기 5단계(모든 크기 rem), 고대비 모드, 다중 건너뛰기, 강화 포커스, 키보드 메가메뉴
   타이포: Pretendard(본문·제목) + Public Sans(영문 eyebrow·숫자)
   컬러: 공공 블루 #1f4f8f 1색 + 무채색, 어두운 면 #13294b(숫자 띠·상담 상자)
   ========================================================================== */

:root {
  --ailo-bg: #ffffff;
  --ailo-fg: #16191f;
  --ailo-muted: #4b5260;
  --ailo-line: #dfe3ea;
  --ailo-accent: #1f4f8f;
  --ailo-accent-ink: #ffffff;
  --ailo-header-h: calc(var(--p01-util-h) + var(--p01-row-h));
  --ailo-max: 1320px;

  --p01-util-h: 2.5rem;
  --p01-row-h: 5rem;
  --p01-navy: #13294b;
  --p01-soft: #f5f6f8;
  --p01-soft-accent: #e9eff7;
  --p01-surface: #ffffff;
  --p01-red: #a52a1f;
  --p01-focus: #0b1e45;
  --p01-focus-ring: #ffcc00;
  --p01-num: "Public Sans", "Pretendard Variable", Pretendard, sans-serif;
  --p01-map-bg: #eef1f5;
  --p01-map-road: #ffffff;
  --p01-map-block: #dde2ea;
  --p01-map-park: #d3e4d6;
  --p01-map-text: #2a3142;
  --p01-sec: clamp(4.5rem, 8vw, 8rem);
  --p01-radius: 12px;

  /* 공용 부품 크기를 rem 으로 → 글자 크기 조절을 따라감 */
  --ailo-title-size: clamp(1.75rem, 1.4vw + 1.15rem, 3rem);
  --ailo-hero-size: clamp(2rem, 2.9vw + 1rem, 4.25rem);
  --ailo-mega-size: 1.0625rem;
  --ailo-mega-size-md: 1rem;
  --ailo-mega-col: 8.5rem;
  --ailo-mega-col-md: 6.75rem;
  --ailo-eyebrow-size: .8125rem;
  --ailo-hero-h: clamp(620px, 88svh, 800px);
  --ailo-hero-h-m: clamp(560px, 86svh, 680px);
  --ailo-hero-dim: linear-gradient(90deg, rgba(9, 20, 38, .74) 0%, rgba(9, 20, 38, .46) 55%, rgba(9, 20, 38, .2) 100%);
  --ailo-overlap: 88px;
  --ailo-pcard-ratio: 4 / 3;
  --ailo-pcard-radius: 12px;
  --ailo-cta-dim: rgba(10, 22, 44, .72);
}

/* ----- 고대비 모드: 검정 바탕 + 흰 글자 + 노랑 강조 ----- */
html[data-contrast="high"] {
  --ailo-bg: #000000;
  --ailo-fg: #ffffff;
  --ailo-muted: #f0f0f0;
  --ailo-line: #ffffff;
  --ailo-accent: #ffd400;
  --ailo-accent-ink: #000000;
  --p01-navy: #000000;
  --p01-soft: #000000;
  --p01-soft-accent: #000000;
  --p01-surface: #000000;
  --p01-red: #ff8c82;
  --p01-focus: #ffffff;
  --p01-focus-ring: #00e1ff;
  --p01-map-bg: #000000;
  --p01-map-road: #444444;
  --p01-map-block: #1f1f1f;
  --p01-map-park: #1f3a24;
  --p01-map-text: #ffffff;
  --ailo-hero-dim: rgba(0, 0, 0, .82);
  --ailo-hero-dim-m: rgba(0, 0, 0, .82);
  --ailo-cta-dim: rgba(0, 0, 0, .88);
  --ailo-mega-bg: #000;
  --ailo-mega-fg: #fff;
  --ailo-mega-sub: #fff;
  --ailo-sitemap-bg: #000;
}
html[data-contrast="high"] body { background: #000; }
html[data-contrast="high"] a:not([class]), html[data-contrast="high"] .ailo-postlist__subject { text-decoration: underline; text-underline-offset: 3px; }
html[data-contrast="high"] img { filter: grayscale(1) contrast(1.1) brightness(.75); }
html[data-contrast="high"] .ailo-hero-overlap__card,
html[data-contrast="high"] .values__item,
html[data-contrast="high"] .cal,
html[data-contrast="high"] .call,
html[data-contrast="high"] .prog__table,
html[data-contrast="high"] .loc__map,
html[data-contrast="high"] .vform input,
html[data-contrast="high"] .vform select,
html[data-contrast="high"] .vform textarea,
html[data-contrast="high"] .qside,
html[data-contrast="high"] .ailo-pcard { outline: 2px solid #fff; outline-offset: -2px; box-shadow: none; }
html[data-contrast="high"] .hd.ailo-hd--overlay[data-ailo-header] { background: #000; color: #fff; box-shadow: 0 1px 0 #fff; }
html[data-contrast="high"] .hd.ailo-hd--overlay[data-ailo-header]::before { opacity: 0; }
html[data-contrast="high"] .util { background: #000; border-bottom: 1px solid #fff; }
html[data-contrast="high"] .ailo-mega__panel a:hover { color: #000; background: #ffd400; }
html[data-contrast="high"] .ailo-hero__btn--ghost { border-color: #fff; }
html[data-contrast="high"] .st { background: #000 !important; color: #fff !important; outline: 1px solid #fff; }
html[data-contrast="high"] .ft { border-top: 1px solid #fff; background: #000; }
html[data-contrast="high"] .ailo-wordmark { color: #fff; opacity: 1; }

/* ----- 글자 크기 5단계 ----- */
html[data-fs="0"] { font-size: 87.5%; }
html[data-fs="1"] { font-size: 100%; }
html[data-fs="2"] { font-size: 112.5%; }
html[data-fs="3"] { font-size: 125%; }
html[data-fs="4"] { font-size: 150%; }

body { font-size: 1.0625rem; line-height: 1.7; letter-spacing: -.005em; }

/* ----- 포커스: 두 겹 링(어두운 선 + 노랑) ----- */
:focus-visible {
  outline: 3px solid var(--p01-focus) !important;
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--p01-focus-ring) !important;
  border-radius: 2px;
}
[tabindex="-1"]:focus, [tabindex="-1"]:focus-visible { outline: none !important; box-shadow: none !important; }

/* ----- 건너뛰기 링크 ----- */
.skipnav .ailo-skip { left: 50%; translate: -50% 0; font-size: 1rem; font-weight: 700; background: var(--p01-focus); color: #fff; border-radius: 0 0 8px 8px; }

.sec { padding-block: var(--p01-sec); }
.ailo-lead { font-size: 1.0625rem; color: var(--ailo-muted); }
.ailo-eyebrow { font-family: var(--p01-num); letter-spacing: .14em; }
.ailo-more { font-size: .9375rem; }

/* ==========================================================================
   헤더
   ========================================================================== */
.hd { font-size: 1rem; }
.util { height: var(--p01-util-h); border-bottom: 1px solid rgba(255, 255, 255, .18); font-size: .875rem; transition: background-color .3s, border-color .3s; }
.util__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.util__gov { display: flex; align-items: center; gap: .5rem; font-weight: 500; opacity: .92; white-space: nowrap; }
.util__flag { width: 1.125rem; height: .75rem; border-radius: 2px; background: linear-gradient(180deg, currentColor 0 33%, transparent 33% 66%, currentColor 66%); opacity: .6; }
.util__tools { margin-left: auto; display: flex; align-items: center; gap: .25rem; height: 100%; }
.fs { display: flex; align-items: center; gap: 2px; margin-right: .5rem; }
.fs__label { margin-right: .375rem; font-weight: 500; opacity: .85; }
.fs__btn, .fs__now, .hc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .375rem; height: 1.875rem; min-width: 1.875rem; padding: 0 .5rem;
  border: 1px solid currentColor; border-radius: 4px; background: transparent; color: inherit; font-size: .8125rem; font-weight: 600; line-height: 1;
  border-color: color-mix(in srgb, currentColor 45%, transparent);
}
.fs__now { min-width: 3.25rem; font-family: var(--p01-num); font-variant-numeric: tabular-nums; }
.fs__btn:disabled { opacity: .4; cursor: not-allowed; }
.fs__btn:not(:disabled):hover, .fs__now:hover, .hc-btn:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
.hc-btn[aria-pressed="true"] { background: var(--ailo-accent); color: var(--ailo-accent-ink); border-color: var(--ailo-accent); }
.util__link { display: inline-flex; align-items: center; height: 100%; padding: 0 .625rem; font-weight: 600; }
.util__link:hover { text-decoration: underline; text-underline-offset: 3px; }

.hd__in { height: var(--p01-row-h); display: flex; align-items: center; gap: 1.5rem; }
.logo { display: inline-flex; align-items: center; gap: .625rem; flex: none; }
.logo__mark { width: 2.5rem; height: 2.5rem; }
.logo__txt { display: grid; font-size: 1.3125rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.logo__txt small { font-family: var(--p01-num); font-size: .625rem; font-weight: 700; letter-spacing: .12em; opacity: .8; }
.gnb { flex: 1; display: flex; justify-content: center; }
@media (max-width: 991.98px) { .gnb.ailo-mega { display: none; } }
.gnb .ailo-mega__list { height: 100%; }
.gnb .ailo-mega__link { font-weight: 700; }
.ailo-mega__panel a { font-size: .9375rem; }
.hd__right { display: flex; align-items: center; gap: .375rem; flex: none; }
.hd__search { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; font-size: 1.0625rem; }
.hd__search:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.hd__cta {
  display: inline-flex; align-items: center; height: 2.75rem; padding: 0 1.125rem; margin-left: .25rem; border-radius: 6px;
  border: 1px solid color-mix(in srgb, currentColor 55%, transparent); font-size: .9375rem; font-weight: 700; white-space: nowrap;
}
.hd__cta:hover { background: var(--ailo-accent); border-color: var(--ailo-accent); color: #fff; }
.ailo-sitemap-btn { width: 2.75rem; height: 2.75rem; }
/* 단색 상태: 유틸 줄 회색 면 */
.hd.is-scrolled .util, .hd.is-mega-open .util, .hd:has(:focus-visible) .util, html.nav-open .hd .util { background: var(--p01-soft); border-bottom-color: var(--ailo-line); color: #333; }
.hd.is-scrolled .logo__mark, .hd.is-mega-open .logo__mark, .hd:has(:focus-visible) .logo__mark { color: var(--ailo-accent); }
html[data-contrast="high"] .hd .logo__mark { color: #ffd400; }

/* ==========================================================================
   모바일 메뉴
   ========================================================================== */
.mnav { background: var(--ailo-bg); }
.mnav__in { padding: calc(var(--ailo-header-h) + 1rem) var(--ailo-gutter) 3rem; max-width: 40rem; margin-inline: auto; }
.mnav__tools { display: flex; flex-wrap: wrap; gap: .375rem; padding-bottom: 1.25rem; margin-bottom: .5rem; border-bottom: 1px solid var(--ailo-line); }
.mnav__tools .fs__btn, .mnav__tools .fs__now, .mnav__tools .hc-btn { height: 2.75rem; min-width: 2.75rem; font-size: .9375rem; color: var(--ailo-fg); }
.mnav__grp { border-bottom: 1px solid var(--ailo-line); }
.mnav__grp summary { display: flex; justify-content: space-between; align-items: center; min-height: 3.5rem; font-size: 1.25rem; font-weight: 700; cursor: pointer; list-style: none; }
.mnav__grp summary::-webkit-details-marker { display: none; }
.mnav__grp summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--ailo-accent); }
.mnav__grp[open] summary::after { content: "\2212"; }
.mnav__grp a { display: block; padding: .625rem 0 .625rem 1rem; font-size: 1.0625rem; color: var(--ailo-muted); }
.mnav__grp a:last-child { margin-bottom: .75rem; }
.mnav__cta { display: flex; justify-content: space-between; align-items: center; margin-top: 1.75rem; padding: 1.125rem 1.25rem; border-radius: 8px; background: var(--ailo-accent); color: var(--ailo-accent-ink); font-size: 1.0625rem; font-weight: 700; }
.mnav__cta:hover { color: var(--ailo-accent-ink); }
.mnav__tel { margin-top: 1rem; font-size: 1rem; color: var(--ailo-muted); }
.mnav__tel a { font-family: var(--p01-num); font-weight: 700; color: var(--ailo-fg); }

/* 전체메뉴 */
.ailo-sitemap__links a { font-size: .9375rem; }

/* ==========================================================================
   히어로 + 겹침 위젯
   ========================================================================== */
.hero .ailo-hero__body { padding-top: calc(var(--ailo-header-h) + 3rem); }
.hero .ailo-hero__sub { font-size: 1.125rem; max-width: 32em; }
.hero .ailo-hero__btn { min-height: 3.25rem; font-size: 1rem; border-radius: 6px; }
.hero__tag { display: inline-block; margin-right: .5rem; padding: .25rem .625rem; border-radius: 4px; background: #fff; color: var(--p01-navy); font-family: var(--ailo-font); font-size: .8125rem; letter-spacing: 0; vertical-align: 1px; }
html[data-contrast="high"] .hero__tag { background: #ffd400; color: #000; }
.hero .ailo-hero__ctrl { max-width: var(--ailo-max); }

.portal__card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: center; padding: clamp(1.5rem, 2.6vw, 2.5rem); }
.search__label { display: block; margin-bottom: .75rem; font-size: 1.375rem; font-weight: 800; letter-spacing: -.02em; }
.search__box { display: flex; height: 3.5rem; border: 1px solid #9aa4b4; border-radius: 8px; overflow: hidden; background: var(--ailo-bg); }
.search__box:focus-within { border-color: var(--ailo-accent); }
.search__box input { flex: 1; min-width: 0; border: 0; padding: 0 1rem; font-size: 1.0625rem; background: transparent; color: var(--ailo-fg); }
.search__box input:focus-visible { box-shadow: inset 0 0 0 3px var(--p01-focus-ring) !important; outline: none !important; }
.search__box input::placeholder { color: #6b7280; }
.search__box button { display: inline-flex; align-items: center; gap: .5rem; padding: 0 1.25rem; border: 0; background: var(--ailo-accent); color: var(--ailo-accent-ink); font-size: 1rem; font-weight: 700; }
.search__hot { display: flex; flex-wrap: wrap; gap: .25rem .875rem; margin-top: .875rem; font-size: .9375rem; }
.search__hot span { color: var(--ailo-muted); font-weight: 600; }
.search__hot a { color: var(--ailo-fg); text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 30%, transparent); text-underline-offset: 4px; }
.search__hot a:hover { color: var(--ailo-accent); }

.quick { border-left: 1px solid var(--ailo-line); padding-left: clamp(1.5rem, 3vw, 3rem); }
.quick__title { margin-bottom: .75rem; font-size: 1rem; font-weight: 700; color: var(--ailo-muted); }
.quick__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .25rem; }
.quick__grid a { display: flex; align-items: center; gap: .75rem; min-height: 3.5rem; padding: .5rem .625rem; border-radius: 8px; font-size: 1rem; font-weight: 600; line-height: 1.35; }
.quick__grid a:hover { background: var(--p01-soft); }
.quick__grid i { flex: none; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--p01-soft-accent); color: var(--ailo-accent); font-size: 1rem; }
html[data-contrast="high"] .quick__grid i { outline: 1px solid #fff; }

/* ==========================================================================
   알림마당
   ========================================================================== */
.board { padding-top: clamp(4rem, 6vw, 6rem); }
.board__grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.board .ailo-head { margin-bottom: 1.25rem; }
.ailo-tabs__tab { font-size: 1.0625rem; min-height: 3.25rem; }
.ailo-postlist a { min-height: 4rem; }
.ailo-postlist__cat { min-width: 3.25rem; font-size: .8125rem; }
.ailo-postlist__subject { font-size: 1.0625rem; }
.ailo-postlist__date { font-family: var(--p01-num); font-size: .875rem; }
.board__more { margin-top: 1.25rem; float: right; }
.ailo-tabs__panel::after { content: ""; display: block; clear: both; }

.board__side { display: grid; gap: 1.25rem; }
.cal { background: var(--p01-soft); border-radius: var(--p01-radius); padding: 1.75rem; }
.cal__title, .call h3 { font-size: 1.125rem; font-weight: 800; margin-bottom: 1rem; }
.cal__list { display: grid; gap: 1rem; }
.cal__list li { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem; align-items: center; }
.cal__list time { display: grid; place-items: center; height: 3.5rem; border-radius: 8px; background: var(--p01-surface); font-size: .8125rem; color: var(--ailo-muted); line-height: 1.1; }
.cal__list time b { font-family: var(--p01-num); font-size: 1.375rem; color: var(--ailo-accent); }
.cal__list p { font-size: 1rem; font-weight: 700; line-height: 1.45; }
.cal__list p span { display: block; font-size: .875rem; font-weight: 400; color: var(--ailo-muted); }
.call { background: var(--p01-navy); color: #fff; border-radius: var(--p01-radius); padding: 1.75rem; }
.call h3 { margin-bottom: .25rem; font-size: 1rem; font-weight: 600; opacity: .85; }
.call__num a { font-family: var(--p01-num); font-size: 2rem; font-weight: 800; letter-spacing: -.01em; }
.call__time { font-size: .9375rem; opacity: .82; }
.side-links { margin-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .18); }
.side-links a { display: flex; align-items: center; gap: .75rem; min-height: 3rem; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: 1rem; font-weight: 600; }
.side-links a::after { content: "\2192"; margin-left: auto; opacity: .7; }
.side-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.side-links i { width: 1.25rem; opacity: .8; }

/* ==========================================================================
   재단소개 · 숫자 띠
   ========================================================================== */
.about { background: var(--p01-soft); }
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.about__sign { margin-top: 1.75rem; font-size: 1rem; color: var(--ailo-muted); }
.about__sign b { margin-left: .375rem; font-size: 1.125rem; color: var(--ailo-fg); }
.values { display: grid; gap: 1rem; }
.values__item { display: grid; grid-template-columns: 3.5rem 7rem 1fr; align-items: center; gap: 1rem; padding: 1.5rem 1.75rem; background: var(--p01-surface); border-radius: var(--p01-radius); box-shadow: 0 10px 30px -18px rgba(15, 30, 60, .25); }
.values__no { font-family: var(--p01-num); font-size: 1.5rem; font-weight: 800; color: var(--ailo-accent); }
.values__item h3 { font-size: 1.375rem; font-weight: 800; }
.values__item p { font-size: 1rem; color: var(--ailo-muted); }

.stats { background: var(--p01-navy); color: #fff; padding-block: clamp(3.5rem, 6vw, 5.5rem); }
.stats__list { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.stats__item { padding: 0 1.5rem; border-left: 1px solid rgba(255, 255, 255, .2); }
.stats__item:first-child { border-left: 0; padding-left: 0; }
.stats__item dt { font-size: 1rem; font-weight: 500; opacity: .82; }
.stats__item dd { margin: .375rem 0 0; font-family: var(--p01-num); font-size: clamp(2rem, 2.4vw + 1rem, 3.25rem); font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.15; }
.stats__note { margin-top: 2rem; font-size: .875rem; opacity: .7; }

/* ==========================================================================
   주요사업 · 프로그램 표
   ========================================================================== */
.biz__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.biz .ailo-pcard__title { font-size: 1.25rem; }
.biz .ailo-pcard__desc { font-size: .9375rem; line-height: 1.55; }

.programs { padding-top: 0; }
.prog__table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ailo-fg); font-size: 1rem; }
.prog__table thead th { padding: 1rem; background: var(--p01-soft); font-size: .9375rem; font-weight: 700; color: var(--ailo-muted); text-align: left; border-bottom: 1px solid var(--ailo-line); }
.prog__table td, .prog__table tbody th { padding: 1.125rem 1rem; border-bottom: 1px solid var(--ailo-line); vertical-align: middle; }
.prog__table tbody th { font-size: 1.0625rem; font-weight: 700; }
.prog__table .num { font-family: var(--p01-num); font-variant-numeric: tabular-nums; white-space: nowrap; }
.st { display: inline-block; padding: .25rem .625rem; border-radius: 4px; font-size: .875rem; font-weight: 700; white-space: nowrap; }
.st--open { background: var(--p01-soft-accent); color: var(--ailo-accent); }
.st--soon { background: #fbeceb; color: var(--p01-red); }
.st--plan { background: #eef0f3; color: #4b5260; }
.prog__go { display: inline-flex; align-items: center; height: 2.5rem; padding: 0 1rem; border-radius: 6px; background: var(--ailo-accent); color: var(--ailo-accent-ink); font-size: .9375rem; font-weight: 700; }
.prog__go:hover { color: var(--ailo-accent-ink); background: color-mix(in srgb, var(--ailo-accent) 85%, #000); }
.prog__wait { font-size: .9375rem; color: var(--ailo-muted); }

/* ==========================================================================
   연혁 · 협력 기관
   ========================================================================== */
.history { background: var(--p01-soft); }
.timeline { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.5rem; position: relative; padding-top: 2rem; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: .4375rem; height: 1px; background: #b9c1ce; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; top: -1.875rem; left: 0; width: .875rem; height: .875rem; border-radius: 50%; background: var(--ailo-accent); box-shadow: 0 0 0 5px var(--p01-soft); }
.timeline time { display: block; font-family: var(--p01-num); font-size: 1.625rem; font-weight: 800; color: var(--ailo-accent); }
.timeline p { margin-top: .5rem; font-size: 1rem; color: #3d4350; }

.partners { padding-block: clamp(2.5rem, 4vw, 3.5rem); border-bottom: 1px solid var(--ailo-line); }
.partners__head { margin-bottom: .75rem; }
.partners__title { font-size: 1rem; font-weight: 700; color: var(--ailo-muted); }
.partners .ailo-wordmark { font-size: 1.25rem; }

/* ==========================================================================
   오시는 길 · 안내 띠 · 의견 폼 · 만족도
   ========================================================================== */
.loc__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.loc__map { border-radius: var(--p01-radius); overflow: hidden; aspect-ratio: 560 / 380; }
.loc__map svg { width: 100%; height: 100%; }
.loc__title { font-size: clamp(1.5rem, 1vw + 1.1rem, 2.25rem); }
.loc__dl { margin: 1.75rem 0 0; border-top: 1px solid var(--ailo-fg); }
.loc__dl > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--ailo-line); }
.loc__dl dt { display: flex; align-items: center; gap: .5rem; font-size: 1rem; font-weight: 700; }
.loc__dl dt i { width: 1.125rem; color: var(--ailo-accent); }
.loc__dl dd { margin: 0; font-size: 1rem; color: #3d4350; }

.cta .ailo-ctaband__title { font-size: clamp(1.5rem, 1.4vw + 1rem, 2.5rem); }
.cta__eyebrow { color: rgba(255, 255, 255, .8); }
.cta .ailo-hero__btn { border-radius: 6px; }

.voice__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.voice__req { margin-top: 1.5rem; font-size: .9375rem; color: var(--ailo-muted); }
.voice__req span, .req { color: var(--p01-red); font-weight: 700; }
.vform { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.5rem; padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--p01-soft); border-radius: var(--p01-radius); }
.vform__row { display: grid; gap: .5rem; align-content: start; }
.vform__row--full { grid-column: 1 / -1; }
.vform label, .vform legend { font-size: 1rem; font-weight: 700; }
.vform input[type="text"], .vform input[type="tel"], .vform select, .vform textarea {
  width: 100%; min-height: 3.25rem; padding: .75rem 1rem; border: 1px solid #8f99a8; border-radius: 6px; background: var(--ailo-bg); color: var(--ailo-fg); font-size: 1.0625rem;
}
.vform textarea { resize: vertical; }
.vform [aria-invalid="true"] { border-color: var(--p01-red); background: #fff7f6; }
html[data-contrast="high"] .vform [aria-invalid="true"] { background: #000; }
.vform__help { font-size: .875rem; color: var(--ailo-muted); }
.vform__agree { margin: 0; padding: 1.25rem; border: 0; border-radius: 8px; background: var(--p01-surface); }
.vform__agree legend { float: left; width: 100%; margin-bottom: .5rem; padding: 0; }
.vform__terms { clear: both; font-size: .9375rem; color: var(--ailo-muted); }
.check { display: inline-flex; align-items: center; gap: .625rem; margin-top: .75rem; font-weight: 600 !important; cursor: pointer; }
.check input, .satis__opts input { width: 1.25rem; height: 1.25rem; accent-color: var(--ailo-accent); }
.vform__error { grid-column: 1 / -1; margin: 0; padding: .875rem 1rem; border-radius: 6px; background: #fbeceb; color: var(--p01-red); font-size: 1rem; font-weight: 700; }
html[data-contrast="high"] .vform__error { background: #000; outline: 1px solid var(--p01-red); }
.vform__btns { display: flex; justify-content: flex-end; gap: .75rem; }
.btn-line, .btn-solid { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: 0 1.75rem; border-radius: 6px; font-size: 1.0625rem; font-weight: 700; }
.btn-line { border: 1px solid #8f99a8; background: var(--ailo-bg); color: var(--ailo-fg); }
.btn-solid { border: 1px solid var(--ailo-accent); background: var(--ailo-accent); color: var(--ailo-accent-ink); }
.btn-solid:hover { background: color-mix(in srgb, var(--ailo-accent) 85%, #000); }
.btn-solid--sm { min-height: 2.75rem; padding: 0 1.25rem; font-size: 1rem; }

.satis { padding-block: 1.75rem; border-top: 1px solid var(--ailo-line); }
.satis__in { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.satis__in fieldset { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; margin: 0; padding: 0; border: 0; }
.satis__in legend { float: left; margin: 0; padding: 0; width: auto; font-size: 1rem; font-weight: 700; }
.satis__opts { display: flex; flex-wrap: wrap; gap: .25rem 1.125rem; }
.satis__opts label { display: inline-flex; align-items: center; gap: .375rem; font-size: .9375rem; cursor: pointer; }
.satis__meta { margin-top: .75rem; font-size: .875rem; color: var(--ailo-muted); }

/* ==========================================================================
   푸터 · 퀵메뉴
   ========================================================================== */
.ft { background: #14171d; color: rgba(255, 255, 255, .74); font-size: .9375rem; }
.ft__top { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.ft__top-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding-block: 1.25rem; }
.ft__policy { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.ft__policy a { font-size: .9375rem; color: rgba(255, 255, 255, .82); }
.ft__policy a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ft__policy b { color: #fff; font-weight: 700; }
.family { display: flex; }
.family select { height: 2.75rem; min-width: 13rem; padding: 0 2.25rem 0 .875rem; border: 1px solid rgba(255, 255, 255, .3); border-right: 0; border-radius: 6px 0 0 6px; background: #1d2129 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right .875rem center; color: #fff; font-size: .9375rem; appearance: none; }
.family button { height: 2.75rem; padding: 0 1rem; border: 1px solid rgba(255, 255, 255, .3); border-radius: 0 6px 6px 0; background: transparent; color: #fff; font-size: .9375rem; font-weight: 700; }
.family button:hover { background: rgba(255, 255, 255, .1); }
.ft__body { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem 4rem; padding-block: clamp(2.5rem, 4vw, 3.5rem); }
.ft__name { margin-bottom: .875rem; font-size: 1.25rem; font-weight: 800; color: #fff; }
.ft address { margin: 0; font-style: normal; line-height: 1.85; }
.ft__copy { margin-top: 1.25rem; font-size: .8125rem; color: rgba(255, 255, 255, .6); }
.ft__a11y { display: flex; gap: 1rem; align-items: flex-start; align-self: start; padding: 1.25rem 1.5rem; border-radius: var(--p01-radius); background: rgba(255, 255, 255, .06); }
.ft__badge { flex: none; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: #fff; color: #14171d; font-size: 1.375rem; }
.ft__a11y p { font-size: .9375rem; }
.ft__a11y a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.qside { position: fixed; right: 1.25rem; top: 50%; z-index: 60; translate: 0 -50%; width: 4.5rem; padding: .75rem 0 0; border-radius: 10px; background: var(--ailo-bg); box-shadow: 0 12px 32px -12px rgba(0, 0, 0, .28); text-align: center; display: none; }
.qside__title { font-family: var(--p01-num); font-size: .75rem; font-weight: 800; letter-spacing: .12em; color: var(--ailo-accent); margin-bottom: .25rem; }
.qside a { display: grid; justify-items: center; gap: .25rem; padding: .625rem 0; font-size: .8125rem; font-weight: 600; }
.qside a i { font-size: 1.0625rem; color: var(--ailo-accent); }
.qside a:hover { background: var(--p01-soft); }
.qside__top { border-top: 1px solid var(--ailo-line); border-radius: 0 0 10px 10px; }
@media (min-width: 1560px) { .qside { display: block; } }

/* ==========================================================================
   반응형
   ========================================================================== */
@media (max-width: 1279.98px) {
  .hd__cta { display: none; }
  .quick__grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 3rem; }
  .timeline::before { display: none; }
}
@media (max-width: 1199.98px) {
  .logo__txt small { display: none; }
}
@media (max-width: 991.98px) {
  :root { --p01-util-h: 0px; --p01-row-h: 4rem; --ailo-overlap: 56px; }
  .util { display: none; }
  .hd__search, .ailo-sitemap-btn { display: none; }
  .hd__right { margin-left: auto; }
  .portal__card { grid-template-columns: 1fr; }
  .quick { border-left: 0; padding-left: 0; border-top: 1px solid var(--ailo-line); padding-top: 1.25rem; }
  .quick__grid { grid-template-columns: repeat(4, 1fr); }
  .quick__grid a { flex-direction: column; text-align: center; gap: .375rem; font-size: .875rem; padding: .5rem .25rem; }
  .board__grid, .about__grid, .loc__grid, .voice__grid { grid-template-columns: 1fr; }
  .board__side { grid-template-columns: 1fr 1fr; }
  .biz__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__list { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .stats__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .ft__body { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
  .board__side { grid-template-columns: 1fr; }
  .prog__table thead { display: none; }
  .prog__table, .prog__table tbody, .prog__table tr { display: block; }
  .prog__table tr { display: grid; grid-template-columns: auto 1fr; gap: .375rem .75rem; padding: 1.125rem 0; border-bottom: 1px solid var(--ailo-line); }
  .prog__table td, .prog__table tbody th { padding: 0; border: 0; }
  .prog__table tbody th { grid-column: 1 / -1; grid-row: 2; }
  .prog__table td:nth-of-type(1) { grid-row: 1; }
  .prog__table td:nth-of-type(2) { grid-column: 1 / -1; font-size: .9375rem; color: var(--ailo-muted); }
  .prog__table td:nth-of-type(3) { grid-column: 1; font-size: .9375rem; }
  .prog__table td:nth-of-type(4) { grid-column: 2; justify-self: end; }
  .values__item { grid-template-columns: 2.75rem 1fr; }
  .values__item p { grid-column: 2; }
}
@media (max-width: 575.98px) {
  .logo__txt { font-size: 1.125rem; }
  .logo__mark { width: 2.125rem; height: 2.125rem; }
  .hero .ailo-hero__sub { font-size: 1rem; }
  .search__label { font-size: 1.125rem; }
  .search__box button span { display: none; }
  .quick__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
  .quick__grid i { width: 2.25rem; height: 2.25rem; }
  .biz__grid { grid-template-columns: 1fr; }
  .stats__item { padding: 0 1rem; }
  .stats__item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .timeline { grid-template-columns: 1fr; row-gap: 0; padding-top: 0; }
  .timeline li { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid #d5dae2; }
  .timeline li::before { display: none; }
  .timeline time { font-size: 1.25rem; }
  .timeline p { margin: 0; }
  .loc__dl > div { grid-template-columns: 1fr; gap: .25rem; }
  .vform { grid-template-columns: 1fr; }
  .vform__btns { justify-content: stretch; }
  .vform__btns button { flex: 1; }
  .ailo-postlist a { flex-wrap: wrap; gap: .25rem .75rem; }
  .ailo-postlist__subject { flex-basis: 100%; order: 2; white-space: normal; }
  .ailo-postlist__cat { order: 1; }
  .ailo-postlist__date { order: 1; margin-left: auto; }
  .ft__top-in { flex-direction: column; align-items: stretch; }
  .family select { flex: 1; min-width: 0; }
}

/* 큰 글자(125%·150%)에서 데스크톱 줄이 넘치지 않도록 */
html[data-fs="3"] .hd__cta, html[data-fs="4"] .hd__cta, html[data-fs="4"] .logo__txt small, html[data-fs="4"] .util__gov { display: none; }
html[data-fs="3"], html[data-fs="4"] { --ailo-mega-col: 6.5rem; --ailo-mega-col-md: 5.5rem; }
@media (min-width: 992px) and (max-width: 1439.98px) {
  html[data-fs="4"] .gnb { display: none; }
  html[data-fs="4"] .ailo-burger { display: inline-flex; }
  html[data-fs="4"] .hd__right { margin-left: auto; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  html[data-fs="3"] .gnb { display: none; }
  html[data-fs="3"] .ailo-burger { display: inline-flex; }
  html[data-fs="3"] .hd__right { margin-left: auto; }
}
html[data-fs="3"] .quick__grid, html[data-fs="4"] .quick__grid { grid-template-columns: repeat(2, 1fr); }
html[data-fs="4"] .biz__grid, html[data-fs="4"] .stats__list { grid-template-columns: 1fr; }
html[data-fs="4"] .stats__item { border-left: 0; padding-left: 0; }
