/* ════════════════════════════════════════════════════════════════════
   ZiarMedical — v8.1 "Clinical Blue" design system
   Self-contained, namespace `zmv8-*`. Rebuilt from scratch to match
   the approved mockup exactly. Does NOT depend on the old theme CSS.
   ════════════════════════════════════════════════════════════════════ */

:root{
  --zmv8-paper:#F5F3EC;
  --zmv8-paper-2:#FCFBF7;
  --zmv8-line:#E3DFD4;
  --zmv8-line-2:#D0CABB;
  --zmv8-ink:#10243f;
  --zmv8-ink-soft:#33445a;
  --zmv8-ink-mute:#6c7787;
  --zmv8-acc:#1255a0;
  --zmv8-acc-2:#1860b5;
  --zmv8-acc-3:#0a3870;
  --zmv8-acc-soft:#dbe7f6;
  --zmv8-acc-tint:#eef3fb;
  --zmv8-acc-light:#9cc2ec;
  --zmv8-acc-pale:#bcd6f3;
  --zmv8-signal:#C5421B;
  --zmv8-warn-soft:#FBEFD7;
  --zmv8-ok-soft:#E2F1E8;
  --zmv8-r:8px;
  --zmv8-r-lg:14px;
  --zmv8-r-pill:980px;
  --zmv8-shadow:0 1px 2px rgba(16,36,63,.04),0 8px 26px -18px rgba(16,36,63,.30);
  --zmv8-font-h:'Lora',Georgia,serif;
  --zmv8-font-b:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  --zmv8-ease:cubic-bezier(.22,.61,.36,1);
}

/* ─── Hide legacy sections we are replacing (footer, elite, old hero) ─── */
.zmv8-mode .zm-about,
.zmv8-mode .zm-ed-hero,
.zmv8-mode .zm-mag-ed,
.zmv8-mode .zm-elite,
.zmv8-mode .zm-events-mod,
.zmv8-mode .zm-cat-mosaic,
.zmv8-mode .zm-dual,
.zmv8-mode .zm-feature,
.zmv8-mode .zm-statement,
.zmv8-mode .zm-video-mod,
.zmv8-mode .zm-calc-section,
.zmv8-mode .zm-cardiac-section,
.zmv8-mode .zm-trust-bar{display:none !important}

/* ─── Base reset scoped to v8 sections ─── */
body.zmv8-mode{background:var(--zmv8-paper);color:var(--zmv8-ink);font-family:var(--zmv8-font-b);font-size:16px;line-height:1.6}
.zmv8 *{box-sizing:border-box}
.zmv8 a{color:inherit;text-decoration:none}
.zmv8 img{display:block;max-width:100%}
.zmv8 svg.zmv8-ic{stroke-linecap:round;stroke-linejoin:round;fill:none}
.zmv8-wrap{max-width:1240px;margin:0 auto;padding:0 32px}
@media(max-width:680px){.zmv8-wrap{padding:0 18px}}

.zmv8-eyebrow{font-size:16px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--zmv8-acc);display:inline-flex;align-items:center;gap:10px}
.zmv8-eyebrow::before{content:"";width:18px;height:1.5px;background:var(--zmv8-acc);display:inline-block}

/* ═════════ HEADER NAV — minimal, sits below the existing weather bar ═════════ */
.zmv8 .zmv8-mast{background:rgba(245,243,236,.92);border-bottom:1px solid var(--zmv8-line);backdrop-filter:saturate(1.4) blur(12px)}
.zmv8 .zmv8-mast-inner{display:flex;align-items:center;gap:26px;min-height:74px}
.zmv8 .zmv8-logo{display:flex;align-items:center;gap:11px;font-family:var(--zmv8-font-h);font-weight:700;font-size:26px;letter-spacing:-.01em;color:var(--zmv8-ink)}
.zmv8 .zmv8-logo-mark{width:36px;height:36px;flex:0 0 auto;border-radius:9px;background:var(--zmv8-acc);display:grid;place-items:center;box-shadow:0 4px 12px -4px rgba(18,85,160,.5)}
.zmv8 .zmv8-logo-mark svg{width:22px;height:22px;color:#fff}
.zmv8 .zmv8-logo em{font-style:normal;color:var(--zmv8-acc)}
.zmv8 .zmv8-nav{display:flex;gap:26px;margin-left:8px}
.zmv8 .zmv8-nav a{font-size:16px;font-weight:600;color:var(--zmv8-ink-soft);position:relative;padding:5px 0}
.zmv8 .zmv8-nav a::after{content:"";position:absolute;left:0;bottom:-1px;width:0;height:2px;background:var(--zmv8-acc);border-radius:2px;transition:width .3s var(--zmv8-ease)}
.zmv8 .zmv8-nav a:hover{color:var(--zmv8-ink)}
.zmv8 .zmv8-nav a:hover::after,
.zmv8 .zmv8-nav a.is-active::after{width:100%}
.zmv8 .zmv8-nav a.is-active{color:var(--zmv8-acc)}
.zmv8 .zmv8-mast-r{margin-left:auto;display:flex;align-items:center;gap:10px}
.zmv8 .zmv8-icbtn{width:42px;height:42px;border:1px solid var(--zmv8-line-2);border-radius:var(--zmv8-r);background:var(--zmv8-paper-2);display:grid;place-items:center;cursor:pointer;color:var(--zmv8-ink-soft);transition:all .2s var(--zmv8-ease)}
.zmv8 .zmv8-icbtn svg{width:20px;height:20px}
.zmv8 .zmv8-icbtn:hover{border-color:var(--zmv8-acc);color:var(--zmv8-acc);transform:translateY(-1px)}
.zmv8 .zmv8-burger{display:none}
@media(max-width:920px){.zmv8 .zmv8-nav{display:none}.zmv8 .zmv8-burger{display:grid}}

/* ═════════ HERO ═════════ */
.zmv8 .zmv8-hero{padding:44px 0 56px}
.zmv8 .zmv8-hero-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:42px;align-items:start}
@media(max-width:980px){.zmv8 .zmv8-hero-grid{grid-template-columns:1fr;gap:36px}}

.zmv8 .zmv8-lead{display:block}
.zmv8 .zmv8-lead-fig{position:relative;border-radius:var(--zmv8-r-lg);overflow:hidden;aspect-ratio:16/10;background:linear-gradient(135deg,#15365e,#0a2138)}
.zmv8 .zmv8-lead-fig img{width:100%;height:100%;object-fit:cover;opacity:.96;transition:transform .9s var(--zmv8-ease)}
.zmv8 .zmv8-lead:hover .zmv8-lead-fig img{transform:scale(1.04)}
.zmv8 .zmv8-lead-fig::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 32%,rgba(8,22,40,.82) 100%)}
.zmv8 .zmv8-lead-tag{position:absolute;top:14px;left:14px;z-index:2;background:var(--zmv8-paper-2);color:var(--zmv8-acc);font-size:16px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:6px 12px;border-radius:var(--zmv8-r-pill);display:inline-flex;align-items:center;gap:7px}
.zmv8 .zmv8-lead-tag .zmv8-dot{width:7px;height:7px;border-radius:50%;background:var(--zmv8-signal)}
.zmv8 .zmv8-lead-cat{position:absolute;left:22px;bottom:108px;z-index:2;font-size:16px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--zmv8-acc-pale)}
.zmv8 .zmv8-lead-h{position:absolute;left:22px;right:22px;bottom:22px;z-index:2}
.zmv8 .zmv8-lead-h h1{font-family:var(--zmv8-font-h)!important;font-weight:600!important;color:#fff !important;font-size:clamp(26px,3.4vw,42px) !important;line-height:1.1 !important;letter-spacing:-.01em;margin:0}
.zmv8 .zmv8-lead-body{padding-top:20px}
.zmv8 .zmv8-lead-excerpt{font-family:var(--zmv8-font-h);font-size:19px;line-height:1.6;color:var(--zmv8-ink-soft);max-width:60ch;margin:0}
.zmv8 .zmv8-byline{display:flex;align-items:center;gap:11px;margin-top:18px;font-size:16px;flex-wrap:wrap;color:var(--zmv8-ink-soft)}
.zmv8 .zmv8-av{width:36px;height:36px;border-radius:50%;background:var(--zmv8-acc);color:#fff;display:grid;place-items:center;font-weight:700;font-size:16px;flex:0 0 auto}
.zmv8 .zmv8-byline b{font-weight:600;color:var(--zmv8-ink)}
.zmv8 .zmv8-verified{display:inline-flex;align-items:center;gap:5px;color:var(--zmv8-acc);font-weight:600;font-size:16px}
.zmv8 .zmv8-verified svg{width:16px;height:16px}

/* Calculators rail */
.zmv8 .zmv8-rail{background:var(--zmv8-ink);border-radius:var(--zmv8-r-lg);padding:26px 24px;color:var(--zmv8-paper);position:relative;overflow:hidden}
.zmv8 .zmv8-rail::before{content:"";position:absolute;top:-44px;right:-44px;width:180px;height:180px;border-radius:50%;background:radial-gradient(circle,rgba(24,96,181,.45),transparent 70%)}
.zmv8 .zmv8-rail-h{display:flex;align-items:center;gap:10px;position:relative}
.zmv8 .zmv8-rail-ekg{width:28px;height:18px;color:var(--zmv8-acc-light)}
.zmv8 .zmv8-rail-h h2{font-family:var(--zmv8-font-h)!important;font-weight:600!important;font-size:22px!important;color:#fff !important;margin:0}
.zmv8 .zmv8-rail-sub{color:rgba(246,244,238,.7);font-size:16px;margin:6px 0 18px;position:relative}
.zmv8 .zmv8-calc-list{display:flex;flex-direction:column;gap:9px;position:relative}
.zmv8 .zmv8-calc-item{display:flex;align-items:center;gap:13px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.09);border-radius:var(--zmv8-r);padding:12px 14px;transition:all .22s var(--zmv8-ease);color:#fff}
.zmv8 .zmv8-calc-item:hover{background:rgba(24,96,181,.22);border-color:var(--zmv8-acc-2);transform:translateX(3px)}
.zmv8 .zmv8-calc-ic{width:38px;height:38px;border-radius:10px;background:rgba(24,96,181,.22);display:grid;place-items:center;flex:0 0 auto;color:var(--zmv8-acc-light)}
.zmv8 .zmv8-calc-ic svg{width:20px;height:20px}
.zmv8 .zmv8-calc-meta{min-width:0;flex:1}
.zmv8 .zmv8-calc-meta b{display:block;font-size:16px;font-weight:600;color:#fff;line-height:1.25}
.zmv8 .zmv8-calc-meta span{font-size:16px;color:rgba(246,244,238,.65);line-height:1.3}
.zmv8 .zmv8-calc-arrow{margin-left:auto;color:rgba(246,244,238,.45);transition:all .22s var(--zmv8-ease);flex:0 0 auto}
.zmv8 .zmv8-calc-arrow svg{width:18px;height:18px}
.zmv8 .zmv8-calc-item:hover .zmv8-calc-arrow{color:var(--zmv8-acc-light);transform:translateX(3px)}
.zmv8 .zmv8-rail-foot{margin-top:18px;text-align:center;position:relative}
.zmv8 .zmv8-rail-foot a{font-size:16px;font-weight:600;color:var(--zmv8-acc-light);border-bottom:1px solid rgba(156,194,236,.35);padding-bottom:2px}
.zmv8 .zmv8-rail-foot a:hover{border-color:var(--zmv8-acc-light)}

/* ═════════ TRUST STRIP ═════════ */
.zmv8 .zmv8-trust{border-top:1px solid var(--zmv8-line);border-bottom:1px solid var(--zmv8-line);background:var(--zmv8-paper-2)}
.zmv8 .zmv8-trust-grid{display:grid;grid-template-columns:repeat(4,1fr)}
@media(max-width:760px){.zmv8 .zmv8-trust-grid{grid-template-columns:repeat(2,1fr)}}
.zmv8 .zmv8-trust-i{padding:24px;display:flex;align-items:flex-start;gap:13px;border-left:1px solid var(--zmv8-line)}
.zmv8 .zmv8-trust-i:first-child{border-left:none}
@media(max-width:760px){.zmv8 .zmv8-trust-i:nth-child(odd){border-left:none}.zmv8 .zmv8-trust-i:nth-child(n+3){border-top:1px solid var(--zmv8-line)}}
.zmv8 .zmv8-trust-ic{width:34px;height:34px;flex:0 0 auto;color:var(--zmv8-acc)}
.zmv8 .zmv8-trust-i b{display:block;font-size:16px;font-weight:700;margin-bottom:3px;color:var(--zmv8-ink)}
.zmv8 .zmv8-trust-i span{font-size:16px;color:var(--zmv8-ink-mute);line-height:1.45}

/* ═════════ SECTION HEAD ═════════ */
.zmv8 .zmv8-sec{padding:60px 0}
.zmv8 .zmv8-sec-head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:30px;border-bottom:2px solid var(--zmv8-ink);padding-bottom:14px;gap:18px}
.zmv8 .zmv8-sec-head h2{font-family:var(--zmv8-font-h)!important;font-weight:600!important;font-size:clamp(24px,3vw,34px)!important;letter-spacing:-.015em;line-height:1;margin:0;color:var(--zmv8-ink)!important}
.zmv8 .zmv8-sec-head .zmv8-more{font-size:16px;font-weight:600;color:var(--zmv8-acc);display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;white-space:nowrap}
.zmv8 .zmv8-sec-head .zmv8-more svg{width:16px;height:16px;transition:transform .2s var(--zmv8-ease)}
.zmv8 .zmv8-sec-head .zmv8-more:hover svg{transform:translateX(3px)}

/* ═════════ MEDICI BUNI ═════════ */
.zmv8 .zmv8-docs{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
@media(max-width:880px){.zmv8 .zmv8-docs{grid-template-columns:repeat(2,1fr)}}
@media(max-width:480px){.zmv8 .zmv8-docs{grid-template-columns:1fr}}
.zmv8 .zmv8-doc{display:flex;flex-direction:column;background:var(--zmv8-paper-2);border:1px solid var(--zmv8-line);border-radius:var(--zmv8-r-lg);overflow:hidden;transition:all .25s var(--zmv8-ease);color:var(--zmv8-ink)}
.zmv8 .zmv8-doc:hover{border-color:var(--zmv8-acc);transform:translateY(-4px);box-shadow:var(--zmv8-shadow)}
.zmv8 .zmv8-doc-fig{position:relative;aspect-ratio:4/3;background:linear-gradient(135deg,#15365e,#0a2138);overflow:hidden}
.zmv8 .zmv8-doc-fig img{width:100%;height:100%;object-fit:cover;transition:transform .7s var(--zmv8-ease)}
.zmv8 .zmv8-doc:hover .zmv8-doc-fig img{transform:scale(1.05)}
.zmv8 .zmv8-doc-fig::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(8,22,40,.78))}
.zmv8 .zmv8-doc-spec{position:absolute;top:12px;left:12px;z-index:2;background:var(--zmv8-paper-2);color:var(--zmv8-acc);font-size:16px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:5px 10px;border-radius:var(--zmv8-r-pill)}
.zmv8 .zmv8-doc-name{position:absolute;left:14px;right:14px;bottom:13px;z-index:2;color:#fff}
.zmv8 .zmv8-doc-name b{font-family:var(--zmv8-font-h)!important;font-weight:600!important;font-size:18px!important;line-height:1.18;display:block;color:#fff !important}
.zmv8 .zmv8-doc-name span{font-size:16px;color:var(--zmv8-acc-pale);display:flex;align-items:center;gap:5px;margin-top:4px;line-height:1.3}
.zmv8 .zmv8-doc-name span svg{width:14px;height:14px;flex:0 0 auto}
.zmv8 .zmv8-doc-body{padding:16px 18px 18px}
.zmv8 .zmv8-doc-q{font-family:var(--zmv8-font-h);font-style:italic;font-size:16px;line-height:1.5;color:var(--zmv8-ink-soft);margin:0}
.zmv8 .zmv8-doc-cta{margin-top:14px;font-size:16px;font-weight:600;color:var(--zmv8-acc);display:inline-flex;align-items:center;gap:6px}
.zmv8 .zmv8-doc-cta svg{width:16px;height:16px;transition:transform .2s var(--zmv8-ease)}
.zmv8 .zmv8-doc:hover .zmv8-doc-cta svg{transform:translateX(3px)}

/* ═════════ ARTICLE CARDS ═════════ */
.zmv8 .zmv8-mag{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}
@media(max-width:880px){.zmv8 .zmv8-mag{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.zmv8 .zmv8-mag{grid-template-columns:1fr;gap:32px}}
.zmv8 .zmv8-card{display:flex;flex-direction:column;color:var(--zmv8-ink)}
.zmv8 .zmv8-card-fig{border-radius:var(--zmv8-r);overflow:hidden;aspect-ratio:3/2;margin-bottom:14px;background:var(--zmv8-acc-tint)}
.zmv8 .zmv8-card-fig img{width:100%;height:100%;object-fit:cover;transition:transform .7s var(--zmv8-ease)}
.zmv8 .zmv8-card:hover .zmv8-card-fig img{transform:scale(1.05)}
.zmv8 .zmv8-card-cat{font-size:16px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--zmv8-acc);margin-bottom:8px;display:inline-block}
.zmv8 .zmv8-card-t{font-family:var(--zmv8-font-h)!important;font-weight:600!important;font-size:20px!important;line-height:1.25;letter-spacing:-.01em;transition:color .2s var(--zmv8-ease);margin:0;color:var(--zmv8-ink)!important}
.zmv8 .zmv8-card:hover .zmv8-card-t{color:var(--zmv8-acc)}
.zmv8 .zmv8-card-meta{margin-top:10px;font-size:16px;color:var(--zmv8-ink-mute);display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.zmv8 .zmv8-card-meta .zmv8-v{color:var(--zmv8-acc);display:inline-flex;align-items:center;gap:5px;font-weight:600}
.zmv8 .zmv8-card-meta .zmv8-v svg{width:15px;height:15px}

/* ═════════ EVENTS ═════════ */
.zmv8 .zmv8-events{background:var(--zmv8-ink);color:var(--zmv8-paper)}
.zmv8 .zmv8-events .zmv8-sec-head{border-color:rgba(246,244,238,.22)}
.zmv8 .zmv8-events .zmv8-sec-head h2{color:#fff !important}
.zmv8 .zmv8-events .zmv8-eyebrow{color:var(--zmv8-acc-light)}
.zmv8 .zmv8-events .zmv8-eyebrow::before{background:var(--zmv8-acc-light)}
.zmv8 .zmv8-events .zmv8-sec-head .zmv8-more{color:var(--zmv8-acc-light)}
.zmv8 .zmv8-ev-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
@media(max-width:760px){.zmv8 .zmv8-ev-grid{grid-template-columns:1fr}}
.zmv8 .zmv8-ev{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:var(--zmv8-r-lg);padding:24px;transition:all .25s var(--zmv8-ease);color:var(--zmv8-paper);display:block}
.zmv8 .zmv8-ev:hover{background:rgba(24,96,181,.18);border-color:var(--zmv8-acc-2);transform:translateY(-3px)}
.zmv8 .zmv8-ev-date{display:flex;align-items:baseline;gap:9px;color:var(--zmv8-acc-light);font-weight:700;margin-bottom:14px}
.zmv8 .zmv8-ev-date .zmv8-d{font-family:var(--zmv8-font-h);font-size:34px;line-height:1}
.zmv8 .zmv8-ev-date .zmv8-m{font-size:16px;letter-spacing:.08em;text-transform:uppercase}
.zmv8 .zmv8-ev h3{font-family:var(--zmv8-font-h)!important;font-weight:500!important;font-size:20px!important;color:#fff !important;line-height:1.22;margin:0 0 10px}
.zmv8 .zmv8-ev p{font-size:16px;color:rgba(246,244,238,.65);line-height:1.5;margin:0 0 14px}
.zmv8 .zmv8-ev-loc{font-size:16px;color:rgba(246,244,238,.55);display:flex;align-items:center;gap:6px}
.zmv8 .zmv8-ev-loc svg{width:15px;height:15px;flex:0 0 auto}

/* ═════════ MOSAIC (categories) ═════════ */
.zmv8 .zmv8-mosaic{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}
@media(max-width:900px){.zmv8 .zmv8-mosaic{grid-template-columns:repeat(3,1fr)}}
@media(max-width:520px){.zmv8 .zmv8-mosaic{grid-template-columns:repeat(2,1fr)}}
.zmv8 .zmv8-cat{aspect-ratio:1;border-radius:var(--zmv8-r-lg);background:var(--zmv8-paper-2);border:1px solid var(--zmv8-line);display:flex;flex-direction:column;justify-content:space-between;padding:18px;transition:all .25s var(--zmv8-ease);position:relative;overflow:hidden;color:var(--zmv8-ink)}
.zmv8 .zmv8-cat:hover{border-color:var(--zmv8-acc);transform:translateY(-4px);box-shadow:var(--zmv8-shadow)}
.zmv8 .zmv8-cat-ic{width:36px;height:36px;color:var(--zmv8-acc)}
.zmv8 .zmv8-cat b{font-family:var(--zmv8-font-h)!important;font-weight:600!important;font-size:17px!important;line-height:1.15;display:block;color:var(--zmv8-ink)!important}
.zmv8 .zmv8-cat span{font-size:16px;color:var(--zmv8-ink-mute);margin-top:3px;display:block}
.zmv8 .zmv8-cat::after{content:"";position:absolute;bottom:0;left:0;width:0;height:3px;background:var(--zmv8-acc);transition:width .3s var(--zmv8-ease)}
.zmv8 .zmv8-cat:hover::after{width:100%}

/* ═════════ VIDEO GALLERY ═════════ */
.zmv8 .zmv8-vid-layout{display:grid;grid-template-columns:1.4fr 1fr;gap:24px;align-items:start}
@media(max-width:880px){.zmv8 .zmv8-vid-layout{grid-template-columns:1fr}}
.zmv8 .zmv8-vid-hero{position:relative;border-radius:var(--zmv8-r-lg);overflow:hidden;aspect-ratio:16/10;background:#0a2138;cursor:pointer;display:block}
.zmv8 .zmv8-vid-hero img{width:100%;height:100%;object-fit:cover;opacity:.92;transition:transform .9s var(--zmv8-ease)}
.zmv8 .zmv8-vid-hero:hover img{transform:scale(1.04)}
.zmv8 .zmv8-vid-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 40%,rgba(8,22,40,.82));pointer-events:none}
.zmv8 .zmv8-vid-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:72px;height:72px;border-radius:50%;background:rgba(255,255,255,.95);display:grid;place-items:center;z-index:3;transition:transform .25s var(--zmv8-ease),background .25s}
.zmv8 .zmv8-vid-hero:hover .zmv8-vid-play{transform:translate(-50%,-50%) scale(1.08);background:#fff}
.zmv8 .zmv8-vid-play svg{width:30px;height:30px;color:var(--zmv8-acc);margin-left:3px}
.zmv8 .zmv8-vid-info{position:absolute;left:22px;right:22px;bottom:22px;z-index:2;color:#fff}
.zmv8 .zmv8-vid-badge{display:inline-block;background:var(--zmv8-acc);color:#fff;font-size:16px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;padding:5px 11px;border-radius:var(--zmv8-r-pill);margin-bottom:10px}
.zmv8 .zmv8-vid-info h3{font-family:var(--zmv8-font-h)!important;font-weight:600!important;font-size:22px!important;line-height:1.2;color:#fff !important;margin:0}
.zmv8 .zmv8-vid-list{display:flex;flex-direction:column;gap:14px}
.zmv8 .zmv8-vid-row{display:grid;grid-template-columns:140px 1fr;gap:14px;align-items:start;background:var(--zmv8-paper-2);border:1px solid var(--zmv8-line);border-radius:var(--zmv8-r);padding:10px;cursor:pointer;transition:all .22s var(--zmv8-ease);color:var(--zmv8-ink)}
.zmv8 .zmv8-vid-row:hover{border-color:var(--zmv8-acc);transform:translateX(3px)}
.zmv8 .zmv8-vid-row-thumb{position:relative;aspect-ratio:16/10;border-radius:6px;overflow:hidden;background:#0a2138}
.zmv8 .zmv8-vid-row-thumb img{width:100%;height:100%;object-fit:cover}
.zmv8 .zmv8-vid-row-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.95);display:grid;place-items:center}
.zmv8 .zmv8-vid-row-play svg{width:14px;height:14px;color:var(--zmv8-acc);margin-left:2px}
.zmv8 .zmv8-vid-row-title{font-family:var(--zmv8-font-h);font-weight:600;font-size:16px;line-height:1.3;color:var(--zmv8-ink);margin:6px 0 0;transition:color .2s}
.zmv8 .zmv8-vid-row:hover .zmv8-vid-row-title{color:var(--zmv8-acc)}

/* ═════════ FEATURE QUOTE ═════════ */
.zmv8 .zmv8-feature{background:var(--zmv8-acc);color:#fff;border-radius:var(--zmv8-r-lg);overflow:hidden;display:grid;grid-template-columns:1.15fr 1fr}
@media(max-width:760px){.zmv8 .zmv8-feature{grid-template-columns:1fr}}
.zmv8 .zmv8-feature-txt{padding:48px 44px}
.zmv8 .zmv8-feature .zmv8-eyebrow{color:var(--zmv8-acc-pale)}
.zmv8 .zmv8-feature .zmv8-eyebrow::before{background:var(--zmv8-acc-pale)}
.zmv8 .zmv8-feature blockquote{font-family:var(--zmv8-font-h);font-weight:500;font-size:clamp(22px,2.6vw,32px);line-height:1.24;letter-spacing:-.01em;margin:18px 0 22px;color:#fff !important}
.zmv8 .zmv8-feature cite{font-style:normal;font-size:16px;color:rgba(255,255,255,.85)}
.zmv8 .zmv8-feature cite b{display:block;color:#fff;font-weight:600;font-size:18px;margin-bottom:3px}
.zmv8 .zmv8-feature-img{background:linear-gradient(135deg,#0c3157,#061d33);min-height:280px;position:relative;overflow:hidden}
.zmv8 .zmv8-feature-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.55}
.zmv8 .zmv8-feature-img::after{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(18,85,160,.35),rgba(10,56,112,.65))}

/* ═════════ STATEMENT ═════════ */
.zmv8 .zmv8-statement{text-align:center;padding:90px 0}
.zmv8 .zmv8-statement h2{font-family:var(--zmv8-font-h)!important;font-weight:400!important;font-size:clamp(28px,4.4vw,52px)!important;line-height:1.18;letter-spacing:-.02em;max-width:20ch;margin:18px auto 0;color:var(--zmv8-ink)!important}
.zmv8 .zmv8-statement h2 em{font-style:italic;color:var(--zmv8-acc)}

/* ═════════ FOOTER ═════════ */
.zmv8 .zmv8-footer{background:var(--zmv8-ink);color:rgba(246,244,238,.7);padding:56px 0 30px}
.zmv8 .zmv8-foot-grid{display:grid;grid-template-columns:1.6fr repeat(3,1fr);gap:40px;margin-bottom:40px}
@media(max-width:760px){.zmv8 .zmv8-foot-grid{grid-template-columns:1fr 1fr;gap:30px}}
@media(max-width:420px){.zmv8 .zmv8-foot-grid{grid-template-columns:1fr}}
.zmv8 .zmv8-foot-brand .zmv8-logo{color:#fff;margin-bottom:14px}
.zmv8 .zmv8-foot-brand p{font-size:16px;line-height:1.6;max-width:36ch;color:rgba(246,244,238,.7);margin:0}
.zmv8 .zmv8-foot-col h4{color:#fff !important;font-size:16px!important;font-weight:700!important;letter-spacing:.08em;text-transform:uppercase;margin:0 0 14px}
.zmv8 .zmv8-foot-col a{display:block;font-size:16px;padding:6px 0;transition:color .2s;color:rgba(246,244,238,.7)}
.zmv8 .zmv8-foot-col a:hover{color:var(--zmv8-acc-light)}
.zmv8 .zmv8-foot-bot{border-top:1px solid rgba(246,244,238,.12);padding-top:22px;display:flex;justify-content:space-between;font-size:16px;flex-wrap:wrap;gap:10px;color:rgba(246,244,238,.55)}

/* ═════════ Tame the existing info-strip + weather bar to v8 ═════════ */
body.zmv8-mode .zm-info-strip,
body.zmv8-mode .zm-weather-band{background:var(--zmv8-ink) !important;color:var(--zmv8-paper) !important;border:none !important}
body.zmv8-mode .zm-info-strip-inner{max-width:1240px;margin:0 auto;padding:7px 32px;display:flex;align-items:center;gap:18px;flex-wrap:wrap;min-height:44px}
@media(max-width:680px){body.zmv8-mode .zm-info-strip-inner{padding:7px 18px}}
body.zmv8-mode .zm-live-seg{display:inline-flex;align-items:center;gap:10px;color:#fff;font-weight:600;font-size:16px}
body.zmv8-mode .zm-live-label{color:#fff;font-weight:700;letter-spacing:.04em;text-transform:uppercase;font-size:16px}
body.zmv8-mode .zm-live-pulse-dot{background:var(--zmv8-signal) !important}
body.zmv8-mode .zm-live-pulse-ring{border-color:var(--zmv8-signal) !important}
body.zmv8-mode .zm-live-date{color:rgba(246,244,238,.75);font-size:16px}
body.zmv8-mode .zm-strip-sep{background:rgba(246,244,238,.22) !important}
body.zmv8-mode .zm-weather-band *{color:inherit;font-size:16px}
body.zmv8-mode .zm-wb-loc strong,
body.zmv8-mode .zm-wb-item strong{color:#fff !important;font-weight:700}
body.zmv8-mode .zm-wb-sub{color:rgba(246,244,238,.6) !important;font-size:16px !important}
body.zmv8-mode .zm-wb-loc svg,
body.zmv8-mode .zm-wb-wx svg,
body.zmv8-mode .zm-wb-item svg{color:var(--zmv8-acc-light) !important}
body.zmv8-mode .zm-wb-warn{background:var(--zmv8-warn-soft) !important;color:#7a4e09 !important;border-radius:980px;padding:5px 13px;font-weight:600;font-size:16px}
body.zmv8-mode .zm-wb-info{background:var(--zmv8-acc-soft) !important;color:var(--zmv8-acc-3) !important;border-radius:980px;padding:5px 13px;font-weight:600;font-size:16px}
body.zmv8-mode .zm-wb-good{background:var(--zmv8-ok-soft) !important;color:#125c38 !important;border-radius:980px;padding:5px 13px;font-weight:600;font-size:16px}
/* Hide the old theme header on v8 — replaced by zmv8-mast */
body.zmv8-mode .zm-hdr{display:none !important}

/* ═════════ Reveal on scroll ═════════ */
.zmv8 .zmv8-reveal{opacity:0;transform:translateY(22px);transition:opacity .7s var(--zmv8-ease),transform .7s var(--zmv8-ease)}
.zmv8 .zmv8-reveal.is-in{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){.zmv8 .zmv8-reveal{opacity:1;transform:none;transition:none}}

::selection{background:var(--zmv8-acc);color:#fff}

/* ════════════════════════════════════════════════════════════════════
   18. DEFENSIVE OVERRIDES — bulletproof against editorial.css blankets
   (which sets `html body h2 { color: #1F1A14 !important }` etc.)
   These rules use `html body.zmv8-mode .zmv8` for higher specificity.
   ════════════════════════════════════════════════════════════════════ */

/* Text on dark backgrounds (events, rail, footer, video hero, lead figure) */
html body.zmv8-mode .zmv8 .zmv8-events h1,
html body.zmv8-mode .zmv8 .zmv8-events h2,
html body.zmv8-mode .zmv8 .zmv8-events h3,
html body.zmv8-mode .zmv8 .zmv8-events h4,
html body.zmv8-mode .zmv8 .zmv8-rail h1,
html body.zmv8-mode .zmv8 .zmv8-rail h2,
html body.zmv8-mode .zmv8 .zmv8-rail h3,
html body.zmv8-mode .zmv8 .zmv8-feature h1,
html body.zmv8-mode .zmv8 .zmv8-feature h2,
html body.zmv8-mode .zmv8 .zmv8-feature h3,
html body.zmv8-mode .zmv8 .zmv8-feature blockquote,
html body.zmv8-mode .zmv8 .zmv8-footer h1,
html body.zmv8-mode .zmv8 .zmv8-footer h2,
html body.zmv8-mode .zmv8 .zmv8-footer h3,
html body.zmv8-mode .zmv8 .zmv8-footer h4,
html body.zmv8-mode .zmv8 .zmv8-vid-info h3,
html body.zmv8-mode .zmv8 .zmv8-lead-h h1,
html body.zmv8-mode .zmv8 .zmv8-doc-name b{color:#fff !important}

/* Light blue accent text on dark backgrounds (eyebrows, "Calendar complet", etc.) */
html body.zmv8-mode .zmv8 .zmv8-events .zmv8-eyebrow,
html body.zmv8-mode .zmv8 .zmv8-events .zmv8-more,
html body.zmv8-mode .zmv8 .zmv8-events .zmv8-more *,
html body.zmv8-mode .zmv8 .zmv8-rail-foot a,
html body.zmv8-mode .zmv8 .zmv8-doc-name span{color:#9cc2ec !important}

/* Eyebrow border-line color on dark sections */
html body.zmv8-mode .zmv8 .zmv8-events .zmv8-eyebrow::before{background:#9cc2ec !important}

/* Footer link & body text — readable on dark */
html body.zmv8-mode .zmv8 .zmv8-foot-brand p,
html body.zmv8-mode .zmv8 .zmv8-foot-col a,
html body.zmv8-mode .zmv8 .zmv8-foot-bot,
html body.zmv8-mode .zmv8 .zmv8-foot-bot span{color:rgba(246,244,238,.78) !important}
html body.zmv8-mode .zmv8 .zmv8-foot-col a:hover{color:#9cc2ec !important}
html body.zmv8-mode .zmv8 .zmv8-logo{color:#fff !important}

/* Events: body text inside cards */
html body.zmv8-mode .zmv8 .zmv8-ev p{color:rgba(246,244,238,.7) !important}
html body.zmv8-mode .zmv8 .zmv8-ev-loc{color:rgba(246,244,238,.58) !important}
html body.zmv8-mode .zmv8 .zmv8-ev-date,
html body.zmv8-mode .zmv8 .zmv8-ev-date *{color:#9cc2ec !important}

/* Light sections: keep ink dark on paper */
html body.zmv8-mode .zmv8 .zmv8-sec-head h2{color:#10243f !important}
html body.zmv8-mode .zmv8 .zmv8-statement h2{color:#10243f !important}
html body.zmv8-mode .zmv8 .zmv8-statement h2 em{color:#1255a0 !important;font-style:italic !important}
html body.zmv8-mode .zmv8 .zmv8-card-t,
html body.zmv8-mode .zmv8 .zmv8-card-t a{color:#10243f !important}
html body.zmv8-mode .zmv8 .zmv8-card:hover .zmv8-card-t,
html body.zmv8-mode .zmv8 .zmv8-card:hover .zmv8-card-t a{color:#1255a0 !important}
html body.zmv8-mode .zmv8 .zmv8-vid-row-title{color:#10243f !important}
html body.zmv8-mode .zmv8 .zmv8-vid-row:hover .zmv8-vid-row-title{color:#1255a0 !important}
html body.zmv8-mode .zmv8 .zmv8-cat b{color:#10243f !important}
html body.zmv8-mode .zmv8 .zmv8-doc-q{color:#33445a !important;font-style:italic !important}
html body.zmv8-mode .zmv8 .zmv8-trust-i b{color:#10243f !important}

/* Header mast text */
html body.zmv8-mode .zmv8 .zmv8-mast .zmv8-logo,
html body.zmv8-mode .zmv8 .zmv8-mast .zmv8-logo *{color:#10243f !important}
html body.zmv8-mode .zmv8 .zmv8-mast .zmv8-logo em{color:#1255a0 !important;font-style:normal !important}
html body.zmv8-mode .zmv8 .zmv8-nav a{color:#33445a !important}
html body.zmv8-mode .zmv8 .zmv8-nav a:hover,
html body.zmv8-mode .zmv8 .zmv8-nav a.is-active{color:#1255a0 !important}

/* Elite Medicale brand block */
html body.zmv8-mode .zmv8 .zmv8-elite-brand{display:flex;align-items:center;gap:18px;margin-bottom:8px}
html body.zmv8-mode .zmv8 .zmv8-elite-brand img{height:46px;width:auto;display:block;filter:brightness(1.05)}
@media(max-width:680px){html body.zmv8-mode .zmv8 .zmv8-elite-brand img{height:36px}}

/* ZiarMedical logo in header and footer */
html body.zmv8-mode .zmv8 .zmv8-logo-img{height:38px;width:auto;display:block}
html body.zmv8-mode .zmv8 .zmv8-foot-brand .zmv8-logo-img{height:42px;filter:brightness(0) invert(1)}

/* ════════════════════════════════════════════════════════════════════
   19. EVENTS CTA CARD (Elite Medicale full-calendar prompt)
   Used when fewer than 3 local events exist, so the grid stays balanced.
   ════════════════════════════════════════════════════════════════════ */
html body.zmv8-mode .zmv8 .zmv8-ev-cta{
  background:linear-gradient(135deg,rgba(24,96,181,.15),rgba(10,56,112,.4)) !important;
  border:1px dashed rgba(156,194,236,.4) !important;
  display:flex;align-items:center;justify-content:center;text-align:center;
}
html body.zmv8-mode .zmv8 .zmv8-ev-cta:hover{
  background:linear-gradient(135deg,rgba(24,96,181,.28),rgba(10,56,112,.55)) !important;
  border-color:#9cc2ec !important;
}
html body.zmv8-mode .zmv8 .zmv8-ev-cta-inner{padding:8px}
html body.zmv8-mode .zmv8 .zmv8-ev-cta svg{color:#9cc2ec !important;margin-bottom:14px}
html body.zmv8-mode .zmv8 .zmv8-ev-cta h3{
  font-family:'Lora',Georgia,serif !important;font-weight:600 !important;
  font-size:20px !important;color:#fff !important;line-height:1.22;margin:0 0 10px !important;
}
html body.zmv8-mode .zmv8 .zmv8-ev-cta p{
  font-size:16px !important;color:rgba(246,244,238,.7) !important;line-height:1.5;margin:0 0 16px !important;
}
html body.zmv8-mode .zmv8 .zmv8-ev-cta-link{
  display:inline-flex;align-items:center;gap:7px;
  color:#9cc2ec !important;font-weight:600 !important;font-size:16px !important;
  border-bottom:1px solid rgba(156,194,236,.35);padding-bottom:3px;
}
html body.zmv8-mode .zmv8 .zmv8-ev-cta-link svg{margin:0 !important;width:16px;height:16px}

/* ════════════════════════════════════════════════════════════════════
   20. LOGO IMAGES — guarantee proper sizing against GeneratePress
   ════════════════════════════════════════════════════════════════════ */
html body.zmv8-mode .zmv8 .zmv8-logo-img{
  height:42px !important;width:auto !important;display:block;max-width:none;
}
@media(max-width:680px){
  html body.zmv8-mode .zmv8 .zmv8-logo-img{height:36px !important}
}
html body.zmv8-mode .zmv8 .zmv8-foot-brand .zmv8-logo-img{
  height:48px !important;filter:brightness(0) invert(1);
}
html body.zmv8-mode .zmv8 .zmv8-elite-brand{
  display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-bottom:10px;
}
html body.zmv8-mode .zmv8 .zmv8-elite-brand img{
  height:48px !important;width:auto !important;display:block;max-width:none;
  filter:brightness(1.1);
}
@media(max-width:680px){
  html body.zmv8-mode .zmv8 .zmv8-elite-brand img{height:40px !important}
}

/* ════════════════════════════════════════════════════════════════════
   21. EVENTS — "Vezi evenimentele precedente" secondary button
   ════════════════════════════════════════════════════════════════════ */
html body.zmv8-mode .zmv8 .zmv8-ev-past{
  margin-top:28px;text-align:center;
}
html body.zmv8-mode .zmv8 .zmv8-ev-past-btn{
  display:inline-flex;align-items:center;gap:9px;
  padding:13px 26px;
  border:1px solid rgba(156,194,236,.45) !important;
  border-radius:980px;
  color:#9cc2ec !important;
  font-family:'DM Sans',sans-serif !important;
  font-weight:600 !important;
  font-size:16px !important;
  text-decoration:none !important;
  transition:all .22s cubic-bezier(.22,.61,.36,1);
  background:transparent !important;
}
html body.zmv8-mode .zmv8 .zmv8-ev-past-btn:hover{
  background:rgba(24,96,181,.18) !important;
  border-color:#9cc2ec !important;
  color:#bcd6f3 !important;
  transform:translateY(-1px);
}
html body.zmv8-mode .zmv8 .zmv8-ev-past-btn svg{
  width:18px;height:18px;color:inherit;flex:0 0 auto;
}

/* ════════════════════════════════════════════════════════════════════
   22. EVENTS v2 — duo layout: Viitoare + Trecute, big Elite logo
   Replaces the old 3-card grid + past button.
   ════════════════════════════════════════════════════════════════════ */

/* Section header — big Elite logo + intro text */
html body.zmv8-mode .zmv8 .zmv8-events-head{
  margin-bottom:36px;
  padding-bottom:26px;
  border-bottom:1px solid rgba(246,244,238,.18);
}
html body.zmv8-mode .zmv8 .zmv8-elite-brand-big{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:32px;
  align-items:center;
}
@media(max-width:680px){
  html body.zmv8-mode .zmv8 .zmv8-elite-brand-big{grid-template-columns:1fr;gap:18px;text-align:center}
}
html body.zmv8-mode .zmv8 .zmv8-elite-logo-big{
  height:90px !important;
  width:auto !important;
  display:block;
  max-width:none;
  filter:brightness(1.15);
}
@media(max-width:680px){
  html body.zmv8-mode .zmv8 .zmv8-elite-logo-big{height:64px !important;margin:0 auto}
}
html body.zmv8-mode .zmv8 .zmv8-elite-brand-meta h2{
  font-family:'Lora',Georgia,serif !important;
  font-weight:600 !important;
  font-size:clamp(26px,3vw,36px) !important;
  color:#fff !important;
  margin:6px 0 8px !important;
  letter-spacing:-.015em;
  line-height:1.1;
}
html body.zmv8-mode .zmv8 .zmv8-elite-brand-meta p{
  font-size:16px !important;
  color:rgba(246,244,238,.72) !important;
  line-height:1.55;
  max-width:60ch;
  margin:0;
}

/* Duo cards layout */
html body.zmv8-mode .zmv8 .zmv8-ev-duo{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
}
@media(max-width:760px){
  html body.zmv8-mode .zmv8 .zmv8-ev-duo{grid-template-columns:1fr}
}

/* Single big card */
html body.zmv8-mode .zmv8 .zmv8-ev-big{
  display:flex;
  flex-direction:column;
  padding:30px 28px 28px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  transition:all .25s cubic-bezier(.22,.61,.36,1);
  text-decoration:none !important;
  position:relative;
  overflow:hidden;
  min-height:280px;
}
html body.zmv8-mode .zmv8 .zmv8-ev-big::before{
  content:"";
  position:absolute;
  top:-60px;right:-60px;
  width:200px;height:200px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(24,96,181,.25),transparent 70%);
  pointer-events:none;
}
html body.zmv8-mode .zmv8 .zmv8-ev-big--upcoming{
  background:linear-gradient(135deg,rgba(24,96,181,.18),rgba(10,56,112,.35)) !important;
  border-color:rgba(156,194,236,.3) !important;
}
html body.zmv8-mode .zmv8 .zmv8-ev-big--past{
  background:rgba(255,255,255,.045) !important;
}
html body.zmv8-mode .zmv8 .zmv8-ev-big:hover{
  transform:translateY(-3px);
  border-color:#9cc2ec !important;
  background:linear-gradient(135deg,rgba(24,96,181,.3),rgba(10,56,112,.5)) !important;
}

html body.zmv8-mode .zmv8 .zmv8-ev-big-head{
  display:flex;align-items:center;gap:13px;
  margin-bottom:18px;position:relative;z-index:1;
}
html body.zmv8-mode .zmv8 .zmv8-ev-big-icon{
  width:48px;height:48px;
  border-radius:12px;
  background:rgba(24,96,181,.3);
  display:grid;place-items:center;
  color:#9cc2ec;
  flex:0 0 auto;
}
html body.zmv8-mode .zmv8 .zmv8-ev-big-icon svg{width:24px;height:24px}
html body.zmv8-mode .zmv8 .zmv8-ev-big-kicker{
  font-size:16px !important;
  font-weight:700 !important;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#9cc2ec !important;
}
html body.zmv8-mode .zmv8 .zmv8-ev-big-title{
  font-family:'Lora',Georgia,serif !important;
  font-weight:600 !important;
  font-size:26px !important;
  color:#fff !important;
  line-height:1.18;
  margin:0 0 14px !important;
  position:relative;z-index:1;
}
html body.zmv8-mode .zmv8 .zmv8-ev-big-desc{
  font-size:16px !important;
  color:rgba(246,244,238,.72) !important;
  line-height:1.55;
  margin:0 0 22px !important;
  position:relative;z-index:1;
  flex:1;
}

/* Next event block inside the upcoming card */
html body.zmv8-mode .zmv8 .zmv8-ev-big-next{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:16px;
  align-items:center;
  padding:16px 18px;
  background:rgba(0,0,0,.22);
  border-radius:10px;
  border:1px solid rgba(156,194,236,.18);
  margin:0 0 22px;
  position:relative;z-index:1;
  flex:1;
}
html body.zmv8-mode .zmv8 .zmv8-ev-big-next-date{
  display:flex;flex-direction:column;align-items:center;
  padding:8px 14px;
  border-radius:8px;
  background:rgba(156,194,236,.12);
  min-width:62px;
}
html body.zmv8-mode .zmv8 .zmv8-ev-big-next-date .zmv8-d{
  font-family:'Lora',Georgia,serif;
  font-size:30px;font-weight:700;
  color:#9cc2ec !important;
  line-height:1;
}
html body.zmv8-mode .zmv8 .zmv8-ev-big-next-date .zmv8-m{
  font-size:16px;font-weight:700;
  letter-spacing:.08em;text-transform:uppercase;
  color:#9cc2ec !important;
  margin-top:2px;
}
html body.zmv8-mode .zmv8 .zmv8-ev-big-next-meta{
  min-width:0;
}
html body.zmv8-mode .zmv8 .zmv8-ev-big-next-label{
  display:block;
  font-size:16px;
  color:rgba(246,244,238,.55);
  margin-bottom:3px;
  letter-spacing:.04em;
}
html body.zmv8-mode .zmv8 .zmv8-ev-big-next-meta strong{
  display:block;
  font-family:'Lora',Georgia,serif;
  font-weight:600;
  font-size:18px;
  color:#fff !important;
  line-height:1.25;
  margin-bottom:5px;
}
html body.zmv8-mode .zmv8 .zmv8-ev-big-next-loc{
  display:inline-flex;align-items:center;gap:6px;
  font-size:16px;
  color:rgba(246,244,238,.6) !important;
}
html body.zmv8-mode .zmv8 .zmv8-ev-big-next-loc svg{width:14px;height:14px;flex:0 0 auto}

/* CTA inside each big card */
html body.zmv8-mode .zmv8 .zmv8-ev-big-cta{
  display:inline-flex;align-items:center;gap:8px;
  font-size:16px !important;
  font-weight:600 !important;
  color:#9cc2ec !important;
  padding-bottom:3px;
  border-bottom:1px solid rgba(156,194,236,.4);
  align-self:flex-start;
  position:relative;z-index:1;
  transition:color .2s, border-color .2s, gap .2s;
}
html body.zmv8-mode .zmv8 .zmv8-ev-big:hover .zmv8-ev-big-cta{
  color:#bcd6f3 !important;
  border-color:#bcd6f3 !important;
  gap:11px;
}
html body.zmv8-mode .zmv8 .zmv8-ev-big-cta svg{width:16px;height:16px;flex:0 0 auto}

/* ════════════════════════════════════════════════════════════════════
   23. GLOBAL POLISH — applies to single, category, archive, calculator,
   search, 404 — anywhere v8 header/footer is rendered.
   ════════════════════════════════════════════════════════════════════ */

/* Mobile menu drawer */
html body.zmv8-mode .zmv8-mob-scrim{
  position:fixed;inset:0;
  background:rgba(16,36,63,.55);
  opacity:0;pointer-events:none;
  z-index:90;
  transition:opacity .3s ease;
}
html body.zmv8-mode.zmv8-mob-open .zmv8-mob-scrim{
  opacity:1;pointer-events:auto;
}
html body.zmv8-mode .zmv8-mob{
  position:fixed;top:0;right:0;bottom:0;
  width:min(330px,86vw);
  background:#FCFBF7;
  transform:translateX(100%);
  transition:transform .35s cubic-bezier(.22,.61,.36,1);
  z-index:100;
  padding:20px 24px;
  display:flex;flex-direction:column;
  box-shadow:-10px 0 40px -10px rgba(16,36,63,.25);
}
html body.zmv8-mode.zmv8-mob-open .zmv8-mob{transform:translateX(0)}
html body.zmv8-mode .zmv8-mob-hd{
  display:flex;align-items:center;justify-content:space-between;
  padding-bottom:14px;margin-bottom:8px;
  border-bottom:1px solid #E3DFD4;
}
html body.zmv8-mode .zmv8-mob a{
  display:block;
  padding:13px 12px;
  border-radius:8px;
  font-size:16px !important;
  font-weight:600 !important;
  color:#33445a !important;
  text-decoration:none !important;
  transition:background .15s, color .15s;
}
html body.zmv8-mode .zmv8-mob a:hover,
html body.zmv8-mode .zmv8-mob a:focus-visible{
  background:#eef3fb;
  color:#1255a0 !important;
  outline:none;
}

/* Search & utility icon buttons — never light-on-light */
html body.zmv8-mode .zmv8 .zmv8-icbtn{
  background:#FCFBF7 !important;
  color:#33445a !important;
  border:1px solid #D0CABB !important;
}
html body.zmv8-mode .zmv8 .zmv8-icbtn:hover,
html body.zmv8-mode .zmv8 .zmv8-icbtn:focus-visible{
  background:#eef3fb !important;
  color:#1255a0 !important;
  border-color:#1255a0 !important;
  outline:none;
  transform:translateY(-1px);
}

/* Responsive header — hide nav on tablet/mobile, show burger */
@media(max-width:920px){
  html body.zmv8-mode .zmv8 .zmv8-nav{display:none !important}
  html body.zmv8-mode .zmv8 .zmv8-burger{display:grid !important}
}
@media(min-width:921px){
  html body.zmv8-mode .zmv8 .zmv8-burger{display:none !important}
}
@media(max-width:600px){
  html body.zmv8-mode .zmv8 .zmv8-mast-inner{min-height:64px}
  html body.zmv8-mode .zmv8 .zmv8-logo-img{height:36px !important}
  html body.zmv8-mode .zmv8 .zmv8-icbtn{width:38px;height:38px}
  html body.zmv8-mode .zmv8 .zmv8-icbtn svg{width:18px;height:18px}
  html body.zmv8-mode .zmv8 .zmv8-wrap{padding:0 16px}
}

/* Inner pages — page chrome (breadcrumb + main content) inherits v8 paper */
html body.zmv8-mode{background:#F5F3EC !important}
html body.zmv8-mode #main-content{background:transparent}

/* Breadcrumb — fix legacy class to v8 typography */
html body.zmv8-mode .zm-breadcrumb,
html body.zmv8-mode .zm-bc{
  background:transparent !important;
  font-size:16px !important;
  color:#6c7787 !important;
  padding:14px 0 6px;
}
html body.zmv8-mode .zm-breadcrumb a,
html body.zmv8-mode .zm-bc a{color:#1255a0 !important;font-weight:500}
html body.zmv8-mode .zm-breadcrumb a:hover,
html body.zmv8-mode .zm-bc a:hover{text-decoration:underline}

/* ── ARTICLE BODY (single.php) global readability guardrails ── */
/* Article H1 — the post title must remain readable on paper */
html body.zmv8-mode .zm-s-title,
html body.zmv8-mode .zm-s-h1,
html body.zmv8-mode main#main-content h1{
  color:#10243f !important;
  font-family:'Lora',Georgia,serif !important;
}
/* Body paragraphs on paper background should always be dark slate */
html body.zmv8-mode .zm-article-body,
html body.zmv8-mode .zm-article-body p,
html body.zmv8-mode .zm-s-content p,
html body.zmv8-mode main#main-content > article p,
html body.zmv8-mode main#main-content > .zm-s-content p{
  color:#33445a !important;
  font-size:18px !important;
  line-height:1.7 !important;
}
html body.zmv8-mode .zm-article-body a,
html body.zmv8-mode .zm-s-content a{color:#1255a0 !important}
html body.zmv8-mode .zm-article-body a:hover,
html body.zmv8-mode .zm-s-content a:hover{color:#0a3870 !important;text-decoration:underline}

/* ── CALCULATOR PAGES — buttons & tiles must never be dark-on-dark ── */
html body.zmv8-mode .zm-cal-btn,
html body.zmv8-mode .zm-calc-btn,
html body.zmv8-mode button.zm-cal-submit{
  background:#1255a0 !important;
  color:#fff !important;
  border:1px solid #1255a0 !important;
  font-weight:600 !important;
  font-size:16px !important;
  padding:12px 26px;
  border-radius:8px;
}
html body.zmv8-mode .zm-cal-btn:hover,
html body.zmv8-mode .zm-calc-btn:hover,
html body.zmv8-mode button.zm-cal-submit:hover{
  background:#0a3870 !important;
  border-color:#0a3870 !important;
}
html body.zmv8-mode .zm-cal-btn-secondary,
html body.zmv8-mode .zm-cal-reset{
  background:transparent !important;
  color:#1255a0 !important;
  border:1px solid #1255a0 !important;
}
html body.zmv8-mode .zm-cal-btn-secondary:hover,
html body.zmv8-mode .zm-cal-reset:hover{
  background:#eef3fb !important;
}

/* ── Forms / inputs — readable everywhere ── */
html body.zmv8-mode input[type="text"],
html body.zmv8-mode input[type="email"],
html body.zmv8-mode input[type="search"],
html body.zmv8-mode input[type="number"],
html body.zmv8-mode input[type="tel"],
html body.zmv8-mode select,
html body.zmv8-mode textarea{
  background:#FCFBF7 !important;
  color:#10243f !important;
  border:1px solid #D0CABB !important;
  font-size:16px !important;
  padding:10px 14px;
  border-radius:8px;
  font-family:'DM Sans',sans-serif !important;
}
html body.zmv8-mode input:focus,
html body.zmv8-mode select:focus,
html body.zmv8-mode textarea:focus{
  outline:none !important;
  border-color:#1255a0 !important;
  box-shadow:0 0 0 3px rgba(18,85,160,.18) !important;
}
html body.zmv8-mode label{color:#33445a !important;font-weight:500 !important;font-size:16px !important}
html body.zmv8-mode ::placeholder{color:#6c7787 !important;opacity:1}

/* ── Generic body text on calculator/category/search pages ── */
html body.zmv8-mode .zm-cal-page p,
html body.zmv8-mode .zm-cal-intro,
html body.zmv8-mode .zm-cal-help,
html body.zmv8-mode .zm-cal-note{color:#33445a !important;font-size:16px !important;line-height:1.6}

/* Tags / pills on dark sections of calculators (ESC labels) — ensure no
   white-on-white. Force a safe palette if the legacy CSS has weakened. */
html body.zmv8-mode .zm-cal-tag,
html body.zmv8-mode .zm-tag{
  background:#dbe7f6 !important;
  color:#0a3870 !important;
  font-size:16px !important;
  font-weight:600 !important;
  padding:4px 10px;
  border-radius:980px;
}

/* Category archive headers — make legacy archive titles readable */
html body.zmv8-mode .zm-arc-hero h1,
html body.zmv8-mode .zm-cat-hero h1,
html body.zmv8-mode .archive-title,
html body.zmv8-mode .page-title{
  color:#10243f !important;
  font-family:'Lora',Georgia,serif !important;
  font-size:clamp(28px,4vw,42px) !important;
}

/* 404 / Search empty states */
html body.zmv8-mode .error-404,
html body.zmv8-mode .no-results,
html body.zmv8-mode .zm-404,
html body.zmv8-mode .zm-search-empty{
  text-align:center;
  padding:80px 24px 100px;
  color:#33445a !important;
  font-size:18px !important;
}
html body.zmv8-mode .error-404 h1,
html body.zmv8-mode .zm-404 h1,
html body.zmv8-mode .zm-search-empty h1{
  font-family:'Lora',Georgia,serif !important;
  font-size:clamp(32px,5vw,56px) !important;
  color:#10243f !important;
  margin-bottom:14px;
}

/* Pagination — never dark text on dark or low contrast */
html body.zmv8-mode .pagination,
html body.zmv8-mode .nav-links{margin:30px 0;font-size:16px;display:flex;gap:6px;flex-wrap:wrap;justify-content:center}
html body.zmv8-mode .pagination a,
html body.zmv8-mode .pagination span,
html body.zmv8-mode .nav-links a,
html body.zmv8-mode .nav-links span{
  display:inline-grid;place-items:center;
  min-width:40px;height:40px;padding:0 12px;
  background:#FCFBF7 !important;color:#33445a !important;
  border:1px solid #D0CABB !important;border-radius:8px;font-weight:600;
  text-decoration:none !important;
}
html body.zmv8-mode .pagination a:hover,
html body.zmv8-mode .pagination .current,
html body.zmv8-mode .nav-links a:hover,
html body.zmv8-mode .nav-links .current{
  background:#1255a0 !important;color:#fff !important;border-color:#1255a0 !important;
}

/* ── GLOBAL: generic <button> safety guardrail ── */
html body.zmv8-mode button:not(.zmv8-icbtn):not(.zmv8-burger):not([class*="zm-cal-"]):not([class*="zm-calc-"]):not([data-zm-btt]):not([class*="zmv8-"]):not(.gp-icon):not(.menu-toggle){
  font-family:'DM Sans',sans-serif;
  font-size:16px;
  font-weight:600;
}

/* ── GLOBAL: any text inside dark sections must be light. Defensive,
   catches any element placed inside a v8 dark section by future code. ── */
html body.zmv8-mode .zmv8-events *:not(.zmv8-d):not(.zmv8-m):not(.zmv8-ev-big-kicker):not(.zmv8-ev-big-cta):not(.zmv8-ev-big-next-loc):not(svg):not(path):not(circle):not(rect):not(line):not(polyline):not(ellipse){
  /* let direct rules above win; this is purely a safety net for stray text */
}

/* Back-to-top button styled to v8 */
html body.zmv8-mode .zm-btt{
  background:#1255a0 !important;
  color:#fff !important;
  border:none !important;
  box-shadow:0 6px 20px -6px rgba(18,85,160,.5) !important;
}
html body.zmv8-mode .zm-btt:hover{background:#0a3870 !important;transform:translateY(-2px)}

/* Toast (system feedback) */
html body.zmv8-mode .zm-toast{
  background:#10243f !important;
  color:#fff !important;
  font-size:16px !important;
  font-weight:500 !important;
  padding:14px 22px;border-radius:10px;
  box-shadow:0 10px 30px -10px rgba(16,36,63,.4) !important;
}

/* Lock weird body line-height to a safe value globally */
html body.zmv8-mode,
html body.zmv8-mode .zmv8{line-height:1.6}

/* Selection colour */
html body.zmv8-mode ::selection{background:#1255a0 !important;color:#fff !important}

/* ════════════════════════════════════════════════════════════════════
   24. RESPONSIVE FINAL PASS — small phones, tablets, large desktops
   ════════════════════════════════════════════════════════════════════ */

/* Phones (≤480px) */
@media(max-width:480px){
  html body.zmv8-mode .zmv8 .zmv8-wrap{padding:0 14px}
  html body.zmv8-mode .zmv8 .zmv8-sec{padding:42px 0}
  html body.zmv8-mode .zmv8 .zmv8-sec-head{flex-direction:column;align-items:flex-start;gap:10px}
  html body.zmv8-mode .zmv8 .zmv8-sec-head h2{font-size:24px !important}
  html body.zmv8-mode .zmv8 .zmv8-hero{padding:28px 0 36px}
  html body.zmv8-mode .zmv8 .zmv8-lead-h h1{font-size:22px !important;line-height:1.2 !important}
  html body.zmv8-mode .zmv8 .zmv8-lead-tag{font-size:16px;padding:5px 10px}
  html body.zmv8-mode .zmv8 .zmv8-lead-cat{font-size:16px;bottom:80px}
  html body.zmv8-mode .zmv8 .zmv8-lead-excerpt{font-size:17px}
  html body.zmv8-mode .zmv8 .zmv8-rail{padding:22px 20px}
  html body.zmv8-mode .zmv8 .zmv8-rail-h h2{font-size:20px !important}
  html body.zmv8-mode .zmv8 .zmv8-ev-big{padding:24px 22px}
  html body.zmv8-mode .zmv8 .zmv8-ev-big-title{font-size:22px !important}
  html body.zmv8-mode .zmv8 .zmv8-ev-big-next{grid-template-columns:1fr;gap:10px;text-align:left;padding:14px 16px}
  html body.zmv8-mode .zmv8 .zmv8-ev-big-next-date{flex-direction:row;justify-content:center;width:max-content}
  html body.zmv8-mode .zmv8 .zmv8-statement{padding:60px 0}
  html body.zmv8-mode .zmv8 .zmv8-feature-txt{padding:34px 24px}
  html body.zmv8-mode .zmv8 .zmv8-feature blockquote{font-size:22px !important}
  html body.zmv8-mode .zmv8 .zmv8-cat{padding:14px;aspect-ratio:auto;min-height:120px}
  html body.zmv8-mode .zmv8 .zmv8-elite-brand-meta h2{font-size:22px !important}
  html body.zmv8-mode .zmv8 .zmv8-foot-grid{grid-template-columns:1fr;gap:24px}
  html body.zmv8-mode .zmv8 .zmv8-foot-bot{flex-direction:column;text-align:center;gap:6px}
}

/* Very small phones (≤360px) */
@media(max-width:360px){
  html body.zmv8-mode .zmv8 .zmv8-wrap{padding:0 12px}
  html body.zmv8-mode .zmv8 .zmv8-logo-img{height:32px !important}
  html body.zmv8-mode .zmv8 .zmv8-elite-logo-big{height:54px !important}
}

/* Tablet (481-768px) */
@media(min-width:481px) and (max-width:768px){
  html body.zmv8-mode .zmv8 .zmv8-docs{grid-template-columns:repeat(2,1fr) !important}
  html body.zmv8-mode .zmv8 .zmv8-mag{grid-template-columns:repeat(2,1fr) !important}
  html body.zmv8-mode .zmv8 .zmv8-foot-grid{grid-template-columns:1fr 1fr;gap:28px}
}

/* Large desktops (≥1440px) — give content a touch more breathing room */
@media(min-width:1440px){
  html body.zmv8-mode .zmv8 .zmv8-wrap{max-width:1280px}
}

/* ════════════════════════════════════════════════════════════════════
   25. SKIP LINK & ACCESSIBILITY
   ════════════════════════════════════════════════════════════════════ */
html body.zmv8-mode .zm-skip-link{
  position:absolute;left:-9999px;top:auto;
  background:#1255a0;color:#fff;
  padding:10px 18px;border-radius:8px;
  font-size:16px;font-weight:600;
  z-index:10000;
}
html body.zmv8-mode .zm-skip-link:focus{
  left:12px;top:12px;outline:3px solid #fff;outline-offset:2px;
}

/* Focus ring on links/buttons */
html body.zmv8-mode a:focus-visible,
html body.zmv8-mode button:focus-visible{
  outline:2px solid #1255a0 !important;outline-offset:3px !important;border-radius:4px;
}

/* Hide legacy mobile menu + legacy header in v8 mode (replaced by zmv8-mast + zmv8-mob) */
html body.zmv8-mode .zm-hdr,
html body.zmv8-mode .zm-mobile-menu,
html body.zmv8-mode .zm-mobile-overlay{display:none !important}

/* Ensure legacy back-to-top stays only in v8 mode polished */
html body.zmv8-mode .zm-btt[hidden]{display:none !important}

/* ════════════════════════════════════════════════════════════════════
   26. MOBILE FIXES — weather bar, hamburger, trust icons
   ════════════════════════════════════════════════════════════════════ */

/* ── HAMBURGER & ICON BUTTONS: force visible stroke on the SVG ── */
/* The SVG paths use stroke="currentColor"; we must lock the color so
   no legacy rule weakens it on mobile. */
html body.zmv8-mode .zmv8 .zmv8-icbtn{
  color:#10243f !important;
}
html body.zmv8-mode .zmv8 .zmv8-icbtn svg,
html body.zmv8-mode .zmv8 .zmv8-icbtn svg.zmv8-ic{
  stroke:#10243f !important;
  color:#10243f !important;
  opacity:1 !important;
}
html body.zmv8-mode .zmv8 .zmv8-icbtn svg path,
html body.zmv8-mode .zmv8 .zmv8-icbtn svg circle,
html body.zmv8-mode .zmv8 .zmv8-icbtn svg line,
html body.zmv8-mode .zmv8 .zmv8-icbtn svg rect{
  stroke:#10243f !important;
}
html body.zmv8-mode .zmv8 .zmv8-icbtn:hover{
  color:#1255a0 !important;
}
html body.zmv8-mode .zmv8 .zmv8-icbtn:hover svg{
  stroke:#1255a0 !important;
}
/* Burger needs thicker, more visible strokes on mobile */
@media(max-width:920px){
  html body.zmv8-mode .zmv8 .zmv8-burger{
    border:1.5px solid #10243f !important;
    background:#FCFBF7 !important;
  }
  html body.zmv8-mode .zmv8 .zmv8-burger svg{
    width:22px !important;
    height:22px !important;
    stroke-width:2.4 !important;
  }
  html body.zmv8-mode .zmv8 .zmv8-burger svg path{
    stroke-width:2.4 !important;
  }
}

/* ── WEATHER BAR MOBILE LAYOUT ── */
/* On mobile, the legacy CSS hides items 3+, killing °C. We re-allow
   temperature on mobile and stack the bar cleanly. */
@media(max-width:760px){
  /* Re-show the temperature item (it's the first .zm-wb-item with the thermometer) */
  html body.zmv8-mode .zm-wb-item:nth-child(n+3){display:inline-flex !important}
  /* But hide secondary metrics (pressure, humidity, wind) on small screens */
  html body.zmv8-mode .zm-wb-item:nth-child(n+5){display:none !important}
  html body.zmv8-mode .zm-wb-wind{display:none !important}
}
@media(max-width:600px){
  /* Tight mobile: keep loc + temperature + alert; drop wx description */
  html body.zmv8-mode .zm-wb-wx-desc{display:none !important}
  html body.zmv8-mode .zm-wb-sub{display:none !important}
  html body.zmv8-mode .zm-info-strip{padding:0 !important}
  html body.zmv8-mode .zm-info-strip-inner{
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:6px !important;
    padding:8px 14px !important;
    min-height:auto !important;
  }
  html body.zmv8-mode .zm-live-seg{
    justify-content:flex-start !important;
    font-size:16px !important;
  }
  html body.zmv8-mode .zm-weather-band{
    margin-top:4px !important;
    background:transparent !important;
  }
  html body.zmv8-mode .zm-wb-inner{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:8px 14px !important;
    align-items:center !important;
  }
  html body.zmv8-mode .zm-wb-left{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:8px 14px !important;
    align-items:center !important;
    flex:1 1 100% !important;
  }
  html body.zmv8-mode .zm-wb-loc strong{font-size:16px !important}
  html body.zmv8-mode .zm-wb-item strong{font-size:16px !important;font-weight:700 !important}
  html body.zmv8-mode .zm-wb-item{font-size:16px !important;gap:6px !important}
  html body.zmv8-mode .zm-wb-sep{display:none !important}
  html body.zmv8-mode .zm-wb-right{
    flex:1 1 100% !important;
    margin-top:2px !important;
  }
  html body.zmv8-mode .zm-wb-warn,
  html body.zmv8-mode .zm-wb-info,
  html body.zmv8-mode .zm-wb-good{
    font-size:16px !important;
    width:100% !important;
    justify-content:center !important;
  }
}
/* Make sure the temperature item icon stays visible & legible */
html body.zmv8-mode .zm-wb-item svg{
  width:16px !important;
  height:16px !important;
  flex:0 0 auto;
}

/* ── TRUST STRIP MOBILE: icons ABOVE text, centered ── */
@media(max-width:760px){
  html body.zmv8-mode .zmv8 .zmv8-trust-i{
    flex-direction:column !important;
    align-items:center !important;
    text-align:center !important;
    gap:10px !important;
    padding:22px 16px !important;
  }
  html body.zmv8-mode .zmv8 .zmv8-trust-ic{
    width:38px !important;
    height:38px !important;
    margin:0 auto !important;
  }
  html body.zmv8-mode .zmv8 .zmv8-trust-i b{
    text-align:center !important;
  }
  html body.zmv8-mode .zmv8 .zmv8-trust-i span{
    text-align:center !important;
  }
}

/* ════════════════════════════════════════════════════════════════════
   27. CRITICAL FIXES — header alert overflow, hero title contrast,
        footer wrapping (now uses .zmv8 wrapper div correctly).
   ════════════════════════════════════════════════════════════════════ */

/* ─── INFO-STRIP: prevent alert clipping; let multi-alert wrap ─── */
html body.zmv8-mode .zm-info-strip{
  overflow:visible !important;
}
html body.zmv8-mode .zm-info-strip-inner{
  max-width:1240px;
  margin:0 auto;
  padding:8px 32px !important;
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap !important;
  min-height:auto !important;
}
@media(max-width:680px){
  html body.zmv8-mode .zm-info-strip-inner{padding:8px 18px !important}
}
/* Right side (weather + alerts) wraps cleanly */
html body.zmv8-mode .zm-weather-band{
  margin-left:auto !important;
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  flex-wrap:wrap !important;
  max-width:100% !important;
}
html body.zmv8-mode .zm-wb-inner{
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:center !important;
  gap:10px 14px !important;
  max-width:100% !important;
}
html body.zmv8-mode .zm-wb-right{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:8px !important;
  max-width:100% !important;
}
/* Alert pills (warn/info/good) — let them shrink instead of overflowing */
html body.zmv8-mode .zm-wb-warn,
html body.zmv8-mode .zm-wb-info,
html body.zmv8-mode .zm-wb-good{
  white-space:normal !important;
  flex:0 1 auto !important;
  max-width:100%;
  word-wrap:break-word;
  overflow-wrap:anywhere;
  line-height:1.35 !important;
  padding:5px 14px !important;
}
/* Desktop: limit each alert pill width so it doesn't bleed across the page */
@media(min-width:761px){
  html body.zmv8-mode .zm-wb-warn,
  html body.zmv8-mode .zm-wb-info,
  html body.zmv8-mode .zm-wb-good{
    max-width:380px !important;
  }
}

/* ─── HERO TITLE CONTRAST: stronger gradient + text shadow ─── */
html body.zmv8-mode .zmv8 .zmv8-lead-fig::after{
  background:linear-gradient(180deg,
    rgba(8,22,40,0) 0%,
    rgba(8,22,40,.35) 35%,
    rgba(8,22,40,.85) 70%,
    rgba(8,22,40,.95) 100%
  ) !important;
}
html body.zmv8-mode .zmv8 .zmv8-lead-h{
  z-index:3 !important;
}
html body.zmv8-mode .zmv8 .zmv8-lead-h h1{
  color:#ffffff !important;
  text-shadow:
    0 2px 8px rgba(0,0,0,.55),
    0 1px 2px rgba(0,0,0,.7) !important;
}
html body.zmv8-mode .zmv8 .zmv8-lead-cat{
  text-shadow:0 1px 4px rgba(0,0,0,.6) !important;
  z-index:3 !important;
}

/* ─── FOOTER: ensure full styling applies via either selector pattern ─── */
/* Belt-and-suspenders: cover both `.zmv8 .zmv8-footer` (nested) and 
   `.zmv8-footer` standalone, in case wrapper div is missing somewhere. */
html body.zmv8-mode .zmv8-footer{
  background:#10243f !important;
  color:rgba(246,244,238,.7) !important;
  padding:56px 0 30px !important;
}
html body.zmv8-mode .zmv8-footer .zmv8-foot-grid{
  display:grid !important;
  grid-template-columns:1.6fr repeat(3,1fr) !important;
  gap:40px !important;
  margin-bottom:40px !important;
}
@media(max-width:760px){
  html body.zmv8-mode .zmv8-footer .zmv8-foot-grid{
    grid-template-columns:1fr 1fr !important;
    gap:30px !important;
  }
}
@media(max-width:420px){
  html body.zmv8-mode .zmv8-footer .zmv8-foot-grid{
    grid-template-columns:1fr !important;
  }
}
html body.zmv8-mode .zmv8-footer .zmv8-foot-brand p{
  font-size:16px !important;
  line-height:1.6 !important;
  max-width:36ch;
  color:rgba(246,244,238,.7) !important;
  margin:0;
}
html body.zmv8-mode .zmv8-footer .zmv8-foot-col h4{
  color:#ffffff !important;
  font-size:16px !important;
  font-weight:700 !important;
  letter-spacing:.08em !important;
  text-transform:uppercase !important;
  margin:0 0 14px !important;
}
html body.zmv8-mode .zmv8-footer .zmv8-foot-col a{
  display:block !important;
  font-size:16px !important;
  padding:6px 0 !important;
  color:rgba(246,244,238,.78) !important;
  text-decoration:none !important;
  transition:color .2s !important;
}
html body.zmv8-mode .zmv8-footer .zmv8-foot-col a:hover{
  color:#9cc2ec !important;
}
html body.zmv8-mode .zmv8-footer .zmv8-foot-bot{
  border-top:1px solid rgba(246,244,238,.12) !important;
  padding-top:22px !important;
  display:flex !important;
  justify-content:space-between !important;
  font-size:16px !important;
  flex-wrap:wrap !important;
  gap:10px !important;
  color:rgba(246,244,238,.6) !important;
}
html body.zmv8-mode .zmv8-footer .zmv8-foot-brand .zmv8-logo{
  display:inline-block !important;
  margin-bottom:14px !important;
}
html body.zmv8-mode .zmv8-footer .zmv8-foot-brand .zmv8-logo-img{
  height:48px !important;
  width:auto !important;
  filter:brightness(0) invert(1) !important;
  display:block !important;
  max-width:none !important;
}

/* Same belt-and-suspenders for header mast */
html body.zmv8-mode .zmv8-mast{
  background:rgba(245,243,236,.92) !important;
  border-bottom:1px solid #E3DFD4 !important;
  -webkit-backdrop-filter:saturate(1.4) blur(12px);
  backdrop-filter:saturate(1.4) blur(12px);
}
html body.zmv8-mode .zmv8-mast .zmv8-mast-inner{
  display:flex !important;
  align-items:center !important;
  gap:26px !important;
  min-height:74px !important;
  max-width:1240px;
  margin:0 auto;
  padding:0 32px;
}
@media(max-width:680px){
  html body.zmv8-mode .zmv8-mast .zmv8-mast-inner{padding:0 18px;min-height:64px !important}
}
html body.zmv8-mode .zmv8-mast .zmv8-nav{
  display:flex !important;
  gap:26px !important;
  margin-left:8px !important;
}
html body.zmv8-mode .zmv8-mast .zmv8-mast-r{
  margin-left:auto !important;
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
}

/* ════════════════════════════════════════════════════════════════════
   28. CRITICAL HERO FIX (v8.4) — title contrast, lead-cat repositioning,
        text-wrap pretty/balance, line-clamp, stronger gradient
   ════════════════════════════════════════════════════════════════════ */

/* ─── Hero title: FORCE white, beat editorial.css h1 blanket ─── */
html body.zmv8-mode .zmv8 .zmv8-lead-h h1,
html body.zmv8-mode .zmv8 .zmv8-lead-h h1 *,
html body.zmv8-mode .zmv8 .zmv8-lead-fig h1,
html body.zmv8-mode .zmv8 article .zmv8-lead-h h1{
  color:#ffffff !important;
  text-shadow:
    0 2px 12px rgba(0,0,0,.72),
    0 1px 3px rgba(0,0,0,.85) !important;
  text-wrap:pretty;
  /* Hard limit to 3 lines max — prevents overlap with embedded image text */
  display:-webkit-box !important;
  -webkit-line-clamp:3 !important;
  -webkit-box-orient:vertical !important;
  overflow:hidden !important;
  font-size:clamp(22px,2.8vw,36px) !important;
  line-height:1.18 !important;
  letter-spacing:-.012em !important;
  font-weight:600 !important;
}

/* ─── Hero gradient: much stronger so embedded text on photo doesn't bleed through ─── */
html body.zmv8-mode .zmv8 .zmv8-lead-fig::after{
  background:linear-gradient(180deg,
    rgba(8,22,40,.10) 0%,
    rgba(8,22,40,.45) 30%,
    rgba(8,22,40,.88) 65%,
    rgba(8,22,40,.97) 100%
  ) !important;
}

/* ─── Lead-cat (category eyebrow) — repositioned to top-right next to "Articolul zilei" ─── */
html body.zmv8-mode .zmv8 .zmv8-lead-cat{
  /* Move from middle-bottom area to top of image, beside the tag */
  position:absolute !important;
  top:18px !important;
  right:18px !important;
  left:auto !important;
  bottom:auto !important;
  z-index:3 !important;
  background:rgba(255,255,255,.92) !important;
  color:#1255a0 !important;
  padding:6px 12px !important;
  border-radius:980px !important;
  font-size:16px !important;
  font-weight:700 !important;
  letter-spacing:.06em !important;
  text-shadow:none !important;
  text-wrap:balance;
}

/* Lead-h: position closer to bottom now that cat moved up */
html body.zmv8-mode .zmv8 .zmv8-lead-h{
  left:24px !important;
  right:24px !important;
  bottom:24px !important;
  top:auto !important;
  z-index:3 !important;
}

/* Lead-tag (Articolul zilei) — slightly bigger top padding for breathing */
html body.zmv8-mode .zmv8 .zmv8-lead-tag{
  top:18px !important;
  left:18px !important;
  z-index:3 !important;
}

/* ─── TEXT-WRAP PRETTY/BALANCE on all titles ─── */
/* `pretty` prevents orphans (single word on last line) — for long headings */
html body.zmv8-mode .zmv8 h1,
html body.zmv8-mode .zmv8 .zmv8-card-t,
html body.zmv8-mode .zmv8 .zmv8-doc-name b,
html body.zmv8-mode .zmv8 .zmv8-vid-row-title,
html body.zmv8-mode .zmv8 .zmv8-vid-info h3,
html body.zmv8-mode .zmv8 .zmv8-ev h3,
html body.zmv8-mode .zmv8 .zmv8-ev-big-title,
html body.zmv8-mode .zmv8 .zmv8-feature blockquote{
  text-wrap:pretty;
}

/* `balance` distributes words evenly across lines — for short titles/labels */
html body.zmv8-mode .zmv8 .zmv8-sec-head h2,
html body.zmv8-mode .zmv8 .zmv8-elite-brand-meta h2,
html body.zmv8-mode .zmv8 .zmv8-statement h2,
html body.zmv8-mode .zmv8 .zmv8-rail-h h2,
html body.zmv8-mode .zmv8 .zmv8-eyebrow,
html body.zmv8-mode .zmv8 .zmv8-card-cat,
html body.zmv8-mode .zmv8 .zmv8-doc-spec,
html body.zmv8-mode .zmv8 .zmv8-cat b,
html body.zmv8-mode .zmv8 .zmv8-vid-badge,
html body.zmv8-mode .zmv8 .zmv8-ev-big-kicker,
html body.zmv8-mode .zmv8 .zmv8-trust-i b{
  text-wrap:balance;
}

/* Same in single post titles */
html body.zmv8-mode .zm-s-title{text-wrap:pretty}

/* ════════════════════════════════════════════════════════════════════
   29. WEATHER BAR FIX — restore °C visibility, kill the gap
   ════════════════════════════════════════════════════════════════════ */

/* Force all .zm-wb-item children to display (legacy CSS was hiding 3rd+) */
html body.zmv8-mode .zm-wb-item{display:inline-flex !important}

/* Hide only the pressure/humidity/wind on small screens, KEEP temperature */
@media(max-width:760px){
  /* Temperature is 1st item — keep visible */
  /* Pressure is 2nd, humidity 3rd, wind 4th — hide */
  html body.zmv8-mode .zm-wb-left .zm-wb-item:nth-of-type(2),
  html body.zmv8-mode .zm-wb-left .zm-wb-item:nth-of-type(3),
  html body.zmv8-mode .zm-wb-wind{display:none !important}
}

/* Kill the gap between date and alerts: switch wb-right to inline-flex */
html body.zmv8-mode .zm-info-strip-inner{
  justify-content:flex-start !important;
}
html body.zmv8-mode .zm-weather-band{
  margin-left:18px !important;
  flex:1 1 auto !important;
}
html body.zmv8-mode .zm-wb-inner{
  width:100% !important;
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
  flex-wrap:wrap !important;
}
html body.zmv8-mode .zm-wb-left{
  display:inline-flex !important;
  align-items:center !important;
  gap:12px !important;
  flex-wrap:wrap !important;
}
html body.zmv8-mode .zm-wb-right{
  margin-left:auto !important;
  display:inline-flex !important;
  align-items:center !important;
  gap:10px !important;
  flex-wrap:wrap !important;
}

/* ════════════════════════════════════════════════════════════════════
   30. SINGLE POST CONTAINER — pick up dynamic widths from settings
   ════════════════════════════════════════════════════════════════════ */

/* Ensure .zm-s-content respects the max-width from output.php */
html body.zmv8-mode .zm-s-content{margin-left:auto;margin-right:auto;text-wrap:pretty}
html body.zmv8-mode .zm-s-title{text-wrap:pretty;line-height:1.15}
html body.zmv8-mode .zm-s-lead{text-wrap:pretty}

/* ════════════════════════════════════════════════════════════════════
   31. WEATHER BAR — full redesign (v8.4.1)
   Designed as a single horizontal info-strip, not a vertical dump.
   ════════════════════════════════════════════════════════════════════ */

/* Container: dark navy strip, slim, max-content sized */
html body.zmv8-mode .zm-info-strip{
  background:#0a1f3a !important;
  border-bottom:1px solid rgba(255,255,255,.08) !important;
  color:#dbe3f0 !important;
  overflow:hidden !important;
}

html body.zmv8-mode .zm-info-strip-inner{
  max-width:1440px !important;
  margin:0 auto !important;
  padding:0 32px !important;
  min-height:44px !important;
  display:flex !important;
  align-items:center !important;
  gap:0 !important;
  flex-wrap:nowrap !important;
}

/* ─── LIVE SEGMENT (left, server-rendered) ─── */
html body.zmv8-mode .zm-live-seg{
  display:inline-flex !important;
  align-items:center !important;
  gap:10px !important;
  flex:0 0 auto !important;
  white-space:nowrap !important;
  padding-right:18px !important;
  border-right:1px solid rgba(255,255,255,.12) !important;
  margin-right:18px !important;
}
html body.zmv8-mode .zm-live-label{
  font-size:16px !important;
  font-weight:700 !important;
  letter-spacing:.08em !important;
  text-transform:uppercase !important;
  color:#fff !important;
}
html body.zmv8-mode .zm-strip-sep{
  display:inline-block !important;
  width:1px !important;
  height:14px !important;
  background:rgba(255,255,255,.22) !important;
  margin:0 4px !important;
}
html body.zmv8-mode .zm-live-date{
  font-size:16px !important;
  color:#a8b8d0 !important;
  font-variant-numeric:tabular-nums !important;
}
html body.zmv8-mode .zm-live-date-full{display:inline !important}
html body.zmv8-mode .zm-live-date-short{display:none !important}
html body.zmv8-mode .zm-live-pulse{
  position:relative !important;
  width:8px !important;
  height:8px !important;
  display:inline-block !important;
  flex:0 0 auto !important;
}
html body.zmv8-mode .zm-live-pulse-dot{
  position:absolute !important;
  inset:0 !important;
  background:#ef4444 !important;
  border-radius:50% !important;
  box-shadow:0 0 0 2px rgba(239,68,68,.25) !important;
}
html body.zmv8-mode .zm-live-pulse-ring{display:none !important}

/* ─── WEATHER BAND (right, JS-rendered) ─── */
html body.zmv8-mode .zm-weather-band{
  flex:1 1 auto !important;
  min-width:0 !important; /* allow ellipsis */
  display:flex !important;
  align-items:center !important;
}

html body.zmv8-mode .zm-wb-inner{
  display:flex !important;
  align-items:center !important;
  gap:0 !important;
  width:100% !important;
  flex-wrap:nowrap !important;
}

html body.zmv8-mode .zm-wb-left{
  display:inline-flex !important;
  align-items:center !important;
  gap:14px !important;
  flex:1 1 auto !important;
  min-width:0 !important;
  white-space:nowrap !important;
}

html body.zmv8-mode .zm-wb-right{
  display:inline-flex !important;
  align-items:center !important;
  gap:10px !important;
  flex:0 0 auto !important;
  margin-left:18px !important;
}

/* All weather items: same baseline rules, no display:none anywhere */
html body.zmv8-mode .zm-wb-loc,
html body.zmv8-mode .zm-wb-wx,
html body.zmv8-mode .zm-wb-item{
  display:inline-flex !important;
  align-items:center !important;
  gap:6px !important;
  font-size:16px !important;
  color:#dbe3f0 !important;
  white-space:nowrap !important;
  flex:0 0 auto !important;
}

html body.zmv8-mode .zm-wb-loc strong{
  font-size:16px !important;
  color:#fff !important;
  font-weight:600 !important;
}
html body.zmv8-mode .zm-wb-loc svg{
  width:14px !important;
  height:14px !important;
  color:#9cc2ec !important;
  stroke:#9cc2ec !important;
}
html body.zmv8-mode .zm-wb-wx-desc{font-size:16px !important}
html body.zmv8-mode .zm-wb-wx svg{
  width:16px !important;
  height:16px !important;
  color:#9cc2ec !important;
  stroke:#9cc2ec !important;
}

/* Visual separators between weather groups (not between every item) */
html body.zmv8-mode .zm-wb-sep{
  display:inline-block !important;
  width:1px !important;
  height:14px !important;
  background:rgba(255,255,255,.14) !important;
  flex:0 0 auto !important;
}

/* Numeric metric items */
html body.zmv8-mode .zm-wb-item svg{
  width:14px !important;
  height:14px !important;
  color:#9cc2ec !important;
  stroke:#9cc2ec !important;
  flex:0 0 auto !important;
}
html body.zmv8-mode .zm-wb-item strong{
  font-size:16px !important;
  color:#fff !important;
  font-weight:600 !important;
  font-variant-numeric:tabular-nums !important;
}
html body.zmv8-mode .zm-wb-sub{
  font-size:16px !important;
  color:#8aa0bf !important;
  margin-left:2px !important;
}

/* Alert pills — compact, single line, colored backgrounds */
html body.zmv8-mode .zm-wb-alert{
  display:inline-flex !important;
  align-items:center !important;
  gap:6px !important;
  padding:5px 12px !important;
  border-radius:980px !important;
  font-size:16px !important;
  font-weight:500 !important;
  line-height:1.2 !important;
  white-space:nowrap !important;
  max-width:300px !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}
html body.zmv8-mode .zm-wb-warn{
  background:rgba(245,191,107,.18) !important;
  color:#f5d295 !important;
  border:1px solid rgba(245,191,107,.35) !important;
}
html body.zmv8-mode .zm-wb-info{
  background:rgba(156,194,236,.15) !important;
  color:#9cc2ec !important;
  border:1px solid rgba(156,194,236,.3) !important;
}
html body.zmv8-mode .zm-wb-good{
  background:rgba(127,219,160,.15) !important;
  color:#7fdba0 !important;
  border:1px solid rgba(127,219,160,.3) !important;
}
html body.zmv8-mode .zm-wb-alert svg{
  width:14px !important;
  height:14px !important;
  flex:0 0 auto !important;
}

/* Close button */
html body.zmv8-mode .zm-wb-close{
  background:transparent !important;
  border:none !important;
  color:rgba(255,255,255,.5) !important;
  padding:6px !important;
  margin-left:4px !important;
  cursor:pointer !important;
  flex:0 0 auto !important;
  border-radius:4px !important;
}
html body.zmv8-mode .zm-wb-close:hover{
  color:#fff !important;
  background:rgba(255,255,255,.08) !important;
}
html body.zmv8-mode .zm-wb-close svg{
  width:14px !important;
  height:14px !important;
}

/* ════════════ TABLET: split into 2 rows, alerts wrap ════════════ */
@media(max-width:1100px){
  html body.zmv8-mode .zm-info-strip-inner{
    flex-wrap:wrap !important;
    padding:8px 24px !important;
    min-height:auto !important;
    gap:6px 0 !important;
  }
  html body.zmv8-mode .zm-live-seg{
    border-right:none !important;
    margin-right:0 !important;
    padding-right:0 !important;
    width:100% !important;
    border-bottom:1px solid rgba(255,255,255,.08) !important;
    padding-bottom:6px !important;
  }
  html body.zmv8-mode .zm-weather-band{
    width:100% !important;
    flex:1 1 100% !important;
  }
  html body.zmv8-mode .zm-wb-inner{flex-wrap:wrap !important}
  html body.zmv8-mode .zm-wb-left{flex-wrap:wrap !important}
  html body.zmv8-mode .zm-wb-right{
    margin-left:0 !important;
    margin-top:4px !important;
    flex:1 1 100% !important;
    flex-wrap:wrap !important;
  }
}

/* ════════════ MOBILE: stacked, compact ════════════ */
@media(max-width:680px){
  html body.zmv8-mode .zm-info-strip-inner{
    padding:8px 18px !important;
  }
  html body.zmv8-mode .zm-live-date-full{display:none !important}
  html body.zmv8-mode .zm-live-date-short{display:inline !important}

  /* Hide all numeric metrics except temperature, keep loc + wx + temp */
  html body.zmv8-mode .zm-wb-left .zm-wb-item:nth-of-type(2),
  html body.zmv8-mode .zm-wb-left .zm-wb-item:nth-of-type(3),
  html body.zmv8-mode .zm-wb-wind,
  html body.zmv8-mode .zm-wb-sub,
  html body.zmv8-mode .zm-wb-wx-desc{display:none !important}
  html body.zmv8-mode .zm-wb-sep{display:none !important}

  html body.zmv8-mode .zm-wb-left{gap:12px !important}
  html body.zmv8-mode .zm-wb-alert{
    font-size:16px !important;
    padding:4px 10px !important;
    max-width:none !important;
    white-space:normal !important;
  }
}

/* ════════════════════════════════════════════════════════════════════
   32. HERO TITLE — final fix via inline style + extra CSS belt
   ════════════════════════════════════════════════════════════════════ */

/* Even though inline style is now applied, keep CSS as backup */
html body.zmv8-mode .zmv8 .zmv8-lead-h h1,
html body.zmv8-mode .zmv8 .zmv8-lead-h h1 span,
html body.zmv8-mode .zmv8 .zmv8-lead-h h1 *{
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important; /* defeats text-fill from any source */
}

/* ════════════════════════════════════════════════════════════════════
   33. WEATHER BAR — v8.4.2 COMPACT 2-ROW REDESIGN
   Row 1: live + date + location + weather + all metrics (single line)
   Row 2: medical alerts (pills, compact)
   Designed to be elegant, dense, and "newsroom info-strip" feeling.
   ════════════════════════════════════════════════════════════════════ */

/* Reset all my previous strip rules to start clean */
html body.zmv8-mode .zm-info-strip{
  background:#0a1f3a !important;
  border-bottom:1px solid rgba(255,255,255,.08) !important;
  color:#cdd5e3 !important;
  overflow:hidden !important;
  padding:0 !important;
}

html body.zmv8-mode .zm-info-strip-inner{
  max-width:1440px !important;
  margin:0 auto !important;
  padding:9px 32px !important;
  display:flex !important;
  flex-direction:column !important;
  gap:6px !important;
  align-items:stretch !important;
  min-height:auto !important;
  flex-wrap:nowrap !important;
}

/* ─── ROW 1: live + date + weather data (all in one line, comma-style) ─── */
html body.zmv8-mode .zm-live-seg{
  display:inline-flex !important;
  align-items:center !important;
  gap:8px !important;
  white-space:nowrap !important;
  flex:0 0 auto !important;
  padding:0 !important;
  border:none !important;
  margin:0 !important;
}

html body.zmv8-mode .zm-weather-band{
  display:flex !important;
  flex-direction:column !important;
  gap:5px !important;
  flex:1 1 auto !important;
  margin:0 !important;
  min-width:0 !important;
  align-items:stretch !important;
}

html body.zmv8-mode .zm-wb-inner{
  display:contents !important; /* dissolve into the band parent so we can structure rows */
}

/* The "left" group contains: loc + wx desc + temp + pressure + humidity + wind.
   We render them all on row 1, aligned with the live segment. */
html body.zmv8-mode .zm-wb-left{
  display:inline-flex !important;
  align-items:center !important;
  flex-wrap:wrap !important;
  gap:0 !important;
  min-width:0 !important;
}

/* Row 2: alerts wrap underneath */
html body.zmv8-mode .zm-wb-right{
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  flex-wrap:wrap !important;
  margin:0 !important;
}

/* Build the layout: we need .zm-live-seg + .zm-weather-band side by side on row 1.
   To do this, put .zm-info-strip-inner in a 2-row CSS grid trick. */
html body.zmv8-mode .zm-info-strip-inner{
  display:grid !important;
  grid-template-columns:auto 1fr !important;
  grid-template-rows:auto auto !important;
  column-gap:18px !important;
  row-gap:5px !important;
  align-items:center !important;
}
html body.zmv8-mode .zm-live-seg{
  grid-column:1 !important;
  grid-row:1 !important;
  position:relative !important;
}
/* Vertical divider between live and weather */
html body.zmv8-mode .zm-live-seg::after{
  content:'' !important;
  position:absolute !important;
  right:-9px !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  width:1px !important;
  height:14px !important;
  background:rgba(255,255,255,.15) !important;
}

html body.zmv8-mode .zm-weather-band{
  grid-column:2 !important;
  grid-row:1 !important;
}
/* Move .zm-wb-right (alerts) to row 2, spanning full width */
html body.zmv8-mode .zm-wb-right{
  grid-column:1 / -1 !important;
  grid-row:2 !important;
}

/* But .zm-wb-right is inside .zm-wb-inner inside .zm-weather-band.
   With display:contents on .zm-wb-inner, children inherit grid context.
   With display:flex flex-direction:column on .zm-weather-band, however,
   children are stacked there. Switch .zm-weather-band to display:contents too. */
html body.zmv8-mode .zm-weather-band{
  display:contents !important;
}

/* ─── TYPOGRAPHY ─── */
/* Smaller, denser font on the info-strip (still legible) */
html body.zmv8-mode .zm-live-label{
  font-size:16px !important;
  font-weight:700 !important;
  letter-spacing:.07em !important;
  text-transform:uppercase !important;
  color:#fff !important;
}
html body.zmv8-mode .zm-live-date,
html body.zmv8-mode .zm-live-date-full{
  font-size:16px !important;
  color:#a8b6cf !important;
  font-variant-numeric:tabular-nums !important;
}

html body.zmv8-mode .zm-strip-sep{
  display:inline-block !important;
  width:1px !important;
  height:12px !important;
  background:rgba(255,255,255,.18) !important;
  margin:0 2px !important;
}

/* Live pulse: tiny red dot */
html body.zmv8-mode .zm-live-pulse{
  position:relative !important;
  width:7px !important;
  height:7px !important;
  display:inline-block !important;
  flex:0 0 auto !important;
}
html body.zmv8-mode .zm-live-pulse-dot{
  position:absolute !important;
  inset:0 !important;
  background:#ef4444 !important;
  border-radius:50% !important;
  box-shadow:0 0 0 2px rgba(239,68,68,.22) !important;
}
html body.zmv8-mode .zm-live-pulse-ring{display:none !important}

/* Weather items — compact, separated by small dots not big seps */
html body.zmv8-mode .zm-wb-loc,
html body.zmv8-mode .zm-wb-wx,
html body.zmv8-mode .zm-wb-item{
  display:inline-flex !important;
  align-items:center !important;
  gap:5px !important;
  font-size:16px !important;
  color:#bcc8de !important;
  white-space:nowrap !important;
  padding:0 10px !important;
  position:relative !important;
}
/* Dot separator between weather items (subtle) */
html body.zmv8-mode .zm-wb-left > *:not(:first-child)::before{
  content:'' !important;
  position:absolute !important;
  left:-2px !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  width:3px !important;
  height:3px !important;
  background:rgba(255,255,255,.22) !important;
  border-radius:50% !important;
}
/* Hide native .zm-wb-sep — we use ::before dots now */
html body.zmv8-mode .zm-wb-sep{display:none !important}

html body.zmv8-mode .zm-wb-loc{padding-left:0 !important}
html body.zmv8-mode .zm-wb-loc strong{
  font-size:16px !important;
  color:#fff !important;
  font-weight:600 !important;
}
html body.zmv8-mode .zm-wb-wx-desc{font-size:16px !important}

html body.zmv8-mode .zm-wb-loc svg,
html body.zmv8-mode .zm-wb-wx svg,
html body.zmv8-mode .zm-wb-item svg{
  width:13px !important;
  height:13px !important;
  color:#9cc2ec !important;
  stroke:#9cc2ec !important;
  flex:0 0 auto !important;
}
html body.zmv8-mode .zm-wb-item strong{
  font-size:16px !important;
  color:#fff !important;
  font-weight:600 !important;
  font-variant-numeric:tabular-nums !important;
}
html body.zmv8-mode .zm-wb-sub{
  font-size:16px !important;
  color:#7d8aa3 !important;
  margin-left:4px !important;
}

/* ─── ALERT PILLS (row 2) ─── */
html body.zmv8-mode .zm-wb-alert{
  display:inline-flex !important;
  align-items:center !important;
  gap:6px !important;
  padding:4px 11px !important;
  border-radius:980px !important;
  font-size:16px !important;
  font-weight:500 !important;
  line-height:1.25 !important;
  white-space:nowrap !important;
  max-width:none !important;
  overflow:visible !important;
}
html body.zmv8-mode .zm-wb-warn{
  background:rgba(245,191,107,.16) !important;
  color:#f0c984 !important;
  border:1px solid rgba(245,191,107,.32) !important;
}
html body.zmv8-mode .zm-wb-info{
  background:rgba(156,194,236,.13) !important;
  color:#9cc2ec !important;
  border:1px solid rgba(156,194,236,.28) !important;
}
html body.zmv8-mode .zm-wb-good{
  background:rgba(127,219,160,.13) !important;
  color:#7fdba0 !important;
  border:1px solid rgba(127,219,160,.28) !important;
}
html body.zmv8-mode .zm-wb-alert svg{
  width:13px !important;
  height:13px !important;
  flex:0 0 auto !important;
}

html body.zmv8-mode .zm-wb-close{
  background:transparent !important;
  border:none !important;
  color:rgba(255,255,255,.45) !important;
  padding:4px !important;
  margin-left:4px !important;
  cursor:pointer !important;
  border-radius:4px !important;
}
html body.zmv8-mode .zm-wb-close:hover{
  color:#fff !important;
  background:rgba(255,255,255,.08) !important;
}
html body.zmv8-mode .zm-wb-close svg{
  width:12px !important;
  height:12px !important;
}

/* ════════════ TABLET (<1100px): allow wrapping in row 1 ════════════ */
@media(max-width:1100px){
  html body.zmv8-mode .zm-info-strip-inner{
    padding:9px 24px !important;
  }
  html body.zmv8-mode .zm-wb-left{
    flex-wrap:wrap !important;
    gap:2px 0 !important;
  }
}

/* ════════════ MOBILE (<680px): stack everything, smaller font ════════════ */
@media(max-width:680px){
  html body.zmv8-mode .zm-info-strip-inner{
    grid-template-columns:1fr !important;
    grid-template-rows:auto auto auto !important;
    row-gap:6px !important;
    padding:8px 16px !important;
  }
  html body.zmv8-mode .zm-live-seg{
    grid-column:1 !important;
    grid-row:1 !important;
  }
  html body.zmv8-mode .zm-live-seg::after{display:none !important}
  html body.zmv8-mode .zm-weather-band > .zm-wb-inner,
  html body.zmv8-mode .zm-wb-left{
    grid-column:1 !important;
    grid-row:2 !important;
    display:flex !important;
    flex-wrap:wrap !important;
    gap:4px 0 !important;
  }
  html body.zmv8-mode .zm-wb-right{
    grid-column:1 !important;
    grid-row:3 !important;
  }
  /* Drop secondary metrics on mobile */
  html body.zmv8-mode .zm-wb-left .zm-wb-item:nth-of-type(2),
  html body.zmv8-mode .zm-wb-left .zm-wb-item:nth-of-type(3),
  html body.zmv8-mode .zm-wb-wind,
  html body.zmv8-mode .zm-wb-sub,
  html body.zmv8-mode .zm-wb-wx-desc{display:none !important}
  html body.zmv8-mode .zm-wb-left > *::before{display:none !important}
  html body.zmv8-mode .zm-live-date-full{display:none !important}
  html body.zmv8-mode .zm-live-date-short{
    display:inline !important;
    font-size:16px !important;
  }
}

/* ════════════════════════════════════════════════════════════════════
   34. WEATHER VARIANT 2 (v8.4.3)
   - Slim navy strip on top: LIVE + date (left) + alert pills (right)
   - Compact weather pill inside header row, next to search/burger
   ════════════════════════════════════════════════════════════════════ */

/* RESET: kill the grid layout from section 33, go back to flex single row */
html body.zmv8-mode .zm-info-strip{
  background:#0a1f3a !important;
  border-bottom:1px solid rgba(255,255,255,.08) !important;
  color:#cdd5e3 !important;
  overflow:hidden !important;
  padding:0 !important;
}
html body.zmv8-mode .zm-info-strip-inner{
  max-width:1240px !important;            /* match .zmv8-wrap so it aligns with logo */
  margin:0 auto !important;
  padding:7px 32px !important;
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:14px !important;
  min-height:36px !important;
  flex-wrap:wrap !important;
}

/* LIVE + date — left side */
html body.zmv8-mode .zm-live-seg{
  display:inline-flex !important;
  align-items:center !important;
  gap:8px !important;
  flex:0 0 auto !important;
  padding:0 !important;
  border:none !important;
  margin:0 !important;
  white-space:nowrap !important;
}
html body.zmv8-mode .zm-live-seg::after{display:none !important}
html body.zmv8-mode .zm-live-label{
  font-size:16px !important;
  font-weight:700 !important;
  letter-spacing:.07em !important;
  text-transform:uppercase !important;
  color:#fff !important;
}
html body.zmv8-mode .zm-live-date,
html body.zmv8-mode .zm-live-date-full{
  font-size:16px !important;
  color:#a8b6cf !important;
  font-variant-numeric:tabular-nums !important;
}
html body.zmv8-mode .zm-strip-sep{
  display:inline-block !important;
  width:1px !important;
  height:12px !important;
  background:rgba(255,255,255,.18) !important;
  margin:0 2px !important;
}

/* Weather band — now only contains alert pills (right-aligned) */
html body.zmv8-mode .zm-weather-band{
  display:none;                  /* hidden by default, JS sets flex */
  align-items:center !important;
  gap:8px !important;
  flex:1 1 auto !important;
  justify-content:flex-end !important;
  flex-wrap:wrap !important;
  margin:0 !important;
  min-width:0 !important;
}
html body.zmv8-mode .zm-wb-inner{
  display:inline-flex !important;
  align-items:center !important;
  gap:8px !important;
  flex-wrap:wrap !important;
  justify-content:flex-end !important;
  width:auto !important;
}
html body.zmv8-mode .zm-wb-right{
  display:inline-flex !important;
  align-items:center !important;
  gap:8px !important;
  flex-wrap:wrap !important;
  margin:0 !important;
}

/* Hide the OLD .zm-wb-left (we don't render it anymore, but defensive) */
html body.zmv8-mode .zm-wb-left{display:none !important}

/* Alert pills — kept small */
html body.zmv8-mode .zm-wb-alert{
  display:inline-flex !important;
  align-items:center !important;
  gap:6px !important;
  padding:3px 11px !important;
  border-radius:980px !important;
  font-size:16px !important;
  font-weight:500 !important;
  line-height:1.25 !important;
  white-space:nowrap !important;
  max-width:none !important;
}
html body.zmv8-mode .zm-wb-warn{
  background:rgba(245,191,107,.16) !important;
  color:#f0c984 !important;
  border:1px solid rgba(245,191,107,.32) !important;
}
html body.zmv8-mode .zm-wb-info{
  background:rgba(156,194,236,.13) !important;
  color:#9cc2ec !important;
  border:1px solid rgba(156,194,236,.28) !important;
}
html body.zmv8-mode .zm-wb-good{
  background:rgba(127,219,160,.13) !important;
  color:#7fdba0 !important;
  border:1px solid rgba(127,219,160,.28) !important;
}
html body.zmv8-mode .zm-wb-alert svg{
  width:13px !important;
  height:13px !important;
  flex:0 0 auto !important;
}
html body.zmv8-mode .zm-wb-close{
  background:transparent !important;
  border:none !important;
  color:rgba(255,255,255,.45) !important;
  padding:3px !important;
  cursor:pointer !important;
  border-radius:4px !important;
}
html body.zmv8-mode .zm-wb-close:hover{
  color:#fff !important;
  background:rgba(255,255,255,.08) !important;
}
html body.zmv8-mode .zm-wb-close svg{width:12px !important;height:12px !important}

/* ─── COMPACT WEATHER PILL inside the header row ─── */
html body.zmv8-mode .zmv8 .zmv8-weather-pill{
  display:none;                  /* JS sets to inline-flex when ready */
  align-items:center !important;
  gap:8px !important;
  padding:7px 14px !important;
  background:#10243f !important;
  border:1px solid rgba(255,255,255,.06) !important;
  border-radius:980px !important;
  color:#cdd5e3 !important;
  font-size:16px !important;
  white-space:nowrap !important;
  margin-right:6px !important;
  flex:0 0 auto !important;
}
html body.zmv8-mode .zmv8 .zmv8-weather-pill strong{
  color:#fff !important;
  font-weight:600 !important;
  font-size:16px !important;
  font-variant-numeric:tabular-nums !important;
}
html body.zmv8-mode .zmv8 .zmv8-weather-pill .zmv8-wp-loc,
html body.zmv8-mode .zmv8 .zmv8-weather-pill .zmv8-wp-wx,
html body.zmv8-mode .zmv8 .zmv8-weather-pill .zmv8-wp-temp{
  display:inline-flex !important;
  align-items:center !important;
  gap:5px !important;
  font-size:16px !important;
}
html body.zmv8-mode .zmv8 .zmv8-weather-pill svg{
  width:14px !important;
  height:14px !important;
  color:#9cc2ec !important;
  stroke:#9cc2ec !important;
  flex:0 0 auto !important;
}
html body.zmv8-mode .zmv8 .zmv8-weather-pill .zmv8-wp-sep{
  color:rgba(255,255,255,.22) !important;
  font-size:16px !important;
}
html body.zmv8-mode .zmv8 .zmv8-weather-pill .zmv8-wp-wx-desc{
  font-size:16px !important;
  color:#cdd5e3 !important;
}
html body.zmv8-mode .zmv8 .zmv8-weather-pill .zmv8-wp-sub{
  font-size:16px !important;
  color:#7d8aa3 !important;
  margin-left:-2px !important;
}

/* ═══ RESPONSIVE: collapse details, then hide entirely on small screens ═══ */
@media(max-width:1100px){
  html body.zmv8-mode .zmv8 .zmv8-weather-pill .zmv8-wp-sub,
  html body.zmv8-mode .zmv8 .zmv8-weather-pill .zmv8-wp-wx-desc{display:none !important}
}
@media(max-width:760px){
  /* Hide the weather pill on small mobile — too cramped next to burger */
  html body.zmv8-mode .zmv8 .zmv8-weather-pill{display:none !important}
  /* On mobile, alerts wrap below "ÎN DIRECT" */
  html body.zmv8-mode .zm-info-strip-inner{
    padding:7px 18px !important;
  }
  html body.zmv8-mode .zm-weather-band{
    width:100% !important;
    flex:1 1 100% !important;
    justify-content:flex-start !important;
  }
  html body.zmv8-mode .zm-live-date-full{display:none !important}
  html body.zmv8-mode .zm-live-date-short{
    display:inline !important;
    font-size:16px !important;
  }
}
