/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/*
  BẢNG MÀU – Y PHẤN TẢO
  Lấy cảm hứng từ chiếc y được kết từ nhiều mảnh vải vụng nhiều màu sắc.
  Mỗi "mảnh" là một màu đất, ấm áp, không màu nào chói – nhưng ghép lại thành tổng thể hài hòa.
*/
:root {
  --p-ochre:    #C49A3C;   /* Vàng đất  – Hành Trình      */
  --p-terra:    #B85C38;   /* Đất nung  – Phật Pháp       */
  --p-sage:     #5E9467;   /* Rêu xanh  – Chuyện Bên Lề   */
  --p-indigo:   #4A6E96;   /* Chàm      – Hỏi – Đáp       */
  --p-sienna:   #8B5E3C;   /* Nâu gỗ    – Giới Thiệu      */
  --p-mauve:    #8B6882;   /* Tím đất   – Trích dẫn        */

  --cream:      #F6F0E4;
  --cream-dk:   #EDE4D0;
  --white:      #FFFDF8;
  --border:     #E2D8C5;
  --text:       #2C1E10;
  --muted:      #7A6850;
  --radius:     10px;
  --shadow:     0 4px 20px rgba(0,0,0,.08);
  --shadow-md:  0 8px 36px rgba(0,0,0,.14);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Be Vietnam Pro', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ===== PATCH DIVIDER – dải kẻ sọc y phấn tảo ===== */
.patch-divider {
  height: 5px;
  background: linear-gradient(90deg,
    var(--p-ochre)  0%    16.6%,
    var(--p-terra)  16.6% 33.2%,
    var(--p-sage)   33.2% 49.8%,
    var(--p-indigo) 49.8% 66.4%,
    var(--p-mauve)  66.4% 83%,
    var(--p-sienna) 83%   100%
  );
}

/* ===== HEADER ===== */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(246,240,228,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
#site-header.scrolled { box-shadow: 0 2px 24px rgba(44,30,16,.1); }

.nav-wrap {
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.logo { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; }
.logo-icon { font-size: 1.35rem; color: var(--p-ochre); }
.logo-text strong { color: var(--p-terra); }
.logo-light .logo-text { color: rgba(255,255,255,.8); }
.logo-light .logo-text strong { color: #F6D99A; }
.logo-light .logo-icon { color: #F6D99A; }

.main-nav ul { display: flex; list-style: none; gap: 28px; }
.main-nav a {
  font-size: .88rem; font-weight: 500; color: var(--muted);
  padding-bottom: 3px; border-bottom: 2px solid transparent; transition: .2s;
}
.main-nav a:hover { color: var(--p-terra); border-color: var(--p-terra); }
.main-nav a.active { color: var(--p-terra); border-color: var(--p-terra); }

/* nav active color per page */
.page-hanh .main-nav a.active   { color: var(--p-ochre);  border-color: var(--p-ochre);  }
.page-hoidap .main-nav a.active { color: var(--p-indigo); border-color: var(--p-indigo); }
.page-phap .main-nav a.active   { color: var(--p-sage);   border-color: var(--p-sage);   }
.page-cbl .main-nav a.active    { color: var(--p-sienna); border-color: var(--p-sienna); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(ellipse at 50% 108%, rgba(196,154,60,.65) 0%, transparent 42%),
    radial-gradient(ellipse at 50%  95%, rgba(184,92,56,.38) 0%, transparent 38%),
    radial-gradient(ellipse at 88%  8%,  rgba(74,110,150,.5) 0%, transparent 50%),
    radial-gradient(ellipse at 12%  8%,  rgba(139,104,130,.4) 0%, transparent 50%),
    radial-gradient(ellipse at 55% 45%,  rgba(94,148,103,.1) 0%, transparent 55%),
    #0C1929;
  overflow: hidden; text-align: center;
}

/* decorative mandala rings */
.hero-ring {
  position: absolute; border-radius: 50%;
  pointer-events: none; z-index: 1;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
}
.hero-ring.r1 { width: 380px; height: 380px; border: 1px solid rgba(196,154,60,.18); }
.hero-ring.r2 { width: 600px; height: 600px; border: 1px solid rgba(196,154,60,.10); }
.hero-ring.r3 { width: 860px; height: 860px; border: 1px solid rgba(196,154,60,.05); }

.hero-content {
  position: relative; z-index: 2; color: white; max-width: 760px; padding-top: 64px;
}
.hero-label {
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(246,217,154,.75); margin-bottom: 20px;
}
.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 7vw, 5rem); line-height: 1.1;
  color: #fff; margin-bottom: 22px;
}
.hero-content h1 em { font-style: italic; color: #F6D99A; }
.hero-sub { font-size: 1rem; color: rgba(255,255,255,.68); margin-bottom: 40px; line-height: 1.85; }

.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 28px; border-radius: 50px;
  font-weight: 600; font-size: .88rem; transition: .25s; cursor: pointer;
}
.btn-primary { background: var(--p-terra); color: #fff; border: 2px solid var(--p-terra); }
.btn-primary:hover {
  background: #9A4A2A; border-color: #9A4A2A;
  transform: translateY(-2px); box-shadow: 0 6px 22px rgba(184,92,56,.45);
}
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.45); }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.8); }
.btn-ochre { background: var(--p-ochre); color: #fff; border: 2px solid var(--p-ochre); }
.btn-ochre:hover { background: #A87E2A; transform: translateY(-2px); }

/* stats row inside hero */
.hero-stats {
  display: flex; justify-content: center; flex-wrap: wrap;
  margin-top: 52px; padding-top: 32px;
  border-top: 1px solid rgba(196,154,60,.22);
}
.hero-stat {
  flex: 1; min-width: 90px; max-width: 160px;
  text-align: center; padding: 0 18px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.hero-stat:last-child { border-right: none; }
.stat-num {
  display: block; font-family: 'Playfair Display', serif;
  font-size: 2.4rem; font-weight: 700; color: #F6D99A; line-height: 1;
}
.stat-label {
  display: block; font-size: .68rem; color: rgba(255,255,255,.48);
  text-transform: uppercase; letter-spacing: .12em; margin-top: 6px;
}

.hero-scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.3); font-size: 1.4rem; animation: bounce 2s infinite; z-index: 2;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ===== PAGE HERO (subpages) ===== */
.page-hero {
  padding: 120px 0 64px;
  color: white;
}
.page-hero.hoidap-hero {
  background:
    radial-gradient(ellipse at 25% 80%, rgba(74,110,150,.55) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(139,104,130,.4) 0%, transparent 50%),
    #0A1525;
}
.page-hero.phap-hero {
  background:
    radial-gradient(ellipse at 20% 80%, rgba(94,148,103,.5) 0%, transparent 52%),
    radial-gradient(ellipse at 82% 18%, rgba(196,154,60,.32) 0%, transparent 50%),
    radial-gradient(ellipse at 55% 55%, rgba(74,110,150,.18) 0%, transparent 50%),
    #0E2418;
}
.page-hero.cbl-hero {
  background:
    radial-gradient(ellipse at 22% 78%, rgba(184,92,56,.5) 0%, transparent 52%),
    radial-gradient(ellipse at 80% 22%, rgba(139,88,60,.38) 0%, transparent 50%),
    radial-gradient(ellipse at 52% 52%, rgba(196,154,60,.18) 0%, transparent 55%),
    #1E0E05;
}
.page-hero.gioi-hero {
  background:
    radial-gradient(ellipse at 28% 72%, rgba(139,94,60,.55) 0%, transparent 52%),
    radial-gradient(ellipse at 78% 25%, rgba(196,154,60,.38) 0%, transparent 50%),
    #1A0E05;
}
.page-hero.ung-ho-hero {
  background:
    radial-gradient(ellipse at 25% 80%, rgba(94,148,103,.4) 0%, transparent 50%),
    radial-gradient(ellipse at 78% 22%, rgba(196,154,60,.3) 0%, transparent 50%),
    #0E1A0E;
}
.page-hero.cn-hero {
  background:
    radial-gradient(ellipse at 22% 78%, rgba(140,80,180,.45) 0%, transparent 52%),
    radial-gradient(ellipse at 80% 20%, rgba(196,154,60,.28) 0%, transparent 50%),
    radial-gradient(ellipse at 55% 50%, rgba(184,92,56,.18) 0%, transparent 55%),
    #180D28;
}

/* two-column page hero layout */
.page-hero-inner {
  display: flex; align-items: center; gap: 48px; justify-content: center;
}
.page-hero-icon {
  font-size: 5.5rem; flex-shrink: 0; line-height: 1;
  filter: drop-shadow(0 0 32px rgba(255,255,255,.2));
}
.page-hero-text { text-align: left; }
.page-hero-label {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .16em; color: rgba(255,255,255,.45); margin-bottom: 10px;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 12px; color: #fff;
}
.page-hero p { color: rgba(255,255,255,.62); font-size: .95rem; line-height: 1.7; }

/* centered fallback (ung-ho) */
.page-hero.center-hero { text-align: center; }
.page-hero.center-hero .page-hero-inner { flex-direction: column; gap: 16px; }
.page-hero.center-hero .page-hero-text { text-align: center; }

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--white); }

.section-header {
  display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 40px;
}
.section-header.center { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.section-header h2 { font-family: 'Playfair Display', serif; font-size: 1.85rem; color: var(--text); }
.section-sub { color: var(--muted); font-size: .93rem; }
.see-all { font-size: .83rem; font-weight: 700; color: var(--p-terra); transition: .2s; }
.see-all:hover { color: #9A4A2A; }

/* ===== INTRO STRIP ===== */
.intro-strip { padding: 60px 0; background: var(--white); }
.intro-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.intro-card {
  text-align: center; padding: 30px 22px; border-radius: var(--radius);
  background: var(--cream); border: 1px solid var(--border); transition: .25s;
}
.intro-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.intro-icon { font-size: 2.1rem; margin-bottom: 12px; }
.intro-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.intro-card p  { font-size: .86rem; color: var(--muted); line-height: 1.65; }

/* ===== VIDEO GRID ===== */
.video-grid { display: grid; grid-template-columns: 1fr 370px; gap: 24px; align-items: start; }
.video-card.featured { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); background: var(--white); }
.video-thumb { position: relative; padding-bottom: 56.25%; background: #1a1a1a; }
.video-thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.video-info { padding: 20px; }
.video-info h3 { font-size: .98rem; font-weight: 600; margin: 8px 0 4px; line-height: 1.4; }
.video-date { font-size: .78rem; color: var(--muted); }
.video-side { display: flex; flex-direction: column; gap: 10px; }
.video-mini {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--border); transition: .2s; cursor: pointer;
}
.video-mini:hover { box-shadow: var(--shadow); }
.video-mini-thumb {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 8px;
  background: var(--p-terra); color: white;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.video-mini h4 { font-size: .83rem; font-weight: 600; line-height: 1.4; margin: 3px 0; }

/* ===== TAGS (patch colors per category) ===== */
.tag {
  display: inline-block; font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .09em;
  padding: 3px 11px; border-radius: 20px; margin-bottom: 8px;
}
.tag-hanh  { background: #FBF0D8; color: #8B6A1A; }
.tag-phap  { background: #DDF0E2; color: #2E6B42; }
.tag-hoi   { background: #DDE8F5; color: #2B507A; }
.tag-cbl   { background: #F5E5D8; color: #7A3E1E; }
.tag-hot   { background: #F5DDD8; color: #7A2E1E; }
.tag-cn    { background: #EDE8F5; color: #5A3C7A; }

/* ===== POST GRID ===== */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card {
  border-radius: var(--radius); overflow: hidden; background: var(--cream);
  border: 1px solid var(--border); transition: .25s;
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.post-thumb { aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; }
.post-body { padding: 22px; }
.post-body h3 { font-size: .93rem; font-weight: 700; line-height: 1.45; margin-bottom: 10px; }
.post-body h3 a:hover { color: var(--p-terra); }
.post-body p  { font-size: .84rem; color: var(--muted); line-height: 1.7; margin-bottom: 14px; }
.read-more { font-size: .82rem; font-weight: 600; color: var(--p-terra); transition: .2s; }
.read-more:hover { color: #9A4A2A; }

/* ===== TOPIC GRID ===== */
.topic-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.topic-card {
  padding: 28px 18px; border-radius: var(--radius); text-align: center;
  transition: .25s; border: 1px solid var(--border);
}
.topic-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.tc-1 { background: #FBF0D8; border-color: #EDD89A; }
.tc-2 { background: #DDF0E2; border-color: #A8D4B5; }
.tc-3 { background: #DDE8F5; border-color: #A5BFD9; }
.tc-4 { background: #F5E5D8; border-color: #D9B99A; }
.tc-icon { font-size: 1.9rem; margin-bottom: 12px; }
.topic-card h3 { font-size: .9rem; font-weight: 700; margin-bottom: 6px; }
.topic-card p  { font-size: .8rem; color: var(--muted); line-height: 1.55; }

/* ===== QUOTE SECTION ===== */
.quote-section {
  background:
    radial-gradient(ellipse at 15% 70%, rgba(196,154,60,.2) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 30%, rgba(94,148,103,.15) 0%, transparent 50%),
    #1E1208;
  padding: 80px 0;
}
.big-quote { max-width: 760px; margin: 0 auto; text-align: center; }
.big-quote p {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.25rem, 3vw, 1.85rem);
  font-style: italic; line-height: 1.65; color: rgba(255,255,255,.88); margin-bottom: 24px;
}
.big-quote cite { font-size: .88rem; color: #F6D99A; font-style: normal; font-weight: 500; letter-spacing: .05em; }

/* ===== SOCIAL ===== */
.social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 760px; margin: 0 auto; }
.social-card {
  display: flex; align-items: center; gap: 18px;
  padding: 26px 30px; border-radius: var(--radius); transition: .25s; color: #fff;
}
.social-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.social-card.youtube  { background: linear-gradient(135deg, #b30000, #e03333); }
.social-card.facebook { background: linear-gradient(135deg, #1a4a8a, #2d74d4); }
.social-icon svg { width: 38px; height: 38px; }
.social-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 3px; }
.social-card p  { font-size: .83rem; opacity: .82; margin-bottom: 8px; }
.social-cta { font-size: .8rem; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.4); }

/* ===== Q&A STYLES ===== */
.qa-intro {
  max-width: 680px; margin: 0 auto 52px; text-align: center;
  font-size: .93rem; color: var(--muted); line-height: 1.8;
}
.qa-intro strong { color: var(--text); }

.qa-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.qa-filter-btn {
  padding: 7px 18px; border-radius: 50px; border: 1.5px solid var(--border);
  background: var(--white); font-family: 'Be Vietnam Pro', sans-serif;
  font-size: .82rem; font-weight: 600; color: var(--muted); cursor: pointer; transition: .2s;
}
.qa-filter-btn.active, .qa-filter-btn:hover {
  background: var(--p-indigo); border-color: var(--p-indigo); color: #fff;
}

.qa-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; color: var(--p-indigo);
  margin: 40px 0 16px; padding-bottom: 10px;
  border-bottom: 2px solid #DDE8F5;
}

.qa-pair {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden; margin-bottom: 16px;
  transition: box-shadow .2s;
}
.qa-pair:hover { box-shadow: var(--shadow); }

.qa-question {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 20px 24px 16px;
  border-bottom: 1px dashed var(--border);
  background: #F0F4FA;
}
.qa-q-icon {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  background: var(--p-indigo); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; font-weight: 700; margin-top: 2px;
}
.qa-q-body { flex: 1; }
.qa-q-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--p-indigo); margin-bottom: 5px; }
.qa-question p { font-size: .93rem; font-weight: 600; color: var(--text); line-height: 1.5; }

.qa-answer {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 20px 24px 22px;
}
.qa-a-icon {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  background: #FBF0D8; color: var(--p-sienna);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; margin-top: 2px;
}
.qa-a-body { flex: 1; }
.qa-a-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--p-sienna); margin-bottom: 6px; }
.qa-answer p { font-size: .9rem; color: #4A3520; line-height: 1.82; }
.qa-answer p + p { margin-top: 10px; }
.qa-answer em { font-style: italic; color: var(--p-sienna); }

.qa-source {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .72rem; color: var(--muted); margin-top: 10px;
  padding: 3px 10px; border-radius: 20px; background: var(--cream);
  border: 1px solid var(--border);
}

/* ===== DONATE SECTION ===== */
.donate-section {
  background:
    radial-gradient(ellipse at 20% 80%, rgba(94,148,103,.18) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(196,154,60,.15) 0%, transparent 50%),
    #1E1208;
  padding: 80px 0; color: white;
}
.donate-section .section-header h2 { color: #fff; }
.donate-section .section-sub { color: rgba(255,255,255,.6); }

.donate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.donate-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px; padding: 28px 30px;
  transition: .25s;
}
.donate-card:hover { background: rgba(255,255,255,.11); border-color: rgba(246,217,154,.3); }
.donate-card-icon { font-size: 2rem; margin-bottom: 14px; }
.donate-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: #fff; }
.donate-card p  { font-size: .85rem; color: rgba(255,255,255,.65); line-height: 1.75; margin-bottom: 18px; }

.donate-info-box {
  background: rgba(196,154,60,.12);
  border: 1px solid rgba(196,154,60,.25);
  border-radius: 10px; padding: 16px 20px; margin-bottom: 16px;
}
.donate-info-row { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; margin-bottom: 6px; }
.donate-info-row:last-child { margin-bottom: 0; }
.donate-info-row .label { color: rgba(255,255,255,.55); }
.donate-info-row .value { font-weight: 700; color: #F6D99A; font-family: monospace; font-size: .88rem; }
.copy-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px;
  border-radius: 8px; border: 1px solid rgba(255,255,255,.2);
  background: none; color: rgba(255,255,255,.7); font-size: .78rem; font-weight: 600;
  cursor: pointer; font-family: 'Be Vietnam Pro', sans-serif; transition: .2s;
}
.copy-btn:hover { background: rgba(255,255,255,.1); color: #fff; }
.copy-btn.copied { border-color: var(--p-sage); color: #A8D4B5; }

.donate-transparency {
  margin-top: 48px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px; padding: 28px 32px;
  max-width: 740px; margin-left: auto; margin-right: auto; margin-top: 48px;
}
.donate-transparency h4 { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.4); margin-bottom: 16px; }
.transparency-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.transparency-item { text-align: center; }
.transparency-item .pct { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: #F6D99A; }
.transparency-item p { font-size: .78rem; color: rgba(255,255,255,.55); line-height: 1.5; margin-top: 4px; }

/* ===== AFFILIATE SECTION ===== */
.affiliate-strip {
  background: var(--cream-dk); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 56px 0;
}
.affiliate-intro { max-width: 620px; margin: 0 auto 36px; text-align: center; }
.affiliate-intro h2 { font-family: 'Playfair Display', serif; font-size: 1.6rem; margin-bottom: 10px; }
.affiliate-intro p { font-size: .88rem; color: var(--muted); line-height: 1.75; }
.affiliate-intro .disclosure {
  display: inline-block; margin-top: 10px; font-size: .73rem; color: var(--muted);
  background: var(--cream); border: 1px solid var(--border); border-radius: 20px; padding: 3px 12px;
}

.book-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.book-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: .25s;
}
.book-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.book-cover {
  height: 130px; display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.book-info { padding: 16px; }
.book-info h4 { font-size: .85rem; font-weight: 700; line-height: 1.4; margin-bottom: 4px; }
.book-info .book-author { font-size: .75rem; color: var(--muted); margin-bottom: 12px; }
.book-info .book-price { font-size: .82rem; font-weight: 700; color: var(--p-terra); margin-bottom: 10px; }
.book-buy-btn {
  display: block; text-align: center; padding: 8px;
  background: var(--p-ochre); color: #fff;
  border-radius: 8px; font-size: .78rem; font-weight: 700; transition: .2s;
}
.book-buy-btn:hover { background: #A87E2A; }

/* ===== FOOTER ===== */
.site-footer { background: #140D05; color: rgba(255,255,255,.65); }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 48px; padding: 56px 0 36px; }
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { font-size: .84rem; line-height: 1.75; }
.footer-links h4 {
  font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  color: rgba(255,255,255,.35); margin-bottom: 14px;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { font-size: .86rem; color: rgba(255,255,255,.6); transition: .2s; }
.footer-links a:hover { color: #F6D99A; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 18px 0; }
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.3); text-align: center; }

/* ===== GIỚI THIỆU STYLES ===== */
.bio-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 52px; align-items: start; }
.bio-photo {
  border-radius: 14px; overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 80%, rgba(184,92,56,.5) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(94,148,103,.3) 0%, transparent 50%),
    #2C1E10;
  height: 420px; display: flex; align-items: center; justify-content: center;
  font-size: 5rem; box-shadow: var(--shadow-md);
}
.bio-content h2 { font-family: 'Playfair Display', serif; font-size: 1.9rem; margin-bottom: 18px; }
.bio-content p { color: var(--muted); line-height: 1.85; margin-bottom: 15px; font-size: .93rem; }
.timeline { position: relative; padding-left: 26px; margin-top: 14px; }
.timeline::before { content:''; position:absolute; left:6px; top:4px; bottom:4px; width:2px; background:var(--border); }
.tl-item { position: relative; margin-bottom: 24px; }
.tl-dot { position:absolute; left:-22px; top:5px; width:13px; height:13px; border-radius:50%; background:var(--p-ochre); border:2px solid var(--cream); box-shadow:0 0 0 2px var(--p-ochre); }
.tl-year { font-size:.75rem; font-weight:700; text-transform:uppercase; letter-spacing:.1em; color:var(--p-ochre); margin-bottom:3px; }
.tl-item h4 { font-size:.93rem; font-weight:600; margin-bottom:5px; }
.tl-item p  { font-size:.83rem; color:var(--muted); line-height:1.65; }

.hanh-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hanh-item {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; transition: .2s;
  border-left: 3px solid transparent;
}
.hanh-item:hover { box-shadow: var(--shadow); border-left-color: var(--p-ochre); }
.hanh-num {
  width:34px; height:34px; border-radius:50%; background:#FBF0D8; color:var(--p-sienna);
  font-weight:700; font-size:.82rem; display:flex; align-items:center; justify-content:center; margin-bottom:10px;
}
.hanh-item h4 { font-size:.88rem; font-weight:700; margin-bottom:5px; }
.hanh-item p  { font-size:.78rem; color:var(--muted); line-height:1.6; }

/* ===== PHÁP STYLES ===== */
.featured-article {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  align-items: stretch; background: var(--white); border-radius: 16px;
  overflow: hidden; box-shadow: var(--shadow-md); margin-bottom: 52px;
  border: 1px solid var(--border);
}
.fa-thumb {
  min-height: 300px; display: flex; align-items: center; justify-content: center;
  font-size: 5.5rem;
}
.fa-body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.fa-body h2 { font-family:'Playfair Display',serif; font-size:1.55rem; line-height:1.35; margin-bottom:14px; }
.fa-body p  { font-size:.9rem; color:var(--muted); line-height:1.82; margin-bottom:22px; }

.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.article-card { border-radius:var(--radius); overflow:hidden; background:var(--white); border:1px solid var(--border); transition:.25s; }
.article-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-md); }
.article-thumb { aspect-ratio:4/3; display:flex; align-items:center; justify-content:center; font-size:2.8rem; }
.article-body { padding:20px; }
.article-body h3 { font-size:.92rem; font-weight:700; line-height:1.45; margin-bottom:8px; }
.article-body h3 a:hover { color:var(--p-sage); }
.article-body p  { font-size:.83rem; color:var(--muted); line-height:1.7; margin-bottom:12px; }
.article-meta { font-size:.74rem; color:var(--muted); display:flex; gap:10px; align-items:center; }

/* ===== CHUYỆN BÊN LỀ ===== */
.story-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:28px; }
.story-card { background:var(--white); border:1px solid var(--border); border-radius:14px; overflow:hidden; transition:.25s; }
.story-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-md); }
.story-card.wide { grid-column: 1/-1; display:grid; grid-template-columns:2fr 3fr; }
.story-thumb { height:200px; display:flex; align-items:center; justify-content:center; font-size:3.5rem; }
.story-card.wide .story-thumb { height:auto; min-height:240px; }
.story-body { padding:26px; }
.story-location { display:flex; gap:6px; font-size:.73rem; font-weight:700; text-transform:uppercase; letter-spacing:.08em; color:var(--muted); margin-bottom:10px; }
.story-body h3 { font-family:'Playfair Display',serif; font-size:1.15rem; line-height:1.4; margin-bottom:12px; }
.story-card.wide .story-body h3 { font-size:1.4rem; }
.story-body p { font-size:.87rem; color:var(--muted); line-height:1.8; margin-bottom:16px; }
.story-footer { display:flex; justify-content:space-between; align-items:center; padding-top:14px; border-top:1px solid var(--border); }
.story-author { font-size:.8rem; color:var(--muted); }
.story-author strong { color:var(--text); }

.testimonial-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.testimonial-card { background:var(--cream); border:1px solid var(--border); border-radius:var(--radius); padding:22px; }
.testimonial-card blockquote { font-size:.88rem; font-style:italic; color:var(--text); line-height:1.75; margin-bottom:14px; }
.testimonial-card blockquote::before { content:'\201C'; font-size:1.4rem; color:var(--p-ochre); line-height:0; vertical-align:-.3em; margin-right:2px; }
.testimonial-card blockquote::after  { content:'\201D'; font-size:1.4rem; color:var(--p-ochre); line-height:0; vertical-align:-.3em; margin-left:2px; }
.testimonial-meta { font-size:.77rem; font-weight:600; color:var(--muted); }
.testimonial-meta span { color:var(--p-terra); }

/* ===== NEWSPAPER LISTING (hoi-dap) ===== */
.news-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }

/* Featured block */
.news-featured {
  display: grid; grid-template-columns: 2fr 1fr; gap: 20px; margin-bottom: 28px;
}
.news-main-article {
  border-radius: 12px; overflow: hidden; background: var(--white);
  border: 1px solid var(--border); display: flex; flex-direction: column; transition: .25s;
}
.news-main-article:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.news-main-thumb {
  aspect-ratio: 16/10;
  display: flex; align-items: center; justify-content: center; font-size: 5rem;
}
.news-main-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.news-main-body .post-tag { margin-bottom: 10px; }
.news-main-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; line-height: 1.35; margin-bottom: 10px;
}
.news-main-body h2 a:hover { color: var(--p-indigo); }
.news-main-body p { font-size: .87rem; color: var(--muted); line-height: 1.75; margin-bottom: 16px; flex: 1; }
.news-main-meta { font-size: .74rem; color: var(--muted); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

.news-side-col { display: flex; flex-direction: column; gap: 16px; }
.news-side-article {
  border-radius: 10px; overflow: hidden; background: var(--white);
  border: 1px solid var(--border); transition: .2s; display: flex; flex-direction: column;
}
.news-side-article:hover { box-shadow: var(--shadow); border-color: #D4C8B0; }
.news-side-thumb {
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center; font-size: 2.5rem;
}
.news-side-body { padding: 14px 16px; }
.news-side-body .post-tag { margin-bottom: 7px; }
.news-side-body h3 { font-size: .88rem; font-weight: 700; line-height: 1.4; margin-bottom: 6px; }
.news-side-body h3 a:hover { color: var(--p-indigo); }
.news-side-meta { font-size: .72rem; color: var(--muted); }

/* Article list */
.news-list { display: flex; flex-direction: column; }
.news-list-item {
  display: grid; grid-template-columns: 220px 1fr;
  gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--border);
  align-items: start; text-decoration: none; color: inherit; transition: .15s;
}
.news-list-item:first-child { border-top: 1px solid var(--border); }
.news-list-item:hover .news-list-title { color: var(--p-indigo); }
.news-thumb-43 {
  aspect-ratio: 3/2; border-radius: 8px; overflow: hidden;
  display: flex; align-items: center; justify-content: center; font-size: 2.5rem;
  flex-shrink: 0; width: 100%;
}
.news-list-body { display: flex; flex-direction: column; justify-content: flex-start; }
.news-list-meta { font-size: .72rem; color: var(--muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 6px; }
.news-list-title { font-size: .95rem; font-weight: 700; line-height: 1.45; color: var(--text); margin-bottom: 7px; transition: color .2s; }
.news-list-excerpt { font-size: .82rem; color: var(--muted); line-height: 1.65; margin-bottom: 10px; }
.news-list-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.news-tag-pill {
  font-size: .67rem; padding: 2px 9px; border-radius: 20px;
  background: var(--cream); border: 1px solid var(--border);
  color: var(--muted); font-weight: 600;
}

/* Category bar */
.category-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.cat-btn {
  padding: 7px 16px; border-radius: 50px;
  border: 1.5px solid var(--border); background: var(--white);
  font-family: 'Be Vietnam Pro', sans-serif; font-size: .8rem; font-weight: 600;
  color: var(--muted); cursor: pointer; transition: .2s;
}
.cat-btn:hover { border-color: var(--p-indigo); color: var(--p-indigo); }
.cat-btn.active { background: var(--p-indigo); border-color: var(--p-indigo); color: #fff; }

/* Section divider label */
.news-section-label {
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  color: var(--muted); border-bottom: 2px solid var(--p-indigo);
  padding-bottom: 8px; margin-bottom: 0; display: inline-block;
}

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.page-btn {
  width: 38px; height: 38px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 600; border: 1.5px solid var(--border);
  background: var(--white); color: var(--muted); transition: .2s; cursor: pointer;
  font-family: 'Be Vietnam Pro', sans-serif;
}
.page-btn:hover { border-color: var(--p-indigo); color: var(--p-indigo); }
.page-btn.active { background: var(--p-indigo); border-color: var(--p-indigo); color: #fff; }
.page-btn.dots { cursor: default; border-color: transparent; background: none; }

/* Sidebar */
.news-sidebar { position: sticky; top: 80px; }
.sidebar-box {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px; margin-bottom: 20px;
}
.sidebar-box h4 {
  font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--muted); margin-bottom: 14px;
}
.sidebar-tag-cloud { display: flex; flex-wrap: wrap; gap: 7px; }
.sidebar-tag {
  padding: 4px 12px; border-radius: 20px; background: var(--cream);
  border: 1px solid var(--border); font-size: .76rem; font-weight: 600;
  color: var(--muted); transition: .2s;
}
.sidebar-tag:hover { background: var(--p-indigo); color: #fff; border-color: var(--p-indigo); }

/* ===== SHARED PAGE LAYOUT — main + sidebar (dùng chung cho phap/cbl/hoi-dap) ===== */
.page-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

/* Filter bar – pháp */
.filter-btn {
  padding: 8px 20px; border-radius: 50px; border: 1.5px solid var(--border);
  background: var(--white); font-family: 'Be Vietnam Pro', sans-serif;
  font-size: .85rem; font-weight: 600; color: var(--muted); cursor: pointer; transition: .2s;
}
.filter-btn:hover  { border-color: var(--p-sage); color: var(--p-sage); }
.filter-btn.active { background: var(--p-sage); border-color: var(--p-sage); color: #fff; }

/* Top story: horizontal hero card */
.top-story {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  margin-bottom: 28px;
  text-decoration: none;
  color: inherit;
  transition: .25s;
  box-shadow: var(--shadow);
}
.top-story:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.top-story-thumb {
  display: flex; align-items: center; justify-content: center;
  font-size: 5.5rem; min-height: 260px;
}
.top-story-body {
  padding: 30px 28px;
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
  border-left: 1px solid var(--border);
}
.top-story-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.38rem; line-height: 1.4; font-weight: 700; color: var(--text);
}
.top-story-excerpt { font-size: .88rem; color: var(--muted); line-height: 1.82; }
.top-story-meta {
  font-size: .74rem; color: var(--muted);
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
}

/* Content section divider */
.content-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 26px 0 18px;
}
.content-divider-title {
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .14em; white-space: nowrap; color: var(--muted);
}
.content-divider-line { flex: 1; height: 1px; background: var(--border); }
.content-divider.cd-sage   .content-divider-title { color: var(--p-sage); }
.content-divider.cd-sage   .content-divider-line  { background: #A8D4B5; }
.content-divider.cd-terra  .content-divider-title { color: var(--p-terra); }
.content-divider.cd-terra  .content-divider-line  { background: #D4A090; }
.content-divider.cd-indigo .content-divider-title { color: var(--p-indigo); }
.content-divider.cd-indigo .content-divider-line  { background: #A5BFD9; }
.content-divider .see-all {
  font-size: .74rem; font-weight: 700; color: var(--p-terra); white-space: nowrap;
}
.content-divider .see-all:hover { color: #9A4A2A; }

/* Secondary grid: 2-column medium cards */
.secondary-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 4px;
}
.secondary-card {
  border-radius: 12px; overflow: hidden; background: var(--white);
  border: 1px solid var(--border); transition: .25s;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
}
.secondary-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.secondary-thumb {
  aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center; font-size: 3.5rem;
}
.secondary-body {
  padding: 16px 18px; flex: 1;
  display: flex; flex-direction: column; gap: 6px;
}
.secondary-title {
  font-size: .92rem; font-weight: 700; line-height: 1.45;
  color: var(--text); transition: color .2s;
}
.secondary-card:hover .secondary-title { color: var(--p-ochre); }
.secondary-excerpt { font-size: .8rem; color: var(--muted); line-height: 1.65; flex: 1; }
.secondary-meta { font-size: .72rem; color: var(--muted); display: flex; gap: 10px; }

/* Compact list: small thumb + text rows */
.compact-list { display: flex; flex-direction: column; }
.compact-item {
  display: grid; grid-template-columns: 220px 1fr;
  gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--border);
  text-decoration: none; color: inherit; align-items: start;
}
.compact-item:first-child { border-top: 1px solid var(--border); }
.compact-thumb {
  aspect-ratio: 3/2; border-radius: 8px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; flex-shrink: 0; width: 100%;
}
.compact-body { display: flex; flex-direction: column; gap: 4px; justify-content: center; }
.compact-title {
  font-size: .9rem; font-weight: 700; line-height: 1.45;
  color: var(--text); transition: color .2s;
}
.compact-item:hover .compact-title { color: var(--p-ochre); }
.compact-meta {
  font-size: .71rem; color: var(--muted);
  display: flex; gap: 7px; flex-wrap: wrap; align-items: center;
}
.compact-excerpt {
  font-size: .8rem; color: var(--muted); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}

/* Page sidebar – reusable */
.page-sidebar {
  position: sticky; top: 80px;
  display: flex; flex-direction: column; gap: 18px;
}
.sidebar-widget {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
}
.sidebar-widget-hd {
  padding: 11px 16px; font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  background: var(--cream); border-bottom: 1px solid var(--border); color: var(--muted);
}
.sidebar-widget-bd { padding: 14px 16px; }

/* Numbered most-read list */
.read-most-list { list-style: none; display: flex; flex-direction: column; }
.read-most-item {
  display: grid; grid-template-columns: 28px 1fr;
  gap: 10px; align-items: start;
  padding: 9px 0; border-bottom: 1px solid var(--border);
  text-decoration: none; color: inherit;
}
.read-most-item:last-child { border-bottom: none; padding-bottom: 0; }
.read-most-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; font-weight: 700; color: #ddd; line-height: 1.2;
}
.read-most-item:nth-child(1) .read-most-num { color: var(--p-ochre); }
.read-most-item:nth-child(2) .read-most-num { color: var(--p-terra); }
.read-most-item:nth-child(3) .read-most-num { color: var(--p-sienna); }
.read-most-title {
  font-size: .83rem; font-weight: 600; line-height: 1.45;
  color: var(--text); transition: color .2s;
}
.read-most-item:hover .read-most-title { color: var(--p-ochre); }

/* ===== ALTERNATING TIMELINE (gioi-thieu) ===== */
.timeline-alt {
  position: relative; margin-top: 64px;
}
.timeline-alt::before {
  content: ''; position: absolute;
  left: 50%; top: 0; bottom: 0; width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg,
    var(--p-ochre) 0%, var(--p-terra) 40%,
    var(--p-indigo) 80%, var(--p-sage) 100%);
}
.tl-milestone {
  display: grid; grid-template-columns: 1fr 100px 1fr;
  margin-bottom: 52px; align-items: center;
}
.tl-center { display: flex; justify-content: center; position: relative; z-index: 2; }
.tl-badge {
  width: 84px; height: 84px; border-radius: 50%; flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-weight: 700; color: #fff;
  font-size: .9rem; line-height: 1.2; text-align: center; padding: 8px;
}
.tl-badge.b-ochre  { background: var(--p-ochre);  box-shadow: 0 0 0 5px rgba(196,154,60,.2), 0 8px 20px rgba(196,154,60,.35); }
.tl-badge.b-terra  { background: var(--p-terra);  box-shadow: 0 0 0 5px rgba(184,92,56,.2),  0 8px 20px rgba(184,92,56,.3); }
.tl-badge.b-indigo { background: var(--p-indigo); box-shadow: 0 0 0 5px rgba(74,110,150,.2), 0 8px 20px rgba(74,110,150,.3); }
.tl-badge.b-sage   { background: var(--p-sage);   box-shadow: 0 0 0 5px rgba(94,148,103,.2), 0 8px 20px rgba(94,148,103,.3); }
.tl-badge.b-sienna { background: var(--p-sienna); box-shadow: 0 0 0 5px rgba(139,94,60,.2),  0 8px 20px rgba(139,94,60,.3); }
.tl-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px 24px; box-shadow: var(--shadow);
}
.tl-milestone .tl-left .tl-card  { margin-right: 24px; text-align: right; }
.tl-milestone .tl-right .tl-card { margin-left: 24px;  text-align: left; }
.tl-card h4 { font-size: .97rem; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.tl-card p  { font-size: .83rem; color: var(--muted); line-height: 1.65; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .intro-grid { grid-template-columns:1fr 1fr; }
  .video-grid  { grid-template-columns:1fr; }
  .video-side  { display:grid; grid-template-columns:1fr 1fr; }
  .post-grid   { grid-template-columns:1fr 1fr; }
  .topic-grid  { grid-template-columns:1fr 1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .footer-brand { grid-column:1/-1; }
  .bio-grid   { grid-template-columns:1fr; }
  .bio-photo  { height:260px; }
  .hanh-grid  { grid-template-columns:1fr 1fr; }
  .featured-article { grid-template-columns:1fr; }
  .fa-thumb   { min-height:200px; }
  .articles-grid { grid-template-columns:1fr 1fr; }
  .donate-grid { grid-template-columns:1fr; }
  .book-grid   { grid-template-columns:1fr 1fr; }
  .transparency-items { grid-template-columns:1fr; gap:12px; }
  .story-card.wide { grid-template-columns:1fr; grid-column:1; }
  .story-card.wide .story-thumb { height:200px; }
  .testimonial-grid { grid-template-columns:1fr; }
  .news-layout { grid-template-columns: 1fr; }
  .news-sidebar { position: static; }
  .news-featured { grid-template-columns: 1fr; }
  .news-side-col { flex-direction: row; }
  .page-layout { grid-template-columns: 1fr; }
  .page-sidebar { position: static; }
  .top-story { grid-template-columns: 1fr; }
  .top-story-thumb { min-height: 200px; aspect-ratio: 16/9; }
  .top-story-body { border-left: none; border-top: 1px solid var(--border); }
  .page-hero { padding: 96px 0 48px; }
  .page-hero-inner { gap: 28px; }
  .page-hero-icon { font-size: 4rem; }
  /* timeline collapse to left-aligned */
  .timeline-alt::before { left: 42px; }
  .tl-milestone { grid-template-columns: 84px 1fr; gap: 0; }
  .tl-center { grid-column: 1; grid-row: 1; }
  .tl-badge  { width: 60px; height: 60px; font-size: .72rem; }
  .tl-left   { display: none; }
  .tl-right  { grid-column: 2; grid-row: 1; }
  .tl-right .tl-card { margin-left: 20px; text-align: left; }
  /* show left content on right for odd items */
  .tl-milestone .tl-left:not(:empty) { display: block; grid-column: 2; grid-row: 1; }
  .tl-milestone .tl-left:not(:empty) .tl-card { margin-left: 20px; margin-right: 0; text-align: left; }
}

@media (max-width: 640px) {
  .section { padding:52px 0; }
  .hamburger { display:flex; }
  .main-nav {
    display:none; position:absolute; top:64px; left:0; right:0;
    background:var(--cream); border-bottom:1px solid var(--border);
    box-shadow:var(--shadow); padding:12px 0;
  }
  .main-nav.open { display:block; }
  .main-nav ul { flex-direction:column; gap:0; }
  .main-nav a { display:block; padding:12px 24px; border-bottom:none; font-size:1rem; }
  .intro-grid  { grid-template-columns:1fr; }
  .post-grid   { grid-template-columns:1fr; }
  .topic-grid  { grid-template-columns:1fr 1fr; gap:12px; }
  .social-grid { grid-template-columns:1fr; }
  .video-side  { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; gap:28px; }
  .hanh-grid   { grid-template-columns:1fr; }
  .articles-grid { grid-template-columns:1fr; }
  .book-grid   { grid-template-columns:1fr 1fr; }
  .story-grid  { grid-template-columns:1fr; }
  .hero-btns   { flex-direction:column; align-items:center; }
  .donate-transparency { padding:20px; }
  .hero-stats  { gap: 0; }
  .hero-stat   { min-width: 72px; padding: 0 8px; }
  .stat-num    { font-size: 1.9rem; }
  .stat-label  { font-size: .62rem; letter-spacing: 0; text-transform: none; line-height: 1.35; }
  .hero-content { padding-bottom: 70px; }
  .hero-scroll-hint { bottom: 14px; }
  .news-featured { grid-template-columns: 1fr; }
  .news-side-col { flex-direction: column; }
  .news-list-item { grid-template-columns: 130px 1fr; gap: 14px; }
  .secondary-grid { grid-template-columns: 1fr; }
  .compact-item { grid-template-columns: 130px 1fr; gap: 14px; }
  .page-hero { padding: 84px 0 36px; }
  .page-hero-inner { flex-direction: column; gap: 14px; text-align: center; }
  .page-hero-text { text-align: center; }
  .page-hero-icon { font-size: 3rem; }
  .tl-badge  { width: 52px; height: 52px; font-size: .65rem; }
}
