/* Vietnamese sound notebook. Loaded only by /vi/phat-am/ pages. */
body {
  --bg: var(--color-bg);
  --card: var(--color-card);
  --soft: var(--color-soft);
  --text: var(--color-text);
  --muted: var(--color-muted);
  --line: var(--color-line);
  --color-bg: #15282d;
  --color-card: #1c3339;
  --color-soft: #254047;
  --color-text: #f5eee1;
  --color-muted: #bbc9c7;
  --color-line: #40585c;
  --color-green: #a5c8bd;
  --color-red: #f1ad91;
  --color-gold: #e6c287;
  --color-gold-dark: #d9b579;
  --green-solid: #285b60;
  --green-solid-hover: #347078;
  --brand-tile: #a44732;
  --terracotta: #a44732;
  --font-ui: 'Plus Jakarta Sans', 'Inter', sans-serif;
}
body.light-mode {
  --color-bg: #f7f2e9;
  --color-card: #fffcf6;
  --color-soft: #ede8dc;
  --color-text: #203e43;
  --color-muted: #586967;
  --color-line: #d5d9cc;
  --color-green: #285b60;
  --color-red: #a44732;
  --color-gold: #88601f;
  --color-gold-dark: #735019;
}
.shell { width: min(1200px, calc(100% - 64px)); }
.header { padding: 16px 0; }
.brand__icon { border-radius: 3px; width: 42px; height: 46px; }
.brand__subtitle { letter-spacing: .03em; font-size: 11px; }
.topnav { gap: 8px; }
.topnav a { padding: 10px 11px; border-radius: 6px; font-size: 13px; }
.topnav a:hover, .topnav a[aria-current="page"] { background: var(--color-soft); }
.topnav a[aria-current="page"]::after { background: var(--color-red); bottom: 3px; left: 11px; right: 11px; }
.hero { gap: 48px; padding: 58px 0 36px; align-items: center; }
.hero__copy { gap: 23px; max-width: 710px; }
.hero h1 { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.19; letter-spacing: -.045em; }
.hero h1 span { color: var(--color-red); }
.hero__lead { font-size: 16px; line-height: 1.85; max-width: 62ch; }
.eyebrow, .label, .story-kicker { font-size: 11px; letter-spacing: .13em; color: var(--color-red); }
.hero__visual { flex: 0 1 360px; min-width: 0; padding: 14px; border: 1px solid var(--color-line); border-radius: 160px 160px 8px 8px; background: var(--color-card); }
.hero__visual img { width: 100%; height: 340px; object-fit: cover; border-radius: 150px 150px 4px 4px; }
.hero__visual figcaption { padding: 17px 0 5px; text-align: center; font-size: 12px; color: var(--color-muted); }
.hero__actions { order: 1; }
.freebar { order: 2; font-size: 12px; }
.pills { gap: 6px 14px; }
.pill { border: 0; border-radius: 0; border-left: 2px solid var(--color-line); padding: 0 0 0 10px; font-size: 12px; font-weight: 400; }
.btn { min-height: 44px; border-radius: 7px; }
.btn--primary { background: var(--green-solid); border-color: var(--green-solid); color: #fffaf0; }
.hero__actions .btn { min-height: 50px; }
.section, .story { margin-top: 44px; padding-top: 36px; }
.section__head, .story-head { gap: 12px; }
.section__head p, .story-head p { font-size: 15px; line-height: 1.8; }
.section__head h2, .story-head h2 { font-weight: 700; line-height: 1.35; }
.page-head { padding: 36px 0 16px 26px; margin-top: 20px; border-left: 3px solid var(--color-red); max-width: 920px; gap: 18px; }
.page-head h1 { font-size: clamp(32px, 4vw, 48px); line-height: 1.25; }
.crumbs { font-size: 12px; }
.taster { background: var(--color-card); border-radius: 12px; padding: 26px; border: 1px solid var(--color-line); box-shadow: 0 6px 0 var(--color-soft); }
.story-beat, .map-card { border-radius: 9px; box-shadow: none; }
.story-copy { padding: 20px 20px 0; gap: 10px; }
.story-copy strong { font-size: 19px; }
.story-copy small, .map-card small { font-size: 14px; line-height: 1.8; }
.story-tag { margin: auto 20px 20px; padding-top: 18px; font-size: 11px; }
.story-seal { background: var(--brand-tile); color: #fffaf0; border-radius: 3px; }
.map-card { padding: 24px; gap: 13px; }
.map-card strong { font-size: 18px; }
.map-card__icon { background: var(--color-soft); color: var(--color-red); border-radius: 4px; }
.map-card__meta { color: var(--color-green); font-size: 12px; }
.story-stats { padding: 24px 0; border-bottom: 1px solid var(--color-line); }
.story-stats b { font-size: 27px; }
.story-stats span { font-size: 12px; }
.search-row input[type="search"] { min-height: 46px; font-size: 15px; }
.page-flow__link { padding: 22px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--color-red); outline-offset: 4px; }
@media (max-width: 1000px) {
  .hero { gap: 28px; }
  .hero__visual { flex-basis: 270px; }
  .hero__visual img { height: 290px; }
  .topnav { gap: 2px; }
}
@media (max-width: 640px) {
  .shell { width: calc(100% - 36px); padding: 8px 0 28px; }
  .header { row-gap: 9px; }
  .brand { flex: 1 1 0; }
  .brand__subtitle { font-size: 9px; }
  #themeBtn { flex-shrink: 0; }
  .topnav a { padding: 10px; min-height: 44px; }
  .hero { padding: 30px 0 8px; gap: 26px; }
  .hero__copy { order: 0; gap: 20px; }
  .hero h1 { font-size: clamp(32px, 8.7vw, 44px); }
  .hero__lead { font-size: 15px; line-height: 1.8; }
  .hero__visual { order: 1; flex-basis: 100%; display: flex; align-items: center; gap: 18px; padding: 12px; border-radius: 8px; }
  .hero__visual img { width: 100px; height: 100px; border-radius: 50%; }
  .hero__visual figcaption { text-align: left; padding: 0; max-width: 15ch; font-size: 16px; }
  .hero__actions { display: grid; }
  .freebar { gap: 6px; }
  .freebar span + span::before { display: none; }
  .freebar span { width: 100%; }
  .page-head { padding: 20px 0 6px 17px; }
  .page-head h1 { font-size: 32px; }
  .section, .story { margin-top: 32px; padding-top: 28px; }
  .taster { padding: 18px; }
  .story-copy strong em { display: inline; margin-left: 8px; }
  .story-copy small { font-size: 14px; }
  .story-tag { font-size: 11px; }
}
