/* Giao diện chung – Trang web Nguyễn Anh Tuấn */
:root {
  --bordeaux: #6E1423;
  --bordeaux-dark: #4E0E19;
  --gold: #A8843E;
  --gold-soft: #EADBB9;
  --blue: #1D4E9E;
  --ink: #2B2420;
  --muted: #6B615A;
  --paper: #FBF8F3;
  --card: #FFFFFF;
  --line: #E7DFD3;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(60, 30, 20, .06), 0 6px 20px rgba(60, 30, 20, .06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px; line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bordeaux); text-decoration-color: rgba(110, 20, 35, .35); text-underline-offset: 3px; }
a:hover { color: var(--bordeaux-dark); text-decoration-color: currentColor; }
h1, h2, h3 { font-family: "Noto Serif", Georgia, serif; line-height: 1.3; color: var(--bordeaux-dark); font-weight: 600; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); margin: 0 0 .4em; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2rem); margin: 0 0 .6em; }
h3 { font-size: 1.2rem; margin: 0 0 .4em; }
p { margin: 0 0 1em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* Đầu trang */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand b { font-family: "Noto Serif", Georgia, serif; font-size: 1.15rem; color: var(--bordeaux-dark); display: block; line-height: 1.2; }
.brand small { color: var(--muted); font-size: .78rem; display: block; line-height: 1.2; }
.nav { display: flex; flex-wrap: wrap; gap: 2px; }
.nav a { text-decoration: none; color: var(--ink); padding: 8px 11px; border-radius: 8px; font-size: .92rem; white-space: nowrap; }
.nav a:hover { background: #F4EDE3; }
.nav a.active { color: var(--bordeaux); background: #F6ECE6; font-weight: 600; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; font: inherit; color: var(--ink); }
@media (max-width: 980px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; padding: 8px 16px 14px; }
  .nav.open { display: flex; }
}

.grid.videos { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
@media (min-width: 900px) { .grid.videos { grid-template-columns: 1fr 1fr; } }
.thumb { position: relative; display: block; border-radius: 10px; overflow: hidden; background: #1b1b1b; aspect-ratio: 16 / 9; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.thumb:hover img { transform: scale(1.03); }
.thumb .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: rgba(110, 20, 35, .9); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; padding-left: 4px; box-shadow: 0 4px 16px rgba(0, 0, 0, .3); }

/* Phần mở đầu */
.hero { background: linear-gradient(160deg, #fff 0%, #F7EFE6 100%); border-bottom: 1px solid var(--line); }
.hero .wrap { padding-top: 64px; padding-bottom: 56px; }
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 600; margin-bottom: 10px; }
.lead { font-size: 1.15rem; color: #4A403A; max-width: 760px; }
.motto { font-family: "Noto Serif", Georgia, serif; font-style: italic; color: var(--bordeaux); font-size: 1.2rem; border-left: 3px solid var(--gold); padding-left: 16px; margin: 22px 0; }
.page-hero .wrap { padding-top: 44px; padding-bottom: 36px; }

section { padding: 56px 0; }
section + section { border-top: 1px solid var(--line); }
.section-intro { color: var(--muted); max-width: 720px; margin-bottom: 28px; }

/* Thẻ */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card.org { display: flex; flex-direction: column; gap: 12px; }
.card.org img { width: 96px; height: 96px; object-fit: contain; }
.card.org .more { margin-top: auto; font-weight: 600; text-decoration: none; }
.stats { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.stat b { display: block; font-family: "Noto Serif", Georgia, serif; font-size: 2rem; color: var(--bordeaux); line-height: 1.2; }
.stat span { color: var(--muted); font-size: .92rem; }
.source { color: var(--muted); font-size: .82rem; }

/* Dòng thời gian */
.timeline { position: relative; margin: 0; padding: 0 0 0 28px; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--gold-soft); }
.timeline li { position: relative; margin-bottom: 28px; }
.timeline li::before { content: ""; position: absolute; left: -27px; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--bordeaux); }
.timeline .year { font-family: "Noto Serif", Georgia, serif; font-weight: 600; color: var(--bordeaux); font-size: 1.15rem; }
.timeline .ref { font-size: .85rem; }

/* Danh sách báo chí */
.press-list { list-style: none; margin: 0; padding: 0; }
.press-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-bottom: 12px; }
.press-item h3 { font-family: "Be Vietnam Pro", system-ui, sans-serif; font-size: 1.02rem; font-weight: 600; margin: 0 0 4px; color: var(--ink); }
.press-item h3 a { color: var(--ink); text-decoration: none; }
.press-item h3 a:hover { color: var(--bordeaux); text-decoration: underline; }
.meta { color: var(--muted); font-size: .86rem; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.meta .pub { color: var(--bordeaux); font-weight: 600; }
.desc { margin: 8px 0 0; font-size: .95rem; color: #4A403A; }
.note { margin: 6px 0 0; font-size: .82rem; color: #8A5A12; }
.source-link { display: inline-block; margin-top: 8px; font-size: .86rem; font-weight: 600; }
.tag { display: inline-block; font-size: .74rem; border-radius: 20px; padding: 1px 9px; background: #F4EDE3; color: #5A4A3F; }
.tag.video { background: #E8EEF9; color: var(--blue); }
.tag.radio { background: #EEF5EA; color: #3D6B2A; }
.year-head { font-family: "Noto Serif", Georgia, serif; color: var(--bordeaux); font-size: 1.5rem; margin: 36px 0 14px; padding-bottom: 6px; border-bottom: 2px solid var(--gold-soft); display: flex; justify-content: space-between; align-items: baseline; }
.year-head small { font-family: "Be Vietnam Pro", sans-serif; font-size: .85rem; color: var(--muted); font-weight: 400; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; position: sticky; top: 76px; z-index: 5; }
.filters input[type=search] { flex: 1 1 240px; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: .95rem; }
.filters select { padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: .92rem; background: #fff; max-width: 100%; }
@media (max-width: 700px) { .filters { position: static; } }
.count { color: var(--muted); font-size: .9rem; margin: 14px 0 0; }

.btn { display: inline-block; background: var(--bordeaux); color: #fff; text-decoration: none; padding: 11px 20px; border-radius: 10px; font-weight: 600; }
.btn:hover { background: var(--bordeaux-dark); color: #fff; }
.btn.ghost { background: transparent; color: var(--bordeaux); border: 1px solid var(--bordeaux); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.quote { font-family: "Noto Serif", Georgia, serif; font-size: 1.15rem; color: #4A403A; background: #fff; border-left: 4px solid var(--gold); padding: 18px 22px; border-radius: 0 12px 12px 0; margin: 0 0 18px; }
.quote cite { display: block; margin-top: 8px; font-style: normal; font-family: "Be Vietnam Pro", sans-serif; font-size: .85rem; color: var(--muted); }
ul.clean { padding-left: 1.1em; }
ul.clean li { margin-bottom: 6px; }
.two-col { display: grid; gap: 32px; grid-template-columns: 1.4fr 1fr; align-items: start; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }

.site-footer { background: #2A1418; color: #E9DCCF; padding: 40px 0; font-size: .92rem; }
.site-footer a { color: #F1D9A4; }
.site-footer .wrap { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.site-footer h4 { margin: 0 0 8px; color: #fff; font-family: "Noto Serif", Georgia, serif; font-weight: 600; }
