@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@500;700;900&family=Noto+Sans+KR:wght@400;500;700&display=swap');

:root {
  --bg: #161C2E;
  --bg-soft: #1F2740;
  --card: #232C48;
  --gold: #D4AF6A;
  --gold-dim: #8C7442;
  --cream: #EDE7D9;
  --cream-dim: #A9A491;
  --red: #A6453D;
  --line: rgba(212, 175, 106, 0.18);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  background-image:
    radial-gradient(circle at 15% 10%, rgba(212,175,106,0.06), transparent 40%),
    radial-gradient(circle at 85% 90%, rgba(166,69,61,0.08), transparent 45%);
  color: var(--cream);
  font-family: 'Noto Sans KR', sans-serif;
  line-height: 1.7;
}

.container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* ---- 브랜드 로고 바 ---- */
.brand-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  text-decoration: none;
}

.brand-bar .brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Serif KR', serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--gold);
  background: radial-gradient(circle at 30% 30%, rgba(212,175,106,0.18), transparent 70%);
}

.brand-bar .brand-word {
  font-family: 'Noto Serif KR', serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--cream);
  letter-spacing: 0.03em;
}

/* ---- Header ---- */
header.site-header {
  padding: 56px 24px 32px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  margin-bottom: 48px;
}

.site-title {
  font-family: 'Noto Serif KR', serif;
  font-weight: 900;
  font-size: clamp(28px, 5vw, 44px);
  color: var(--gold);
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}

.site-subtitle {
  color: var(--cream-dim);
  font-size: 15px;
  margin: 0;
}

.today-label {
  display: inline-block;
  margin-top: 18px;
  padding: 6px 18px;
  border: 1px solid var(--gold-dim);
  border-radius: 999px;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.05em;
}

nav.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 24px;
  margin-top: 24px;
}

nav.site-nav a {
  color: var(--cream-dim);
  text-decoration: none;
  font-size: 14px;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

nav.site-nav a.active,
nav.site-nav a:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* ---- 12지신 원형 휠 (시그니처 요소) ---- */
.zodiac-wheel-wrap {
  display: flex;
  justify-content: center;
  margin: 8px 0 56px;
}

.zodiac-wheel {
  position: relative;
  width: min(400px, 84vw);
  height: min(400px, 84vw);
}

.zodiac-wheel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.zodiac-wheel-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 120px;
}

.zodiac-wheel-center .label {
  font-size: 11px;
  color: var(--cream-dim);
  letter-spacing: 0.1em;
}

.zodiac-wheel-center .symbol {
  font-size: 34px;
  display: block;
  margin: 4px 0;
}

.zodiac-wheel-center .name {
  font-family: 'Noto Serif KR', serif;
  font-weight: 700;
  color: var(--gold);
  font-size: 18px;
}

.zodiac-node {
  position: absolute;
  width: 68px;
  height: 68px;
  margin: -34px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.zodiac-node:hover {
  transform: scale(1.12);
  border-color: var(--gold-dim);
}

.zodiac-node.today {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 24px rgba(212,175,106,0.55);
}

/* ---- 카드 리스트 (전체 띠별 나열형) ---- */
.fortune-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}

.fortune-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.fortune-card.today {
  border: 2px solid var(--gold);
  border-radius: 24px;
  box-shadow: 0 0 0 4px rgba(212,175,106,0.12), 0 8px 28px rgba(212,175,106,0.18);
}

.today-badge {
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--gold);
  color: var(--bg);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.fortune-card .card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.fortune-card .card-symbol { font-size: 26px; }

.fortune-card .card-name {
  font-family: 'Noto Serif KR', serif;
  font-weight: 700;
  color: var(--gold);
  font-size: 18px;
}

.fortune-card .card-hanja {
  color: var(--cream-dim);
  font-size: 12px;
  white-space: nowrap;
  overflow-x: auto;
}

.fortune-card p {
  font-size: 14px;
  color: var(--cream);
  margin: 0 0 10px;
}

.fortune-card .lucky-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
}

.lucky-tag {
  font-size: 12px;
  color: var(--gold);
  background: rgba(212,175,106,0.08);
  border: 1px solid var(--gold-dim);
  padding: 4px 10px;
  border-radius: 999px;
}

/* ---- 개인 입력 페이지 ---- */
.input-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  margin-bottom: 40px;
}

.input-panel label {
  display: block;
  font-size: 14px;
  color: var(--cream-dim);
  margin-bottom: 12px;
}

.input-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.input-row input {
  background: var(--bg);
  border: 1px solid var(--gold-dim);
  color: var(--cream);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 16px;
  width: 140px;
  text-align: center;
}

.input-row button {
  background: var(--gold);
  color: var(--bg);
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  font-size: 15px;
  transition: opacity 0.2s;
}

.input-row button:hover { opacity: 0.85; }

.result-panel { display: none; }
.result-panel.show { display: block; }

.result-hero {
  text-align: center;
  padding: 28px 0;
}

.result-hero .symbol { font-size: 56px; }

.result-hero .name {
  font-family: 'Noto Serif KR', serif;
  font-weight: 900;
  color: var(--gold);
  font-size: 30px;
  margin: 8px 0 4px;
}

.result-hero .years {
  color: var(--cream-dim);
  font-size: 13px;
}

.result-section {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 24px;
  margin-bottom: 14px;
}

.result-section .section-label {
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  display: block;
}

.error-msg {
  color: var(--red);
  font-size: 13px;
  margin-top: 10px;
  display: none;
}

.error-msg.show { display: block; }

/* ---- 광고 슬롯 ---- */
.ad-slot {
  margin: 32px 0;
  padding: 14px;
  text-align: center;
  color: var(--cream-dim);
  font-size: 11px;
  border: 1px dashed var(--line);
  border-radius: 10px;
}

/* ---- 사주 결과 화면 ---- */
.saju-input-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 32px;
}

.calendar-toggle-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 16px;
}

.calendar-toggle {
  background: transparent;
  border: 1px solid var(--gold-dim);
  color: var(--cream-dim);
  padding: 8px 24px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.calendar-toggle.active {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

.saju-input-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.saju-input-grid label {
  display: block;
  font-size: 12px;
  color: var(--cream-dim);
  margin-bottom: 6px;
}

.saju-input-grid input,
.saju-input-grid select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--gold-dim);
  color: var(--cream);
  padding: 10px;
  border-radius: 8px;
  font-size: 15px;
}

.saju-submit-row {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.saju-submit-row button {
  background: var(--gold);
  color: var(--bg);
  border: none;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  font-size: 15px;
}

.saju-note {
  font-size: 12px;
  color: var(--cream-dim);
  text-align: center;
  margin-top: 14px;
  line-height: 1.6;
}

.saju-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 24px 0;
}

.saju-pillar-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 8px;
  text-align: center;
}

.saju-pillar-card .pillar-label {
  font-size: 12px;
  color: var(--cream-dim);
  margin-bottom: 10px;
}

.saju-pillar-card .pillar-god {
  font-size: 11px;
  color: var(--gold-dim);
  margin: 2px 0;
  min-height: 14px;
}

.saju-pillar-card .pillar-hanja-single {
  font-family: 'Noto Serif KR', serif;
  font-size: 26px;
  color: var(--gold);
  font-weight: 700;
  line-height: 1.25;
}

.saju-pillar-card .pillar-hangul {
  font-size: 12px;
  color: var(--cream-dim);
  margin-top: 8px;
}

.saju-pillar-card.empty {
  opacity: 0.4;
}

.result-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.result-tab {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--cream-dim);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 8px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.result-tab:hover {
  color: var(--cream);
}

.result-tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.pillar-meaning-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: -14px 0 20px;
}

.pillar-meaning-row .pm-item {
  text-align: center;
  font-size: 11px;
  color: var(--cream-dim);
  line-height: 1.5;
}

.pillar-meaning-row .pm-item strong {
  display: block;
  color: var(--gold-dim);
  font-size: 11px;
  margin-bottom: 2px;
}

.sinkang-bar-wrap {
  margin: 12px 0;
}

.sinkang-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--cream-dim);
  margin-bottom: 6px;
}

.sinkang-track {
  height: 14px;
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  overflow: hidden;
  display: flex;
}

.sinkang-fill-helper { background: var(--gold); height: 100%; }
.sinkang-fill-drainer { background: #4A6FA5; height: 100%; }

.daeun-table-wrap {
  overflow-x: auto;
  margin-top: 12px;
}

.daeun-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.daeun-table th, .daeun-table td {
  padding: 10px 8px;
  text-align: center;
  font-size: 13px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.daeun-table th {
  color: var(--gold);
  font-weight: 700;
  font-size: 12px;
}

.daeun-table .daeun-hanja {
  font-family: 'Noto Serif KR', serif;
  color: var(--gold);
  font-size: 16px;
}

.daeun-table td.current-daeun {
  background: rgba(212,175,106,0.1);
}

.daeun-table td.daeun-clickable {
  cursor: pointer;
  transition: background 0.15s;
}

.daeun-table td.daeun-clickable:hover {
  background: rgba(212,175,106,0.08);
}

.daeun-table td.daeun-selected {
  background: rgba(212,175,106,0.22) !important;
  box-shadow: inset 0 0 0 2px var(--gold);
}

/* ---- 사주풀이 / 오늘의 운세 구분선 ---- */
.section-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 40px 0 24px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
}

.section-divider::before,
.section-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}

.section-divider span {
  padding: 0 16px;
  white-space: nowrap;
}

.oheng-bar-wrap {
  margin: 24px 0;
}

.oheng-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.oheng-bar-label {
  width: 36px;
  font-size: 13px;
  color: var(--cream-dim);
  flex-shrink: 0;
}

.oheng-bar-track {
  flex: 1;
  height: 14px;
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  overflow: hidden;
}

.oheng-bar-fill {
  height: 100%;
  border-radius: 999px;
}

.oheng-bar-count {
  width: 20px;
  font-size: 12px;
  color: var(--cream-dim);
  text-align: right;
}

/* ---- 재물운 지수 랭킹 ---- */
.wealth-rank-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 10px;
}

.wealth-rank-card.top1 {
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(212,175,106,0.12);
}

.wealth-rank-num {
  font-family: 'Noto Serif KR', serif;
  font-weight: 900;
  font-size: 22px;
  color: var(--gold-dim);
  width: 34px;
  flex-shrink: 0;
  text-align: center;
}

.wealth-rank-card.top1 .wealth-rank-num,
.wealth-rank-card.top2 .wealth-rank-num,
.wealth-rank-card.top3 .wealth-rank-num {
  color: var(--gold);
}

.wealth-rank-symbol {
  font-size: 28px;
  flex-shrink: 0;
}

.wealth-rank-info {
  flex: 1;
  min-width: 0;
}

.wealth-rank-name {
  font-family: 'Noto Serif KR', serif;
  font-weight: 700;
  color: var(--cream);
  font-size: 15px;
  margin-bottom: 4px;
}

.wealth-rank-comment {
  font-size: 12px;
  color: var(--cream-dim);
}

.wealth-score-wrap {
  width: 140px;
  flex-shrink: 0;
  text-align: right;
}

.wealth-score-num {
  font-family: 'Noto Serif KR', serif;
  font-weight: 900;
  font-size: 20px;
  color: var(--gold);
}

.wealth-score-track {
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 6px;
}

.wealth-score-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold));
  border-radius: 999px;
}

@media (max-width: 480px) {
  .wealth-rank-card { gap: 10px; padding: 12px 14px; }
  .wealth-score-wrap { width: 90px; }
}

.sector-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

.sector-chip {
  font-size: 12px;
  color: var(--gold);
  background: rgba(212,175,106,0.1);
  border: 1px solid var(--gold-dim);
  padding: 6px 12px;
  border-radius: 999px;
}

/* ---- 로또번호 볼 ---- */
.lotto-grid {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.lotto-update-note {
  max-width: 560px;
  margin: 0 auto 32px;
  background: var(--card);
  border: 1px solid var(--gold-dim);
  border-radius: 12px;
  padding: 16px 20px;
  text-align: center;
  font-size: 13px;
  color: var(--cream);
}

.lotto-update-note strong {
  color: var(--gold);
}

.lotto-week-label {
  text-align: center;
  color: var(--cream-dim);
  font-size: 13px;
  margin-bottom: 20px;
}

.lotto-ball-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  margin-top: 14px;
  justify-content: space-between;
}

.lotto-ball {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--bg);
  background: var(--gold);
}

.lotto-ball.n2 { background: #7A8B69; color: var(--cream); }
.lotto-ball.n3 { background: #4A6FA5; color: var(--cream); }
.lotto-ball.n4 { background: var(--red); color: var(--cream); }
.lotto-ball.n5 { background: #8C7442; color: var(--cream); }

.lotto-disclaimer {
  text-align: center;
  color: var(--cream-dim);
  font-size: 12px;
  margin-top: 8px;
  padding: 16px;
}

@media (max-width: 400px) {
  .lotto-ball { width: 28px; height: 28px; font-size: 11px; }
}

/* ---- 푸터 ---- */
footer {
  text-align: center;
  color: var(--cream-dim);
  font-size: 12px;
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--cream-dim);
  text-decoration: none;
  font-size: 12px;
}

.footer-links a:hover {
  color: var(--gold);
}

@media (max-width: 480px) {
  .zodiac-node { width: 54px; height: 54px; margin: -27px; font-size: 26px; }
}

/* ============================================================
   블로그 섹션
   ============================================================ */

/* ---- 블로그 목록 페이지 ---- */
.blog-intro {
  text-align: center;
  color: var(--cream-dim);
  font-size: 14px;
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.blog-category-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.blog-category-tab {
  font-size: 12px;
  color: var(--cream-dim);
  border: 1px solid var(--line);
  padding: 6px 16px;
  border-radius: 999px;
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s;
}

.blog-category-tab.active,
.blog-category-tab:hover {
  color: var(--gold);
  border-color: var(--gold-dim);
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s, border-color 0.15s;
}

.blog-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-dim);
}

.blog-card-thumb {
  width: 100%;
  aspect-ratio: 1200 / 630;
  background: linear-gradient(135deg, #1F2740, #161C2E);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  flex-shrink: 0;
}

.blog-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-category {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.blog-card-title {
  font-family: 'Noto Serif KR', serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--cream);
  line-height: 1.4;
  margin-bottom: 10px;
}

.blog-card-excerpt {
  font-size: 13px;
  color: var(--cream-dim);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 14px;
}

.blog-card-meta {
  font-size: 11px;
  color: var(--gold-dim);
}

/* ---- 블로그 글 상세 페이지 (아티클) ---- */
.article-header {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.article-category {
  display: inline-block;
  font-size: 12px;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.article-title {
  font-family: 'Noto Serif KR', serif;
  font-weight: 900;
  font-size: clamp(24px, 5vw, 34px);
  color: var(--cream);
  line-height: 1.35;
  margin-bottom: 14px;
}

.article-meta {
  font-size: 13px;
  color: var(--cream-dim);
}

.article-body {
  font-size: 16px;
  line-height: 1.85;
  color: var(--cream);
  max-width: 720px;
  margin: 0 auto;
}

.article-body p {
  margin: 0 0 20px;
}

.article-body h2 {
  font-family: 'Noto Serif KR', serif;
  font-size: clamp(19px, 3.5vw, 22px);
  color: var(--gold);
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold-dim);
}

.article-body h3 {
  font-size: 17px;
  color: var(--cream);
  margin: 28px 0 12px;
}

.article-body strong {
  color: var(--gold);
}

.article-body ul,
.article-body ol {
  margin: 0 0 20px;
  padding-left: 22px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-summary-box {
  background: var(--card);
  border: 1px solid var(--gold-dim);
  border-radius: 14px;
  padding: 20px 24px;
  margin: 0 auto 36px;
  max-width: 720px;
}

.article-summary-box .label {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 10px;
}

.article-summary-box ul {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  color: var(--cream);
  line-height: 1.8;
}

.article-table-wrap {
  overflow-x: auto;
  margin: 0 0 24px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 420px;
}

.article-table th {
  background: var(--gold);
  color: var(--bg);
  padding: 10px 14px;
  text-align: left;
  font-size: 13px;
}

.article-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}

.article-tip-box {
  background: rgba(212,175,106,0.08);
  border: 1px solid var(--gold-dim);
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 14px;
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto 28px;
}

.article-tip-box .icon {
  color: var(--gold);
  font-weight: 700;
}

.article-cta {
  text-align: center;
  max-width: 720px;
  margin: 40px auto 0;
  padding: 24px;
  background: var(--card);
  border-radius: 14px;
  border: 1px solid var(--line);
}

.article-cta a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 700;
}

.article-tags {
  max-width: 720px;
  margin: 24px auto 0;
  font-size: 12px;
  color: var(--cream-dim);
  text-align: center;
}

.article-nav-back {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--cream-dim);
  text-decoration: none;
}

.article-nav-back:hover {
  color: var(--gold);
}

@media (max-width: 600px) {
  .article-body { font-size: 15px; }
  .article-summary-box, .article-tip-box { padding: 16px 18px; }
}
