/* 《자녀 세계관 아카데미》 정적 PWA 스타일시트
 * - 따뜻한 미색 종이 배경(#FAF8F4), 카드(#FFFDF9), 고대비 차콜 본문(#1F2328)
 * - PDF 5색 카드 계열과 통일된 파스텔 콜아웃
 * - 4단계 보기 프리셋(기본 / 크게 / 아주 크게 / TV 미러링)
 * - 기울임체 및 회색 코드박스 전면 배제
 */

:root {
  --bg-page: #FAF8F4;
  --bg-card: #FFFDF9;
  --bg-subtle: #F3EFE6;
  --ink-main: #1F2328;
  --ink-strong: #111827;
  --ink-muted: #57606A;
  --brand-navy: #1E3A5F;
  --brand-navy-dark: #142844;
  --brand-gold: #B45309;
  --border-soft: #E5DFD3;
  --border-strong: #CBD5E1;

  /* 5색 카드 계열 파스텔 토큰 */
  --amber-bg: #FFFBEB;
  --amber-border: #FDE68A;
  --amber-accent: #D97706;
  --amber-title: #9A3412;

  --blue-bg: #F0F9FF;
  --blue-border: #BAE6FD;
  --blue-accent: #0284C7;
  --blue-title: #075985;

  --slate-bg: #F6F8FA;
  --slate-border: #CBD5E1;
  --slate-accent: #334155;
  --slate-title: #1E293B;

  --green-bg: #ECFDF5;
  --green-border: #A7F3D0;
  --green-accent: #059669;
  --green-title: #065F46;

  --purple-bg: #F5F3FF;
  --purple-border: #DDD6FE;
  --purple-accent: #7C3AED;
  --purple-title: #5B21B6;

  /* 기본 타이포그래피 & 폭 */
  --max-width: 820px;
  --font-body: 16.5px;
  --line-body: 1.78;
  --font-h1: 27px;
  --font-card-title: 18px;
  --font-sub: 16px;
  --card-pad: 22px 24px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --shadow-sm: 0 2px 10px rgba(30, 58, 95, 0.05);
  --shadow-md: 0 8px 24px rgba(30, 58, 95, 0.08);
}

/* 보기 프리셋: 크게 */
html[data-view="large"] {
  --font-body: 19px;
  --line-body: 1.82;
  --font-h1: 31px;
  --font-card-title: 20.5px;
  --font-sub: 18px;
}

/* 보기 프리셋: 아주 크게 */
html[data-view="xlarge"] {
  --max-width: 900px;
  --font-body: 21.5px;
  --line-body: 1.84;
  --font-h1: 34px;
  --font-card-title: 22.5px;
  --font-sub: 20px;
}

/* 보기 프리셋: TV 미러링 (1100px 이상 확장 + 고대비 + 24px 본문 + 상단 간소화 + 아빠 팁 완전 숨김) */
html[data-view="tv"] {
  --bg-page: #F7F4EC;
  --bg-card: #FFFFFF;
  --ink-main: #111827;
  --ink-strong: #030712;
  --ink-muted: #374151;
  --border-soft: #C7BFB0;
  --max-width: 1180px;
  --font-body: 24px;
  --line-body: 1.76;
  --font-h1: 40px;
  --font-card-title: 27px;
  --font-sub: 24px;
  --card-pad: 28px 34px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-style: normal;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-page);
  color: var(--ink-main);
  font-family: 'Pretendard Variable', 'Pretendard', 'Noto Sans KR', 'Malgun Gothic', '맑은 고딕', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: var(--font-body);
  line-height: var(--line-body);
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
}

strong {
  font-weight: 800;
  color: var(--ink-strong);
}

/* ============================================================
 * 상단 고정 툴바 (4단계 보기 프리셋)
 * ============================================================ */
.top-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 244, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}

.top-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16.5px;
  font-weight: 800;
  color: var(--brand-navy);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--brand-navy);
  color: #FAF8F4;
  font-size: 14px;
  font-weight: 800;
}

.view-toolbar {
  display: inline-flex;
  align-items: center;
  background: var(--bg-subtle);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}

.view-btn {
  border: none;
  background: transparent;
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 999px;
  transition: background-color 0.16s ease, color 0.16s ease;
  white-space: nowrap;
}

.view-btn:hover {
  color: var(--brand-navy);
}

.view-btn.active {
  background: var(--brand-navy);
  color: #FFFFFF;
}

.view-btn[data-view-set="tv"].active {
  background: #0F172A;
  color: #FDE68A;
}

/* TV 미러링 시 상단 부가 메뉴 최소화 및 아빠 비밀 팁 완전 숨김 */
html[data-view="tv"] .tv-hide {
  display: none !important;
}

html[data-view="tv"] .top-bar {
  background: #FFFFFF;
  border-bottom: 2px solid #1E3A5F;
}

html[data-view="tv"] .top-bar-inner {
  padding: 8px 24px;
}

html[data-view="tv"] .dad-tip-section {
  display: none !important;
}

html[data-view="tv"] .callout-card {
  border-width: 2px;
  border-left-width: 7px;
}

/* ============================================================
 * 공통 레이아웃 컨테이너
 * ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 18px 72px;
}

/* ============================================================
 * 아카이브 메인 페이지 (index.html)
 * ============================================================ */
.hero-header {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  color: var(--brand-navy);
  background: #E8EFF7;
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.hero-title {
  font-size: var(--font-h1);
  font-weight: 800;
  color: var(--ink-strong);
  letter-spacing: -0.03em;
  line-height: 1.28;
  margin-bottom: 8px;
}

.hero-desc {
  font-size: 0.94em;
  color: var(--ink-muted);
  margin-bottom: 18px;
}

/* 52주 비전 진행률 바 */
.vision-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.vision-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-main);
}

.vision-count {
  color: var(--brand-navy);
  font-weight: 800;
}

.vision-track {
  width: 100%;
  height: 11px;
  background: #E2DBD0;
  border-radius: 999px;
  overflow: hidden;
}

.vision-fill {
  height: 100%;
  background: linear-gradient(90deg, #1E3A5F 0%, #2B6CB0 100%);
  border-radius: 999px;
  transition: width 0.4s ease;
}

/* 최신호 하이라이트 카드 */
.section-label {
  font-size: 15px;
  font-weight: 800;
  color: var(--brand-navy);
  margin: 0 0 12px 2px;
  letter-spacing: -0.01em;
}

.featured-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 22px;
  background: var(--bg-card);
  border: 1.5px solid #D5CBB8;
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-md);
  margin-bottom: 28px;
  align-items: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.featured-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(30, 58, 95, 0.11);
}

.featured-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 11px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background: #0F172A;
}

.featured-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.badge {
  display: inline-flex;
  align-items: center;
  font-size: 12.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  line-height: 1.2;
}

.badge-navy {
  background: var(--brand-navy);
  color: #FFFFFF;
}

.badge-cat {
  background: #F1ECE1;
  color: #4A3E2D;
  border: 1px solid #DFD5C3;
}

.badge-domain {
  background: #EEF5FC;
  color: #075985;
  border: 1px solid #C8E2F8;
}

.badge-date {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
}

.badge-scripture {
  background: #1E293B;
  color: #FEF3C7;
  font-size: 14px;
  padding: 6px 14px;
}

.featured-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink-strong);
  line-height: 1.32;
  letter-spacing: -0.02em;
}

.featured-sub {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.55;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand-navy);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 800;
  padding: 11px 18px;
  border-radius: 10px;
  border: none;
  transition: background-color 0.16s ease, transform 0.12s ease;
  width: fit-content;
}

.btn-primary:hover {
  background: var(--brand-navy-dark);
}

/* 필터 & 검색 영역 */
.archive-controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.search-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.search-input-wrap {
  position: relative;
  flex: 1;
}

.search-input {
  width: 100%;
  font-family: inherit;
  font-size: 15.5px;
  color: var(--ink-main);
  background: var(--bg-card);
  border: 1.5px solid var(--border-soft);
  border-radius: 12px;
  padding: 12px 42px 12px 16px;
  outline: none;
  transition: border-color 0.16s ease;
}

.search-input:focus {
  border-color: var(--brand-navy);
}

.search-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: var(--bg-subtle);
  color: var(--ink-muted);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  display: none;
}

.search-clear.visible {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sort-btn {
  border: 1.5px solid var(--border-soft);
  background: var(--bg-card);
  color: var(--ink-main);
  font-size: 14px;
  font-weight: 700;
  padding: 11px 14px;
  border-radius: 12px;
  white-space: nowrap;
}

.sort-btn:hover {
  border-color: var(--brand-navy);
  color: var(--brand-navy);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-btn {
  border: 1.5px solid var(--border-soft);
  background: var(--bg-card);
  color: var(--ink-main);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  transition: all 0.15s ease;
}

.chip-btn:hover {
  border-color: var(--brand-navy);
}

.chip-btn.active {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
  color: #FFFFFF;
}

.chip-count {
  opacity: 0.78;
  font-size: 0.88em;
  margin-left: 3px;
}

.result-meta {
  font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: 12px;
  font-weight: 600;
}

/* 회차 카드 그리드 */
.issue-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.issue-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.issue-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #C7B99F;
}

.issue-card[hidden] {
  display: none;
}

.card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0F172A;
  border-bottom: 1px solid var(--border-soft);
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink-strong);
  line-height: 1.36;
  letter-spacing: -0.02em;
}

.card-sub {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.5;
  flex: 1;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 4px;
}

.tag-pill {
  font-size: 12px;
  font-weight: 600;
  color: #5C5346;
  background: #F4F0E8;
  padding: 2px 8px;
  border-radius: 6px;
}

.empty-state {
  text-align: center;
  padding: 48px 20px;
  background: var(--bg-card);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  color: var(--ink-muted);
  margin-top: 10px;
}

/* ============================================================
 * 회차 상세 페이지 (issue/NN/index.html)
 * ============================================================ */
.action-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 18px;
}

.action-bar-bottom {
  margin-top: 28px;
  margin-bottom: 0;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
}

.action-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--bg-card);
  color: var(--ink-main);
  border: 1.5px solid var(--border-soft);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 13px;
  border-radius: 10px;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-outline:hover {
  border-color: var(--brand-navy);
  color: var(--brand-navy);
  background: #F4F7FB;
}

.btn-pdf {
  border-color: #BFDBFE;
  background: #EFF6FF;
  color: #1E40AF;
}

.btn-pdf:hover {
  background: #DBEAFE;
  border-color: #3B82F6;
}

.btn-share {
  border-color: #FDE68A;
  background: #FFFBEB;
  color: #92400E;
}

.btn-share:hover {
  background: #FEF3C7;
  border-color: #D97706;
}

/* 앞면 헤더 */
.issue-header {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: var(--card-pad);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.issue-title {
  font-size: var(--font-h1);
  font-weight: 800;
  color: var(--ink-strong);
  line-height: 1.3;
  letter-spacing: -0.03em;
  margin-top: 12px;
}

.stage-pill {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 800;
  color: var(--blue-title);
  background: var(--blue-bg);
  border: 1px solid var(--blue-border);
  padding: 4px 11px;
  border-radius: 8px;
}

/* 16:9 배너 & 캡션 */
.banner-figure {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.banner-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0F172A;
  overflow: hidden;
}

.banner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-caption {
  padding: 12px 18px;
  font-size: 0.88em;
  color: var(--ink-muted);
  background: #F6F2EA;
  border-top: 1px solid var(--border-soft);
  line-height: 1.55;
}

/* 6종 콜아웃 카드 */
.callout-card {
  border-radius: var(--radius-lg);
  padding: var(--card-pad);
  margin-bottom: 18px;
  border: 1.5px solid var(--border-soft);
  border-left-width: 6px;
  box-shadow: var(--shadow-sm);
}

.callout-amber {
  background: var(--amber-bg);
  border-color: var(--amber-border);
  border-left-color: var(--amber-accent);
}

.callout-blue {
  background: var(--blue-bg);
  border-color: var(--blue-border);
  border-left-color: var(--blue-accent);
}

.callout-slate {
  background: var(--slate-bg);
  border-color: var(--slate-border);
  border-left-color: var(--slate-accent);
}

.callout-green {
  background: var(--green-bg);
  border-color: var(--green-border);
  border-left-color: var(--green-accent);
}

.callout-purple {
  background: var(--purple-bg);
  border-color: var(--purple-border);
  border-left-color: var(--purple-accent);
}

.callout-title {
  font-size: var(--font-card-title);
  font-weight: 800;
  line-height: 1.38;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.callout-amber .callout-title { color: var(--amber-title); }
.callout-blue .callout-title { color: var(--blue-title); }
.callout-slate .callout-title { color: var(--slate-title); }
.callout-green .callout-title { color: var(--green-title); }
.callout-purple .callout-title { color: var(--purple-title); }

.curiosity-list {
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section-block {
  margin-bottom: 16px;
}

.section-block:last-child {
  margin-bottom: 0;
}

.section-heading {
  font-size: var(--font-sub);
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.45;
}

.callout-blue .section-heading { color: var(--blue-title); }
.callout-amber .section-heading { color: var(--amber-title); }

.bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bullet-list li {
  position: relative;
  padding-left: 16px;
}

.bullet-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  font-weight: 800;
  color: var(--ink-muted);
}

/* 2단계 펼치기 메인 버튼 */
.reveal-wrap {
  margin: 26px 0;
  text-align: center;
}

.btn-reveal {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #1E3A5F 0%, #264D7E 100%);
  color: #FFFFFF;
  font-size: 1.05em;
  font-weight: 800;
  padding: 18px 24px;
  border-radius: 14px;
  border: 2px solid #142844;
  box-shadow: 0 8px 20px rgba(30, 58, 95, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-reveal:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(30, 58, 95, 0.24);
}

.btn-reveal.is-open {
  background: var(--bg-card);
  color: var(--brand-navy);
  border: 2px solid var(--brand-navy);
  box-shadow: none;
}

.reveal-hint {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--ink-muted);
}

/* 2단계(뒷면) 컨테이너 */
.back-stage {
  margin-top: 8px;
  padding-top: 22px;
  border-top: 2px dashed #CFC5B4;
  animation: fadeSlideIn 0.28s ease;
}

.back-stage[hidden] {
  display: none;
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.back-stage-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.back-stage-label {
  font-size: 14px;
  font-weight: 800;
  color: var(--brand-navy);
  letter-spacing: 0.01em;
}

/* 말씀의 거울 인용 카드 */
.scripture-inner {
  background: #FFFFFF;
  border: 1px solid #D8E0EA;
  border-radius: 11px;
  padding: 18px 20px;
}

.scripture-text {
  font-size: 1.08em;
  font-weight: 700;
  color: var(--ink-strong);
  line-height: 1.82;
  margin-bottom: 10px;
}

.scripture-ref {
  text-align: right;
  font-size: 0.92em;
  font-weight: 800;
  color: var(--slate-title);
}

/* 식탁 토론 카드 */
.discussion-card {
  background: #FFFFFF;
  border: 1px solid #C6F6D5;
  border-radius: 11px;
  padding: 15px 18px;
  margin-bottom: 12px;
}

.discussion-card:last-child {
  margin-bottom: 0;
}

.discussion-label {
  font-size: 0.94em;
  font-weight: 800;
  color: var(--green-title);
  margin-bottom: 6px;
}

/* 아빠(진행자) 비밀 팁 아코디언 */
.dad-tip-section {
  margin-top: 20px;
}

.dad-tip-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--purple-bg);
  color: var(--purple-title);
  border: 1.5px solid var(--purple-border);
  border-left: 6px solid var(--purple-accent);
  border-radius: var(--radius-md);
  padding: 15px 18px;
  font-size: 0.98em;
  font-weight: 800;
  text-align: left;
  transition: background-color 0.15s ease;
}

.dad-tip-toggle:hover {
  background: #EDE9FE;
}

.dad-tip-toggle[aria-expanded="true"] {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-color: transparent;
}

.dad-tip-arrow {
  font-size: 0.85em;
  transition: transform 0.2s ease;
}

.dad-tip-toggle[aria-expanded="true"] .dad-tip-arrow {
  transform: rotate(180deg);
}

.dad-tip-panel {
  background: var(--purple-bg);
  border: 1.5px solid var(--purple-border);
  border-top: 1px dashed var(--purple-border);
  border-left: 6px solid var(--purple-accent);
  border-bottom-left-radius: var(--radius-md);
  border-bottom-right-radius: var(--radius-md);
  padding: 18px 20px;
}

.dad-tip-panel[hidden] {
  display: none;
}

.dad-tip-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dad-tip-list li {
  background: #FFFFFF;
  border: 1px solid #E9D5FF;
  border-radius: 10px;
  padding: 13px 16px;
}

.dad-tip-item-head {
  display: block;
  font-weight: 800;
  color: var(--purple-title);
  margin-bottom: 4px;
}

/* 이전/다음 회차 내비게이션 */
.issue-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}

.pager-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.pager-link:hover {
  border-color: var(--brand-navy);
  background: #F4F7FB;
}

.pager-next {
  text-align: right;
}

.pager-dir {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink-muted);
}

.pager-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink-strong);
  line-height: 1.35;
}

.pager-placeholder {
  visibility: hidden;
}

/* 푸터 */
.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 18px 42px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-muted);
}

/* 토스트 알림 */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  background: #111827;
  color: #FFFFFF;
  font-size: 14.5px;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 999;
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* 반응형 */
@media (max-width: 720px) {
  .featured-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
  }
  .issue-grid {
    grid-template-columns: 1fr;
  }
  .issue-pager {
    grid-template-columns: 1fr;
  }
  .pager-next {
    text-align: left;
  }
  .pager-placeholder {
    display: none;
  }
  .top-bar-inner {
    padding: 9px 14px;
    gap: 8px;
  }
  .view-btn {
    font-size: 12px;
    padding: 5px 9px;
  }
  .callout-card {
    padding: 18px 16px;
  }
  .container {
    padding: 18px 14px 56px;
  }
}
