/* 보대리 보험 뉴스 — 1224 그리드·920 기사단·900 모바일, 보대리 앱 색 */
@font-face { font-family: 'Wanted Sans'; src: url('fonts/WantedSansVariable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
:root {
  --bg: #F4FBF9; --paper: #FFFFFF; --ink: #16211F; --muted: #56635F; --line: #CFDDD9;
  --teal: #0F9F95; --teal-deep: #00675F; --soft: #E2F4F1; --amber: #C77805; --amber-soft: #FFF4DC;
  --pad: max(calc((100% - 1224px) / 2), 24px);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: 'Wanted Sans', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; color: var(--ink); background: var(--bg); word-break: keep-all; overflow-x: hidden; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
img, video { max-width: 100%; height: auto; display: block; }

.header { position: relative; width: min(1224px, calc(100% - 48px)); margin: 0 auto; padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; z-index: 10; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.logo img { height: 34px; width: auto; }
.logo span { font-size: 15px; font-weight: 800; color: var(--teal-deep); border-left: 1px solid var(--line); padding-left: 12px; white-space: nowrap; }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a { font-weight: 700; font-size: 18px; color: var(--muted); text-decoration: none; white-space: nowrap; }
.nav a:hover, .nav a.active { color: var(--ink); }
.nav a.active { box-shadow: inset 0 -3px 0 var(--teal); padding-bottom: 4px; }
.btn-cta { display: inline-flex; align-items: center; gap: 10px; background: var(--teal); color: #fff; font-weight: 800; font-size: 16px; padding: 12px 18px; border-radius: 9999px; text-decoration: none; white-space: nowrap; }
.btn-cta:hover { background: var(--teal-deep); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }
.mobile-menu { display: none; position: absolute; top: 72px; left: 0; right: 0; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); padding: 24px 32px; flex-direction: column; gap: 18px; z-index: 50; box-shadow: 0 16px 30px rgba(0,60,55,.08); }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-weight: 800; font-size: 18px; text-decoration: none; }

.hero { padding: 72px var(--pad) 64px; }
.hero-inner { max-width: 1224px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; }
.hero-inner.solo { grid-template-columns: 1fr; }
.hero-art { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--soft); }
.eyebrow { font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: 18px; }
h1 { max-width: 900px; font-size: 64px; line-height: 1.1; font-weight: 800; margin-bottom: 22px; text-wrap: balance; }
.hero-copy { max-width: 720px; color: var(--muted); font-size: 19px; line-height: 1.75; }
.hero-actions { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--teal); color: var(--teal-deep); font-weight: 800; font-size: 16px; padding: 10px 18px; border-radius: 9999px; text-decoration: none; background: var(--paper); }

.content { padding: 0 var(--pad) 96px; }
.content-inner { max-width: 1224px; margin: 0 auto; display: grid; gap: 72px; }
.section-heading { margin: 0 0 24px; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.section-heading h2 { font-size: 30px; line-height: 1.3; }
.section-heading p, .section-heading a { color: var(--muted); font-size: 15px; line-height: 1.5; text-align: right; }
.section-heading a { font-weight: 800; color: var(--teal-deep); text-decoration: none; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.content-card { min-width: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); overflow: hidden; transition: box-shadow .18s, transform .18s; }
.content-card:hover { box-shadow: 0 14px 34px rgba(0,80,70,.10); transform: translateY(-2px); }
.content-card a { display: flex; height: 100%; flex-direction: column; text-decoration: none; }
.content-thumb { aspect-ratio: 16 / 9; background: var(--soft); overflow: hidden; }
.content-thumb img { width: 100%; height: 100%; object-fit: cover; }
.content-body { flex: 1; display: flex; flex-direction: column; padding: 22px 24px 26px; }
.card-meta { color: var(--teal-deep); font-size: 13px; font-weight: 800; margin-bottom: 12px; }
.content-card h3 { font-size: 22px; line-height: 1.38; margin-bottom: 12px; overflow-wrap: anywhere; }
.content-card p.desc { color: var(--muted); font-size: 15.5px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.badges { display: flex; gap: 6px; margin-top: auto; padding-top: 16px; flex-wrap: wrap; }
.badge { font-size: 12.5px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--soft); color: var(--teal-deep); }

.short-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.short-card a { display: block; text-decoration: none; }
.short-card .poster { aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--soft); position: relative; }
.short-card .poster img { width: 100%; height: 100%; object-fit: cover; }
.short-card .play { position: absolute; left: 14px; bottom: 14px; background: rgba(0,0,0,.55); color: #fff; font-size: 13px; font-weight: 800; padding: 6px 12px; border-radius: 999px; }
.short-card h3 { font-size: 17px; line-height: 1.4; margin-top: 12px; }

.episode { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 24px; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.episode + .episode { margin-top: 16px; }
.episode img { width: 168px; height: 168px; object-fit: cover; border-radius: 10px; }
.episode .card-meta { margin-bottom: 8px; }
.episode h3 { font-size: 23px; line-height: 1.35; margin-bottom: 8px; }
.episode h3 a { text-decoration: none; }
.episode p { color: var(--muted); font-size: 15.5px; line-height: 1.7; margin-bottom: 14px; }
audio { width: 100%; }

.cal { border: 1px solid var(--line); border-radius: 14px; background: var(--paper); overflow: hidden; }
.cal-row { display: grid; grid-template-columns: 130px 1fr auto; gap: 18px; align-items: center; padding: 16px 22px; border-top: 1px solid var(--line); }
.cal-row:first-child { border-top: 0; }
.cal-date { font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums; }
.cal-title { font-size: 17px; line-height: 1.5; }
.cal-title small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.cal-title small a { color: var(--teal-deep); }
.state { font-size: 12.5px; font-weight: 800; padding: 4px 10px; border-radius: 999px; white-space: nowrap; justify-self: start; }
.state.done { background: #EEF1F0; color: var(--muted); }
.state.now { background: var(--teal); color: #fff; }
.state.next { background: var(--amber-soft); color: var(--amber); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-block; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-weight: 800; font-size: 16px; text-decoration: none; }
.chip:hover { border-color: var(--teal); color: var(--teal-deep); }

.article { padding: 32px var(--pad) 96px; }
.article-wrap { max-width: 920px; margin: 0 auto; }
.back-link { display: inline-flex; margin-bottom: 24px; color: var(--teal-deep); font-weight: 800; text-decoration: none; }
.article-meta { color: var(--teal-deep); font-size: 14px; font-weight: 800; margin-bottom: 16px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.article-meta a { text-decoration: none; }
.article-title { font-size: 48px; line-height: 1.2; font-weight: 800; margin-bottom: 18px; text-wrap: balance; }
.article-summary { color: var(--muted); font-size: 19px; line-height: 1.75; margin-bottom: 32px; }
.article-hero { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 36px; }
.media-row { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; align-items: start; padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 40px; }
.media-row .yt, .media-row .yt-frame { width: 100%; aspect-ratio: 9 / 16; border-radius: 12px; background: #000; border: 0; overflow: hidden; position: relative; cursor: pointer; padding: 0; display: block; }
.media-row .yt img { width: 100%; height: 100%; object-fit: cover; }
.yt-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 76px; height: 54px; border-radius: 14px; background: #FF0033; color: #fff; font-size: 26px; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.yt:hover .yt-play { background: #CC0029; }
.media-row.solo { grid-template-columns: 1fr; }
.media-row h2 { font-size: 20px; margin-bottom: 8px; }
.media-row p { color: var(--muted); font-size: 15.5px; line-height: 1.7; margin-bottom: 16px; }
.article-body { font-size: 18px; line-height: 1.86; }
.article-body p, .article-body ul, .article-body ol { margin: 0 0 1.2em; }
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body li { margin: .35em 0; }
.article-body h2 { font-size: 28px; line-height: 1.38; margin: 1.9em 0 .7em; }
.article-body strong { color: var(--teal-deep); }
.box { border: 1px solid var(--line); border-radius: 14px; background: var(--paper); padding: 24px 26px; margin-top: 40px; }
.box h2 { font-size: 21px; margin-bottom: 14px; }
.faq dt { font-weight: 800; font-size: 17px; margin-top: 16px; }
.faq dt:first-child { margin-top: 0; }
.faq dd { color: var(--muted); font-size: 16px; line-height: 1.75; margin-top: 4px; }
.sources li { font-size: 15px; line-height: 1.7; margin-left: 1.1em; }
.sources a { color: var(--teal-deep); }
.notice { background: var(--amber-soft); border-color: #F0D9A8; color: #5A4310; font-size: 14.5px; line-height: 1.7; }
.hub-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.related { margin-top: 56px; }
.related h2 { font-size: 24px; margin-bottom: 18px; }
.transcript p { font-size: 17px; line-height: 1.85; margin-bottom: 1em; }

.site-footer { background: #0E2B28; color: #E4F1EE; padding: 64px var(--pad); }
.footer-inner { max-width: 1224px; margin: 0 auto; display: grid; gap: 26px; }
.footer-inner img { height: 30px; width: auto; filter: invert(1); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-nav a { text-decoration: none; font-weight: 700; font-size: 15px; }
.footer-inner p { font-size: 14px; line-height: 1.7; color: rgba(228,241,238,.75); max-width: 820px; }

@media (max-width: 900px) {
  .nav, .btn-cta.top { display: none; }
  .hamburger { display: flex; }
  .header { width: 100%; padding: 18px 24px; }
  .logo img { height: 28px; }
  .hero { padding: 40px 24px 48px; }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  h1 { font-size: 34px; }
  .hero-copy { font-size: 16.5px; }
  .content { padding: 0 24px 64px; }
  .content-inner { gap: 56px; }
  .card-grid { grid-template-columns: 1fr; }
  .short-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 6px; }
  .section-heading h2 { font-size: 24px; }
  .section-heading p, .section-heading a { text-align: left; }
  .episode { grid-template-columns: 1fr; }
  .episode img { width: 100%; height: auto; aspect-ratio: 1; }
  .cal-row { grid-template-columns: 1fr; gap: 6px; }
  .article { padding: 24px 24px 64px; }
  .article-title { font-size: 30px; }
  .article-summary { font-size: 16.5px; }
  .media-row { grid-template-columns: 1fr; }
  .media-row .yt, .media-row .yt-frame { max-width: 320px; margin: 0 auto; }
  .article-body { font-size: 16.5px; line-height: 1.8; }
  .article-body h2 { font-size: 22px; }
  .site-footer { padding: 56px 24px; }
}
@media (prefers-reduced-motion: reduce) { .content-card { transition: none; } .content-card:hover { transform: none; } }

/* 페이지 번호 */
.pagination { margin: 34px 0 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.pagination-list { display: flex; justify-content: center; align-items: center; gap: 14px; }
.pagination a, .pagination span { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 999px; color: var(--muted);
  font-size: 18px; font-weight: 800; text-decoration: none; }
.pagination a:hover { background: var(--soft); color: var(--teal-deep); }
.pagination .is-active { width: 52px; height: 52px; background: var(--teal); color: #fff; box-shadow: 0 0 0 7px rgba(15,159,149,.16); }
.pagination .is-disabled { color: #B9C7C3; }
.pagination-summary { color: var(--muted); font-size: 14px; font-weight: 700; }
