* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Pretendard", "Apple SD Gothic Neo", sans-serif;
  background: #f6f7fb; color: #1f2937; line-height: 1.55;
  min-height: 100vh; display: flex; flex-direction: column;
}
.topbar { background: white; border-bottom: 1px solid #e5e7eb; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { font-weight: 700; color: #111827; text-decoration: none; font-size: 18px; }
.topnav { display: flex; gap: 18px; flex-shrink: 0; }
.topnav a { color: #4b5563; text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap; }
.topnav a:hover { color: #2563eb; }
.main { flex: 1; max-width: 720px; margin: 0 auto; padding: 48px 24px; width: 100%; }
.search-box { margin-bottom: 28px; }
.search-box input {
  width: 100%; padding: 14px 18px; border: 1px solid #d1d5db; border-radius: 12px;
  font-size: 16px; background: white; color: #111827;
}
.search-box input:focus {
  outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}
.no-result { text-align: center; color: #6b7280; margin-top: 32px; }
.hero h1 { font-size: 30px; margin-bottom: 8px; color: #111827; }
.hero p { color: #4b5563; }
.school-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px; margin-top: 32px;
}
.school-card {
  background: white; border: 1px solid #e5e7eb; border-radius: 14px;
  padding: 24px 16px; text-align: center; text-decoration: none; color: #111827;
  transition: transform 0.15s, box-shadow 0.15s;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.school-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(15,23,42,0.08); }
.school-card img { width: 64px; height: 64px; object-fit: contain; }
.school-card span { font-weight: 600; }
.school-detail {
  background: white; border: 1px solid #e5e7eb; border-radius: 16px;
  padding: 40px 28px; text-align: center;
}
.school-logo { width: 96px; height: 96px; object-fit: contain; margin: 0 auto 16px; display: block; }
.school-detail h1 { margin: 0 0 24px; font-size: 26px; }
.filter-toggle {
  display: inline-flex; background: #f3f4f6; padding: 4px; border-radius: 10px;
  margin-bottom: 16px; gap: 2px;
}
.filter-switch { cursor: pointer; }
.filter-switch input { position: absolute; opacity: 0; pointer-events: none; }
.filter-switch span {
  display: inline-block; padding: 8px 18px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: #6b7280;
  transition: background 0.15s, color 0.15s;
}
.filter-switch input:checked + span { background: white; color: #111827; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.categories {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  margin-bottom: 20px; transition: opacity 0.15s;
}
.categories.disabled { opacity: 0.35; pointer-events: none; }
.category-chip { cursor: pointer; }
.category-chip[hidden] { display: none; }
.category-chip input { position: absolute; opacity: 0; pointer-events: none; }
.category-chip span {
  display: inline-block; padding: 8px 14px; border: 1px solid #d1d5db;
  border-radius: 999px; font-size: 13px; color: #4b5563; background: white;
  transition: all 0.15s;
}
.category-chip input:checked + span { background: #2563eb; border-color: #2563eb; color: white; }
.category-chip:hover span { border-color: #9ca3af; }
.endpoint-toggle { display: inline-block; cursor: pointer; margin-bottom: 6px; }
.endpoint-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.endpoint-toggle span {
  display: inline-block; padding: 8px 16px; border: 1px solid #d1d5db;
  border-radius: 999px; font-size: 13px; color: #4b5563; background: white;
  transition: all 0.15s;
}
.endpoint-toggle span::before { content: "✓ "; opacity: 0.4; }
.endpoint-toggle input:checked + span { background: #2563eb; border-color: #2563eb; color: white; }
.endpoint-toggle input:checked + span::before { opacity: 1; }
.endpoint-toggle:hover span { border-color: #9ca3af; }
.endpoint-hint { font-size: 12px; color: #9ca3af; margin: 0 0 20px; }
.url-box { display: flex; gap: 8px; margin-bottom: 8px; }
.url-box input {
  flex: 1; padding: 12px 14px; border: 1px solid #d1d5db; border-radius: 10px;
  font-size: 14px; background: #f9fafb; color: #111827; min-width: 0;
}
.url-box button {
  padding: 12px 18px; background: #2563eb; color: white; border: none;
  border-radius: 10px; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.url-box button:hover { background: #1d4ed8; }
.copy-status { height: 20px; font-size: 14px; color: #6b7280; margin: 4px 0 20px; }
.copy-status.ok { color: #059669; }
.subscribe-btn {
  display: inline-block; padding: 12px 24px; background: #111827; color: white;
  text-decoration: none; border-radius: 10px; font-weight: 600; margin-bottom: 24px;
}
.subscribe-btn:hover { background: #000; }
.how { text-align: left; background: #f3f4f6; border-radius: 10px; padding: 12px 16px; margin-top: 16px; }
.how summary { cursor: pointer; font-weight: 600; }
.how ol { margin: 12px 0 0; padding-left: 20px; }
.how li { margin-bottom: 8px; }
.ad-slot { max-width: 720px; margin: 0 auto 24px; width: 100%; padding: 0 24px; }
.ad-placeholder {
  background: #eef2ff; border: 1px dashed #c7d2fe; border-radius: 10px;
  padding: 24px; text-align: center; color: #6366f1; font-size: 13px;
}
.side-ad { display: none; }
.ad-placeholder--vertical {
  width: 160px; height: 600px; padding: 0;
  display: flex; align-items: center; justify-content: center; line-height: 1.5;
}
@media (min-width: 1180px) {
  .side-ad { display: block; position: fixed; top: 96px; }
  .side-ad--left  { width: 160px; left:  max(24px, calc((100vw - 720px) / 2 - 200px)); }
  .side-ad--right { width: 160px; right: max(24px, calc((100vw - 720px) / 2 - 200px)); }
}

/* ── 사이드 CTA (광고 자리에 컨텐츠) ───────────────────────── */
.side-cta {
  width: 160px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px 14px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.side-cta__title {
  font-weight: 700; font-size: 14px; color: #111827;
  margin: 0 0 14px; line-height: 1.4;
}
.side-cta__btn {
  display: inline-block; width: 100%; padding: 10px 12px;
  border-radius: 8px; font-size: 13px; font-weight: 600;
  text-decoration: none; cursor: pointer; border: none;
  font-family: inherit;
}
.side-cta--request .side-cta__btn { background: #2563eb; color: white; }
.side-cta--request .side-cta__btn:hover { background: #1d4ed8; }
.side-cta--share .side-cta__btn { background: #fee500; color: #111827; }
.side-cta--share .side-cta__btn:hover { background: #fdd835; }
.side-cta__hint {
  font-size: 11px; color: #9ca3af; margin: 10px 0 0; line-height: 1.4;
}
/* 오른쪽 사이드 레일의 광고 유닛 (공유 CTA 아래). 레일이 160px라 폭 좁음 — Multiplex 충진 제한 가능 */
.side-ad__unit { margin-top: 16px; width: 160px; }

/* ── 통계 카운터 ───────────────────────── */
.stats {
  display: flex; gap: 32px; justify-content: center;
  margin: 24px 0 0; padding: 20px;
  background: white; border: 1px solid #e5e7eb; border-radius: 14px;
}
.stats-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.stats-item strong {
  font-size: 26px; color: #2563eb; font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.stats-item span { font-size: 13px; color: #6b7280; }

/* ── 인기 학교 순위 (도넛 + 등수) ───────────────────────── */
.ranking {
  margin-top: 24px; padding: 24px;
  background: white; border: 1px solid #e5e7eb; border-radius: 14px;
}
.ranking h2 { font-size: 18px; margin: 0 0 4px; color: #111827; }
.ranking__sub { font-size: 13px; color: #9ca3af; margin: 0 0 20px; }
.ranking__body {
  display: flex; gap: 28px; align-items: center;
  flex-wrap: wrap; justify-content: center;
}
.ranking__chart {
  position: relative; width: 180px; height: 180px;
  border-radius: 50%; flex-shrink: 0; background: #f3f4f6;
}
.ranking__center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 108px; height: 108px; border-radius: 50%; background: white;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.ranking__center strong { font-size: 24px; color: #111827; font-variant-numeric: tabular-nums; line-height: 1.1; }
.ranking__center span { font-size: 12px; color: #6b7280; }
.ranking__list { list-style: none; margin: 0; padding: 0; flex: 1 1 260px; min-width: 0; }
.ranking__list li {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 0; border-bottom: 1px solid #f3f4f6; font-size: 14px;
}
.ranking__list li:last-child { border-bottom: none; }
.ranking__rank { width: 30px; text-align: center; font-weight: 700; flex-shrink: 0; }
.ranking__dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.ranking__name {
  flex: 1; min-width: 0; color: #111827; font-weight: 500;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ranking__count { color: #6b7280; font-variant-numeric: tabular-nums; flex-shrink: 0; white-space: nowrap; }
@media (max-width: 560px) {
  .ranking__body { flex-direction: column; gap: 18px; }
  .ranking__list { width: 100%; flex: none; }
}

/* ── 학교 신청 카드 (school-grid 내) ───────────────────────── */
.school-card--request {
  background: #eff6ff; border-color: #bfdbfe;
}
.school-card--request:hover { background: #dbeafe; }
.school-card--request .request-plus {
  width: 64px; height: 64px; display: flex; align-items: center; justify-content: center;
  font-size: 40px; color: #2563eb; font-weight: 300; line-height: 1;
}

/* ── changelog ───────────────────────── */
.changelog { margin-top: 40px; padding: 24px; background: white;
  border: 1px solid #e5e7eb; border-radius: 14px; }
.changelog h2 { font-size: 18px; margin: 0 0 14px; color: #111827; }
.changelog-list { list-style: none; margin: 0; padding: 0; }
.changelog-list li { border-bottom: 1px solid #f3f4f6; }
.changelog-list li:last-child { border-bottom: none; }
.cl-item {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 12px 4px; background: none; border: none; cursor: pointer;
  font: inherit; color: inherit; text-align: left;
}
.cl-item:hover { background: #f9fafb; }
.cl-item time {
  color: #9ca3af; font-variant-numeric: tabular-nums;
  min-width: 88px; flex-shrink: 0; font-size: 13px;
}
.cl-item__title {
  flex: 1; min-width: 0; font-size: 14px; color: #1f2937;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cl-item__arrow { color: #cbd5e1; font-size: 18px; flex-shrink: 0; line-height: 1; }
.changelog-more {
  display: block; width: 100%; margin-top: 6px; padding: 11px;
  background: none; border: none; border-top: 1px solid #f3f4f6;
  color: #6b7280; font: inherit; font-size: 13px; font-weight: 500; cursor: pointer;
}
.changelog-more:hover { color: #2563eb; background: #f9fafb; }
.changelog-more[hidden] { display: none; }

/* ── 전국 비교 (메인, 인포그래픽) ───────────────────────── */
.compare { margin-top: 24px; }
.compare__heading { font-size: 18px; margin: 0 0 14px; color: #111827; }
.compare__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.compare__card { background: white; border: 1px solid #e5e7eb; border-radius: 14px; padding: 18px 20px; }
.compare__title { font-size: 15px; margin: 0 0 10px; color: #111827; }
.compare__list { list-style: none; margin: 0; padding: 0; }
.compare__list li {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid #f3f4f6; font-size: 14px;
}
.compare__list li:last-child { border-bottom: none; }
.compare__rank { width: 24px; text-align: center; font-weight: 700; flex-shrink: 0; }
.compare__name {
  flex: 1; min-width: 0; color: #1f2937; font-weight: 500;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.compare__val { flex-shrink: 0; color: #2563eb; font-weight: 700; font-variant-numeric: tabular-nums; font-size: 13px; }

/* 업데이트 내역 상세 모달 */
.cl-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.cl-modal[hidden] { display: none; }
.cl-modal__backdrop { position: absolute; inset: 0; background: rgba(17,24,39,0.5); }
.cl-modal__panel {
  position: relative; background: white; border-radius: 16px;
  max-width: 560px; width: 100%; max-height: 85vh; overflow: auto;
  padding: 28px 28px 22px; box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}
.cl-modal__close {
  position: absolute; top: 10px; right: 14px; border: none; background: none;
  font-size: 26px; line-height: 1; color: #9ca3af; cursor: pointer; padding: 4px;
}
.cl-modal__close:hover { color: #4b5563; }
.cl-modal__date { color: #9ca3af; font-size: 13px; font-variant-numeric: tabular-nums; }
.cl-modal__title { font-size: 20px; margin: 4px 0 16px; color: #111827; line-height: 1.4; }
.cl-modal__body { color: #374151; font-size: 15px; line-height: 1.7; }
.cl-modal__body p { margin: 0 0 12px; }
.cl-modal__body ul { margin: 0 0 12px; padding-left: 20px; }
.cl-modal__body li { margin-bottom: 8px; }
.cl-modal__body strong { color: #111827; }
.cl-modal__nav { display: flex; gap: 10px; margin-top: 22px; padding-top: 16px; border-top: 1px solid #f3f4f6; }
.cl-modal__navbtn {
  flex: 1 1 0; min-width: 0; cursor: pointer;
  background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 10px;
  padding: 10px 14px; font: inherit; color: inherit;
  display: flex; flex-direction: column; gap: 2px;
}
.cl-modal__navbtn[hidden] { display: none; }
.cl-modal__navbtn:hover { background: #f3f4f6; }
.cl-modal__next { text-align: right; align-items: flex-end; }
.cl-nav__label { font-size: 12px; color: #6b7280; }
.cl-nav__title {
  font-size: 13px; color: #111827; font-weight: 500; max-width: 100%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ── 학교 페이지 인라인 액션(공유) ───────────────────────── */
.action-row {
  display: flex; gap: 8px; justify-content: center;
  flex-wrap: wrap; margin-bottom: 24px;
}
.action-row .subscribe-btn { margin-bottom: 0; }
.share-btn-inline {
  display: inline-block; padding: 12px 18px; background: #fee500;
  color: #111827; border: none; border-radius: 10px;
  font-weight: 600; cursor: pointer; font-size: 14px;
  font-family: inherit;
}
.share-btn-inline:hover { background: #fdd835; }

/* ── 다가오는 일정 (학교 페이지, D-day) ───────────────────────── */
.upcoming { margin-top: 20px; text-align: left; }
.upcoming__title { font-size: 16px; margin: 0 0 10px; color: #111827; }
.upcoming__list { list-style: none; margin: 0; padding: 0; }
.upcoming__item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid #f3f4f6;
}
.upcoming__item:last-child { border-bottom: none; }
.upcoming__badge {
  flex-shrink: 0; min-width: 54px; text-align: center;
  padding: 4px 8px; border-radius: 8px; font-size: 13px; font-weight: 700;
  background: #eff6ff; color: #2563eb; font-variant-numeric: tabular-nums;
}
.upcoming__badge--today { background: #2563eb; color: #fff; }
.upcoming__badge--now { background: #fef3c7; color: #92400e; }
.upcoming__name {
  flex: 1; min-width: 0; font-size: 14px; color: #1f2937; font-weight: 500;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.upcoming__date { flex-shrink: 0; font-size: 13px; color: #9ca3af; }

/* ── 정적 학사일정 표 (scripts/build_school_pages.py 가 주입) ─────── */
.schedule { text-align: left; margin-top: 28px; }
.schedule__title { font-size: 18px; margin: 0 0 10px; color: #111827; }
.schedule__intro { font-size: 13px; color: #4b5563; line-height: 1.7; margin: 0 0 16px; }
.schedule__table { width: 100%; border-collapse: collapse; }
.schedule__table th {
  text-align: left; font-size: 12px; color: #9ca3af; font-weight: 600;
  padding: 0 8px 8px 0; border-bottom: 1px solid #e5e7eb;
}
.schedule__table td {
  padding: 8px 8px 8px 0; border-bottom: 1px solid #f3f4f6;
  font-size: 13px; color: #1f2937; vertical-align: top;
}
.schedule__table tr:last-child td { border-bottom: none; }
.schedule__table .schedule__date { white-space: nowrap; color: #4b5563; font-variant-numeric: tabular-nums; }
.schedule__table .schedule__name { font-weight: 500; }
.schedule__table .schedule__cat { white-space: nowrap; color: #2563eb; font-size: 12px; }
.schedule__source { font-size: 12px; color: #9ca3af; margin: 14px 0 0; }
.schedule__source a { color: #2563eb; }

/* ── 강화된 캘린더 등록 가이드 ───────────────────────── */
.how { text-align: left; margin-top: 24px; }
.how__title { font-size: 16px; margin: 0 0 12px; color: #111827; }
.how-platform {
  background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 10px;
  padding: 12px 16px; margin-bottom: 8px;
}
.how-platform[open] { background: #f3f4f6; }
.how-platform summary {
  cursor: pointer; font-weight: 600; font-size: 14px;
  list-style: none; padding: 4px 0;
  display: flex; align-items: center; gap: 10px;
}
.how-platform summary::-webkit-details-marker { display: none; }
.how-platform summary::before {
  content: "▸"; display: inline-block; transition: transform 0.15s;
  font-size: 11px; color: #9ca3af;
}
.how-platform[open] summary::before { transform: rotate(90deg); }
.how-platform__tag {
  font-size: 11px; padding: 2px 8px; border-radius: 999px;
  background: #fef3c7; color: #92400e; font-weight: 600;
}
.how-platform ol { margin: 10px 0 0; padding-left: 20px; }
.how-platform li { font-size: 13px; color: #4b5563; margin-bottom: 6px; line-height: 1.6; }
.how-platform a { color: #2563eb; }
.how-warn {
  background: #fef3c7; border: 1px solid #fde68a; border-radius: 8px;
  padding: 10px 12px; margin: 10px 0 0; font-size: 13px; color: #92400e; line-height: 1.6;
}
.how-warn strong { color: #78350f; }
.how-tip {
  background: #dbeafe; border: 1px solid #bfdbfe; border-radius: 8px;
  padding: 10px 12px; margin: 10px 0 0; font-size: 13px; color: #1e40af; line-height: 1.6;
}

/* ── 모바일 인라인 CTA (sticky 사이드가 숨겨지는 폭에서 표시) ───────────────────────── */
.mobile-ctas {
  display: flex; flex-direction: column; gap: 12px;
  margin: 32px auto; padding: 0 24px;
  max-width: 480px; width: 100%;
}
.mobile-ctas .side-cta { width: 100%; }
.mobile-ctas .side-cta__title br { display: none; }  /* 폭이 넉넉하니 한 줄로 */
@media (min-width: 1180px) {
  .mobile-ctas { display: none; }
}

.footer { padding: 24px; text-align: center; color: #9ca3af; font-size: 13px; }
.footer-email { margin-top: 6px; }
.footer-links { margin: 8px 0 0; font-size: 13px; }
.footer-links a { color: #6b7280; text-decoration: none; }
.footer-links a:hover { color: #2563eb; text-decoration: underline; }

/* ── 콘텐츠 페이지 (FAQ / 개인정보처리방침) ───────────────────────── */
.page-title { font-size: 24px; margin: 0 0 8px; color: #111827; }
.page-lead { color: #4b5563; margin: 0 0 24px; line-height: 1.6; }
.how-platform p:not(.how-warn):not(.how-tip) { font-size: 13px; color: #4b5563; margin: 10px 0 0; line-height: 1.6; }
.legal h2 { font-size: 17px; margin: 28px 0 10px; color: #111827; }
.legal ul { color: #374151; line-height: 1.7; padding-left: 20px; margin: 0 0 12px; }
.legal li { margin-bottom: 6px; }
.legal a { color: #2563eb; }
.legal-date { color: #9ca3af; font-size: 13px; margin-top: 28px; }

/* ── 블로그 ───────────────────────── */
.blog-list { list-style: none; margin: 0; padding: 0; }
.blog-card {
  display: block; padding: 20px; margin-bottom: 16px;
  background: white; border: 1px solid #e5e7eb; border-radius: 14px;
  text-decoration: none; color: inherit; transition: box-shadow 0.15s, transform 0.15s;
}
.blog-card:hover { box-shadow: 0 6px 18px rgba(15,23,42,0.08); transform: translateY(-2px); }
.blog-card time { font-size: 13px; color: #9ca3af; font-variant-numeric: tabular-nums; }
.blog-card h2 { font-size: 18px; margin: 6px 0 8px; color: #111827; }
.blog-card p { font-size: 14px; color: #4b5563; margin: 0; line-height: 1.6; }
.article__back { margin: 0 0 16px; }
.article__back a { color: #6b7280; text-decoration: none; font-size: 14px; }
.article__back a:hover { color: #2563eb; }
.article__title { font-size: 26px; line-height: 1.35; margin: 0 0 6px; color: #111827; }
.article__date { display: block; font-size: 13px; color: #9ca3af; margin-bottom: 24px; font-variant-numeric: tabular-nums; }
.article p:not(.article__back):not(.article__cta):not(.article__byline) { color: #374151; line-height: 1.8; margin: 0 0 16px; }
.article h2 { font-size: 19px; margin: 28px 0 10px; color: #111827; }
.article__cta {
  margin-top: 32px; padding: 18px 20px; text-align: center;
  background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 12px;
}
.article__cta a { color: #2563eb; font-weight: 700; text-decoration: none; }
.article__cta a:hover { text-decoration: underline; }

/* ── 홈 블로그 카드뉴스 (가로 스크롤) ───────────────────────── */
.blog-feature { margin-top: 24px; }
.blog-feature__title { font-size: 18px; margin: 0 0 4px; color: #111827; }
.blog-feature__sub { font-size: 13px; color: #9ca3af; margin: 0 0 16px; }
.blog-cards {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
}
.blog-news-card {
  display: flex; flex-direction: column; gap: 6px;
  background: white; border: 1px solid #e5e7eb; border-radius: 14px;
  padding: 18px; text-decoration: none; color: inherit;
  transition: box-shadow 0.15s, transform 0.15s;
}
.blog-news-card:hover { box-shadow: 0 6px 18px rgba(15,23,42,0.08); transform: translateY(-2px); }
.blog-news-card__tag {
  align-self: flex-start; font-size: 11px; font-weight: 700;
  color: #2563eb; background: #eff6ff; border-radius: 999px; padding: 3px 10px;
}
.blog-news-card strong { font-size: 15px; color: #111827; line-height: 1.4; margin-top: 2px; }
.blog-news-card__desc { font-size: 13px; color: #6b7280; line-height: 1.5; }

/* ── 데이터 출처 표 (sources.html) ───────────────────────── */
.source-table { width: 100%; border-collapse: collapse; margin: 8px 0 8px; }
.source-table th {
  text-align: left; font-size: 12px; color: #9ca3af; font-weight: 600;
  padding: 0 8px 8px 0; border-bottom: 1px solid #e5e7eb;
}
.source-table td {
  padding: 10px 8px 10px 0; border-bottom: 1px solid #f3f4f6;
  font-size: 14px; color: #1f2937; vertical-align: top;
}
.source-table tr:last-child td { border-bottom: none; }
.source-table td:first-child { white-space: nowrap; font-weight: 600; }
.source-table a { color: #2563eb; }

/* ── 블로그 글 작성자 메타 (article 헤더) ───────────────────────── */
.article__byline { font-size: 13px; color: #9ca3af; margin: 0 0 20px; }
.article__byline strong { color: #4b5563; font-weight: 600; }

/* ── 글 하단 관련 글 (내부 링크) ───────────────────────── */
.article__related {
  margin-top: 36px; padding-top: 20px; border-top: 1px solid #e5e7eb;
}
.article__related h2 { font-size: 16px; margin: 0 0 12px; color: #111827; }
.article__related ul { margin: 0; padding-left: 20px; }
.article__related li { margin-bottom: 8px; line-height: 1.6; }
.article__related a { color: #2563eb; text-decoration: none; }
.article__related a:hover { text-decoration: underline; }

/* ── 수강신청 유형 테스트 (quiz.html) ───────────────────────── */
.quiz { max-width: 560px; }
.quiz__intro, .quiz__result { text-align: center; }
.quiz__title { font-size: 24px; color: #111827; margin: 0 0 12px; }
.quiz__lead { color: #4b5563; line-height: 1.7; margin: 0 0 28px; }
.quiz-btn {
  display: inline-block; padding: 14px 28px; background: #2563eb; color: #fff;
  border: none; border-radius: 12px; font-size: 16px; font-weight: 700;
  cursor: pointer; font-family: inherit; text-decoration: none;
}
.quiz-btn:hover { background: #1d4ed8; }
.quiz-btn--ghost { background: #f3f4f6; color: #374151; }
.quiz-btn--ghost:hover { background: #e5e7eb; }
.quiz__progress { font-size: 13px; color: #9ca3af; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.quiz__bar { height: 6px; background: #f3f4f6; border-radius: 999px; overflow: hidden; margin-bottom: 24px; }
.quiz__bar-fill { height: 100%; background: #2563eb; width: 0; transition: width 0.25s ease; }
.quiz__q { font-size: 20px; color: #111827; line-height: 1.4; margin: 0 0 20px; }
.quiz__options { display: flex; flex-direction: column; gap: 10px; }
.quiz-opt {
  width: 100%; text-align: left; padding: 16px 18px; background: #fff;
  border: 1px solid #d1d5db; border-radius: 12px; font-size: 15px; color: #1f2937;
  cursor: pointer; font-family: inherit; line-height: 1.5; transition: all 0.12s;
}
.quiz-opt:hover { border-color: #2563eb; background: #eff6ff; }
.quiz-result__emoji { font-size: 64px; line-height: 1; margin-bottom: 8px; }
.quiz-result__label { font-size: 13px; color: #9ca3af; margin: 0 0 4px; }
.quiz-result__name { font-size: 26px; color: #111827; margin: 0 0 6px; }
.quiz-result__tag { font-size: 15px; color: #2563eb; font-weight: 600; margin: 0 0 18px; }
.quiz-result__desc { color: #374151; line-height: 1.8; margin: 0 auto 20px; max-width: 460px; text-align: left; }
.quiz-result__rec { font-size: 14px; color: #6b7280; margin: 0 0 24px; }
.quiz-result__rec a { color: #2563eb; font-weight: 600; text-decoration: none; }
.quiz-result__rec a:hover { text-decoration: underline; }
.quiz__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.quiz-result__cta { font-size: 14px; }
.quiz-result__cta a { color: #2563eb; font-weight: 700; text-decoration: none; }
.quiz-result__cta a:hover { text-decoration: underline; }

/* 홈 배너 (메인 → 퀴즈 유도) */
.quiz-banner {
  margin-top: 24px; background: linear-gradient(135deg, #2563eb, #4f46e5);
  border-radius: 16px; padding: 22px 24px; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.quiz-banner__txt { color: #fff; }
.quiz-banner__txt strong { display: block; font-size: 18px; margin-bottom: 4px; }
.quiz-banner__txt span { font-size: 13px; color: #dbeafe; }
.quiz-banner__btn {
  flex-shrink: 0; background: #fff; color: #2563eb; font-weight: 700;
  padding: 12px 22px; border-radius: 10px; text-decoration: none; white-space: nowrap;
}
.quiz-banner__btn:hover { background: #eff6ff; }
