/* Wasl redesign (owner's mockup 1a «Деловое издание»): a business daily in navy and gold with teal
   topic labels. Loaded after identities.css for this theme only; other themes are untouched.
   Shared markup (cards, advertising places, SEO, services) keeps its contract. */
.theme-wasl {
  --navy: #183348;
  --navy-line: #3d5768;
  --gold: #b08b40;
  --gold-light: #dfb766;
  --teal: #166777;
  --pale: #c6d9e3;
  --pale-2: #8fa6b4;
  --paper: #fff;
  --ink: #183348;
  --muted: #536774;
  --line: #ccd8df;
  --line-soft: #e3eaee;
  --wash: #edf3f6;
  --accent: #166777;
  --display: var(--sans);
  --shell-width: none;
  --shell-gutter: 0px;
  --wasl-width: 1280px;
  --wasl-gutter: 32px;
  /* Full-bleed bars keep their content on the same 1280 px column as the page. */
  --wasl-pad: max(var(--wasl-gutter), calc((100% - var(--wasl-width)) / 2 + var(--wasl-gutter)));
  background: var(--paper);
  color: var(--ink);
}
.theme-wasl a:hover { color: var(--teal); text-decoration: none; }
.theme-wasl a:focus-visible, .theme-wasl summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.theme-wasl main { max-width: var(--wasl-width); margin: 0 auto; padding: 0 var(--wasl-gutter); }
.theme-wasl .skip-link { color: var(--ink); }
.theme-wasl > .site-shell > .crypto-strip { max-width: var(--wasl-width); margin: 0 auto; padding-inline: var(--wasl-gutter); }

/* ---------- TradingView ticker tape (crypto editions), a dark band under the masthead ---------- */
.wasl-tickers { background: #10263a; border-top: 1px solid var(--navy-line); padding-inline: var(--wasl-pad); }
.wasl-tickers-inner { position: relative; }
.wasl-tickers .tradingview-widget-container,
.wasl-tickers .tradingview-widget-container__widget { min-height: 58px; }
@media (max-width: 760px) {
  .wasl-tickers .tradingview-widget-container,
  .wasl-tickers .tradingview-widget-container__widget { min-height: 84px; }
}
.wasl-tickers-credit { margin: 0; padding: 0 0 4px; font: 400 10px/16px var(--sans); color: var(--pale-2); text-align: end; }
.wasl-tickers-credit a { color: var(--pale-2); }
.wasl-tickers-credit a:hover { color: #fff; }
.wasl-tickers noscript .crypto-strip { padding-block: 8px; color: #fff; }

/* ---------- Masthead: navy band, data bar and navigation ---------- */
.theme-wasl .wasl-head { background: var(--navy); color: #fff; padding-inline: var(--wasl-pad); }
.theme-wasl .wasl-head a:hover { color: #fff; }
.wasl-utility { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--navy-line); font-size: 12px; color: var(--pale); }
.wasl-tagline { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.wasl-utility-links { display: flex; gap: 22px; flex-shrink: 0; margin-inline-start: auto; }
.wasl-utility-links b { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.theme-wasl .wasl-utility a { color: var(--pale); }
.wasl-brandbar.brand-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding: 20px 0 16px; }
.theme-wasl .masthead .wordmark { flex: none; max-width: 100%; color: #fff; font: 800 58px/1.1 var(--sans); letter-spacing: 0; white-space: nowrap; }
[lang="en"] .theme-wasl .masthead .wordmark, [lang="fr"] .theme-wasl .masthead .wordmark { letter-spacing: -1px; }
.wasl-weather { display: none; }
.wasl-data { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 20px; align-items: flex-start; min-width: 0; padding-bottom: 6px; }
.wasl-datum { display: grid; gap: 2px; align-content: start; min-width: 0; }
.wasl-datum + .wasl-datum { border-inline-start: 1px solid var(--navy-line); padding-inline-start: 20px; }
.wasl-datum-label { font-size: 10px; font-weight: 700; color: var(--pale); white-space: nowrap; }
.wasl-datum strong { font-size: 22px; line-height: 1.2; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wasl-datum small { display: flex; flex-wrap: wrap; gap: 0 4px; font-size: 9.5px; line-height: 1.6; color: var(--pale-2); }
.theme-wasl .wasl-datum small a { color: var(--pale-2); text-decoration: underline; text-underline-offset: 2px; }
.wasl-rates { display: flex; gap: 14px; font-size: 14px; line-height: 1.9; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wasl-rates b { font-size: 10px; color: var(--pale-2); margin-right: 4px; }
.wasl-gold { color: var(--gold-light); }
.wasl-gold span { font-size: 11px; font-weight: 600; color: var(--pale); }
.wasl-prayer-times { gap: 0 8px !important; }

.theme-wasl .wasl-nav { position: static; display: flex; align-items: flex-start; gap: 0 26px; border: 0; border-top: 1px solid var(--navy-line); padding: 12px 0 0; overflow: visible; font: 600 15px/1.6 var(--sans); color: var(--pale); white-space: nowrap; }
/* One line of sections; whatever does not fit stays reachable under «all sections». */
.wasl-nav-links { display: flex; flex-wrap: wrap; gap: 20px 26px; flex: 1; min-width: 0; height: 37px; overflow: hidden; }
.wasl-nav-links a { min-height: 0; padding-bottom: 10px; color: var(--pale); }
.theme-wasl .wasl-nav-links a[aria-current] { color: #fff; text-decoration: none; box-shadow: 0 3px var(--gold-light); }
.theme-wasl .wasl-sections { flex: none; margin-inline-start: auto; }
.theme-wasl .wasl-sections summary { min-height: 0; padding-bottom: 10px; color: var(--gold-light); gap: 6px; }
.wasl-burger { display: none; }
.theme-wasl .wasl-head .nav-directory { inset-inline: var(--wasl-pad); top: 100%; z-index: 30; grid-template-columns: repeat(5, minmax(0, 1fr)); background: #fff; color: var(--navy); border: 1px solid var(--line); border-top: 3px solid var(--gold); font-size: 14px; }
.theme-wasl .wasl-head .nav-directory a { color: var(--navy); }
.theme-wasl .wasl-head .nav-directory a[aria-current] { color: var(--teal); text-decoration: none; box-shadow: inset 3px 0 0 var(--gold); }
.theme-wasl .wasl-head .nav-directory a:hover { background: var(--wash); color: var(--teal); }
.wasl-directory-aside { color: var(--muted) !important; font-weight: 500; }
/* A closed disclosure keeps no positioned box that could widen the page. */
.wasl-sections:not([open]) .nav-directory { display: none; }
.wasl-ticks { display: none; }

/* Compact head for categories, articles and service pages; it stays at the top on desktop. */
.theme-wasl .wasl-compact { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 36px; padding-block: 14px; }
.theme-wasl .wasl-compact .wasl-brandbar.brand-row { padding: 0; flex: none; }
.theme-wasl .wasl-compact .wordmark { font-size: 30px; line-height: 1; }
.theme-wasl .wasl-compact .wasl-nav { flex: 1; min-width: 0; border: 0; padding: 0; gap: 0 22px; font-size: 14px; }
.theme-wasl .wasl-compact .wasl-nav-links { gap: 14px 22px; height: 30px; padding-top: 3px; }
.theme-wasl .wasl-compact .wasl-nav-links a, .theme-wasl .wasl-compact .wasl-sections summary { padding-bottom: 4px; }
.theme-wasl .wasl-compact .wasl-ticks { display: flex; flex: none; align-items: center; gap: 18px; font-size: 12px; color: var(--pale); white-space: nowrap; }
.wasl-ticks b { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.wasl-ticks .wasl-gold { color: var(--gold-light); }
.theme-wasl .wasl-compact .wasl-tick-extra { display: none; }

/* ---------- Shared vocabulary ---------- */
.theme-wasl .ad-slot { margin: 16px auto 0; }
/* Wasl's own ad label: a short gold rule before «مساحة إعلانية»; no letter-spacing, which breaks Arabic joining. */
.theme-wasl .ad-label { height: 20px; color: var(--gold); font: 600 10px/20px var(--sans); letter-spacing: 0; text-align: start; }
.theme-wasl .ad-label::before { content: ""; display: inline-block; width: 16px; height: 2px; margin-inline-end: 6px; vertical-align: middle; background: currentColor; }
.theme-wasl .ad-slot img, .theme-wasl .ad-placeholder { background: var(--wash); }
.theme-wasl .story-image { margin-bottom: 0; background: var(--wash); }
.theme-wasl .story-kicker { font: 700 11px/1.4 var(--sans); color: var(--teal); margin-bottom: 4px; }
.theme-wasl .story-card h2 { font: 600 17px/1.6 var(--sans); letter-spacing: 0; color: var(--navy); }
.theme-wasl .story-description { font: 400 13px/1.75 var(--sans); color: var(--muted); margin-top: 6px; -webkit-line-clamp: 2; text-wrap: pretty; }
.theme-wasl .section-title { display: flex; align-items: center; gap: 14px; margin: 26px 0 18px; padding: 0; border: 0; font: 800 14px/1.4 var(--sans); color: var(--navy); }
.theme-wasl .section-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.wasl-label { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; font: 800 12px/1.4 var(--sans); letter-spacing: .5px; color: var(--gold); }
.wasl-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.theme-wasl .breadcrumbs { margin: 0; padding-top: 24px; font-size: 12px; color: var(--muted); }
.theme-wasl .breadcrumbs li:not(:last-child)::after { content: "›"; }
.theme-wasl .breadcrumbs [aria-current] { color: var(--navy); font-weight: 700; }
/* A rule across the full page width between bands, without widening the page. */
.wasl-band { border-top: 1px solid var(--line); border-image: linear-gradient(var(--line) 0 0) 1 / 1px 0 0 / 0 100vw; }

/* ---------- Home: brief | lead | latest ---------- */
.wasl-front { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr) minmax(0, 1fr); grid-template-areas: "brief lead latest"; padding: 26px 0 30px; }
.wasl-front > * { min-width: 0; }
.wasl-brief { grid-area: brief; padding-inline-end: 28px; border-inline-end: 1px solid var(--line); }
.wasl-lead { grid-area: lead; padding-inline: 28px; }
.wasl-latest { grid-area: latest; padding-inline-start: 28px; border-inline-start: 1px solid var(--line); }
.wasl-front:not(:has(> .wasl-latest)) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); grid-template-areas: "brief lead"; }
.wasl-front:not(:has(> .wasl-latest)) .wasl-lead { padding-inline-end: 0; }
.wasl-front:not(:has(> .wasl-brief)) { grid-template-columns: minmax(0, 1fr); grid-template-areas: "lead"; }
.wasl-front:not(:has(> .wasl-brief)) .wasl-lead { padding: 0; }
.wasl-brief .wasl-label { margin-bottom: 14px; }
.wasl-brief .brief { padding: 14px 0; margin: 0; border: 0; border-bottom: 1px solid var(--line-soft); }
.wasl-brief .brief:first-of-type { padding-top: 0; }
.theme-wasl .wasl-brief .brief h2 { font-size: 17px; line-height: 1.6; }
.wasl-lead .lead { display: flex; flex-direction: column; }
.wasl-lead .lead .story-image { order: 1; aspect-ratio: 1.85; margin-top: 18px; }
.wasl-lead .lead .story-kicker { font-size: 12px; margin-bottom: 8px; }
.theme-wasl .wasl-lead .lead h2 { font: 800 36px/1.45 var(--sans); }
.theme-wasl .wasl-lead .lead .story-description { font-size: 16px; line-height: 1.8; margin-top: 12px; -webkit-line-clamp: 4; }
.wasl-lead .lead.text-only { padding: 28px; background: var(--wash); border-top: 3px solid var(--gold); }
.theme-wasl .wasl-lead .lead.text-only .story-description { -webkit-line-clamp: 8; }

/* Thumbnail rows: text with a square picture on the inline end. */
.theme-wasl .thumb { display: grid; grid-template-columns: minmax(0, 1fr) 84px; gap: 14px; align-items: start; padding: 14px 0; margin: 0; border-bottom: 1px solid var(--line-soft); }
.theme-wasl .thumb .story-image { grid-column: 2; grid-row: 1; width: 84px; aspect-ratio: 1; border-radius: 2px; }
.theme-wasl .thumb .story-copy { grid-column: 1; grid-row: 1; }
.theme-wasl .thumb.text-only { grid-template-columns: minmax(0, 1fr); }
.theme-wasl .thumb h2 { font-size: 16px; }

/* ---------- Reports grid beside the rail ---------- */
.wasl-columns { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; }
.wasl-columns:not(:has(> .wasl-rail)) { grid-template-columns: minmax(0, 1fr); }
.wasl-columns > * { min-width: 0; }
.wasl-band.wasl-columns { padding-bottom: 32px; }
.wasl-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; align-items: start; }
.wasl-tiles .story-image { aspect-ratio: 1.6; margin-bottom: 12px; }
.theme-wasl .wasl-tiles h2 { font-size: 18px; line-height: 1.55; font-weight: 700; }
.wasl-tiles .text-only { padding-top: 14px; border-top: 3px solid var(--navy); }
.theme-wasl .wasl-tiles .text-only .story-description { -webkit-line-clamp: 6; }
.wasl-rail { display: grid; gap: 26px; align-content: start; padding-top: 26px; }
.wasl-rail .ad-slot { margin: 0 auto; }
.wasl-highlights-box { background: var(--wash); padding: 20px 22px; }
.wasl-box-title { font: 800 13px/1.4 var(--sans); color: var(--navy); margin-bottom: 12px; }
.wasl-highlights { list-style: none; margin: 0; padding: 0; counter-reset: wasl; }
.wasl-highlights li { counter-increment: wasl; }
.wasl-highlights a { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font: 600 14px/1.6 var(--sans); color: var(--navy); }
.wasl-highlights a::before { content: counter(wasl); font: 800 24px/1 var(--sans); color: var(--gold); font-variant-numeric: tabular-nums; }

/* ---------- More stories: two columns of rows ---------- */
.wasl-more { padding-bottom: 8px; }
.wasl-more .section-title { margin-bottom: 8px; }
.wasl-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.theme-wasl .wasl-rows .row { grid-template-columns: minmax(0, 1fr) 150px; gap: 18px; padding: 18px 0; margin: 0; border-bottom: 1px solid var(--line-soft); align-items: start; }
.theme-wasl .wasl-rows .row .story-image { grid-column: 2; grid-row: 1; width: 150px; aspect-ratio: 1.5; }
.theme-wasl .wasl-rows .row .story-copy { grid-column: 1; grid-row: 1; }
.theme-wasl .wasl-rows .row.text-only { grid-template-columns: minmax(0, 1fr); }
.theme-wasl .wasl-rows h2 { font-size: 17px; font-weight: 700; }
.theme-wasl .wasl-rows .story-description { display: -webkit-box; }
.theme-wasl main > .ad-container-home_bottom .ad-slot { margin-top: 28px; }

.theme-wasl .pagination { justify-content: center; gap: 12px; padding: 28px 0 36px; }
.theme-wasl .pagination:not(:has(a)) { padding: 0 0 24px; }
.theme-wasl .pagination a { border: 1px solid var(--navy); padding: 10px 28px; font: 700 14px/1.4 var(--sans); color: var(--navy); }
.theme-wasl .pagination a:hover { background: var(--navy); color: #fff; }
.theme-wasl .empty-state { padding: 80px 0; text-align: center; color: var(--muted); }

/* ---------- Category ---------- */
.wasl-topic-head { padding-top: 10px; border-bottom: 3px solid var(--navy); }
.wasl-topic-head h1 { font: 800 44px/1.3 var(--sans); color: var(--navy); overflow-wrap: anywhere; }
.theme-wasl .category-intro { margin: 16px 0 0; color: var(--muted); }
.wasl-columns:has(> .wasl-column-main > .wasl-topic) { padding: 26px 0 8px; }
.wasl-topic-lead .lead { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: center; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.wasl-topic-lead .lead .story-image { aspect-ratio: 1.5; }
.wasl-topic-lead .lead.text-only { grid-template-columns: minmax(0, 1fr); }
.wasl-topic-lead .lead .story-kicker { font-size: 12px; margin-bottom: 8px; }
.theme-wasl .wasl-topic-lead .lead h2 { font: 800 28px/1.5 var(--sans); }
.theme-wasl .wasl-topic-lead .lead .story-description { font-size: 15px; line-height: 1.8; margin-top: 10px; -webkit-line-clamp: 4; }
.wasl-topic .wasl-tiles { padding-top: 26px; }
.theme-wasl .wasl-topic .wasl-tiles h2, .theme-wasl .wasl-tiles-more h2 { font-size: 17px; line-height: 1.6; }
.wasl-tiles-more { padding-top: 28px; }
.wasl-column-main > .ad-container .ad-slot { margin-top: 28px; }

/* ---------- Article: gold-ruled heading, reading column, related tiles and a side rail ---------- */
.theme-wasl.is-article main > .breadcrumbs + .article-layout { padding-top: 22px; }
.theme-wasl .article-layout,
.theme-wasl .article-layout:has(.ad-container-article_side) { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) 326px; gap: 0 22px; align-items: start; padding: 24px 0 40px; }
.theme-wasl .article-layout:not(:has(.ad-container-article_side)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.theme-wasl .article-page { grid-column: 1 / 5; grid-row: 1; }
/* The related column's banner rides in the side track; its stories become four tiles under the text. */
.theme-wasl .article-related { display: contents; }
.theme-wasl .article-related > .ad-container-article_side { grid-column: 5; grid-row: 1 / span 3; align-self: stretch; padding-inline-start: 26px; }
.theme-wasl .article-related > .ad-container-article_side .ad-slot { position: sticky; top: 88px; margin: 12px 0 0; }
.theme-wasl .article-related > .section-title { grid-column: 1 / 5; margin: 36px 0 18px; }
.theme-wasl .article-related > .compact { margin: 0; }
.theme-wasl .article-related .compact .story-image { aspect-ratio: 1.5; margin-bottom: 10px; }
.theme-wasl .article-related .compact h2 { font-size: 15px; font-weight: 700; line-height: 1.6; }
.theme-wasl .article-related .compact.text-only { padding-top: 12px; border-top: 3px solid var(--navy); }
.theme-wasl .article-heading { max-width: 830px; border-inline-start: 5px solid var(--gold); padding-inline-start: 26px; }
.theme-wasl .article-heading .back-link { display: none; }
.theme-wasl .article-heading .story-kicker { font-size: 13px; margin-bottom: 10px; }
.theme-wasl .article-heading h1 { margin: 0; font: 800 40px/1.45 var(--sans); letter-spacing: 0; color: var(--navy); text-wrap: pretty; }
.theme-wasl .article-deck { margin-top: 16px; padding: 0; font: 400 19px/1.75 var(--sans); color: var(--muted); }
.theme-wasl .article-byline { display: flex; gap: 6px 18px; margin: 18px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.theme-wasl .article-byline a { color: var(--navy); font-weight: 700; }
.theme-wasl .article-heading .source-note { margin-top: 14px; padding: 0; border: 0; font: 400 13px/1.7 var(--sans); color: var(--muted); }
.theme-wasl .article-heading .source-note a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.theme-wasl .article-figure { margin: 26px 0 0; }
.theme-wasl .article-figure img { width: 100%; height: auto; max-height: none; aspect-ratio: 1.5; object-fit: cover; }
.theme-wasl .article-figure figcaption { padding-top: 8px; font-size: 11px; color: var(--muted); }
.theme-wasl .article-body { max-width: 751px; margin: 28px 0 0; padding-inline-start: 31px; font: 400 19px/1.95 var(--sans); color: var(--navy); }
.theme-wasl .article-body p { margin-bottom: 22px; }
.theme-wasl .article-body .ad-slot { margin: 8px auto 22px; }
.theme-wasl .article-page > .ad-container .ad-slot { margin: 32px auto 0; }

/* ---------- About and error pages ---------- */
.theme-wasl .about-page { max-width: 800px; margin: 0; padding: 34px 0 48px; }
.theme-wasl .about-page h1 { padding-bottom: 6px; border-bottom: 3px solid var(--navy); font: 800 44px/1.3 var(--sans); }
.theme-wasl .about-page h2 { font: 800 20px/1.5 var(--sans); color: var(--navy); }
.theme-wasl .about-page p { font-size: 17px; line-height: 1.9; }
.theme-wasl .about-page a { color: var(--teal); }
.theme-wasl section.empty-state { display: grid; justify-items: center; gap: 14px; padding: 90px 0; }
.theme-wasl section.empty-state h1 { font: 800 88px/1 var(--sans); color: var(--navy); font-variant-numeric: tabular-nums; }
.theme-wasl section.empty-state p { font-size: 17px; }
.theme-wasl section.empty-state a { margin-top: 10px; border: 1px solid var(--navy); padding: 10px 28px; font-weight: 700; color: var(--navy); }

/* ---------- Data credits and footer ---------- */
.wasl-credits { display: flex; flex-wrap: wrap; gap: 4px 18px; max-width: var(--wasl-width); margin: 24px auto 0; padding: 14px var(--wasl-gutter); border-top: 1px solid var(--line-soft); font-size: 11px; line-height: 1.6; color: var(--muted); }
.wasl-credits-title { font-weight: 700; }
.wasl-credits a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
body.theme-wasl .site-footer { display: grid; grid-template-columns: 260px minmax(0, 1fr); grid-template-rows: auto auto; gap: 18px 40px; margin-top: 0; padding: 34px var(--wasl-pad) 28px; background: var(--navy); color: var(--pale); border: 0; font-size: 13px; }
.theme-wasl .footer-identity { grid-row: 1 / 3; }
.theme-wasl .footer-brand { color: #fff; font: 800 32px/1.2 var(--sans); letter-spacing: 0; }
.theme-wasl .site-footer .footer-identity p { margin-top: 8px; font-size: 13px; line-height: 1.7; color: var(--pale); }
.theme-wasl .footer-topics { display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 600; color: #fff; }
.theme-wasl .footer-links { grid-column: 2; display: flex; gap: 8px 22px; padding-top: 14px; border-top: 1px solid var(--navy-line); color: var(--pale); }
.theme-wasl .footer-links a { min-height: 0; }
.theme-wasl .site-footer a:hover { color: var(--gold-light); }

/* ---------- Narrower screens ---------- */
@media (max-width: 1180px) {
  .theme-wasl .wasl-full .wasl-brandbar.brand-row { flex-wrap: wrap; align-items: center; }
  .theme-wasl .wasl-full .wasl-data { flex: 1 1 100%; justify-content: flex-start; }
  .theme-wasl .wasl-compact .wasl-ticks .wasl-tick:nth-child(n + 3) { display: none; }
  .wasl-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .theme-wasl { --wasl-gutter: 24px; }
  .wasl-front { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "lead lead" "brief latest"; row-gap: 28px; }
  .wasl-front:not(:has(> .wasl-latest)) { grid-template-areas: "lead lead" "brief brief"; }
  .wasl-lead, .wasl-front .wasl-lead { padding: 0 0 28px; border-bottom: 1px solid var(--line); }
  .wasl-brief { padding-inline-end: 24px; }
  .wasl-latest { padding-inline-start: 24px; }
  .wasl-front:not(:has(> .wasl-latest)) .wasl-brief { border: 0; padding: 0; }
  .wasl-columns { grid-template-columns: minmax(0, 1fr); }
  .wasl-rail { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); align-items: start; justify-items: center; }
  .wasl-rail > * { width: 100%; }
  .theme-wasl .wasl-compact { gap: 20px; }
  .theme-wasl .wasl-compact .wasl-ticks { display: none; }
  .theme-wasl .article-layout, .theme-wasl .article-layout:has(.ad-container-article_side) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .theme-wasl .article-related > .ad-container-article_side { grid-column: 1 / -1; grid-row: auto; padding: 0; }
  .theme-wasl .article-related > .ad-container-article_side .ad-slot { position: static; margin: 28px auto 0; }
  body.theme-wasl .site-footer { grid-template-columns: minmax(0, 1fr); }
  .theme-wasl .footer-identity { grid-row: auto; }
  .theme-wasl .footer-links { grid-column: 1; }
}
@media (max-width: 760px) {
  .theme-wasl { --wasl-gutter: 16px; }
  .theme-wasl .wasl-head { position: relative; padding: 14px 16px 0; }
  .theme-wasl .wasl-compact { position: relative; display: block; }
  .wasl-utility, .wasl-data { display: none; }
  .wasl-brandbar.brand-row, .theme-wasl .wasl-compact .wasl-brandbar.brand-row { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 12px; padding: 0; }
  .theme-wasl .masthead .wordmark, .theme-wasl .wasl-compact .wordmark { min-width: 0; font-size: 28px; line-height: 1.2; white-space: normal; }
  .wasl-weather { display: inline-flex; gap: 4px; flex: none; margin-inline-end: 42px; font-size: 12px; color: var(--pale); white-space: nowrap; }
  .wasl-weather b { color: #fff; }
  .theme-wasl .wasl-nav, .theme-wasl .wasl-compact .wasl-nav { margin-top: 14px; padding: 0; border: 0; font-size: 14px; }
  .wasl-nav-links, .theme-wasl .wasl-compact .wasl-nav-links { flex-wrap: nowrap; gap: 18px; height: auto; padding-top: 0; overflow-x: auto; scrollbar-width: none; }
  .wasl-nav-links::-webkit-scrollbar { display: none; }
  .wasl-nav-links a, .theme-wasl .wasl-compact .wasl-nav-links a { flex: none; padding-bottom: 10px; }
  .theme-wasl .wasl-sections, .theme-wasl .wasl-compact .wasl-sections { margin: 0; }
  .theme-wasl .wasl-sections summary { position: absolute; top: 8px; inset-inline-end: 6px; width: 44px; height: 44px; min-height: 44px; padding: 0; justify-content: center; }
  .wasl-sections-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .wasl-chevron { display: none; }
  .wasl-burger { display: grid; gap: 4px; width: 22px; }
  .wasl-burger i { display: block; height: 2px; background: #fff; }
  .theme-wasl .wasl-head .nav-directory { inset-inline: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px 16px 16px; max-height: 70vh; overflow-y: auto; }
  .theme-wasl .wasl-full .wasl-ticks { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin-inline: -16px; background: #fff; color: var(--muted); border-bottom: 1px solid var(--line); }
  .theme-wasl .wasl-full .wasl-tick { display: grid; padding: 10px 12px; font-size: 9px; font-weight: 700; }
  .theme-wasl .wasl-full .wasl-tick + .wasl-tick { border-inline-start: 1px solid var(--line); }
  .theme-wasl .wasl-full .wasl-tick b { font-size: 15px; color: var(--navy); text-align: start; }
  .theme-wasl .wasl-full .wasl-tick .wasl-gold { color: var(--gold); }
  .theme-wasl .wasl-full .wasl-tick-weather { display: none; }

  .theme-wasl .ad-slot { margin-top: 12px; }
  .wasl-front { display: block; padding: 18px 0 0; }
  .wasl-lead, .wasl-front .wasl-lead { padding: 0 0 20px; }
  .wasl-lead .lead .story-image { order: 0; aspect-ratio: 1.6; margin: 0 0 12px; }
  .theme-wasl .wasl-lead .lead h2 { font-size: 24px; line-height: 1.45; }
  .theme-wasl .wasl-lead .lead .story-description { font-size: 14px; line-height: 1.75; margin-top: 8px; }
  .wasl-lead .lead.text-only { padding: 20px 16px; }
  .wasl-latest, .wasl-brief, .wasl-front:not(:has(> .wasl-latest)) .wasl-brief { padding: 0; border: 0; }
  .wasl-latest .wasl-label { display: none; }
  .wasl-brief { margin-top: 24px; }
  .theme-wasl .thumb { grid-template-columns: minmax(0, 1fr) 96px; }
  .theme-wasl .thumb .story-image { width: 96px; aspect-ratio: 1.2; }
  .theme-wasl .thumb h2 { font-weight: 700; line-height: 1.55; }
  .wasl-tiles { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .wasl-tiles .story-card { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
  .wasl-tiles .story-card .story-image { grid-column: 2; grid-row: 1; width: 112px; aspect-ratio: 1.25; margin: 0; }
  .wasl-tiles .story-card .story-copy { grid-column: 1; grid-row: 1; }
  .wasl-tiles .story-card.text-only { grid-template-columns: minmax(0, 1fr); padding-top: 14px; border-top: 0; }
  .theme-wasl .wasl-tiles h2, .theme-wasl .wasl-topic .wasl-tiles h2, .theme-wasl .wasl-tiles-more h2 { font-size: 16px; }
  .theme-wasl .wasl-tiles .story-description { display: none; }
  .wasl-topic .wasl-tiles, .wasl-tiles-more { padding-top: 6px; }
  .wasl-rail { display: block; padding-top: 12px; }
  .wasl-highlights-box { margin: 16px -16px 0; padding: 18px 16px; }
  .wasl-rows { grid-template-columns: minmax(0, 1fr); }
  .theme-wasl .wasl-rows .row { grid-template-columns: minmax(0, 1fr) 112px; gap: 14px; padding: 14px 0; }
  .theme-wasl .wasl-rows .row .story-image { width: 112px; aspect-ratio: 1.25; }
  .theme-wasl .wasl-rows h2 { font-size: 16px; }
  .theme-wasl .wasl-rows .story-description { display: none; }
  .wasl-topic-head h1 { font-size: 34px; }
  .theme-wasl .breadcrumbs { padding-top: 16px; }
  .wasl-topic-lead .lead { display: flex; flex-direction: column; align-items: stretch; gap: 12px; padding-bottom: 20px; }
  .theme-wasl .wasl-topic-lead .lead h2 { font-size: 22px; }
  .wasl-columns:has(> .wasl-column-main > .wasl-topic) { padding-top: 18px; }

  .theme-wasl .article-layout, .theme-wasl .article-layout:has(.ad-container-article_side) { display: block; }
  .theme-wasl .article-heading { padding-inline-start: 16px; border-inline-start-width: 4px; }
  .theme-wasl .article-heading h1 { font-size: 26px; }
  .theme-wasl .article-deck { font-size: 16px; }
  .theme-wasl .article-figure { margin-inline: -16px; }
  .theme-wasl .article-body { padding: 0; font-size: 17px; line-height: 1.9; }
  .theme-wasl .article-related > .compact { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
  .theme-wasl .article-related > .compact .story-image { grid-column: 2; grid-row: 1; aspect-ratio: 1.25; margin: 0; }
  .theme-wasl .article-related > .compact .story-copy { grid-column: 1; grid-row: 1; }
  .theme-wasl .article-related > .compact.text-only { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .theme-wasl .about-page h1, .theme-wasl section.empty-state h1 { font-size: 34px; }
  .theme-wasl section.empty-state h1 { font-size: 64px; }

  .wasl-credits { margin-top: 16px; }
  body.theme-wasl .site-footer { padding: 24px 16px; gap: 14px; }
  .theme-wasl .footer-brand { font-size: 24px; }
  .theme-wasl .footer-topics { gap: 8px 16px; font-size: 13px; }
  .theme-wasl .site-footer .back-top { margin-inline-start: auto; }
}
