/* home page specific styles */

.home-hero {
  --gb-banner-gutter: var(--gb-page-gutter, clamp(16px, 4vw, 56px));
  position: relative;
  width: min(100%, var(--gb-container-max, 1320px));
  max-width: var(--gb-container-max, 1320px);
  margin-left: auto;
  margin-right: auto;
}

.home-hero::before,
.home-hero::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: min(16%, 190px);
  pointer-events: none;
}

.home-hero::before {
  left: 0;
  background: linear-gradient(90deg, rgba(227, 32, 40, 0.24), rgba(227, 32, 40, 0));
}

.home-hero::after {
  right: 0;
  background: linear-gradient(270deg, rgba(227, 32, 40, 0.2), rgba(227, 32, 40, 0));
}

#root > div > section > div.relative.z-10,
#root > section > div[class*="max-w-"],
#root > div > section > div[class*="max-w-"],
#root > section > div.text-center.mb-10,
#root > section > div.relative.transition-all {
  width: 100%;
  max-width: var(--gb-container-max, 1320px);
  margin-left: auto;
  margin-right: auto;
  padding-left: max(var(--gb-page-gutter, 28px), env(safe-area-inset-left));
  padding-right: max(var(--gb-page-gutter, 28px), env(safe-area-inset-right));
}

[style*="opacity:0;"],
[style*="opacity: 0;"] {
  opacity: 1 !important;
}

[style*="transform:translate"],
[style*="transform: translate"] {
  transform: none !important;
}

.gb-reviews-slider > .gb-review-card {
  min-height: 100%;
}

.gb-reviews-slider > .gb-review-card[hidden] {
  display: none !important;
}

.gb-review-controls {
  position: relative;
  z-index: 12;
}

.gb-review-dot {
  cursor: pointer;
}

@media (min-width: 768px) {
  .home-hero,
  .home-hero .md\:min-h-\[88vh\] {
    min-height: min(90vh, 840px) !important;
  }

  .home-hero .md\:w-\[50\%\] {
    width: min(58%, 720px) !important;
  }

  .home-hero [class*="tracking-[0.15em]"] {
    white-space: nowrap !important;
  }
}

@media (min-width: 1920px) {
  .home-hero,
  .home-hero .md\:min-h-\[88vh\] {
    min-height: min(86vh, 960px) !important;
  }

  .home-hero .md\:w-\[50\%\] {
    width: min(56%, 860px) !important;
  }
}

@media (max-width: 767px) {
  .home-hero {
    --gb-banner-gutter: clamp(10px, 3vw, 18px);
  }

  .home-hero::before,
  .home-hero::after {
    width: 24%;
  }

  .home-hero > .relative.block.md\:hidden {
    overflow: hidden;
    border-radius: 8px;
  }

  .home-hero-mobile-copy {
    left: clamp(18px, 7vw, 34px);
    right: auto;
    top: 0;
    padding-top: clamp(24px, 11vw, 52px);
    width: min(70%, 290px);
    color: #ffffff;
  }

  .home-hero-mobile-kicker {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
  }

  .home-hero-mobile-kicker span {
    display: none;
  }

  .home-hero-mobile-kicker p {
    margin: 0;
    color: #ff2530;
    font-size: clamp(0.39rem, 1.62vw, 0.5rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.35;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .home-hero-mobile-copy h1 {
    margin: 0;
    max-width: 100%;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: 0;
  }

  .home-hero-mobile-copy h1 span {
    color: #e32028;
    font-style: italic;
  }

  .home-hero-mobile-copy h1 strong {
    display: block;
    color: #e32028;
    font-weight: 800;
  }

  .home-hero-mobile-body {
    margin: 5px 0 0;
    max-width: min(100%, 255px);
    color: #d7d7d7;
    font-size: clamp(6px, 1.75vw, 7.5px);
    font-weight: 600;
    line-height: 1.25;
  }

  .home-hero-mobile-copy--banner2 .home-hero-mobile-kicker span {
    display: none;
  }

  .home-hero-mobile-copy--banner2 h1 {
    width: 78vw;
  }

  .home-hero-mobile-copy--banner3 h1 {
    width: 78vw;
  }

  .home-hero-mobile-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    min-height: 20px;
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.42);
    color: #ffffff;
    font-size: 8px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    pointer-events: auto;
  }

  .home-hero > button[aria-label="Previous slide"],
  .home-hero > button[aria-label="Next slide"] {
    top: 58%;
    width: 22px;
    height: 22px;
  }

  .home-hero-mobile-actions {
    display: none !important;
    left: 18px !important;
    right: auto;
    bottom: 20px !important;
    z-index: 20;
    align-items: center;
    gap: 8px;
    pointer-events: auto;
  }

  .home-hero-mobile-actions a {
    display: inline-flex;
    min-height: 10px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 5px 8px;
    font-size: 4px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 6px 13px rgba(0,0,0,.3);
  }
}

@media (max-width: 380px) {
  .home-hero-mobile-copy {
    left: clamp(16px, 6.5vw, 28px);
    top: 0;
    padding-top: clamp(20px, 10vw, 38px);
    width: min(72%, 245px);
  }

  .home-hero-mobile-kicker {
    gap: 6px;
    margin-bottom: 7px;
  }

  .home-hero-mobile-copy h1 {
    font-size: 12px;
    line-height: 1.13;
  }

  .home-hero-mobile-cta {
    margin-top: 7px;
    min-height: 18px;
    padding: 4px 9px;
    font-size: 7px;
  }

  .home-hero-mobile-body {
    max-width: 215px;
    font-size: 6px;
    line-height: 1.22;
  }

  .home-hero-mobile-actions {
    left: 14px !important;
    bottom: 16px !important;
    gap: 7px;
  }

  .home-hero-mobile-actions a {
    min-height: 10px;
    padding: 5px 8px;
    font-size: 4px;
  }
}
