/* ==========================================================================
   AILO Public P02 — 한국스마트산업협회
   원형: D 포털형(협회) — 회원 유틸 줄 + 투명→흰 메가메뉴, 슬라이드 + 겹친 3단 위젯(회원사 검색·알림·바로가기),
         숫자 띠 · 사업 왼쪽 탭 · 회원사 디렉터리 · 행사 캘린더 · 어두운 사진 입회 띠
   타이포: Pretendard + Inter Tight(영문 eyebrow·숫자)
   컬러: 페트롤 #1b5e74 1색 + 무채색, 어두운 면 #0f2430
   ========================================================================== */

:root {
  --ailo-bg: #ffffff;
  --ailo-fg: #141a21;
  --ailo-muted: #4e5866;
  --ailo-line: #e1e5ea;
  --ailo-accent: #1b5e74;
  --ailo-accent-ink: #ffffff;
  --ailo-header-h: 116px;

  --p02-dark: #0f2430;
  --p02-soft: #f4f6f8;
  --p02-tint: #e8f0f2;
  --p02-num: "Inter Tight", "Pretendard Variable", Pretendard, sans-serif;
  --p02-sec: clamp(80px, 8vw, 128px);
  --p02-ev-seminar: #1b5e74;
  --p02-ev-edu: #5d7f63;
  --p02-ev-expo: #a8773d;
  --p02-ev-meet: #6d7380;

  --ailo-hero-h: clamp(600px, 84svh, 820px);
  --ailo-hero-dim: linear-gradient(90deg, rgba(8, 20, 28, .72) 0%, rgba(8, 20, 28, .42) 60%, rgba(8, 20, 28, .25) 100%);
  --ailo-overlap: 96px;
  --ailo-overlap-radius: 4px;
  --ailo-hero-btn-radius: 2px;
  --ailo-mega-col: 8em;
}

body { font-size: 17px; line-height: 1.7; }
.sec { padding-block: var(--p02-sec); }
.ailo-eyebrow { font-family: var(--p02-num); letter-spacing: .14em; }

/* ===== 헤더 ===== */
.hd__top { height: 36px; border-bottom: 1px solid rgba(255, 255, 255, .16); font-size: 14px; transition: background-color .3s, border-color .3s; }
.hd__top-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hd__org { opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hd__member { display: flex; gap: 2px; }
.hd__member a { padding: 6px 10px; font-weight: 600; opacity: .9; }
.hd__member a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.hd__member a + a { border-left: 1px solid color-mix(in srgb, currentColor 30%, transparent); }
.hd.is-scrolled .hd__top, .hd.is-mega-open .hd__top, .hd:has(:focus-visible) .hd__top, html.nav-open .hd .hd__top { background: var(--p02-dark); color: #fff; border-color: transparent; }
.hd__in { height: 80px; display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo__txt { display: grid; font-size: 20px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.logo__txt small { font-family: var(--p02-num); font-size: 9.5px; font-weight: 700; letter-spacing: .1em; opacity: .75; }
.hd.is-scrolled .logo__mark, .hd.is-mega-open .logo__mark { color: var(--ailo-accent); }
.gnb { flex: 1; display: flex; justify-content: center; }
@media (max-width: 991.98px) { .gnb.ailo-mega { display: none; } }
.gnb .ailo-mega__link { font-weight: 700; }
.hd__right { display: flex; align-items: center; gap: 8px; flex: none; }
.hd__cta { display: inline-flex; align-items: center; height: 42px; padding: 0 18px; background: var(--ailo-accent); color: #fff; font-size: 15px; font-weight: 700; white-space: nowrap; }
.hd__cta:hover { color: #fff; background: color-mix(in srgb, var(--ailo-accent) 82%, #000); }

/* 모바일 메뉴 */
.mnav { background: var(--p02-dark); color: #fff; }
.mnav__in { display: flex; flex-direction: column; padding: calc(var(--ailo-header-h) + 16px) var(--ailo-gutter) 40px; }
.mnav__label { font-family: var(--p02-num); font-size: 14px; letter-spacing: .2em; opacity: .6; margin-bottom: 8px; }
.mnav__in > a { display: flex; align-items: baseline; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: 21px; font-weight: 700; }
.mnav__in > a span { font-family: var(--p02-num); font-size: 14px; opacity: .55; }
.mnav__in > a.mnav__cta { justify-content: space-between; margin-top: 24px; padding: 16px 20px; border: 0; background: var(--ailo-accent); font-size: 17px; }

/* ===== 히어로 ===== */
.hero .ailo-hero__body { padding-top: calc(var(--ailo-header-h) + 40px); }
.hero .ailo-hero__title { font-size: clamp(32px, 3.6vw + 12px, 72px); }

/* 겹침 위젯 */
.portal__card { display: grid; grid-template-columns: 1.15fr 1.2fr 1fr; gap: 0; padding: 0; overflow: visible; }
.portal__card > * { padding: 30px 32px; min-width: 0; }
.portal__card > * + * { border-left: 1px solid var(--ailo-line); }
.portal__h { font-size: 18px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; }
.finder { position: relative; }
.finder__row { display: flex; height: 52px; border: 1px solid #a3acb8; }
.finder__row:focus-within { border-color: var(--ailo-accent); }
.finder__row select { flex: none; width: 128px; border: 0; border-right: 1px solid var(--ailo-line); padding: 0 10px; font-size: 15px; background: var(--p02-soft); color: var(--ailo-fg); }
.finder__row input { flex: 1; min-width: 0; border: 0; padding: 0 14px; font-size: 16px; }
.finder__row button { flex: none; width: 52px; border: 0; background: var(--ailo-accent); color: #fff; font-size: 17px; }
.finder__help { margin-top: 10px; font-size: 14px; color: var(--ailo-muted); }
.finder__result { position: absolute; left: 32px; right: 32px; top: calc(100% - 24px); z-index: 4; background: #fff; box-shadow: 0 16px 32px -12px rgba(0, 0, 0, .25); }
.finder__result:empty { display: none; }
.finder__result li { display: grid; padding: 10px 14px; border-top: 1px solid var(--ailo-line); font-size: 14px; }
.finder__result b { font-size: 15px; }
.finder__result span, .finder__result .is-more, .finder__result .is-none { color: var(--ailo-muted); }
.portal__head { display: flex; justify-content: space-between; align-items: baseline; }
.portal__all { font-size: 14px; font-weight: 600; color: var(--ailo-muted); }
.portal__all:hover { color: var(--ailo-accent); }
.ticker li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--ailo-line); }
.ticker li:first-child { border-top: 0; padding-top: 0; }
.ticker a { flex: 1; min-width: 0; font-size: 15.5px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticker a:hover { text-decoration: underline; text-underline-offset: 3px; }
.chip { flex: none; display: inline-block; padding: 2px 8px; background: var(--p02-soft); color: var(--ailo-muted); font-size: 14px; font-weight: 700; }
.chip--key { background: var(--ailo-accent); color: #fff; }
.quicks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; align-content: center; background: var(--p02-soft); }
.quicks a { display: grid; justify-items: center; gap: 8px; padding: 12px 4px; font-size: 14.5px; font-weight: 600; text-align: center; }
.quicks i { font-size: 22px; color: var(--ailo-accent); }
.quicks a:hover { background: #fff; }

/* ===== 숫자 띠 ===== */
.kpi-sec { padding-top: clamp(56px, 6vw, 88px); }
.kpi { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; border-top: 1px solid var(--ailo-fg); border-bottom: 1px solid var(--ailo-line); }
.kpi > div { padding: 28px 24px; }
.kpi > div + div { border-left: 1px solid var(--ailo-line); }
.kpi dt { font-size: 15px; font-weight: 600; color: var(--ailo-muted); }
.kpi dd { margin: 6px 0 0; display: flex; align-items: baseline; gap: 4px; }
.kpi dd span { font-family: var(--p02-num); font-size: clamp(34px, 2.6vw + 14px, 52px); font-weight: 800; letter-spacing: -.03em; color: var(--ailo-accent); font-variant-numeric: tabular-nums; line-height: 1.1; }
.kpi dd small { font-size: 16px; font-weight: 700; }

/* ===== 협회소개 ===== */
.about__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about__img { margin: 0; position: relative; }
.about__img img { width: 100%; height: auto; aspect-ratio: 4 / 4.4; object-fit: cover; }
.about__img figcaption { position: absolute; left: 0; bottom: 0; padding: 12px 18px; background: var(--p02-dark); color: #fff; font-size: 14px; font-weight: 600; }
.about__vals { margin-top: 32px; border-top: 1px solid var(--ailo-line); }
.about__vals li { display: grid; grid-template-columns: 88px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--ailo-line); }
.about__vals b { font-size: 18px; font-weight: 800; color: var(--ailo-accent); }
.about__vals span { font-size: 16.5px; color: #3f4753; }
.about__sign { margin-top: 28px; font-size: 16px; color: var(--ailo-muted); }
.about__sign b { margin-left: 6px; font-size: 19px; color: var(--ailo-fg); }

/* ===== 주요 사업 탭 ===== */
.biz { background: var(--p02-soft); }
.biz__note { max-width: 26em; font-size: 16.5px; color: var(--ailo-muted); }
.biz .ailo-tabs__tab { display: flex; align-items: center; gap: 14px; }
.biz__no { font-family: var(--p02-num); font-size: 14px; font-weight: 700; color: var(--ailo-accent); }
.bizp { display: grid; grid-template-columns: 1.25fr 1fr; background: #fff; }
.bizp img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.bizp__txt { padding: clamp(28px, 3vw, 48px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.bizp__txt h3 { font-size: clamp(22px, 1vw + 16px, 30px); font-weight: 800; letter-spacing: -.02em; }
.bizp__txt p { font-size: 17px; color: #3f4753; }
.bizp__txt .ailo-more { align-self: flex-start; margin-top: 8px; }

/* ===== 회원사 디렉터리 ===== */
.members__count { font-size: 16px; color: var(--ailo-muted); }
.members__count b { font-family: var(--p02-num); font-size: 22px; color: var(--ailo-accent); }
.dir-tools { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.dir-search { position: relative; flex: 0 1 360px; }
.dir-search i { position: absolute; left: 16px; top: 50%; translate: 0 -50%; color: var(--ailo-muted); }
.dir-search input { width: 100%; height: 48px; padding: 0 16px 0 44px; border: 1px solid #a3acb8; font-size: 16px; }
.dir-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.dchip { min-height: 44px; padding: 0 16px; border: 1px solid var(--ailo-line); background: #fff; font-size: 15px; font-weight: 600; color: var(--ailo-muted); }
.dchip:hover { color: var(--ailo-fg); border-color: #a3acb8; }
.dchip.is-on { background: var(--p02-dark); border-color: var(--p02-dark); color: #fff; }
.dir-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mcard { display: flex; align-items: center; gap: 14px; padding: 18px; background: var(--p02-soft); }
.mcard[hidden] { display: none; }
.mcard__logo { flex: none; display: grid; place-items: center; width: 46px; height: 46px; background: #fff; color: var(--ailo-accent); font-size: 19px; font-weight: 800; }
.mcard > div { flex: 1; min-width: 0; }
.mcard h3 { font-size: 16.5px; font-weight: 700; }
.mcard p { font-size: 14px; color: var(--ailo-muted); }
.mcard__tier { flex: none; font-size: 14px; font-weight: 700; color: var(--ailo-accent); }
.dir-empty { padding: 40px 0; text-align: center; color: var(--ailo-muted); font-size: 16px; }

/* ===== 행사 캘린더 ===== */
.events { background: var(--p02-tint); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14.5px; color: var(--ailo-muted); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.legend i, .cal__day i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: var(--ev); }
.ev-seminar { --ev: var(--p02-ev-seminar); }
.ev-edu { --ev: var(--p02-ev-edu); }
.ev-expo { --ev: var(--p02-ev-expo); }
.ev-meet { --ev: var(--p02-ev-meet); }
.cal-wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
.cal { background: #fff; padding: 24px; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cal__head h3 { font-family: var(--p02-num); font-size: 22px; font-weight: 800; }
.cal__head button { width: 44px; height: 44px; border: 1px solid var(--ailo-line); background: #fff; }
.cal__head button:hover { border-color: var(--ailo-accent); color: var(--ailo-accent); }
.cal__week, .cal__row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal__week span { padding: 6px 0; text-align: center; font-size: 14px; font-weight: 700; color: var(--ailo-muted); }
.cal__row { margin-bottom: 4px; }
.cal__day { width: 100%; aspect-ratio: 1 / .78; border: 1px solid transparent; background: var(--p02-soft); display: flex; flex-flow: row wrap; align-content: space-between; gap: 3px; padding: 6px 8px; font-family: var(--p02-num); font-size: 15px; font-weight: 600; color: var(--ailo-fg); }
.cal__day > span { width: 100%; text-align: left; line-height: 1; }
.cal__day.is-sun > span { color: #9a4a3f; }
.cal__day.is-sat > span { color: #3d5f7d; }
.cal__day.has-ev { background: var(--p02-tint); }
.cal__day:hover { border-color: var(--ailo-accent); }
.cal__day.is-sel { background: var(--p02-dark); color: #fff; }
.cal__day.is-sel > span { color: #fff; }
.cal-list { background: #fff; padding: 24px 28px; display: flex; flex-direction: column; }
.cal-list__title { font-size: 19px; font-weight: 800; padding-bottom: 14px; border-bottom: 1px solid var(--ailo-fg); }
.cal-list ul { flex: 1; max-height: 420px; overflow-y: auto; }
.cal-list .is-none { padding: 32px 0; color: var(--ailo-muted); text-align: center; }
.evi { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--ailo-line); }
.evi__date { flex: none; width: 52px; display: grid; justify-items: center; align-content: start; border-left: 1px solid var(--ev); }
.evi__date b { font-family: var(--p02-num); font-size: 24px; line-height: 1.1; }
.evi__date small { font-size: 14px; color: var(--ailo-muted); }
.evi__cat { font-size: 14px; font-weight: 700; color: var(--ev); }
.evi__t { font-size: 16px; font-weight: 700; line-height: 1.45; }
.evi__p { font-size: 14px; color: var(--ailo-muted); }
.cal-list__more { margin-top: 16px; align-self: flex-start; }

/* ===== 회원 구분 ===== */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.tier { position: relative; padding: 36px 32px; background: var(--p02-soft); }
.tier--hot { background: var(--p02-dark); color: #fff; }
.tier__flag { position: absolute; top: 0; right: 24px; padding: 6px 12px; background: var(--ailo-accent); color: #fff; font-size: 14px; font-weight: 700; }
.tier__name { font-size: 24px; font-weight: 800; }
.tier__who { margin-top: 4px; font-size: 15.5px; color: var(--ailo-muted); }
.tier--hot .tier__who { color: rgba(255, 255, 255, .75); }
.tier__fee { margin: 24px 0; padding-bottom: 24px; border-bottom: 1px solid var(--ailo-line); font-size: 16px; }
.tier--hot .tier__fee { border-color: rgba(255, 255, 255, .18); }
.tier__fee b { font-family: var(--p02-num); font-size: 40px; font-weight: 800; letter-spacing: -.02em; }
.tier ul { display: grid; gap: 10px; }
.tier li { position: relative; padding-left: 24px; font-size: 16px; }
.tier li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 1px; font-size: 13px; color: var(--ailo-accent); }
.tier--hot li::before { color: #9fc6d3; }

/* ===== 알림·자료 ===== */
.board { background: var(--p02-soft); }
.board__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.bbox { background: #fff; padding: 28px; }
.bbox__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--ailo-fg); }
.bbox__head h3 { font-size: 20px; font-weight: 800; }
.bbox__head a { display: grid; place-items: center; width: 40px; height: 40px; color: var(--ailo-muted); }
.bbox__head a:hover { color: var(--ailo-accent); }
.blist li { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--ailo-line); }
.blist a { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; font-size: 16px; overflow: hidden; }
.blist a > span:last-child, .blist a:not(:has(span)) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.blist a:hover { text-decoration: underline; text-underline-offset: 3px; }
.blist a i { color: var(--ailo-accent); }
.blist time { flex: none; font-family: var(--p02-num); font-size: 14px; color: var(--ailo-muted); }
.press { display: grid; gap: 12px; padding-top: 18px; }
.press img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: opacity .2s; }
.press:hover img { opacity: .88; }
.press__t { font-size: 17px; font-weight: 700; line-height: 1.5; }
.press time { font-family: var(--p02-num); font-size: 14px; color: var(--ailo-muted); }

/* ===== 조직도 ===== */
.tree { display: flex; flex-direction: column; align-items: center; }
.tree__node { min-width: 160px; padding: 14px 24px; background: var(--p02-soft); text-align: center; font-size: 17px; font-weight: 700; }
.tree__node--top, .tree__node--chair { background: var(--p02-dark); color: #fff; }
.tree__node--ghost { background: #fff; border: 1px dashed #a3acb8; color: var(--ailo-muted); font-weight: 600; }
.tree__line { width: 1px; height: 28px; background: #a3acb8; }
.tree__row { display: flex; gap: 24px; align-items: center; }
.tree__branch { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; width: 100%; padding-top: 28px; border-top: 1px solid #a3acb8; }
.tree__dept { padding: 22px; background: var(--p02-soft); text-align: center; }
.tree__dept h3 { font-size: 17px; font-weight: 800; color: var(--ailo-accent); }
.tree__dept p { margin-top: 6px; font-size: 15px; color: #3f4753; }

/* ===== 유관기관 ===== */
.partners { padding: 32px 0; border-top: 1px solid var(--ailo-line); }

/* ===== 입회 + 오시는 길 ===== */
.join { position: relative; isolation: isolate; color: #fff; background: var(--p02-dark); }
.join__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.join::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(8, 20, 28, .82); }
.join__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.join__eyebrow { color: #9fc6d3; }
.join__lead { margin-top: 14px; font-size: 17px; color: rgba(255, 255, 255, .8); }
.jform { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.jform__f { display: grid; gap: 6px; }
.jform__f--full { grid-column: 1 / -1; }
.jform label { font-size: 15px; font-weight: 600; }
.jform input:not([type=checkbox]), .jform select, .jform textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .06); color: #fff; font-size: 16px; }
.jform select option { color: #111; }
.jform textarea::placeholder { color: rgba(255, 255, 255, .6); }
.jform__agree { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px !important; font-weight: 400 !important; color: rgba(255, 255, 255, .82); }
.jform__agree input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ailo-accent); }
.jform__btn { grid-column: 1 / -1; justify-self: start; min-height: 52px; padding: 0 32px; border: 0; background: #fff; color: var(--p02-dark); font-size: 16px; font-weight: 800; }
.jform__btn:hover { background: #d9e8ec; }
.loc { background: #fff; color: var(--ailo-fg); padding: 28px; }
.loc__title { font-size: 20px; font-weight: 800; margin-bottom: 16px; }
.loc__map svg { width: 100%; height: auto; aspect-ratio: 400 / 260; }
.loc__dl { margin: 16px 0 0; }
.loc__dl > div { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--ailo-line); font-size: 15.5px; }
.loc__dl dt { font-weight: 700; color: var(--ailo-accent); }
.loc__dl dd { margin: 0; color: #3f4753; }

/* ===== 푸터 ===== */
.ft { background: #121519; color: rgba(255, 255, 255, .7); font-size: 15px; padding: 48px 0 32px; }
.ft__in { display: flex; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.ft__name { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.ft__brand p:not(.ft__name) { line-height: 1.85; }
.ft__links { display: flex; flex-wrap: wrap; gap: 6px 22px; align-content: flex-start; }
.ft__links a { color: rgba(255, 255, 255, .8); }
.ft__links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ft__links b { color: #fff; }
.ft__copy { padding-top: 20px; font-size: 13px; color: rgba(255, 255, 255, .55); }

/* ===== 반응형 ===== */
@media (max-width: 1279.98px) {
  .portal__card { grid-template-columns: 1fr 1fr; }
  .quicks { grid-column: 1 / -1; grid-template-columns: repeat(6, 1fr); border-left: 0 !important; border-top: 1px solid var(--ailo-line); }
  .dir-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1279.98px) { .hd__cta { display: none; } }
@media (max-width: 1199.98px) {
  .logo__txt small { display: none; }
  .board__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bbox--press { grid-column: 1 / -1; }
  .press { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; column-gap: 24px; }
  .press img { grid-row: span 2; }
}
@media (max-width: 991.98px) {
  :root { --ailo-header-h: 64px; --ailo-overlap: 48px; }
  .hd__top, .ailo-sitemap-btn { display: none; }
  .hd__in { height: 64px; }
  .hd__right { margin-left: auto; }
  .portal__card { grid-template-columns: minmax(0, 1fr); }
  .portal__card > * + * { border-left: 0; border-top: 1px solid var(--ailo-line); }
  .quicks { grid-template-columns: repeat(3, 1fr); }
  .kpi { grid-template-columns: repeat(3, 1fr); }
  .kpi > div:nth-child(4) { border-left: 0; }
  .kpi > div:nth-child(n+4) { border-top: 1px solid var(--ailo-line); }
  .about__grid, .cal-wrap, .join__grid { grid-template-columns: 1fr; }
  .about__img img { aspect-ratio: 16 / 10; }
  .bizp { grid-template-columns: 1fr; }
  .bizp img { min-height: 0; aspect-ratio: 16 / 9; }
  .dir-grid { grid-template-columns: repeat(2, 1fr); }
  .tier-grid { grid-template-columns: 1fr; }
  .board__grid { grid-template-columns: minmax(0, 1fr); }
  .press { grid-template-columns: minmax(0, 1fr); }
  .press img { grid-row: auto; }
  .tree__branch { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
  .logo__txt { font-size: 17px; }
  .portal__card > * { padding: 22px 20px; }
  .finder__row select { width: 100px; font-size: 14px; }
  .finder__result { left: 20px; right: 20px; }
  .kpi { grid-template-columns: repeat(2, 1fr); }
  .kpi > div { padding: 20px 16px; }
  .kpi > div:nth-child(n) { border-left: 0; border-top: 1px solid var(--ailo-line); }
  .kpi > div:nth-child(1), .kpi > div:nth-child(2) { border-top: 0; }
  .kpi > div:nth-child(even) { border-left: 1px solid var(--ailo-line); }
  .dir-search { flex-basis: 100%; }
  .dir-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .dchip { flex: none; }
  .dir-grid { grid-template-columns: 1fr; }
  .cal { padding: 16px 12px; }
  .cal__day { padding: 4px; font-size: 13px; }
  .about__vals li { grid-template-columns: 64px 1fr; }
  .tree__row { gap: 10px; }
  .tree__node { min-width: 0; padding: 12px 16px; font-size: 15px; }
  .tree__branch { grid-template-columns: 1fr; }
  .jform { grid-template-columns: 1fr; }
  .loc { padding: 20px; }
}
