/* ============================================================
   aff-lasik 디자인 시스템 — cert v2 기반 + 라식·라섹 테마 토큰
   (테마 변경 2026-08-23, FEEDBACK_2026-08-23 C절 — 토큰 3종 이상 필수)

   변경한 토큰 5종 — 방향: "클린한 민트 + 스카이"
   1) 주색: 로즈 #e2637a → 스카이 #0ea5e9 (링크·h2 막대·강조)
   2) 포인트색: 앰버피치 #f0913c → 민트 #14b8a6 (CTA·시그널)
   3) 헤더/히어로: 웜 코코아 → 딥틸 #0f3a44 + 민트→스카이 그라데이션
   4) 라운드: 16px → 12px (의료·정보 주제에 맞는 정갈한 각)
   5) 제목 글자: 자간 축소 + 900 무게, 본문 줄간 1.8로 확대 (가독성)
   근거: 주제 정서(시력·안과·수술)는 청결감·안정감이 핵심이다.
   같은 애드센스 계정 사이트들이 동일 외형으로 묶여 보이는 위험도 함께 줄인다.
   ------------------------------------------------------------
   원본: cert.getcash.kr 디자인 시스템 v2  (2026-08-22)
   모바일 우선 — 실측상 모바일이 PC의 3~4배

   v2 변경 — 대표 검수 피드백 반영
   1) 팔레트를 밝게. 남색 단색 위주에서 밝은 파랑 + 흰 여백 중심으로.
   2) h2 에 구분선·색 막대. 줄글이 이어져 보이던 문제를 끊는다.
   3) 강조를 3단으로. 본문(회색) < <b>(검정+굵게) < <mark>(형광펜).
   4) 표에 줄무늬와 머리칸 색. 전부 같은 색이라 안 읽히던 문제.
   5) 접수 목록의 날짜를 제목 아래 별도 줄로 내리고 라벨을 붙인다.
   ============================================================ */

:root {
  /* 브랜드 — 딥틸은 헤더·구조에만 남기고, 본문 강조는 스카이가 맡는다 */
  --navy: #0f3a44;          /* 딥틸 — 헤더·구조 */
  --navy-2: #14535f;
  --brand: #0ea5e9;         /* 스카이 — 링크·강조·h2 막대 */
  --brand-ink: #0369a1;     /* 스카이 글자 (대비 확보) */
  --brand-soft: #f0f9ff;
  --brand-line: #c9e8fa;

  --sig: #14b8a6;           /* 시그널: 민트 — CTA·핵심 요약 */
  --sig-ink: #0b7a70;
  --sig-soft: #ecfdf8;
  --hot: #e2382b;

  --ok: #0d8a5a;
  --ok-soft: #ecfaf3;
  --hl: #d8f5ef;            /* 형광펜 — 민트 계열 (클린) */
  --hl-line: #8fe3d5;

  --g900: #0d1418;
  --g800: #263239;          /* 본문 기본색 — 순검정보다 부드럽게 */
  --g700: #43555f;
  --g500: #6b7d87;
  --g300: #c7d5db;
  --g150: #e3ecf0;
  --g80: #eff5f7;
  --g50: #f7fbfc;
  --white: #fff;
  --radius: 12px;
  --wrap: 760px;
}

@font-face {
  font-family: 'Pretendard';
  src: local('Pretendard'), local('Pretendard Variable');
  font-display: swap;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Pretendard', 'Pretendard Variable', -apple-system, BlinkMacSystemFont,
    'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.8;
  color: var(--g800);
  background: var(--white);
  -webkit-text-size-adjust: 100%;
  word-break: keep-all;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ---------- 헤더 ---------- */
.site-head {
  background: var(--navy);
  color: var(--white);
  padding: 14px 0;
  position: sticky; top: 0; z-index: 40;
}
.site-head .wrap { display: flex; align-items: center; gap: 14px; }
.logo { font-weight: 800; font-size: 19px; color: var(--white); text-decoration: none; letter-spacing: -0.02em; }
.logo span { color: #5eead4; }
.head-nav {
  margin-left: auto; display: flex; gap: 15px; font-size: 15px;
  /* 축이 7개라 좁은 화면에서 줄바꿈되면 헤더가 두 줄로 깨진다.
     줄바꿈 대신 가로 스크롤로 흘린다 (모바일 우선). */
  flex-wrap: nowrap; white-space: nowrap;
  overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
  max-width: 100%;
}
.head-nav::-webkit-scrollbar { display: none; }
.head-nav a { flex: none; }
.head-nav a { color: #b7dbe3; text-decoration: none; }
.head-nav a:hover { color: var(--white); }

/* ---------- 히어로 ---------- */
.hero { background: linear-gradient(152deg, #0f3a44 0%, #12857f 58%, #38bdf8 122%); color: var(--white); padding: 42px 0 38px; }
.hero h1 { font-size: 27px; line-height: 1.35; margin: 0 0 10px; letter-spacing: -0.035em; font-weight: 900; }
.hero p.sub { color: #ccf1f2; font-size: 16px; margin: 0 0 22px; }
.search-box { display: flex; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px rgba(6,48,58,.26); }
.search-box input { flex: 1; border: 0; padding: 17px 18px; font-size: 16px; font-family: inherit; outline: none; }
.search-box button { border: 0; background: var(--sig); color: var(--white); padding: 0 24px; font-size: 16px; font-weight: 700; cursor: pointer; font-family: inherit; }
.hot { margin-top: 14px; font-size: 14px; color: #a9d8de; }
.hot a { color: #e2f6f8; text-decoration: none; border-bottom: 1px solid rgba(226,246,248,.45); margin-right: 10px; }

/* ---------- 섹션 ---------- */
section { padding: 34px 0; }
section + section { border-top: 1px solid var(--g150); }
h2.sec { font-size: 21px; margin: 0 0 4px; letter-spacing: -0.02em; font-weight: 800; color: var(--g900); }
p.sec-desc { color: var(--g500); font-size: 15px; margin: 0 0 18px; }

/* ---------- 지금 접수중 (핵심 차별점) ----------
   v2: 날짜를 제목과 같은 줄에 붙이지 않는다. 아래 줄에 라벨을 달아 내린다. */
.live-head { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--hot); box-shadow: 0 0 0 4px rgba(226,56,43,.16); }
.live-list { border: 1px solid var(--g150); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.live-row { display: flex; align-items: flex-start; gap: 13px; padding: 15px 16px; border-bottom: 1px solid var(--g150); text-decoration: none; color: inherit; }
.live-row:last-child { border-bottom: 0; }
.live-row:hover { background: var(--brand-soft); }
.dday {
  flex: none; min-width: 60px; text-align: center; font-weight: 800; font-size: 15px;
  padding: 8px 4px; border-radius: 9px; background: var(--sig-soft); color: var(--sig-ink);
  border: 1px solid #b7ebe2;
}
.dday.soon { background: var(--sig); color: var(--white); border-color: var(--sig); }
.dday.wait { background: var(--g80); color: var(--g500); border-color: var(--g150); }
.live-main { flex: 1; min-width: 0; }
.live-title { display: block; font-weight: 700; font-size: 16px; color: var(--g900); margin-bottom: 7px; line-height: 1.45; }

/* 날짜 묶음 — 라벨 + 값이 한 덩어리. 좁은 화면에서 줄바꿈된다 */
.live-meta { display: flex; flex-wrap: wrap; gap: 6px 8px; }
.live-meta .mi {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; color: var(--g700);
  background: var(--g50); border: 1px solid var(--g150);
  border-radius: 7px; padding: 3px 9px 3px 5px; white-space: nowrap;
}
.live-meta .mi i {
  font-style: normal; font-size: 12px; font-weight: 700; color: var(--white);
  background: var(--g500); border-radius: 5px; padding: 1px 6px;
}
.live-meta .mi.k-접수 { background: var(--brand-soft); border-color: var(--brand-line); color: var(--navy); }
.live-meta .mi.k-접수 i { background: var(--brand); }
.live-meta .mi.k-시험 { background: var(--sig-soft); border-color: #b7ebe2; color: var(--sig-ink); }
.live-meta .mi.k-시험 i { background: var(--sig); }
.live-meta .mi.k-발표 { background: var(--ok-soft); border-color: #c7ecdb; color: #0a6e48; }
.live-meta .mi.k-발표 i { background: var(--ok); }

/* ---------- 목적별 카드 ---------- */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.card { border: 1px solid var(--g150); border-radius: var(--radius); padding: 18px 16px; text-decoration: none; color: inherit; background: var(--white); }
.card:hover { border-color: var(--brand); background: var(--brand-soft); }
.card b { display: block; font-size: 16.5px; margin-bottom: 5px; letter-spacing: -0.02em; color: var(--g900); }
.card span { font-size: 13.5px; color: var(--g500); line-height: 1.55; display: block; }

/* ---------- 분야 ---------- */
.fields { display: flex; flex-wrap: wrap; gap: 8px; }
.fields a { border: 1px solid var(--g150); border-radius: 999px; padding: 8px 14px; font-size: 14.5px; text-decoration: none; color: var(--g700); background: var(--white); }
.fields a:hover { border-color: var(--brand); color: var(--brand-ink); background: var(--brand-soft); }
.fields a i { font-style: normal; color: var(--g500); font-size: 13px; margin-left: 4px; }

/* ---------- 질문 목록 ---------- */
.qlist a { display: block; padding: 13px 0; border-bottom: 1px solid var(--g150); text-decoration: none; color: var(--g800); font-size: 16px; }
.qlist a:last-child { border-bottom: 0; }
.qlist a:hover { color: var(--brand-ink); }

/* ---------- 본문 (읽는 페이지) ----------
   중요: 설명상자·단계·항목은 <div>/<ul>이 아니라 최상위 <p>다.
   자동광고가 문단 사이로 들어올 수 있게 하기 위해서다.
   (근거: OPERATIONS/AD_FRIENDLY_HTML_RULE.md)
   디자인은 아래 CSS로 복원한다 — 겉보기는 카드, DOM은 문단.
   ---------- */
article { padding: 30px 0 10px; }
article h1 { font-size: 26px; line-height: 1.35; letter-spacing: -0.03em; margin: 0 0 12px; font-weight: 800; color: var(--g900); }
article .meta { color: var(--g500); font-size: 14px; margin-bottom: 22px; }

/* h2 — 구분선 + 색 막대로 「여기서 화제가 바뀐다」를 눈에 보이게 한다.
   v1 에서는 굵은 글씨뿐이라 줄글이 계속 이어지는 느낌이었다. */
article h2 {
  font-size: 21px; line-height: 1.4; font-weight: 800; color: var(--g900);
  letter-spacing: -0.02em;
  margin: 44px 0 18px; padding: 14px 18px;
  background: var(--brand-soft);
  border-left: 5px solid var(--brand);
  border-radius: 0 9px 9px 0;
}
article > h2:first-child { margin-top: 10px; }

article h3 {
  font-size: 17.5px; margin: 30px 0 9px; font-weight: 700; color: var(--g900);
  padding-left: 12px; border-left: 3px solid var(--brand-line);
}
article p { margin: 0 0 18px; }
article a { color: var(--brand-ink); text-underline-offset: 3px; }

/* 강조 3단 — 본문(회색) < b(검정 굵게) < mark(형광펜) */
article b, article strong { color: var(--g900); font-weight: 700; }
mark {
  background: linear-gradient(transparent 52%, var(--hl) 52%);
  color: var(--g900); font-weight: 700; padding: 0 2px; border-radius: 2px;
}
mark.num { background: linear-gradient(transparent 52%, #ffe0c6 52%); }

/* 리드 — 첫 요소가 반드시 실제 텍스트 문단이어야 한다 (미리보기 오염 방지) */
p.lead { background: var(--brand-soft); font-size: 16.5px; margin: 0; padding: 15px 20px 0; border-left: 4px solid var(--brand); }
p.lead:first-of-type { border-radius: 0 var(--radius) 0 0; padding-top: 19px; }
p.lead.lead-last { padding-bottom: 19px; border-radius: 0 0 var(--radius) 0; margin-bottom: 28px; }
p.lead b { color: var(--navy); }

/* ---------- 표 ----------
   v2: 머리칸에 색, 짝수 줄에 줄무늬. 전부 흰색이라 눈이 미끄러지던 문제. */
table {
  width: 100%; margin: 0 0 24px; font-size: 15.5px;
  border-collapse: separate; border-spacing: 0;
  border: 1px solid var(--g150); border-radius: 10px; overflow: hidden;
}
th, td {
  border: 0; border-bottom: 1px solid var(--g150);
  padding: 12px 15px; text-align: left; vertical-align: top;
  background: transparent;
}
tr:last-child th, tr:last-child td { border-bottom: 0; }
th { width: 36%; font-weight: 700; color: var(--g700); border-right: 1px solid var(--g150); }
/* 줄무늬는 행 전체에 — 왼쪽 칸만 색을 넣으면 한쪽으로 쏠려 보인다 */
tr:nth-child(even) th, tr:nth-child(even) td { background: var(--g50); }
td b { color: var(--g900); }

/* ---------- 설명상자 — 제목 문단(.box-h) + 본문 문단(.box) 이 이어붙어 카드처럼 보인다 ---------- */
p.box-h { margin: 0; padding: 15px 17px 6px; font-weight: 700; font-size: 15.5px; border-left: 4px solid var(--g300); border-radius: 0 8px 0 0; }
p.box { margin: 0; padding: 0 17px 12px; border-left: 4px solid var(--g300); font-size: 16px; }
p.box + p.box { padding-top: 0; }
p.box.box-last { padding-bottom: 17px; border-radius: 0 0 8px 0; margin-bottom: 24px; }

p.easy-h, p.easy { border-left-color: var(--ok); background: var(--ok-soft); }
p.easy-h { color: #0a6e48; }
p.checkme-h, p.checkme { border-left-color: var(--brand); background: var(--brand-soft); }
p.checkme-h { color: var(--brand-ink); }
p.warn-h, p.warn { border-left-color: var(--sig); background: var(--sig-soft); }
p.warn-h { color: var(--sig-ink); }

/* ---------- 단계 — <ol>이 아니라 문단. 번호는 span 배지 ---------- */
p.step { position: relative; padding: 2px 0 2px 40px; margin: 0 0 14px; }
p.step .step-n {
  position: absolute; left: 0; top: 3px; width: 27px; height: 27px; border-radius: 50%;
  background: var(--brand); color: var(--white); font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- 항목 나열 — <ul>이 아니라 문단 ---------- */
p.item { position: relative; padding: 0 0 0 21px; margin: 0 0 11px; }
p.item::before { content: ''; position: absolute; left: 4px; top: 12px; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }

/* ---------- 합격률 막대 ---------- */
p.rate { margin: 0 0 15px; }
p.rate .rate-label { display: flex; justify-content: space-between; align-items: baseline; font-size: 14.5px; margin-bottom: 5px; }
p.rate .rate-label b { font-weight: 700; }
p.rate .rate-label > span { color: var(--g500); font-size: 13.5px; }
p.rate .rate-bar { display: block; background: var(--g150); height: 20px; border-radius: 10px; overflow: hidden; }
p.rate .rate-fill { display: block; height: 100%; background: var(--brand); border-radius: 10px; min-width: 6px; }
p.rate.low .rate-fill { background: var(--sig); }

/* ---------- 일정 블록 — <table>로 낸다 (덩어리 div를 늘리지 않는다) ---------- */
table.sched { border-color: var(--g150); margin: 0 0 26px; }
/* 머리행 — caption 은 폭이 표를 다 못 덮어서(대표 캡처) colspan 행으로 바꿨다 */
table.sched tr.sched-head th {
  background: var(--navy); color: var(--white); width: auto;
  padding: 14px 16px; font-size: 16px; font-weight: 700; border-right: 0;
  border-bottom: 0;
}
table.sched tr.sched-head th b { color: var(--white); }
table.sched tr.sched-head .dday {
  background: var(--sig); color: var(--white); border-color: var(--sig);
  float: right; margin-left: 12px; padding: 4px 12px; min-width: 0; font-size: 14px;
}
table.sched th, table.sched td { padding: 12px 16px; font-size: 15.5px; }
table.sched th { color: var(--g700); font-weight: 600; width: 46%; }
table.sched tr:nth-child(even) th, table.sched tr:nth-child(even) td { background: var(--g50); }

/* 비교표 모바일 대응 (대표 2026-08-23 검수: "표가 모바일에서 잘 안 보인다")
   표 칸 내용을 짧은 요약(short)만 쓰도록 바꿨지만, 그래도 좁은 화면에서
   칸이 눌리지 않도록 표 자체에 가로 스크롤을 준다 — 래퍼 <div> 없이
   table 에 직접 overflow-x 를 걸어 최상위 <p> 구조를 그대로 유지한다. */
@media (max-width: 640px) {
  table.sched { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  table.sched th, table.sched td { font-size: 13.5px; padding: 9px 10px; white-space: nowrap; }
  table.sched th { width: auto; }
}

/* ---------- CTA ---------- */
.cta { display: block; background: var(--brand); color: var(--white); text-align: center; padding: 17px; border-radius: var(--radius); font-weight: 700; text-decoration: none; font-size: 16.5px; margin: 0 0 10px; box-shadow: 0 6px 18px rgba(47,107,255,.22); }
.cta:hover { background: var(--brand-ink); }
.cta.sig { background: var(--sig); box-shadow: 0 6px 18px rgba(239,100,16,.22); }
.cta.sig:hover { background: var(--sig-ink); }
.cta-note { font-size: 13.5px; color: var(--g500); margin: 0 0 24px; }
.cta-lead { margin: 0 0 12px; }

/* ---------- 관련 링크 (article 밖) ---------- */
nav.rel, .rel { background: var(--g50); border: 1px solid var(--g150); border-radius: var(--radius); padding: 18px 20px; margin: 30px 0; }
.rel b { display: block; margin-bottom: 10px; font-size: 15.5px; color: var(--g900); }
.rel a { display: block; padding: 8px 0; color: var(--brand-ink); font-size: 15.5px; border-bottom: 1px solid var(--g150); text-decoration: none; }
.rel a:last-child { border-bottom: 0; }
.rel a:hover { text-decoration: underline; }

/* 직업·급여 연결 — job.getcash.kr 로 나가는 묶음은 색을 달리해 구분한다 */
nav.rel.rel-job { background: var(--ok-soft); border-color: #c7ecdb; }
nav.rel.rel-job b { color: #0a6e48; }
nav.rel.rel-job a { color: #0a6e48; border-bottom-color: #d5efe3; }

/* ---------- 공유 ---------- */
.share { display: flex; gap: 8px; margin: 26px 0 10px; }
.share button { flex: 1; border: 1px solid var(--g300); background: var(--white); border-radius: 9px; padding: 12px; font-size: 15px; cursor: pointer; font-family: inherit; color: var(--g700); }
.share button:hover { border-color: var(--brand); color: var(--brand-ink); }

/* ---------- 푸터 ---------- */
footer { background: var(--g50); border-top: 1px solid var(--g150); padding: 28px 0 40px; margin-top: 40px; font-size: 14px; color: var(--g500); }
footer a { color: var(--g700); }
footer p { margin: 0 0 8px; }


@media (min-width: 700px) {
  body { font-size: 17.5px; }
  .hero h1 { font-size: 33px; }
  article h1 { font-size: 31px; }
  article h2 { font-size: 23px; }
  .cards { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- 교재 (쿠팡파트너스) ----------
   상품도 <div> 카드가 아니라 문단이다. 겉보기만 카드로 만든다. */
p.books-h { font-weight: 800; font-size: 17px; color: var(--g900); margin: 34px 0 12px; }
p.book { margin: 0 0 9px; }
p.book a {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
  border: 1px solid var(--g150); border-radius: 10px; padding: 13px 15px;
  background: var(--white); color: var(--g800);
}
p.book a:hover { border-color: var(--sig); background: var(--sig-soft); }
p.book .book-img {
  flex: none; width: 72px; height: 72px; object-fit: contain;
  background: var(--g50); border-radius: 7px; border: 1px solid var(--g150);
}
p.book .book-name { flex: 1; min-width: 0; font-size: 15.5px; line-height: 1.5; }
p.book .book-price { flex: none; font-weight: 800; color: var(--sig-ink); font-size: 15.5px; text-align: right; }
p.book .book-price i { display: block; font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--brand-ink); }
p.books-note { font-size: 13px; color: var(--g500); margin: 10px 0 26px; line-height: 1.6; }


/* 시력교정 테마 — 제목 글꼴 조합 (2026-08-23) */
h1, h2, .logo, .hero h1, .sec {
  font-family: 'Gmarket Sans', 'Pretendard', 'Apple SD Gothic Neo', system-ui, sans-serif;
  letter-spacing: -0.035em;
}
.site-head { border-bottom: 3px solid var(--brand); }
.sec { position: relative; }

/* 푸터 — 애드센스 승인 세트 링크 (2026-08-23) */
.foot-aff { font-size: 13px; color: var(--g500); margin-top: 14px; }
.foot-nav { margin-top: 10px; font-size: 13px; }
.foot-nav a { color: var(--g700); text-decoration: none; }
.foot-nav a:hover { text-decoration: underline; }

/* ---------- 비교표 — 열 폭 고정 (대표 검수 2026-08-23: 열이 좁아 글자가 세로로 쪼개짐) ---------- */
table.cmp { table-layout: fixed; font-size: 14.5px; }
table.cmp th, table.cmp td { padding: 11px 12px; word-break: keep-all; overflow-wrap: break-word; vertical-align: top; }
table.cmp th:first-child, table.cmp td:first-child { width: 22%; }
table.cmp th:nth-child(2), table.cmp td:nth-child(2) { width: 34%; }
table.cmp th:nth-child(3), table.cmp td:nth-child(3) { width: 22%; }
table.cmp th:nth-child(4), table.cmp td:nth-child(4) { width: 22%; }
@media (max-width: 560px) {
  table.cmp { font-size: 13px; }
  table.cmp th, table.cmp td { padding: 9px 8px; }
}

/* ---------- 좋은 점 / 주의할 점 — 색 대비 (대표 검수 2026-08-23: "글이 반복돼 눈에 안 들어온다") ----------
   AD_FRIENDLY 유지: <div> 카드로 묶지 않고, 최상위 <p> 하나하나에 카드 모양을 입힌다.
   그래서 자동광고가 문단 사이로 들어올 수 있는 구조는 그대로다. */
p.pro-h, p.con-h {
  display: inline-block;
  font-weight: 800; font-size: 15px; letter-spacing: -0.02em;
  padding: 5px 14px; border-radius: 999px; margin: 26px 0 10px;
}
p.pro-h { background: var(--sig); color: var(--white); }
p.pro-h::before { content: "○ "; font-weight: 900; }
p.con-h { background: #f5a524; color: #40260a; }
p.con-h::before { content: "△ "; font-weight: 900; }

p.pro, p.con {
  margin: 0 0 9px;
  padding: 13px 16px 13px 15px;
  border-radius: 10px;
  font-size: 16px; line-height: 1.7;
}
p.pro { background: var(--sig-soft); border-left: 4px solid var(--sig); color: #10453f; }
p.con { background: #fff8ec; border-left: 4px solid #f5a524; color: #4a3312; }
p.pro b, p.con b { color: inherit; font-weight: 800; }
p.pro mark, p.con mark { background: rgba(255,255,255,.85); }

@media (max-width: 560px) {
  p.pro, p.con { font-size: 15.5px; padding: 12px 13px; }
}

/* ---------- 목록 썸네일 카드 (대표 검수 2026-08-23: "글이 반복돼 눈에 안 들어온다")
   홈 축별 섹션 = 세로 카드 2열. 카테고리·전체 글 목록 = 가로 행(썸네일 작게).
   썸네일 파일이 없는 항목은 렌더러에서 <img> 자체를 빼고 .no-thumb 만 붙인다. ---------- */
.card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.thumb-card {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--g150); border-radius: var(--radius);
  text-decoration: none; color: var(--g800); background: var(--white);
}
.thumb-card:hover { border-color: var(--brand); }
/* height:auto 가 없으면 <img height="450"> 속성이 aspect-ratio 를 이겨 세로로 늘어난다 (2026-08-23 화면 검수에서 잡음) */
.thumb-card img { width: 100%; height: auto; aspect-ratio: 800 / 450; object-fit: cover; display: block; background: var(--g80); }
.thumb-card span { padding: 12px 13px; font-size: 15px; font-weight: 600; line-height: 1.5; }
.thumb-card.no-thumb span { padding: 16px 13px; }

.thumb-list { border: 1px solid var(--g150); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.thumb-row {
  display: flex; align-items: center; gap: 13px; padding: 10px 14px;
  border-bottom: 1px solid var(--g150); text-decoration: none; color: var(--g800);
}
.thumb-row:last-child { border-bottom: 0; }
.thumb-row:hover { background: var(--brand-soft); color: var(--brand-ink); }
.thumb-row img { flex: none; width: 96px; height: auto; aspect-ratio: 800 / 450; object-fit: cover; border-radius: 8px; background: var(--g80); }
.thumb-row span { font-size: 15.5px; line-height: 1.5; }
.thumb-row.no-thumb { padding-left: 14px; }

@media (max-width: 560px) {
  .card-grid { grid-template-columns: 1fr; }
  .thumb-row img { width: 74px; }
  .thumb-row { gap: 11px; padding: 9px 12px; }
}
