/* ============================================================================
   Vnjin — giao diện cổng tin (một file duy nhất)
   Nền sáng, thẻ trắng bo tròn có bóng nhẹ, chữ Be Vietnam Pro, đỏ chủ đạo,
   mỗi chuyên mục một màu riêng cho icon / nhãn.
   ============================================================================ */

/* ---- Token ------------------------------------------------------------- */
:root {
  --bg: #f4f5f8;
  --card: #ffffff;
  --soft: #f0f2f6;
  --ink: #141824;
  --ink-2: #3a4152;
  --muted: #6b7385;
  --line: #e6e9ef;
  --red: #da251d;
  --red-deep: #b01c15;
  --red-soft: #fdeceb;
  --gold: #f4b400;
  --gold-soft: #fff6dc;
  --navy: #0f1d3a;

  --c-history: #b45309;
  --c-culture: #db2777;
  --c-literature: #7c3aed;
  --c-travel: #e0412f;
  --c-discover: #0d9488;
  --c-food: #ea7a0c;
  --c-sports: #16a34a;
  --c-music: #c026d3;
  --c-world: #2563eb;
  --accent: var(--red);

  --f: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-read: "Be Vietnam Pro", system-ui, sans-serif;

  --wrap: 1360px;
  --narrow: 760px;
  --gut: clamp(14px, 3vw, 32px);
  --r: 16px;
  --r-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px -12px rgba(16, 24, 40, .14);
  --shadow-lg: 0 18px 44px -18px rgba(16, 24, 40, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0d1017;
  --card: #161b26;
  --soft: #1d2331;
  --ink: #eef1f7;
  --ink-2: #c7cdda;
  --muted: #8f97a8;
  --line: #262d3c;
  --red: #f0473e;
  --red-deep: #da251d;
  --red-soft: #3a1714;
  --gold-soft: #2e2611;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .6);
  color-scheme: dark;
}
.theme-history { --accent: var(--c-history); }
.theme-culture { --accent: var(--c-culture); }
.theme-literature { --accent: var(--c-literature); }
.theme-travel { --accent: var(--c-travel); }
.theme-discover { --accent: var(--c-discover); }
.theme-food { --accent: var(--c-food); }
.theme-sports { --accent: var(--c-sports); }
.theme-music { --accent: var(--c-music); }
.theme-world { --accent: var(--c-world); }

/* ---- Nền tảng ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15.5px/1.6 var(--f); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.2; letter-spacing: -.015em; }
p { margin: 0; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.icon { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.wrap-narrow { width: 100%; max-width: calc(var(--narrow) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; padding: 8px 14px; background: var(--ink); color: var(--bg); border-radius: 8px; }
.skip:focus { left: 8px; }
.card-box { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); }

.kicker { display: inline-flex; align-items: center; gap: 6px; font: 700 12px/1 var(--f); letter-spacing: .02em; color: var(--accent); }
.badge { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--accent); color: #fff; font: 700 12.5px/1 var(--f); }
.badge .icon { width: 14px; height: 14px; }
.kicker--light { color: #fff; }
.btn {
  display: inline-flex; align-items: center; gap: .5em; height: 44px; padding: 0 20px; border-radius: 12px; border: 0;
  font: 700 14.5px/1 var(--f); background: var(--red); color: #fff; cursor: pointer; transition: background .2s, transform .2s var(--ease);
}
.btn:hover { background: var(--red-deep); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .85); }
.btn--ghost:hover { background: rgba(255, 255, 255, .15); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--gold); color: var(--ink); }
.more { display: inline-flex; align-items: center; gap: .35em; font: 600 13.5px/1 var(--f); color: var(--accent); white-space: nowrap; }
.more .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.more:hover .icon { transform: translateX(3px); }
.sec-icon { display: inline-grid; place-items: center; color: var(--accent); }

/* ---- Đầu trang -------------------------------------------------------- */
.masthead { position: sticky; top: 0; z-index: 90; background: color-mix(in srgb, var(--card) 94%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.masthead__bar { display: flex; align-items: center; gap: 22px; height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo__mark { width: 44px; height: 44px; }
.logo__text { display: grid; gap: 3px; }
.logo__word { font: 900 27px/1 var(--f); letter-spacing: -.03em; color: var(--ink); }
.logo__word b { color: var(--red); font-weight: 900; }
.logo__tag { font: 500 12px/1 var(--f); color: var(--muted); }
.searchbox { flex: 1; max-width: 560px; margin-inline: auto; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); color: var(--muted); }
.searchbox:focus-within { border-color: var(--red); background: var(--card); }
.searchbox input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 14.5px; color: var(--ink); }
.searchbox kbd { padding: 2px 7px; border: 1px solid var(--line); border-radius: 6px; font: 600 11px/1.4 var(--f); color: var(--muted); }
.masthead__actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); cursor: pointer; transition: border-color .2s; }
.icon-btn:hover { border-color: var(--ink-2); }
.icon--sun { display: none; }
:root[data-theme="dark"] .icon--sun { display: block; }
:root[data-theme="dark"] .icon--moon { display: none; }
.topnav-link { display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 12px; font: 700 14px/1 var(--f); color: var(--ink-2); border-bottom: 2px solid transparent; }
.topnav-link:hover, .topnav-link[aria-current="page"] { color: var(--red); border-bottom-color: var(--red); }
.only-mobile { display: none; }

.nav { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-block: 10px 12px; }
.nav::-webkit-scrollbar { display: none; }
.nav a {
  flex: none; display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 16px; border-radius: 12px;
  font: 600 14.5px/1 var(--f); color: var(--ink-2); transition: background .2s, color .2s;
}
.nav a .icon { width: 20px; height: 20px; color: var(--c, var(--red)); }
.nav a:hover { background: var(--soft); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--red); color: #fff; box-shadow: 0 8px 18px -10px var(--red); }
.nav a[aria-current="page"] .icon { color: #fff; }
.progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--red); }
@media (max-width: 900px) {
  .masthead__bar { height: 62px; gap: 12px; }
  .searchbox, .logo__tag, .topnav-link { display: none; }
  .only-mobile { display: inline-grid; }
  .logo__mark { width: 36px; height: 36px; }
  .logo__word { font-size: 23px; }
  .masthead__actions { margin-left: auto; }
  .nav { padding-block: 4px 10px; }
  .nav a { height: 38px; padding: 0 13px; font-size: 14px; background: var(--soft); }
}

/* ---- Tìm kiếm phủ (điện thoại / phím /) ------------------------------- */
.finder { position: fixed; inset: 0; z-index: 150; display: none; background: color-mix(in srgb, var(--bg) 96%, transparent); backdrop-filter: blur(8px); }
.finder.is-open { display: block; }
.finder__inner { max-width: 720px; margin: 12vh auto 0; padding-inline: var(--gut); }
.finder__label { font: 700 12px/1 var(--f); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.finder form { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.finder input { flex: 1; min-width: 0; height: 56px; padding: 0 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); font: 600 20px/1 var(--f); color: var(--ink); outline: none; }
.finder input:focus { border-color: var(--red); }
.finder__hints { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.finder__close { position: absolute; top: 18px; right: 18px; }

/* ---- Chip --------------------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; height: 36px; padding: 0 15px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font: 600 13.5px/1 var(--f); color: var(--ink-2); transition: all .2s; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---- Bài (story) ------------------------------------------------------- */
.story { position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s; }
.story:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.story__media { position: relative; display: block; overflow: hidden; background: var(--soft); aspect-ratio: 16 / 10; }
.story__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.story:hover .story__media img { transform: scale(1.05); }
.story__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; }
.story__title { font-size: 18px; font-weight: 700; line-height: 1.35; }
.story__title a::after { content: ""; position: absolute; inset: 0; }
.story__dek { font-size: 14.5px; line-height: 1.55; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.story__meta { margin-top: auto; padding-top: 4px; font: 500 12.5px/1 var(--f); color: var(--muted); }
.story__ph { display: grid; place-items: center; width: 100%; height: 100%; color: var(--line); }
.story__ph .icon { width: 40px; height: 40px; }

/* Dòng nhỏ: ảnh vuông + tiêu đề */
.story--row { flex-direction: row; align-items: center; gap: 12px; padding: 0; background: none; box-shadow: none; border-radius: 0; overflow: visible; }
.story--row:hover { transform: none; box-shadow: none; }
.story--row .story__media { flex: none; width: 76px; aspect-ratio: 4 / 3; border-radius: var(--r-sm); }
.story--row .story__body { padding: 0; gap: 4px; }
.story--row .story__title { font-size: 14.5px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.story--row:hover .story__title { color: var(--accent); }
.story--row .kicker, .story--row .story__meta { display: none; }

/* Thẻ phủ chữ lên ảnh */
.story--overlay { justify-content: flex-end; min-height: 100%; color: #fff; }
.story--overlay .story__media { position: absolute; inset: 0; aspect-ratio: auto; }
.story--overlay .story__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 14, 30, .78), rgba(8, 14, 30, .25) 70%, transparent), linear-gradient(0deg, rgba(8, 14, 30, .5), transparent 60%); }
.story--overlay .story__body { position: relative; padding: 18px 64px 18px 20px; gap: 10px; }
.story--overlay .story__title { font-size: 18px; line-height: 1.3; }
.story--overlay .story__dek, .story--overlay .story__meta { display: none; }
.story--overlay .go { position: absolute; right: 18px; bottom: 50%; transform: translateY(50%); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .22); backdrop-filter: blur(4px); }

/* Bài lớn trong lưới chuyên mục */
.story--lead .story__media { aspect-ratio: 16 / 9; }
.story--lead .story__title { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.25; }
.story--lead .story__dek { font-size: 15.5px; -webkit-line-clamp: 3; }

/* ---- Trang chủ: bìa trượt + 3 thẻ ------------------------------------- */
.home-top { display: grid; gap: 16px; padding-top: 8px; }
@media (min-width: 1000px) { .home-top { grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); } }
.slider { position: relative; min-height: clamp(360px, 46vw, 520px); border-radius: var(--r); overflow: hidden; background: var(--navy); box-shadow: var(--shadow); }
.slide { position: absolute; inset: 0; display: flex; align-items: flex-end; color: #fff; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility .7s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 7s ease-out; }
.slide.is-active img { transform: scale(1); }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 14, 30, .78) 0%, rgba(8, 14, 30, .35) 55%, rgba(8, 14, 30, .05) 100%), linear-gradient(0deg, rgba(8, 14, 30, .55), transparent 50%); }
.slide__body { position: relative; z-index: 1; max-width: 620px; padding: clamp(24px, 4vw, 44px); padding-bottom: 76px; }
.slide__title { margin-top: 16px; font-size: clamp(28px, 3.6vw, 48px); line-height: 1.12; font-weight: 800; text-wrap: balance; text-shadow: 0 2px 18px rgba(0, 0, 0, .3); }
.slide__dek { margin-top: 14px; font-size: 16.5px; line-height: 1.55; color: rgba(255, 255, 255, .9); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.slide__cta { margin-top: 22px; }
.slider__ctrl { position: absolute; right: 22px; bottom: 22px; z-index: 2; display: flex; align-items: center; gap: 14px; }
.slider__dots { display: flex; gap: 8px; }
.slider__dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .55); cursor: pointer; transition: width .3s var(--ease), background .3s; }
.slider__dots button.is-active { width: 26px; background: var(--red); }
.slider__arrow { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .8); background: rgba(0, 0, 0, .15); color: #fff; cursor: pointer; }
.slider__arrow:hover { background: rgba(255, 255, 255, .2); }
.side-picks { display: grid; gap: 16px; grid-auto-rows: 1fr; }
.side-picks .story--overlay { min-height: 150px; }
@media (max-width: 999px) { .side-picks { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }

/* ---- Trang chủ: thẻ chuyên mục --------------------------------------- */
.sections { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); padding-block: 22px; }
.sec-card { display: flex; flex-direction: column; gap: 14px; padding: 16px; }
.sec-card__head { display: flex; align-items: center; gap: 10px; }
.sec-card__head h2 { font-size: 17px; font-weight: 800; white-space: nowrap; }
.sec-card__head .more { font-size: 12.5px; }
.sec-card__head .icon { width: 24px; height: 24px; color: var(--accent); }
.sec-card__head .more { margin-left: auto; }
.sec-card__cover { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: var(--r-sm); overflow: hidden; background: var(--soft); }
.sec-card__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.sec-card__cover:hover img { transform: scale(1.05); }
.sec-card__cover span { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 12px 10px; background: linear-gradient(0deg, rgba(8, 14, 30, .78), transparent); color: #fff; font: 700 14.5px/1.35 var(--f); }
.sec-card__list { display: grid; gap: 12px; }
.sec-card__list .story--row { padding-top: 12px; border-top: 1px solid var(--line); }
.sec-card__list .story--row .story__media { width: 64px; }

/* ---- Trang chủ: dải Việt Nam + widget --------------------------------- */
.band { display: grid; gap: 16px; padding-bottom: 22px; }
@media (min-width: 1000px) { .band { grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, .62fr)); } }
.banner { position: relative; display: flex; align-items: center; min-height: 170px; padding: 26px 30px; border-radius: var(--r); overflow: hidden; color: #fff; background: var(--navy); box-shadow: var(--shadow); }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10, 20, 45, .85), rgba(10, 20, 45, .35) 60%, transparent); }
.banner > div { position: relative; z-index: 2; max-width: 420px; }
.banner h2 { font: italic 800 clamp(30px, 3.4vw, 42px)/1 var(--f); letter-spacing: -.02em; }
.banner p { margin: 10px 0 16px; font: 600 15px/1.4 var(--f); color: rgba(255, 255, 255, .9); }
.banner .btn { height: 38px; padding: 0 16px; font-size: 13.5px; border-radius: 10px; }
.widget { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 20px; text-align: center; align-items: center; }
.widget__icon { width: 38px; height: 38px; color: var(--red); }
.widget h3 { font-size: 15.5px; font-weight: 700; }
.widget small { color: var(--muted); font-size: 12.5px; }
.widget__temp { font: 800 38px/1 var(--f); letter-spacing: -.02em; }
.widget--news { text-align: left; align-items: stretch; }
.widget--news form, .widget--news .tanro-form { display: flex; gap: 8px; margin-top: 6px; }
.widget--news input[type="email"] { flex: 1; min-width: 0; height: 42px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); outline: none; }
.widget--news input[type="email"]:focus { border-color: var(--red); background: var(--card); }
.widget--news button, .widget--news [type="submit"] { height: 42px; padding: 0 14px; border: 0; border-radius: 10px; background: var(--red); color: #fff; font-weight: 700; cursor: pointer; }

/* ---- Khối tiêu đề khu vực & chuyên đề trang chủ ---------------------- */
.section { padding-block: clamp(28px, 4vw, 48px); }
.head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 20px; }
.head__num { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 8px; font: 700 13px/1 var(--f); color: var(--accent); }
.head__title { display: flex; align-items: center; gap: 10px; font-size: clamp(24px, 2.6vw, 32px); }
.head__title .icon { width: 1em; height: 1em; color: var(--accent); }
.head__title a:hover { color: var(--accent); }
.head__dek { max-width: 60ch; margin-top: 8px; color: var(--muted); font-size: 15px; }
.rubric__grid { display: grid; gap: 16px; }
@media (min-width: 960px) { .rubric__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.rubric__list { display: grid; gap: 16px; align-content: start; padding: 18px; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); }
.rubric__list .story--row + .story--row { padding-top: 16px; border-top: 1px solid var(--line); }
.rubric__list .story--row .story__media { width: 112px; }
.rubric__list .story--row .story__title { font-size: 16px; }
.rubric--dark { background: var(--navy); color: #fff; }
.rubric--dark .head__dek { color: rgba(255, 255, 255, .7); }
.rubric--dark .head__num, .rubric--dark .more { color: #ffd36b; }

.manifesto { text-align: center; }
.manifesto p { max-width: 34ch; margin: 12px auto 22px; font: 700 clamp(22px, 2.6vw, 30px)/1.35 var(--f); }

/* ---- Trang chuyên mục ------------------------------------------------- */
.rubric-hero { padding-block: 34px 26px; }
.rubric-hero__box { position: relative; padding: clamp(24px, 4vw, 40px); border-radius: var(--r); overflow: hidden; background: var(--card); box-shadow: var(--shadow); }
.rubric-hero__box::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--accent); }
.rubric-hero h1 { display: flex; align-items: center; gap: 14px; margin-top: 14px; font-size: clamp(32px, 4.6vw, 52px); }
.rubric-hero h1 .icon { width: .9em; height: .9em; color: var(--accent); }
.rubric-hero p { max-width: 62ch; margin-top: 10px; font-size: 16.5px; color: var(--muted); }
.rubric-hero .chips { margin-top: 22px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font: 500 13px/1 var(--f); color: var(--muted); }
.crumbs a:hover { color: var(--red); }
.crumbs--light { color: rgba(255, 255, 255, .78); }
.crumbs--light a:hover { color: #fff; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
@media (min-width: 900px) {
  .grid--feature > :first-child { grid-column: span 2; grid-row: span 2; }
  .grid--feature > :first-child .story__media { aspect-ratio: 16 / 10; }
  .grid--feature > :first-child .story__title { font-size: 26px; line-height: 1.25; }
  .grid--feature > :first-child .story__dek { -webkit-line-clamp: 4; font-size: 15.5px; }
}

.timeline { list-style: none; margin: 0 0 34px; padding: 6px 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 28px; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); }
.timeline li { border-bottom: 1px solid var(--line); }
.timeline a { display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding: 16px 0; }
.timeline a:hover strong { color: var(--accent); }
.timeline__year { font: 800 24px/1 var(--f); color: var(--accent); }
.timeline strong { display: block; margin-top: 6px; font-size: 15.5px; line-height: 1.35; }

.tanro-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 36px; }
.tanro-pager a, .tanro-pager span { min-width: 42px; height: 42px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--card); box-shadow: var(--shadow); font: 700 14px/1 var(--f); }
.tanro-pager a:hover { color: var(--red); }
.tanro-pager .cur { background: var(--red); color: #fff; }
.tanro-pager .off { opacity: .45; }

/* ---- Trang bài -------------------------------------------------------- */
.article__hero { position: relative; display: flex; align-items: flex-end; min-height: min(70vh, 620px); margin: 16px var(--gut) 0; border-radius: var(--r); overflow: hidden; color: #fff; background: var(--navy); }
.article__hero--plain { min-height: 0; color: var(--ink); background: var(--card); box-shadow: var(--shadow); }
.article__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 14, 30, .9) 0%, rgba(8, 14, 30, .35) 55%, rgba(8, 14, 30, .1)); }
.article__head { position: relative; padding-block: 48px 40px; }
.article__head .badge { margin-top: 18px; }
.article__title { margin-top: 14px; font-size: clamp(30px, 4.4vw, 52px); line-height: 1.12; font-weight: 800; text-wrap: balance; }
.article__dek { margin-top: 14px; font-size: 18px; line-height: 1.55; color: rgba(255, 255, 255, .9); }
.article__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font: 500 13px/1.3 var(--f); color: rgba(255, 255, 255, .75); }
.article__meta span { display: inline-flex; align-items: center; gap: 6px; }

.article__body { padding-block: 32px 16px; }
.intl { display: grid; gap: 6px; margin-bottom: 24px; padding: 16px 18px; border-radius: var(--r-sm); background: var(--card); box-shadow: var(--shadow); border-left: 4px solid var(--accent); }
.intl__tag { font: 700 11px/1 var(--f); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.intl strong { font-size: 17px; }
.intl p { font-size: 14.5px; color: var(--ink-2); font-style: italic; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; margin: 0 0 28px; border-radius: var(--r-sm); overflow: hidden; background: var(--line); box-shadow: var(--shadow); }
.facts div { padding: 14px 16px; background: var(--card); }
.facts dt { font: 700 11px/1 var(--f); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 8px 0 0; font-size: 16.5px; font-weight: 700; }
.facts div:first-child dd { color: var(--accent); }
.score { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; margin-bottom: 28px; padding: 20px; border-radius: var(--r-sm); background: var(--navy); color: #fff; text-align: center; font-weight: 700; }
.score b { font-size: 38px; color: #ffd36b; }
.player { width: 100%; margin: 0 0 28px; }

.prose { font: 17.5px/1.8 var(--f-read); color: var(--ink-2); }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { margin-top: 1.8em; font-size: 26px; color: var(--ink); }
.prose h3 { margin-top: 1.5em; font-size: 21px; color: var(--ink); }
.prose strong { color: var(--ink); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--accent); }
.prose img { border-radius: var(--r-sm); }
.prose > h2:first-child { margin: 0; padding: 18px 22px 0; border-radius: var(--r-sm) var(--r-sm) 0 0; background: var(--card); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.prose > h2:first-child + ul { margin-top: 0; padding: 10px 22px 20px 42px; border-radius: 0 0 var(--r-sm) var(--r-sm); background: var(--card); box-shadow: var(--shadow); font-size: 16px; font-weight: 500; color: var(--ink); }
.prose blockquote { margin: 1.8em 0; padding: 20px 22px; border-radius: var(--r-sm); background: var(--gold-soft); border-left: 4px solid var(--gold); font-size: 16px; color: var(--ink); }
.prose blockquote strong:first-child { display: block; margin-bottom: 6px; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: #b07d00; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.share { margin-top: 20px; }
.tanro-social { margin: 0 !important; font-family: var(--f) !important; }
.tanro-social .ts-btn { border-color: var(--line) !important; background: var(--card) !important; }
.tanro-social .ts-btn:hover { border-color: var(--red) !important; color: var(--red) !important; }
.ts-menu { background: var(--card) !important; color: var(--ink) !important; }
.discuss { margin-top: 40px; padding: 24px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
.tanro-comments { margin: 0 !important; font-family: var(--f) !important; }
.tanro-comments .tc-title { font-size: 22px !important; font-weight: 800 !important; }
.tanro-comments input, .tanro-comments textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); color: var(--ink); font: inherit; }
.tanro-comments .tc-row { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; margin-bottom: 10px; }
.tanro-comments .tc-actions button { height: 44px; padding: 0 20px; border: 0; border-radius: 10px; background: var(--red); color: #fff; font-weight: 700; cursor: pointer; }
.tanro-comments .tc-item { border-color: var(--line) !important; }
.read-next { padding-block: 40px 56px; }

/* ---- Tìm kiếm -------------------------------------------------------- */
.search-page form { display: flex; gap: 10px; max-width: 640px; margin-top: 22px; }
.search-page input { flex: 1; min-width: 0; height: 50px; padding: 0 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); color: var(--ink); font-size: 16px; outline: none; }
.search-page input:focus { border-color: var(--red); }
.results { display: grid; gap: 14px; max-width: 860px; }
.result { padding: 20px 22px; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); }
.result h2 { margin-top: 8px; font-size: 20px; }
.result h2 a:hover { color: var(--red); }
.result p { margin-top: 6px; color: var(--ink-2); font-size: 15px; }
.result mark { background: var(--gold-soft); color: var(--ink); padding: 0 .1em; }
.results__total { margin-top: 20px; color: var(--muted); }
.err { padding-block: 10vh; text-align: center; }
.err h1 { font-size: clamp(90px, 16vw, 170px); color: var(--red); }
.err p { margin: 8px auto 26px; font-size: 18px; color: var(--ink-2); }

/* ---- Chân trang ------------------------------------------------------ */
.footer { margin-top: 24px; padding-block: 48px 28px; background: var(--navy); color: #e8ecf5; }
.footer__top { display: grid; gap: 32px; grid-template-columns: minmax(0, 1.5fr) repeat(auto-fit, minmax(160px, 1fr)); }
.footer .logo__word { color: #fff; }
.footer .logo__tag { color: rgba(255, 255, 255, .6); }
.footer p { max-width: 40ch; margin-top: 14px; color: rgba(232, 236, 245, .72); }
.footer h4 { margin-bottom: 12px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #ffd36b; }
.footer__links { display: grid; gap: 8px; font-size: 14.5px; }
.footer__links a { color: rgba(232, 236, 245, .82); }
.footer__links a:hover { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: rgba(232, 236, 245, .6); }
@media (max-width: 760px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__top > :first-child { grid-column: 1 / -1; } }

.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 80; opacity: 0; pointer-events: none; transition: opacity .3s; box-shadow: var(--shadow); }
.to-top.is-on { opacity: 1; pointer-events: auto; }

/* ---- Xuất hiện khi cuộn --------------------------------------------- */
.has-js .rise { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.has-js .rise.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .has-js .rise { opacity: 1; transform: none; }
}
@media (max-width: 640px) {
  .prose { font-size: 17px; }
  .prose h2 { font-size: 23px; }
  .article__hero { margin-inline: 0; border-radius: 0; }
  .tanro-comments .tc-row { grid-template-columns: 1fr; }
  .slider { min-height: 480px; }
  .slide__title { font-size: 26px; }
  .slide__body { padding: 22px 20px 74px; }
  .sections { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .sections > * { scroll-snap-align: start; }
}
.tc-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ---- Lịch vạn niên ------------------------------------------------------ */
.lich { display: grid; gap: 16px; padding-bottom: 32px; }
@media (min-width: 1000px) { .lich { grid-template-columns: minmax(0, 1.7fr) minmax(320px, 1fr); align-items: start; } }
.lich__main { padding: 18px; }
.lich__bar { display: flex; align-items: center; gap: 12px; }
.lich__title { flex: 1; text-align: center; }
.lich__title h2 { font-size: 24px; }
.lich__title small { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
.lich__tools { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 14px 0; }
.lich__tools select { height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); font: 600 13.5px/1 var(--f); }
.lich__wd, .lich__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.lich__wd span { padding: 8px 0; text-align: center; font: 700 12px/1 var(--f); color: var(--muted); }
.lich__wd span:last-child { color: var(--red); }
.lich-cell { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; aspect-ratio: 1 / .82; border: 1px solid var(--line); border-radius: 12px; background: var(--card); cursor: pointer; transition: border-color .15s, background .15s; }
.lich-cell b { font-size: clamp(15px, 1.6vw, 21px); font-weight: 700; }
.lich-cell small { font-size: 11.5px; color: var(--muted); }
.lich-cell:hover { border-color: var(--red); }
.lich-cell.is-empty { visibility: hidden; }
.lich-cell.is-sun b { color: var(--red); }
.lich-cell.is-moon small { color: var(--red); font-weight: 700; }
.lich-cell.is-hol { background: var(--red-soft); }
.lich-cell i { position: absolute; top: 6px; right: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.lich-cell.is-today { border: 2px solid var(--red); }
.lich-cell.is-sel { background: var(--red); border-color: var(--red); }
.lich-cell.is-sel b, .lich-cell.is-sel small { color: #fff; }
.lich__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.lg { display: inline-block; width: 12px; height: 12px; border-radius: 4px; }
.lg--today { border: 2px solid var(--red); }
.lg--hol { background: var(--red-soft); }
.lg--moon { background: var(--red); }
.lich__side { display: grid; gap: 16px; }
.lich-day { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.lich-day__solar, .lich-day__lunar { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 18px 12px; text-align: center; }
.lich-day__solar { background: var(--red); color: #fff; }
.lich-day__lunar { background: var(--gold-soft); }
.lich-day strong { font-size: 64px; line-height: 1; font-weight: 900; letter-spacing: -.03em; }
.lich-day__wd { font: 700 12px/1.2 var(--f); letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.lich-day__solar > span:last-child, .lich-day__lunar > span:last-child { font-size: 13.5px; font-weight: 600; }
.lich-day__facts { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; background: var(--line); }
.lich-day__facts div { padding: 12px 14px; background: var(--card); }
.lich-day__facts .wide { grid-column: 1 / -1; }
.lich-day__facts dt { font: 700 11px/1 var(--f); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lich-day__facts dd { margin: 6px 0 0; font-weight: 700; font-size: 14.5px; line-height: 1.45; }
.lich-hol { color: var(--red); }
.lich-conv, .lich-ev { padding: 18px; }
.lich-conv h3, .lich-ev h3 { font-size: 16px; margin-bottom: 12px; }
.lich-conv__row { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; }
.lich-conv label { display: grid; gap: 4px; font-size: 12px; font-weight: 600; color: var(--muted); }
.lich-conv input[type="number"] { height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); color: var(--ink); font-weight: 700; }
.lich-conv__leap { display: flex !important; align-items: center; gap: 6px; margin: 10px 0 12px; }
.lich-conv__out { margin-top: 12px; font-size: 14px; }
.lich-conv__out .chip { margin-left: 6px; height: 30px; }
.lich-ev ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.lich-ev button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px; border: 0; border-radius: 10px; background: none; text-align: left; font-size: 14px; font-weight: 600; cursor: pointer; }
.lich-ev button:hover { background: var(--soft); }
.lich-ev__date { display: grid; flex: none; min-width: 58px; padding: 6px; border-radius: 8px; background: var(--red-soft); color: var(--red); font-weight: 800; text-align: center; }
.lich-ev__date small { font-weight: 600; font-size: 10.5px; color: var(--muted); }
.muted { color: var(--muted); }

/* Khối lịch trên trang chủ */
.lich-mini { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px; padding: 16px; text-align: left; transition: transform .2s var(--ease); }
.lich-mini:hover { transform: translateY(-2px); }
.lich-mini__page { display: grid; width: 82px; border-radius: 12px; overflow: hidden; text-align: center; box-shadow: var(--shadow); background: var(--card); }
.lich-mini__page span { padding: 4px; background: var(--red); color: #fff; font: 700 11px/1.3 var(--f); }
.lich-mini__page strong { padding: 6px 0 2px; font-size: 36px; line-height: 1; font-weight: 900; }
.lich-mini__page small { padding-bottom: 6px; font-size: 10.5px; color: var(--muted); }
.lich-mini__info { display: grid; gap: 3px; min-width: 0; }
.lich-mini__info h3 { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--red); }
.lich-mini__info b { font-size: 15.5px; }
.lich-mini__info small { color: var(--muted); font-size: 12.5px; }
.lich-mini__hol { font-weight: 600; color: var(--ink-2) !important; }

/* Trang chủ: 4 ô trong dải (banner + lịch + thời tiết + nhận tin) */
@media (min-width: 1000px) { .band { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, .9fr); } }

/* ---- Truyện cổ tích trên trang chủ ------------------------------------ */
.tales { margin-bottom: 28px; padding: clamp(18px, 3vw, 28px); border-radius: var(--r); background: linear-gradient(135deg, #2a1a4a, #4b2a7a 60%, #6d3a8f); color: #fff; box-shadow: var(--shadow); }
.tales .head__num { color: #ffd36b; }
.tales .head__title a:hover { color: #ffd36b; }
.tales .head__dek { color: rgba(255, 255, 255, .78); }
.tales .more { color: #ffd36b; }
.tales__grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.tale { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .08); transition: background .2s; }
.tale:hover { background: rgba(255, 255, 255, .16); }
.tale__img { flex: none; width: 72px; height: 72px; border-radius: 10px; overflow: hidden; background: rgba(255, 255, 255, .1); }
.tale__img img { width: 100%; height: 100%; object-fit: cover; }
.tale__body { display: grid; gap: 3px; min-width: 0; }
.tale__body strong { font-size: 15.5px; }
.tale__body small { color: rgba(255, 255, 255, .72); font-size: 12.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---- Bóng đá ------------------------------------------------------------ */
.fb { display: grid; gap: 16px; padding-bottom: 28px; }
@media (min-width: 1000px) { .fb { grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr); align-items: start; } }
.fb__main { padding: 16px 18px 20px; }
.fb__side { display: grid; gap: 16px; }
.tabs { display: flex; gap: 6px; padding: 4px; border-radius: 12px; background: var(--soft); width: max-content; max-width: 100%; overflow-x: auto; }
.tab { height: 38px; padding: 0 16px; border: 0; border-radius: 9px; background: none; font: 700 14px/1 var(--f); color: var(--muted); cursor: pointer; white-space: nowrap; }
.tab.is-active { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.fb-filter { margin: 14px 0 4px; }
.fb-filter .chip { cursor: pointer; }
.fx-day { margin: 18px 0 8px; font-size: 13px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .04em; }
.fx-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.fx { display: grid; grid-template-columns: 54px 1fr auto 1fr; grid-template-areas: "time home score away" ". meta meta meta"; align-items: center; gap: 2px 12px; padding: 12px 14px; background: var(--card); }
.fx + .fx { border-top: 1px solid var(--line); }
.fx__time { grid-area: time; font: 700 13.5px/1 var(--f); color: var(--muted); }
.fx__home { grid-area: home; text-align: right; }
.fx__away { grid-area: away; }
.fx__team { font-weight: 700; font-size: 14.5px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx__score { grid-area: score; min-width: 64px; padding: 6px 10px; border-radius: 8px; background: var(--soft); text-align: center; font: 800 15px/1 var(--f); }
.fx.is-finished .fx__score { background: var(--navy); color: #fff; }
.fx.is-live .fx__score { background: var(--red); color: #fff; }
.fx.is-scheduled .fx__score { color: var(--muted); font-weight: 700; font-size: 13px; }
.fx__meta { grid-area: meta; margin-top: 4px; font-size: 12px; color: var(--muted); text-align: center; }
.fx__league { font-weight: 700; color: var(--accent); }
.fb-empty { padding: 28px 0; color: var(--muted); text-align: center; }
.fb-box { padding: 16px 18px; }
.fb-box h3 { margin-bottom: 12px; font-size: 16px; }
.fb-box h3 a:hover { color: var(--accent); }
.fb-box .more { margin-top: 12px; }
.fb-leagues { display: grid; gap: 4px; }
.fb-leagues a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; font-weight: 700; font-size: 14.5px; }
.fb-leagues a:hover { background: var(--soft); color: var(--accent); }
.fb-leagues small { font-weight: 500; font-size: 12px; color: var(--muted); }
.fb-leagues--grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.fb-leagues--grid a { padding: 18px; }
.fb-src p { font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
.table-wrap { overflow-x: auto; }
.standings { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.standings th, .standings td { padding: 8px 6px; text-align: center; border-bottom: 1px solid var(--line); white-space: nowrap; }
.standings th { font-size: 11.5px; color: var(--muted); font-weight: 700; }
.standings .l { text-align: left; }
.standings tbody tr:nth-child(-n+1) td:first-child { color: #fff; background: var(--accent); border-radius: 6px; }
.standings tbody tr:hover { background: var(--soft); }
@media (max-width: 640px) {
  .hide-sm { display: none; }
  .fx { grid-template-columns: 44px 1fr auto 1fr; gap: 2px 8px; padding: 10px; }
  .fx__team { font-size: 13.5px; }
}

/* Khối bóng đá trên trang chủ */
.fb-mini { padding: 16px; }
.fb-mini .fx-list { border: 0; }
.fb-mini .fx { padding: 10px 4px; }
.fb-mini .fx-day { margin-top: 10px; }
.fb-home { margin-bottom: 22px; }
.fb-home__grid { display: grid; gap: 16px; }
@media (min-width: 1000px) { .fb-home__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; } }

/* ---- Tỷ giá ngoại tệ (trang chủ) -------------------------------------- */
.fx-rates { margin-bottom: 22px; padding: 16px 18px; }
.fx-rates__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 12px; }
.fx-rates__head h2 { display: flex; align-items: center; gap: 8px; font-size: 18px; }
.fx-rates__head h2 .icon { color: var(--c-world); }
.fx-rates__head small { color: var(--muted); font-size: 12.5px; }
.fx-rates__list { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.rate { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 10px; padding: 10px 12px; border-radius: 12px; background: var(--soft); }
.rate__flag { grid-row: span 2; font-size: 26px; line-height: 1; }
.rate__code { font: 800 13.5px/1 var(--f); }
.rate__code small { font-weight: 500; color: var(--muted); }
.rate__val { font: 700 15.5px/1.2 var(--f); font-variant-numeric: tabular-nums; }
.fx-rates__note { margin-top: 10px; font-size: 12px; color: var(--muted); }

/* ---- Thời tiết (trang chủ): hiện tại + 5 ngày --------------------------- */
.wx { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; }
.wx__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.wx__head h3 { font-size: 15px; }
.wx__head select { height: 30px; padding: 0 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); color: var(--ink); font: 600 12.5px/1 var(--f); cursor: pointer; }
.wx__now { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 8px; }
.wx__icon { font-size: 36px; line-height: 1; }
.wx__temp { font: 800 38px/1 var(--f); letter-spacing: -.03em; }
.wx__info { display: grid; gap: 2px; min-width: 0; }
.wx__info b { font-size: 14px; }
.wx__info small { font-size: 11.5px; color: var(--muted); line-height: 1.35; }
.wx__days { list-style: none; margin: 0; padding: 8px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; border-top: 1px solid var(--line); }
.wx__days li { display: grid; justify-items: center; gap: 1px; font-size: 12px; }
.wx__days span { font-weight: 700; color: var(--muted); }
.wx__days i { font-style: normal; font-size: 18px; line-height: 1.3; }
.wx__days b { font-size: 13px; }
.wx__days small { color: var(--muted); }
.wx__days em { font-style: normal; font-size: 10.5px; color: #2563eb; }

/* Logo CLB cạnh tên đội */
.crest { display: inline-block; flex: none; width: 22px; height: 22px; object-fit: contain; vertical-align: -6px; }
.crest--ph { display: inline-grid; place-items: center; border-radius: 50%; background: var(--soft); color: var(--muted); font: 800 9px/1 var(--f); }
.fx__team { display: flex; align-items: center; gap: 8px; }
.fx__home { justify-content: flex-end; }
.fx__team .crest + *, .fx__team { overflow: hidden; }
.standings td.l strong { display: inline-flex; align-items: center; gap: 8px; }
:root[data-theme="dark"] .crest:not(.crest--ph) { filter: drop-shadow(0 0 1px rgba(255, 255, 255, .5)); }
