/* =========================================================
   Base banner structure
   ========================================================= */

.internal-banner.banner-section .banner-item{
  position: relative;
  padding: 6vw 0 0vw;
  overflow: hidden;
}

/* =========================================================
   Gradient background
   ========================================================= */

.internal-banner.banner-section .banner-gradient{
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    135deg,
    #0d3b66 0%,
    #0d3b66 55%,
    #134c80 100%
  );
}

/* =========================================================
   Content container
   ========================================================= */

.internal-banner.banner-section .content-wrapper{
  max-width: 1250px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.internal-banner.banner-section .banner-inner-content{
  max-width: 60%;
  padding-top: 80px;
  padding-bottom: 80px;
  position: relative;
  z-index: 2;
}

/* =========================================================
   Typography
   ========================================================= */

.internal-banner.banner-section .banner-title,
.internal-banner.banner-section .banner-title *{
  color: #ecf0f4;
}

.internal-banner.banner-section .banner-description,
.internal-banner.banner-section .banner-description *{
  color: #ecf0f4;
}

.internal-banner.banner-section .banner-description p{
  font-size: 22px;
  line-height: 1.5;
}

/* =========================================================
   CTA
   ========================================================= */

.internal-banner.banner-section div.banner-btn{
  margin-top: 57px;
}

.internal-banner.banner-section a.theme-btn.banner-btn{
  color: #04111e;
  text-decoration: none;
}

/* =========================================================
   Overlay graphic
   ========================================================= */

.internal-banner.banner-section .banner-graphic{
  position: absolute;
  bottom: 0;
  right: max(calc((100vw - 1250px) / 2), 0px);
  width: 305px;
  height: 250px;
  z-index: 1;
  pointer-events: none;
}

.internal-banner.banner-section .banner-graphic img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: right bottom;
}

@media (max-width: 980px){

  /* Inner content padding */
  .internal-banner.banner-section .banner-inner-content{
    max-width: 100%;
    padding-top: 150px;
    padding-bottom: 100px;
    padding-right: 0;
  }

  /* Hide overlay graphic */
  .internal-banner.banner-section .banner-graphic{
    display: none;
  }

  /* Use HubSpot mobile banner image as background */
  .internal-banner.banner-section .banner-item{
    background-image: url('');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  /* H1 adjustments for mobile */
  .internal-banner.banner-section .banner-title h1{
    font-size: clamp(34px, 5vw, 42px);
     text-align: center;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 4;    /* allow longer titles */
    line-height: 1.25;         /* slightly taller for readability */
    margin-bottom: 4px;        /* reduce gap to subheading */
  }

  /* Subheading spacing */
  .internal-banner.banner-section .banner-description p{
    line-height: 1.5;
    margin-top: 0;
    margin-bottom: 16px;
    text-align: center;
  }

  /* CTA spacing */
  .internal-banner.banner-section div.banner-btn{
    margin-top: 40px;
  }
  

  }
}
