/*
Theme Name: Geneviève for Coquitlam, Twenty Twenty-Five
Theme URI: https://genevievekylelefebvre.ca
Description: Responsive campaign child theme for Twenty Twenty-Five. Uses existing editable WordPress pages and blocks.
Author: Campaign Team
Template: twentytwentyfive
Version: 2.5.1
Text Domain: genevieve-coquitlam
*/


:root {
  --gv-purple: #8a2be2;
  --gv-purple-dark: #5b1594;
  --gv-purple-light: #f4e9ff;
  --gv-navy: #14213d;
  --gv-ink: #20212a;
  --gv-muted: #626473;
  --gv-white: #ffffff;
  --gv-soft: #f7f5f9;
  --gv-border: #ded8e5;
  --gv-radius: 18px;
  --gv-shadow: 0 18px 45px rgba(33, 18, 50, .12);
}

html { scroll-behavior: smooth; }
body { color: var(--gv-ink); }

/* Campaign header: intentionally remove all navigation links and mobile menu controls.
   The site title/logo remains visible and clickable. */
#header [data-id="menu"],
#header .ct-header-menu,
#header nav[aria-label*="menu" i],
#header nav[aria-label*="navigation" i],
#header [data-id="trigger"],
#header .ct-header-trigger,
#header .ct-menu-link,
.ct-panel-content .mobile-menu,
.ct-panel-content [data-id="menu"] {
  display: none !important;
}

/* Keep the remaining header content cleanly aligned after the menu is removed. */
#header [data-row] > div,
#header .ct-container {
  justify-content: flex-start;
}
.gv-site { overflow: hidden; }
.gv-container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.gv-section { padding: 88px 0; }
.gv-eyebrow { margin: 0 0 14px; color: var(--gv-purple); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; }
.gv-heading { margin: 0 0 20px; color: var(--gv-navy); font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.05; letter-spacing: -.035em; }
.gv-lead { max-width: 760px; margin: 0; color: var(--gv-muted); font-size: 1.15rem; line-height: 1.75; }
.gv-button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 999px; background: var(--gv-purple); color: #fff !important; font-weight: 800; text-decoration: none; border: 2px solid var(--gv-purple); transition: .2s ease; }
.gv-button:hover { transform: translateY(-2px); background: var(--gv-purple-dark); border-color: var(--gv-purple-dark); }
.gv-button--outline { background: transparent; color: var(--gv-purple) !important; }
.gv-button--light { background: #fff; color: var(--gv-purple) !important; border-color: #fff; }
.gv-button--light:hover { background: var(--gv-purple-light); border-color: var(--gv-purple-light); }

.gv-topbar { background: var(--gv-purple-dark); color: #fff; font-size: .9rem; text-align: center; padding: 9px 20px; }
.gv-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(138,43,226,.12); }
.gv-header__inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.gv-brand { color: var(--gv-navy); text-decoration: none; line-height: 1; }
.gv-brand strong { display: block; font-size: 1.25rem; letter-spacing: -.02em; }
.gv-brand span { display: block; color: var(--gv-purple); font-size: .77rem; text-transform: uppercase; letter-spacing: .14em; margin-top: 7px; font-weight: 800; }
.gv-nav { display: flex; align-items: center; gap: 24px; }
.gv-nav a { color: var(--gv-navy); text-decoration: none; font-weight: 700; font-size: .96rem; }
.gv-nav a:hover { color: var(--gv-purple); }
.gv-menu-toggle { display: none; border: 0; background: transparent; padding: 8px; font-size: 1.5rem; }

.gv-hero { position: relative; background: linear-gradient(120deg, #faf5ff 0%, #fff 52%, #f2e8ff 100%); padding: 76px 0 62px; }
.gv-hero:after { content: ''; position: absolute; width: 460px; height: 460px; border-radius: 50%; background: rgba(138,43,226,.09); right: -180px; top: -170px; }
.gv-hero__grid { display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; gap: 64px; position: relative; z-index: 1; }
.gv-kicker { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--gv-purple-light); color: var(--gv-purple-dark); font-weight: 800; font-size: .86rem; margin-bottom: 24px; }
.gv-hero h1 { margin: 0; color: var(--gv-navy); font-size: clamp(3.2rem, 7vw, 6.4rem); line-height: .88; letter-spacing: -.065em; }
.gv-hero h1 span { color: var(--gv-purple); display: block; }
.gv-hero__sub { max-width: 650px; margin: 28px 0 30px; color: var(--gv-muted); font-size: clamp(1.1rem, 1.7vw, 1.35rem); line-height: 1.65; }
.gv-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.gv-election-note { margin-top: 24px; color: var(--gv-navy); font-weight: 700; font-size: .92rem; }
.gv-photo-card { position: relative; min-height: 610px; border-radius: 28px; background: linear-gradient(160deg, var(--gv-purple-light), #e1c6ff); box-shadow: var(--gv-shadow); overflow: hidden; }
.gv-photo-card img { width: 100%; height: 100%; min-height: 610px; object-fit: cover; display: block; }
.gv-photo-placeholder { min-height: 610px; display: grid; place-items: center; padding: 40px; text-align: center; color: var(--gv-purple-dark); font-weight: 800; }
.gv-photo-label { position: absolute; left: 24px; bottom: 24px; right: 24px; padding: 19px 22px; border-radius: 14px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); color: var(--gv-navy); box-shadow: 0 10px 30px rgba(20,33,61,.12); }
.gv-photo-label strong { display: block; font-size: 1.1rem; }
.gv-photo-label span { display: block; color: var(--gv-purple); margin-top: 4px; font-weight: 700; }

/* Scrolling priority band */
.gv-values {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 22px 0;
  background: linear-gradient(100deg, var(--gv-purple-dark), var(--gv-purple), #a855f7);
  color: #fff;
  box-shadow: inset 0 1px rgba(255,255,255,.14), inset 0 -1px rgba(0,0,0,.12);
}
.gv-values__ticker {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}
.gv-values__track {
  display: flex;
  width: max-content;
  animation: gv-priority-scroll 46s linear infinite;
  will-change: transform;
}
.gv-values__set {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.gv-value {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 34px;
  color: #fff !important;
  font-size: clamp(.95rem, 1.25vw, 1.08rem);
  font-weight: 850;
  line-height: 1.25;
  letter-spacing: .015em;
  white-space: nowrap;
  text-align: center;
}
.gv-value::after {
  content: "•";
  position: absolute;
  right: -4px;
  color: rgba(255,255,255,.55);
  font-size: 1rem;
}
.gv-values:hover .gv-values__track,
.gv-values:focus-within .gv-values__track {
  animation-play-state: paused;
}
@keyframes gv-priority-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .gv-values__ticker {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
    scrollbar-width: thin;
  }
  .gv-values__track { animation: none; }
  .gv-values__set[aria-hidden="true"] { display: none; }
}

.gv-about__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }
.gv-about__portrait { min-height: 520px; border-radius: var(--gv-radius); background: var(--gv-soft); border: 1px solid var(--gv-border); display: grid; place-items: center; padding: 36px; text-align: center; color: var(--gv-muted); }
.gv-about__copy p { color: var(--gv-muted); font-size: 1.08rem; line-height: 1.8; }
.gv-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 28px; }
.gv-fact { padding: 18px; border-radius: 12px; background: var(--gv-soft); border: 1px solid var(--gv-border); }
.gv-fact strong { color: var(--gv-purple-dark); display: block; margin-bottom: 5px; }

.gv-priorities { background: var(--gv-soft); }
.gv-priority-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 42px; }
.gv-card { background: #fff; border: 1px solid var(--gv-border); border-radius: var(--gv-radius); padding: 30px; box-shadow: 0 10px 32px rgba(35,25,50,.06); }
.gv-card__number { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--gv-purple-light); color: var(--gv-purple); font-weight: 900; }
.gv-card h3 { color: var(--gv-navy); font-size: 1.35rem; margin: 20px 0 10px; }
.gv-card p { color: var(--gv-muted); line-height: 1.7; margin: 0; }

.gv-record__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 44px; }
.gv-record-card { padding: 32px; border-radius: var(--gv-radius); border: 1px solid var(--gv-border); }
.gv-record-card h3 { margin-top: 0; color: var(--gv-purple-dark); }
.gv-record-card ul { padding-left: 20px; color: var(--gv-muted); line-height: 1.8; }

.gv-quote { background: var(--gv-navy); color: #fff; }
.gv-quote blockquote { margin: 0; max-width: 1000px; font-size: clamp(2rem, 4.5vw, 4rem); line-height: 1.15; letter-spacing: -.04em; font-weight: 800; }
.gv-quote cite { display: block; margin-top: 24px; color: #e3caff; font-style: normal; font-weight: 700; }

.gv-news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 42px; }
.gv-news-card { border-radius: var(--gv-radius); overflow: hidden; border: 1px solid var(--gv-border); background: #fff; }
.gv-news-card__image { height: 190px; background: linear-gradient(145deg, var(--gv-purple-light), #ead8ff); display: grid; place-items: center; color: var(--gv-purple-dark); font-weight: 800; }
.gv-news-card__body { padding: 24px; }
.gv-news-card__body h3 { margin: 0 0 10px; color: var(--gv-navy); }
.gv-news-card__body p { margin: 0; color: var(--gv-muted); line-height: 1.65; }

.gv-join { background: linear-gradient(120deg, var(--gv-purple-dark), var(--gv-purple)); color: #fff; }
.gv-join__grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; }
.gv-join h2 { color: #fff; margin-bottom: 14px; }
.gv-join p { color: rgba(255,255,255,.82); max-width: 720px; font-size: 1.1rem; line-height: 1.7; }

.gv-contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 54px; }
.gv-contact-card { padding: 28px; background: var(--gv-soft); border: 1px solid var(--gv-border); border-radius: var(--gv-radius); }
.gv-form { display: grid; gap: 15px; }
.gv-form label { color: var(--gv-navy); font-weight: 800; font-size: .9rem; }
.gv-form input, .gv-form textarea, .gv-form select { width: 100%; margin-top: 7px; padding: 14px 15px; border: 1px solid #cfc6d8; border-radius: 10px; background: #fff; font: inherit; }
.gv-form textarea { min-height: 130px; resize: vertical; }

.gv-footer { background: #111827; color: #d3d6de; padding: 44px 0 26px; }
.gv-footer__grid { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: start; }
.gv-footer strong { color: #fff; font-size: 1.1rem; }
.gv-footer a { color: #fff; }
.gv-disclaimer { margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.16); font-size: .84rem; line-height: 1.65; }

@media (max-width: 900px) {
  .gv-nav { display: none; position: absolute; left: 0; right: 0; top: 82px; padding: 24px; flex-direction: column; align-items: flex-start; background: #fff; border-bottom: 1px solid var(--gv-border); }
  .gv-nav.is-open { display: flex; }
  .gv-menu-toggle { display: block; }
  .gv-hero__grid, .gv-about__grid, .gv-contact-grid, .gv-join__grid { grid-template-columns: 1fr; }
  .gv-photo-card, .gv-photo-card img, .gv-photo-placeholder { min-height: 520px; }
  .gv-priority-grid, .gv-news-grid { grid-template-columns: 1fr 1fr; }
  .gv-record__grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .gv-container { width: min(100% - 28px, 1180px); }
  .gv-section { padding: 64px 0; }
  .gv-hero { padding-top: 50px; }
  .gv-hero h1 { font-size: clamp(3rem, 18vw, 4.6rem); }
  .gv-priority-grid, .gv-news-grid, .gv-facts { grid-template-columns: 1fr; }
  .gv-footer__grid { grid-template-columns: 1fr; }
}

/* Accessibility safeguard: all campaign-purple backgrounds use high-contrast light text. */
.gv-purple-background,
.gv-has-purple-background,
.has-gv-purple-background-color,
.has-purple-background-color,
[style*="background-color: #8a2be2" i],
[style*="background-color:#8a2be2" i],
[style*="background: #8a2be2" i],
[style*="background:#8a2be2" i],
[style*="background-color: #5b1594" i],
[style*="background-color:#5b1594" i],
[style*="background: #5b1594" i],
[style*="background:#5b1594" i] {
  color: rgba(255, 255, 255, .94) !important;
}

.gv-purple-background h1,
.gv-purple-background h2,
.gv-purple-background h3,
.gv-purple-background h4,
.gv-purple-background h5,
.gv-purple-background h6,
.gv-has-purple-background h1,
.gv-has-purple-background h2,
.gv-has-purple-background h3,
.gv-has-purple-background h4,
.gv-has-purple-background h5,
.gv-has-purple-background h6,
.has-gv-purple-background-color h1,
.has-gv-purple-background-color h2,
.has-gv-purple-background-color h3,
.has-gv-purple-background-color h4,
.has-gv-purple-background-color h5,
.has-gv-purple-background-color h6,
.has-purple-background-color h1,
.has-purple-background-color h2,
.has-purple-background-color h3,
.has-purple-background-color h4,
.has-purple-background-color h5,
.has-purple-background-color h6 {
  color: #ffffff !important;
}

.gv-purple-background p,
.gv-purple-background li,
.gv-purple-background label,
.gv-purple-background figcaption,
.gv-purple-background small,
.gv-has-purple-background p,
.gv-has-purple-background li,
.gv-has-purple-background label,
.gv-has-purple-background figcaption,
.gv-has-purple-background small,
.has-gv-purple-background-color p,
.has-gv-purple-background-color li,
.has-gv-purple-background-color label,
.has-gv-purple-background-color figcaption,
.has-gv-purple-background-color small,
.has-purple-background-color p,
.has-purple-background-color li,
.has-purple-background-color label,
.has-purple-background-color figcaption,
.has-purple-background-color small {
  color: rgba(255, 255, 255, .90) !important;
}

.gv-purple-background a:not(.gv-button--light),
.gv-has-purple-background a:not(.gv-button--light),
.has-gv-purple-background-color a:not(.gv-button--light),
.has-purple-background-color a:not(.gv-button--light) {
  color: #ffffff !important;
  text-decoration-color: rgba(255, 255, 255, .65);
}

.gv-purple-background a:not(.gv-button--light):hover,
.gv-has-purple-background a:not(.gv-button--light):hover,
.has-gv-purple-background-color a:not(.gv-button--light):hover,
.has-purple-background-color a:not(.gv-button--light):hover {
  color: #f7efff !important;
}

/* Explicit contrast for the theme's current purple sections. */
.gv-topbar,
.gv-values,
.gv-join {
  color: rgba(255, 255, 255, .94);
}

.gv-topbar *,
.gv-values *,
.gv-join h1,
.gv-join h2,
.gv-join h3,
.gv-join h4,
.gv-join h5,
.gv-join h6 {
  color: #ffffff;
}

.gv-join p,
.gv-join li,
.gv-join label,
.gv-join small {
  color: rgba(255, 255, 255, .88) !important;
}

.gv-join .gv-button--light {
  color: var(--gv-purple-dark) !important;
}


/* Gutenberg editable homepage */
.gv-editable-home .entry-content { margin: 0; }
.gv-editable-home > * { margin-block-start: 0; }
.gv-editable-home .alignwide { width: min(1180px, calc(100% - 40px)); max-width: 1180px; margin-inline: auto; }
.gv-editable-home .alignfull { width: 100%; max-width: none; margin-inline: 0; }
.gv-topbar p { margin: 0; color: #fff !important; }
.gv-image-help { text-align: center; margin-top: 10px; color: var(--gv-purple-dark); }
.gv-photo-card { padding: 0; }
.gv-photo-card img { min-height: 610px; object-fit: cover; }
.gv-about__portrait { padding: 0; overflow: hidden; }
.gv-about__portrait img { width: 100%; min-height: 520px; height: 100%; object-fit: cover; }
.gv-news-card__image { height: 190px; margin: 0; overflow: hidden; }
.gv-news-card__image img { width: 100%; height: 190px; object-fit: cover; }
.gv-values .wp-block-column, .gv-values p, .gv-join p, .gv-join h2, .gv-join .gv-eyebrow { color: #fff !important; }
.gv-button.wp-block-button { padding: 0; background: transparent; border: 0; }
.gv-button .wp-block-button__link { background: var(--gv-purple); color: #fff !important; border: 2px solid var(--gv-purple); border-radius: 999px; font-weight: 800; padding: 12px 24px; }
.gv-button--outline .wp-block-button__link { background: transparent; color: var(--gv-purple) !important; }
.gv-button--light .wp-block-button__link { background: #fff; color: var(--gv-purple) !important; border-color: #fff; }
.block-editor-block-list__layout .gv-topbar,
.block-editor-block-list__layout .gv-hero,
.block-editor-block-list__layout .gv-values,
.block-editor-block-list__layout .gv-section { max-width: none; }
@media (max-width: 800px) {
  .gv-editable-home .alignwide { width: min(100% - 28px, 1180px); }
  .gv-photo-card img { min-height: 480px; }
}


/* Updated campaign platform sections */
.gv-food { background: linear-gradient(125deg, var(--gv-purple-dark), var(--gv-purple)); }
.gv-food__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: start; }
.gv-food ul { margin: 0; padding-left: 22px; line-height: 1.8; }
.gv-food__closing { max-width: 900px; margin: 42px auto 0; font-size: 1.12rem; line-height: 1.7; }
.gv-priorities .gv-lead { margin-inline: auto; }
.gv-about__copy ul { color: var(--gv-muted); line-height: 1.8; padding-left: 22px; }
.gv-contact-note { padding: 20px; border: 1px solid var(--gv-border); border-radius: 12px; background: var(--gv-soft); }
@media (max-width: 800px) { .gv-food__grid { grid-template-columns: 1fr; } }


/* Layout and typography audit, v1.2.1 */
*, *::before, *::after { box-sizing: border-box; }

/* Reliable page gutters for all editable full-width Gutenberg sections. */
.gv-editable-home .gv-hero,
.gv-editable-home .gv-values,
.gv-editable-home .gv-section,
.gv-editable-home .gv-topbar {
  padding-left: clamp(20px, 4vw, 52px);
  padding-right: clamp(20px, 4vw, 52px);
}

.gv-editable-home .gv-topbar {
  padding-top: 10px;
  padding-bottom: 10px;
}

.gv-editable-home .gv-hero {
  padding-top: clamp(54px, 7vw, 82px);
  padding-bottom: clamp(50px, 6vw, 70px);
}

.gv-editable-home .gv-values {
  padding-top: 30px;
  padding-bottom: 30px;
}

.gv-editable-home .gv-section {
  padding-top: clamp(64px, 8vw, 92px);
  padding-bottom: clamp(64px, 8vw, 92px);
}

/* Keep wide blocks inside the section gutters instead of touching the viewport. */
.gv-editable-home .alignwide {
  width: min(1180px, 100%);
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

/* Stable heading spacing and line-height, preventing collisions with following text. */
.gv-editable-home h1,
.gv-editable-home h2,
.gv-editable-home h3,
.gv-editable-home h4,
.gv-editable-home h5,
.gv-editable-home h6 {
  position: static;
  clear: both;
  height: auto;
  min-height: 0;
  overflow: visible;
  word-break: normal;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.gv-editable-home .gv-heading {
  margin-top: 0;
  margin-bottom: clamp(20px, 2.5vw, 30px);
  line-height: 1.12;
}

.gv-editable-home .gv-heading + p,
.gv-editable-home .gv-heading + .wp-block-columns,
.gv-editable-home .gv-heading + .wp-block-list {
  margin-top: 0;
}

.gv-editable-home .gv-eyebrow {
  margin-top: 0;
  margin-bottom: 14px;
  line-height: 1.45;
}

.gv-editable-home .gv-hero h1 {
  line-height: .96;
  margin-bottom: 0;
}

.gv-editable-home .gv-hero__sub {
  margin-top: 28px;
  margin-bottom: 30px;
}

/* Card titles always reserve natural space above body copy. */
.gv-editable-home .gv-card h3,
.gv-editable-home .gv-news-card__body h3,
.gv-editable-home .gv-record-card h3 {
  display: block;
  line-height: 1.28;
  margin-top: 0;
  margin-bottom: 14px;
}

.gv-editable-home .gv-card p,
.gv-editable-home .gv-news-card__body p,
.gv-editable-home .gv-record-card p {
  margin-top: 0;
}

.gv-editable-home .gv-card {
  padding: clamp(24px, 3vw, 32px);
}

.gv-editable-home .gv-news-card__body {
  padding: clamp(22px, 3vw, 28px);
}

/* Lists and paragraphs should not collide with headings or section edges. */
.gv-editable-home p,
.gv-editable-home ul,
.gv-editable-home ol {
  max-width: 100%;
}

.gv-editable-home ul,
.gv-editable-home ol {
  padding-left: 1.35em;
}

.gv-editable-home .gv-food__grid,
.gv-editable-home .gv-contact-grid,
.gv-editable-home .gv-about__grid,
.gv-editable-home .gv-join__grid {
  width: min(1180px, 100%);
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .gv-editable-home .gv-hero,
  .gv-editable-home .gv-values,
  .gv-editable-home .gv-section,
  .gv-editable-home .gv-topbar {
    padding-left: clamp(20px, 5vw, 36px);
    padding-right: clamp(20px, 5vw, 36px);
  }

  .gv-editable-home .gv-heading {
    line-height: 1.16;
  }

  .gv-editable-home .gv-hero h1 {
    line-height: 1;
    letter-spacing: -.045em;
  }
}

@media (max-width: 620px) {
  .gv-editable-home .gv-hero,
  .gv-editable-home .gv-values,
  .gv-editable-home .gv-section,
  .gv-editable-home .gv-topbar {
    padding-left: 20px;
    padding-right: 20px;
  }

  .gv-editable-home .gv-section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .gv-editable-home .gv-heading {
    font-size: clamp(1.9rem, 9vw, 2.7rem);
    line-height: 1.17;
    letter-spacing: -.025em;
    margin-bottom: 20px;
  }

  .gv-editable-home .gv-hero h1 {
    font-size: clamp(2.75rem, 15vw, 4.15rem);
    line-height: 1.02;
    letter-spacing: -.04em;
  }

  .gv-editable-home .gv-card,
  .gv-editable-home .gv-news-card__body,
  .gv-editable-home .gv-record-card {
    padding: 22px;
  }

  .gv-editable-home .gv-card h3,
  .gv-editable-home .gv-news-card__body h3,
  .gv-editable-home .gv-record-card h3 {
    font-size: 1.25rem;
    line-height: 1.3;
    margin-bottom: 12px;
  }
}


/* Larger section labels, v1.2.3 */
.gv-editable-home .gv-eyebrow {
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  letter-spacing: .09em;
  font-weight: 850;
}

/* Give the Food Recovery section a prominent visible title. */
.gv-editable-home .gv-food .gv-eyebrow {
  font-size: clamp(1.45rem, 2.8vw, 2.15rem);
  line-height: 1.18;
  letter-spacing: .035em;
  margin-bottom: 18px;
  text-transform: none;
  color: #ffffff !important;
}

@media (max-width: 620px) {
  .gv-editable-home .gv-eyebrow {
    font-size: 1rem;
  }

  .gv-editable-home .gv-food .gv-eyebrow {
    font-size: clamp(1.35rem, 7vw, 1.75rem);
    line-height: 1.22;
  }
}


/* Priority ticker refinements, v1.2.6 */
@media (max-width: 620px) {
  .gv-values { padding: 17px 0; }
  .gv-value { padding: 7px 25px; font-size: .94rem; }
  .gv-values__track { animation-duration: 58s; }
}


/* Editable three-image community slideshow, v1.2.7 */
.gv-community-slider {
  position: relative;
  width: 100%;
  min-height: clamp(390px, 46vw, 620px);
  overflow: hidden;
  border-radius: 22px;
  background: #f3eaff;
  box-shadow: 0 18px 45px rgba(31, 24, 48, .14);
}

.gv-community-slider .gv-community-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0 !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity .75s ease, visibility .75s ease;
}

.gv-community-slider .gv-community-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.gv-community-slider .gv-community-slide img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(390px, 46vw, 620px);
  object-fit: cover;
  object-position: center;
}

.gv-community-slider__dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 18px;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(25, 18, 39, .48);
  backdrop-filter: blur(7px);
}

.gv-community-slider__dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.gv-community-slider__dot.is-active {
  background: #fff;
}

.gv-community-slider__dot:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

/* Show all three editable images in the Gutenberg editor. */
.editor-styles-wrapper .gv-community-slider,
.block-editor-block-list__layout .gv-community-slider {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  min-height: 0;
  overflow: visible;
  box-shadow: none;
  background: transparent;
}

.editor-styles-wrapper .gv-community-slider .gv-community-slide,
.block-editor-block-list__layout .gv-community-slider .gv-community-slide {
  position: relative;
  inset: auto;
  opacity: 1;
  visibility: visible;
  min-height: 220px;
}

.editor-styles-wrapper .gv-community-slider .gv-community-slide img,
.block-editor-block-list__layout .gv-community-slider .gv-community-slide img {
  min-height: 220px;
  height: 220px;
  border-radius: 14px;
}

@media (max-width: 620px) {
  .gv-community-slider,
  .gv-community-slider .gv-community-slide img {
    min-height: 410px;
  }

  .gv-community-slider {
    border-radius: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gv-community-slider .gv-community-slide {
    transition: none;
  }
}


/* Version 1.2.8: shorter multi-page campaign structure */
.gv-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 38px;
}
.gv-summary-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(26px, 4vw, 38px);
  background: #fff;
  border: 1px solid var(--gv-border);
  border-radius: var(--gv-radius);
  box-shadow: 0 12px 34px rgba(35,25,50,.07);
}
.gv-summary-card h3 {
  margin: 0 0 14px;
  color: var(--gv-navy);
  font-size: clamp(1.45rem, 2.3vw, 1.9rem);
  line-height: 1.18;
}
.gv-summary-card p {
  margin: 0 0 24px;
  color: var(--gv-muted);
  line-height: 1.72;
}
.gv-summary-card .wp-block-buttons { margin-top: auto; }
.gv-page-hero {
  padding: clamp(68px, 9vw, 116px) 0;
  background: linear-gradient(120deg, var(--gv-purple-dark), var(--gv-purple));
  color: #fff;
}
.gv-page-hero h1 { color: #fff; margin: 0 0 18px; font-size: clamp(2.65rem, 6vw, 5.5rem); line-height: 1.02; }
.gv-page-hero p { color: rgba(255,255,255,.9); max-width: 820px; font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.65; }
.gv-page-content { padding: clamp(64px, 8vw, 108px) 0; }
.gv-page-content > .wp-block-group__inner-container,
.gv-page-content > * { max-width: 1100px; }
.gv-food-green {
  background: linear-gradient(135deg, #174c3b, #24715a);
  color: #f7fff9;
}
.gv-food-green h1,
.gv-food-green h2,
.gv-food-green h3,
.gv-food-green h4 { color: #fff !important; }
.gv-food-green p,
.gv-food-green li { color: rgba(247,255,249,.92) !important; }
.gv-food-green .wp-block-button__link {
  background: #fff !important;
  color: #174c3b !important;
}
.gv-food-highlight {
  border-left: 6px solid #6fcf97;
  background: #eef9f2;
  padding: 28px 30px;
  border-radius: 0 16px 16px 0;
}
.gv-food-highlight h2, .gv-food-highlight h3 { color: #174c3b; }
.gv-nav-cards { background: var(--gv-soft); }
.gv-back-link { margin-top: 36px; }
.gv-back-link a { font-weight: 800; color: var(--gv-purple); }

@media (max-width: 760px) {
  .gv-summary-grid { grid-template-columns: 1fr; }
  .gv-summary-card { padding: 25px; }
}


/* Editable food photography on the dedicated food page only */
.gv-food-photo--landscape {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  margin: 0 auto clamp(36px, 5vw, 58px);
  border-radius: 24px;
  overflow: hidden;
  background: #eef3ef;
  box-shadow: 0 18px 44px rgba(19, 69, 49, .18);
}
.gv-food-photo--landscape img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
@media (max-width: 820px) {
  .gv-food-photo--landscape { border-radius: 16px; }
}

/* Responsive visual refinement, v1.3.2 */
:root {
  --gv-content: 1120px;
  --gv-reading: 820px;
  --gv-gutter: clamp(18px, 4vw, 48px);
}

/* Prevent media from exceeding its layout at any viewport size. */
.gv-site img,
.gv-editable-home img,
.entry-content img {
  max-width: 100%;
  height: auto;
}

.gv-container,
.gv-editable-home .alignwide,
.gv-page-hero > *,
.gv-page-content > * {
  width: min(var(--gv-content), calc(100% - (var(--gv-gutter) * 2)));
  max-width: var(--gv-content);
  margin-left: auto;
  margin-right: auto;
}

/* More controlled desktop rhythm. */
.gv-section,
.gv-page-content {
  padding-top: clamp(52px, 6vw, 82px);
  padding-bottom: clamp(52px, 6vw, 82px);
}

.gv-heading {
  font-size: clamp(1.9rem, 3.6vw, 3.15rem);
  line-height: 1.12;
}

.gv-lead,
.gv-page-content > p,
.gv-page-content > ul,
.gv-page-content > ol {
  max-width: var(--gv-reading);
}

/* Hero image: portrait proportion without dominating the page. */
.gv-hero {
  padding-top: clamp(48px, 6vw, 72px);
  padding-bottom: clamp(46px, 6vw, 68px);
}

.gv-hero__grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr);
  gap: clamp(34px, 5vw, 62px);
}

.gv-hero h1 {
  font-size: clamp(2.85rem, 6vw, 5.65rem);
  line-height: .94;
}

.gv-photo-card {
  width: min(100%, 480px);
  min-height: 0;
  aspect-ratio: 4 / 5;
  justify-self: end;
  margin-left: auto;
  border-radius: clamp(18px, 2.5vw, 28px);
}

.gv-photo-card img {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

/* Community slideshow: compact landscape presentation. */
.gv-about__grid {
  grid-template-columns: minmax(300px, .88fr) minmax(0, 1.12fr);
  gap: clamp(36px, 5vw, 64px);
}

.gv-community-slider {
  width: min(100%, 540px);
  min-height: 0;
  aspect-ratio: 4 / 3;
  margin-inline: auto;
}

.gv-community-slider .gv-community-slide,
.gv-community-slider .gv-community-slide img {
  min-height: 0;
  height: 100%;
  aspect-ratio: 4 / 3;
}

/* Dedicated food image stays landscape and does not stretch edge to edge. */
.gv-food-photo--landscape {
  width: min(100%, 920px);
  aspect-ratio: 16 / 9;
  max-height: 520px;
  margin-left: auto;
  margin-right: auto;
}

.gv-food-photo--landscape img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

/* Supporting pages are more restrained than the homepage hero. */
.gv-page-hero {
  padding-top: clamp(58px, 8vw, 92px);
  padding-bottom: clamp(58px, 8vw, 92px);
}

.gv-page-hero h1 {
  font-size: clamp(2.35rem, 5.5vw, 4.7rem);
  line-height: 1.04;
  overflow-wrap: anywhere;
}

.gv-page-hero p {
  font-size: clamp(1.02rem, 1.7vw, 1.25rem);
}

/* Cards remain balanced across common laptop widths. */
.gv-summary-grid,
.gv-priority-grid {
  gap: clamp(16px, 2.2vw, 24px);
}

.gv-summary-card,
.gv-card {
  padding: clamp(22px, 3vw, 32px);
}

.gv-summary-card h3,
.gv-card h3 {
  overflow-wrap: anywhere;
}

/* Tablet */
@media (max-width: 960px) {
  .gv-hero__grid,
  .gv-about__grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }

  .gv-photo-card {
    width: min(100%, 410px);
  }

  .gv-community-slider {
    width: min(100%, 470px);
  }

  .gv-priority-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile and narrow tablet */
@media (max-width: 760px) {
  .gv-hero__grid,
  .gv-about__grid,
  .gv-contact-grid,
  .gv-food__grid,
  .gv-join__grid {
    grid-template-columns: 1fr;
  }

  .gv-hero__grid {
    gap: 38px;
  }

  .gv-hero h1 {
    font-size: clamp(2.6rem, 13vw, 4rem);
    line-height: 1;
  }

  .gv-hero__sub {
    font-size: 1.05rem;
  }

  .gv-photo-card {
    width: min(100%, 370px);
    justify-self: center;
    margin-inline: auto;
  }

  .gv-community-slider {
    width: min(100%, 520px);
    aspect-ratio: 4 / 3;
  }

  .gv-community-slider .gv-community-slide,
  .gv-community-slider .gv-community-slide img {
    aspect-ratio: 4 / 3;
  }

  .gv-summary-grid,
  .gv-priority-grid,
  .gv-news-grid,
  .gv-facts {
    grid-template-columns: 1fr;
  }

  .gv-food-photo--landscape {
    width: 100%;
    max-height: none;
    border-radius: 16px;
  }

  .gv-page-hero h1 {
    font-size: clamp(2.15rem, 10vw, 3.45rem);
  }

  .gv-actions,
  .wp-block-buttons {
    gap: 10px;
  }
}

/* Small phones */
@media (max-width: 480px) {
  :root { --gv-gutter: 18px; }

  .gv-section,
  .gv-page-content {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .gv-hero {
    padding-top: 42px;
    padding-bottom: 48px;
  }

  .gv-heading {
    font-size: clamp(1.75rem, 9vw, 2.35rem);
  }

  .gv-photo-card {
    width: min(100%, 330px);
  }

  .gv-community-slider {
    aspect-ratio: 1 / 1;
    border-radius: 15px;
  }

  .gv-community-slider .gv-community-slide,
  .gv-community-slider .gv-community-slide img {
    aspect-ratio: 1 / 1;
  }

  .gv-community-slider__dots {
    bottom: 12px;
  }

  .gv-button .wp-block-button__link,
  .gv-button {
    width: 100%;
    min-height: 48px;
    text-align: center;
  }

  .gv-actions .wp-block-button,
  .gv-actions .gv-button,
  .gv-actions .wp-block-button__link {
    width: 100%;
  }

  .gv-summary-card,
  .gv-card,
  .gv-food-highlight {
    padding: 21px;
  }

  .gv-quote blockquote {
    font-size: clamp(1.75rem, 9vw, 2.5rem);
  }
}

/* Gutenberg editor previews should remain practical to edit. */
.editor-styles-wrapper .gv-photo-card,
.block-editor-block-list__layout .gv-photo-card {
  max-width: 480px;
  min-height: 0;
  aspect-ratio: 4 / 5;
}

.editor-styles-wrapper .gv-photo-card img,
.block-editor-block-list__layout .gv-photo-card img {
  min-height: 0;
  aspect-ratio: 4 / 5;
}


/* v1.3.3: portrait-centred priorities layout */
.gv-priority-orbit {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) minmax(260px, 0.82fr) minmax(250px, 1fr);
  gap: clamp(22px, 3vw, 42px);
  align-items: center;
  margin: clamp(34px, 5vw, 64px) auto 0;
  max-width: 1240px;
}
.gv-priority-orbit__left,
.gv-priority-orbit__right {
  display: grid;
  gap: 20px;
}
.gv-priority-orbit .gv-card {
  margin: 0;
  min-height: 0;
  padding: clamp(20px, 2.2vw, 28px);
}
.gv-priority-orbit .gv-card h3 {
  font-size: clamp(1.08rem, 1.35vw, 1.35rem);
  line-height: 1.22;
  margin: 0 0 10px;
}
.gv-priority-orbit .gv-card p {
  font-size: clamp(.94rem, 1vw, 1.02rem);
  line-height: 1.58;
  margin: 0;
}
.gv-priority-orbit__centre {
  position: sticky;
  top: 32px;
  align-self: center;
  text-align: center;
}
.gv-priority-portrait {
  width: min(100%, 340px);
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--gv-shadow);
  border: 6px solid #fff;
  background: #fff;
}
.gv-priority-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.gv-priority-portrait__caption {
  margin: 14px 0 0;
  color: var(--gv-purple-dark);
  font-weight: 750;
  font-size: 1.05rem;
}
@media (max-width: 980px) {
  .gv-priority-orbit {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .gv-priority-orbit__centre {
    grid-column: 1 / -1;
    grid-row: 1;
    position: static;
    width: min(100%, 300px);
    margin: 0 auto 8px;
  }
  .gv-priority-orbit__left { grid-column: 1; grid-row: 2; }
  .gv-priority-orbit__right { grid-column: 2; grid-row: 2; }
}
@media (max-width: 680px) {
  .gv-priority-orbit { display: flex; flex-direction: column; gap: 18px; }
  .gv-priority-orbit__centre { order: -1; width: min(82vw, 270px); margin-bottom: 4px; }
  .gv-priority-orbit__left,
  .gv-priority-orbit__right { display: contents; }
  .gv-priority-orbit .gv-card { width: 100%; }
}


/* Twenty Twenty-Five compatibility */
body { overflow-x: hidden; }
.wp-site-blocks { padding-top: 0; padding-bottom: 0; }
.gv-site-header {
  background: #fff;
  border-bottom: 1px solid var(--gv-border);
  padding: 16px clamp(20px, 4vw, 64px);
}
.gv-site-header__inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.gv-site-header .wp-block-site-title {
  margin: 0;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  line-height: 1.2;
  font-weight: 800;
}
.gv-site-header .wp-block-site-title a { color: var(--gv-purple-dark); text-decoration: none; }
.gv-site-header .wp-block-site-logo img { max-height: 58px; width: auto; }
.gv-site-main { margin: 0; padding: 0; }
.gv-site-main > .wp-block-post-content { margin-block-start: 0; }
.gv-site-footer {
  background: var(--gv-purple-dark);
  color: #fff;
  padding: 34px clamp(20px, 4vw, 64px);
  text-align: center;
}
.gv-site-footer p { color: #fff; margin: 0 auto; max-width: 950px; font-size: .94rem; line-height: 1.55; }

/* Hide any inherited Twenty Twenty-Five navigation or duplicate headers. */
.wp-block-template-part nav,
.wp-block-navigation,
header .wp-block-navigation { display: none !important; }

/* Keep campaign content comfortably sized in the block theme. */
.gv-section > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
.gv-page-content > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: 1180px;
}

@media (max-width: 781px) {
  .gv-site-header { padding: 13px 18px; }
  .gv-site-header__inner { justify-content: center; text-align: center; }
  .gv-site-header .wp-block-site-logo { display: none; }
  .gv-site-footer { padding: 28px 20px; }
}


/* v2.0.1: frameless transparent portrait on the Why I’m Running page. */
body.gv-why-running-page .gv-priority-portrait,
body.gv-why-running-page .gv-about__portrait,
body.gv-why-running-page figure.wp-block-image.aligncenter,
body.gv-why-running-page .wp-block-image.gv-standing-portrait {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
  padding: 0 !important;
}

body.gv-why-running-page .gv-priority-portrait img,
body.gv-why-running-page .gv-about__portrait img,
body.gv-why-running-page figure.wp-block-image.aligncenter img,
body.gv-why-running-page .wp-block-image.gv-standing-portrait img {
  display: block;
  width: auto;
  max-width: min(100%, 520px);
  height: auto;
  max-height: 720px;
  margin-inline: auto;
  object-fit: contain;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

body.gv-why-running-page .gv-priority-portrait__caption {
  display: none;
}

@media (max-width: 781px) {
  body.gv-why-running-page .gv-priority-portrait img,
  body.gv-why-running-page .gv-about__portrait img,
  body.gv-why-running-page figure.wp-block-image.aligncenter img,
  body.gv-why-running-page .wp-block-image.gv-standing-portrait img {
    max-width: min(92vw, 390px);
    max-height: 590px;
  }
}

/* v2.0.2: force the centre standing portrait to be completely frameless. */
.gv-priority-layout__portrait,
.gv-priority-layout__portrait > *,
.gv-priority-layout__portrait figure,
.gv-priority-layout__portrait .wp-block-image,
.gv-priority-portrait,
.gv-priority-portrait > *,
.gv-standing-portrait,
.gv-standing-portrait > *,
figure.gv-standing-portrait,
.wp-block-image.gv-standing-portrait,
.wp-block-image.gv-standing-portrait > * {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

.gv-priority-layout__portrait::before,
.gv-priority-layout__portrait::after,
.gv-priority-portrait::before,
.gv-priority-portrait::after,
.gv-standing-portrait::before,
.gv-standing-portrait::after,
figure.gv-standing-portrait::before,
figure.gv-standing-portrait::after {
  content: none !important;
  display: none !important;
}

.gv-priority-layout__portrait img,
.gv-priority-portrait img,
.gv-standing-portrait img,
figure.gv-standing-portrait img,
.wp-block-image.gv-standing-portrait img {
  display: block !important;
  width: auto !important;
  max-width: min(100%, 540px) !important;
  height: auto !important;
  max-height: 760px !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  filter: none !important;
}

/* Remove Twenty Twenty-Five duotone/filter wrappers from this portrait only. */
.gv-priority-layout__portrait .wp-duotone,
.gv-priority-portrait .wp-duotone,
.gv-standing-portrait .wp-duotone {
  filter: none !important;
}

@media (max-width: 781px) {
  .gv-priority-layout__portrait img,
  .gv-priority-portrait img,
  .gv-standing-portrait img,
  figure.gv-standing-portrait img,
  .wp-block-image.gv-standing-portrait img {
    max-width: min(92vw, 400px) !important;
    max-height: 620px !important;
  }
}


/* ==========================================================
   2.1.0 visual system refinement for Twenty Twenty-Five
   Consolidates typography, spacing, colours and responsive rules.
   ========================================================== */
:root {
  --gv-purple: #8a2be2;
  --gv-purple-dark: #5b1594;
  --gv-purple-light: #f4e9ff;
  --gv-navy: #18324a;
  --gv-green: #2f6b4f;
  --gv-green-dark: #24543f;
  --gv-ink: #22242b;
  --gv-muted: #5e6470;
  --gv-soft: #f8f6fa;
  --gv-border: #e4dfe8;
  --gv-radius: 18px;
  --gv-shadow: 0 14px 34px rgba(31, 22, 43, .09);
  --gv-content: 1120px;
  --gv-reading: 760px;
  --gv-gutter: clamp(18px, 4vw, 48px);
  --gv-section-space: clamp(56px, 7vw, 92px);
  --gv-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html { font-size: 16px; }
body {
  font-family: var(--gv-font) !important;
  color: var(--gv-ink);
  background: #fff;
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body :where(h1,h2,h3,h4,h5,h6) {
  font-family: var(--gv-font) !important;
  color: var(--gv-navy);
  font-weight: 780;
  letter-spacing: -.025em;
  line-height: 1.12;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
body h1 { font-size: clamp(2.55rem, 6vw, 5.25rem); margin-block: 0 .45em; }
body h2 { font-size: clamp(2rem, 4vw, 3.25rem); margin-block: 0 .55em; }
body h3 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); margin-block: 0 .55em; }
body p, body li { color: var(--gv-muted); }
body p { margin-block: 0 1.15em; }
body a { text-underline-offset: .17em; text-decoration-thickness: .08em; }

.gv-site-main,
.gv-site-main > .wp-block-post-content { margin: 0 !important; padding: 0 !important; }
.gv-site-main > .wp-block-post-content > * { box-sizing: border-box; }

.gv-container,
.gv-page-content > .wp-block-group__inner-container,
.gv-section > .wp-block-group__inner-container {
  width: min(var(--gv-content), calc(100% - (var(--gv-gutter) * 2))) !important;
  margin-inline: auto !important;
}
.gv-section { padding-block: var(--gv-section-space) !important; }
.gv-page-content { padding: clamp(48px, 6vw, 82px) var(--gv-gutter) !important; }
.gv-page-content > * { max-width: var(--gv-reading); margin-inline: auto; }
.gv-page-content > .alignwide,
.gv-page-content > .gv-priority-orbit,
.gv-page-content > .gv-food-photo--landscape { max-width: var(--gv-content); }

/* Header */
.gv-site-header {
  position: relative;
  z-index: 30;
  margin: 0 !important;
  padding: 0 !important;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid rgba(138,43,226,.12);
  box-shadow: 0 3px 16px rgba(24,50,74,.035);
}
.gv-site-header__inner {
  width: min(var(--gv-content), calc(100% - (var(--gv-gutter) * 2)));
  min-height: 78px;
  margin-inline: auto;
  padding: 10px 0;
  justify-content: flex-start !important;
  gap: 14px;
}
.gv-site-header .wp-block-site-title { margin: 0; }
.gv-site-header .wp-block-site-title a {
  color: var(--gv-navy);
  font-size: clamp(1rem, 2vw, 1.22rem);
  font-weight: 800;
  letter-spacing: .035em;
  text-decoration: none;
}
.gv-site-header .wp-block-site-logo img { border-radius: 0; box-shadow: none; }

/* Hero and page hero */
.gv-hero {
  padding: clamp(54px, 7vw, 86px) var(--gv-gutter) !important;
  background: linear-gradient(135deg, #fbf6ff 0%, #fff 56%, #f4e9ff 100%);
}
.gv-hero__grid {
  width: min(var(--gv-content), 100%);
  margin-inline: auto;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .82fr);
  gap: clamp(36px, 6vw, 72px);
}
.gv-hero h1 { font-size: clamp(2.8rem, 6vw, 5.45rem); line-height: .98; letter-spacing: -.055em; }
.gv-hero__sub { font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.68; }
.gv-page-hero {
  padding: clamp(52px, 7vw, 84px) var(--gv-gutter) !important;
  background: linear-gradient(125deg, var(--gv-purple-dark), var(--gv-purple));
}
.gv-page-hero > * { width: min(var(--gv-content), 100%); margin-inline: auto; }
.gv-page-hero :where(h1,h2,h3,p,.gv-eyebrow) { color: #fff !important; }
.gv-page-hero p { color: rgba(255,255,255,.88) !important; max-width: 760px; }

/* Buttons */
.gv-button,
.wp-block-button__link {
  border-radius: 999px !important;
  padding: .78rem 1.35rem !important;
  min-height: 48px;
  font-family: var(--gv-font) !important;
  font-size: .98rem !important;
  font-weight: 760 !important;
  line-height: 1.2 !important;
  box-shadow: none !important;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}
.gv-button:hover,
.wp-block-button__link:hover { transform: translateY(-1px); }

/* Images */
.gv-photo-card {
  min-height: 0 !important;
  aspect-ratio: 4 / 5;
  max-height: 620px;
  border-radius: 24px;
  box-shadow: var(--gv-shadow);
}
.gv-photo-card img { min-height: 0 !important; height: 100% !important; object-fit: cover; }
.gv-about__portrait {
  min-height: 0 !important;
  aspect-ratio: 4 / 5;
  max-height: 560px;
  padding: 0 !important;
  overflow: hidden;
  box-shadow: var(--gv-shadow);
}
.gv-about__portrait img { width: 100%; height: 100%; object-fit: cover; }
.gv-community-slider {
  width: min(100%, 500px) !important;
  aspect-ratio: 4 / 3 !important;
  min-height: 0 !important;
  border-radius: 20px !important;
  overflow: hidden;
  box-shadow: var(--gv-shadow);
}
.gv-community-slide,
.gv-community-slide figure,
.gv-community-slide img { width: 100%; height: 100%; }
.gv-community-slide img { object-fit: cover !important; }
.gv-food-photo--landscape {
  width: min(100%, 920px) !important;
  aspect-ratio: 16 / 9 !important;
  margin: 34px auto !important;
  border-radius: 18px !important;
  overflow: hidden;
  box-shadow: var(--gv-shadow);
}
.gv-food-photo--landscape img { width: 100% !important; height: 100% !important; object-fit: cover !important; }

/* Summary and priority cards */
.gv-summary-grid,
.gv-priority-grid {
  gap: clamp(16px, 2.4vw, 26px) !important;
  margin-top: 34px !important;
}
.gv-summary-card,
.gv-card,
.gv-priority-orbit__left > .wp-block-group,
.gv-priority-orbit__right > .wp-block-group {
  padding: clamp(22px, 2.8vw, 32px) !important;
  border: 1px solid var(--gv-border) !important;
  border-radius: var(--gv-radius) !important;
  background: #fff !important;
  box-shadow: 0 8px 26px rgba(30,24,38,.055) !important;
}
.gv-summary-card h3,
.gv-card h3 { margin-bottom: 10px !important; }
.gv-summary-card p,
.gv-card p { line-height: 1.65; }
.gv-priority-orbit {
  width: min(var(--gv-content), calc(100% - (var(--gv-gutter) * 2))) !important;
  margin: 40px auto 0 !important;
  grid-template-columns: minmax(0,1fr) minmax(240px,320px) minmax(0,1fr) !important;
  gap: clamp(18px, 3vw, 34px) !important;
  align-items: center !important;
}
.gv-priority-orbit__left,
.gv-priority-orbit__right { gap: 18px !important; }
.gv-priority-orbit__centre { align-self: stretch; display: flex; align-items: flex-end; justify-content: center; }
.gv-priority-portrait,
.gv-standing-portrait {
  width: 100% !important;
  max-width: 330px !important;
  height: auto !important;
  max-height: 660px !important;
  object-fit: contain !important;
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: none !important;
}
.gv-priority-orbit__centre,
.gv-priority-orbit__centre figure,
.gv-priority-orbit__centre .wp-block-image { background: transparent !important; border: 0 !important; padding: 0 !important; box-shadow: none !important; }

/* Food recovery colour treatment */
.gv-food-green,
.gv-food-highlight,
.gv-food {
  background: linear-gradient(135deg, var(--gv-green-dark), var(--gv-green)) !important;
  color: #fff !important;
}
.gv-food-green :where(h1,h2,h3,h4,p,li,a),
.gv-food-highlight :where(h1,h2,h3,h4,p,li,a),
.gv-food :where(h1,h2,h3,h4,p,li,a) { color: #fff !important; }
.gv-food-green p,
.gv-food-highlight p,
.gv-food p { color: rgba(255,255,255,.9) !important; }

/* Ticker */
.gv-values { padding: 15px 0 !important; }
.gv-value { min-height: 36px; padding: 6px 30px; font-size: clamp(.9rem, 1.1vw, 1.02rem); }

/* Footer */
.gv-site-footer {
  margin: 0 !important;
  padding: 28px var(--gv-gutter) !important;
  background: #172131;
  color: rgba(255,255,255,.78);
  text-align: center;
  border: 0;
}
.gv-site-footer p { max-width: var(--gv-content); margin: 0 auto; color: rgba(255,255,255,.82); font-size: .86rem; line-height: 1.55; }

/* Prevent accidental edge-to-edge text in Gutenberg groups */
.wp-block-group.alignfull:not(.gv-hero):not(.gv-page-hero):not(.gv-values):not(.gv-food-green):not(.gv-food-highlight):not(.gv-site-header):not(.gv-site-footer) > .wp-block-group__inner-container {
  padding-inline: var(--gv-gutter);
}

@media (max-width: 900px) {
  body { font-size: 16.5px; }
  .gv-hero__grid,
  .gv-about__grid,
  .gv-contact-grid,
  .gv-join__grid { grid-template-columns: 1fr !important; gap: 34px !important; }
  .gv-hero__copy { order: 1; }
  .gv-photo-card { order: 2; width: min(100%, 500px); margin-inline: auto; }
  .gv-summary-grid,
  .gv-priority-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  .gv-priority-orbit {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    align-items: stretch !important;
  }
  .gv-priority-orbit__centre { grid-column: 1 / -1; grid-row: 1; min-height: 420px; }
  .gv-priority-orbit__left { grid-column: 1; grid-row: 2; }
  .gv-priority-orbit__right { grid-column: 2; grid-row: 2; }
}

@media (max-width: 620px) {
  :root { --gv-gutter: 18px; --gv-section-space: 54px; }
  body { font-size: 16px; line-height: 1.62; }
  .gv-site-header__inner { min-height: 68px; }
  .gv-hero { padding-top: 46px !important; }
  .gv-hero h1 { font-size: clamp(2.65rem, 14vw, 4rem); }
  .gv-actions { display: grid !important; grid-template-columns: 1fr; }
  .gv-button,
  .wp-block-button,
  .wp-block-button__link { width: 100%; }
  .gv-summary-grid,
  .gv-priority-grid,
  .gv-priority-orbit { grid-template-columns: 1fr !important; }
  .gv-priority-orbit__centre,
  .gv-priority-orbit__left,
  .gv-priority-orbit__right { grid-column: 1 !important; grid-row: auto !important; }
  .gv-priority-orbit__centre { min-height: 340px; order: -1; }
  .gv-priority-portrait,
  .gv-standing-portrait { max-height: 520px !important; }
  .gv-community-slider { aspect-ratio: 1 / 1 !important; }
  .gv-photo-card { max-height: 520px; }
  .gv-value { padding-inline: 24px; }
}


/* v2.1.1: stronger blue Meet Geneviève treatment and high-contrast public-service statement. */
.gv-about .gv-eyebrow,
.gv-about__copy .gv-eyebrow,
.gv-about .wp-block-heading:first-of-type,
.gv-about__copy > .wp-block-heading:first-of-type {
  color: #24628f !important;
}

.gv-about .gv-heading,
.gv-about__copy .gv-heading,
.gv-about h2,
.gv-about__copy h2 {
  color: #174f78 !important;
}

.gv-quote,
.gv-quote.has-background,
.wp-block-group.gv-quote {
  background: linear-gradient(135deg, #173f67 0%, #14213d 100%) !important;
}

.gv-quote blockquote,
.gv-quote blockquote p,
.gv-quote .wp-block-quote,
.gv-quote .wp-block-quote p,
.gv-quote > .wp-block-group__inner-container > p:first-child,
.gv-quote .gv-heading {
  color: #ffffff !important;
  opacity: 1 !important;
}

.gv-quote blockquote p,
.gv-quote .wp-block-quote p {
  text-shadow: 0 1px 1px rgba(0,0,0,.12);
}


/* v2.1.2: cleaner attribution beneath the public-service statement. */
.gv-quote cite,
.gv-quote blockquote cite,
.gv-quote .wp-block-quote cite,
.gv-quote figcaption,
.gv-quote .wp-block-quote__citation {
  display: block !important;
  margin-top: 14px !important;
  color: #ffffff !important;
  font-family: Arial, Helvetica, system-ui, -apple-system, "Segoe UI", sans-serif !important;
  font-size: clamp(0.98rem, 1.4vw, 1.12rem) !important;
  font-style: normal !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  letter-spacing: 0.025em !important;
  text-transform: none !important;
  opacity: 1 !important;
  text-shadow: none !important;
  overflow-wrap: anywhere;
}

.gv-quote cite::before,
.gv-quote blockquote cite::before,
.gv-quote .wp-block-quote cite::before,
.gv-quote .wp-block-quote__citation::before {
  content: none !important;
}

/* v2.1.4: equal-height homepage tiles and precisely centred priorities portrait. */
.gv-summary-grid,
.gv-priority-grid {
  align-items: stretch !important;
  grid-auto-rows: 1fr !important;
}

.gv-summary-grid > *,
.gv-priority-grid > *,
.gv-summary-card,
.gv-card {
  height: 100% !important;
  min-height: 100% !important;
  box-sizing: border-box !important;
}

.gv-summary-card,
.gv-card {
  display: flex !important;
  flex-direction: column !important;
}

.gv-summary-card h3,
.gv-card h3 {
  min-height: 3.15em;
  display: flex;
  align-items: flex-start;
}

.gv-summary-card p,
.gv-card p {
  flex: 1 1 auto;
}

/* Centre the portrait both horizontally and vertically on My Priorities. */
.gv-priority-orbit {
  align-items: stretch !important;
}

.gv-priority-orbit__centre {
  align-self: stretch !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 100% !important;
  text-align: center !important;
}

.gv-priority-orbit__centre > *,
.gv-priority-orbit__centre figure,
.gv-priority-orbit__centre .wp-block-image {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.gv-priority-orbit__centre img,
.gv-priority-portrait,
.gv-standing-portrait {
  display: block !important;
  margin: auto !important;
  align-self: center !important;
}

@media (max-width: 620px) {
  .gv-summary-card h3,
  .gv-card h3 {
    min-height: 0;
  }
}


/* v2.1.5: larger priorities portrait, no adjacent text, and aligned homepage tiles. */

/* Make every homepage highlight tile begin on the same horizontal line. */
.gv-summary-grid,
.gv-summary-grid.wp-block-columns,
.gv-priority-grid,
.gv-priority-grid.wp-block-columns {
  align-items: stretch !important;
  align-content: start !important;
}

.gv-summary-grid > *,
.gv-summary-grid > .wp-block-column,
.gv-priority-grid > *,
.gv-priority-grid > .wp-block-column {
  align-self: stretch !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  display: flex !important;
}

.gv-summary-grid > * > .gv-summary-card,
.gv-summary-grid > .wp-block-column > .wp-block-group,
.gv-priority-grid > * > .gv-card,
.gv-priority-grid > .wp-block-column > .wp-block-group {
  width: 100% !important;
  margin-top: 0 !important;
}

.gv-summary-card > :first-child,
.gv-card > :first-child,
.gv-summary-grid .wp-block-column > .wp-block-group > :first-child,
.gv-priority-grid .wp-block-column > .wp-block-group > :first-child {
  margin-top: 0 !important;
}

/* My Priorities: make the portrait dominant and remove accompanying copy. */
.gv-priority-orbit {
  grid-template-columns: minmax(0,1fr) minmax(320px,440px) minmax(0,1fr) !important;
}

.gv-priority-orbit__centre {
  min-height: 680px !important;
  overflow: visible !important;
}

.gv-priority-orbit__centre > :not(figure):not(.wp-block-image),
.gv-priority-orbit__centre figure ~ *,
.gv-priority-orbit__centre .wp-block-image ~ * {
  display: none !important;
}

.gv-priority-orbit__centre figure,
.gv-priority-orbit__centre .wp-block-image {
  max-width: 440px !important;
  width: 100% !important;
  height: 100% !important;
}

.gv-priority-orbit__centre img,
.gv-priority-portrait,
.gv-standing-portrait {
  width: 100% !important;
  max-width: 440px !important;
  max-height: 760px !important;
  object-fit: contain !important;
  object-position: center center !important;
}

@media (max-width: 1100px) {
  .gv-priority-orbit {
    grid-template-columns: minmax(0,1fr) minmax(280px,380px) minmax(0,1fr) !important;
  }
  .gv-priority-orbit__centre {
    min-height: 590px !important;
  }
  .gv-priority-orbit__centre figure,
  .gv-priority-orbit__centre .wp-block-image,
  .gv-priority-orbit__centre img,
  .gv-priority-portrait,
  .gv-standing-portrait {
    max-width: 380px !important;
  }
}

@media (max-width: 900px) {
  .gv-priority-orbit {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  }
  .gv-priority-orbit__centre {
    min-height: 520px !important;
  }
}

@media (max-width: 620px) {
  .gv-priority-orbit__centre {
    min-height: 420px !important;
  }
  .gv-priority-orbit__centre figure,
  .gv-priority-orbit__centre .wp-block-image,
  .gv-priority-orbit__centre img,
  .gv-priority-portrait,
  .gv-standing-portrait {
    max-width: 330px !important;
    max-height: 520px !important;
  }
}

/* v2.1.6: restore comfortable top spacing inside homepage priority tiles. */
.home .gv-summary-card,
.home .gv-priority-grid .gv-card,
.gv-editable-home .gv-summary-card,
.gv-editable-home .gv-priority-grid .gv-card {
  padding-top: clamp(32px, 3vw, 42px) !important;
}

.home .gv-summary-card > :first-child,
.home .gv-priority-grid .gv-card > :first-child,
.gv-editable-home .gv-summary-card > :first-child,
.gv-editable-home .gv-priority-grid .gv-card > :first-child {
  margin-top: 0 !important;
}

@media (max-width: 620px) {
  .home .gv-summary-card,
  .home .gv-priority-grid .gv-card,
  .gv-editable-home .gv-summary-card,
  .gv-editable-home .gv-priority-grid .gv-card {
    padding-top: 28px !important;
  }
}

/* v2.1.7: responsive viewport containment and mobile/tablet spacing */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  min-width: 0;
}

img,
svg,
video,
canvas,
iframe {
  max-width: 100%;
  height: auto;
}

.wp-site-blocks,
.entry-content,
.wp-block-post-content,
.gv-site,
.gv-section,
.gv-container,
.wp-block-group,
.wp-block-columns,
.wp-block-column,
.wp-block-cover,
.wp-block-image,
.wp-block-buttons,
.wp-block-button {
  max-width: 100%;
}

.gv-container {
  width: min(1180px, calc(100% - 48px));
  padding-inline: 0;
}

.wp-block-post-content > .alignfull,
.entry-content > .alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

.gv-values__ticker,
.gv-values__track,
.gv-values__set {
  max-width: none;
}

.gv-card,
.gv-record-card,
.gv-news-card,
.gv-contact-card,
.gv-photo-card,
.gv-about__portrait {
  width: 100%;
}

@media (max-width: 1024px) {
  .gv-container {
    width: calc(100% - 40px);
  }

  .gv-section {
    padding: 72px 0;
  }

  .gv-hero__grid,
  .gv-about__grid,
  .gv-contact-grid,
  .gv-join__grid {
    gap: 38px;
  }

  .gv-priority-grid,
  .gv-news-grid {
    gap: 18px;
  }

  .gv-card,
  .gv-record-card,
  .gv-contact-card {
    padding: 26px;
  }

  .gv-photo-card,
  .gv-photo-card img,
  .gv-photo-placeholder {
    min-height: 460px;
  }
}

@media (max-width: 782px) {
  .gv-container {
    width: calc(100% - 32px);
  }

  .gv-header__inner,
  .gv-hero__grid,
  .gv-about__grid,
  .gv-contact-grid,
  .gv-join__grid,
  .gv-record__grid,
  .gv-priority-grid,
  .gv-news-grid,
  .gv-facts,
  .wp-block-columns {
    width: 100%;
  }

  .wp-block-columns {
    flex-wrap: wrap !important;
    gap: 24px !important;
  }

  .wp-block-column {
    flex-basis: 100% !important;
  }

  .gv-priority-grid,
  .gv-news-grid {
    grid-template-columns: 1fr;
  }

  .gv-section {
    padding: 58px 0;
  }

  .gv-heading {
    font-size: clamp(1.9rem, 8vw, 2.7rem);
    line-height: 1.1;
  }

  .gv-lead,
  .gv-about__copy p,
  .gv-join p {
    font-size: 1.02rem;
    line-height: 1.65;
  }

  .gv-hero {
    padding: 46px 0 50px;
  }

  .gv-hero h1 {
    font-size: clamp(2.7rem, 13vw, 4.5rem);
    line-height: .95;
    letter-spacing: -.05em;
    overflow-wrap: anywhere;
  }

  .gv-hero__sub {
    font-size: 1.05rem;
  }

  .gv-photo-card,
  .gv-photo-card img,
  .gv-photo-placeholder {
    min-height: 400px;
  }

  .gv-actions,
  .wp-block-buttons {
    width: 100%;
  }

  .gv-button,
  .wp-block-button,
  .wp-block-button__link {
    max-width: 100%;
  }

  .gv-card,
  .gv-record-card,
  .gv-contact-card,
  .gv-news-card__body {
    padding: 24px;
  }

  .gv-value {
    padding-inline: 26px;
  }
}

@media (max-width: 480px) {
  .gv-container {
    width: calc(100% - 24px);
  }

  .gv-topbar {
    padding-inline: 12px;
  }

  .gv-section {
    padding: 48px 0;
  }

  .gv-header__inner {
    min-height: 72px;
  }

  .gv-brand strong {
    font-size: 1.08rem;
  }

  .gv-brand span {
    font-size: .68rem;
    letter-spacing: .1em;
  }

  .gv-hero h1 {
    font-size: clamp(2.45rem, 14vw, 3.7rem);
  }

  .gv-actions {
    flex-direction: column;
  }

  .gv-button,
  .wp-block-button,
  .wp-block-button__link {
    width: 100%;
  }

  .gv-card,
  .gv-record-card,
  .gv-contact-card,
  .gv-news-card__body {
    padding: 22px 20px;
  }

  .gv-card h3 {
    font-size: 1.22rem;
    line-height: 1.25;
  }

  .gv-photo-card,
  .gv-photo-card img,
  .gv-photo-placeholder,
  .gv-about__portrait {
    min-height: 340px;
  }

  .gv-photo-label {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 15px 16px;
  }

  .gv-value {
    padding-inline: 22px;
    font-size: .94rem;
  }

  .gv-quote blockquote {
    font-size: clamp(1.75rem, 9vw, 2.5rem);
  }
}


/* v2.1.8: increased mobile and tablet edge spacing without horizontal overflow. */
@media (max-width: 1024px) {
  .gv-container {
    width: calc(100% - 56px) !important;
    max-width: calc(100% - 56px) !important;
  }

  .entry-content > :where(:not(.alignfull)),
  .wp-site-blocks > main > :where(:not(.alignfull)),
  main .wp-block-post-content > :where(:not(.alignfull)) {
    max-width: calc(100% - 56px);
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

@media (max-width: 782px) {
  .gv-container {
    width: calc(100% - 48px) !important;
    max-width: calc(100% - 48px) !important;
  }

  .entry-content > :where(:not(.alignfull)),
  .wp-site-blocks > main > :where(:not(.alignfull)),
  main .wp-block-post-content > :where(:not(.alignfull)) {
    max-width: calc(100% - 48px);
  }

  .gv-card,
  .gv-record-card,
  .gv-contact-card,
  .gv-news-card__body {
    padding-left: 26px;
    padding-right: 26px;
  }
}

@media (max-width: 480px) {
  .gv-container {
    width: calc(100% - 36px) !important;
    max-width: calc(100% - 36px) !important;
  }

  .entry-content > :where(:not(.alignfull)),
  .wp-site-blocks > main > :where(:not(.alignfull)),
  main .wp-block-post-content > :where(:not(.alignfull)) {
    max-width: calc(100% - 36px);
  }

  .gv-card,
  .gv-record-card,
  .gv-contact-card,
  .gv-news-card__body {
    padding-left: 24px;
    padding-right: 24px;
  }
}


/* v2.1.9: centred desktop content at 80% of the viewport. */
@media (min-width: 1025px) {
  .gv-container {
    width: 80% !important;
    max-width: 1440px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .entry-content > :where(:not(.alignfull):not(.alignwide)),
  .wp-site-blocks > main > :where(:not(.alignfull):not(.alignwide)),
  main .wp-block-post-content > :where(:not(.alignfull):not(.alignwide)) {
    width: 80%;
    max-width: 1440px;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .entry-content > .alignwide,
  main .wp-block-post-content > .alignwide {
    width: 80%;
    max-width: 1440px;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}


/* v2.2.0: consolidated responsive layout and spacing system. */
:root {
  --gv-page-max: 1440px;
  --gv-content-max: 1180px;
  --gv-reading-max: 760px;
  --gv-gutter-desktop: clamp(32px, 4vw, 72px);
  --gv-gutter-tablet: 32px;
  --gv-gutter-mobile: 22px;
  --gv-section-y: clamp(56px, 7vw, 96px);
  --gv-card-pad: clamp(24px, 2.4vw, 36px);
  --gv-grid-gap: clamp(20px, 2.2vw, 32px);
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

*, *::before, *::after { box-sizing: border-box; }

.wp-site-blocks,
.wp-site-blocks > main,
.entry-content,
.wp-block-post-content {
  width: 100%;
  max-width: 100%;
  overflow-wrap: anywhere;
}

/* Keep full-width section backgrounds, but contain their inner content. */
.gv-container,
.gv-section > .wp-block-group__inner-container,
.gv-band > .wp-block-group__inner-container,
.gv-green-section > .wp-block-group__inner-container,
.gv-blue-section > .wp-block-group__inner-container,
.gv-purple-section > .wp-block-group__inner-container {
  width: min(80%, var(--gv-page-max)) !important;
  max-width: var(--gv-page-max) !important;
  margin-inline: auto !important;
}

/* Standard content width and readable long-form copy. */
.entry-content > :where(:not(.alignfull)),
.wp-site-blocks > main > :where(:not(.alignfull)),
main .wp-block-post-content > :where(:not(.alignfull)) {
  width: min(80%, var(--gv-page-max));
  max-width: var(--gv-page-max);
  margin-inline: auto !important;
}

.entry-content > :where(p, ul, ol, blockquote),
.wp-block-post-content > :where(p, ul, ol, blockquote),
.gv-copy,
.gv-section-copy {
  max-width: var(--gv-reading-max);
}

/* Consistent section rhythm. */
.gv-section,
.gv-blue-section,
.gv-green-section,
.gv-purple-section,
.gv-values,
.gv-priorities,
.gv-about,
.gv-contact,
.gv-why,
.gv-food {
  padding-block: var(--gv-section-y) !important;
}

.gv-section > *:first-child,
.gv-card > *:first-child,
.gv-record-card > *:first-child,
.gv-contact-card > *:first-child { margin-top: 0 !important; }
.gv-section > *:last-child,
.gv-card > *:last-child,
.gv-record-card > *:last-child,
.gv-contact-card > *:last-child { margin-bottom: 0 !important; }

h1, h2, h3, h4 {
  text-wrap: balance;
  overflow-wrap: normal;
}

h1 { margin-bottom: clamp(18px, 2vw, 28px) !important; }
h2 { margin-bottom: clamp(16px, 1.7vw, 24px) !important; }
h3 { margin-bottom: 12px !important; }

p, li { line-height: 1.68; }

/* Grids and cards align cleanly. */
.gv-grid,
.gv-priority-grid,
.gv-home-priority-grid,
.gv-cards,
.wp-block-columns.gv-equal-cards {
  gap: var(--gv-grid-gap) !important;
  align-items: stretch !important;
}

.gv-grid > *,
.gv-priority-grid > *,
.gv-home-priority-grid > *,
.gv-cards > *,
.wp-block-columns.gv-equal-cards > .wp-block-column {
  min-width: 0;
  height: 100%;
}

.gv-card,
.gv-priority-card,
.gv-home-priority-card,
.gv-record-card,
.gv-contact-card,
.gv-news-card__body {
  padding: var(--gv-card-pad) !important;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.gv-home-priority-card h3,
.gv-priority-card h3,
.gv-card h3 {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Media never exceeds its container. */
img, video, iframe, svg, canvas {
  max-width: 100%;
  height: auto;
}

.wp-block-image,
.wp-block-cover,
.gv-slider,
.gv-slideshow,
.gv-photo-card,
.gv-food-image,
.gv-about__portrait {
  max-width: 100%;
  min-width: 0;
}

.gv-food-image img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }

/* Buttons wrap safely without forcing horizontal scroll. */
.wp-block-buttons { gap: 12px !important; flex-wrap: wrap !important; }
.wp-block-button, .wp-block-button__link {
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

/* Priorities portrait stays centred. */
.gv-priorities-layout,
.gv-priorities-orbit {
  align-items: stretch !important;
}
.gv-priorities-portrait,
.gv-priorities-layout > .wp-block-column:nth-child(2),
.gv-priorities-orbit > .wp-block-column:nth-child(2) {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0;
}
.gv-priorities-portrait figure,
.gv-priorities-layout > .wp-block-column:nth-child(2) figure,
.gv-priorities-orbit > .wp-block-column:nth-child(2) figure {
  margin: auto !important;
  width: min(100%, 520px);
}

@media (max-width: 1200px) {
  .gv-container,
  .gv-section > .wp-block-group__inner-container,
  .gv-band > .wp-block-group__inner-container,
  .gv-green-section > .wp-block-group__inner-container,
  .gv-blue-section > .wp-block-group__inner-container,
  .gv-purple-section > .wp-block-group__inner-container,
  .entry-content > :where(:not(.alignfull)),
  .wp-site-blocks > main > :where(:not(.alignfull)),
  main .wp-block-post-content > :where(:not(.alignfull)) {
    width: calc(100% - (2 * var(--gv-gutter-desktop))) !important;
    max-width: var(--gv-content-max) !important;
  }
}

@media (max-width: 900px) {
  :root { --gv-section-y: 64px; --gv-grid-gap: 22px; }

  .gv-container,
  .gv-section > .wp-block-group__inner-container,
  .gv-band > .wp-block-group__inner-container,
  .gv-green-section > .wp-block-group__inner-container,
  .gv-blue-section > .wp-block-group__inner-container,
  .gv-purple-section > .wp-block-group__inner-container,
  .entry-content > :where(:not(.alignfull)),
  .wp-site-blocks > main > :where(:not(.alignfull)),
  main .wp-block-post-content > :where(:not(.alignfull)) {
    width: calc(100% - (2 * var(--gv-gutter-tablet))) !important;
    max-width: none !important;
  }

  .wp-block-columns,
  .gv-grid,
  .gv-priority-grid,
  .gv-home-priority-grid,
  .gv-priorities-layout,
  .gv-priorities-orbit {
    flex-wrap: wrap !important;
  }

  .wp-block-columns > .wp-block-column,
  .gv-priorities-layout > .wp-block-column,
  .gv-priorities-orbit > .wp-block-column {
    flex-basis: 100% !important;
    width: 100% !important;
  }

  .gv-priorities-layout > .wp-block-column:nth-child(2),
  .gv-priorities-orbit > .wp-block-column:nth-child(2) {
    order: -1;
    min-height: 0 !important;
    margin-bottom: 12px;
  }
}

@media (max-width: 600px) {
  :root {
    --gv-section-y: 48px;
    --gv-card-pad: 24px;
    --gv-grid-gap: 18px;
  }

  .gv-container,
  .gv-section > .wp-block-group__inner-container,
  .gv-band > .wp-block-group__inner-container,
  .gv-green-section > .wp-block-group__inner-container,
  .gv-blue-section > .wp-block-group__inner-container,
  .gv-purple-section > .wp-block-group__inner-container,
  .entry-content > :where(:not(.alignfull)),
  .wp-site-blocks > main > :where(:not(.alignfull)),
  main .wp-block-post-content > :where(:not(.alignfull)) {
    width: calc(100% - (2 * var(--gv-gutter-mobile))) !important;
  }

  .wp-block-button,
  .wp-block-button__link {
    width: 100%;
  }

  .gv-card,
  .gv-priority-card,
  .gv-home-priority-card,
  .gv-record-card,
  .gv-contact-card,
  .gv-news-card__body {
    min-height: 0 !important;
  }

  .gv-priorities-portrait figure,
  .gv-priorities-layout > .wp-block-column:nth-child(2) figure,
  .gv-priorities-orbit > .wp-block-column:nth-child(2) figure {
    width: min(100%, 380px);
  }
}

/* v2.3.0 full-width bands with centred 80% content */
@media (min-width: 1100px) {
  .entry-content > .wp-block-group.alignfull,
  .entry-content > .wp-block-cover.alignfull,
  .entry-content > .wp-block-columns.alignfull,
  .gv-join,
  .gv-quote,
  .gv-priorities,
  .gv-values,
  .gv-topbar {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
  }

  .entry-content > .wp-block-group.alignfull > .wp-block-group__inner-container,
  .entry-content > .wp-block-cover.alignfull > .wp-block-cover__inner-container,
  .entry-content > .wp-block-columns.alignfull,
  .gv-join > .gv-container,
  .gv-quote > .gv-container,
  .gv-priorities > .gv-container,
  .gv-topbar > *,
  .gv-section > .gv-container {
    width: 80% !important;
    max-width: 1440px !important;
    margin-inline: auto !important;
  }

  .gv-priority-grid,
  .gv-news-grid,
  .gv-record__grid,
  .wp-block-columns.gv-priority-grid,
  .wp-block-group.gv-priority-grid,
  .wp-block-columns.gv-home-tiles,
  .wp-block-group.gv-home-tiles {
    width: 80% !important;
    max-width: 1440px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* Compact full-width ticker, approximately three times the text height */
.gv-values {
  min-height: 0 !important;
  padding: .8em 0 !important;
}
.gv-values__ticker,
.gv-values__track,
.gv-values__set {
  min-height: 0 !important;
}
.gv-value {
  min-height: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 1.4 !important;
}

/* Left-to-right gradients for campaign colour bands */
.gv-values,
.gv-purple-background,
.gv-has-purple-background,
.has-gv-purple-background-color,
.has-purple-background-color,
.wp-block-group.has-purple-background-color,
.wp-block-cover.has-purple-background-color {
  background-image: linear-gradient(90deg, #5b1594 0%, #9b4de3 100%) !important;
  background-color: #8a2be2 !important;
}

.gv-join,
.gv-quote,
.gv-blue-background,
.has-gv-navy-background-color,
.has-blue-background-color,
.wp-block-group.has-blue-background-color,
.wp-block-cover.has-blue-background-color {
  background-image: linear-gradient(90deg, #14213d 0%, #29436f 100%) !important;
  background-color: #14213d !important;
}

.gv-green-background,
.has-green-background-color,
.has-vivid-green-cyan-background-color,
.wp-block-group.has-green-background-color,
.wp-block-cover.has-green-background-color,
[style*="background-color: #1f6b4f" i],
[style*="background-color:#1f6b4f" i],
[style*="background: #1f6b4f" i],
[style*="background:#1f6b4f" i] {
  background-image: linear-gradient(90deg, #14533d 0%, #2b7f60 100%) !important;
  background-color: #1f6b4f !important;
}

.gv-soft-background,
.has-gv-soft-background-color,
.has-base-2-background-color,
.wp-block-group.has-base-2-background-color {
  background-image: linear-gradient(90deg, #f8f2ff 0%, #fdfaff 100%) !important;
}

/* Keep coloured bands full width while their direct content is centred */
@media (min-width: 1100px) {
  .entry-content > .wp-block-group.has-background,
  .entry-content > .wp-block-cover.has-background,
  .entry-content > .wp-block-group[style*="background"],
  .entry-content > .wp-block-cover[style*="background"] {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
  }

  .entry-content > .wp-block-group.has-background > *,
  .entry-content > .wp-block-cover.has-background > .wp-block-cover__inner-container,
  .entry-content > .wp-block-group[style*="background"] > *,
  .entry-content > .wp-block-cover[style*="background"] > .wp-block-cover__inner-container {
    width: 80% !important;
    max-width: 1440px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* Responsive gutters remain comfortable below desktop */
@media (max-width: 1099px) {
  .entry-content > .wp-block-group.has-background,
  .entry-content > .wp-block-cover.has-background,
  .gv-join,
  .gv-quote,
  .gv-priorities {
    padding-left: clamp(24px, 5vw, 48px) !important;
    padding-right: clamp(24px, 5vw, 48px) !important;
  }

  .gv-priority-grid,
  .gv-news-grid,
  .gv-record__grid {
    width: 100% !important;
    margin-inline: auto !important;
  }
}

/* v2.3.1: align coloured-section buttons with the left edge of the 80% content container. */
.gv-join .wp-block-buttons,
.gv-quote .wp-block-buttons,
.gv-food .wp-block-buttons,
.gv-food-green .wp-block-buttons,
.gv-food-highlight .wp-block-buttons,
.gv-purple-background .wp-block-buttons,
.gv-blue-background .wp-block-buttons,
.gv-green-background .wp-block-buttons,
.has-gv-purple-background-color .wp-block-buttons,
.has-gv-navy-background-color .wp-block-buttons,
.has-purple-background-color .wp-block-buttons,
.has-blue-background-color .wp-block-buttons,
.has-green-background-color .wp-block-buttons,
.entry-content > .wp-block-group.has-background .wp-block-buttons,
.entry-content > .wp-block-cover.has-background .wp-block-buttons,
.entry-content > .wp-block-group[style*="background"] .wp-block-buttons,
.entry-content > .wp-block-cover[style*="background"] .wp-block-buttons {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  text-align: left !important;
}

.gv-join .wp-block-button,
.gv-quote .wp-block-button,
.gv-food .wp-block-button,
.gv-food-green .wp-block-button,
.gv-food-highlight .wp-block-button,
.gv-purple-background .wp-block-button,
.gv-blue-background .wp-block-button,
.gv-green-background .wp-block-button,
.entry-content > .wp-block-group.has-background .wp-block-button,
.entry-content > .wp-block-cover.has-background .wp-block-button {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

@media (max-width: 600px) {
  .entry-content > .wp-block-group.has-background .wp-block-buttons,
  .entry-content > .wp-block-cover.has-background .wp-block-buttons {
    align-items: stretch !important;
  }
}


/* v2.3.2: use exactly 80% of the browser window, not a fixed desktop maximum. */
@media (min-width: 1100px) {
  .entry-content > .wp-block-group.has-background > *,
  .entry-content > .wp-block-cover.has-background > .wp-block-cover__inner-container,
  .entry-content > .wp-block-group[style*="background"] > *,
  .entry-content > .wp-block-cover[style*="background"] > .wp-block-cover__inner-container,
  .gv-priority-grid,
  .gv-news-grid,
  .gv-record__grid,
  .gv-feature-grid,
  .gv-home-highlights,
  .gv-priorities > .wp-block-group__inner-container {
    width: 80vw !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* v2.3.4: buttons share the exact same 80vw left edge as coloured-section content. */
@media (min-width: 1100px) {
  .entry-content > .wp-block-group.has-background .wp-block-buttons,
  .entry-content > .wp-block-cover.has-background .wp-block-buttons,
  .entry-content > .wp-block-group[style*="background"] .wp-block-buttons,
  .entry-content > .wp-block-cover[style*="background"] .wp-block-buttons,
  .gv-join .wp-block-buttons,
  .gv-quote .wp-block-buttons,
  .gv-food .wp-block-buttons,
  .gv-food-green .wp-block-buttons,
  .gv-food-highlight .wp-block-buttons,
  .gv-purple-background .wp-block-buttons,
  .gv-blue-background .wp-block-buttons,
  .gv-green-background .wp-block-buttons {
    width: 80vw !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
  }

  .entry-content > .wp-block-group.has-background .wp-block-buttons .wp-block-button,
  .entry-content > .wp-block-cover.has-background .wp-block-buttons .wp-block-button,
  .entry-content > .wp-block-group[style*="background"] .wp-block-buttons .wp-block-button,
  .entry-content > .wp-block-cover[style*="background"] .wp-block-buttons .wp-block-button,
  .gv-join .wp-block-buttons .wp-block-button,
  .gv-quote .wp-block-buttons .wp-block-button,
  .gv-food .wp-block-buttons .wp-block-button,
  .gv-food-green .wp-block-buttons .wp-block-button,
  .gv-food-highlight .wp-block-buttons .wp-block-button {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}


/* v2.3.4: unified full-width feature sections with aligned 80vw content and accent rails. */
@media (min-width: 1100px) {
  /* These four homepage feature sections span the full browser window. */
  .gv-join,
  .gv-quote,
  .gv-food,
  .gv-food-green,
  .gv-food-highlight,
  .gv-priorities {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    box-sizing: border-box !important;
  }

  /* One shared inner width and one shared left edge for headings, copy and buttons. */
  .gv-join > .gv-container,
  .gv-quote > .gv-container,
  .gv-food > .gv-container,
  .gv-food-green > .gv-container,
  .gv-food-highlight > .gv-container,
  .gv-priorities > .gv-container,
  .gv-join > .wp-block-group__inner-container,
  .gv-quote > .wp-block-group__inner-container,
  .gv-food > .wp-block-group__inner-container,
  .gv-food-green > .wp-block-group__inner-container,
  .gv-food-highlight > .wp-block-group__inner-container,
  .gv-priorities > .wp-block-group__inner-container,
  .gv-join > .wp-block-cover__inner-container,
  .gv-quote > .wp-block-cover__inner-container,
  .gv-food > .wp-block-cover__inner-container,
  .gv-food-green > .wp-block-cover__inner-container,
  .gv-food-highlight > .wp-block-cover__inner-container,
  .gv-priorities > .wp-block-cover__inner-container {
    width: 80vw !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    text-align: left !important;
  }

  /* White accent rail on coloured sections. */
  .gv-join > .gv-container,
  .gv-quote > .gv-container,
  .gv-food > .gv-container,
  .gv-food-green > .gv-container,
  .gv-join > .wp-block-group__inner-container,
  .gv-quote > .wp-block-group__inner-container,
  .gv-food > .wp-block-group__inner-container,
  .gv-food-green > .wp-block-group__inner-container,
  .gv-join > .wp-block-cover__inner-container,
  .gv-quote > .wp-block-cover__inner-container,
  .gv-food > .wp-block-cover__inner-container,
  .gv-food-green > .wp-block-cover__inner-container {
    border-left: 6px solid rgba(255,255,255,.96) !important;
    padding-left: clamp(26px, 3vw, 52px) !important;
  }

  /* Purple accent rail on white or pale sections such as A practical plan for Coquitlam. */
  .gv-priorities > .gv-container,
  .gv-food-highlight > .gv-container,
  .gv-priorities > .wp-block-group__inner-container,
  .gv-food-highlight > .wp-block-group__inner-container,
  .gv-priorities > .wp-block-cover__inner-container,
  .gv-food-highlight > .wp-block-cover__inner-container {
    border-left: 6px solid var(--gv-purple) !important;
    padding-left: clamp(26px, 3vw, 52px) !important;
  }

  /* Buttons sit beneath copy on the exact same left edge, never on the block edge. */
  .gv-join .wp-block-buttons,
  .gv-quote .wp-block-buttons,
  .gv-food .wp-block-buttons,
  .gv-food-green .wp-block-buttons,
  .gv-food-highlight .wp-block-buttons,
  .gv-priorities .wp-block-buttons,
  .gv-join .gv-actions,
  .gv-quote .gv-actions,
  .gv-food .gv-actions,
  .gv-food-green .gv-actions,
  .gv-food-highlight .gv-actions,
  .gv-priorities .gv-actions {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }
}

/* Tablet and mobile keep the same visual language with safe gutters. */
@media (max-width: 1099px) {
  .gv-join,
  .gv-quote,
  .gv-food,
  .gv-food-green,
  .gv-food-highlight,
  .gv-priorities {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .gv-join > .gv-container,
  .gv-quote > .gv-container,
  .gv-food > .gv-container,
  .gv-food-green > .gv-container,
  .gv-food-highlight > .gv-container,
  .gv-priorities > .gv-container,
  .gv-join > .wp-block-group__inner-container,
  .gv-quote > .wp-block-group__inner-container,
  .gv-food > .wp-block-group__inner-container,
  .gv-food-green > .wp-block-group__inner-container,
  .gv-food-highlight > .wp-block-group__inner-container,
  .gv-priorities > .wp-block-group__inner-container {
    width: 100% !important;
    margin-inline: auto !important;
    box-sizing: border-box !important;
    text-align: left !important;
    padding-right: 0 !important;
  }

  .gv-join > .gv-container,
  .gv-quote > .gv-container,
  .gv-food > .gv-container,
  .gv-food-green > .gv-container,
  .gv-join > .wp-block-group__inner-container,
  .gv-quote > .wp-block-group__inner-container,
  .gv-food > .wp-block-group__inner-container,
  .gv-food-green > .wp-block-group__inner-container {
    border-left: 4px solid rgba(255,255,255,.96) !important;
    padding-left: 22px !important;
  }

  .gv-priorities > .gv-container,
  .gv-food-highlight > .gv-container,
  .gv-priorities > .wp-block-group__inner-container,
  .gv-food-highlight > .wp-block-group__inner-container {
    border-left: 4px solid var(--gv-purple) !important;
    padding-left: 22px !important;
  }
}


/* ================================================================
   v2.3.5: reliable full-window homepage feature sections
   The front-end script adds .gv-feature-section and one shared
   .gv-feature-inner wrapper to the four requested Gutenberg sections.
   ================================================================ */
.gv-feature-section {
  position: relative !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: clamp(56px, 6vw, 92px) 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.gv-feature-section--light {
  background-color: #ffffff !important;
  background-image: linear-gradient(90deg, #ffffff 0%, #fbf7ff 100%) !important;
  color: var(--gv-ink) !important;
}

.gv-feature-section--green {
  background-color: #15543f !important;
  background-image: linear-gradient(90deg, #124b38 0%, #2d8061 100%) !important;
  color: #ffffff !important;
}

.gv-feature-section--blue {
  background-color: #173555 !important;
  background-image: linear-gradient(90deg, #142f4c 0%, #2d628e 100%) !important;
  color: #ffffff !important;
}

/* One actual inner box, exactly 80% of the browser window on desktop. */
.gv-feature-section > .gv-feature-inner {
  display: block !important;
  width: 80vw !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding: 0 0 0 clamp(26px, 3vw, 50px) !important;
  border: 0 !important;
  border-left: 6px solid var(--gv-purple) !important;
  box-sizing: border-box !important;
  text-align: left !important;
}

.gv-feature-section--green > .gv-feature-inner,
.gv-feature-section--blue > .gv-feature-inner {
  border-left-color: rgba(255,255,255,.97) !important;
}

/* Neutralize inherited constrained/wide dimensions within the shared box. */
.gv-feature-section > .gv-feature-inner > *,
.gv-feature-section > .gv-feature-inner > .alignwide,
.gv-feature-section > .gv-feature-inner > .alignfull,
.gv-feature-section > .gv-feature-inner .wp-block-buttons,
.gv-feature-section > .gv-feature-inner .gv-actions {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

.gv-feature-section > .gv-feature-inner > :first-child {
  margin-top: 0 !important;
}
.gv-feature-section > .gv-feature-inner > :last-child {
  margin-bottom: 0 !important;
}

/* Consistent heading and copy alignment. */
.gv-feature-section > .gv-feature-inner h1,
.gv-feature-section > .gv-feature-inner h2,
.gv-feature-section > .gv-feature-inner h3,
.gv-feature-section > .gv-feature-inner p,
.gv-feature-section > .gv-feature-inner blockquote,
.gv-feature-section > .gv-feature-inner ul,
.gv-feature-section > .gv-feature-inner ol {
  text-align: left !important;
}

.gv-feature-section--green > .gv-feature-inner h1,
.gv-feature-section--green > .gv-feature-inner h2,
.gv-feature-section--green > .gv-feature-inner h3,
.gv-feature-section--green > .gv-feature-inner p,
.gv-feature-section--green > .gv-feature-inner a,
.gv-feature-section--green > .gv-feature-inner blockquote,
.gv-feature-section--green > .gv-feature-inner cite,
.gv-feature-section--blue > .gv-feature-inner h1,
.gv-feature-section--blue > .gv-feature-inner h2,
.gv-feature-section--blue > .gv-feature-inner h3,
.gv-feature-section--blue > .gv-feature-inner p,
.gv-feature-section--blue > .gv-feature-inner a,
.gv-feature-section--blue > .gv-feature-inner blockquote,
.gv-feature-section--blue > .gv-feature-inner cite {
  color: #ffffff !important;
}

/* Buttons begin at the exact same left edge as the section copy. */
.gv-feature-section > .gv-feature-inner .wp-block-buttons,
.gv-feature-section > .gv-feature-inner .gv-actions {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  text-align: left !important;
  padding: 0 !important;
}
.gv-feature-section > .gv-feature-inner .wp-block-button,
.gv-feature-section > .gv-feature-inner .wp-block-button__link {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Practical-plan tiles remain centred inside the same 80vw box. */
.gv-feature-section > .gv-feature-inner .gv-summary-grid,
.gv-feature-section > .gv-feature-inner .gv-priority-grid,
.gv-feature-section > .gv-feature-inner .gv-news-grid,
.gv-feature-section > .gv-feature-inner .gv-record__grid {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

@media (max-width: 1099px) {
  .gv-feature-section {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: clamp(48px, 8vw, 72px) 0 !important;
  }
  .gv-feature-section > .gv-feature-inner {
    width: calc(100% - 48px) !important;
    padding-left: 24px !important;
    border-left-width: 5px !important;
  }
}

@media (max-width: 600px) {
  .gv-feature-section > .gv-feature-inner {
    width: calc(100% - 36px) !important;
    padding-left: 18px !important;
    border-left-width: 4px !important;
  }
  .gv-feature-section > .gv-feature-inner .wp-block-buttons {
    align-items: stretch !important;
  }
  .gv-feature-section > .gv-feature-inner .wp-block-button,
  .gv-feature-section > .gv-feature-inner .wp-block-button__link {
    width: 100% !important;
  }
}


/* ================================================================
   v2.3.6: remove white accent rails and coordinate white buttons
   with the colour of their containing section.
   ================================================================ */

/* Remove the white left accent from coloured feature sections while
   retaining the established inner spacing and 80% alignment. */
.gv-feature-section--green > .gv-feature-inner,
.gv-feature-section--blue > .gv-feature-inner,
.gv-feature-section--green > .gv-container,
.gv-feature-section--blue > .gv-container,
.gv-feature-section--green > .wp-block-group__inner-container,
.gv-feature-section--blue > .wp-block-group__inner-container,
.gv-feature-section--green > .wp-block-cover__inner-container,
.gv-feature-section--blue > .wp-block-cover__inner-container,
.gv-join > .gv-container,
.gv-quote > .gv-container,
.gv-food > .gv-container,
.gv-food-green > .gv-container,
.gv-join > .wp-block-group__inner-container,
.gv-quote > .wp-block-group__inner-container,
.gv-food > .wp-block-group__inner-container,
.gv-food-green > .wp-block-group__inner-container,
.gv-join > .wp-block-cover__inner-container,
.gv-quote > .wp-block-cover__inner-container,
.gv-food > .wp-block-cover__inner-container,
.gv-food-green > .wp-block-cover__inner-container {
  border-left: 0 !important;
}

/* White buttons use the main colour of the section for readable text. */
.gv-feature-section--green .wp-block-button__link,
.gv-feature-section--green .gv-button--light .wp-block-button__link,
.gv-food .gv-button--light .wp-block-button__link,
.gv-food-green .gv-button--light .wp-block-button__link,
.gv-food-highlight.has-background .gv-button--light .wp-block-button__link {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #15543f !important;
  -webkit-text-fill-color: #15543f !important;
}

.gv-feature-section--blue .wp-block-button__link,
.gv-feature-section--blue .gv-button--light .wp-block-button__link,
.gv-quote .gv-button--light .wp-block-button__link,
.gv-join .gv-button--light .wp-block-button__link {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #173555 !important;
  -webkit-text-fill-color: #173555 !important;
}

.gv-purple-background .gv-button--light .wp-block-button__link,
.gv-purple-section .gv-button--light .wp-block-button__link,
.has-gv-purple-background-color .gv-button--light .wp-block-button__link,
.has-gv-purple-dark-background-color .gv-button--light .wp-block-button__link {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: var(--gv-purple-dark) !important;
  -webkit-text-fill-color: var(--gv-purple-dark) !important;
}

/* Preserve clear feedback without losing contrast. */
.gv-feature-section--green .wp-block-button__link:hover,
.gv-feature-section--green .wp-block-button__link:focus-visible {
  background: #f1faf6 !important;
  color: #103f30 !important;
  -webkit-text-fill-color: #103f30 !important;
}

.gv-feature-section--blue .wp-block-button__link:hover,
.gv-feature-section--blue .wp-block-button__link:focus-visible {
  background: #f2f7fb !important;
  color: #102a43 !important;
  -webkit-text-fill-color: #102a43 !important;
}

/* ================================================================
   v2.3.7: remove remaining light-section rails and simplify the
   My Priorities page to a clean white, purple and dark-grey palette.
   ================================================================ */

/* The two light homepage feature sections no longer use a left rail. */
.gv-feature-section--practical-plan > .gv-feature-inner,
.gv-feature-section--connect > .gv-feature-inner {
  border-left: 0 !important;
  padding-left: 0 !important;
}

/* My Priorities page: white page canvas and consistent tile palette. */
body.gv-my-priorities-page,
body.gv-my-priorities-page .wp-site-blocks,
body.gv-my-priorities-page main,
body.gv-my-priorities-page .entry-content,
body.gv-my-priorities-page .wp-block-post-content,
body.gv-my-priorities-page .gv-page-hero,
body.gv-my-priorities-page .gv-page-content,
body.gv-my-priorities-page .gv-priorities,
body.gv-my-priorities-page .gv-priority-orbit,
body.gv-my-priorities-page .gv-priorities-layout {
  background: #ffffff !important;
  background-image: none !important;
  color: #3f414a !important;
}

body.gv-my-priorities-page .gv-card,
body.gv-my-priorities-page .gv-priority-card,
body.gv-my-priorities-page .gv-priority-orbit__left > .wp-block-group,
body.gv-my-priorities-page .gv-priority-orbit__right > .wp-block-group,
body.gv-my-priorities-page .gv-priorities-layout > .wp-block-column:not(:nth-child(2)) > .wp-block-group,
body.gv-my-priorities-page .gv-priorities-orbit > .wp-block-column:not(:nth-child(2)) > .wp-block-group {
  background: #ffffff !important;
  background-image: none !important;
  color: #3f414a !important;
  border: 1px solid rgba(90, 42, 130, .18) !important;
  box-shadow: 0 12px 30px rgba(45, 29, 58, .08) !important;
}

body.gv-my-priorities-page .gv-card h2,
body.gv-my-priorities-page .gv-card h3,
body.gv-my-priorities-page .gv-priority-card h2,
body.gv-my-priorities-page .gv-priority-card h3,
body.gv-my-priorities-page .gv-priority-orbit__left h2,
body.gv-my-priorities-page .gv-priority-orbit__left h3,
body.gv-my-priorities-page .gv-priority-orbit__right h2,
body.gv-my-priorities-page .gv-priority-orbit__right h3,
body.gv-my-priorities-page .gv-priorities-layout > .wp-block-column:not(:nth-child(2)) h2,
body.gv-my-priorities-page .gv-priorities-layout > .wp-block-column:not(:nth-child(2)) h3 {
  color: var(--gv-purple) !important;
  -webkit-text-fill-color: var(--gv-purple) !important;
}

body.gv-my-priorities-page .gv-card p,
body.gv-my-priorities-page .gv-card li,
body.gv-my-priorities-page .gv-priority-card p,
body.gv-my-priorities-page .gv-priority-card li,
body.gv-my-priorities-page .gv-priority-orbit__left p,
body.gv-my-priorities-page .gv-priority-orbit__left li,
body.gv-my-priorities-page .gv-priority-orbit__right p,
body.gv-my-priorities-page .gv-priority-orbit__right li,
body.gv-my-priorities-page .gv-priorities-layout > .wp-block-column:not(:nth-child(2)) p,
body.gv-my-priorities-page .gv-priorities-layout > .wp-block-column:not(:nth-child(2)) li {
  color: #454852 !important;
  -webkit-text-fill-color: #454852 !important;
}



/* ================================================================
   v2.3.8: My Priorities page header treatment.
   Keep the page body and tiles white, but give the top title block
   the campaign purple gradient with high-contrast white typography.
   ================================================================ */
body.gv-my-priorities-page .gv-page-hero {
  background: linear-gradient(90deg, var(--gv-purple-dark) 0%, var(--gv-purple) 62%, #a855f7 100%) !important;
  background-image: linear-gradient(90deg, var(--gv-purple-dark) 0%, var(--gv-purple) 62%, #a855f7 100%) !important;
  color: #ffffff !important;
}

body.gv-my-priorities-page .gv-page-hero h1,
body.gv-my-priorities-page .gv-page-hero h2,
body.gv-my-priorities-page .gv-page-hero .gv-page-title,
body.gv-my-priorities-page .gv-page-hero p,
body.gv-my-priorities-page .gv-page-hero .gv-page-intro {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.gv-my-priorities-page .gv-page-hero a {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}


/* ================================================================
   v2.4.0 content refresh refinements
   ================================================================ */
.gv-hero-slogan {
  color: var(--gv-purple) !important;
  font-size: clamp(1.45rem, 2.4vw, 2.35rem) !important;
  line-height: 1.2 !important;
  margin-top: 16px !important;
}

.gv-community-leadership .gv-facts {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(14px, 1.7vw, 22px) !important;
  margin-top: clamp(30px, 4vw, 52px) !important;
}

.gv-community-leadership .gv-fact {
  height: 100%;
  padding: clamp(20px, 2vw, 28px) !important;
  background: linear-gradient(135deg, #ffffff 0%, #fbf7ff 100%) !important;
  border: 1px solid rgba(138,43,226,.15) !important;
  border-radius: 16px !important;
}
.gv-community-leadership .gv-fact h3 {
  color: var(--gv-purple) !important;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem) !important;
  margin-bottom: 8px !important;
}
.gv-community-leadership .gv-fact p { color: #45454f !important; margin: 0 !important; }

.gv-home-priority-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(18px, 2vw, 26px) !important;
  align-items: stretch !important;
  margin-block: clamp(30px, 4vw, 48px) !important;
}
.gv-home-priority-card {
  min-height: 240px !important;
  padding: clamp(28px, 2.4vw, 38px) !important;
}
.gv-home-priority-card h3 {
  color: var(--gv-purple) !important;
  min-height: 3.15em;
  display: flex;
  align-items: flex-start;
}
.gv-home-priority-card p { color: #45454f !important; }

.gv-priority-card ul {
  margin: 0 !important;
  padding-left: 1.2em !important;
  color: #444650 !important;
}
.gv-priority-card li + li { margin-top: .65em !important; }

.gv-priority-orbit {
  width: min(92%, 1500px) !important;
  max-width: none !important;
  grid-template-columns: minmax(290px, 1fr) minmax(320px, .9fr) minmax(290px, 1fr) !important;
  align-items: center !important;
}
.gv-priority-orbit__centre {
  min-height: 680px !important;
  align-self: stretch !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.gv-priority-orbit__centre figure,
.gv-priority-orbit__centre .wp-block-image {
  width: 100% !important;
  max-width: 460px !important;
  margin: auto !important;
}
.gv-priority-orbit__centre img {
  width: 100% !important;
  max-height: 720px !important;
  object-fit: contain !important;
  object-position: center !important;
}

.gv-food-photo--landscape {
  width: min(100%, 1100px) !important;
  margin: 0 auto clamp(30px, 4vw, 52px) !important;
}
.gv-food-photo--landscape img {
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  object-fit: cover !important;
  border-radius: 18px !important;
}

.gv-page-content > h2 { margin-top: clamp(38px, 5vw, 64px) !important; }
.gv-page-content > h2:first-child { margin-top: 0 !important; }
.gv-page-content > ul { margin-bottom: clamp(26px, 3vw, 42px) !important; }

.gv-contact a[href^="mailto:"] { overflow-wrap: anywhere; }

@media (max-width: 1100px) {
  .gv-community-leadership .gv-facts,
  .gv-home-priority-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .gv-priority-orbit {
    grid-template-columns: 1fr 1fr !important;
  }
  .gv-priority-orbit__centre {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    min-height: 520px !important;
  }
  .gv-priority-orbit__left { grid-column: 1 !important; grid-row: 2 !important; }
  .gv-priority-orbit__right { grid-column: 2 !important; grid-row: 2 !important; }
}

@media (max-width: 720px) {
  .gv-community-leadership .gv-facts,
  .gv-home-priority-grid { grid-template-columns: 1fr !important; }
  .gv-home-priority-card { min-height: 0 !important; }
  .gv-home-priority-card h3 { min-height: 0 !important; }
  .gv-priority-orbit { display: flex !important; flex-direction: column !important; width: 100% !important; }
  .gv-priority-orbit__centre { order: -1 !important; min-height: 390px !important; width: 100% !important; }
  .gv-priority-orbit__left,
  .gv-priority-orbit__right { display: contents !important; }
  .gv-priority-orbit__centre figure,
  .gv-priority-orbit__centre .wp-block-image { max-width: 330px !important; }
}


/* ================================================================
   v2.4.1: My Priorities tile headings and portrait signature.
   ================================================================ */
body.gv-my-priorities-page .gv-priority-card > h3.wp-block-heading,
body.gv-my-priorities-page .gv-priority-orbit__left .gv-priority-card > h3.wp-block-heading,
body.gv-my-priorities-page .gv-priority-orbit__right .gv-priority-card > h3.wp-block-heading {
  color: var(--gv-purple) !important;
  -webkit-text-fill-color: var(--gv-purple) !important;
}

body.gv-my-priorities-page .gv-priority-orbit__centre {
  flex-direction: column !important;
  gap: 0 !important;
}

body.gv-my-priorities-page .gv-priority-orbit__centre figure.gv-priority-portrait,
body.gv-my-priorities-page .gv-priority-orbit__centre .wp-block-image.gv-priority-portrait {
  display: block !important;
  line-height: 0 !important;
  margin: auto auto 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-bottom: 7px solid var(--gv-purple) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  overflow: visible !important;
}

body.gv-my-priorities-page .gv-priority-orbit__centre figure.gv-priority-portrait img,
body.gv-my-priorities-page .gv-priority-orbit__centre .wp-block-image.gv-priority-portrait img {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.gv-my-priorities-page .gv-priority-name {
  width: 100% !important;
  margin: 14px 0 0 !important;
  padding: 0 !important;
  color: var(--gv-purple) !important;
  -webkit-text-fill-color: var(--gv-purple) !important;
  font-size: clamp(1.25rem, 1.7vw, 1.65rem) !important;
  font-weight: 750 !important;
  line-height: 1.2 !important;
  text-align: center !important;
}

@media (max-width: 720px) {
  body.gv-my-priorities-page .gv-priority-orbit__centre figure.gv-priority-portrait,
  body.gv-my-priorities-page .gv-priority-orbit__centre .wp-block-image.gv-priority-portrait {
    border-bottom-width: 5px !important;
  }
  body.gv-my-priorities-page .gv-priority-name {
    margin-top: 12px !important;
    font-size: 1.3rem !important;
  }
}


/* ================================================================
   v2.4.2: 2px portrait baseline with the image seated directly on it.
   ================================================================ */
body.gv-my-priorities-page .gv-priority-orbit__centre figure.gv-priority-portrait,
body.gv-my-priorities-page .gv-priority-orbit__centre .wp-block-image.gv-priority-portrait {
  border-bottom-width: 2px !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  line-height: 0 !important;
}

body.gv-my-priorities-page .gv-priority-orbit__centre figure.gv-priority-portrait img,
body.gv-my-priorities-page .gv-priority-orbit__centre .wp-block-image.gv-priority-portrait img {
  display: block !important;
  vertical-align: bottom !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

@media (max-width: 720px) {
  body.gv-my-priorities-page .gv-priority-orbit__centre figure.gv-priority-portrait,
  body.gv-my-priorities-page .gv-priority-orbit__centre .wp-block-image.gv-priority-portrait {
    border-bottom-width: 2px !important;
  }
}


/* ================================================================
   v2.4.3: improve contrast for the homepage public-service paragraph.
   ================================================================ */
.gv-quote > p,
.gv-quote > .wp-block-group__inner-container > p,
.gv-quote .gv-section-inner > p {
  color: #eaf5ff !important;
  -webkit-text-fill-color: #eaf5ff !important;
  opacity: 1 !important;
  font-weight: 500 !important;
}

/* Keep the quotation itself pure white and visually dominant. */
.gv-quote blockquote p,
.gv-quote .wp-block-quote p {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}


/* ================================================================
   v2.4.4: apply the 2px purple rule to the image itself, not the figure.
   ================================================================ */
body.gv-my-priorities-page .gv-priority-orbit__centre figure.gv-priority-portrait,
body.gv-my-priorities-page .gv-priority-orbit__centre .wp-block-image.gv-priority-portrait {
  border: 0 !important;
  border-bottom: 0 !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
  line-height: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.gv-my-priorities-page .gv-priority-orbit__centre figure.gv-priority-portrait img,
body.gv-my-priorities-page .gv-priority-orbit__centre .wp-block-image.gv-priority-portrait img {
  display: block !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-bottom: 2px solid var(--gv-purple) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  vertical-align: bottom !important;
}


/* ================================================================
   v2.4.5: My Priorities opening lead and vertical rhythm.
   ================================================================ */
body.gv-my-priorities-page .gv-page-content.gv-section {
  padding-top: clamp(28px, 3.5vw, 48px) !important;
}

body.gv-my-priorities-page .gv-priorities-lead {
  width: min(80vw, 1180px) !important;
  max-width: 1180px !important;
  margin: 0 auto clamp(34px, 4vw, 54px) !important;
  padding: 0 !important;
  color: var(--gv-navy) !important;
  -webkit-text-fill-color: var(--gv-navy) !important;
  font-size: clamp(1.45rem, 2.15vw, 2.15rem) !important;
  font-weight: 700 !important;
  line-height: 1.34 !important;
  letter-spacing: -0.018em !important;
  text-wrap: balance;
}

body.gv-my-priorities-page .gv-priorities-lead + .gv-priority-orbit {
  margin-top: 0 !important;
}

@media (max-width: 900px) {
  body.gv-my-priorities-page .gv-page-content.gv-section {
    padding-top: 30px !important;
  }
  body.gv-my-priorities-page .gv-priorities-lead {
    width: auto !important;
    max-width: none !important;
    margin: 0 28px 36px !important;
    font-size: clamp(1.35rem, 4.2vw, 1.8rem) !important;
  }
}

@media (max-width: 600px) {
  body.gv-my-priorities-page .gv-page-content.gv-section {
    padding-top: 24px !important;
  }
  body.gv-my-priorities-page .gv-priorities-lead {
    margin: 0 24px 30px !important;
    font-size: clamp(1.25rem, 6vw, 1.55rem) !important;
    line-height: 1.4 !important;
  }
}


/* ==========================================================
   v2.4.6: centred, lighter return-to-home links with icon
   ========================================================== */
.gv-back-link,
.gv-return-home-link {
  width: 100% !important;
  max-width: none !important;
  margin: clamp(2rem, 4vw, 3.5rem) auto !important;
  padding-inline: 0 !important;
  text-align: center !important;
}

.gv-back-link a,
.gv-return-home-link a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.55em !important;
  color: var(--gv-purple) !important;
  font-family: var(--wp--preset--font-family--manrope, Arial, Helvetica, sans-serif) !important;
  font-size: clamp(0.95rem, 1.15vw, 1.05rem) !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  letter-spacing: 0.01em !important;
  text-align: center !important;
  text-decoration: none !important;
}

.gv-back-link a::before,
.gv-return-home-link a::before {
  content: "←";
  display: inline-block;
  font-size: 1.05em;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-0.02em);
}

.gv-back-link a:hover,
.gv-back-link a:focus-visible,
.gv-return-home-link a:hover,
.gv-return-home-link a:focus-visible {
  color: var(--gv-purple-dark) !important;
  text-decoration: underline !important;
  text-underline-offset: 0.25em;
}

@media (max-width: 781px) {
  .gv-back-link,
  .gv-return-home-link {
    margin-block: 1.75rem !important;
    padding-inline: 1rem !important;
  }
}


/* v2.4.8: larger corrected homepage candidacy badge and brighter purple palette. */
.gv-hero .gv-kicker {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 58px;
  margin: 0 0 26px !important;
  padding: 14px 26px !important;
  border: 1px solid rgba(255,255,255,.35) !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, #8a2be2 0%, #a855f7 58%, #315ca8 100%) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: 0 10px 28px rgba(91,21,148,.24);
  font-family: var(--wp--preset--font-family--body, Arial, sans-serif) !important;
  font-size: clamp(1.02rem, 1.55vw, 1.32rem) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: .035em !important;
  text-transform: none !important;
  text-align: center;
  white-space: normal;
}

.gv-hero .gv-kicker::before {
  content: '';
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-right: 12px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255,255,255,.22);
}

/* Force historical purple block colours to the brighter current campaign palette. */
.gv-purple-background,
.gv-has-purple-background,
.has-gv-purple-background-color,
.has-purple-background-color,
.wp-block-group.has-purple-background-color,
.wp-block-cover.has-purple-background-color,
[style*="background-color: #5a2a82" i],
[style*="background-color:#5a2a82" i],
[style*="background: #5a2a82" i],
[style*="background:#5a2a82" i],
[style*="background-color: #35134f" i],
[style*="background-color:#35134f" i],
[style*="background: #35134f" i],
[style*="background:#35134f" i],
[style*="background-color: #5b2a86" i],
[style*="background-color:#5b2a86" i],
[style*="background: #5b2a86" i],
[style*="background:#5b2a86" i],
[style*="background-color: #321547" i],
[style*="background-color:#321547" i],
[style*="background: #321547" i],
[style*="background:#321547" i] {
  background-color: #8a2be2 !important;
  background-image: linear-gradient(90deg, #5b1594 0%, #8a2be2 58%, #a855f7 100%) !important;
}

@media (max-width: 600px) {
  .gv-hero .gv-kicker {
    min-height: 50px;
    padding: 12px 18px !important;
    font-size: clamp(.92rem, 4.2vw, 1.08rem) !important;
    letter-spacing: .02em !important;
  }
  .gv-hero .gv-kicker::before {
    width: 7px;
    height: 7px;
    margin-right: 10px;
  }
}



/* ================================================================
   v2.4.9: definitive homepage candidacy badge correction.
   This intentionally targets the badge globally rather than relying
   on a particular Gutenberg parent wrapper.
   ================================================================ */
.gv-kicker,
.gv-candidate-badge-fixed {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  max-width: min(100%, 760px) !important;
  min-height: 76px !important;
  margin: 0 0 30px !important;
  padding: 18px 36px !important;
  border: 2px solid rgba(255,255,255,.48) !important;
  border-radius: 999px !important;
  background-color: #8f2df0 !important;
  background-image: linear-gradient(90deg, #7418c7 0%, #972ff2 58%, #b463ff 100%) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: 0 14px 34px rgba(116,24,199,.30) !important;
  font-family: var(--wp--preset--font-family--body, Arial, Helvetica, sans-serif) !important;
  font-size: clamp(1.28rem, 2vw, 1.78rem) !important;
  font-weight: 850 !important;
  line-height: 1.18 !important;
  letter-spacing: .015em !important;
  text-transform: none !important;
  text-align: center !important;
  white-space: normal !important;
  overflow: visible !important;
  text-indent: 0 !important;
}

.gv-kicker::before,
.gv-candidate-badge-fixed::before {
  content: none !important;
  display: none !important;
}

@media (max-width: 781px) {
  .gv-kicker,
  .gv-candidate-badge-fixed {
    min-height: 64px !important;
    padding: 15px 24px !important;
    font-size: clamp(1.08rem, 4.4vw, 1.38rem) !important;
    margin-bottom: 24px !important;
  }
}

@media (max-width: 480px) {
  .gv-kicker,
  .gv-candidate-badge-fixed {
    width: 100% !important;
    min-height: 60px !important;
    padding: 14px 18px !important;
    border-radius: 18px !important;
    font-size: clamp(1rem, 5vw, 1.22rem) !important;
  }
}


/* ================================================================
   v2.5.0: authoritative candidacy badge.
   The real HTML is corrected server-side in functions.php. The
   pseudo-element is a visual fail-safe so the leading 2 cannot be
   removed, clipped, or replaced by stale saved page content.
   ================================================================ */
.home .gv-kicker,
.home .gv-candidate-badge-fixed,
body.home p.gv-kicker {
  box-sizing: border-box !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  max-width: calc(100vw - 64px) !important;
  min-height: 96px !important;
  margin: 0 0 34px 0 !important;
  padding: 22px 42px !important;
  border: 2px solid rgba(255,255,255,.58) !important;
  border-radius: 28px !important;
  background: linear-gradient(90deg, #7a16d0 0%, #9d32f4 55%, #b968ff 100%) !important;
  box-shadow: 0 16px 38px rgba(122,22,208,.34) !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  letter-spacing: 0 !important;
  text-indent: 0 !important;
  transform: none !important;
  translate: none !important;
  clip: auto !important;
  clip-path: none !important;
  overflow: visible !important;
  white-space: normal !important;
}

.home .gv-kicker::before,
.home .gv-candidate-badge-fixed::before,
body.home p.gv-kicker::before {
  content: "2026 Candidate for Coquitlam City Council" !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-family: var(--wp--preset--font-family--body, Arial, Helvetica, sans-serif) !important;
  font-size: clamp(2rem, 3.15vw, 3.25rem) !important;
  font-weight: 800 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.02em !important;
  text-align: center !important;
  text-transform: none !important;
  white-space: normal !important;
}

@media (max-width: 781px) {
  .home .gv-kicker,
  .home .gv-candidate-badge-fixed,
  body.home p.gv-kicker {
    width: calc(100vw - 48px) !important;
    max-width: calc(100vw - 48px) !important;
    min-height: 82px !important;
    padding: 18px 24px !important;
    border-radius: 22px !important;
    margin-bottom: 28px !important;
  }

  .home .gv-kicker::before,
  .home .gv-candidate-badge-fixed::before,
  body.home p.gv-kicker::before {
    font-size: clamp(1.55rem, 6vw, 2.15rem) !important;
    line-height: 1.12 !important;
  }
}

@media (max-width: 480px) {
  .home .gv-kicker,
  .home .gv-candidate-badge-fixed,
  body.home p.gv-kicker {
    width: calc(100vw - 36px) !important;
    max-width: calc(100vw - 36px) !important;
    min-height: 76px !important;
    padding: 16px 18px !important;
    border-radius: 18px !important;
  }

  .home .gv-kicker::before,
  .home .gv-candidate-badge-fixed::before,
  body.home p.gv-kicker::before {
    font-size: clamp(1.35rem, 6.2vw, 1.8rem) !important;
  }
}


/* ================================================================
   v2.5.1: rebuilt homepage candidacy banner.
   This is a real rendered block, not generated text or a pseudo-element.
   ================================================================ */
.home .gv-candidacy-banner {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: min(100%, 880px);
  min-height: 132px;
  margin: 0 0 34px;
  padding: 26px 38px 28px;
  border: 2px solid rgba(255, 255, 255, .62);
  border-radius: 24px;
  background: linear-gradient(90deg, #7a16d0 0%, #982df0 52%, #b45cff 100%);
  box-shadow: 0 18px 42px rgba(122, 22, 208, .34);
  color: #fff;
  overflow: visible;
}

.home .gv-candidacy-banner__main {
  display: block;
  margin: 0;
  color: #fff;
  font-family: var(--wp--preset--font-family--heading, Arial, Helvetica, sans-serif);
  font-size: clamp(2.35rem, 4.15vw, 4.5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.home .gv-candidacy-banner__date {
  display: block;
  margin-top: 13px;
  color: rgba(255, 255, 255, .92);
  font-family: var(--wp--preset--font-family--body, Arial, Helvetica, sans-serif);
  font-size: clamp(1rem, 1.35vw, 1.28rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: .015em;
}

@media (max-width: 781px) {
  .home .gv-candidacy-banner {
    width: 100%;
    min-height: 112px;
    margin-bottom: 28px;
    padding: 23px 26px 25px;
    border-radius: 20px;
  }

  .home .gv-candidacy-banner__main {
    font-size: clamp(2rem, 7.2vw, 3rem);
    line-height: 1.05;
  }

  .home .gv-candidacy-banner__date {
    margin-top: 10px;
    font-size: clamp(.95rem, 3.8vw, 1.12rem);
  }
}

@media (max-width: 480px) {
  .home .gv-candidacy-banner {
    padding: 20px 20px 22px;
    border-radius: 18px;
  }

  .home .gv-candidacy-banner__main {
    font-size: clamp(1.82rem, 8.5vw, 2.45rem);
  }
}
