/* 리노모아 — 공통 스타일
   본문 18px / 줄간격 1.7 / 본문 최대 760px / 버튼 최소 56px / 색 3개 이내 (설계서 9장) */
:root {
  --ink: #1b1f24;          /* 본문 */
  --muted: #4a525c;        /* 보조 텍스트 (AA 대비 확보) */
  --line: #d5dae0;
  --bg: #ffffff;
  --bg-soft: #f4f6f8;
  --primary: #1d4f91;      /* 주색: 링크·버튼·범위 막대 */
  --primary-soft: #e6eef8;
  --accent: #9a4a00;       /* 강조: 1,500만원 안내·층수 추가비 */
  --accent-soft: #fdf1e3;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  font-size: 18px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }

a { color: var(--primary); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--primary); outline-offset: 2px;
}
img, svg { max-width: 100%; height: auto; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: var(--bg); padding: 8px 12px; z-index: 10; }

/* 헤더 */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; position: relative; }
.logo { font-weight: 800; font-size: 22px; color: var(--ink); text-decoration: none; }
.menu summary {
  list-style: none; cursor: pointer; min-height: 48px; padding: 8px 16px;
  border: 1px solid var(--line); border-radius: var(--radius); display: flex; align-items: center;
}
.menu summary::-webkit-details-marker { display: none; }
.menu[open] nav {
  position: absolute; right: 16px; left: 16px; top: 64px; z-index: 20;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 8px 20px 16px; box-shadow: 0 8px 24px rgba(0,0,0,.08); max-height: 75vh; overflow: auto;
}
.menu-title { margin: 12px 0 4px; font-weight: 700; color: var(--muted); font-size: 16px; }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list a { display: block; padding: 6px 0; }
.menu-group { margin: 6px 0 0; font-size: 16px; font-weight: 700; }

/* 브레드크럼 */
.breadcrumb { font-size: 15px; color: var(--muted); }
.breadcrumb ol { list-style: none; margin: 0 auto; padding: 12px 16px 0; max-width: 760px; display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumb li + li::before { content: "›"; margin-right: 4px; }

/* 본문 */
main { padding-top: 8px; padding-bottom: 48px; }
h1 { font-size: 30px; line-height: 1.35; margin: 16px 0 8px; }
h2 { font-size: 24px; line-height: 1.4; margin: 40px 0 12px; }
h3 { font-size: 20px; margin: 28px 0 8px; }
p, ul, ol { margin: 0 0 16px; }
.lead { color: var(--muted); }
.meta-line { font-size: 15px; color: var(--muted); }

/* 표: 둥근 카드 안에 넣고, 머리글은 옅은 주색 띠, 줄은 옅게, 짝수 줄은 아주 옅은 배경 */
table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 0; font-size: 16px; line-height: 1.55; }
th, td { border-bottom: 1px solid #edf0f3; padding: 13px 16px; text-align: left; vertical-align: top; overflow-wrap: normal; word-break: keep-all; }
thead th { background: #f1f5fa; color: #33414f; font-size: 14px; font-weight: 700; letter-spacing: .01em; border-bottom: 1px solid #d9e2ec; white-space: nowrap; }
tbody tr:nth-child(even) > * { background: #fafbfc; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody td:first-child, tbody th[scope="row"] { font-weight: 600; color: var(--ink); }
td { font-variant-numeric: tabular-nums; }
caption { caption-side: top; text-align: left; padding: 14px 16px 10px; font-weight: 700; font-size: 16px; border-bottom: 1px solid #edf0f3; }
.table-scroll { overflow-x: auto; margin: 8px 0 28px; border: 1px solid #dde3ea; border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 4px 14px rgba(16,24,40,.04); }
.table-scroll > table { min-width: 100%; }
@media (max-width: 480px) { th, td { padding: 11px 12px; font-size: 15px; } }

.box { border-radius: var(--radius); padding: 16px 20px; margin: 20px 0; background: var(--bg-soft); }
.box-summary { background: var(--primary-soft); }
.box-notice { background: var(--accent-soft); border-left: 4px solid var(--accent); }
.box > :last-child { margin-bottom: 0; }

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 12px 20px; border-radius: var(--radius);
  font-size: 18px; font-weight: 700; text-decoration: none; cursor: pointer;
  border: 2px solid var(--primary); background: var(--primary); color: #fff;
}
.btn-ghost { background: var(--bg); color: var(--primary); }

/* 광고 슬롯: 계산 결과와 구분선·여백으로 분리 (설계서 7-2) */
.ad-slot { margin: 48px 0; padding-top: 24px; border-top: 1px solid var(--line); min-height: 0; }
.ad-slot::before { content: "광고"; display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }

/* 푸터 */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); font-size: 15px; color: var(--muted); padding: 24px 0 40px; }
.footer-links { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a { display: inline-block; padding: 6px 0; }

@media (min-width: 768px) {
  h1 { font-size: 34px; }
}

/* ---------- 계산기 ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
.calc { margin: 24px 0; }
.step { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 8px; margin: 0 0 16px; }
.step legend { font-weight: 800; font-size: 20px; padding: 0 6px; }
.step-no { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: #fff;
  align-items: center; justify-content: center; font-size: 16px; margin-right: 6px; }
.field { margin: 8px 0 16px; }
.field-title { font-weight: 700; margin: 0 0 8px; }
.hint { font-size: 16px; color: var(--muted); margin: -4px 0 8px; }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 56px; padding: 8px 10px;
  border: 2px solid var(--line); border-radius: var(--radius); background: var(--bg); cursor: pointer; font-weight: 600; line-height: 1.3; }
.choice input:checked + span { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }
.choice input:focus-visible + span { outline: 3px solid var(--primary); outline-offset: 2px; }
.counts { list-style: none; padding: 0; margin: 0; }
.counts li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.counts li:last-child { border-bottom: 0; }
.stepper { display: flex; align-items: center; gap: 6px; }
.stepper button { width: 56px; height: 56px; border-radius: var(--radius); border: 2px solid var(--line); background: var(--bg);
  font-size: 26px; line-height: 1; cursor: pointer; color: var(--ink); }
.stepper input, .num-input { width: 72px; height: 56px; text-align: center; font-size: 20px; border: 2px solid var(--line); border-radius: var(--radius); }
.check { display: flex; align-items: center; gap: 12px; min-height: 56px; cursor: pointer; font-weight: 600; }
.check input { width: 26px; height: 26px; accent-color: var(--primary); }
.btn-block { width: 100%; font-size: 20px; }
.num-input.wide { width: 9.5em; max-width: 42%; text-align: right; padding: 0 10px; }
.question-list { display: block; width: 100%; box-sizing: border-box; padding: 12px; font: inherit; font-size: 16px; line-height: 1.6; border: 2px solid var(--line); border-radius: var(--radius); resize: vertical; }

/* 결과 */
.result { margin: 24px 0 0; padding: 20px 16px; border: 2px solid var(--primary); border-radius: var(--radius); }
.result h2 { margin-top: 0; }
.result-label { margin: 0; color: var(--muted); font-size: 16px; }
.result-range { font-size: 28px; line-height: 1.35; margin: 4px 0 12px; }
.result-range strong { color: var(--primary); }
.range-bar { position: relative; height: 18px; border-radius: 9px; background: var(--bg-soft); border: 1px solid var(--line); }
.range-fill { position: absolute; top: 0; bottom: 0; border-radius: 9px; background: var(--primary); }
.range-scale { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); margin: 4px 0 16px; }
.result-table th[scope="row"] { background: none; font-weight: 600; }
.result-table tfoot th, .result-table tfoot td { font-weight: 800; border-top: 2px solid var(--ink); }
.row-highlight th, .row-highlight td, tbody tr.row-highlight > * { background: var(--accent-soft); }
.row-note { display: block; font-size: 14px; color: var(--accent); font-weight: 700; }
.cta { display: grid; gap: 8px; margin-top: 16px; }

/* 카드·요약 */
.cards { display: grid; gap: 12px; list-style: none; padding: 0; }
.cards a { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.cards a strong { display: block; color: var(--ink); }
.cards a span { font-size: 15px; color: var(--muted); }
.faq dt { font-weight: 700; margin-top: 16px; }
.faq dd { margin: 4px 0 0; }
figure { margin: 24px 0; }
.official-table th[scope="row"] { font-weight: 600; text-align: left; }
.official-note { display: block; font-size: 14px; font-weight: 400; color: var(--muted); }
.official-price { white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }
.process-figure, .illustration { margin: 32px 0; padding: 18px 18px 16px; border: 1px solid #dde3ea; border-radius: 16px; background: #fff;
  box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 4px 14px rgba(16,24,40,.04); }
.process-figure svg, .illustration svg { display: block; width: 100%; max-width: 440px; height: auto; margin: 0 auto; }
.fig-head { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid #edf0f3; font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--ink); }
.fig-tag { flex: none; font-size: 12px; font-weight: 700; color: var(--primary); background: var(--primary-soft); border-radius: 6px; padding: 2px 8px; }
figcaption { font-size: 15px; line-height: 1.65; color: var(--muted); margin: 16px 0 0; padding-top: 12px; border-top: 1px solid #edf0f3; }
@media (max-width: 480px) { .process-figure, .illustration { padding: 14px 12px 12px; margin-left: -4px; margin-right: -4px; } }
.byline { font-size: 15px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 32px; }
.checklist { list-style: none; padding: 0; }
.checklist li { padding: 8px 0 8px 32px; position: relative; border-bottom: 1px solid var(--line); }
.checklist li::before { content: "☐"; position: absolute; left: 4px; top: 7px; color: var(--primary); }
.result-table td { white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.result-table thead th:not(:first-child) { text-align: right; white-space: nowrap; }
@media (max-width: 480px) {
  .result-table { font-size: 14px; }
  .result-table th, .result-table td { padding: 8px 4px; }
  .result { padding: 16px 12px; }
}
.grade-guide { margin: 12px 0 8px; font-size: 16px; }
.grade-guide summary { cursor: pointer; min-height: 48px; display: flex; align-items: center; color: var(--primary); font-weight: 700; }
.grade-guide table { font-size: 15px; }
.result-note { margin: 12px 0 4px; padding: 12px 14px; background: var(--bg-soft); border-radius: var(--radius); font-size: 17px; }

/* 견적서 양식: 빈칸이 적을 공간이 보이게, 인쇄할 때는 양식만 깔끔하게 */
.quote-form td { min-width: 6em; height: 2.6em; }
.quote-form caption { font-size: 15px; }
@media print {
  .site-header, .site-footer, .breadcrumb, .ad-slot, .btn, nav { display: none !important; }
  body { font-size: 13px; }
  .table-scroll { box-shadow: none; overflow: visible; }
  .quote-form td, .quote-form th { border: 1px solid #999; }
}

/* ---------- 빠른 예시·비교표·공유 ---------- */
.presets { margin: 20px 0 8px; }
.presets-title { font-weight: 700; margin: 0 0 8px; }
.presets-list { display: flex; flex-wrap: wrap; gap: 8px; }
.preset { min-height: 48px; padding: 8px 16px; border: 2px solid var(--primary); border-radius: 999px; background: var(--bg);
  color: var(--primary); font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.preset[aria-pressed="true"] { background: var(--primary); color: #fff; }
.unit-line { margin: 16px 0; }
.compare { margin: 24px 0; }
.compare h3 { font-size: 19px; margin: 0 0 8px; }
.compare-table td { white-space: nowrap; font-variant-numeric: tabular-nums; }
.compare-table tr.row-current > * { background: var(--primary-soft); font-weight: 700; }
.diff-up { color: var(--accent); }
.diff-down { color: #1f6b3a; }
.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 24px 0 4px; }
.share-msg { color: var(--primary); font-weight: 700; }

/* ---------- 헤더: 스크롤해도 위에 고정, PC에서는 계산기 바로가기 노출 ---------- */
.wrap-wide { max-width: 1120px; }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(6px); }
.header-inner { gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.logo-mark { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 9px;
  background: var(--primary); color: #fff; font-size: 17px; font-weight: 800; }
.top-nav { display: none; }
.top-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.top-nav a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; white-space: nowrap; }
.top-nav a:hover, .top-nav a[aria-current="page"] { background: var(--primary-soft); color: var(--primary); }
.menu summary { gap: 8px; font-weight: 600; font-size: 16px; white-space: nowrap; }
.menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -6px; } .menu-bars::after { top: 6px; }
@media (min-width: 960px) {
  .top-nav { display: block; margin-left: auto; }
  .menu[open] nav { left: auto; width: 440px; }
}

/* ---------- 홈 ---------- */
.page-hub main.wrap { max-width: 1120px; }
.section-title { font-size: 24px; margin: 48px 0 16px; }
.home-hero { margin: 16px 0 8px; padding: 32px 20px 24px; border-radius: 20px; text-align: center;
  background: linear-gradient(160deg, #eaf1fb 0%, #f7f9fc 55%, #fdf6ee 100%); border: 1px solid #e1e8f1; }
.home-hero h1 { margin: 8px 0 12px; }
.home-hero .lead { max-width: 680px; margin: 0 auto 20px; }
.hero-badge { display: inline-block; margin: 0; padding: 4px 14px; border-radius: 999px; background: #fff; border: 1px solid #d6e0ec; font-size: 14px; font-weight: 700; color: var(--primary); }
.site-search { position: relative; max-width: 620px; margin: 0 auto 16px; text-align: left; }
.site-search input { width: 100%; height: 60px; padding: 0 20px 0 52px; font: inherit; font-size: 18px; border: 2px solid #c9d5e3; border-radius: 14px; background: #fff
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a525c' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.6-3.6'/%3E%3C/svg%3E") no-repeat 18px center / 22px; }
.site-search input:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 4px var(--primary-soft); }
.search-results { position: absolute; left: 0; right: 0; top: 66px; z-index: 25; list-style: none; margin: 0; padding: 6px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 32px rgba(16,24,40,.12); }
.search-results a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); line-height: 1.45; }
.search-results a:hover, .search-results a.is-active { background: var(--primary-soft); }
.search-results strong { display: block; font-size: 17px; }
.sr-kind { font-size: 13px; color: var(--primary); font-weight: 700; }
.search-empty { padding: 12px; font-size: 16px; color: var(--muted); }
.hero-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; padding: 0; margin: 0 0 16px; }
.hero-chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 16px; border-radius: 999px; background: #fff; border: 1px solid #d6e0ec;
  color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 600; }
.hero-chips a:hover { border-color: var(--primary); color: var(--primary); }

.topic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.topic-tile { display: flex; flex-direction: column; border: 1px solid #dde3ea; border-radius: 16px; background: #fff;
  box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 4px 14px rgba(16,24,40,.04); overflow: hidden; }
.topic-main { flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 16px; text-decoration: none; color: var(--ink); }
.topic-main:hover { background: #f8fafd; }
.topic-main strong { font-size: 19px; line-height: 1.35; }
.topic-desc { font-size: 15px; color: var(--muted); line-height: 1.5; }
.topic-go { margin-top: auto; padding-top: 8px; font-size: 15px; font-weight: 700; color: var(--primary); }
.topic-sub { display: block; padding: 10px 16px; border-top: 1px solid #edf0f3; font-size: 15px; font-weight: 600; text-decoration: none; background: #fafbfc; }
.topic-hub { background: var(--primary-soft); border-color: #c9d8ec; }
.topic-hub .topic-main:hover { background: #dde8f6; }
.topic-icon { display: inline-flex; width: 48px; height: 48px; margin-bottom: 6px; padding: 8px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); }
.topic-hub .topic-icon { background: #fff; }
.topic-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.topic-icon.sm { width: 36px; height: 36px; padding: 6px; margin: 0 10px 0 0; vertical-align: middle; border-radius: 10px; }
@media (max-width: 380px) { .topic-main { padding: 14px 12px; } .topic-main strong { font-size: 17px; } }
@media (min-width: 720px) { .topic-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }

.home-grid { display: grid; gap: 8px; }
.home-main > .section-title:first-child { margin-top: 48px; }
.home-aside { display: grid; gap: 16px; align-content: start; margin-top: 32px; }
.aside-card { padding: 18px 18px 16px; border: 1px solid #dde3ea; border-radius: 16px; background: #fff; }
.aside-card h2 { font-size: 19px; margin: 0 0 12px; }
.aside-links { list-style: none; padding: 0; margin: 0; }
.aside-links li + li { border-top: 1px solid #edf0f3; }
.aside-links a { display: block; padding: 10px 0; text-decoration: none; }
.aside-links strong { display: block; color: var(--ink); font-size: 17px; }
.aside-links span { font-size: 15px; color: var(--muted); }
.aside-links a:hover strong { color: var(--primary); }
.journey { margin: 0; padding: 0; list-style: none; counter-reset: j; }
.journey li { counter-increment: j; position: relative; padding: 8px 0 8px 40px; font-size: 16px; }
.journey li::before { content: counter(j); position: absolute; left: 0; top: 8px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--primary); color: #fff; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.aside-cta { background: var(--accent-soft); border-color: #f0d9bd; }
.aside-cta p { font-size: 16px; }
@media (min-width: 960px) {
  .home-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; }
  .home-aside { position: sticky; top: 88px; margin-top: 48px; }
}

.home-section .lead { max-width: 760px; }
.guide-group { margin: 28px 0 0; }
.guide-group h3 { display: flex; align-items: center; margin: 0 0 12px; font-size: 20px; }
.guide-cards { display: grid; gap: 12px; list-style: none; padding: 0; margin: 0; }
.guide-cards a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px 16px; border: 1px solid #dde3ea; border-radius: 14px; text-decoration: none; background: #fff; }
.guide-cards a:hover { border-color: var(--primary); box-shadow: 0 4px 14px rgba(29,79,145,.08); }
.guide-cards strong { color: var(--ink); font-size: 17px; line-height: 1.45; }
.guide-cards span { font-size: 15px; color: var(--muted); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 720px) { .guide-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .guide-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.home-text { max-width: 820px; }
@media (max-width: 480px) {
  .home-hero { padding: 22px 14px 18px; border-radius: 16px; }
  .hero-badge { font-size: 12px; padding: 3px 10px; }
  .home-hero .lead { font-size: 16px; }
  .hero-chips a { min-height: 40px; padding: 4px 12px; font-size: 15px; }
  .logo { font-size: 20px; }
}
[id] { scroll-margin-top: 84px; }

/* 페이지 대표 이미지 (4:3 원본을 3:2로 보여줌 — 가운데 기준으로 위아래가 조금 잘림) */
.page-hero { margin: 16px 0 24px; }
.page-hero img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; background: var(--bg-soft); }
.guide-cards a.has-thumb { padding-top: 0; overflow: hidden; }
.card-thumb { display: block; width: calc(100% + 32px); max-width: none; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin: 0 -16px 10px; background: var(--bg-soft); }
