/* ==========================================================================
   BizzPress — theme core: design tokens + shared components
   (loaded after style.css + dynamic.css; page layers bp-header/bp-home/
   bp-markets/bp-article/bp-listing build on these classes — see docs/design-spec.md)
   ========================================================================== */

/* ---- 1. Tokens ---------------------------------------------------------- */
:root {
  --bt-bg: #f0f3f8;
  --bt-surface: #ffffff;
  --bt-black: #000000;
  --bt-ink: #141414;
  --bt-muted: #6f6f73;
  --bt-grey: #666666;
  --bt-line: #e6e8ec;
  --bt-ad: #eaeaea;
  --bt-cyan: #00aeef;
  --bt-link: #2fa7df;
  --bt-cyan-soft: #eaf9ff;
  --bt-cyan-soft-2: #f0f8ff;
  --bt-teal: #133d55;
  --bt-teal-2: #123245;
  --bt-teal-line: #2a5d7b;
  --bt-cat: #ff4f5e;
  --bt-up: #0a8f3c;
  --bt-up-bg: #e3f3e8;
  --bt-down: #e03131;
  --bt-down-bg: #fdecec;
  --bt-down-line: #f5c2c7;
  --bt-footer: #181818;
  --bt-footer-2: #111111;
  --bt-badge: #e3000f;
  --bt-yellow: #ffd400;
  --bt-font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --bt-wrap: 1270px;
  --bt-gap: 20px;
  --bt-header-h: 113px;          /* black band (84) + nav row (29) */

  /* legacy tokens (style.css / dynamic.css) mapped onto the new palette */
  --bg: var(--bt-bg);
  --surface: var(--bt-surface);
  --surface-2: #f7f9fd;
  --border: var(--bt-line);
  --border-2: #eef0f3;
  --text: var(--bt-ink);
  --text-soft: #5b6470;
  --text-mute: var(--bt-muted);
  --ink: var(--bt-ink);
  --heading: var(--bt-ink);
  --brand: #0d2f6e;
  --brand-dark: #0b2550;
  --brand-soft: var(--bt-cyan-soft);
  --accent: var(--bt-link);
  --btn: var(--bt-cyan);
  --btn-dark: #0096d1;
  --icon: var(--bt-cyan);
  --live: var(--bt-down);
  --livetv: var(--bt-down);
  --livetv-dark: #b91c1c;
  --green: var(--bt-up);
  --green-dark: #07702f;
  --green-soft: var(--bt-up-bg);
  --cat-national: #0d2f6e; --cat-politics: #0b2550; --cat-business: #e03131; --cat-sports: #1b6fd3;
  --cat-ent: #6b21a8; --cat-tech: #0f766e; --cat-world: #0b2550; --cat-health: #15803d;
  --r-sm: 4px; --r-md: 4px; --r-lg: 8px; --r-pill: 999px;
  --f-head: var(--bt-font);
  --f-body: var(--bt-font);
  --f-ui: var(--bt-font);
  --f-serif: var(--bt-font);
  --wrap: var(--bt-wrap);
  --gap: var(--bt-gap);
}
[data-theme="dark"] {
  --bt-bg: #0e1014;
  --bt-surface: #15181d;
  --bt-ink: #e8eaee;
  --bt-muted: #9aa0a8;
  --bt-grey: #8f949c;
  --bt-line: #262a31;
  --bt-ad: #1d2127;
  --bt-cyan-soft: #10303f;
  --bt-cyan-soft-2: #132a36;
  --bt-up-bg: #113522;
  --bt-down-bg: #3a1618;
  --bt-down-line: #5b2226;
  --surface-2: #1a1e24;
  --border-2: #202329;
  --text-soft: #c3c8d0;
}

/* ---- 2. Base ------------------------------------------------------------ */
html { scroll-behavior: smooth; }
body { background: var(--bt-bg); color: var(--bt-ink); font-family: var(--bt-font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--bt-link); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; color: var(--bt-ink); font-family: var(--bt-font); }
button { font-family: var(--bt-font); }
::selection { background: var(--bt-cyan); color: #fff; }
:focus-visible { outline: 2px solid var(--bt-cyan); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--bt-cyan); color: #fff; padding: 8px 14px; z-index: 2000; border-radius: 4px; }
.skip-link:focus { left: 8px; }

/* ---- 3. Layout ---------------------------------------------------------- */
.bt-wrap { width: 100%; max-width: var(--bt-wrap); margin: 0 auto; padding: 0 16px; box-sizing: border-box; }
@media (min-width: 1300px) { .bt-wrap { padding: 0; } }
.bt-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--bt-gap); align-items: start; }
.bt-main, .bt-sidebar { min-width: 0; }
.bt-main > * + *, .bt-sidebar > * + * { margin-top: var(--bt-gap); }
.bt-section + .bt-section { margin-top: var(--bt-gap); }
@media (max-width: 1024px) { .bt-layout { grid-template-columns: minmax(0, 1fr); } }
.bt-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--bt-gap); }
.bt-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--bt-gap); }
.bt-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--bt-gap); }
@media (max-width: 760px) { .bt-grid-2, .bt-grid-3, .bt-grid-4 { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 761px) and (max-width: 1024px) { .bt-grid-3, .bt-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bt-hide-mobile { display: initial; } .bt-hide-desktop { display: none; }
@media (max-width: 919px) { .bt-hide-mobile { display: none !important; } .bt-hide-desktop { display: initial; } }

/* ---- 4. Cards & headings ------------------------------------------------ */
.bt-card { background: var(--bt-surface); border: 1px solid var(--bt-line); padding: 16px 18px; box-sizing: border-box; }
.bt-card--flush { padding: 0; }
.bt-card--top { border-top: 3px solid var(--bt-cyan); }
.bt-card > .bt-chip, .bt-card > .bt-chip-row { margin: -1px 0 14px -1px; }
.bt-card--flush > .bt-chip, .bt-card--flush > .bt-chip-row { margin: 0; }

.bt-chip { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 12px 6px 10px; background: var(--bt-black); color: #fff; font-size: 14px; font-weight: 700; line-height: 1.2; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.bt-chip i { width: 8px; height: 8px; background: var(--bt-cyan); flex-shrink: 0; }
.bt-chip a { color: #fff; }
.bt-chip-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--bt-line); }
.bt-chip-row__right { display: inline-flex; align-items: center; gap: 8px; padding-right: 8px; }
.bt-chip-row__right .bt-badge-nse { font-size: 11px; font-weight: 700; padding: 3px 8px; background: var(--bt-cyan-soft); color: var(--bt-link); letter-spacing: .06em; }

.bt-colhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
.bt-colhead h2, .bt-colhead h3 { position: relative; margin: 0; padding-left: 14px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--bt-ink); line-height: 1.4; }
.bt-colhead h2::before, .bt-colhead h3::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; border-radius: 2px; background: var(--bt-cyan); }
.bt-viewall { font-size: 14px; font-weight: 500; color: var(--bt-link); white-space: nowrap; }
.bt-viewall:hover { text-decoration: underline; }

.bt-band__head h2, .bt-section-title { font-size: 30px; font-weight: 700; line-height: 1; text-transform: uppercase; color: #fff; }

/* ---- 5. Tags, labels, pills, badges, buttons ----------------------------- */
.bt-tag { display: inline-block; padding: 4px 9px; background: var(--bt-cyan-soft); color: var(--bt-link); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; border-radius: 3px; }
.bt-tag:hover { background: var(--bt-cyan); color: #fff; }
.bt-cat { display: inline-block; margin-bottom: 4px; color: var(--bt-cat); font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; line-height: 1.3; }
.bt-cat:hover { color: var(--bt-cat); text-decoration: underline; }
.bt-pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 4px; font-size: 12px; font-weight: 600; line-height: 1.3; white-space: nowrap; background: var(--bt-cyan-soft-2); color: var(--bt-ink); }
.bt-pill.up { background: var(--bt-up-bg); color: var(--bt-up); }
.bt-pill.down { background: var(--bt-down-bg); color: var(--bt-down); }
.bt-pill svg { width: 10px; height: 10px; fill: currentColor; }
.bt-chg { font-weight: 600; } .bt-chg.up { color: var(--bt-up); } .bt-chg.down { color: var(--bt-down); }
.bt-badge { display: inline-block; margin-left: 4px; padding: 1px 5px; background: var(--bt-badge); color: #fff; font-size: 9px; font-weight: 700; letter-spacing: .06em; border-radius: 2px; vertical-align: top; }
.bt-live { display: inline-flex; align-items: center; gap: 6px; color: var(--bt-down); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.bt-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--bt-down); box-shadow: 0 0 0 4px rgba(224, 49, 49, .18); }
.bt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 24px; background: var(--bt-cyan); color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; line-height: 1.3; border: 1px solid var(--bt-cyan); border-radius: 4px; cursor: pointer; transition: background-color .15s, color .15s; }
.bt-btn:hover { background: #0096d1; border-color: #0096d1; color: #fff; }
.bt-btn--outline { background: transparent; color: var(--bt-cyan); }
.bt-btn--outline:hover { background: var(--bt-cyan); color: #fff; }
.bt-btn--sm { padding: 6px 14px; font-size: 12px; }
.bt-more { display: flex; justify-content: center; padding: 14px 0 4px; }
.bt-more a { display: inline-flex; align-items: center; gap: 6px; color: var(--bt-link); font-size: 16px; font-weight: 500; }
.bt-more a svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.bt-more a:hover { text-decoration: underline; }
.bt-more--light a { color: #fff; }

/* ---- 6. Dark bands + tab strips ------------------------------------------ */
.bt-band { background: var(--bt-teal); color: #fff; padding: 0 0 20px; }
.bt-band__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 18px 20px 14px; background: linear-gradient(90deg, rgba(0, 174, 239, .22), rgba(0, 174, 239, 0) 60%); }
.bt-band__head h2 { font-size: 22px; font-weight: 700; line-height: 1.2; text-transform: none; color: #fff; }
.bt-band__head p { margin: 0; font-size: 13px; color: rgba(255, 255, 255, .72); }
.bt-band__body { padding: 20px 20px 0; }
.bt-band__body > * + * { margin-top: 16px; }
.bt-band .bt-card { border-color: transparent; }
.bt-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); background: var(--bt-teal-2); border-top: 1px solid var(--bt-teal-line); border-bottom: 1px solid var(--bt-teal-line); }
.bt-tabs--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bt-tabs--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.bt-tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 84px; padding: 12px 8px; border-right: 1px solid var(--bt-teal-line); color: #fff; font-size: 12px; font-weight: 500; text-align: center; transition: background-color .15s; }
.bt-tab:last-child { border-right: 0; }
.bt-tab svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bt-tab:hover, .bt-tab.active { background: rgba(0, 174, 239, .18); color: #fff; }
.bt-tab.active svg { color: var(--bt-cyan); }
@media (max-width: 760px) {
  .bt-tabs, .bt-tabs--3, .bt-tabs--6 { display: flex; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .bt-tabs::-webkit-scrollbar { display: none; }
  .bt-tab { flex: 0 0 33.33%; min-width: 120px; }
  .bt-band__head { padding: 14px 16px 10px; }
  .bt-band__body { padding: 14px 12px 0; }
}

/* ---- 7. Index cards, sector cards, tables, gauge, sparkline, heatmap ---- */
.bt-idx-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bt-idx-card { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; background: var(--bt-surface); border: 1px solid var(--bt-line); border-radius: 6px; color: var(--bt-ink); }
.bt-idx-card .name { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--bt-muted); }
.bt-idx-card .val { font-size: 20px; font-weight: 700; line-height: 1.2; }
.bt-idx-card .chg { font-size: 13px; font-weight: 600; }
.bt-idx-card.up { background: var(--bt-up-bg); border-color: #bfe3c9; }
.bt-idx-card.up .chg { color: var(--bt-up); }
.bt-idx-card.down { background: var(--bt-down-bg); border-color: var(--bt-down-line); }
.bt-idx-card.down .chg { color: var(--bt-down); }
@media (max-width: 760px) { .bt-idx-row { grid-template-columns: minmax(0, 1fr); } }
.bt-sector-strip, .bt-sector-card { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--bt-surface); border: 1px solid var(--bt-line); border-radius: 6px; color: var(--bt-ink); }
.bt-sector-strip .ic, .bt-sector-card .ic, .bt-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--bt-cyan-soft-2); color: var(--bt-cyan); flex-shrink: 0; }
.bt-ic svg, .bt-sector-strip .ic svg, .bt-sector-card .ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bt-sector-strip .name, .bt-sector-card .name { font-size: 16px; font-weight: 600; flex: 1; }
.bt-sector-strip .idx, .bt-sector-card .idx { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25; }
.bt-sector-strip .idx small, .bt-sector-card .idx small { font-size: 12px; color: var(--bt-muted); }
.bt-sector-strip .idx b, .bt-sector-card .idx b { font-size: 14px; font-weight: 600; }
.bt-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.bt-table th { padding: 12px 14px; background: var(--bt-cyan-soft-2); color: var(--bt-ink); font-weight: 500; text-align: left; }
.bt-table td { padding: 11px 14px; border-bottom: 1px solid var(--bt-line); vertical-align: middle; }
.bt-table td.num, .bt-table th.num { text-align: right; }
.bt-table .co { font-weight: 600; }
.bt-table .sub { display: block; font-size: 12px; }
.bt-table tr:hover td { background: var(--surface-2); }
.bt-gauge { padding: 4px 0 2px; }
.bt-gauge__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bt-gauge__label { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--bt-muted); }
.bt-gauge__val { font-size: 26px; font-weight: 700; color: var(--bt-up); line-height: 1.1; }
.bt-gauge__val.down { color: var(--bt-down); }
.bt-gauge__bar { position: relative; height: 8px; margin: 10px 0 6px; border-radius: 4px; background: linear-gradient(90deg, #e03131 0%, #f59e0b 50%, #0a8f3c 100%); }
.bt-gauge__dot { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; border: 3px solid var(--bt-ink); box-sizing: border-box; }
.bt-gauge__scale { display: flex; justify-content: space-between; font-size: 11px; color: var(--bt-muted); }
.bt-sparkline { display: block; width: 100%; height: auto; }
.bt-sparkline .line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.bt-sparkline .area { opacity: .14; }
.bt-sparkline.up .line { stroke: var(--bt-up); } .bt-sparkline.up .area { fill: var(--bt-up); }
.bt-sparkline.down .line { stroke: var(--bt-down); } .bt-sparkline.down .area { fill: var(--bt-down); }
.bt-sparkline .ref { stroke: var(--bt-muted); stroke-dasharray: 4 4; stroke-width: 1; opacity: .6; }
.bt-heatmap { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.bt-heatmap div { padding: 8px 4px; border-radius: 4px; text-align: center; font-size: 11px; line-height: 1.3; color: var(--bt-ink); background: var(--bt-cyan-soft-2); overflow: hidden; }
.bt-heatmap b { display: block; font-size: 11px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bt-heatmap .p1 { background: #e3f3e8; } .bt-heatmap .p2 { background: #bfe3c9; } .bt-heatmap .p3 { background: #7fcb96; } .bt-heatmap .p4 { background: #1e9e4f; color: #fff; }
.bt-heatmap .n1 { background: #fdecec; } .bt-heatmap .n2 { background: #f5c2c7; } .bt-heatmap .n3 { background: #ec8a92; } .bt-heatmap .n4 { background: #d03a44; color: #fff; }
.bt-heatmap .z { background: var(--bt-line); }
.bt-segtabs { display: inline-flex; padding: 4px; background: var(--bt-cyan-soft-2); border-radius: 6px; gap: 2px; }
.bt-segtabs button { padding: 6px 14px; border: 0; background: transparent; border-radius: 4px; font: 500 13px/1.3 var(--bt-font); color: var(--bt-muted); cursor: pointer; }
.bt-segtabs button.active { background: var(--bt-surface); color: var(--bt-up); font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.bt-segtabs button.active.is-down { color: var(--bt-down); }
.bt-chiptabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.bt-chiptabs::-webkit-scrollbar { display: none; }
.bt-chiptabs button { flex-shrink: 0; padding: 6px 12px; border: 0; border-radius: 4px; background: var(--bt-cyan-soft-2); color: var(--bt-muted); font: 500 12px/1.3 var(--bt-font); cursor: pointer; }
.bt-chiptabs button.active { background: var(--bt-cyan); color: #fff; font-weight: 600; }
.bt-icontabs { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.bt-icontabs button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 4px 2px; border: 0; background: none; font: 500 13px/1.2 var(--bt-font); color: var(--bt-muted); cursor: pointer; }
.bt-icontabs button svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: .55; }
.bt-icontabs button.active { color: var(--bt-link); }
.bt-icontabs button.active svg { opacity: 1; }

/* ---- 8. Story lists, leads, media ---------------------------------------- */
.bt-list { list-style: none; margin: 0; padding: 0; }
.bt-list li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--bt-line); }
.bt-list li:first-child { padding-top: 0; }
.bt-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.bt-list .thumb { display: block; flex-shrink: 0; overflow: hidden; background: var(--surface-2); }
.bt-list .thumb img { width: 100%; height: 100%; object-fit: cover; }
.bt-list .txt { min-width: 0; flex: 1; }
.bt-list h3 { font-size: 16px; font-weight: 500; line-height: 1.45; }
.bt-list h3 a:hover { color: var(--bt-link); }
.bt-list .meta { display: block; margin-top: 4px; font-size: 12px; color: var(--bt-muted); }
.bt-list--sm .thumb { width: 70px; height: 50px; }
.bt-list--sm h3 { font-size: 14px; }
.bt-list--md .thumb { width: 90px; height: 60px; }
.bt-list--lg .thumb { width: 120px; height: 80px; }
.bt-list--lg h3 { font-size: 18px; font-weight: 700; line-height: 1.4; }
.bt-list--bold h3 { font-weight: 700; }
.bt-list--thumb-right li { flex-direction: row-reverse; }
.bt-list--2col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.bt-list--2col li:first-child { padding-top: 12px; }
.bt-list--2col li:nth-child(-n+2) { padding-top: 0; }
@media (max-width: 760px) { .bt-list--2col { grid-template-columns: minmax(0, 1fr); } .bt-list--2col li:nth-child(2) { padding-top: 12px; } }
.bt-num-list { list-style: none; margin: 0; padding: 0; counter-reset: bt; }
.bt-num-list li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--bt-line); counter-increment: bt; font-size: 15px; font-weight: 500; line-height: 1.45; }
.bt-num-list li::before { content: counter(bt); flex-shrink: 0; width: 22px; font-size: 18px; font-weight: 700; color: var(--bt-link); line-height: 1.2; }
.bt-num-list li:last-child { border-bottom: 0; }
.bt-media { display: block; position: relative; overflow: hidden; background: var(--surface-2); aspect-ratio: 16 / 9; }
.bt-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.bt-media:hover img { transform: scale(1.04); }
.bt-media--4x3 { aspect-ratio: 4 / 3; } .bt-media--3x2 { aspect-ratio: 3 / 2; } .bt-media--4x5 { aspect-ratio: 4 / 5; }
.bt-play { position: absolute; left: 50%; top: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; display: grid; place-items: center; pointer-events: none; }
.bt-play svg { width: 20px; height: 20px; fill: currentColor; margin-left: 3px; }
.bt-lead h2, .bt-lead h3 { font-size: 24px; font-weight: 700; line-height: 1.1; margin: 10px 0 8px; }
.bt-lead .excerpt { margin: 0; font-size: 14px; line-height: 1.5; color: var(--bt-muted); }
.bt-lead--side { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.bt-lead--side .bt-media { order: 2; }
@media (max-width: 760px) { .bt-lead--side { grid-template-columns: minmax(0, 1fr); } .bt-lead--side .bt-media { order: 0; } }
.bt-by { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--bt-muted); }
.bt-by svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.bt-story h3 { font-size: 16px; font-weight: 700; line-height: 1.4; margin-top: 10px; }
.bt-story .excerpt { margin: 6px 0 0; font-size: 14px; color: var(--bt-muted); line-height: 1.5; }

/* ---- 9. Ads, circle tabs, widgets, numbered, breadcrumb, pager ------------ */
.bt-ad { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px 12px 14px; background: var(--bt-ad); text-align: center; }
.bt-ad .lbl { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--bt-grey); }
.bt-ad img { margin: 0 auto; }
.bt-circle-tabs { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 8px; padding: 18px 10px 14px; }
.bt-circle-tabs a { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 78px; font-size: 13px; font-weight: 500; color: var(--bt-ink); text-align: center; }
.bt-circle-tabs a span.ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--bt-cyan-soft-2); color: var(--bt-ink); transition: background-color .15s, color .15s; }
.bt-circle-tabs a span.ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.bt-circle-tabs a:hover span.ic, .bt-circle-tabs a.active span.ic { background: var(--bt-cyan); color: #fff; }
.bt-circle-tabs a.active { color: var(--bt-link); }
@media (max-width: 760px) { .bt-circle-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; } .bt-circle-tabs::-webkit-scrollbar { display: none; } }
.bt-widget { background: var(--bt-surface); border: 1px solid var(--bt-line); padding: 14px 16px 16px; }
.bt-widget > .bt-chip { margin: -1px 0 12px -1px; }
.bt-widget--dark { background: var(--bt-black); color: #fff; border-color: var(--bt-black); }
.bt-widget--dark h3 { color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.bt-widget--teal { background: var(--bt-teal); color: #fff; border-color: var(--bt-teal); }
.bt-widget--teal h3, .bt-widget--teal a { color: #fff; }
.bt-widget--teal a.more { color: var(--bt-cyan); font-size: 14px; font-weight: 500; }
.bt-widget--promo { background: var(--bt-black); color: var(--bt-yellow); border-color: var(--bt-black); text-align: center; padding: 26px 18px; }
.bt-widget--promo h3 { color: var(--bt-yellow); font-size: 22px; font-weight: 800; line-height: 1.2; text-transform: uppercase; margin-bottom: 14px; }
.bt-widget--sticky { position: sticky; top: calc(var(--bt-header-h) + 16px); }
.bt-numbered { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.bt-numbered article { position: relative; padding-left: 54px; }
.bt-numbered article::before { content: attr(data-n); position: absolute; left: 0; top: -14px; font-size: 120px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--bt-cyan); opacity: .9; }
.bt-numbered h3 { margin-top: 12px; font-size: 16px; font-weight: 700; line-height: 1.4; color: #fff; }
.bt-numbered h3 a { color: #fff; }
.bt-numbered h3 a:hover { color: var(--bt-cyan); }
@media (max-width: 760px) { .bt-numbered { grid-template-columns: minmax(0, 1fr); } }
.bt-breadcrumb { display: flex; align-items: center; gap: 8px; padding: 10px 0; font-size: 14px; color: var(--bt-muted); white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.bt-breadcrumb::-webkit-scrollbar { display: none; }
.bt-breadcrumb a { font-weight: 600; color: var(--bt-ink); }
.bt-breadcrumb a:hover { color: var(--bt-link); }
.bt-breadcrumb .sep { color: var(--bt-muted); }
.bt-breadcrumb .cur { overflow: hidden; text-overflow: ellipsis; }
.bt-pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 20px 0 0; }
.bt-pager a, .bt-pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 10px; border: 1px solid var(--bt-line); background: var(--bt-surface); font-size: 14px; font-weight: 500; color: var(--bt-ink); border-radius: 4px; }
.bt-pager a:hover { background: var(--bt-cyan-soft); color: var(--bt-link); }
.bt-pager .cur { background: var(--bt-cyan); border-color: var(--bt-cyan); color: #fff; }
.bt-pager .disabled { opacity: .45; }
.bt-empty { padding: 40px 20px; text-align: center; color: var(--bt-muted); font-size: 16px; }
.bt-empty h2 { font-size: 22px; font-weight: 700; color: var(--bt-ink); margin-bottom: 8px; }
.bt-input { width: 100%; padding: 10px 12px; border: 1px solid var(--bt-line); border-radius: 4px; background: var(--bt-surface); color: var(--bt-ink); font: 400 14px/1.4 var(--bt-font); box-sizing: border-box; }
.bt-input:focus { outline: 2px solid var(--bt-cyan); outline-offset: 0; border-color: var(--bt-cyan); }
.bt-note { font-size: 12px; color: var(--bt-grey); }

/* legacy pieces that may remain inside rebuilt pages */
.dyn-pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 20px 0 0; }
.dyn-pager a, .dyn-pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 10px; border: 1px solid var(--bt-line); background: var(--bt-surface); font-size: 14px; font-weight: 500; color: var(--bt-ink); border-radius: 4px; }
.dyn-pager .cur { background: var(--bt-cyan); border-color: var(--bt-cyan); color: #fff; }
.dyn-pager .disabled { opacity: .45; }
.to-top { position: fixed; right: 16px; bottom: 20px; z-index: 60; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--bt-cyan); color: #fff; display: grid; place-items: center; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s; box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top svg { width: 20px; height: 20px; fill: currentColor; }
@media (max-width: 919px) { .to-top { bottom: 72px; } }
.scroll-progress { position: fixed; left: 0; top: 0; height: 3px; width: 0; background: var(--bt-cyan); z-index: 1200; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .bt-media img { transition: none; } }
