/* U01 한빛대학교 — 원형 D(포털형): 유틸 줄 + 메가메뉴 + 슬라이드 히어로 + 겹친 검색·대상별 빠른메뉴 + 정보 밀도
   타이포: Pretendard + Montserrat(영문 eyebrow·숫자만) / 컬러: 스쿨 네이비 #1f3a5f 1색 + 저채도 골드(밑줄·포인트) */
:root {
  --ailo-accent: #1f3a5f;
  --ailo-accent-ink: #fff;
  --ailo-fg: #16191f;
  --ailo-muted: #50565f;
  --ailo-line: #e3e5e9;
  --ailo-bg: #fff;
  --ailo-header-h: 124px;
  --ailo-max: 1320px;
  --u01-gold: #a88a5c;
  --u01-soft: #f4f5f7;
  --u01-en: "Montserrat", var(--ailo-font);
  --ailo-mega-col: 8em;
  --ailo-hero-h: clamp(600px, 84svh, 800px);
  --ailo-hero-dim: linear-gradient(90deg, rgba(13, 24, 40, .62) 0%, rgba(13, 24, 40, .34) 52%, rgba(0, 0, 0, .12) 100%);
  --ailo-overlap: 96px;
  --ailo-eyebrow-color: var(--u01-gold);
  --ailo-eyebrow-size: 14px;
}
main img { height: auto; }
body { font-size: 17px; color: var(--ailo-fg); }
.ailo-eyebrow { font-family: var(--u01-en); letter-spacing: .14em; }
.sec { padding: clamp(80px, 8vw, 128px) 0; }

/* ---------- Header ---------- */
.hd__util { height: 40px; border-bottom: 1px solid rgba(255, 255, 255, .18); font-size: 14px; transition: border-color .3s; }
.hd__util-in { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.hd__aud, .hd__sys { display: flex; gap: 2px; }
.hd__aud a, .hd__sys a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; opacity: .88; }
.hd__aud a:hover, .hd__sys a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.hd__sys a[lang="en"] { font-family: var(--u01-en); font-weight: 600; letter-spacing: .06em; }
.hd.is-scrolled .hd__util, .hd.is-mega-open .hd__util, .hd:has(:focus-visible) .hd__util { border-color: var(--ailo-line); }
.hd__main { height: 84px; }
.hd__main-in { height: 100%; display: flex; align-items: center; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.logo__crest { width: 34px; height: 40px; }
.logo__txt { display: grid; line-height: 1.15; }
.logo__txt b { font-size: 21px; font-weight: 800; letter-spacing: -.03em; }
.logo__txt small { font-family: var(--u01-en); font-size: 10.5px; font-weight: 600; letter-spacing: .16em; opacity: .8; }
.gnb { margin-inline: auto; }
.gnb .ailo-mega__link { font-weight: 700; }
.hd__tools { display: flex; align-items: center; gap: 2px; }
.hd__ico { display: inline-grid; place-items: center; width: 44px; height: 44px; font-size: 18px; }

/* ---------- 모바일 메뉴 ---------- */
.mnav { background: #fff; color: var(--ailo-fg); }
.mnav__in { display: flex; flex-direction: column; padding: calc(68px + 20px) var(--ailo-gutter) 40px; }
.mnav__eyebrow { font-family: var(--u01-en); font-size: 13px; letter-spacing: .16em; color: var(--u01-gold); font-weight: 600; margin-bottom: 12px; }
.mnav__in > a { padding: 15px 0; font-size: 20px; font-weight: 700; border-bottom: 1px solid var(--ailo-line); }
.mnav__in > a.mnav__cta { margin-top: 24px; border: 0; background: var(--ailo-accent); color: #fff; text-align: center; border-radius: 4px; font-size: 17px; }
.mnav__sys { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 24px; font-size: 15px; color: var(--ailo-muted); }

/* ---------- Hero ---------- */
.hero .ailo-hero__title em { font-style: normal; color: #e6d3b0; }
.hero .ailo-hero__btn:not(.ailo-hero__btn--ghost) { background: #fff; color: var(--ailo-accent); }
.hero .ailo-hero__btn:not(.ailo-hero__btn--ghost):hover { background: #e8ebf0; color: var(--ailo-accent); }

/* ---------- 겹침 위젯 ---------- */
.quick { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 3vw, 48px); align-items: start; border-radius: 6px; }
.quick__h { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 16px; }
.qsearch { display: flex; height: 58px; border-bottom: 1px solid var(--ailo-accent); }
.qsearch input { flex: 1; min-width: 0; border: 0; padding: 0 4px; font-size: 17px; background: transparent; }
.qsearch input:focus { outline: none; }
.qsearch:focus-within { border-color: var(--u01-gold); }
.qsearch button { width: 52px; border: 0; background: transparent; color: var(--ailo-accent); font-size: 20px; }
.quick__kw { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 16px; font-size: 15px; color: var(--ailo-muted); }
.quick__kw span { font-weight: 700; color: var(--ailo-fg); }
.quick__kw a:hover { color: var(--ailo-accent); text-decoration: underline; }
.quick__menu .ailo-tabs__tab { min-height: 40px; font-size: 15px; }
.quick__menu .ailo-tabs__panel { padding-top: 16px; }
.qgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.qgrid a { display: grid; justify-items: center; gap: 10px; padding: 14px 4px; border-radius: 6px; font-size: 15px; font-weight: 600; text-align: center; line-height: 1.35; }
.qgrid i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--u01-soft); color: var(--ailo-accent); font-size: 19px; transition: background-color .2s, color .2s; }
.qgrid a:hover i { background: var(--ailo-accent); color: #fff; }

/* ---------- 알림판 + 달력 ---------- */
.board { padding-top: clamp(72px, 7vw, 112px); }
.board__in { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 72px); }
.board .ailo-head { margin-bottom: 24px; }
.ntabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.ntabs button { min-height: 40px; padding: 0 18px; border: 1px solid var(--ailo-line); border-radius: 999px; background: #fff; font-size: 15px; font-weight: 600; color: var(--ailo-muted); }
.ntabs button.is-on { background: var(--ailo-accent); border-color: var(--ailo-accent); color: #fff; }
.nlist .ailo-postlist__cat { min-width: 3.2em; }
.nlist li[hidden] { display: none; }
.board__cal { background: var(--u01-soft); border-radius: 6px; padding: clamp(24px, 2.6vw, 36px); }
.board__calh { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 18px; }
.cal__bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal__month { font-family: var(--u01-en); font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.cal__nav { width: 40px; height: 40px; border: 1px solid var(--ailo-line); border-radius: 50%; background: #fff; color: var(--ailo-accent); }
.cal__nav:disabled { opacity: .35; cursor: default; }
.cal__week, .cal__days { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; }
.cal__week span { font-size: 14px; font-weight: 700; color: var(--ailo-muted); padding: 6px 0; }
.cal__d { display: grid; place-items: center; height: 36px; font-size: 14px; font-variant-numeric: tabular-nums; position: relative; }
.cal__d.is-sun { color: #a33a3a; }
.cal__d.has-ev::after { content: ""; position: absolute; bottom: 3px; width: 5px; height: 5px; border-radius: 50%; background: var(--u01-gold); }
.cal__d.is-today { color: #fff; font-weight: 700; }
.cal__d.is-today::before { content: ""; position: absolute; width: 32px; height: 32px; border-radius: 50%; background: var(--ailo-accent); z-index: -1; }
.cal__days { isolation: isolate; }
.cal__events { margin-top: 16px; border-top: 1px solid var(--ailo-line); }
.cal__events li { display: grid; grid-template-columns: 7.6em 1fr; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--ailo-line); font-size: 15px; }
.cal__range { font-family: var(--u01-en); font-weight: 600; color: var(--ailo-accent); font-size: 14px; font-variant-numeric: tabular-nums; }

/* ---------- 대학 소개 ---------- */
.about { background: var(--u01-soft); }
.about__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.about__fig { position: relative; margin: 0; }
.about__fig img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; border-radius: 4px; }
.about__fig figcaption { position: absolute; left: 0; bottom: 0; padding: 14px 20px; background: var(--ailo-accent); color: #fff; font-size: 14px; }
.about__fig figcaption span { font-family: var(--u01-en); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-right: 8px; color: #e6d3b0; }
.about__quote { margin: 28px 0 0; padding-left: 22px; border-left: 1px solid var(--u01-gold); }
.about__quote p { font-size: 18px; line-height: 1.8; color: #333; }
.about__quote footer { margin-top: 12px; font-size: 15px; font-weight: 700; color: var(--ailo-accent); }
.about__vals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 36px 0 28px; }
.about__vals li { background: #fff; padding: 22px 20px; border-radius: 4px; }
.about__vals b { display: block; font-size: 20px; font-weight: 800; color: var(--ailo-accent); margin-bottom: 8px; }
.about__vals span { font-size: 15px; line-height: 1.6; color: var(--ailo-muted); }

/* ---------- 숫자 띠 ---------- */
.nums { background: var(--ailo-accent); color: #fff; padding: clamp(56px, 5vw, 80px) 0; }
.nums__list { display: grid; grid-template-columns: repeat(5, 1fr); }
.nums__list li { padding: 0 20px; border-left: 1px solid rgba(255, 255, 255, .18); }
.nums__list li:first-child { border-left: 0; padding-left: 0; }
.nums__v { font-family: var(--u01-en); font-size: clamp(32px, 2.6vw + 8px, 48px); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.01em; line-height: 1.1; }
.nums__k { margin-top: 10px; font-size: 15px; color: rgba(255, 255, 255, .78); }

/* ---------- 교육과 연구 ---------- */
.edu__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.edu .ailo-pcard { --ailo-pcard-ratio: 4 / 5; --ailo-pcard-radius: 4px; }
.edu__no { display: block; font-family: var(--u01-en); font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #e6d3b0; margin-bottom: 10px; }
.edu .ailo-pcard__desc { line-height: 1.6; }

/* ---------- 단과대학 ---------- */
.colleges { background: var(--u01-soft); }
.colleges__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.colleges__head .ailo-more { margin-top: 28px; }
.colleges__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--ailo-line); border: 1px solid var(--ailo-line); }
.colleges__list a { display: grid; gap: 6px; height: 100%; padding: 26px 22px; background: #fff; transition: background-color .2s, color .2s; }
.colleges__no { font-family: var(--u01-en); font-size: 14px; font-weight: 700; color: var(--u01-gold); }
.colleges__list b { font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.colleges__list a span:last-child { font-size: 15px; color: var(--ailo-muted); }
.colleges__list a:hover { background: var(--ailo-accent); color: #fff; }
.colleges__list a:hover span:last-child { color: rgba(255, 255, 255, .8); }

/* ---------- 한빛 소식 ---------- */
.life__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.story { display: grid; align-content: start; gap: 8px; }
.story__img { display: block; overflow: hidden; border-radius: 4px; margin-bottom: 10px; }
.story__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ailo-ease); }
.story--lg .story__img img { aspect-ratio: 3 / 2.25; }
.story:hover .story__img img { transform: scale(1.05); }
.story__cat { font-size: 14px; font-weight: 700; color: var(--ailo-accent); }
.story__t { font-size: 20px; font-weight: 700; line-height: 1.45; letter-spacing: -.02em; }
.story--lg .story__t { font-size: 24px; }
.story:hover .story__t { text-decoration: underline; text-underline-offset: 4px; }
.story time { font-size: 14px; color: var(--ailo-muted); font-variant-numeric: tabular-nums; }

/* ---------- 협력 기관 ---------- */
.partners { border-top: 1px solid var(--ailo-line); border-bottom: 1px solid var(--ailo-line); padding: 28px 0; }
.partners__in { display: flex; align-items: center; gap: 32px; }
.partners__label { flex: none; font-family: var(--u01-en); font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ailo-muted); }
.partners__mq { flex: 1; min-width: 0; }

/* ---------- 방문·입학 상담 ---------- */
.visit { position: relative; isolation: isolate; color: #fff; background: #14243a; padding: clamp(80px, 8vw, 128px) 0; overflow: hidden; }
.visit__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.visit::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 26, 44, .88) 0%, rgba(14, 26, 44, .7) 60%, rgba(14, 26, 44, .55)); }
.visit__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.visit__title { font-size: clamp(30px, 2vw + 18px, 48px); font-weight: 800; line-height: 1.25; letter-spacing: -.03em; margin-bottom: 20px; }
.visit__info > p:not(.ailo-eyebrow) { font-size: 17px; line-height: 1.75; color: rgba(255, 255, 255, .84); }
.visit__dl { margin: 32px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.visit__dl div { padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .2); }
.visit__dl dt { font-size: 14px; color: rgba(255, 255, 255, .66); font-weight: 600; }
.visit__dl dd { margin: 4px 0 0; font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }
.vform { background: #fff; color: var(--ailo-fg); border-radius: 6px; padding: clamp(24px, 3vw, 40px); display: grid; gap: 16px; }
.vform__type { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.vform__type legend { float: none; width: 100%; font-size: 15px; font-weight: 700; margin-bottom: 8px; padding: 0; }
.vform__type label { position: relative; }
.vform__type input { position: absolute; opacity: 0; }
.vform__type label { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1px solid var(--ailo-line); border-radius: 999px; font-size: 15px; font-weight: 600; cursor: pointer; }
.vform__type label:has(input:checked) { background: var(--ailo-accent); border-color: var(--ailo-accent); color: #fff; }
.vform__type label:has(input:focus-visible) { outline: 2px solid var(--ailo-accent); outline-offset: 2px; }
.vform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vform__f { display: grid; gap: 6px; }
.vform__f span { font-size: 14px; font-weight: 700; color: #333; }
.vform__f input, .vform__f textarea { width: 100%; border: 1px solid #cfd3da; border-radius: 4px; padding: 12px 14px; font-size: 16px; background: #fff; }
.vform__f input:focus, .vform__f textarea:focus { outline: none; border-color: var(--ailo-accent); box-shadow: 0 0 0 3px rgba(31, 58, 95, .14); }
.vform__agree { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--ailo-muted); line-height: 1.5; }
.vform__agree input { margin-top: 3px; accent-color: var(--ailo-accent); }
.vform__submit { width: 100%; }

/* ---------- Footer ---------- */
.ft { background: #15181d; color: #b6bbc4; padding: 56px 0 40px; font-size: 14px; }
.ft__top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, .12); margin-bottom: 24px; }
.logo--light { color: #fff; }
.ft__links { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; }
.ft__links a:hover { color: #fff; }
.ft__links strong { color: #fff; font-weight: 700; }
.ft__info { line-height: 1.85; }
.ft__copy { margin-top: 14px; font-size: 13px; color: #8a909a; }

/* ---------- 반응형 ---------- */
@media (max-width: 1199.98px) {
  .qgrid { grid-template-columns: repeat(3, 1fr); }
  .nums__list { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .nums__list li:nth-child(4) { border-left: 0; padding-left: 0; }
}
@media (max-width: 991.98px) {
  :root { --ailo-header-h: 68px; --ailo-overlap: 56px; }
  .hd__util, .hd__ico, .hd__tools .ailo-sitemap-btn { display: none; }
  .hd__main { height: 68px; }
  .hd__main-in { justify-content: space-between; }
  .quick { grid-template-columns: 1fr; }
  .board__in, .about__in, .colleges__in, .visit__in { grid-template-columns: 1fr; }
  .about__fig img { aspect-ratio: 16 / 10; }
  .colleges__list { grid-template-columns: repeat(2, 1fr); }
  .life__grid { grid-template-columns: 1fr 1fr; }
  .story--lg { grid-column: 1 / -1; }
  .edu__grid { grid-template-columns: 1fr 1fr; }
  .edu__grid > :first-child { grid-column: 1 / -1; --ailo-pcard-ratio: 16 / 9; }
}
@media (max-width: 767.98px) {
  .partners__in { flex-direction: column; align-items: flex-start; gap: 12px; }
  .partners__mq { width: 100%; }
}
@media (max-width: 575.98px) {
  body { font-size: 16px; }
  .sec { padding: 68px 0; }
  .qgrid { grid-template-columns: repeat(3, 1fr); gap: 2px; }
  .qgrid a { font-size: 14px; padding: 10px 2px; }
  .qgrid i { width: 44px; height: 44px; font-size: 17px; }
  .quick__h { font-size: 19px; }
  .nums__list { grid-template-columns: 1fr 1fr; }
  .nums__list li, .nums__list li:nth-child(4) { border-left: 0; padding-left: 0; }
  .nums__list li:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, .18); padding-left: 18px; }
  .about__vals { grid-template-columns: 1fr; }
  .colleges__list { grid-template-columns: 1fr; }
  .life__grid, .edu__grid { grid-template-columns: 1fr; }
  .edu__grid > :first-child { --ailo-pcard-ratio: 4 / 5; }
  .visit__dl, .vform__row { grid-template-columns: 1fr; }
  .ailo-postlist a { flex-wrap: wrap; gap: 4px 12px; }
  .nlist .ailo-postlist__subject { flex-basis: 100%; order: 3; white-space: normal; }
  .story__t, .story--lg .story__t { font-size: 19px; }
}
