/*
 * Landing Hero Block
 * ---------------------------------------------------------------
 * Standalone stylesheet enqueued by the block registration in
 * inc/functions-acf.php. Colors/fonts mirror css/base/_variables.scss:
 *   $dark-blue-3 #003865 | $dark-blue-4 #0B2546
 *   $accent1     #FF5113 | $accent1-light #FF6832
 *   $blue        #13B5EA | $white #FFFFFF
 * If you later fold this into the SCSS pipeline, move these rules into
 * css/modules/_sections.scss under `.section-landing-hero`.
 */

.section-landing-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 520px;
  padding-top: 90px;
  padding-bottom: 110px;
  isolation: isolate;
  background-color: #0B2546;
}

@media (min-width: 768px) {
  .section-landing-hero {
    min-height: 620px;
  }
}

@media (min-width: 1440px) {
  .section-landing-hero {
    min-height: 720px;
  }
}

/* Background image layer */
.section-landing-hero .landing-hero-bkg {
  position: absolute;
  inset: 0;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 0;
  transform: scale(1.02);
}

/* Readability overlay: deep blue on the left fading to the right */
.section-landing-hero .landing-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(11, 37, 70, 0.94) 0%, rgba(0, 56, 101, 0.78) 42%, rgba(0, 56, 101, 0.15) 100%),
    linear-gradient(0deg, rgba(11, 37, 70, 0.55) 0%, rgba(11, 37, 70, 0) 45%);
}

/* Bottom orange brand stripe (echoes the featured slider accent) */
.section-landing-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 14px;
  z-index: 2;
  background: linear-gradient(90deg, #FF5113 0%, #FF6832 100%);
}

.section-landing-hero .contain {
  position: relative;
  z-index: 2;
}

.section-landing-hero .landing-hero-content {
  max-width: 640px;
}

/* Eyebrow */
.section-landing-hero .landing-hero-eyebrow {
  display: inline-block;
  margin: 0 0 10px;
  padding: 0 0 6px;
  color: #FF6832;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-bottom: 3px solid #FF6832;
}

@media (min-width: 992px) {
  .section-landing-hero .landing-hero-eyebrow {
    font-size: 17px;
  }
}

/* Title (inherits the theme heading font for consistency) */
.section-landing-hero .landing-hero-title {
  margin: 0 0 22px;
  color: #ffffff;
  font-size: 34px;
  line-height: 1.08;
}

@media (min-width: 768px) {
  .section-landing-hero .landing-hero-title {
    font-size: 48px;
  }
}

@media (min-width: 1200px) {
  .section-landing-hero .landing-hero-title {
    font-size: 60px;
  }
}

/* Intro copy */
.section-landing-hero .landing-hero-intro {
  color: #ffffff;
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.95;
}

@media (min-width: 1200px) {
  .section-landing-hero .landing-hero-intro {
    font-size: 20px;
  }
}

.section-landing-hero .landing-hero-intro p {
  margin: 0 0 1em;
}

.section-landing-hero .landing-hero-intro > :last-child {
  margin-bottom: 0;
}

/* Buttons */
.section-landing-hero .landing-hero-buttons {
  margin-top: 34px;
}

.section-landing-hero .landing-hero-buttons .btn {
  margin: 0 14px 12px 0;
}

.section-landing-hero .landing-hero-buttons .btn:last-child {
  margin-right: 0;
}

/* Centered variant */
.section-landing-hero.align-center .landing-hero-overlay {
  background:
    linear-gradient(0deg, rgba(11, 37, 70, 0.85) 0%, rgba(0, 56, 101, 0.55) 55%, rgba(11, 37, 70, 0.65) 100%);
}

.section-landing-hero.align-center .landing-hero-content {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.section-landing-hero.align-center .landing-hero-eyebrow {
  border-bottom: none;
  padding-bottom: 0;
}

/* Mobile fine-tuning */
@media (max-width: 767px) {
  .section-landing-hero .landing-hero-overlay {
    background: linear-gradient(0deg, rgba(11, 37, 70, 0.92) 0%, rgba(0, 56, 101, 0.6) 100%);
  }
}
