/* PV Informer homepage v4 (Bluff & Paper). Scope: body.home (page 8). REPLACES homepage-v2/v3 CSS (never load together). No JS.
   Lead = whole Peninsula: tagline H1, one compact election item, then the grouped "PV Calendar" feed (pvi-upcoming, grouped mode).
   Background SVGs: Tech hosts them in pvi-bluff-paper/assets/ and fixes the url() paths. */
body.home{
  --hp-teal:#0F5E6E;--hp-link:#0B5566;--hp-sand:#E9E1CF;--hp-warm:#F2EDE2;--hp-paper:#FBF9F4;
  --hp-ink:#1C2430;--hp-muted:#4B5563;--hp-civic:#2E5E3E;--hp-schools:#8A5A00;--hp-asks:#6B4E8A;
  --hp-clay:#8F4A2A;--hp-rule:#D6CFBF;--hp-band:var(--hp-teal);
  --hp-gut:var(--wp--style--root--padding-left,20px);--hp-ring:3px solid var(--hp-teal);
  --hp-serif:"Source Serif 4",Georgia,serif;
  overflow-wrap:break-word}
body.home :is(a,button,select,summary,input,[tabindex]):focus-visible{outline:var(--hp-ring);outline-offset:2px}
body.home .entry-content > :not(.alignwide):not(.alignfull):not(.wp-block-pvi-upcoming-strip){margin-left:max(calc((100% - 1100px)/2),0px) !important}
body.home :is(h1,h2,h3){text-wrap:balance}

/* ---------- Tagline band = page H1 (site identity first) ---------- */
body.home .pvi-hp-tagline{margin:0;padding:7px var(--hp-gut) 8px;background:var(--hp-paper);border-bottom:1px solid var(--hp-sand)}
body.home .pvi-hp-tagline__h{max-width:1100px;margin:0 auto !important;font-family:inherit;font-size:1rem;font-weight:600;line-height:1.35;color:var(--hp-ink)}

/* ---------- One compact election item (first screen) ---------- */
body.home .pvi-hp-feat{position:relative;display:grid;grid-template-columns:52px 1fr;column-gap:12px;align-items:center;
  margin-top:12px;margin-bottom:0;padding:8px 12px 8px 8px;background:var(--hp-warm);border:1px solid var(--hp-teal);border-left-width:6px;border-radius:10px}
body.home .pvi-hp-feat > p{margin:0}
body.home .pvi-hp-feat__date{grid-row:1/3;height:52px;display:flex;flex-direction:column;align-items:center;justify-content:center;
  background:#fff;border-radius:6px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--hp-teal);line-height:1.05}
body.home .pvi-hp-feat__date strong{font:600 1.375rem/1 var(--hp-serif);color:var(--hp-ink);letter-spacing:0}
body.home .pvi-hp-feat__kicker{font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--hp-teal);line-height:1.3}
body.home .pvi-hp-feat__title a{font-weight:700;color:var(--hp-ink);text-decoration:none;line-height:1.3}
body.home :is(.pvi-hp-feat__title,.pvi-hp-card h3,.pvi-hp-tile p:first-child) a::after{content:"";position:absolute;inset:0;border-radius:10px}

/* ---------- PV Calendar (pvi-upcoming strip, grouped mode) ---------- */
body.home .pvi-upcoming--grouped{min-height:0;margin:16px 0 0;padding:0;background:none}
body.home .pvi-upcoming--grouped .pvi-upcoming__header{gap:8px;margin-bottom:0}
body.home .pvi-upcoming--grouped .pvi-upcoming__titles{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;column-gap:12px;
  border-top:2px solid var(--hp-ink);padding-top:4px}
body.home .pvi-upcoming--grouped .pvi-upcoming__heading{margin:0;font:600 1.625rem/1.2 var(--hp-serif)}
body.home .pvi-upcoming--grouped .pvi-upcoming__subtitle{flex-basis:100%;margin:0;color:var(--hp-muted)}
body.home .pvi-upcoming__group{margin:12px 0 0;padding:4px 0;font-family:inherit;font-size:.875rem;font-weight:700;line-height:1.3;letter-spacing:.08em;text-transform:uppercase;
  color:var(--hp-muted);border-bottom:1px solid var(--hp-rule)}
body.home .pvi-upcoming--grouped .pvi-upcoming__row-link{position:relative;min-height:0;padding:10px 0}
body.home .pvi-upcoming--grouped .pvi-upcoming__date{width:auto;min-width:56px;height:auto;min-height:56px;padding:2px 0;box-sizing:border-box}
body.home .pvi-upcoming--grouped :is(.pvi-upcoming__meta,.pvi-upcoming__source){font-size:1rem}
body.home .pvi-upcoming--grouped .pvi-upcoming__see-all{margin:4px 0 0} /* 1.3.5: min-height:0 dropped (it killed the 44px tap target) */
body.home .pvi-upcoming__row-link:active{background:var(--hp-warm)}
/* full titles in grouped mode (strip clamps to 2 lines) */
body.home .pvi-upcoming--grouped .pvi-upcoming__title{display:block;-webkit-line-clamp:unset;overflow:visible}
/* category colour: tinted date block + 4px top edge, category-coloured weekday/month; ink day number */
body.home .pvi-upcoming{--pvi-clubs:#9A2E62}
body.home .pvi-upcoming--grouped .pvi-upcoming__row{--c:var(--pvi-civic);--t:#E2E6DE}
body.home .pvi-upcoming--grouped .pvi-upcoming__row--schools{--c:#7D5200;--t:#EDE6D7}
body.home .pvi-upcoming--grouped .pvi-upcoming__row--clubs-community{--c:#9A2E62;--t:#EFE1E2}
body.home .pvi-upcoming--grouped .pvi-upcoming__row--election{--c:var(--pvi-election);--t:#DFE6E4}
body.home .pvi-upcoming--grouped .pvi-upcoming__date{background:var(--t);border-top:4px solid var(--c);border-radius:4px 4px 6px 6px}
body.home .pvi-upcoming--grouped .pvi-upcoming__date :is(.pvi-upcoming__date-weekday,.pvi-upcoming__date-month,.pvi-upcoming__date-today,.pvi-upcoming__date-through){color:var(--c)}
/* source: host line from 390px; below 390 a meta-line arrow + visually hidden "(opens host)" */
body.home .pvi-upcoming__vh,body.home .pvi-upcoming--grouped .pvi-upcoming__meta-arrow{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
body.home p.pvi-upcoming__empty{margin:12px 0 0;font-size:1rem!important}
body.home p.pvi-upcoming__sources{margin:12px 0 0;color:var(--hp-muted);font-size:1rem!important}
@media (max-width:389px){body.home .pvi-upcoming--grouped .pvi-upcoming__subtitle{display:none}
  body.home .pvi-upcoming--grouped .pvi-upcoming__source{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  body.home .pvi-upcoming--grouped .pvi-upcoming__meta-arrow{position:static;width:auto;height:auto;clip:auto;overflow:visible}}
@media (max-width:359px){body.home .pvi-hp-feat__more{display:none}}

/* ---------- Election panel (after the calendar; aside on desktop). Kept neutral: official sources, stamp ---------- */
body.home .pvi-hp-election{margin:28px calc(-1*var(--hp-gut)) 0;padding:20px var(--hp-gut);background:var(--hp-warm);border-top:4px solid var(--hp-teal)}
body.home .pvi-hp-election > *{margin:0}
body.home .pvi-hp-election__kicker{font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--hp-teal)}
body.home .pvi-hp-election h2{margin:4px 0 6px;font-size:1.75rem;line-height:1.15}
body.home .pvi-hp-election__lede{line-height:1.45;margin-bottom:14px !important}
body.home .pvi-hp-election .wp-block-buttons{gap:8px;margin-bottom:14px}
body.home .pvi-hp-election .wp-block-button__link{min-height:48px;padding:12px 16px;border-radius:8px;font-weight:700;border:2px solid var(--hp-teal)}
body.home .pvi-hp-btn--primary .wp-block-button__link{background:var(--hp-teal);color:#fff}
body.home .pvi-hp-btn--secondary .wp-block-button__link{background:#fff;color:var(--hp-link)}
body.home .pvi-hp-btn--primary .wp-block-button__link:active{background:var(--hp-ink);border-color:var(--hp-ink)}
body.home .pvi-hp-btn--secondary .wp-block-button__link:active{background:var(--hp-sand)}
body.home .pvi-hp-hero__note{margin:12px 0 8px !important;color:var(--hp-muted)}
body.home :is(.pvi-hp-stamp,.pvi-hp-updated){width:fit-content;max-width:100%;margin:0;padding:3px 12px 3px 10px;
  border:1px solid var(--hp-teal);border-radius:16px;background:#fff;color:var(--hp-ink);font-weight:600}
body.home :is(.pvi-hp-stamp,.pvi-hp-updated)::before{content:"";display:inline-block;width:8px;height:8px;margin-right:7px;border-radius:50%;background:var(--hp-teal);vertical-align:1px}
/* election date cards as compact rows (same Groups, same pvi-until expiry and region/list markup as v3) */
body.home .pvi-hp-election .pvi-hp-list{display:grid;gap:8px;margin:0;padding:0;list-style:none}
body.home .pvi-hp-card{position:relative;margin:0;padding:10px 14px 10px;background:#fff;border:1px solid var(--hp-band);border-left-width:5px;border-radius:10px}
body.home .pvi-hp-card > *{margin:0}
body.home .pvi-hp-card__kicker{font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--hp-band)}
body.home .pvi-hp-card h3{margin:2px 0;font-size:1.125rem;line-height:1.25}
body.home .pvi-hp-card h3 a{color:var(--hp-ink);text-decoration:none}
body.home .pvi-hp-card p:not(.pvi-hp-card__kicker):not(.pvi-hp-card__cta){line-height:1.35;color:var(--hp-muted)}
body.home .pvi-hp-card__cta{margin-top:4px !important;font-weight:700;color:var(--hp-link);text-decoration:underline}

/* ---------- Tap / focus (all devices) ---------- */
body.home :is(.pvi-hp-card,.pvi-hp-feat):has(a:active){background:var(--hp-warm);border-color:var(--hp-ink)}
body.home .pvi-hp-feat:has(a:active){background:var(--hp-sand)}
body.home .pvi-hp-tile:has(a:active){background:var(--hp-sand);border-color:var(--hp-ink)}
body.home :is(.pvi-hp-card,.pvi-hp-tile,.pvi-hp-feat):has(a:focus-visible){outline:var(--hp-ring);outline-offset:2px;border-color:var(--hp-ink)}
body.home :is(.pvi-hp-card,.pvi-hp-tile,.pvi-hp-feat) a:focus-visible{outline:none}
body.home :is(.pvi-hp-card,.pvi-hp-feat,.pvi-hp-tile):is(:has(a:active),:has(a:focus-visible)){border-left-color:var(--hp-band)}
body.home .pvi-hp-feat:is(:has(a:active),:has(a:focus-visible)){border-left-color:var(--hp-teal)}
body.home .is-civic{--hp-band:var(--hp-civic)}
body.home .is-schools{--hp-band:var(--hp-schools)}
body.home .is-asks{--hp-band:var(--hp-asks)}

/* ---------- Section heads: editorial rules ---------- */
body.home .pvi-hp-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 12px;
  margin-top:36px;margin-bottom:14px;padding:10px 0 8px;border-top:2px solid var(--hp-ink);border-bottom:1px solid var(--hp-rule)}
body.home .pvi-hp-head h2{margin:0;color:var(--hp-ink)}

/* ---------- Peninsula This Week: dated index rows ---------- */
body.home .pvi-hp-week{background:#fff;border:1px solid var(--hp-sand);border-left:6px solid var(--hp-clay);border-radius:10px;padding:14px 18px 6px}
body.home .pvi-hp-week ul{margin:10px 0 0;padding:0;list-style:none}
body.home .pvi-hp-week li{position:relative;margin:0;padding:12px 0;border-top:1px solid var(--hp-rule)}
body.home .pvi-hp-week li > strong:first-child{display:block;color:var(--hp-teal);font-variant-numeric:tabular-nums;font-size:.9375rem;letter-spacing:.04em;text-transform:uppercase}

/* ---------- Find your way: warm band; the hills + clay sun moved here (no election content near the sun) ---------- */
body.home .pvi-hp-band{background:url("pvi-bg-divider-wave.svg") top/100% 40px no-repeat,
  url("pvi-bg-hero-layered-peaks-clear.svg") bottom/100% 64px no-repeat,var(--hp-warm); /* 1.3.5: clay sun removed (UX Critic: read as a stray orange circle) */
  margin-top:36px;padding:28px var(--hp-gut) 92px}
body.home .pvi-hp-band .pvi-hp-head{margin-top:0}
body.home .pvi-hp-tiles{display:grid;grid-template-columns:1fr 1fr;gap:10px}
body.home .pvi-hp-tile{position:relative;min-height:88px;margin:0;padding:14px 14px 12px;background:#fff;border:1px solid var(--hp-band);border-left-width:6px;border-radius:10px}
body.home .pvi-hp-tile > *{margin:0}
body.home .pvi-hp-tile a{color:var(--hp-ink);font-weight:700;font-size:1.125rem;text-decoration:none}

/* ---------- Hover: mouse/trackpad only, additive ---------- */
@media (hover:hover) and (pointer:fine){
  body.home :is(.pvi-hp-card,.pvi-hp-tile):hover{background:var(--hp-paper)}
  body.home .pvi-upcoming__row-link:hover .pvi-upcoming__title{text-decoration:underline}
  body.home .pvi-hp-btn--primary .wp-block-button__link:hover{background:var(--hp-ink);border-color:var(--hp-ink)}
  body.home .pvi-hp-btn--secondary .wp-block-button__link:hover{background:var(--hp-warm)}
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  body.home :is(.pvi-hp-card,.pvi-hp-tile,.pvi-hp-feat){transition:transform .15s ease-out,box-shadow .15s ease-out}
  body.home :is(.pvi-hp-card,.pvi-hp-tile,.pvi-hp-feat):hover{transform:translateY(-2px);box-shadow:0 6px 14px rgba(28,36,48,.1)}
  body.home :is(.pvi-hp-card,.pvi-hp-tile,.pvi-hp-feat):hover:has(a:active){transform:translateY(-2px) scale(.98)}
}
@media (prefers-reduced-motion:no-preference){body.home :is(.pvi-hp-card,.pvi-hp-tile,.pvi-hp-feat):has(a:active){transform:scale(.98)}}
@media (max-width:359px){body.home .pvi-hp-lede-more{display:none}}

/* ---------- Desktop ---------- */
@media (min-width:600px){
  body.home .pvi-hp-week li{padding-left:6.5rem}
  body.home .pvi-hp-week li > strong:first-child{position:absolute;left:0;top:14px}
}
@media (min-width:782px){
  body.home .pvi-hp-tagline__h{font-size:1.0625rem}
  body.home .pvi-hp-tiles{grid-template-columns:repeat(3,1fr)}
  body.home .pvi-hp-band{background-size:100% 64px,100% 110px,auto;
    background-image:url("pvi-bg-divider-wave.svg"),url("pvi-bg-hero-layered-peaks-clear.svg");padding:56px var(--hp-gut) 150px}
  body.home .pvi-upcoming--grouped .pvi-upcoming__row-link{min-height:64px}
}
@media (min-width:1024px){
  body.home .pvi-hp-feat{display:none}
  body.home .pvi-hp-lead{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:40px;align-items:start;margin-top:24px}
  body.home .pvi-upcoming--grouped{margin:0}
  body.home .pvi-hp-election{margin:0;padding:24px;border-radius:0 0 10px 10px}
}

/* ===== Production compat (carries pvi-bluff-paper 1.2.6/1.2.7/1.2.9 forward at v4 sizes) =====
   Live styles-additional.css forces html body :where(p,…){font-size:1.125rem!important}; WP 7.1 adds .wp-block-paragraph. */
body.home p:is(.pvi-hp-feat__kicker,.pvi-hp-card__kicker){font-size:.8125rem!important}
body.home p.pvi-hp-feat__date{font-size:.8125rem!important}
body.home p.pvi-hp-feat__title{font-size:1.125rem!important}
body.home p.pvi-hp-election__kicker{font-size:.875rem!important}
body.home p:is(.pvi-hp-hero__note,.pvi-hp-stamp,.pvi-hp-updated){font-size:.9375rem!important}
body.home p.pvi-upcoming__subtitle,body.home .pvi-hp-card p:not(.pvi-hp-card__kicker):not(.pvi-hp-card__cta),body.home .pvi-hp-tile p+p{font-size:1rem!important}
body.home .pvi-hp-card p.pvi-hp-card__cta{font-size:1rem!important}
body.home .pvi-hp-card[hidden],body.home .pvi-upcoming__row[hidden]{display:none!important}
body.home.pvi-infeed-active .pvi-hp-lead > .pvi-missed{display:none!important}


/* ===== 1.3.5 (UX Critic HOLD 2026-10-17, items 9 + 10): phone tap targets >= 44px, text >= 16px ===== */
/* Find your way: the whole card is the link (stretched link; one link per tile). */
body.home .pvi-hp-tile{position:relative}
body.home .pvi-hp-tile a{display:inline-flex;align-items:center;min-height:44px}
body.home .pvi-hp-tile a::after{content:"";position:absolute;inset:0;border-radius:inherit}
body.home .pvi-hp-tile:focus-within{outline:3px solid var(--hp-teal);outline-offset:2px}
body.home .pvi-hp-tile a:focus-visible{outline:none}
@media (hover:hover) and (pointer:fine){body.home .pvi-hp-tile:hover{box-shadow:0 1px 0 var(--hp-teal)}}
@media (max-width:781px){
  /* Banner "Meet the candidates →" */
  body.home .pvi-hp-feat__title a{display:inline-flex;align-items:center;min-height:44px}
  /* Election card links (Registration closes / Ballot drop boxes / Vote Centers open) */
  body.home .pvi-hp-card h3 a,
  body.home .pvi-hp-election a{display:inline-flex;align-items:center;min-height:44px}
  /* Peninsula This Week links */
  body.home .pvi-hp-week li a{display:inline-flex;align-items:center;min-height:44px}
  /* "See the full PV Calendar →" */
  body.home .pvi-upcoming__see-all-link,
  body.home .pvi-upcoming__more-alt a{display:inline-flex;align-items:center;min-height:44px}
}
@media (max-width:599px){
  /* Election card: body and notes at 16px; the small-caps kicker stays a 14px label. */
  body.home .pvi-hp-election,
  body.home .pvi-hp-election p:not(.pvi-hp-card__kicker):not(.pvi-hp-election__kicker),
  body.home .pvi-hp-card p:not(.pvi-hp-card__kicker),
  body.home .pvi-hp-election .pvi-hp-hero__note,
  body.home .pvi-hp-election .pvi-hp-stamp{font-size:1rem!important}
  body.home .pvi-hp-card .pvi-hp-card__kicker,
  body.home .pvi-hp-feat .pvi-hp-feat__kicker{font-size:.875rem!important}
  body.home .pvi-hp-week .pvi-hp-updated,
  body.home .pvi-hp-week li,
  body.home .pvi-hp-week li > strong:first-child{font-size:1rem!important}
  /* City Hall box (.pvi-briefing markup from publish_briefing.py; higher specificity than its inline <style>) */
  body.home .pvi-briefing .pvi-briefing__text,
  body.home .pvi-briefing .pvi-briefing__line,
  body.home .pvi-briefing .pvi-briefing__dom{font-size:1rem;line-height:1.45}
  body.home .pvi-briefing .pvi-briefing__line{min-height:44px}
  body.home .pvi-upcoming__more-alt{font-size:1rem!important}
}
/* 1.3.5 desktop: with the Today / This Weekend lists gone, the PV Calendar (7 days) is the tall
   right column and the left column stacks pick → Recent news → Briefing → Election instead of
   leaving a gap under the pick. The 1fr row takes the calendar's extra height. */
@media (min-width:1024px){
  body.home .pvi-hp-lead{grid-template-rows:auto auto auto 1fr}
  body.home .pvi-hp-lead > .pvi-home-top{grid-column:1;grid-row:1}
  body.home .pvi-hp-lead > .pvi-upcoming--grouped{grid-column:2;grid-row:1 / span 4}
  body.home .pvi-hp-lead > .pvi-recent-news{grid-column:1;grid-row:2}
  body.home .pvi-hp-lead > .pvi-briefing{grid-column:1;grid-row:3}
  body.home .pvi-hp-lead > .pvi-hp-election{grid-column:1;grid-row:4}
  body.home .pvi-hp-lead > .pvi-missed{grid-column:2;grid-row:5}
}

/* ===== 1.3.5 r2 (Critic SHIP-WITH-FIXES 2026-10-17, item 10 + PM news merge) ===== */
/* PM: the City Hall box (.pvi-briefing) could carry the Recent news stories (publish_briefing.py, data-merged-news="1");
   the standalone Recent news block hides on the homepage only while that marker is on the page.
   Rollback = publish the Briefing with --no-merge-news (no marker) and the block shows again. */
body.home .pvi-recent-news:has(~ .pvi-briefing[data-merged-news="1"]),
body.home .pvi-briefing[data-merged-news="1"] ~ .pvi-recent-news{display:none!important}
/* Desktop: the PV Calendar takes the WIDE column (left, 1.55fr); the pick, Briefing and election
   card stack in the narrow right column. Pick image capped at 280px; bigger H1. */
@media (min-width:1024px){
  /* Right-column items auto-place in DOM order, so a hidden Recent news leaves no empty row. */
  body.home .pvi-hp-lead{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);grid-template-rows:auto auto auto auto auto 1fr;row-gap:24px}
  body.home .pvi-hp-lead > .pvi-upcoming--grouped{grid-column:1;grid-row:1 / span 6}
  body.home .pvi-hp-lead > :is(.pvi-home-top,.pvi-recent-news,.pvi-briefing,.pvi-hp-election){grid-column:2;grid-row:auto;margin-top:0;margin-bottom:0}
  body.home .pvi-hp-lead > .pvi-missed{grid-column:1;grid-row:7}
  body.home .pvi-pick__media{max-height:280px}
  body.home .pvi-hp-tagline{padding-top:14px;padding-bottom:14px}
  body.home .pvi-hp-tagline__h{font-family:"Source Serif 4","Source Serif Pro",Georgia,serif;font-size:1.75rem;font-weight:600;line-height:1.2}
}

/* ===== 1.3.6 desktop, layout 'columns' (default; body.pvi-hp-layout--columns or no class) =====
   Pick card full width on top; Events in PV in the wide left column from row 2; Recent news /
   Briefing / election auto-place in the right column from row 2, so a hidden block leaves no
   gap; "Did we miss" closes the right column. The 1fr row takes the calendar's extra height.
   Doubled class + !important so these win over the page-8 HTML block
   "pvi-hide-todayweekend-1017" until it is deleted (then they are simply the rules).
   Phone (<1024px) is untouched: DOM order. */
@media (min-width:1024px){
  body.home .pvi-hp-lead.pvi-hp-lead{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr)!important;grid-template-rows:auto auto auto auto auto 1fr!important;row-gap:24px}
  body.home .pvi-hp-lead.pvi-hp-lead > .pvi-home-top{grid-column:1 / -1!important;grid-row:1!important;width:100%;max-width:none!important;margin:0!important}
  body.home .pvi-hp-lead.pvi-hp-lead > .pvi-upcoming--grouped{grid-column:1!important;grid-row:2 / span 5!important;width:auto;max-width:none!important;margin-top:0}
  body.home .pvi-hp-lead.pvi-hp-lead > :is(.pvi-recent-news,.pvi-briefing,.pvi-hp-election){grid-column:2!important;grid-row:auto!important;margin-top:0;margin-bottom:0}
  /* "Did we miss" closes the right column (it auto-places after the election card: the rules
     above place it in row 2+ while its DOM position is before the rail, so order it last). */
  body.home .pvi-hp-lead.pvi-hp-lead > .pvi-missed{grid-column:2!important;grid-row:auto!important;order:1;margin-top:0}
  /* Calendar header: titles take the full line and the chip row starts at the column edge
     (it stays the 1.0.6 single-row scroller; at 1024 the last chip scrolls, as on phones). */
  body.home .pvi-hp-lead > .pvi-upcoming--grouped .pvi-upcoming__header{flex-wrap:wrap}
  body.home .pvi-hp-lead > .pvi-upcoming--grouped .pvi-upcoming__titles{flex:1 1 100%;max-width:none}
  body.home .pvi-hp-lead > .pvi-upcoming--grouped .pvi-upcoming__chips[data-chips]{flex:1 1 100%;margin-left:0}
  /* Full-width pick: photo left (1fr), text right (1.55fr), photo 180-260px tall. */
  body.home .pvi-hp-lead > .pvi-home-top .pvi-pick__link{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.55fr);align-items:stretch}
  body.home .pvi-hp-lead > .pvi-home-top .pvi-pick__media{aspect-ratio:auto!important;height:100%!important;min-height:180px;max-height:260px;overflow:hidden}
  body.home .pvi-hp-lead > .pvi-home-top .pvi-pick__media :is(img,svg){width:100%;height:100%;object-fit:cover}
  body.home .pvi-hp-lead > .pvi-home-top .pvi-pick__body{align-self:center}
}

/* ===== 1.3.6 desktop, layout 'stack' (option pvi_home_desktop_layout = stack) =====
   One full-width column: pick, Events in PV, then Recent news, City Hall box, Election and
   "Did we miss" (last), only the 24px section gap between them. Beats the 'columns' rules
   above (extra body class) and the page-8 block (both !important). Phone untouched. */
@media (min-width:1024px){
  body.home.pvi-hp-layout--stack .pvi-hp-lead.pvi-hp-lead{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:none!important;grid-auto-rows:auto;row-gap:24px}
  body.home.pvi-hp-layout--stack .pvi-hp-lead.pvi-hp-lead > *{grid-column:1 / -1!important;grid-row:auto!important;width:auto;max-width:none!important;margin-top:0!important;margin-bottom:0!important}
  body.home.pvi-hp-layout--stack .pvi-hp-lead.pvi-hp-lead > .pvi-hp-election{margin-left:0!important;margin-right:0!important}
  body.home.pvi-hp-layout--stack .pvi-hp-lead.pvi-hp-lead > .pvi-missed{order:1}
}
