.banner-itb {
  position: relative;
  width: 100%;
  background-color: #002060;
  box-sizing: border-box;
}

.itb-img-container {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: 100%;
  max-height: 500px;
  min-height: 250px;
  margin: auto;
  position: relative;
  text-align: center;
}
.itb-img-container img {
  width: 90%;
  max-width: 1280px;
  height:100%;
  object-fit: cover;
}
.itb-overlay {
  display: flex;
  position: absolute;
  inset: 0; /* top:0, right:0, bottom:0, left:0 */
  pointer-events: none;
  /*background: linear-gradient(to right, rgb(0, 0, 0) 0%, rgb(212, 170, 148) 25%, rgba(0, 0, 0, 0.0) 30%, rgba(0, 0, 0, 0.0) 70%, rgb(212, 170, 148) 75%, rgb(0, 0, 0) 100% );*/
}
.itb-overlay::before,
.itb-overlay::after{
  content: '';
  height: 100%;
  flex: 1 1 5%;
}
.itb-overlay::before{
  background: linear-gradient(
    to right,
    #000 0%,
    #081838 100%
  );
}
.itb-overlay::after {
  background: linear-gradient(
    to left,
    #000 0%,
    #081838 100%
  );
}
.itb-overlay .overlay-center{
  flex: 0 8 1280px;
  max-width: 1280px;
  background: linear-gradient( to left, #081838 0%, #0B2555 3%, rgba(0, 0, 0, 0) 6%, rgba(0, 0, 0, 0) 94%, #0B2555 96%, #081838 100%);
}
}
.itb-content {
  position:relative;
  z-index: 2;
  background-color: #002060;
  display: flex;
  justify-content: center;
  padding: 20px;
  align-items: center;
}
.itb-content-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  width:100%;
  margin: 0 auto;
  padding: 15px 30px;
}
.itb-content-inner .itb-text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%; 
}
.banner-layout-3 .itb-content-inner .itb-text{
  flex-direction: column;
  gap: 20px;
}
.itb-content-inner a {
  margin: 0;
}
.itb-text h1 {
  color: #fff;
  font-family: Avenirnextltpro,Arial,sans-serif;
  font-size: 50px;
  font-weight: 700;
  letter-spacing: -.4px;
  line-height: 52px;
  margin: 0;
}
.itb-text:has(p) h1{
  margin: 0 ;
}
.itb-text p{
  color: #fff;
  font-family: Avenirnext,Arial,sans-serif;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.72px;
}
.itb-text .bncr-btn p {
  color: inherit;
  margin-bottom: 0;
}
.itb-text .bncr-btn:has(p) {
  margin-bottom: 0;
  height: fit-content;
  max-width: 50%;
}
.banner-layout-3 .itb-text .bncr-btn:has(p){
  max-width: 85%;
}
.itb-text .bncr-btn:has(p):hover {
  background-color: #b0bc22;
}
.banner-itb.banner-layout-2 {
  padding-top: 50px;
}
.banner-itb.banner-layout-2 .itb-img-container {
  margin: auto;
  max-width: 1200px;
}
.banner-itb.banner-layout-2 .itb-img-container .itb-overlay::before{
  border-radius: 24px 0 0 24px;
}
.banner-itb.banner-layout-2 .itb-img-container .itb-overlay::after{
  border-radius: 0 24px 24px 0;
}
.banner-itb.banner-layout-3 .itb-content{
  position: absolute;
  bottom: 80px;
  width: fit-content;
  padding: 50px;
  min-width: 20%;
  background-color: #002060;
  border-radius: 0 24px 24px 0;
}
.banner-itb.banner-layout-3 .itb-content-inner{
  flex-direction:column;
  align-items: center;
  gap: 30px;
}

@media (max-width:600px){
  .banner-itb.banner-layout-2{
    padding-top: 0;
  }
  .banner-itb.banner-layout-3 .itb-content{
    position: inherit;
    padding: 0;
    bottom: 0;
  }
  .itb-content-inner{
    flex-direction: column;
    gap: 12px;
  }
  .itb-content-inner .itb-text{
    flex-direction: column;
    gap: 12px;
  }
  .itb-text h1{
    font-family: Barlow,Arial,sans-serif;
    font-size: 28px;
    line-height: 32px;
    font-weight: 600;
  }
  .itb-text .bncr-btn:has(p){
    max-width: 85%;
    text-align: center;
  }
  .banner-itb.banner-layout-2 .itb-img-container .itb-overlay::before{
    border-radius: 0;
  }
  .banner-itb.banner-layout-2 .itb-img-container .itb-overlay::after{
    border-radius: 0;
  }
  .itb-text p{
    font-size: 16px;
    letter-spacing: -0.64px;
  }
}