/* ============================================================
   Greater Zion — V4 Block Toolkit
   ------------------------------------------------------------
   Styling for the v4 editor tools (block styles + patterns)
   registered in lib/v4-block-toolkit.php. Loaded on the front
   end AND injected into the block-editor iframe so what an
   editor sees while typing matches the published page.

   Two class conventions:
     .is-style-gz-v4-*  → registered block STYLES (WP prefixes
                          the slug with `is-style-`). One-click
                          from the block Styles panel.
     .gz-v4-*           → helper classes used inside the v4
                          PATTERNS (stat label/value, hero, cta).

   Self-contained tokens (`--gzv4-*`) so it does not depend on
   gz-global.css being present — important inside the editor
   iframe, which does not load the front-end stylesheet.
   ============================================================ */

:root {
  --gzv4-dark-blue:  #364b54;
  --gzv4-blue-deep:  #243339;
  --gzv4-orange:     #EB6B40;
  --gzv4-aqua:       #42B5BF;
  --gzv4-sand:       #F4ECDF;
  --gzv4-sand-light: #FAF6F0;
  --gzv4-stone:      #3D3D3B;
  --gzv4-stone-soft: #6F6E6A;
  --gzv4-line:       #E6DFD2;
  --gzv4-white:      #ffffff;

  --gzv4-display: "Barlow Condensed", "Barlow", "Arial Narrow", sans-serif;
  --gzv4-body:    "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --gzv4-ease:    cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============== Text styles ============== */

/* Eyebrow — small uppercase kicker above a headline (paragraph style) */
.is-style-gz-v4-eyebrow {
  font-family: var(--gzv4-body);
  font-weight: 800;
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gzv4-orange);
  margin: 0 0 0.6rem;
}

/* Lede — larger intro paragraph */
.is-style-gz-v4-lede {
  font-family: var(--gzv4-body);
  font-size: clamp(1.0625rem, 1.5vw, 1.35rem);
  line-height: 1.6;
  color: var(--gzv4-stone);
  max-width: 46rem;
  margin: 0;
  text-wrap: pretty;
}

/* Display — big Barlow Condensed heading (heading style) */
.is-style-gz-v4-display {
  font-family: var(--gzv4-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.012em;
  line-height: 0.95;
  font-size: clamp(2rem, 5vw, 3.75rem);
  color: var(--gzv4-dark-blue);
  margin: 0 0 1rem;
  text-wrap: balance;
}

/* ============== Buttons ============== */

/* Shared button shape for both v4 button styles */
.is-style-gz-v4-orange .wp-block-button__link,
.is-style-gz-v4-outline .wp-block-button__link {
  font-family: var(--gzv4-body);
  font-weight: 800;
  letter-spacing: 0.03em;
  border-radius: 999px;
  padding: 0.9em 1.75em;
  text-decoration: none;
  transition:
    transform 0.2s var(--gzv4-ease),
    background-color 0.2s var(--gzv4-ease),
    color 0.2s var(--gzv4-ease),
    box-shadow 0.2s var(--gzv4-ease);
}

/* Solid orange (brand orange used as-is — never darkened) */
.is-style-gz-v4-orange .wp-block-button__link {
  background: var(--gzv4-orange);
  color: #15191C;
  border: none;
  box-shadow: 0 8px 22px rgba(235, 107, 64, 0.26);
}
.is-style-gz-v4-orange .wp-block-button__link:hover,
.is-style-gz-v4-orange .wp-block-button__link:focus-visible {
  background: var(--gzv4-sand-light);
  color: var(--gzv4-blue-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(20, 25, 28, 0.28);
}

/* Outline */
.is-style-gz-v4-outline .wp-block-button__link {
  background: transparent;
  color: var(--gzv4-dark-blue);
  border: 2px solid var(--gzv4-dark-blue);
}
.is-style-gz-v4-outline .wp-block-button__link:hover,
.is-style-gz-v4-outline .wp-block-button__link:focus-visible {
  background: var(--gzv4-dark-blue);
  color: var(--gzv4-sand-light);
  transform: translateY(-2px);
}

/* ============== Pull quote ============== */
/* The compound selector (element + 2 classes) plus trailing source order
   overrides the theme's `.page-content .article-content blockquote` box
   (specificity 0,2,1): a 1px border, border-radius, inline-block, and a
   FontAwesome `::before` quote-mark. Reset all of it back to a clean rule. */
blockquote.wp-block-quote.is-style-gz-v4-pullquote {
  display: block;
  border: none;
  border-left: 3px solid var(--gzv4-orange);
  border-radius: 0;
  margin: 2rem 0;
  padding: 0.25rem 0 0.25rem 1.5rem;
  position: relative;
  font-family: var(--gzv4-body);
}
blockquote.wp-block-quote.is-style-gz-v4-pullquote::before {
  content: none;
  display: none;
}
blockquote.wp-block-quote.is-style-gz-v4-pullquote p {
  font-family: var(--gzv4-body);
  font-weight: 700;
  font-size: clamp(1.375rem, 2.4vw, 1.9rem);
  line-height: 1.25;
  color: var(--gzv4-dark-blue);
  margin: 0 0 0.5rem;
  text-wrap: pretty;
}
/* The theme absolutely-positions cite (`bottom:-1rem; background:#fff`) at a
   higher specificity, which floats it out of flow. !important on the layout
   props is the reliable way to pull it back inline. */
blockquote.wp-block-quote.is-style-gz-v4-pullquote cite {
  position: static !important;
  bottom: auto !important;
  background: none !important;
  padding: 0 !important;
  display: block;
  margin-top: 0.5rem;
  font-family: var(--gzv4-body) !important;
  font-style: normal;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gzv4-stone-soft) !important;
}
.is-style-gz-v4-section-dark blockquote.wp-block-quote.is-style-gz-v4-pullquote p {
  color: var(--gzv4-sand-light);
}

/* ============== Callout / note ============== */
.is-style-gz-v4-callout {
  box-sizing: border-box;
  max-width: 100%;
  background: var(--gzv4-sand);
  border-left: 4px solid var(--gzv4-orange);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  color: var(--gzv4-stone);
}
.is-style-gz-v4-callout > :first-child { margin-top: 0; }
.is-style-gz-v4-callout > :last-child  { margin-bottom: 0; }
.is-style-gz-v4-callout h1,
.is-style-gz-v4-callout h2,
.is-style-gz-v4-callout h3,
.is-style-gz-v4-callout h4 {
  font-family: var(--gzv4-display);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--gzv4-dark-blue);
  margin: 0 0 0.4rem;
}

/* ============== Card ============== */
.is-style-gz-v4-card {
  box-sizing: border-box;
  max-width: 100%;
  background: var(--gzv4-white);
  border: 1px solid var(--gzv4-line);
  border-radius: 14px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: 0 10px 30px rgba(20, 25, 28, 0.06);
}

/* ============== Section bands ============== */
/* border-box + max-width:100% so the horizontal padding stays INSIDE the
   container width — without it the padding overflows the viewport on narrow
   screens and clips the content on the right. */
.is-style-gz-v4-section-dark,
.is-style-gz-v4-section-sand {
  box-sizing: border-box;
  max-width: 100%;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.25rem, 5vw, 4rem);
}
/* Tighter band around a stat strip so the sand frame hugs the numbers. */
.gz-v4-statband {
  padding-top: clamp(1.75rem, 4vw, 2.75rem);
  padding-bottom: clamp(1.75rem, 4vw, 2.75rem);
}
.is-style-gz-v4-section-sand {
  background: var(--gzv4-sand);
  color: var(--gzv4-stone);
}
.is-style-gz-v4-section-dark {
  background: var(--gzv4-dark-blue);
  color: var(--gzv4-sand-light);
}

/* On dark bands, pull the type + links to light so contrast holds */
.is-style-gz-v4-section-dark .is-style-gz-v4-display,
.is-style-gz-v4-section-dark h1,
.is-style-gz-v4-section-dark h2,
.is-style-gz-v4-section-dark h3,
.is-style-gz-v4-section-dark h4 {
  color: var(--gzv4-sand-light);
}
.is-style-gz-v4-section-dark p,
.is-style-gz-v4-section-dark .is-style-gz-v4-lede {
  color: rgba(250, 246, 240, 0.88);
}
.is-style-gz-v4-section-dark a:not(.wp-block-button__link) {
  color: var(--gzv4-aqua);
}
/* Outline buttons need light treatment on the dark band */
.is-style-gz-v4-section-dark .is-style-gz-v4-outline .wp-block-button__link {
  color: var(--gzv4-sand-light);
  border-color: rgba(250, 246, 240, 0.5);
}
.is-style-gz-v4-section-dark .is-style-gz-v4-outline .wp-block-button__link:hover,
.is-style-gz-v4-section-dark .is-style-gz-v4-outline .wp-block-button__link:focus-visible {
  background: var(--gzv4-sand-light);
  color: var(--gzv4-blue-deep);
  border-color: var(--gzv4-sand-light);
}

/* ============== Stat strip ============== */
.is-style-gz-v4-stats {
  border-top: 1px solid var(--gzv4-line);
  border-bottom: 1px solid var(--gzv4-line);
  gap: 0 !important;
}
.is-style-gz-v4-stats .wp-block-column {
  padding: 1.25rem 1.5rem;
}
.is-style-gz-v4-stats .wp-block-column + .wp-block-column {
  border-left: 1px solid var(--gzv4-line);
}
.gz-v4-stat__label {
  font-family: var(--gzv4-body);
  font-weight: 700;
  font-size: 0.8125rem;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gzv4-stone-soft);
  margin: 0 0 0.4rem;
}
.gz-v4-stat__value {
  font-family: var(--gzv4-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  line-height: 1.05;
  color: var(--gzv4-dark-blue);
  margin: 0;
  /* Keep multi-word values whole in narrow columns instead of snapping
     mid-word (theme content inherits an aggressive word-break otherwise). */
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
/* Dark-band stats: lighten the divider + value */
.is-style-gz-v4-section-dark .is-style-gz-v4-stats,
.is-style-gz-v4-section-dark .is-style-gz-v4-stats .wp-block-column + .wp-block-column {
  border-color: rgba(250, 246, 240, 0.18);
}
.is-style-gz-v4-section-dark .gz-v4-stat__value { color: var(--gzv4-sand-light); }
.is-style-gz-v4-section-dark .gz-v4-stat__label { color: rgba(250, 246, 240, 0.7); }

/* Stack the strip on small screens: stRow → column, side borders → top */
@media (max-width: 781px) {
  .is-style-gz-v4-stats .wp-block-column + .wp-block-column {
    border-left: none;
    border-top: 1px solid var(--gzv4-line);
  }
  .is-style-gz-v4-section-dark .is-style-gz-v4-stats .wp-block-column + .wp-block-column {
    border-top-color: rgba(250, 246, 240, 0.18);
  }
}

/* ============== Native-block inner width ============== */
/* Full-bleed v4 bands (native blocks) center their content to a readable
   column. Pattern versions use core's constrained layout; native blocks use
   this wrapper. */
.gz-v4-inner {
  max-width: 1100px;
  margin-inline: auto;
}
.gz-v4-cta .gz-v4-inner {
  max-width: 760px;
}

/* ============== Pattern helpers (hero / cta) ============== */
.gz-v4-hero .is-style-gz-v4-display { margin-bottom: 1.25rem; }

.gz-v4-cta { text-align: center; }
.gz-v4-cta .is-style-gz-v4-lede { margin-inline: auto; }
.gz-v4-cta .wp-block-buttons {
  justify-content: center;
  margin-top: 1.75rem;
}

/* ============== Section header (block) ============== */
.gz-v4-section-header { margin: 2rem 0; }
.gz-v4-section-header--center { text-align: center; }
.gz-v4-section-header--center .is-style-gz-v4-lede { margin-inline: auto; }
.gz-v4-section-header > :last-child { margin-bottom: 0; }

/* ============== Media + Text (block) ============== */
.gz-v4-media-text {
  /* auto-fit + minmax makes the split collapse to one column based on the
     block's OWN width (e.g. inside a narrow post column with a sidebar),
     not the viewport — no cramped 2-up in tight columns. */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin: 2rem 0;
}
.gz-v4-media-text--reverse .gz-v4-media-text__media { order: 2; }
.gz-v4-media-text__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}
.gz-v4-media-text__body > :first-child { margin-top: 0; }
.gz-v4-media-text__body > :last-child { margin-bottom: 0; }

/* ============== Numbered steps (block) ============== */
.gz-v4-steps {
  list-style: none;
  margin: 2rem 0;
  padding: 0;
}
.gz-v4-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--gzv4-line);
}
.gz-v4-step:last-child { border-bottom: 1px solid var(--gzv4-line); }
.gz-v4-step__index {
  font-family: var(--gzv4-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1;
  color: var(--gzv4-orange);
}
.gz-v4-step__body > :first-child { margin-top: 0; }
.gz-v4-step__body > :last-child { margin-bottom: 0; }
.gz-v4-step__body h3 {
  font-family: var(--gzv4-display);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--gzv4-dark-blue);
  margin: 0 0 0.4rem;
}

/* ============== FAQ / accordion (block) ============== */
.gz-v4-faq { margin: 2rem 0; }
.gz-v4-faq__item { border-top: 1px solid var(--gzv4-line); }
.gz-v4-faq__item:last-child { border-bottom: 1px solid var(--gzv4-line); }
.gz-v4-faq__q {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 2.5rem 1.1rem 0;
  position: relative;
  font-family: var(--gzv4-display);
  font-weight: 700;
  font-size: clamp(1.125rem, 1.8vw, 1.4rem);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--gzv4-dark-blue);
}
.gz-v4-faq__q::-webkit-details-marker { display: none; }
.gz-v4-faq__q::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--gzv4-orange);
}
.gz-v4-faq__item[open] .gz-v4-faq__q::after { content: "\2013"; }
.gz-v4-faq__a { padding: 0 0 1.25rem; color: var(--gzv4-stone); }
.gz-v4-faq__a > :first-child { margin-top: 0; }
.gz-v4-faq__a > :last-child { margin-bottom: 0; }
/* Editor: items aren't collapsed, so drop the +/- affordance there */
.gz-v4-faq--editor .gz-v4-faq__q { cursor: text; }
.gz-v4-faq--editor .gz-v4-faq__q::after { display: none; }

/* ============== Feature / icon cards (block) ============== */
.gz-v4-features {
  display: grid;
  /* Cap track width so a few cards don't balloon to fill; center the row. */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 360px));
  justify-content: center;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  margin: 2rem 0;
}
.gz-v4-feature {
  display: flex;
  flex-direction: column;
  background: var(--gzv4-white);
  border: 1px solid var(--gzv4-line);
  border-radius: 14px;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  box-shadow: 0 10px 30px rgba(20, 25, 28, 0.06);
}
.gz-v4-feature__link {
  margin-top: auto;
  padding-top: 0.85rem;
  align-self: flex-start;
  font-family: var(--gzv4-body);
  font-weight: 800;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--gzv4-orange);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.gz-v4-feature__link:hover,
.gz-v4-feature__link:focus-visible { color: var(--gzv4-dark-blue); }
.gz-v4-feature__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(235, 107, 64, 0.12);
  margin-bottom: 1rem;
  overflow: hidden;
}
.gz-v4-feature__icon img { width: 26px; height: 26px; object-fit: contain; }
.gz-v4-feature h3 {
  font-family: var(--gzv4-display);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--gzv4-dark-blue);
  margin: 0 0 0.4rem;
}
.gz-v4-feature__body > :first-child { margin-top: 0; }
.gz-v4-feature__body > :last-child { margin-bottom: 0; }

/* ============== Info / spec box (block) ============== */
.gz-v4-specs {
  margin: 2rem 0;
  border: 1px solid var(--gzv4-line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--gzv4-white);
}
.gz-v4-spec {
  display: grid;
  grid-template-columns: minmax(8rem, 34%) 1fr;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  border-top: 1px solid var(--gzv4-line);
}
.gz-v4-spec:first-child { border-top: 0; }
/* Editor: make room for the per-row remove control. */
.gz-v4-specs--editor .gz-v4-spec { grid-template-columns: minmax(6rem, 28%) 1fr auto; }
.gz-v4-spec__label {
  font-family: var(--gzv4-body);
  font-weight: 800;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gzv4-stone-soft);
  margin: 0;
  align-self: center;
}
.gz-v4-spec__value {
  font-family: var(--gzv4-body);
  color: var(--gzv4-stone);
  margin: 0;
  align-self: center;
}

/* ============== Card grid (block) ============== */
.gz-v4-cards {
  display: grid;
  /* Cap track width so a few cards don't balloon to fill; center the row. */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 380px));
  justify-content: center;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  margin: 2rem 0;
}
.gz-v4-card-item {
  display: flex;
  flex-direction: column;
  background: var(--gzv4-white);
  border: 1px solid var(--gzv4-line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(20, 25, 28, 0.06);
}
.gz-v4-card-item__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--gzv4-sand); }
/* Absolutely fill the box — a percentage height won't reliably resolve against
   an aspect-ratio-derived height inside a flex column, which left a sand gap. */
.gz-v4-card-item__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; }
/* The theme adds a top margin to content images; reset it inside v4 image
   wrappers so it can't offset our boxes (left a sand gap on the cards). */
.gz-v4-media-text__media img,
.gz-v4-feature__icon img,
.gz-v4-slide__media img,
.gz-v4-testimonial__avatar { margin: 0; }
.gz-v4-card-item__body {
  padding: 1.25rem 1.375rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.gz-v4-card-item__title {
  font-family: var(--gzv4-display);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-size: clamp(1.125rem, 1.8vw, 1.375rem);
  color: var(--gzv4-dark-blue);
  margin: 0;
}
.gz-v4-card-item__text { margin: 0; color: var(--gzv4-stone); }
.gz-v4-card-item__link {
  margin-top: auto;
  padding-top: 0.35rem;
  font-family: var(--gzv4-body);
  font-weight: 800;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--gzv4-orange);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.gz-v4-card-item__link:hover,
.gz-v4-card-item__link:focus-visible { color: var(--gzv4-dark-blue); }

/* ============== Hero background photo ============== */
.gz-v4-hero--bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ============== Testimonial (block) ============== */
.gz-v4-testimonial {
  margin: 2rem 0;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--gzv4-sand);
  border-radius: 16px;
}
.gz-v4-testimonial__quote {
  font-family: var(--gzv4-body);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.35;
  color: var(--gzv4-dark-blue);
  margin: 0 0 1.25rem;
  text-wrap: pretty;
}
.gz-v4-testimonial__person { display: flex; align-items: center; gap: 0.9rem; }
.gz-v4-testimonial__avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.gz-v4-testimonial__name {
  font-family: var(--gzv4-body);
  font-weight: 800;
  color: var(--gzv4-dark-blue);
  margin: 0;
  line-height: 1.2;
}
.gz-v4-testimonial__role {
  font-family: var(--gzv4-body);
  font-size: 0.875rem;
  color: var(--gzv4-stone-soft);
  margin: 0;
}

/* ============== Image banner (block) ============== */
.gz-v4-banner {
  position: relative;
  margin: 2rem 0;
  min-height: clamp(220px, 40vh, 460px);
  display: flex;
  align-items: flex-end;
  border-radius: 16px;
  overflow: hidden;
  background: var(--gzv4-dark-blue) center / cover no-repeat;
  color: var(--gzv4-sand-light);
}
.gz-v4-banner.alignfull { border-radius: 0; }
.gz-v4-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,25,28,0.72) 0%, rgba(20,25,28,0.15) 55%, transparent 100%);
  pointer-events: none;
}
.gz-v4-banner__content {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
  max-width: 66rem;      /* centered content column, like the other bands' inner */
  margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 3rem);
}
.gz-v4-banner__content > :first-child { margin-top: 0; }
.gz-v4-banner__content > :last-child { margin-bottom: 0; }
.gz-v4-banner__content .is-style-gz-v4-display { color: var(--gzv4-sand-light); }
.gz-v4-banner__content .is-style-gz-v4-eyebrow { color: var(--gzv4-orange); }
.gz-v4-banner__content .is-style-gz-v4-lede { color: rgba(250, 246, 240, 0.9); }

/* ============== Icon checklist (block) ============== */
.gz-v4-checklist {
  list-style: none;
  margin: 2rem 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.gz-v4-checklist__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
}
.gz-v4-checklist__mark {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 0.05rem;
  border-radius: 50%;
  background: rgba(66, 181, 191, 0.15);
  color: var(--gzv4-aqua);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.gz-v4-checklist__text { margin: 0; color: var(--gzv4-stone); }
.gz-v4-checklist__text > :first-child { margin-top: 0; }
.gz-v4-checklist__text > :last-child { margin-bottom: 0; }
/* Editor: room for the per-row remove control. */
.gz-v4-checklist-editor .gz-v4-checklist__item { grid-template-columns: auto 1fr auto; align-items: center; }

/* ============== Information slider (block) ============== */
/* Cap the overall width + center, so a full-width context doesn't blow the
   slider up to an oversized single slide. container-type lets the slide layout
   respond to the SLIDER's own width (not the viewport). */
.gz-v4-slider { margin: 2rem auto; max-width: 70rem; }
.gz-v4-slider__viewport { overflow: hidden; border-radius: 16px; container-type: inline-size; }
.gz-v4-slider__track {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gz-v4-slider__track::-webkit-scrollbar { display: none; }
.gz-v4-slider__slide {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
  background: var(--gzv4-sand);
  display: grid;
}
.gz-v4-slide__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--gzv4-dark-blue); }
.gz-v4-slide__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gz-v4-slide__body { padding: clamp(1.5rem, 3vw, 2.5rem); align-self: center; }
/* Wide slider: put image beside the text (shorter, less oversized). Driven by
   the slider's own width via the container query above, not the viewport. */
@container (min-width: 620px) {
  .gz-v4-slider__slide:has(.gz-v4-slide__media) { grid-template-columns: 1.05fr 1fr; }
  .gz-v4-slider__slide:has(.gz-v4-slide__media) .gz-v4-slide__media {
    aspect-ratio: auto;
    height: 100%;
    min-height: 320px;
  }
}
.gz-v4-slide__body > :first-child { margin-top: 0; }
.gz-v4-slide__heading {
  font-family: var(--gzv4-display);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-size: clamp(1.375rem, 2.4vw, 2rem);
  color: var(--gzv4-dark-blue);
  margin: 0 0 0.5rem;
}
.gz-v4-slide__text { color: var(--gzv4-stone); }
.gz-v4-slide__text > :first-child { margin-top: 0; }
.gz-v4-slide__text > :last-child { margin-bottom: 0; }
.gz-v4-slide__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-family: var(--gzv4-body);
  font-weight: 800;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--gzv4-orange);
  text-decoration: none;
}
.gz-v4-slide__link:hover,
.gz-v4-slide__link:focus-visible { color: var(--gzv4-dark-blue); }

/* Controls — hidden until JS adds .is-ready (scroll-snap works without JS). */
.gz-v4-slider__controls {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}
.gz-v4-slider.is-ready .gz-v4-slider__controls { display: flex; }
.gz-v4-slider__arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gzv4-dark-blue);
  background: transparent;
  color: var(--gzv4-dark-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background-color 0.2s var(--gzv4-ease),
    color 0.2s var(--gzv4-ease),
    opacity 0.2s var(--gzv4-ease);
}
.gz-v4-slider__arrow:hover:not(:disabled),
.gz-v4-slider__arrow:focus-visible { background: var(--gzv4-dark-blue); color: var(--gzv4-sand-light); }
.gz-v4-slider__arrow:disabled { opacity: 0.35; cursor: default; }
.gz-v4-slider__dots { display: flex; gap: 0.5rem; }
.gz-v4-slider__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--gzv4-line);
  cursor: pointer;
  transition: background-color 0.2s var(--gzv4-ease), transform 0.2s var(--gzv4-ease);
}
.gz-v4-slider__dot[aria-current="true"] { background: var(--gzv4-orange); transform: scale(1.25); }
@media (prefers-reduced-motion: reduce) {
  .gz-v4-slider__track { scroll-behavior: auto; }
}

/* Editor: slides shown stacked + labelled instead of a live slider. */
.gz-v4-slider-editor__slide {
  border: 1px solid var(--gzv4-line);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
  background: var(--gzv4-white);
}
.gz-v4-slider-editor__num {
  font: 700 12px/1 var(--gzv4-body);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gzv4-stone-soft);
  padding: 0.85rem 1rem 0;
}

/* ============== Timeline (block) ============== */
.gz-v4-timeline { margin: 2rem 0; padding: 0; list-style: none; }
.gz-v4-timeline__item {
  position: relative;
  padding: 0 0 1.75rem 1.75rem;
  border-left: 2px solid var(--gzv4-line);
}
.gz-v4-timeline__item:last-child { padding-bottom: 0; border-left-color: transparent; }
.gz-v4-timeline__item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0.3rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gzv4-orange);
  box-shadow: 0 0 0 4px var(--gzv4-white);
}
.gz-v4-timeline__label {
  font-family: var(--gzv4-body);
  font-weight: 800;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gzv4-orange);
  margin: 0 0 0.2rem;
}
.gz-v4-timeline__heading {
  font-family: var(--gzv4-display);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--gzv4-dark-blue);
  margin: 0 0 0.35rem;
}
.gz-v4-timeline__body > :first-child { margin-top: 0; }
.gz-v4-timeline__body > :last-child { margin-bottom: 0; }

/* ============== Highlighted Posts / "Recommended Reads" ============== */
/* The posts-highlight block now renders a .gz-v4-cards grid (reusing the Card
   Grid styling), so it reflows from a narrow column to full width. Only the
   section wrapper + title need their own rules here. */
/* ============== Recent Posts carousel (recent-posts block) ============== */
/* V4 restyle of the legacy `.greater-zion-recent-posts` carousel. Reuses the
   .gz-v4-card-item look; the jQuery front.js still drives scrolling (its hooks
   .posts-box/.scroll-button/.dot are preserved). Selectors are prefixed with
   .gz-v4-recent so they beat the older compiled Bootstrap rules (same element,
   later stylesheet). */
.gz-v4-recent {
  max-width: 78rem;              /* match the page's content columns */
  margin: 2.5rem auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
  box-sizing: border-box;
}
.gz-v4-recent .title-box {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  width: auto;
  max-width: none;
  margin: 0 0 1.5rem;
  padding: 0;
}
.gz-v4-recent .title-box .gz-v4-recent__title {
  font-family: var(--gzv4-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.012em;
  line-height: 0.95;
  font-size: clamp(1.75rem, 4vw, 3rem);
  color: var(--gzv4-dark-blue);
  max-width: none;
  /* beat the theme's auto side-margins on nested headings (was centering it) */
  margin: 0 !important;
}
.gz-v4-recent__nav { display: flex; align-items: center; gap: 0.85rem; flex-shrink: 0; }
.gz-v4-recent__dots { display: flex; gap: 0.5rem; align-items: center; }
.gz-v4-recent__dots .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gzv4-line);
  transition: background-color 0.2s var(--gzv4-ease), transform 0.2s var(--gzv4-ease);
}
.gz-v4-recent__dots .dot.active { background: var(--gzv4-orange); transform: scale(1.25); }
.gz-v4-recent__arrows { display: flex; gap: 0.5rem; }
.gz-v4-recent .scroll-button {
  width: 44px; height: 44px;
  border: 2px solid var(--gzv4-dark-blue);
  border-radius: 50%;
  background: transparent;
  color: var(--gzv4-dark-blue);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; padding: 0;
  transition:
    background-color 0.2s var(--gzv4-ease),
    color 0.2s var(--gzv4-ease),
    opacity 0.2s var(--gzv4-ease);
}
.gz-v4-recent .scroll-button svg { width: 18px; height: 18px; }
.gz-v4-recent .scroll-button:hover:not(:disabled),
.gz-v4-recent .scroll-button:focus-visible { background: var(--gzv4-dark-blue); color: var(--gzv4-sand-light); }
.gz-v4-recent .scroll-button:disabled { opacity: 0.35; cursor: default; }
.gz-v4-recent .posts-box {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 6px 0;
  /* NOTE: do NOT set scroll-behavior:smooth — jQuery front.js animates
     scrollLeft, and CSS smooth scrolling fights it (broke the arrows). */
}
.gz-v4-recent .posts-box::-webkit-scrollbar { display: none; }
.gz-v4-recent .posts-box .post {
  flex: 0 0 clamp(260px, 76vw, 330px);
  box-sizing: border-box;
  margin-right: 20px;
  padding: 0;
}
.gz-v4-recent .posts-box .post:first-child { padding-left: 0; }
.gz-v4-recent .posts-box .post:last-child { margin-right: 0; }
.gz-v4-recent .gz-v4-card-item {
  height: 100%;
  color: inherit;
  /* beat the theme's content-link underline */
  text-decoration: none !important;
}
.gz-v4-recent__slide a:hover .gz-v4-card-item__link,
.gz-v4-recent__slide a:focus-visible .gz-v4-card-item__link { color: var(--gzv4-dark-blue); }
@media (max-width: 600px) {
  .gz-v4-recent .title-box { flex-direction: column; align-items: flex-start; gap: 0.85rem; }
}

/* ============== Highlighted Posts / "Recommended Reads" ============== */
.gz-v4-highlight { margin: 2.5rem 0; }
.gz-v4-highlight__title {
  font-family: var(--gzv4-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.012em;
  line-height: 0.95;
  font-size: clamp(1.75rem, 4vw, 3rem);
  color: var(--gzv4-dark-blue);
  margin: 0 0 1.5rem;
}

/* ============================================================
   FULL-WIDTH BEHAVIOUR — readable-column caps
   ------------------------------------------------------------
   On a full-bleed / full-width layout the content blocks would
   otherwise stretch edge to edge (over-long text lines, oversized
   headings). Cap them to comfortable centered widths. No effect
   inside a normal, already-narrow content column (the cap is wider
   than the column). Full-bleed BANDS (hero/cta/stats/banner) are
   intentionally NOT capped — they bleed and constrain their own
   inner (.gz-v4-inner) instead.
   ============================================================ */
.gz-v4-section-header,
.is-style-gz-v4-callout,
blockquote.wp-block-quote.is-style-gz-v4-pullquote,
.gz-v4-testimonial,
.gz-v4-steps,
.gz-v4-faq,
.gz-v4-timeline,
.gz-v4-checklist,
.gz-v4-specs {
  max-width: 50rem;
  margin-inline: auto;
}
.gz-v4-media-text { max-width: 68rem; margin-inline: auto; }
.gz-v4-features,
.gz-v4-cards,
.gz-v4-highlight { max-width: 78rem; margin-inline: auto; }
