/* Hallmark · macrostructure: Index (hub) · list · Long Document lite (answer) · tone: editorial, utilitarian · anchor hue: navy ~267°
 * theme: studied-DNA (source: url, www.peapacademy.org basic.css · layout.css, 2026-10-28 1회 수집) → ieea.or.kr 색 · 로고로 교체(2026-10-30)
 * paper: oklch(100% 0 0) · ink: oklch(25% 0 0) · accent: navy oklch(35.3% 0.052 267) + blue oklch(63.2% 0.19 255) (CTA 만)
 * display/body: Pretendard (사이트와 같음) · nav: 간단 머리말(사이트 머리말로 바꿀 수 있음, config include_header) · footer: Ft1 최소
 * enrichment: none (typography only) · motion: none · mobile-first (320 · 375 · 414 · 768 확인)
 * pre-emit critique: P4 H4 E4 S4 R5 V3
 */
.aeo {
  --c-paper: oklch(100% 0 0);
  --c-paper-2: oklch(97.5% 0.003 264);
  --c-ink: oklch(25% 0 0);
  --c-ink-2: oklch(36% 0 0);
  --c-muted: oklch(52% 0 0);
  --c-rule: oklch(89.7% 0 0);
  --c-rule-2: oklch(93.5% 0 0);
  --c-navy: #08172b;  /* ieea.or.kr 주 브랜드색(v2/assets/css/style.css #footer .footer-top, 2026-10-30) */
  --c-blue: #0b96ce;  /* ieea.or.kr 포인트색(.page_tit, CTA 전용) */
  --c-on-dark: oklch(100% 0 0);
  --font-sans: "Pretendard", "Pretendard Variable", "맑은 고딕", "Malgun Gothic", sans-serif;
  --space-xs: 0.25rem; --space-sm: 0.5rem; --space-md: 1rem; --space-lg: 1.5rem; --space-xl: 2.5rem; --space-2xl: 4rem;
  --radius: 4px;
  margin: 0; background: var(--c-paper); color: var(--c-ink);
  font-family: var(--font-sans); font-size: 16px; line-height: 1.7; word-break: keep-all; overflow-wrap: break-word;
}
html, .aeo { overflow-x: clip; }
.aeo *, .aeo *::before, .aeo *::after { box-sizing: border-box; }
.aeo :is(h1, h2, h3, p, ul, ol, dl, dd) { margin: 0; }
.aeo :is(ul, ol) { padding: 0; list-style: none; }
.aeo a { color: inherit; }
.aeo a:focus-visible, .aeo button:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 2px; }
.aeo-wrap { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: 1rem; }
.aeo-main { padding-block: var(--space-xl) var(--space-2xl); }
.aeo-muted { color: var(--c-muted); font-size: 0.875rem; }

/* 머리말 */
.aeo-top { position: sticky; top: 0; z-index: 400; border-bottom: 1px solid var(--c-rule); background: var(--c-paper); }
.aeo-top__bar { display: flex; flex-wrap: wrap; align-items: center; align-content: center; gap: var(--space-sm) var(--space-lg); min-height: 64px; padding-block: var(--space-md); }
.aeo-brand { display: inline-flex; align-items: center; width: 100%; gap: 0.6rem; font-weight: 800; font-size: 1.2rem; line-height: 1.2; letter-spacing: -0.03em; color: var(--c-navy) !important; text-decoration: none; white-space: nowrap; }
.aeo-brand__icon { display: block; width: auto; height: 36px; flex: none; } /* ieea main_logo_scroll.png(흰 배경용 가로 로고, 224x50) */
/* 메뉴 4개(2026-11-12 핵심 질문 추가): 좁은 화면에서 두 줄로 꺾이지 않고 옆으로 민다(원본 패키지 방식) */
.aeo-nav { display: flex; flex-wrap: nowrap; align-items: center; gap: var(--space-sm) 0; width: 100%; overflow-x: auto; scrollbar-width: none; padding-bottom: 0.4rem; }
.aeo-nav::-webkit-scrollbar { display: none; }
.aeo-nav a { display: inline-flex; align-items: center; padding-block: 0.3rem; padding-inline: 0.75rem; line-height: 1.2; font-size: 1.0625rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.aeo-nav a:first-child { padding-left: 24px; }
@media (max-width: 48rem) { .aeo-nav a { padding-inline: 0.6rem; font-size: 1rem; } .aeo-nav a:first-child { padding-left: 0; } }
.aeo-nav a:not(:first-child) { border-left: 1px solid var(--c-rule); }
.aeo-nav a[aria-current="page"] { color: var(--c-navy); font-weight: 800; text-decoration: underline; text-decoration-color: var(--c-navy); text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* 1:1 상담신청 플로팅 버튼 */
.aeo-consult-float { position: fixed; right: 30px; bottom: 92px; z-index: 490; display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%; background: var(--c-navy); box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2); transition: bottom 0.25s ease; }
.aeo-consult-float--top { bottom: 30px; }
.aeo-consult-float svg { display: block; width: 24px; height: 24px; }
.aeo-consult-float:hover { filter: brightness(1.08); }
/* 버튼 위 말풍선 툴팁 */
.aeo-consult-tooltip { display: none; position: fixed; right: 18px; bottom: 149px; z-index: 489; width: auto; max-width: 220px; background: var(--c-paper); border-radius: 14px; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); padding: 14px 30px 14px 16px; white-space: nowrap; transition: bottom 0.25s ease; }
.aeo-consult-tooltip::after { content: ""; position: absolute; right: 35px; bottom: -7px; width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-top: 8px solid var(--c-paper); }
.aeo-consult-tooltip--top { bottom: 87px; }
.aeo-consult-tooltip__close { position: absolute; top: 6px; right: 8px; width: 18px; height: 18px; border: 0; background: none; color: var(--c-ink-2); font-size: 16px; line-height: 1; cursor: pointer; padding: 0; }
.aeo-consult-tooltip__link { display: block; color: var(--c-ink); font-size: 13px; line-height: 1.5; text-decoration: none !important; }
.aeo-consult-tooltip__link strong { font-weight: 800; color: var(--c-navy); }
@media (max-width: 48rem) {
  .aeo-consult-float { right: 10px; bottom: 122px; width: 40px; height: 40px; }
  .aeo-consult-float--top { bottom: 70px; }
  .aeo-consult-float svg { width: 20px; height: 20px; }
  .aeo-consult-tooltip { right: 8px; bottom: 169px; max-width: 200px; padding: 12px 30px 12px 14px; }
  .aeo-consult-tooltip--top { bottom: 117px; }
  .aeo-consult-tooltip::after { right: 20px; }
  .aeo-consult-tooltip__link { font-size: 12px; }
}

/* 버튼 */
.aeo-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 1.1rem; border: 1px solid transparent; border-radius: var(--radius); font-size: 0.9375rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.aeo-btn--ink { background: var(--c-navy); color: var(--c-on-dark) !important; }
.aeo-btn--blue { background: var(--c-blue); color: var(--c-on-dark) !important; }
.aeo-btn--line { border-color: var(--c-rule); color: var(--c-ink); }
.aeo-btn:hover { filter: brightness(1.08); }
.aeo-btn--line:hover { border-color: var(--c-ink); filter: none; }

/* 제목 · 칩 */
.aeo-title { margin-bottom: var(--space-lg); }
.aeo-title h1 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.35; color: var(--c-navy); overflow-wrap: anywhere; min-width: 0; }
.aeo-title p { margin-top: var(--space-sm); color: var(--c-muted); font-size: 0.9375rem; }
.aeo-back { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.875rem; text-decoration: none; color: var(--c-muted); }
.aeo-chips { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-bottom: var(--space-xl); }
.aeo-chips a { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 40px; padding-inline: 0.85rem; border: 1px solid var(--c-rule); border-radius: 999px; font-size: 0.875rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.aeo-chips a span { font-size: 0.75rem; color: var(--c-muted); font-variant-numeric: tabular-nums; }
.aeo-chips a:hover { border-color: var(--c-navy); }
.aeo-chips a[aria-current="page"] { background: var(--c-navy); border-color: var(--c-navy); color: var(--c-on-dark); }

/* 허브 */
.aeo-topics { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 2px solid var(--c-navy); }
.aeo-topic { display: grid; align-content: start; gap: var(--space-sm); padding-block: var(--space-lg); border-bottom: 1px solid var(--c-rule); min-width: 0; }
.aeo-topic h2 { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.03em; }
/* 카드 항목 높이 일정하게 유지 */
.aeo-topic h2 a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-decoration: none; }
.aeo-topic ul { display: grid; gap: var(--space-sm); margin-top: var(--space-xs); min-width: 0; }
.aeo-topic li { min-width: 0; }
.aeo-topic li a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.9375rem; line-height: 1.6; color: var(--c-ink-2); text-decoration: none; }
.aeo-topic :is(h2, li) a:hover, .aeo-more:hover { text-decoration: underline; }
.aeo-more { display: inline-flex; align-items: center; gap: 0.3rem; min-height: 44px; font-size: 0.875rem; font-weight: 700; color: var(--c-navy) !important; text-decoration: none; white-space: nowrap; }
.aeo-note { margin-top: var(--space-xl); font-size: 0.875rem; color: var(--c-muted); }

/* 주제 목록 */
.aeo-list { border-top: 2px solid var(--c-navy); }
.aeo-list > li { padding-block: 1.2rem; border-bottom: 1px solid var(--c-rule-2); max-width: 52rem; }
.aeo-list :is(h2, h3) { font-size: 1rem; font-weight: 700; line-height: 1.6; letter-spacing: -0.02em; }
.aeo-list :is(h2, h3) a { text-decoration: none; }
.aeo-list :is(h2, h3) a:hover { text-decoration: underline; color: var(--c-navy); }
.aeo-list p { margin-top: 0.35rem; font-size: 0.9375rem; color: var(--c-ink-2); }

/* 개별 답변 · 용어 */
.aeo-article { max-width: 50rem; }
.aeo-article__head { padding-block: var(--space-md) var(--space-lg); border-bottom: 1px solid var(--c-rule); }
.aeo-article__head p { font-size: 0.875rem; color: var(--c-muted); margin-bottom: var(--space-sm); }
.aeo-article__head p a { text-decoration: none; }
.aeo-article__head h1 { font-size: clamp(1.45rem, 1.1rem + 1.5vw, 2rem); font-weight: 800; line-height: 1.45; letter-spacing: -0.035em; overflow-wrap: anywhere; min-width: 0; }
.aeo-answer { padding-block: var(--space-lg); }
.aeo-answer h2 { font-size: 1.05rem; font-weight: 800; color: var(--c-navy); margin-bottom: var(--space-sm); }
.aeo-answer p { font-size: 1rem; line-height: 1.95; color: var(--c-ink-2); }
.aeo-answer p + p { margin-top: var(--space-md); }
.aeo-lead { font-size: 1.05rem !important; font-weight: 600; color: var(--c-ink) !important; margin-bottom: var(--space-lg); }
.aeo-answer p + h2 { margin-top: var(--space-lg); }
.aeo-checks { display: grid; gap: var(--space-sm); margin-top: var(--space-xs); }
.aeo-checks li { position: relative; padding-left: 1.4rem; font-size: 0.9375rem; color: var(--c-ink-2); }
.aeo-checks li::before { content: ""; position: absolute; left: 0.2rem; top: 0.55em; width: 0.55rem; height: 0.55rem; border: 2px solid var(--c-navy); border-radius: 2px; }
.aeo-ref { margin-top: var(--space-lg) !important; font-size: 0.875rem !important; color: var(--c-muted) !important; }
.aeo-ref a { margin-left: var(--space-xs); color: var(--c-navy); font-weight: 600; }
.aeo-by { display: block; margin-top: var(--space-lg); font-size: 0.8125rem; color: var(--c-muted); }
.aeo-en { padding-block: var(--space-lg); border-top: 1px solid var(--c-rule-2); color: var(--c-muted); }
.aeo-en h2 { font-size: 0.9375rem; font-weight: 600; line-height: 1.6; }
.aeo-en p { margin-top: var(--space-sm); font-size: 0.875rem; line-height: 1.8; }
.aeo-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-sm); padding-block: var(--space-lg); border-top: 1px solid var(--c-rule); max-width: 50rem; }
.aeo-related { margin-top: var(--space-lg); max-width: 50rem; }
.aeo-related h2 { font-size: 1.1rem; font-weight: 800; margin-bottom: var(--space-sm); }
.aeo-related a { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); padding-block: 0.9rem; border-bottom: 1px solid var(--c-rule); font-size: 0.9375rem; text-decoration: none; }
.aeo-related a:hover { color: var(--c-navy); text-decoration: underline; }

/* 핵심 질문 (2026-11-12) */
.aeo-core-hub { margin-bottom: var(--space-xl); scroll-margin-top: var(--space-md); }
.aeo-core-hub > h2 { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.03em; color: var(--c-navy); margin-bottom: var(--space-sm); }
.aeo-section { padding-block: var(--space-lg); border-top: 1px solid var(--c-rule-2); }
.aeo-section h2 { font-size: 1.05rem; font-weight: 800; color: var(--c-navy); margin-bottom: var(--space-md); }
.aeo-paths { display: grid; gap: var(--space-sm); }
.aeo-paths li { display: grid; gap: 0.2rem; padding: 0.9rem 1rem; border: 1px solid var(--c-rule); border-radius: var(--radius); min-width: 0; }
.aeo-paths b { font-weight: 700; line-height: 1.6; }
.aeo-paths span { font-size: 0.9375rem; line-height: 1.75; color: var(--c-ink-2); }
.aeo-faq > div { padding-block: 0.9rem; border-bottom: 1px solid var(--c-rule-2); }
.aeo-faq > div:first-child { padding-top: 0; }
.aeo-faq dt { font-weight: 700; line-height: 1.6; }
.aeo-faq dd { margin-top: 0.3rem; font-size: 0.9375rem; line-height: 1.85; color: var(--c-ink-2); }
.aeo-sources a { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.9375rem; font-weight: 600; color: var(--c-navy); overflow-wrap: anywhere; }

/* 용어집 */
.aeo-gloss { padding-top: var(--space-lg); border-top: 2px solid var(--c-navy); margin-bottom: var(--space-xl); }
.aeo-gloss h2 { font-size: 1.2rem; font-weight: 800; color: var(--c-navy); margin-bottom: var(--space-sm); }
.aeo-gloss dl > div { padding-block: 0.9rem; border-bottom: 1px solid var(--c-rule-2); max-width: 52rem; }
.aeo-gloss dt { font-weight: 700; }
.aeo-gloss dt a { text-decoration: none; }
.aeo-gloss dt a:hover { text-decoration: underline; color: var(--c-navy); }
.aeo-gloss dd { margin-top: 0.25rem; font-size: 0.9375rem; color: var(--c-ink-2); }

/* 상담 띠 */
.aeo-band { background: var(--c-navy); color: var(--c-on-dark); margin-bottom: var(--space-xl); }
.aeo-band__inner { display: grid; gap: var(--space-md); padding-block: var(--space-xl); }
.aeo-band h2 { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.45; }
.aeo-band p { margin-top: var(--space-xs); font-size: 0.9375rem; opacity: 0.85; }
.aeo-band .aeo-btn { justify-self: stretch; } /* 모바일에서 좌측 정렬돼 가독성 떨어지던 것 - 폭 꽉 채워서 가운데 정렬로 */

.aeo-foot { border-top: 1px solid rgba(255, 255, 255, 0.15); background: #2f2f32; } /* ieea.or.kr #footer 배경색 */
.aeo-foot__inner { display: flex; flex-direction: column; gap: var(--space-md); padding-block: var(--space-lg); font-size: 0.8125rem; }
.aeo-foot__top { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md) var(--space-lg); }

.aeo-foot__logo { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 400; font-size: 0.9375rem; color: #fff !important; text-decoration: none; white-space: nowrap; }
.aeo-foot__logo img { display: block; width: auto; height: 32px; } /* ieea main/footer_logo.png(어두운 배경용 흰 로고, 224x50) */
.aeo-foot__top nav { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md); }
.aeo-foot__top nav a { display: inline-flex; align-items: center; min-height: 28px; font-weight: 400; text-decoration: none; white-space: nowrap; color: #fff; }
.aeo-foot__policy { color: #0b96ce !important; }
.aeo-foot__copy { color: #888; }

/* 맨 위로 버튼 */
.aeo-top-btn { position: fixed; right: 30px; bottom: 30px; z-index: 500; display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; padding: 18px; box-sizing: border-box; border-radius: 50%; background: #fff; cursor: pointer; box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2); }
.aeo-top-btn svg { display: block; width: 100%; height: 100%; }
@media (max-width: 48rem) {
  .aeo-top-btn { right: 10px; bottom: 70px; width: 40px; height: 40px; padding: 14px; }
}

@media (min-width: 48rem) {
  .aeo-wrap { padding-inline: 1.5rem; }
  .aeo-top__bar { padding-block: var(--space-sm); } /* 모바일 전용으로 늘렸던 헤더 상하 여백을 PC는 원래 값으로 */
  .aeo-brand { width: auto; }
  .aeo-nav { width: auto; }
  .aeo-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-xl); }
  .aeo-band__inner { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .aeo-band .aeo-btn { justify-self: start; }
}
@media (min-width: 64rem) { .aeo-topics { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
