:root {
  --b24-bg: #f3f6fb;
  --b24-card: #ffffff;
  --b24-text: #152033;
  --b24-muted: #667085;
  --b24-line: #dbe4f0;
  --b24-blue: #1769e0;
  --b24-blue-dark: #0f4fb5;
  --b24-blue-soft: #e8f1ff;
  --b24-red: #e5484d;
  --b24-yellow: #f5b940;
  --b24-green: #1b9b63;
  --b24-radius: 20px;
  --b24-shadow: 0 14px 40px rgba(21, 32, 51, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--b24-bg);
  color: var(--b24-text);
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--b24-blue); }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea { font: inherit; }
.b24-container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.b24-main { padding: 26px 0 44px; }
.b24-muted { color: var(--b24-muted); }
.b24-button,
.b24-load-more,
.b24-add-news,
.b24-search-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 0;
  background: var(--b24-blue);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}
.b24-button:hover,
.b24-load-more:hover,
.b24-add-news:hover,
.b24-search-form button:hover { background: var(--b24-blue-dark); color: #fff; }

/* Header */
.b24-top-ad { background: #fff; border-bottom: 1px solid var(--b24-line); padding: 10px 0; }
.b24-header-main { background: #fff; border-bottom: 1px solid var(--b24-line); }
.b24-header-row { min-height: 82px; display: flex; align-items: center; gap: 18px; justify-content: space-between; }
.b24-logo { display: inline-flex; align-items: baseline; gap: 2px; font-weight: 950; letter-spacing: -0.055em; color: var(--b24-text); font-size: clamp(28px, 4vw, 44px); line-height: 1; }
.b24-logo strong { color: var(--b24-blue); }
.b24-logo-footer { font-size: 30px; }
.b24-header-actions { display: flex; align-items: center; gap: 10px; }
.b24-search-toggle,
.b24-menu-toggle { border: 1px solid var(--b24-line); background: #fff; color: var(--b24-text); border-radius: 999px; min-height: 44px; padding: 10px 15px; cursor: pointer; font-weight: 800; }
.b24-menu-toggle { display: none; gap: 4px; align-items: center; }
.b24-menu-toggle span { display: block; width: 18px; height: 2px; background: var(--b24-text); border-radius: 99px; }
.b24-menu-toggle em { font-style: normal; margin-left: 5px; }
.b24-main-nav { background: #fff; border-bottom: 1px solid var(--b24-line); }
.b24-menu,
.b24-top-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.b24-menu > li { position: relative; }
.b24-menu a { display: block; padding: 15px 12px; font-weight: 800; color: var(--b24-text); }
.b24-menu a:hover { color: var(--b24-blue); }
.b24-menu .sub-menu { display: none; position: absolute; z-index: 20; top: 100%; left: 0; min-width: 220px; background: #fff; border: 1px solid var(--b24-line); border-radius: 14px; box-shadow: var(--b24-shadow); padding: 8px; list-style: none; }
.b24-menu li:hover > .sub-menu { display: block; }
.b24-menu .sub-menu a { padding: 9px 10px; border-radius: 10px; }
.b24-menu .sub-menu a:hover { background: var(--b24-blue-soft); }
.b24-search-panel { background: #fff; border-bottom: 1px solid var(--b24-line); padding: 14px 0; }
.b24-search-form { display: flex; gap: 10px; }
.b24-search-form input { flex: 1; min-height: 48px; border: 1px solid var(--b24-line); border-radius: 999px; padding: 0 18px; font-size: 16px; }

/* Sections */
.b24-section { margin: 0 0 28px; }
.b24-section-head { margin: 0 0 16px; }
.b24-section-head-row { display: flex; justify-content: space-between; gap: 16px; align-items: end; }
.b24-section-head h1,
.b24-section-head h2 { margin: 0; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.1; letter-spacing: -0.04em; }
.b24-section-head p { max-width: 470px; margin: 0; color: var(--b24-muted); font-size: 15px; }
.b24-kicker { display: inline-block; margin: 0 0 6px; color: var(--b24-blue); text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 900; }

/* Now block */
.b24-now-section { padding-top: 4px; }
.b24-now-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.b24-now-card { position: relative; min-height: 132px; background: var(--b24-card); border: 1px solid var(--b24-line); border-radius: var(--b24-radius); padding: 16px; box-shadow: var(--b24-shadow); overflow: hidden; display: flex; flex-direction: column; gap: 7px; }
.b24-now-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--b24-blue); opacity: .9; }
.b24-now-card span { color: var(--b24-muted); font-size: 13px; font-weight: 800; }
.b24-now-card strong { font-size: 18px; line-height: 1.15; letter-spacing: -0.02em; }
.b24-now-card em { margin-top: auto; color: var(--b24-muted); font-style: normal; font-size: 13px; }
.b24-now-tension { grid-column: span 2; }
.b24-tension-scale { display: flex; gap: 5px; margin: 2px 0 0; }
.b24-tension-scale i { height: 8px; flex: 1; border-radius: 999px; background: #e3e9f2; }
.b24-tension-scale i.is-active:nth-child(1),
.b24-tension-scale i.is-active:nth-child(2) { background: var(--b24-green); }
.b24-tension-scale i.is-active:nth-child(3) { background: var(--b24-yellow); }
.b24-tension-scale i.is-active:nth-child(4),
.b24-tension-scale i.is-active:nth-child(5) { background: var(--b24-red); }
.b24-info-dot { position: absolute; top: 13px; right: 13px; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--b24-line); background: #fff; color: var(--b24-blue); font-weight: 900; cursor: help; }
.b24-tooltip { display: none; position: absolute; z-index: 5; right: 12px; top: 44px; width: min(300px, calc(100% - 24px)); padding: 12px; background: var(--b24-text); color: #fff; border-radius: 14px; font-size: 13px; line-height: 1.4; box-shadow: var(--b24-shadow); }
.b24-info-dot:hover + .b24-tooltip,
.b24-info-dot:focus + .b24-tooltip { display: block; }

/* Ads */
.b24-ad-zone { margin: 18px auto 28px; }
.b24-ad-widget { max-width: 100%; }
.b24-ad-zone-inline { margin: 24px 0; padding: 12px; border: 1px dashed var(--b24-line); border-radius: 16px; background: #f8fbff; }

/* Cards */
.b24-filter { display: flex; gap: 8px; overflow-x: auto; padding: 0 0 12px; margin: -2px 0 10px; }
.b24-filter button { flex: 0 0 auto; min-height: 38px; border: 1px solid var(--b24-line); background: #fff; color: var(--b24-text); border-radius: 999px; padding: 8px 14px; cursor: pointer; font-weight: 800; }
.b24-filter button.is-active { background: var(--b24-blue); border-color: var(--b24-blue); color: #fff; }
.b24-latest-content.is-loading { opacity: .55; pointer-events: none; }
.b24-latest-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(330px, .9fr); gap: 16px; margin-bottom: 16px; }
.b24-latest-side { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.b24-latest-grid,
.b24-more-grid,
.b24-archive-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.b24-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.b24-card { background: var(--b24-card); border: 1px solid var(--b24-line); border-radius: var(--b24-radius); overflow: hidden; box-shadow: var(--b24-shadow); min-width: 0; }
.b24-card-link { display: grid; height: 100%; color: var(--b24-text); }
.b24-card-image { background: #dbe4f0; overflow: hidden; }
.b24-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.b24-card:hover .b24-card-image img { transform: scale(1.035); }
.b24-card-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.b24-card-cat { color: var(--b24-blue); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.b24-card h3 { margin: 0; font-size: 18px; line-height: 1.2; letter-spacing: -0.02em; }
.b24-card p { margin: 0; color: var(--b24-muted); }
.b24-card-meta { display: flex; flex-wrap: wrap; gap: 8px 12px; color: var(--b24-muted); font-size: 12px; margin-top: auto; }
.b24-card-featured .b24-card-image { min-height: 310px; }
.b24-card-featured h3 { font-size: clamp(24px, 3vw, 34px); }
.b24-card-news .b24-card-image { height: 138px; }
.b24-card-news h3 { font-size: 16px; }
.b24-card-compact .b24-card-link { grid-template-columns: 110px minmax(0, 1fr); }
.b24-card-compact .b24-card-image { height: 112px; }
.b24-card-compact h3 { font-size: 15px; line-height: 1.25; }
.b24-card-compact .b24-card-body { padding: 11px; }
.b24-load-more { margin: 22px auto 0; display: flex; }
.b24-empty { padding: 20px; background: #fff; border: 1px solid var(--b24-line); border-radius: var(--b24-radius); color: var(--b24-muted); }

/* Pulse */
.b24-pulse-section .b24-container { background: linear-gradient(135deg, #ffffff, #eef5ff); border: 1px solid var(--b24-line); border-radius: 26px; padding: 22px; box-shadow: var(--b24-shadow); }
.b24-pulse-list { display: grid; gap: 0; }
.b24-pulse-item,
.b24-pulse-empty { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 14px; padding: 13px 0; border-top: 1px solid rgba(23,105,224,.14); }
.b24-pulse-item:first-child { border-top: 0; }
.b24-pulse-item time,
.b24-pulse-empty time { color: var(--b24-blue); font-weight: 950; }
.b24-pulse-item span,
.b24-pulse-item a,
.b24-pulse-empty span { font-weight: 750; }

/* Editor picks */
.b24-editor-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) repeat(3, minmax(0, .85fr)); gap: 14px; }
.b24-editor-grid .b24-card-featured { grid-column: span 1; }
.b24-editor-grid .b24-card-featured .b24-card-image { min-height: 230px; }
.b24-editor-grid .b24-card-featured h3 { font-size: 24px; }

/* Archive / Single */
.b24-archive-layout,
.b24-single-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.b24-archive-main,
.b24-single-main,
.b24-page { min-width: 0; }
.b24-page,
.b24-single-article { background: #fff; border: 1px solid var(--b24-line); border-radius: 26px; padding: clamp(20px, 4vw, 38px); box-shadow: var(--b24-shadow); }
.b24-page-wrap { max-width: 900px; }
.b24-breadcrumbs { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; color: var(--b24-muted); font-size: 13px; margin-bottom: 18px; }
.b24-breadcrumbs a { color: var(--b24-blue); }
.b24-single-cat { display: inline-flex; color: var(--b24-blue); background: var(--b24-blue-soft); border-radius: 999px; padding: 6px 10px; font-weight: 900; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 12px; }
.b24-single-header h1,
.b24-page h1 { margin: 0 0 14px; font-size: clamp(30px, 4.5vw, 48px); line-height: 1.06; letter-spacing: -0.045em; }
.b24-single-meta { display: flex; flex-wrap: wrap; gap: 10px 16px; color: var(--b24-muted); font-size: 14px; margin-bottom: 22px; }
.b24-single-hero { margin: 18px 0; border-radius: 22px; overflow: hidden; background: #e9eef5; }
.b24-single-hero img { width: 100%; }
.b24-share-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 14px 0 22px; color: var(--b24-muted); }
.b24-share-row a { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 6px 10px; border-radius: 999px; background: var(--b24-blue-soft); color: var(--b24-blue); font-weight: 900; }
.b24-entry-content { font-size: 18px; line-height: 1.72; }
.b24-entry-content p { margin: 0 0 1.2em; }
.b24-entry-content h2,
.b24-entry-content h3 { line-height: 1.2; letter-spacing: -0.025em; margin: 1.5em 0 .6em; }
.b24-entry-content a { color: var(--b24-blue); text-decoration: underline; text-underline-offset: 3px; }
.b24-entry-content blockquote { margin: 26px 0; padding: 20px 24px; border-left: 5px solid var(--b24-blue); background: var(--b24-blue-soft); border-radius: 0 18px 18px 0; }
.b24-single-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; color: var(--b24-muted); }
.b24-single-tags a { display: inline-flex; padding: 6px 10px; background: var(--b24-bg); border-radius: 999px; color: var(--b24-blue); font-weight: 800; }
.b24-error-note { margin-top: 22px; padding: 13px 15px; border-radius: 16px; background: #fff7e5; color: #6d4b00; }
.b24-error-note span { font-weight: 950; }
.b24-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 22px; }
.b24-gallery img { border-radius: 14px; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.b24-related { margin-top: 26px; }
.b24-sidebar { display: grid; gap: 18px; }
.b24-side-box { background: #fff; border: 1px solid var(--b24-line); border-radius: 22px; padding: 18px; box-shadow: var(--b24-shadow); }
.b24-side-box h3 { margin: 0 0 12px; font-size: 20px; letter-spacing: -0.025em; }
.b24-side-news { display: grid; gap: 0; }
.b24-side-news-item { display: grid; gap: 4px; padding: 11px 0; border-top: 1px solid var(--b24-line); }
.b24-side-news-item:first-child { border-top: 0; }
.b24-side-news-item span { color: var(--b24-muted); font-size: 12px; }
.b24-side-news-item strong { line-height: 1.22; }

/* Comments */
.b24-comments { margin-top: 26px; background: #fff; border: 1px solid var(--b24-line); border-radius: 26px; padding: clamp(18px, 3vw, 28px); box-shadow: var(--b24-shadow); }
.b24-comments h2 { margin-top: 0; }
.b24-comment-list { padding-left: 22px; }
.b24-comments textarea,
.b24-comments input[type="text"] { width: 100%; border: 1px solid var(--b24-line); border-radius: 16px; padding: 12px; font-size: 16px; }

/* Footer */
.b24-footer { background: #111827; color: #d1d5db; padding: 36px 0; margin-top: 30px; }
.b24-footer a { color: #fff; }
.b24-footer-grid { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 26px; }
.b24-footer h3 { color: #fff; margin-top: 0; }
.b24-footer .b24-logo { color: #fff; }
.b24-logo-footer { width: auto; height: auto; display: inline-flex; align-items: baseline; gap: 3px; font-size: 30px; font-weight: 900; }
.b24-logo-footer strong { color: #ff5962; }

.navigation.pagination { margin-top: 24px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { min-width: 38px; min-height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--b24-line); }
.page-numbers.current { background: var(--b24-blue); color: #fff; border-color: var(--b24-blue); }

@media (max-width: 1100px) {
  .b24-now-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .b24-now-tension { grid-column: span 2; }
  .b24-latest-top { grid-template-columns: 1fr; }
  .b24-editor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b24-archive-layout,
  .b24-single-layout { grid-template-columns: 1fr; }
  .b24-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


@media (max-width: 980px) {
  .b24-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .b24-container { width: min(100% - 24px, 1180px); }
  .b24-main { padding-top: 18px; }
  .b24-header-row { min-height: 70px; }
  .b24-logo { font-size: 30px; }
  .b24-menu-toggle { display: inline-grid; grid-template-columns: 18px auto; }
  .b24-header-actions { gap: 8px; }
  .b24-add-news { padding: 8px 12px; font-size: 14px; }
  .b24-search-toggle { padding: 8px 12px; font-size: 14px; }
  .b24-main-nav { display: none; }
  .b24-main-nav.is-open { display: block; }
  .b24-menu { display: grid; gap: 0; padding: 8px 0; }
  .b24-menu a { padding: 12px 0; border-bottom: 1px solid var(--b24-line); }
  .b24-menu .sub-menu { position: static; display: block; box-shadow: none; border: 0; padding-left: 14px; }
  .b24-section-head-row { display: block; }
  .b24-section-head p { margin-top: 8px; }
  .b24-now-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b24-now-card { min-height: 120px; padding: 14px; }
  .b24-now-tension { grid-column: span 2; }
  .b24-latest-side,
  .b24-latest-grid,
  .b24-more-grid,
  .b24-archive-grid,
  .b24-related-grid { grid-template-columns: 1fr; }
  .b24-card-featured .b24-card-image { min-height: 210px; }
  .b24-card-news .b24-card-image { height: 170px; }
  .b24-card-compact .b24-card-link { grid-template-columns: 92px minmax(0, 1fr); }
  .b24-card-compact .b24-card-image { height: 98px; }
  .b24-pulse-section .b24-container { padding: 16px; }
  .b24-pulse-item,
  .b24-pulse-empty { grid-template-columns: 52px 1fr; }
  .b24-editor-grid { grid-template-columns: 1fr; }
  .b24-single-article,
  .b24-page { padding: 18px; border-radius: 22px; }
  .b24-entry-content { font-size: 17px; line-height: 1.65; }
  .b24-sidebar { grid-template-columns: 1fr; }
  .b24-gallery { grid-template-columns: repeat(2, 1fr); }
  .b24-footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .b24-now-grid { grid-template-columns: 1fr; }
  .b24-now-tension { grid-column: auto; }
  .b24-header-actions { flex-wrap: wrap; justify-content: flex-end; }
  .b24-add-news { min-height: 38px; }
}

/* v1.2 editorial UI */
:root {
  --b24-blue: #1f65c7;
  --b24-blue-dark: #14345e;
  --b24-blue-soft: #edf4fd;
  --b24-red: #e33d46;
  --b24-bg: #f4f6f9;
  --b24-text: #17263a;
  --b24-muted: #68778b;
  --b24-line: #dde4ec;
  --b24-radius: 16px;
  --b24-shadow: 0 8px 24px rgba(28, 49, 76, .06);
}
.b24-container { width: min(1240px, calc(100% - 36px)); }
.b24-main { padding-top: 24px; }
.b24-icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }

/* Header */
.b24-header-row { min-height: 78px; }
.b24-logo { display: block; width: 245px; height: 54px; letter-spacing: 0; }
.b24-logo::after, .b24-logo strong::after { display: none; }
.b24-logo img { width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.b24-header-actions { margin-left: auto; }
.b24-header-button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; padding: 9px 14px; font-weight: 750; cursor: pointer; }
.b24-search-toggle, .b24-menu-toggle { border: 1px solid var(--b24-line); background: #fff; color: var(--b24-blue-dark); }
.b24-menu-toggle { display: none; }
.b24-add-news { background: var(--b24-red); }
.b24-add-news .b24-icon { width: 17px; height: 17px; }
.b24-mobile-report { display: none; }
.b24-menu a { font-weight: 700; }

/* Service dashboard */
.b24-now-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.b24-now-card { min-height: 128px; padding: 15px; border-radius: 16px; box-shadow: var(--b24-shadow); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
a.b24-now-card:hover { transform: translateY(-2px); border-color: #bfd0e5; box-shadow: 0 12px 28px rgba(28,49,76,.09); color: inherit; }
.b24-now-card::before { height: 3px; background: var(--b24-blue); }
.b24-now-card.is-alert::before { background: var(--b24-red); }
.b24-now-card.is-alert strong { color: var(--b24-red); }
.b24-now-label { display: flex; align-items: center; gap: 7px; }
.b24-now-label .b24-icon { width: 17px; height: 17px; color: var(--b24-blue); }
.b24-now-card strong { font-size: 17px; font-weight: 780; }
.b24-now-roads strong { color: var(--b24-text); }
.b24-now-tension { grid-column: 1 / -1; min-height: 126px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, .45fr); align-items: center; gap: 22px; padding: 20px 22px; }
.b24-tension-copy { display: grid; gap: 7px; }
.b24-tension-copy p { margin: 0; color: var(--b24-muted); max-width: 740px; }
.b24-tension-data { display: grid; gap: 9px; }
.b24-tension-data em { text-align: right; }
.b24-info-dot { display: grid; place-items: center; padding: 0; }
.b24-info-dot .b24-icon { width: 16px; height: 16px; }

/* Pulse */
.b24-pulse-section { margin-top: -2px; }
.b24-pulse-section .b24-container { padding: 20px 22px; border-radius: 18px; background: #fff; }
.b24-pulse-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.b24-pulse-head h2 { display: flex; align-items: center; gap: 9px; margin: 0; font-size: clamp(23px, 3vw, 30px); letter-spacing: -.035em; }
.b24-pulse-head h2 .b24-icon { color: var(--b24-red); width: 24px; height: 24px; }
.b24-pulse-intro { margin: 7px 0 13px; color: var(--b24-muted); font-size: 14px; }
.b24-pulse-submit, .b24-pulse-more { border: 1px solid var(--b24-line); background: #fff; color: var(--b24-blue-dark); border-radius: 10px; padding: 8px 12px; font-weight: 750; cursor: pointer; }
.b24-pulse-item, .b24-pulse-empty { grid-template-columns: 58px minmax(0, 1fr); padding: 11px 0; }
.b24-pulse-item time, .b24-pulse-empty time { color: var(--b24-red); font-weight: 800; }
.b24-pulse-message { display: grid; gap: 3px; }
.b24-pulse-message > span, .b24-pulse-message > a { font-weight: 650; }
.b24-pulse-message small { color: var(--b24-muted); }
.b24-pulse-status { color: var(--b24-blue); }
.b24-pulse-item.is-extra { display: none; }
.b24-pulse-list.is-expanded .b24-pulse-item.is-extra { display: grid; }
.b24-pulse-more { justify-self: start; margin-top: 10px; }

/* News flow */
.b24-latest-primary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
.b24-latest-primary .b24-card-news .b24-card-image { height: 190px; }
.b24-latest-primary .b24-card-news h3 { font-size: 18px; }
.b24-latest-grid { margin-top: 18px; }
.b24-ad-after-six { margin: 20px 0; }
.b24-card { border-radius: 16px; box-shadow: var(--b24-shadow); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.b24-card:hover { transform: translateY(-2px); border-color: #c9d6e5; box-shadow: 0 12px 28px rgba(28,49,76,.09); }
.b24-card h3 { font-weight: 750; }
.b24-card-cat { font-weight: 800; color: var(--b24-blue); }
.b24-card-meta { gap: 7px 13px; }
.b24-card-meta span, .b24-single-meta span, .b24-single-meta a, .b24-side-news-item span { display: inline-flex; align-items: center; gap: 5px; }
.b24-card-meta .b24-icon, .b24-side-news-item .b24-icon { width: 14px; height: 14px; }
.b24-editor-inline { margin: 24px 0; padding: 20px; background: #eaf2fc; border: 1px solid #ccdaea; border-radius: 18px; }
.b24-editor-inline .b24-section-head { margin-bottom: 14px; }
.b24-editor-inline h3 { margin: 0; font-size: 25px; letter-spacing: -.03em; }
.b24-editor-inline-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.b24-editor-inline .b24-card { box-shadow: none; }

/* Archive and article */
.b24-archive-layout-wide .b24-archive-grid { grid-template-columns: 1fr; gap: 12px; }
.b24-archive-layout-wide .b24-card-compact .b24-card-link { grid-template-columns: 260px minmax(0, 1fr); }
.b24-archive-layout-wide .b24-card-compact .b24-card-image { height: 160px; }
.b24-archive-layout-wide .b24-card-compact h3 { font-size: 21px; }
.b24-single-layout { grid-template-columns: minmax(0, 1fr) 286px; gap: 22px; }
.b24-single-article { border-radius: 18px; padding: clamp(22px, 4vw, 42px); }
.b24-single-header h1 { max-width: 900px; font-size: clamp(32px, 4.5vw, 52px); }
.b24-single-meta { align-items: center; margin-bottom: 12px; }
.b24-single-meta .b24-icon { width: 16px; height: 16px; }
.b24-entry-content { max-width: 790px; font-size: 18px; line-height: 1.75; }
.b24-share-panel { margin-top: 24px; background: #f6f8fb; }
.b24-related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.b24-side-box { border-radius: 16px; box-shadow: var(--b24-shadow); }

/* Weather and traffic */
.b24-page-wrap.b24-service-wrap, .b24-service-wrap { max-width: 1240px; }
.b24-weather-page { border-radius: 18px; }
.b24-weather-hero { grid-template-columns: minmax(220px, .65fr) 1.35fr; }
.b24-weather-current small { color: var(--b24-muted); font-weight: 650; }
.b24-weather-facts { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.b24-day-card strong { display: flex; align-items: baseline; gap: 6px; }
.b24-day-card strong small { color: var(--b24-muted); font-size: 16px; font-weight: 700; }
.b24-traffic-header { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 18px; }
.b24-traffic-header h1 { margin: 0 0 8px; font-size: clamp(32px, 4.5vw, 48px); letter-spacing: -.04em; }
.b24-traffic-header p { margin: 0; }
.b24-traffic-score { min-width: 230px; display: grid; grid-template-columns: auto auto; gap: 2px 12px; align-items: end; padding: 15px 18px; background: #fff; border: 1px solid var(--b24-line); border-radius: 16px; }
.b24-traffic-score > span { color: var(--b24-muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.b24-traffic-score strong { grid-row: 1 / span 3; grid-column: 2; color: var(--b24-red); font-size: 48px; line-height: 1; }
.b24-traffic-score strong small { font-size: 18px; color: var(--b24-muted); }
.b24-traffic-score em { font-style: normal; font-weight: 750; }
.b24-traffic-score time { color: var(--b24-muted); font-size: 12px; }
.b24-traffic-map { min-height: 650px; margin: 0; border-radius: 18px; }
.b24-traffic-footer { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-top: 14px; }
.b24-traffic-footer p { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; color: var(--b24-muted); font-size: 13px; }
.b24-traffic-footer i { width: 12px; height: 12px; border-radius: 50%; margin-left: 8px; }
.b24-traffic-footer i:first-child { margin-left: 0; }
.b24-traffic-footer .is-free { background: #33a852; }
.b24-traffic-footer .is-medium { background: #f4bd24; }
.b24-traffic-footer .is-heavy { background: #e33d46; }

@media (max-width: 1000px) {
  .b24-now-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .b24-now-tension { grid-column: 1 / -1; }
  .b24-latest-primary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b24-single-layout { grid-template-columns: 1fr; }
  .b24-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b24-weather-facts { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (max-width: 760px) {
  .b24-container { width: min(100% - 24px, 1240px); }
  .b24-header-row { display: flex; min-height: 64px; padding: 7px 0; gap: 8px; }
  .b24-logo { width: min(180px, calc(100% - 144px)); height: 48px; }
  .b24-logo img { object-fit: contain; }
  .b24-header-actions { display: flex; width: auto; gap: 6px; }
  .b24-header-button { width: 40px; min-width: 40px; min-height: 40px; height: 40px; padding: 0; border-radius: 11px; }
  .b24-header-button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .b24-header-button .b24-icon { width: 20px; height: 20px; }
  .b24-menu-toggle { display: inline-flex; }
  .b24-search-toggle { color: var(--b24-blue-dark); background: #fff; }
  .b24-search-toggle::before { display: none; }
  .b24-main-nav .b24-container { padding-bottom: 12px; }
  .b24-mobile-report { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; margin-top: 10px; border-radius: 11px; background: var(--b24-red); color: #fff; font-weight: 750; }
  .b24-mobile-report:hover { color: #fff; }
  .b24-now-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b24-now-tension { display: grid; grid-template-columns: 1fr; }
  .b24-tension-data em { text-align: left; }
  .b24-latest-primary, .b24-editor-inline-grid, .b24-related-grid { grid-template-columns: 1fr; }
  .b24-latest-primary .b24-card-news .b24-card-image { height: 210px; }
  .b24-editor-inline { padding: 16px; }
  .b24-archive-layout-wide .b24-card-compact .b24-card-link { grid-template-columns: 120px minmax(0, 1fr); }
  .b24-archive-layout-wide .b24-card-compact .b24-card-image { height: 124px; }
  .b24-archive-layout-wide .b24-card-compact h3 { font-size: 16px; }
  .b24-sidebar { grid-template-columns: 1fr; }
  .b24-weather-hero { grid-template-columns: 1fr; }
  .b24-weather-facts { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .b24-daily-grid { display: flex; overflow-x: auto; }
  .b24-day-card { min-width: 145px; }
  .b24-traffic-header { display: grid; align-items: stretch; }
  .b24-traffic-score { min-width: 0; }
  .b24-traffic-map { min-height: 68vh; border-radius: 14px; }
  .b24-traffic-footer { align-items: stretch; flex-direction: column; }
}

@media (max-width: 440px) {
  .b24-logo { width: min(150px, calc(100% - 132px)); }
  .b24-now-grid { grid-template-columns: 1fr; }
  .b24-weather-facts { grid-template-columns: 1fr !important; }
}

/* v1.1 refinements */
.b24-logo { position: relative; gap: 4px; color: var(--b24-blue-dark); }
.b24-logo strong { color: var(--b24-red); position: relative; display: inline-flex; align-items: center; }
.b24-logo strong::after { content: ''; width: .38em; height: .38em; border: .08em solid currentColor; border-radius: 50%; margin-left: .08em; opacity: .8; }
.b24-add-news { background: var(--b24-red); }
.b24-add-news:hover { background: #c2262c; }
.b24-filter button.is-active { background: var(--b24-blue); }
.b24-kicker::before { background: var(--b24-red); }

.b24-now-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.b24-now-currency { grid-column: span 1; }
.b24-now-tension { grid-column: span 4; min-height: 156px; }
.b24-now-tension p { margin: 0; color: var(--b24-muted); max-width: 720px; font-size: 14px; line-height: 1.42; }
.b24-mini-scale { display: flex; gap: 4px; margin: -2px 0 2px; }
.b24-mini-scale i { display: block; height: 6px; flex: 1; border-radius: 999px; background: rgba(102,112,133,.22); }
.b24-mini-scale i.is-active { background: var(--b24-red); }
.b24-now-roads strong { color: var(--b24-red); }

.b24-latest-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 16px; }
.b24-latest-grid .b24-ad-after-eight { grid-column: 1 / -1; }
.b24-latest-list { background: #fff; border: 1px solid var(--b24-line); border-radius: 22px; padding: 18px; box-shadow: var(--b24-shadow); }
.b24-latest-list h3 { margin: 0 0 12px; font-size: 22px; letter-spacing: -.03em; }
.b24-latest-list-inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.b24-line-news { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-top: 1px solid var(--b24-line); align-items: start; }
.b24-line-news:nth-child(1), .b24-line-news:nth-child(2) { border-top: 0; }
.b24-line-news time { color: var(--b24-red); font-weight: 950; font-size: 13px; }
.b24-line-news span { font-weight: 800; line-height: 1.25; min-width: 0; }
.b24-line-news em { grid-column: 2; color: var(--b24-muted); font-size: 12px; font-style: normal; }

.b24-archive-layout-wide { display: block; }
.b24-archive-layout-wide .b24-archive-main { width: 100%; }
.b24-archive-layout-wide .b24-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.b24-archive-layout-wide .b24-card-compact .b24-card-link { grid-template-columns: 210px minmax(0, 1fr); }
.b24-archive-layout-wide .b24-card-compact .b24-card-image { height: 140px; }
.b24-archive-layout-wide .b24-card-compact h3 { font-size: 18px; }

.b24-share-panel { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 16px 0 22px; padding: 12px 14px; background: #f8fbff; border: 1px solid var(--b24-line); border-radius: 18px; }
.b24-share-panel > span { color: var(--b24-muted); font-weight: 850; }
.b24-share-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.b24-share-button { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; color: #fff; font-size: 0; transition: transform .15s ease, box-shadow .15s ease; }
.b24-share-button:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(21,32,51,.16); }
.b24-share-button svg { width: 23px; height: 23px; fill: currentColor; }
.b24-share-button strong { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.b24-share-vk { background: #0077ff; }
.b24-share-ok { background: #ee8208; }
.b24-share-telegram { background: #229ed9; }
.b24-share-max { background: #111827; }

.b24-post-section { margin-top: 26px; background: #fff; border: 1px solid var(--b24-line); border-radius: 26px; padding: clamp(18px, 3vw, 26px); box-shadow: var(--b24-shadow); }
.b24-section-link { color: var(--b24-blue); font-weight: 900; }
.b24-under-list { grid-template-columns: 1fr; }
.b24-under-list .b24-line-news:nth-child(2) { border-top: 1px solid var(--b24-line); }

.b24-service-wrap { max-width: 1060px; }
.b24-service-header p { color: var(--b24-muted); font-size: 18px; margin: 0 0 22px; }
.b24-weather-hero { display: grid; grid-template-columns: minmax(240px, .75fr) 1.25fr; gap: 18px; padding: 22px; border-radius: 24px; background: linear-gradient(135deg, var(--b24-blue-soft), #fff); border: 1px solid var(--b24-line); margin: 20px 0 24px; }
.b24-weather-hero > div { display: grid; gap: 6px; align-content: center; }
.b24-weather-hero > div span { color: var(--b24-muted); font-weight: 900; text-transform: uppercase; font-size: 12px; letter-spacing: .05em; }
.b24-weather-hero > div strong { font-size: clamp(52px, 8vw, 86px); line-height: 1; letter-spacing: -.07em; color: var(--b24-blue-dark); }
.b24-weather-hero > div em { font-style: normal; font-weight: 850; color: var(--b24-red); }
.b24-weather-hero ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.b24-weather-hero li { background: #fff; border: 1px solid var(--b24-line); border-radius: 16px; padding: 12px; display: grid; gap: 4px; }
.b24-weather-hero li b { color: var(--b24-muted); font-size: 13px; }
.b24-weather-hero li span { font-weight: 950; }
.b24-weather-hero p { grid-column: 1 / -1; margin: 0; color: var(--b24-muted); font-size: 13px; }
.b24-weather-block { margin-top: 26px; }
.b24-weather-block h2, .b24-service-text h2 { letter-spacing: -.03em; }
.b24-hourly-scroll { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; }
.b24-hour-card, .b24-day-card { background: #fff; border: 1px solid var(--b24-line); border-radius: 18px; padding: 14px; display: grid; gap: 6px; min-width: 132px; }
.b24-hour-card time, .b24-day-card time { color: var(--b24-muted); font-size: 13px; font-weight: 900; }
.b24-hour-card strong, .b24-day-card strong { font-size: 22px; color: var(--b24-blue-dark); }
.b24-hour-card span, .b24-day-card span { font-size: 13px; font-weight: 800; }
.b24-hour-card em, .b24-day-card em { color: var(--b24-muted); font-size: 12px; font-style: normal; }
.b24-daily-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.b24-service-text { margin-top: 28px; color: var(--b24-muted); }
.b24-service-warning { padding: 14px 16px; border: 1px solid #fed7aa; background: #fff7ed; color: #9a3412; border-radius: 16px; margin: 18px 0; }
.b24-traffic-map { min-height: 620px; border-radius: 24px; overflow: hidden; border: 1px solid var(--b24-line); background: #e5e7eb; margin: 18px 0; }
.b24-traffic-actions { margin: 18px 0 8px; }

@media (max-width: 1100px) {
  .b24-now-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .b24-now-tension { grid-column: span 2; }
  .b24-daily-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .b24-header-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "logo menu" "actions actions"; gap: 10px 12px; padding: 12px 0; min-height: 0; }
  .b24-logo { grid-area: logo; min-width: 0; font-size: 28px; }
  .b24-menu-toggle { grid-area: menu; justify-self: end; min-height: 44px; }
  .b24-header-actions { grid-area: actions; display: grid; grid-template-columns: minmax(0, 1fr) 48px; width: 100%; gap: 8px; }
  .b24-add-news { width: 100%; min-height: 44px; padding: 10px 12px; }
  .b24-search-toggle { width: 48px; min-width: 48px; min-height: 44px; padding: 0; overflow: hidden; color: transparent; position: relative; border-radius: 999px; }
  .b24-search-toggle::before { content: '🔍'; color: #fff; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 18px; }
  .b24-search-form { display: grid; grid-template-columns: 1fr; gap: 8px; }
  .b24-search-form input, .b24-search-form button { width: 100%; }
  .b24-now-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b24-now-currency { grid-column: span 1; }
  .b24-now-tension { grid-column: 1 / -1; }
  .b24-latest-list-inner { grid-template-columns: 1fr; }
  .b24-line-news:nth-child(2) { border-top: 1px solid var(--b24-line); }
  .b24-archive-layout-wide .b24-archive-grid { grid-template-columns: 1fr; }
  .b24-archive-layout-wide .b24-card-compact .b24-card-link { grid-template-columns: 110px minmax(0, 1fr); }
  .b24-archive-layout-wide .b24-card-compact .b24-card-image { height: 112px; }
  .b24-weather-hero { grid-template-columns: 1fr; padding: 18px; }
  .b24-weather-hero ul { grid-template-columns: 1fr; }
  .b24-daily-grid { grid-template-columns: 1fr; }
  .b24-traffic-map { min-height: 460px; }
}

@media (max-width: 430px) {
  .b24-now-grid { grid-template-columns: 1fr; }
  .b24-now-currency, .b24-now-tension { grid-column: auto; }
  .b24-archive-layout-wide .b24-card-compact .b24-card-link { grid-template-columns: 92px minmax(0, 1fr); }
  .b24-share-panel { align-items: flex-start; }
  .b24-share-buttons { width: 100%; }
  .b24-share-button { flex: 1 1 42px; }
}

/* v1.2 precedence over legacy refinements */
.b24-line-news { grid-template-columns: 100px minmax(0, 1fr); }
.b24-logo { display: block; width: 245px; height: 54px; letter-spacing: 0; }
.b24-logo-footer { width: auto; height: auto; display: inline-flex; align-items: baseline; gap: 3px; font-size: 30px; font-weight: 900; }
.b24-logo::after, .b24-logo strong::after { display: none; }
.b24-now-tension { grid-column: 1 / -1; min-height: 126px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, .45fr); align-items: center; gap: 22px; padding: 20px 22px; }
.b24-now-roads strong { color: var(--b24-text); }
.b24-archive-layout-wide .b24-archive-grid { grid-template-columns: 1fr; gap: 12px; }
.b24-archive-layout-wide .b24-card-compact .b24-card-link { grid-template-columns: 260px minmax(0, 1fr); }
.b24-archive-layout-wide .b24-card-compact .b24-card-image { height: 160px; }
.b24-service-wrap, .b24-page-wrap.b24-service-wrap { max-width: 1240px; }
.b24-weather-hero { grid-template-columns: minmax(220px, .65fr) 1.35fr; }
.b24-weather-facts { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.b24-traffic-map { min-height: 650px; margin: 0; border-radius: 18px; }

@media (max-width: 1100px) {
  .b24-now-tension { grid-column: 1 / -1; }
  .b24-archive-layout-wide .b24-archive-grid { grid-template-columns: 1fr; }
  .b24-weather-facts { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (max-width: 760px) {
  .b24-header-row { display: flex; min-height: 64px; padding: 7px 0; gap: 8px; }
  .b24-logo { width: min(180px, calc(100% - 144px)); height: 48px; min-width: 0; }
  .b24-header-actions { display: flex; width: auto; gap: 6px; }
  .b24-header-button, .b24-add-news, .b24-search-toggle, .b24-menu-toggle { width: 40px; min-width: 40px; min-height: 40px; height: 40px; padding: 0; border-radius: 11px; }
  .b24-menu-toggle { display: inline-flex; }
  .b24-search-toggle { color: var(--b24-blue-dark); background: #fff; position: static; overflow: visible; }
  .b24-search-toggle::before { display: none; }
  .b24-now-tension { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .b24-archive-layout-wide .b24-card-compact .b24-card-link { grid-template-columns: 120px minmax(0, 1fr); }
  .b24-archive-layout-wide .b24-card-compact .b24-card-image { height: 124px; }
  .b24-weather-hero { grid-template-columns: 1fr; }
  .b24-weather-facts { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .b24-daily-grid { display: flex; overflow-x: auto; }
  .b24-traffic-map { min-height: 68vh; }
}

@media (max-width: 440px) {
  .b24-logo { width: min(150px, calc(100% - 132px)); }
  .b24-now-tension { grid-column: auto; }
  .b24-archive-layout-wide .b24-card-compact .b24-card-link { grid-template-columns: 108px minmax(0, 1fr); }
  .b24-weather-facts { grid-template-columns: 1fr !important; }
}

/* 1.3: archive composition, editorial paging and reader messages */
[hidden] { display: none !important; }
.b24-home-title { font-size: 24px; margin: 24px 0 0; line-height: 1.3; }
.b24-archive-main { min-width: 0; width: 100%; }
.b24-archive-lead, .b24-archive-pair, .b24-archive-tiles, .b24-archive-compact { display: grid; gap: 24px; margin-bottom: 32px; }
.b24-archive-lead { grid-template-columns: 1.45fr 1fr; }
.b24-archive-lead .b24-archive-story-main { grid-row: span 2; }
.b24-archive-story { min-width: 0; background: #fff; border: 1px solid var(--b24-line, #e4e8ee); border-radius: 18px; overflow: hidden; }
.b24-archive-story-link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.b24-archive-story .b24-card-image { height: auto; aspect-ratio: 16 / 10; overflow: hidden; }
.b24-archive-story .b24-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.b24-archive-story .b24-card-body { padding: 18px; min-width: 0; }
.b24-archive-story h2 { font-size: 21px; line-height: 1.3; margin: 7px 0 14px; overflow-wrap: anywhere; }
.b24-archive-story-main h2 { font-size: 32px; }
.b24-archive-story-main p { color: #5c6677; line-height: 1.6; }
.b24-archive-lead .b24-archive-story:not(.b24-archive-story-main) .b24-archive-story-link { display: grid; grid-template-columns: 38% minmax(0, 1fr); }
.b24-archive-lead .b24-archive-story:not(.b24-archive-story-main) .b24-card-image { height: 100%; min-height: 190px; aspect-ratio: auto; }
.b24-archive-lead-count-1 { grid-template-columns: 1fr; }
.b24-archive-lead-count-1 .b24-archive-story-main, .b24-archive-lead-count-2 .b24-archive-story-main { grid-row: auto; }
.b24-archive-lead-count-2 .b24-archive-story:not(.b24-archive-story-main) .b24-archive-story-link { display: flex; }
.b24-archive-lead-count-2 .b24-archive-story:not(.b24-archive-story-main) .b24-card-image { height: auto; min-height: 0; aspect-ratio: 16 / 10; }
.b24-archive-pair, .b24-archive-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.b24-archive-pair .b24-archive-story-link { display: grid; grid-template-columns: 40% minmax(0, 1fr); }
.b24-archive-pair .b24-card-image { height: 100%; aspect-ratio: auto; }
.b24-archive-pair > .b24-archive-story:only-child { grid-column: 1 / -1; }
.b24-archive-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.b24-archive-compact .b24-archive-story-link { display: grid; grid-template-columns: 120px minmax(0, 1fr); }
.b24-archive-compact .b24-card-image { height: 100%; min-height: 130px; aspect-ratio: auto; }
.b24-archive-compact h2 { font-size: 18px; }
.b24-archive-compact .b24-card-body { padding: 14px; }
.b24-editor-inline-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.b24-editor-controls { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.b24-editor-controls button { width: 44px; height: 44px; border: 1px solid #d6dfea; border-radius: 50%; background: #fff; color: #194e85; font-size: 23px; cursor: pointer; }
.b24-editor-controls button:disabled { opacity: .35; cursor: default; }
.b24-editor-inline-grid .b24-card-body h3 { font-size: 19px; }
.b24-card-meta time { display: inline-flex; gap: 5px; align-items: center; }
.b24-single-meta time { display: inline-flex; gap: 5px; align-items: center; }
.b24-side-news-item time { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--b24-muted); }
.b24-single-header h1 { font-size: clamp(30px, 3.5vw, 46px); overflow-wrap: anywhere; }
.b24-ad-zone { border: 0; background: transparent; border-radius: 0; padding: 0; min-height: 0; }
.b24-ad-zone:empty, .b24-ad-zone.is-no-fill { display: none; }
.b24-ad-zone .widget { margin: 0; }
.b24-pulse-submit { border: 1px solid #cdd9e7; border-radius: 10px; padding: 10px 15px; background: #fff; color: #184b7d; font: inherit; cursor: pointer; }
.b24-reader-message { border-top: 1px solid #e5eaf0; padding: 14px 0; }
.b24-reader-message time { color: #66768a; font-size: 13px; }
.b24-reader-message p { white-space: pre-line; overflow-wrap: anywhere; margin: 5px 0 0; }
#b24-pulse-dialog { border: 0; border-radius: 20px; padding: 32px; width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; color: #17283b; box-shadow: 0 20px 80px #10203540; }
#b24-pulse-dialog::backdrop { background: #12223799; }
#b24-pulse-dialog h2 { margin: 0 30px 16px 0; font-size: 26px; }
#b24-pulse-dialog p { line-height: 1.6; }
#b24-pulse-dialog label { display: block; margin-bottom: 8px; font-weight: 600; }
#b24-pulse-dialog textarea { width: 100%; resize: vertical; min-height: 140px; border: 1px solid #bdcbdc; border-radius: 12px; padding: 12px; font: inherit; margin-bottom: 16px; }
.b24-dialog-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; background: transparent; font-size: 30px; cursor: pointer; }
.b24-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0; }
.b24-weather-icon { display: block; font-size: 30px; line-height: 1.4; color: #e19916; }
.b24-weather-current .b24-weather-icon, .b24-hour-card .b24-weather-icon, .b24-day-card .b24-weather-icon { font-size: 30px; }
.b24-now-label .b24-weather-icon { display: inline-block; font-size: 21px; line-height: 1; }
.b24-weather-current h2 { font-size: 21px; margin: 0 0 14px; }
.b24-hour-card { flex: 0 0 150px; }
.b24-traffic-score.is-free { background: #e6f5e9; color: #246b38; }
.b24-traffic-score.is-medium { background: #fff4d3; color: #825c06; }
.b24-traffic-score.is-heavy { background: #ffebe7; color: #aa3326; }
.b24-traffic-score strong, .b24-traffic-score em, .b24-traffic-score time { color: inherit; }
.b24-traffic-map > p { padding: 24px; }
:focus-visible { outline: 3px solid #287dcc; outline-offset: 3px; }
@media (max-width: 1000px) {
  .b24-archive-lead { grid-template-columns: 1.15fr 1fr; }
  .b24-archive-lead .b24-archive-story:not(.b24-archive-story-main) .b24-archive-story-link { display: flex; }
  .b24-archive-lead .b24-archive-story:not(.b24-archive-story-main) .b24-card-image { height: auto; min-height: 0; aspect-ratio: 16 / 8; }
  .b24-editor-inline-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b24-archive-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .b24-archive-lead, .b24-archive-pair, .b24-archive-compact { grid-template-columns: 1fr; gap: 16px; }
  .b24-archive-lead .b24-archive-story-main { grid-row: auto; }
  .b24-archive-story-main h2 { font-size: 26px; }
  .b24-archive-lead .b24-archive-story:not(.b24-archive-story-main) .b24-archive-story-link { display: grid; grid-template-columns: 110px minmax(0, 1fr); }
  .b24-archive-lead .b24-archive-story:not(.b24-archive-story-main) .b24-card-image { height: 100%; aspect-ratio: auto; }
  .b24-archive-story h2 { font-size: 18px; }
  .b24-archive-story .b24-card-body { padding: 13px; }
  .b24-archive-tiles { gap: 14px; }
  .b24-archive-tiles .b24-archive-story h2 { font-size: 17px; }
  .b24-editor-inline-grid { gap: 14px; }
  .b24-editor-inline-grid .b24-card-body { padding: 12px; }
  .b24-editor-inline-grid .b24-card-body h3 { font-size: 17px; }
  .b24-latest-grid, .b24-more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .b24-latest-grid .b24-card-body { padding: 12px; }
  .b24-latest-grid .b24-card-news h3 { font-size: 17px; }
  .b24-now-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b24-now-tension { grid-column: 1 / -1; }
  .b24-now-card { min-width: 0; overflow-wrap: anywhere; }
  .b24-now-card strong { font-size: 18px; }
  .b24-section-head-row { flex-wrap: wrap; }
  #b24-pulse-dialog { padding: 24px; }
}

/* 1.4: uncropped previews, composed archives and contained advertising. */
.b24-card-image,
.b24-archive-story .b24-card-image { background: #edf1f5; }
.b24-card-image img,
.b24-archive-story .b24-card-image img { object-fit: contain; }
.b24-card:hover .b24-card-image img { transform: none; }
.b24-latest-primary .b24-card-news .b24-card-image,
.b24-card-news .b24-card-image,
.b24-card-featured .b24-card-image,
.b24-editor-grid .b24-card-featured .b24-card-image { aspect-ratio: 16 / 10; height: auto; min-height: 0; }
.b24-archive-lead { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.b24-archive-lead-count-1 { grid-template-columns: 1fr; }
.b24-archive-lead .b24-archive-story-main { grid-row: auto; }
.b24-archive-pair { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.b24-archive-pair .b24-archive-story-link { display: flex; flex-direction: column; }
.b24-archive-pair .b24-card-image,
.b24-archive-lead .b24-card-image { height: auto; min-height: 0; aspect-ratio: 16 / 10; }
.b24-archive-story-main h2 { font-size: clamp(23px, 2.5vw, 30px); }
.b24-archive-pair h2, .b24-archive-tiles h2 { font-size: 21px; }
.b24-archive-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.b24-archive-story-link:hover h2, .b24-card-link:hover h3 { color: var(--b24-blue); }
.b24-archive-story-link, .b24-card-link { transition: color .18s ease; }
.b24-more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.b24-card-compact .b24-card-link,
.b24-archive-layout-wide .b24-card-compact .b24-card-link,
.b24-archive-compact .b24-archive-story-link { grid-template-columns: 160px minmax(0, 1fr); align-items: start; }
.b24-card-compact .b24-card-image,
.b24-archive-layout-wide .b24-card-compact .b24-card-image,
.b24-archive-compact .b24-card-image { width: 160px; height: 100px; min-height: 0; aspect-ratio: 16 / 10; align-self: start; }
.b24-card-compact h3,
.b24-archive-layout-wide .b24-card-compact h3,
.b24-archive-compact h2 { font-size: 18px; line-height: 1.35; }
.b24-card-compact .b24-card-body,
.b24-archive-compact .b24-card-body { padding: 12px 14px; min-width: 0; }
.b24-card-body h3 { overflow-wrap: anywhere; }
.b24-single-hero img { height: auto; object-fit: contain; }
.b24-single-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; }
.b24-single-main, .b24-sidebar, .b24-single-article,
.b24-entry-content, .b24-ad-widget { min-width: 0; max-width: 100%; }
.b24-entry-content { overflow-wrap: anywhere; }
.b24-entry-content table { display: block; max-width: 100%; overflow-x: auto; }
.b24-entry-content blockquote { position: relative; padding: 20px 24px 20px 46px; }
.b24-entry-content blockquote::before { content: '“'; position: absolute; left: 14px; top: 2px; font: 48px Georgia, serif; color: #5993cf; }
.b24-ad-zone { position: relative; width: 100%; min-width: 0; max-width: 100%; contain: layout inline-size; isolation: isolate; overflow: hidden; overflow: clip; }
.b24-ad-zone iframe { border: 0; display: block; }
.b24-ad-zone img, .b24-ad-zone video { max-width: 100%; height: auto; }
.b24-ad-zone-inline { padding: 0; }
.b24-ad-header { margin: 0; }
.b24-ad-fit { position: relative; width: 100%; max-width: 100%; overflow: hidden; overflow: clip; }
.b24-ad-fit > * { max-width: none !important; margin: 0 !important; transform-origin: 0 0; }
.b24-sidebar-ad { margin: 0; }
.b24-side-box { padding: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 3px 14px #142a4210; }
.b24-side-head { display: flex; align-items: center; gap: 10px; padding: 17px 16px; }
.b24-side-head h2 { font-size: 19px; line-height: 1.25; letter-spacing: -.025em; margin: 0; }
.b24-side-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 10px; background: #e8f1ff; color: #1965b9; }
.b24-side-icon .b24-icon { width: 21px; height: 21px; }
.b24-side-box .b24-side-news { padding: 0 16px 10px; }
.b24-side-news-item strong { font-size: 15px; line-height: 1.4; font-weight: 650; }
.b24-side-news-item:hover strong { color: var(--b24-blue); }
.b24-side-news-item time { font-variant-numeric: tabular-nums; line-height: 1.5; }
.b24-side-timeline .b24-side-news-item { position: relative; border-top: 0; margin-left: 5px; padding: 0 0 18px 17px; border-left: 1px solid #d9e4ef; }
.b24-side-timeline .b24-side-news-item:last-child { border-left-color: transparent; padding-bottom: 6px; }
.b24-side-timeline .b24-side-news-item::before { content: ''; position: absolute; top: 5px; left: -4px; width: 7px; height: 7px; background: #2772c3; border-radius: 50%; box-shadow: 0 0 0 3px #fff; }
.b24-side-editor { background: #eef5fc; border-color: #d5e3f1; }
.b24-side-editor .b24-side-head { background: #173b62; color: #fff; }
.b24-side-editor .b24-side-icon { color: #fff; background: #ffffff1c; }
.b24-side-editor .b24-side-news-item { grid-template-columns: 30px minmax(0, 1fr); gap: 10px; padding: 15px 0; border-color: #d4e2f1; }
.b24-side-editor .b24-side-news-item > div { display: grid; gap: 6px; min-width: 0; }
.b24-side-editor .b24-side-pick-number { display: block; color: #52789c; font-size: 23px; line-height: 1.2; font-weight: 800; font-variant-numeric: tabular-nums; }
.b24-side-box > .b24-muted { margin: 0 16px 16px; font-size: 13px; }
.b24-reader-pulse { background: #fff4f0; border-color: #f0d8ce; padding-bottom: 16px; }
.b24-reader-pulse .b24-side-head { padding-bottom: 10px; }
.b24-reader-pulse .b24-side-icon { background: #ffe3d9; color: #b94a31; }
.b24-reader-message { position: relative; margin: 0 16px 12px; padding: 12px 14px; border: 1px solid #f0dfd8; border-radius: 12px 12px 12px 3px; background: #fff; font-size: 14px; line-height: 1.55; }
.b24-reader-message time { font-size: 12px; }
.b24-pulse-status { display: inline-block; margin-top: 8px; color: #8c4d3c; font-size: 11px; }
.b24-reader-pulse .b24-pulse-submit { display: flex; justify-content: center; align-items: center; gap: 8px; width: calc(100% - 32px); margin: 4px 16px 0; border-color: #dfb7a8; color: #95452e; background: #fff9f6; font-size: 14px; }
.b24-reader-pulse .b24-pulse-submit:hover { background: #ffe8de; }
.b24-pulse-submit .b24-icon { width: 18px; height: 18px; }
[data-b24-traffic-score="1"] { --traffic-color: #209453; --traffic-ink: #24663b; --traffic-tint: #e9f6ec; }
[data-b24-traffic-score="2"] { --traffic-color: #88ad28; --traffic-ink: #4e6816; --traffic-tint: #f1f6e4; }
[data-b24-traffic-score="3"] { --traffic-color: #e8bc28; --traffic-ink: #775b0b; --traffic-tint: #fff7db; }
[data-b24-traffic-score="4"] { --traffic-color: #e98527; --traffic-ink: #974719; --traffic-tint: #fff0e3; }
[data-b24-traffic-score="5"] { --traffic-color: #d94742; --traffic-ink: #a7322e; --traffic-tint: #ffebe8; }
.b24-now-roads[data-b24-traffic-score]::before { background: var(--traffic-color); }
.b24-now-roads[data-b24-traffic-score] strong,
.b24-traffic-score[data-b24-traffic-score] strong { color: var(--traffic-ink); }
.b24-now-roads[data-b24-traffic-score] .b24-mini-scale i { background: #e3e9ef; }
.b24-now-roads[data-b24-traffic-score] .b24-mini-scale i.is-active { background: var(--traffic-color); }
.b24-traffic-score[data-b24-traffic-score] { background: var(--traffic-tint); color: var(--traffic-ink); border-color: var(--traffic-color); }
.b24-traffic-map { min-height: 0; height: clamp(420px, 68vh, 650px); margin: 0; }
.b24-traffic-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.b24-map-status { padding: 14px 0; }
.b24-menu .current-menu-item > a,
.b24-menu .current-menu-ancestor > a { color: var(--b24-blue); text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 2px; }
@media (max-width: 1100px) {
  .b24-single-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .b24-archive-lead, .b24-archive-pair, .b24-archive-tiles,
  .b24-archive-compact, .b24-more-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .b24-archive-story-main h2 { font-size: 24px; }
  .b24-archive-pair h2, .b24-archive-tiles h2 { font-size: 21px; }
  .b24-card-compact .b24-card-link,
  .b24-archive-layout-wide .b24-card-compact .b24-card-link,
  .b24-archive-compact .b24-archive-story-link { grid-template-columns: 120px minmax(0, 1fr); }
  .b24-card-compact .b24-card-image,
  .b24-archive-layout-wide .b24-card-compact .b24-card-image,
  .b24-archive-compact .b24-card-image { width: 120px; height: 75px; min-height: 0; }
  .b24-card-compact h3,
  .b24-archive-layout-wide .b24-card-compact h3,
  .b24-archive-compact h2 { font-size: 16px; }
  .b24-card-compact .b24-card-body, .b24-archive-compact .b24-card-body { padding: 10px 12px; }
  .b24-single-article { padding: 18px; }
  .b24-traffic-map { height: 68vh; min-height: 400px; }
}
