/*******************
* Home Hero Basic Rotating Module
********************/

/* Inline Hero/"Above fold" CSS for CLS improvements */

/** Main container styles **/
.home-hero {
  position: relative;
  padding-top: 0;
}


/*******************
* Sticky bottom border
* -------------------
* Renders the brand border-image at the bottom of the hero. The element
* sits absolutely at the bottom of the .home-hero container by default.
* Once the user scrolls far enough that the border's natural position
* reaches the bottom edge of the fixed site header, module.js adds the
* .is-stuck modifier which switches the element to position:fixed and
* pins it directly under the header. position:sticky was tried first
* but breaks because at least one ancestor (DnD section / column /
* body wrappers) has an overflow value other than visible, which kills
* the sticky containing block. The JS approach avoids that entirely.
* Replaces the previous scrolled-state border that lived on the
* homepage header itself.
********************/

.home-hero__sticky-border {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 5;
  width: 100%;
  height: 10px;
  pointer-events: none;
  background-image: url("/hubfs/21499432/border-bottom.png");
  background-repeat: no-repeat;
  background-position: bottom center;
  /* Stretch to fill the 10px box - prevents the transparent gap that
     `auto` produces on narrow viewports where the image scales down
     proportionally and leaves dead space above the colored line. */
  background-size: 100% 100%;
}

@media (min-width: 64rem) /* 1024px */ {
  .home-hero__sticky-border {
    /* On desktop the image's natural ratio is large enough that
       100% auto matches the box height, so we let it preserve its
       aspect ratio there. */
    background-size: 100% auto;
  }
}

.home-hero__sticky-border.is-stuck {
  position: fixed;
  bottom: auto;
  /* `top` is set inline by module.js based on the live header height */
}

@media (min-width: 64rem) /* 1024px */ {
  .home-hero {
    padding-bottom: 0;
    margin-bottom: 3.125rem;
    /*margin-top: -113px;*/
  }
}

@media (max-width: 64rem) /* 1024px */ {
  .home-hero__swiper:not(.swiper-initialized) {
    overflow: hidden; 
  }
  .home-hero__swiper:not(.swiper-initialized).no-slide {
    max-height: none;
  }
}

.home-hero .content-container {
  margin: 0 auto;  
}

/** Slide wrapper and item styles **/
.home-hero__slide-wrap {
  position: relative;
  margin: 0;
  padding: 0;
}

.home-hero__slide-item {
  position: relative;
   /* min-height: 45rem;Keep full height on all screen sizes */
}

@media (min-width: 64rem) /* 1024px */ {
  .home-hero__slide-item {
    /*min-height: 62.5rem;*/
  }
}

/** Slide media styles **/
.home-hero__slide-media {
  position: relative;  
  border-radius: 0rem;
  overflow: hidden;
  /*height: 45rem;*/ /* Full height on all screen sizes - crops left/right on mobile */
}

@media (min-width: 48rem) /* 768px */ {
  .home-hero__slide-media--is-video {
    aspect-ratio: 16/9;
  }
}


@media (min-width: 64rem) /* 1024px */ {
  .home-hero__slide-media:before {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 0rem;
    background: linear-gradient(to right, rgba(18,42,61,1) 0%, rgba(0,0,0,0) 100%);
    z-index: 4;
  }

  .hero-slide--light .home-hero__slide-media:before {
    background: linear-gradient(to right, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 100%);
  }
}

/** Image styles **/
.home-hero__slide-image {
  position: absolute;
  border-radius: 0rem;
  margin-bottom: -7px;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

/** Video styles **/
.home-hero__video-wrap {
  width: 100%;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 16/9;
}

@media (min-width: 64rem)  {
  .home-hero__video-wrap {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    padding: 56.25% 0 0 0;
  }
}

.home-hero__video,
.home-hero__video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 0rem;
}

/* HubSpot video player outputs a wrapper div – make it fill the hero video area */
.home-hero__video-wrap > div,
.home-hero__video-wrap .hs-video-wrapper {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
}

.home-hero__video-wrap .hs-video-wrapper iframe {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

/** Info toggle button styles **/
.home-hero__info-toggle {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  z-index: 5;
  padding: 0;
  border: none;
  background-color: transparent;
}

@media (min-width: 75rem) /* 1200px */ {
  .home-hero__info-toggle {
    bottom: 0.2rem;
  }
}

.home-hero__info-toggle .icon {
  width: 1.5rem;
  height: 1.5rem;
}

/** Info container styles **/
.home-hero__info-container {
  display: none;
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 5;
  max-width: 90%;
  width: auto;
  border-radius: 0rem;
  padding: 1rem;
  background-color: #fff;
}

.home-hero__info-text {
  color: #000;
}

.home-hero__info-container.open {
  display: block;
}

/** Slide content styles **/
.home-hero__slide-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 1rem;
  color: #fff;
  box-sizing: border-box;
  background:#122A3D;
}

.home-hero--white-bg .home-hero__slide-content {
  color: #000;  
}

.home-hero__slide-content-wrap {
  max-width:calc(90rem + 2.5rem);
  width:100%;
  padding:0 1.25rem;
  margin:0 auto;
}

@media (min-width: 64rem) /* 1024px */ {
  .home-hero__slide-content {
    width: 100%;
    min-width: 31.25rem;
    padding: 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
    background:transparent;
  }
  
  .home-hero--white-bg .home-hero__slide-content {
    color: #fff;  
  }

  .hero-slide--light .home-hero__slide-content {
    color: #000;
  }
}

/** Title styles **/
.home-hero__slide-title { 
  margin: 1.563rem 0 1.563rem .25rem; 
  font-size: clamp(2.5rem, 5vw, 6rem);   /* smaller + responsive */
  line-height: 1;
}

@media (min-width: 64rem) {
  .home-hero__slide-title { 
    margin: 0 0 1rem;
  }
}

/** Text styles **/
.home-hero__slide-text {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  line-height: 1.5rem;
}

/** Button styles **/
@media (min-width: 64rem) /* 1024px */ {
  .home-hero__slide-buttons {
    display: flex;
    gap: 20px;
  }
}

.home-hero__slide-buttons .button {
  display: inline-block;
  width: auto;
  margin-bottom: 20px;
  border-color: #fff !important;
  color: #fff !important;
  background-color:transparent !important;
}

.home-hero__slide-buttons .button:hover,
.home-hero__slide-buttons .button:focus {
  color: #122A3D !important;
  background-color: #E06D3A !important;
  border-color: #E06D3A !important;
}

@media (min-width: 64rem) /* 1024px */ {
  .home-hero__slide-buttons .button {
    display: inline-block;
    width: auto;
    margin-bottom: 0;
  }
}

/** Theme variations **/
.hero-slide--dark .home-hero__slide-content {
  color: #fff;  
}

@media (min-width: 64rem) /* 1024px */ {
  .hero-slide--dark .home-hero__slide-content {
    color: #fff;  
  }
  
  .hero-slide--dark .button--ghost {
    color: #fff;
  }

  .hero-slide--dark .button--ghost:hover, 
  .hero-slide--dark .button--ghost:focus {
    color: #000;
  }
}

/** Controls styles **/
.home-hero__controls {
  display: flex;
  align-items: center;
}

@media (min-width: 64rem) /* 1024px */ {
  .home-hero__controls {
    position: absolute;
    bottom: 18%;
    left: 8.125rem;
    z-index: 3;
  }
}

/** Pagination styles **/
.home-hero__paging {
  position: static !important;
  padding: 0 1rem;
}

.home-hero .swiper-pagination-bullet {
  background-color: #fff !important;
  transition: width .3s;
}

.home-hero .home-hero__controls--light .swiper-pagination-bullet {
  background-color: #000 !important;  
}  

@media (max-width: 64rem) /* 1024px */ {
  .home-hero--white-bg .swiper-pagination-bullet {
    background-color: #000 !important;
  }
}

.home-hero .swiper-pagination-bullet-active {
  width: 25px !important;
  border-radius: 5px !important;
}

/** Control button styles **/
.home-hero__control {
  position: relative !important;
  margin-top: 0 !important;
  border: 0;
  color: #fff !important;
  background-color: transparent;
}

.home-hero__controls--light .home-hero__control {
  color: #000 !important;  
}

@media (max-width: 64rem) /* 1024px */ {
  .home-hero--white-bg .home-hero__control {
    color: #000 !important;
  }
}

.home-hero__control:after {
  font-size: 1rem !important;  
}

/** Swiper fix **/
.home-hero .swiper-initialized .swiper-slide {
  opacity: 0 !important;
}

.home-hero .swiper-initialized .swiper-slide-active {
  opacity: 1 !important;
}

/*******************
* Quick Links Section
********************/

.quick-links {
  padding-top: var(--vertical-padding, 1rem);
  padding-bottom: var(--vertical-padding, 1rem);
}


