/* ═══════════════════════════════════════════════════════════════
   24TUNING DESIGN SYNC  -  final cascade layer (loads last)
   Single source for spacing, type scale, heroes, sections
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Vertical rhythm  -  scales mobile → massive desktop */
  --section-padding: clamp(3.25rem, 4.5vw + 1.25rem, 6.5rem);
  --section-pad-y: var(--section-padding);
  --section-header-gap: clamp(28px, 4vw, 40px);
  --content-stack-gap: clamp(16px, 2vw, 24px);
  --card-gap: clamp(16px, 2vw, 24px);
  --hero-block-gap: clamp(32px, 4vw, 48px);
  --home-section-gap: clamp(48px, 6vw, 72px);

  /* Brand blues — identical in dark UI and light/admin themes */
  --brand-blue: #0892d4;
  --bright-cyan: #00d4ff;
  --accent-link: #00d4ff;
  --section-label-color: #00d4ff;

  /* Type scale */
  --section-label-size: 12px;
  --text-section-title: clamp(26px, 3.2vw, 36px);
  --text-section-desc: clamp(14px, 1.4vw, 15px);
  --text-body-prose: clamp(15px, 1.45vw, 16px);
  --pit-stripe: var(--bright-cyan);
  --pit-stripe-glow: rgba(0, 212, 255, 0.35);
}

/* Keep brand cyan locked when admin (or any) light theme is active */
html.admin-light,
html.admin-light :root {
  --brand-blue: #0892d4;
  --bright-cyan: #00d4ff;
  --accent-link: #00d4ff;
  --admin-cyan: #00d4ff;
  --section-label-color: #00d4ff;
}

/* ── Section labels (eyebrows only  -  always caps) ── */
.section-label,
.footer-social-label {
  font-family: var(--font-display);
  font-size: var(--section-label-size) !important;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bright-cyan);
  line-height: 1.35;
}

.section-label::before {
  display: inline-block !important;
  content: '' !important;
  width: 3px;
  height: 0.92em;
  margin-right: 10px;
  background: var(--bright-cyan);
  box-shadow: 0 0 8px var(--pit-stripe-glow);
  vertical-align: -0.12em;
}

.hero-quote-panel .section-label::before,
.hero-quote-panel .section-label--quote::before {
  width: 12px;
  height: 12px;
  margin-right: 10px;
  border-radius: 2px;
  vertical-align: -2px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.12), rgba(8, 146, 212, 0.28));
  border: 1px solid rgba(0, 212, 255, 0.45);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.28);
  clip-path: polygon(3px 0, 100% 0, 100% calc(100% - 3px), calc(100% - 3px) 100%, 0 100%, 0 3px);
}

/* ── Section spacing (all main content blocks) ── */
.section,
#main-content > section:not(.hero):not(.hero-slider),
.vehicle-search-section,
.cta-strip,
.page-hero,
.article-hero,
.service-main > .content-section:first-child {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}

.section {
  padding-left: 0;
  padding-right: 0;
}

#main-content > .container {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}

.hero.hero-slider,
.hero:not(.hero-slider) {
  padding-top: 0;
  padding-bottom: 0;
}

[data-page="index"] .vehicle-search-section {
  padding-top: var(--hero-block-gap) !important;
  padding-bottom: var(--home-section-gap) !important;
}

.section-header {
  margin-bottom: var(--section-header-gap);
  border-left: 3px solid var(--pit-stripe);
  padding-left: 20px;
  position: relative;
}

.section-header::before {
  display: none !important;
  content: none !important;
}

.section-header h2,
.v-search-title,
.services-intro-header h2 {
  font-family: var(--font-display);
  font-size: var(--text-section-title);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 12px;
}

.section-header p,
.v-search-subtitle {
  font-family: var(--font-body);
  font-size: var(--text-section-desc);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: normal;
  text-transform: none;
  color: var(--text-muted);
  max-width: 56ch;
  margin: 0;
}

/* ── Inner page heroes ── */
.page-hero,
.article-hero {
  box-sizing: border-box;
  min-height: 200px;
  height: auto;
  max-height: none;
  display: flex;
  align-items: center;
  padding: var(--section-padding) 0 !important;
  background-color: var(--dark-bg);
  background-image: linear-gradient(135deg, var(--dark-surface) 0%, var(--dark-bg) 60%);
  background-size: cover;
  background-position: center;
  border-bottom: none;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.page-hero--service,
.page-hero:has(.hero-cta-row) {
  min-height: 220px;
  padding: var(--section-padding) 0 !important;
}

.page-hero::before,
.page-hero::after,
.article-hero::before,
.article-hero::after {
  display: none !important;
  content: none !important;
}

.page-hero > .container,
.article-hero > .container {
  text-align: left;
  width: 100%;
  max-width: var(--site-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--site-gutter);
  padding-right: var(--site-gutter);
}

.page-hero h1,
.article-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px) !important;
  font-weight: 800 !important;
  line-height: 1.08 !important;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff !important;
  background: none !important;
  -webkit-text-fill-color: #fff !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
  margin: 0 0 10px !important;
  text-align: left !important;
}

.page-hero-desc,
.article-excerpt {
  font-size: var(--text-section-desc) !important;
  line-height: 1.6 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  color: var(--text-muted) !important;
  max-width: 56ch;
  margin: 0 !important;
  display: block !important;
  overflow: visible !important;
  -webkit-line-clamp: unset !important;
  text-align: left !important;
}

.page-hero .section-label {
  margin-bottom: 8px;
}

/* Short punchy hero lines only */
.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(11px, 1.2vw, 12px);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bright-cyan);
}

.hero-quote-sub {
  font-size: var(--text-section-desc);
  letter-spacing: normal;
  text-transform: none;
  line-height: 1.55;
}

/* ── Homepage section rhythm ── */
[data-page="index"] .section {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}

[data-page="index"] .vehicle-search-section {
  padding-top: var(--hero-block-gap) !important;
  padding-bottom: var(--home-section-gap) !important;
}

[data-page="index"] .trust-marquee--signals + .section.section-gallery,
[data-page="index"] .section.section-gallery {
  padding-top: var(--home-section-gap) !important;
  padding-bottom: var(--home-section-gap) !important;
}

[data-page="index"] .section.section-gallery + .section,
[data-page="index"] .trust-marquee--signals + .section {
  padding-top: var(--home-section-gap) !important;
}

[data-page="index"] .reviews-section .section-header {
  margin-bottom: var(--section-header-gap);
}

[data-page="index"] .section-header {
  margin-bottom: var(--section-header-gap);
}

/* Gallery section header  -  same rhythm as rest of site */
.section-gallery .section-header {
  margin-bottom: var(--section-header-gap) !important;
}

/* ── Services intro  -  match global section system ── */
.services-intro-header {
  border-left: 3px solid var(--pit-stripe);
  padding-left: 20px;
}

.services-intro-header::before {
  display: none !important;
}

.services-intro-header .section-label {
  font-size: var(--section-label-size) !important;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
}

.services-intro-header h2 {
  font-size: var(--text-section-title);
  margin-bottom: 12px;
}

.services-intro-lead {
  font-size: var(--text-body-prose);
  line-height: 1.7;
  text-transform: none;
  letter-spacing: normal;
  color: var(--text-muted);
  max-width: 52ch;
}

.services-tagline {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  letter-spacing: 0.1em;
}

.services-intro-copy p {
  font-size: var(--text-body-prose);
  line-height: 1.75;
  text-transform: none;
  letter-spacing: normal;
}

.services-why-card__label {
  font-size: var(--section-label-size) !important;
}

.services-why-card h3 {
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  letter-spacing: 0.08em;
}

/* ── Prose / content ── */
.content-body p,
.service-intro,
.content-section p {
  font-size: var(--text-body-prose);
  line-height: 1.75;
  text-transform: none;
  letter-spacing: normal;
  color: var(--text-muted);
}

.content-section h2,
.content-body h2,
.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 28px);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 16px;
  font-style: normal;
}

.content-section h3,
.content-body h3 {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 12px;
}

/* ── Stats  -  one font family ── */
.hero-stat .num,
.hero-stat-mobile .num,
.stat-num {
  font-family: var(--font-display) !important;
  font-style: normal !important;
}

.hero-stat .lbl,
.hero-stat-mobile .lbl {
  font-family: var(--font-display);
  font-size: clamp(10px, 1.2vw, 11px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── Containers  -  consistent alignment ── */
.container {
  width: 100%;
  max-width: var(--site-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--site-gutter);
  padding-right: var(--site-gutter);
}

/* ── Footer column titles match section labels ── */
.footer-col-title,
.footer-col h4.footer-col-title,
.footer-col h2.footer-col-title {
  font-size: var(--section-label-size) !important;
  letter-spacing: 0.14em !important;
}

/* ── CTA / section foot spacing ── */
.section-cta-center {
  margin-top: clamp(36px, 5vw, 48px);
}

.section-link-more {
  margin-top: clamp(24px, 3.5vw, 32px);
}

/* ── Vehicle search panel ── */
.vehicle-search-container {
  padding: clamp(28px, 4vw, 40px) clamp(24px, 3.5vw, 40px) clamp(24px, 3vw, 32px) !important;
}

.v-search-head {
  margin-bottom: clamp(24px, 3vw, 32px) !important;
}

@media (max-width: 768px) {
  :root {
    --section-padding: clamp(2.75rem, 8vw + 0.5rem, 4rem);
    --section-pad-y: var(--section-padding);
    --section-header-gap: clamp(24px, 5vw, 32px);
    --home-section-gap: clamp(40px, 8vw, 56px);
  }

  .page-hero,
  .article-hero {
    min-height: 180px;
    padding: clamp(28px, 6vw, 36px) 0 !important;
  }

  .page-hero h1,
  .article-hero h1 {
    font-size: clamp(24px, 6.5vw, 32px) !important;
  }

  .services-intro-grid {
    padding: clamp(20px, 5vw, 28px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-header::before,
  .section-label.tech-reveal::before {
    animation: none !important;
  }
}

/* ── Visually hidden (SEO h1 in hero slider) ── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Homepage hero slides  -  identical layout & animation slots ── */
.hero.hero-slider .hero-slides-copy {
  display: grid;
  align-items: stretch;
  min-height: 400px;
}

.hero.hero-slider .hero-slide-text {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  align-self: stretch;
  height: 100%;
  min-height: 400px;
  --hero-gap-xs: 6px;
  --hero-gap-sm: 10px;
  --hero-gap-md: 14px;
  --hero-gap-lg: 18px;
}

.hero.hero-slider .hero-slide-text h1.hero-slide-title,
.hero.hero-slider .hero-slide-text h2.hero-slide-title {
  margin: 0 0 var(--hero-gap-md) !important;
  min-height: calc(2 * 1.08em) !important;
  font-size: clamp(36px, 6.5vw, 64px) !important;
  font-weight: 800 !important;
  line-height: 1.08 !important;
  background: linear-gradient(180deg, #fff 0%, #c8d4e0 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: none !important;
}

.hero.hero-slider .hero-slide-text .hero-subtitle {
  min-height: calc(3 * 1.55em) !important;
  margin: 0 0 var(--hero-gap-md) !important;
  font-family: var(--font-body, 'Inter', sans-serif) !important;
  font-size: clamp(0.75rem, 1.35vw, 0.8125rem) !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  line-height: 1.55 !important;
  color: rgba(232, 240, 248, 0.82) !important;
  max-width: 36rem;
}

.hero.hero-slider .hero-slide-text .hero-slide-desc {
  min-height: calc(3 * 1.65em) !important;
  margin: 0 0 var(--hero-gap-lg) !important;
  max-width: 38rem;
}

.hero.hero-slider .hero-slide-text .pill-row {
  margin-top: auto !important;
  padding-top: 2px;
}

.hero.hero-slider .hero-badge-bridge .hero-badge::before {
  display: none !important;
  content: none !important;
}

/* Desktop: quote form bottom aligns with the 3 hero CTAs */
@media (min-width: 1025px) {
  .hero.hero-slider .container.hero-grid {
    grid-template-areas:
      "hero-content hero-quote"
      "hero-stats ." !important;
  }

  .hero.hero-slider .hero-quote-panel {
    grid-row: 1;
    align-self: end !important;
    margin-bottom: calc(14px + 6px);
  }
}

/* Mobile: keep hero photos readable (lighter scrims) */
@media (max-width: 1024px) {
  .hero.hero-slider::before {
    background:
      linear-gradient(105deg, rgba(3, 5, 8, 0.55) 0%, rgba(3, 5, 8, 0.32) 48%, rgba(3, 5, 8, 0.18) 100%),
      linear-gradient(180deg, rgba(3, 5, 8, 0.2) 0%, transparent 22%, rgba(3, 5, 8, 0.12) 52%, rgba(3, 5, 8, 0.55) 82%, var(--dark-bg) 100%) !important;
  }

  .hero.hero-slider .hero-slide-bg::after {
    background:
      linear-gradient(
        180deg,
        rgba(3, 5, 8, 0.12) 0%,
        transparent 28%,
        rgba(3, 5, 8, 0.08) 55%,
        rgba(3, 5, 8, 0.42) 78%,
        rgba(3, 5, 8, 0.88) 94%,
        var(--dark-bg, #030508) 100%
      ),
      rgba(3, 5, 8, 0.06) !important;
  }
}

@media (max-width: 1024px) {
  .hero.hero-slider .hero-slide-text h1.hero-slide-title,
  .hero.hero-slider .hero-slide-text h2.hero-slide-title {
    font-size: clamp(30px, 8.5vw, 42px) !important;
    min-height: calc(2 * 1.08em) !important;
    margin-bottom: 16px !important;
    background: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    -webkit-text-fill-color: #fff !important;
    color: #fff !important;
    filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.72));
  }

  .hero.hero-slider .hero-slide-text .hero-subtitle {
    min-height: calc(3 * 1.55em) !important;
    margin-bottom: 12px !important;
    font-size: 11px !important;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.75);
  }

  .hero.hero-slider .hero-slide-text .hero-slide-desc {
    display: block !important;
    text-align: justify !important;
    text-justify: inter-word;
    -webkit-hyphens: auto;
    hyphens: auto;
    min-height: calc(4.5 * 1.65em) !important;
    margin-bottom: 18px !important;
  }

  .hero.hero-slider .hero-slide-text .hero-desc-line {
    display: inline !important;
    transform: none !important;
    filter: none !important;
  }

  .hero.hero-slider .hero-slide-text .hero-desc-line + .hero-desc-line::before {
    content: ' ';
  }

  .hero.hero-slider .hero-content .pill-row,
  .hero.hero-slider .hero-content .pill-row.pill-row--triple {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .hero.hero-slider .hero-slides-copy {
    min-height: 460px;
    align-items: stretch;
  }

  .hero.hero-slider .hero-slide-text {
    min-height: 460px;
    height: 100%;
    align-self: stretch;
  }

  .hero.hero-slider {
    --hero-photo-end: clamp(400px, 58vh, 540px);
  }
}

/* ── Telemetry hover (transform + opacity only  -  GPU composited) ── */
.telemetry-surface,
.service-card,
.product-card,
.feature-card-premium,
.service-hub-card,
.review-card,
.news-card,
.vehicle-search-container {
  position: relative;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease, opacity 0.25s ease;
  will-change: transform;
}

.telemetry-surface::after,
.service-card::after,
.product-card::after,
.feature-card-premium::after,
.service-hub-card::after,
.review-card::after,
.news-card::after,
.vehicle-search-container::after {
  content: '';
  position: absolute;
  inset: 10px;
  pointer-events: none;
  z-index: 4;
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.32s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  background:
    linear-gradient(90deg, rgba(0, 212, 255, 0.85), rgba(0, 212, 255, 0.85)) 0 0 / 14px 2px no-repeat,
    linear-gradient(180deg, rgba(0, 212, 255, 0.85), rgba(0, 212, 255, 0.85)) 0 0 / 2px 14px no-repeat,
    linear-gradient(90deg, rgba(0, 212, 255, 0.85), rgba(0, 212, 255, 0.85)) 100% 0 / 14px 2px no-repeat,
    linear-gradient(180deg, rgba(0, 212, 255, 0.85), rgba(0, 212, 255, 0.85)) 100% 0 / 2px 14px no-repeat,
    linear-gradient(90deg, rgba(0, 212, 255, 0.85), rgba(0, 212, 255, 0.85)) 0 100% / 14px 2px no-repeat,
    linear-gradient(180deg, rgba(0, 212, 255, 0.85), rgba(0, 212, 255, 0.85)) 0 100% / 2px 14px no-repeat,
    linear-gradient(90deg, rgba(0, 212, 255, 0.85), rgba(0, 212, 255, 0.85)) 100% 100% / 14px 2px no-repeat,
    linear-gradient(180deg, rgba(0, 212, 255, 0.85), rgba(0, 212, 255, 0.85)) 100% 100% / 2px 14px no-repeat;
}

.news-card::before,
.review-card::before,
.vehicle-search-container::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  box-shadow: 0 0 28px rgba(0, 212, 255, 0.22), inset 0 0 18px rgba(0, 212, 255, 0.06);
  transition: opacity 0.35s ease;
}

.telemetry-surface:hover,
.telemetry-surface:focus-within,
.service-card:hover,
.service-card:focus-within,
.product-card:hover,
.feature-card-premium:hover,
.service-hub-card:hover,
.review-card:hover,
.news-card:hover,
.vehicle-search-container:hover,
.vehicle-search-container:focus-within {
  transform: translateY(-4px) translateZ(0);
}

.telemetry-surface:hover::after,
.telemetry-surface:focus-within::after,
.service-card:hover::after,
.product-card:hover::after,
.feature-card-premium:hover::after,
.service-hub-card:hover::after,
.review-card:hover::after,
.news-card:hover::after,
.vehicle-search-container:hover::after,
.vehicle-search-container:focus-within::after {
  opacity: 1;
  transform: scale(1) translateZ(0);
}

.news-card:hover::before,
.review-card:hover::before,
.vehicle-search-container:hover::before,
.vehicle-search-container:focus-within::before {
  opacity: 1;
}

/* Drop animated box-shadow  -  glow handled via opacity on ::before */
.service-card:hover,
.product-card:hover,
.feature-card-premium:hover,
.service-hub-card:hover {
  box-shadow: none;
}

.news-card {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease;
}

.news-card:hover {
  box-shadow: none;
}

.btn:not(.hero-btn) {
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn:not(.hero-btn):hover,
.btn:not(.hero-btn):focus-visible {
  transform: translateY(-2px) translateZ(0);
}

@media (prefers-reduced-motion: reduce) {
  .telemetry-surface,
  .service-card,
  .product-card,
  .feature-card-premium,
  .service-hub-card,
  .review-card,
  .news-card,
  .vehicle-search-container,
  .btn:not(.hero-btn) {
    transition: border-color 0.2s ease, background-color 0.2s ease;
    will-change: auto;
  }

  .telemetry-surface::after,
  .service-card::after,
  .product-card::after,
  .feature-card-premium::after,
  .service-hub-card::after,
  .review-card::after,
  .news-card::after,
  .vehicle-search-container::after,
  .news-card::before,
  .review-card::before,
  .vehicle-search-container::before {
    display: none;
  }

  .telemetry-surface:hover,
  .service-card:hover,
  .product-card:hover,
  .review-card:hover,
  .news-card:hover,
  .btn:not(.hero-btn):hover {
    transform: none;
  }
}

/* Homepage slider scrim — keep photos visible (wins over f1-theme .hero::before) */
.hero.hero-slider::before {
  background:
    linear-gradient(105deg, rgba(3, 5, 8, 0.48) 0%, rgba(3, 5, 8, 0.24) 50%, rgba(3, 5, 8, 0.08) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 20%, rgba(3, 5, 8, 0.08) 50%, rgba(3, 5, 8, 0.4) 78%, rgba(3, 5, 8, 0.78) 94%, var(--dark-bg, #030508) 100%) !important;
}

@media (max-width: 900px) {
  .hero.hero-slider::before {
    background:
      linear-gradient(105deg, rgba(3, 5, 8, 0.36) 0%, rgba(3, 5, 8, 0.16) 52%, rgba(3, 5, 8, 0.05) 100%),
      linear-gradient(180deg, rgba(3, 5, 8, 0.1) 0%, transparent 30%, rgba(3, 5, 8, 0.06) 55%, rgba(3, 5, 8, 0.35) 82%, var(--dark-bg) 100%) !important;
  }
}

/* Desktop + shared: softer page-hero overlays (beats extras.min) */
.page-hero-overlay {
  background:
    linear-gradient(
      to bottom,
      rgba(3, 5, 8, 0.1) 0%,
      rgba(3, 5, 8, 0.22) 50%,
      rgba(3, 5, 8, 0.55) 100%
    ),
    linear-gradient(
      105deg,
      rgba(3, 5, 8, 0.55) 0%,
      rgba(3, 5, 8, 0.28) 42%,
      rgba(3, 5, 8, 0.08) 100%
    ) !important;
}

.page-hero--fade-bottom::after {
  height: 22% !important;
  background: linear-gradient(to bottom, transparent, rgba(3, 5, 8, 0.65)) !important;
}

/* Mobile page heroes (not homepage slider): lighter overlays so photos show through */
@media (max-width: 1024px) {
  body:not([data-page="index"]) .page-hero-overlay,
  body:not([data-page="index"]) .article-hero > .page-hero-overlay {
    background:
      linear-gradient(
        to bottom,
        rgba(3, 5, 8, 0.06) 0%,
        rgba(3, 5, 8, 0.18) 45%,
        rgba(3, 5, 8, 0.48) 100%
      ),
      linear-gradient(
        105deg,
        rgba(3, 5, 8, 0.38) 0%,
        rgba(3, 5, 8, 0.16) 55%,
        rgba(3, 5, 8, 0.05) 100%
      ) !important;
  }

  body:not([data-page="index"]) .installer-page-hero-overlay {
    background: linear-gradient(
      105deg,
      rgba(3, 5, 8, 0.48) 0%,
      rgba(3, 5, 8, 0.24) 55%,
      rgba(3, 5, 8, 0.1) 100%
    ) !important;
  }

  body:not([data-page="index"]) .page-hero.page-hero--image,
  body:not([data-page="index"]) .page-hero.has-hero-image,
  body:not([data-page="index"]) .article-hero.page-hero--image,
  body:not([data-page="index"]) .article-hero.has-hero-image {
    background-color: #0a1018;
  }
}
