/* Temps de France — feuille de style
   Identité : bandeau « titre de journal » (crème, bleu nuit, rouge), filets doubles, Old Standard TT + Barlow. */

:root {
  --paper: #f7f3ea;
  --card: #fffdf8;
  --ink: #1b2a4a;
  --ink-2: #44506b;
  --muted: #5c6781;
  --red: #b3262e;
  --rule: rgba(27, 42, 74, 0.22);
  --focus: #2a78d6;
  --tick-b: #f2b8bc;
  --foot-bg: #1b2a4a;
  --foot-fg: #f7f3ea;
  --duel-b: #d9d3c3;
  /* séries du graphique (palette validée : blue, orange, aqua, yellow, magenta, green, violet) */
  --s1: #2a78d6; --s2: #eb6834; --s3: #1baf7a; --s4: #eda100; --s5: #e87ba4; --s6: #008300; --s7: #6250d6;
  --serif: 'Old Standard TT', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --sans: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --cond: 'Barlow Condensed', 'Arial Narrow', var(--sans);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --paper: #0f1426; --card: #161c33; --ink: #ece7da; --ink-2: #bcc3d4; --muted: #9aa4bd; --red: #f07d87;
    --rule: rgba(236, 231, 218, 0.22); --focus: #7fb0ff; --tick-b: #f2b8bc; --foot-bg: #0a0e1c; --foot-fg: #ece7da; --duel-b: #39405a;
    --s1: #3987e5; --s2: #d95926; --s3: #199e70; --s4: #c98500; --s5: #d55181; --s6: #008300; --s7: #9085e9;
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --paper: #0f1426; --card: #161c33; --ink: #ece7da; --ink-2: #bcc3d4; --muted: #9aa4bd; --red: #f07d87;
  --rule: rgba(236, 231, 218, 0.22); --focus: #7fb0ff; --tick-b: #f2b8bc; --foot-bg: #0a0e1c; --foot-fg: #ece7da; --duel-b: #39405a;
  --s1: #3987e5; --s2: #d95926; --s3: #199e70; --s4: #c98500; --s5: #d55181; --s6: #008300; --s7: #9085e9;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.45;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
button { font: inherit; color: inherit; cursor: pointer; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* ---------- bandeau ---------- */
.mast__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 0.85rem; color: var(--muted); flex-wrap: wrap; }
.mast__status { font-variant-numeric: tabular-nums; }
.mast__theme { background: none; border: 1px solid var(--rule); padding: 3px 12px; min-height: 32px; border-radius: 3px; font-size: 0.85rem; }
.mast__theme:hover { border-color: var(--ink); }

.logo { display: block; text-align: center; color: var(--ink); padding-bottom: 12px; }
.logo:hover { text-decoration: none; }
.logo__rule { display: block; border-top: 5px solid var(--ink); }
.logo__rule::after { content: ''; display: block; border-top: 1px solid var(--ink); margin-top: 5px; }
.logo__rule--bottom { border-top: 1px solid var(--ink); margin-top: 0; }
.logo__rule--bottom::after { border-top: 5px solid var(--ink); }
.logo__title {
  display: flex; justify-content: center; align-items: baseline; gap: 0.24em; white-space: nowrap;
  font-family: var(--serif); font-weight: 700; font-size: clamp(2.1rem, 8.2vw, 5.2rem); letter-spacing: 0.035em; line-height: 1; padding: 0.24em 0 0.16em;
}
.logo__de { font-style: italic; font-weight: 400; color: var(--red); font-size: 0.64em; letter-spacing: 0; }
.logo__strip { display: flex; align-items: center; gap: 14px; margin: 2px 0 12px; font-family: var(--cond); font-weight: 600; font-size: clamp(0.72rem, 1.7vw, 1.05rem); letter-spacing: 0.17em; text-transform: uppercase; }
.logo__line { flex: 1; height: 1px; background: var(--ink); }
.logo__motto { white-space: nowrap; }

/* ---------- navigation ---------- */
.navbar { position: sticky; top: 0; z-index: 50; background: var(--paper); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.nav { position: relative; display: flex; align-items: stretch; }
.nav__list { display: flex; flex: 1; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.nav__list::-webkit-scrollbar { display: none; }
.nav__list a, .nav__more summary {
  display: block; padding: 11px 11px; font-family: var(--cond); font-weight: 600; font-size: 1.08rem; letter-spacing: 0.02em; border-bottom: 3px solid transparent; cursor: pointer;
}
.nav__list a:hover, .nav__more summary:hover { text-decoration: none; border-bottom-color: var(--rule); }
.nav__list a[aria-current='page'] { border-bottom-color: var(--red); color: var(--red); }
.nav__more { flex: none; border-left: 1px solid var(--rule); }
.nav__more summary { list-style: none; }
.nav__more summary::-webkit-details-marker { display: none; }
.nav__more summary::after { content: ' ▾'; font-size: 0.8em; }
.nav__more[open] summary { background: var(--ink); color: var(--paper); border-bottom-color: var(--ink); }
.mega { position: absolute; right: 0; top: 100%; width: min(1100px, 100vw); background: var(--card); border: 1px solid var(--ink); border-top: 0; padding: 18px 22px 22px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px 22px; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16); z-index: 60; }
.mega h2 { font-family: var(--serif); font-size: 1.05rem; border-bottom: 2px solid var(--ink); padding-bottom: 4px; margin-bottom: 6px; }
.mega li a { display: block; padding: 4px 0; font-size: 0.93rem; }

/* ---------- bandeau « à l'instant » ---------- */
.ticker { display: flex; margin: 14px 0 6px; background: var(--ink); color: var(--paper); overflow: hidden; font-size: 0.92rem; }
.ticker__tag { flex: none; background: var(--red); color: #fff; font-family: var(--cond); font-weight: 600; font-size: 1.02rem; padding: 8px 14px; display: flex; align-items: center; }
:root[data-theme='dark'] .ticker__tag { color: #14192b; }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .ticker__tag { color: #14192b; } }
.ticker__view { flex: 1; overflow: hidden; min-width: 0; }
.ticker__list { display: flex; width: max-content; padding: 8px 0; animation: marquee 170s linear infinite; }
.ticker:hover .ticker__list, .ticker:focus-within .ticker__list { animation-play-state: paused; }
.ticker__list li { padding: 0 38px 0 22px; white-space: nowrap; }
.ticker__list b { color: var(--tick-b); font-weight: 600; margin-right: 6px; }
.ticker__list a:hover { text-decoration: underline; }
@keyframes marquee { to { transform: translateX(-50%); } }

.main { padding-top: 6px; padding-bottom: 20px; }

/* ---------- accueil ---------- */
.home-top { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 0 32px; padding-top: 14px; }
.home-top__side { border-left: 1px solid var(--rule); padding-left: 28px; }
.hero { padding-bottom: 18px; border-bottom: 1px solid var(--rule); }
.hero__k { display: flex; flex-wrap: wrap; gap: 4px 12px; font-family: var(--cond); font-weight: 600; font-size: 1.05rem; }
.hero__k a { color: var(--red); }
.hero__k span { color: var(--muted); font-family: var(--sans); font-weight: 500; font-size: 0.85rem; align-self: center; }
.hero__h { font-family: var(--serif); font-weight: 700; font-size: clamp(1.85rem, 3.5vw, 3rem); line-height: 1.07; margin: 0.22em 0 0.3em; letter-spacing: -0.005em; }
.hero__x { font-size: 1.12rem; color: var(--ink-2); max-width: 62ch; }
.subs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.sub { padding: 14px 0 14px; border-bottom: 1px solid var(--rule); }
.sub__k { font-family: var(--cond); font-weight: 600; color: var(--red); font-size: 0.98rem; }
.sub__h { font-family: var(--serif); font-weight: 700; font-size: 1.26rem; line-height: 1.18; margin: 2px 0 4px; }
.sub__m { font-size: 0.8rem; color: var(--muted); }

.home-mid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 0 32px; margin-top: 30px; }
.home-mid__side { border-left: 1px solid var(--rule); padding-left: 28px; }
.home-mid__side .panel--plain:first-child { margin-top: 0; }

.sec-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; border-top: 4px solid var(--ink); padding-top: 6px; }
.sec-h { font-family: var(--serif); font-weight: 700; font-size: 1.6rem; line-height: 1.15; }
.sec-h--wide { border-top: 4px solid var(--ink); padding-top: 6px; margin: 36px 0 0; }
.sec-h--sm { font-size: 1.25rem; }
.sec-sub { color: var(--muted); font-size: 0.86rem; }
.sec { margin-top: 38px; }
.sec .sec-head { margin-bottom: 8px; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 0 8px; }
.chip { background: transparent; border: 1px solid var(--rule); padding: 5px 12px; min-height: 36px; border-radius: 3px; font-weight: 600; font-size: 0.86rem; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed='true'] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.newbar { position: sticky; top: 52px; z-index: 20; margin: 4px 0; }
.newbar button { width: 100%; background: var(--red); color: #fff; border: 0; padding: 10px; font-weight: 600; border-radius: 3px; }
:root[data-theme='dark'] .newbar button { color: #14192b; }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .newbar button { color: #14192b; } }
.fil__foot { padding: 14px 0 0; font-weight: 600; }
.fil__foot a { color: var(--red); }

/* ---------- lignes d'articles ---------- */
.day { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.1rem; padding: 18px 0 5px; border-bottom: 2px solid var(--ink); }
.row { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 0 12px; padding: 12px 0 13px; border-bottom: 1px solid var(--rule); }
.row--new { box-shadow: inset 3px 0 0 var(--red); padding-left: 10px; }
.row__t { font-family: var(--cond); font-weight: 600; font-size: 1.08rem; color: var(--red); font-variant-numeric: tabular-nums; padding-top: 1px; }
.row__h { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; line-height: 1.22; }
.row__h a:visited { color: var(--ink-2); }
.row__x { color: var(--ink-2); font-size: 0.96rem; margin-top: 3px; max-width: 74ch; }
.row__m { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 5px; font-size: 0.8rem; color: var(--muted); }
.row__s { font-weight: 700; color: var(--ink-2); }
.tag { border: 1px solid var(--rule); padding: 0 7px; border-radius: 2px; font-size: 0.75rem; line-height: 1.55; }
.tag:hover { border-color: var(--ink); text-decoration: none; }
.empty { padding: 22px 0; color: var(--muted); }

/* ---------- panneaux ---------- */
.panel { border-top: 4px solid var(--ink); padding: 10px 0 4px; }
.panel--plain { border-top-width: 2px; margin-top: 26px; }
.panel__h { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; line-height: 1.15; }
.panel__h--sm { font-size: 1.2rem; }
.panel__sub { color: var(--muted); font-size: 0.84rem; margin: 4px 0 8px; }
.panel__more { font-size: 0.86rem; margin: 10px 0 6px; font-weight: 600; }
.panel__more a { color: var(--red); }
.pbs { margin: 6px 0; }
.pb { display: grid; grid-template-columns: minmax(84px, 112px) minmax(0, 1fr) 52px; gap: 8px; align-items: center; padding: 4px 0; font-size: 0.92rem; }
.pb__bar { height: 10px; background: color-mix(in srgb, var(--ink) 10%, transparent); border-radius: 0 4px 4px 0; overflow: hidden; }
.pb__fill { display: block; height: 100%; background: var(--ink); border-radius: 0 4px 4px 0; min-width: 2px; }
.pb__v { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.duels li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dotted var(--rule); font-size: 0.93rem; }
.duels__v { font-weight: 700; font-variant-numeric: tabular-nums; }
.counts li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px dotted var(--rule); font-size: 0.92rem; }
.counts b { font-variant-numeric: tabular-nums; color: var(--ink-2); }
.counts--links span { color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- blocs par rubrique ---------- */
.blocks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 30px; margin-top: 4px; }
.blk { border-top: 3px solid var(--ink); padding: 8px 0 20px; margin-top: 18px; }
.blk__h { font-family: var(--serif); font-weight: 700; font-size: 1.28rem; margin-bottom: 4px; }
.cl__i { padding: 8px 0; border-top: 1px solid var(--rule); }
.cl__i a { font-family: var(--serif); font-weight: 700; font-size: 1rem; line-height: 1.23; display: block; }
.cl__i a:visited { color: var(--ink-2); }
.cl__m { display: block; font-size: 0.76rem; color: var(--muted); margin-top: 2px; }
.blk__more { font-size: 0.8rem; margin-top: 4px; font-weight: 600; }
.blk__more a { color: var(--red); }
.others { margin: 24px 0 8px; border-top: 3px solid var(--ink); padding-top: 8px; }
.others h2 { font-family: var(--serif); font-size: 1.1rem; margin-bottom: 4px; }
.others ul { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.others li span { color: var(--muted); font-size: 0.8rem; margin-left: 4px; }

/* ---------- pages ---------- */
.phead { padding: 22px 0 14px; border-bottom: 4px solid var(--ink); margin-bottom: 4px; }
.phead__h { font-family: var(--serif); font-weight: 700; font-size: clamp(2rem, 4.8vw, 3.3rem); line-height: 1.05; }
.phead__d { color: var(--ink-2); font-size: 1.08rem; max-width: 72ch; margin-top: 6px; }
.phead__s { color: var(--muted); font-size: 0.9rem; margin-top: 8px; }
.phead--pres .phead__s { color: var(--ink); font-size: 1.02rem; font-weight: 500; max-width: 80ch; }
.rub { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 0 36px; }
.rub__side { border-left: 1px solid var(--rule); padding-left: 28px; padding-top: 20px; }
.prose { max-width: 70ch; padding: 18px 0; font-size: 1.05rem; }
.prose p, .prose ul { margin: 0.8em 0; }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose h2 { font-family: var(--serif); font-size: 1.45rem; margin-top: 1.6em; }
.prose a, .notes a, .srcs a { text-decoration: underline; text-underline-offset: 3px; }
.prose__warn { background: var(--card); border: 1px solid var(--red); padding: 10px 14px; }
.idxs { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 36px; padding-top: 10px; }
.idx { margin-top: 20px; }
.idx__h { font-family: var(--serif); font-size: 1.3rem; border-bottom: 2px solid var(--ink); padding-bottom: 4px; }
.idx li { padding: 8px 0; border-bottom: 1px solid var(--rule); }
.idx li span { color: var(--muted); font-size: 0.8rem; margin-left: 6px; }
.idx li p { color: var(--ink-2); font-size: 0.9rem; }

/* ---------- présidentielle ---------- */
.pres-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 0 32px; margin-top: 26px; }
.pres-grid__side { border-left: 1px solid var(--rule); padding-left: 28px; }
.chart { background: var(--card); border: 1px solid var(--rule); padding: 14px 14px 10px; margin-top: 8px; position: relative; }
.chart__tools { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px; }
.lg { display: inline-flex; align-items: center; gap: 7px; background: transparent; border: 1px solid var(--rule); padding: 4px 10px; min-height: 36px; border-radius: 3px; font-size: 0.86rem; font-weight: 600; }
.lg[aria-pressed='false'] { opacity: 0.5; }
.lg[aria-pressed='false'] .lg__sw { background: transparent !important; box-shadow: inset 0 0 0 2px var(--c); }
.lg__sw { width: 12px; height: 12px; border-radius: 2px; flex: none; }
.lg__v { font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.btn { background: transparent; border: 1px solid var(--ink); padding: 5px 12px; min-height: 36px; border-radius: 3px; font-size: 0.86rem; font-weight: 600; }
.btn:hover, .btn[aria-pressed='true'] { background: var(--ink); color: var(--paper); }
.chart__stage { position: relative; min-height: 320px; outline-offset: 4px; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart text { font-family: var(--sans); fill: var(--ink-2); font-size: 12px; }
.chart .ax text { fill: var(--muted); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.chart .gridline { stroke: var(--rule); stroke-width: 1; }
.chart .zero { stroke: var(--ink); stroke-width: 1; opacity: 0.6; }
.chart .ln { fill: none; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.chart .pt { stroke: var(--card); stroke-width: 2; opacity: 0.85; }
.chart .endlbl { font-weight: 700; font-size: 12.5px; }
@media (max-width: 560px) { .chart .endlbl { font-size: 11.5px; } .chart { padding: 10px 8px 8px; } }
.chart .cross { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 3; opacity: 0.7; }
.tip { position: absolute; z-index: 5; pointer-events: none; min-width: 190px; max-width: 280px; background: var(--paper); border: 1px solid var(--ink); padding: 8px 10px 9px; font-size: 0.84rem; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16); }
.tip__h { font-weight: 700; }
.tip__s { color: var(--muted); font-size: 0.78rem; margin-bottom: 5px; }
.tip__r { display: grid; grid-template-columns: 10px 1fr auto; gap: 7px; align-items: center; padding: 1px 0; }
.tip__r i { width: 10px; height: 10px; border-radius: 2px; }
.tip__r b { font-variant-numeric: tabular-nums; }
.tip__r small { color: var(--muted); font-weight: 400; }

.tbl-wrap { overflow-x: auto; border-bottom: 1px solid var(--rule); }
.tbl { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.tbl th, .tbl td { padding: 8px 10px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: middle; }
.tbl thead th { border-bottom: 2px solid var(--ink); font-weight: 700; white-space: nowrap; }
.tbl tbody th { font-weight: 600; }
.tbl--polls td, .tbl--polls thead th:nth-child(n + 3) { text-align: right; font-variant-numeric: tabular-nums; }
.tbl--polls td.tbl__o { text-align: left; color: var(--muted); font-size: 0.8rem; min-width: 190px; }
.tbl--polls tbody th, .tbl--polls td { white-space: nowrap; }
.tbl--polls td.tbl__o { white-space: normal; }
.tbl tbody tr:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); }
.duel { display: flex; min-width: 230px; height: 26px; font-size: 0.8rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.duel__a, .duel__b { display: flex; align-items: center; padding: 0 8px; }
.duel__a { background: var(--ink); color: var(--paper); justify-content: flex-start; }
.duel__b { background: var(--duel-b); color: var(--ink); justify-content: flex-end; }
.cands { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 0 28px; }
.cand { display: flex; gap: 12px; padding: 11px 0; border-top: 1px solid var(--rule); }
.cand__sw { width: 6px; flex: none; border-radius: 3px; }
.cand__n { font-family: var(--serif); font-size: 1.1rem; line-height: 1.2; }
.cand__p { color: var(--muted); font-size: 0.85rem; }
.cand__v { font-size: 0.88rem; margin-top: 2px; }
.notes { list-style: disc; padding-left: 1.2em; max-width: 80ch; color: var(--ink-2); }
.notes li { margin: 0.45em 0; }
.srcs { color: var(--muted); font-size: 0.86rem; margin-top: 12px; max-width: 90ch; }
.sec--note { border-top: 2px solid var(--ink); padding-top: 12px; }

/* ---------- pied de page ---------- */
.foot { background: var(--foot-bg); color: var(--foot-fg); margin-top: 48px; padding: 30px 0 36px; }
.foot__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; }
.foot h2 { font-family: var(--cond); font-weight: 600; font-size: 1.05rem; border-bottom: 1px solid rgba(255, 255, 255, 0.3); padding-bottom: 4px; margin-bottom: 6px; }
.foot li a { display: block; padding: 3px 0; font-size: 0.9rem; opacity: 0.88; }
.foot li a:hover { opacity: 1; }
.foot__legal { margin-top: 26px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.3); font-size: 0.86rem; max-width: 90ch; }
.foot__brand { font-family: var(--serif); font-size: 1.15rem; margin-bottom: 4px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 8px; }
.foot__links a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- adaptatif ---------- */
@media (max-width: 1100px) {
  .blocks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mega { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .home-top, .home-mid, .rub, .pres-grid { grid-template-columns: minmax(0, 1fr); }
  .home-top__side, .home-mid__side, .rub__side, .pres-grid__side { border-left: 0; padding-left: 0; margin-top: 26px; }
  .blocks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mega { position: fixed; left: 0; right: 0; top: auto; width: 100%; max-height: 70vh; overflow: auto; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .subs, .blocks { grid-template-columns: minmax(0, 1fr); }
  .row { grid-template-columns: 44px minmax(0, 1fr); gap: 0 9px; }
  .row__h { font-size: 1.12rem; }
  .logo__motto { white-space: normal; text-align: center; }
  .mast__date { display: none; }
  .foot__grid, .mega { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pb { grid-template-columns: 82px minmax(0, 1fr) 46px; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker__list { animation: none; }
  .ticker__view { overflow-x: auto; }
  * { scroll-behavior: auto !important; }
}
@media print {
  .navbar, .ticker, .chips, .foot, .mast__theme { display: none; }
}
