/* Make the hero container full-width and crop overflow */
.subpage-hero-right-image {
  background-position: center;
  background-size: cover;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  overflow: hidden;
  padding: 8.2rem 6.25rem 13.2rem 6.25rem;
  position: relative;
  width: 100%;
}
.subpage-hero-right-image .hero-content {
  align-items: center;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 1241px;
  width: 100%;
}
/* @media (min-width:768px){
.port-commission-hero-content{
padding: 13.2rem 5.3rem 18.2rem 5.3rem!important;
}
} */

@media (max-width: 768px) {
  .subpage-hero-right-image .hero-content {
    flex-direction: column;
  }
  .subpage-hero-right-image {
    padding: 6.5rem 2.24rem 5.3rem !important;
  }
}

/* The overlay gradient from Figma */
.subpage-hero-right-image .overlay {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
}

/* Center the hero text on top of the overlay */
/* .subpage-hero-right-image .hero-content { */
.subpage-hero-right-image .hero-text {
  /*   -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #fff; */
  /*   height: 65vh; */
  /*   margin: 0 auto;
  max-width: 77.5625rem !important; */
  /*   padding: 100px 20px; */
  /*   padding: 6.03rem 19.62rem 2.22rem 6.19rem; */
  /*   padding: 8.2rem 19.62rem 1.6rem 8.30rem; */
  /*   padding: 8.2rem 8.30rem 13.2rem 8.30rem; */
  /*   padding: 8.2rem 19.8rem 13.2rem 0; */
  /*   padding: 8.2rem 6.25rem 13.2rem 6.25rem;
  position: relative; */
  /*   width: 70rem; */
  /*   width: 100%;
  z-index: 2; */
}
/* .subpage-hero-right-image .hero-text {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
margin-left: auto;
margin-right: auto;
max-width: 1241px;
width: 100%;
} */

.subpage-hero-right-image::after {
  background-image: url("https://1537475.fs1.hubspotusercontent-na1.net/hubfs/1537475/Images/Borders/subpage_btm-border.svg");
  background-position: bottom center;
  background-repeat: no-repeat;
  /*   background-size: contain;      ← scale to fit 100%×160px, no cropping */
  /*   background-size: 100% auto; */
  background-size: 100% 100%;
  bottom: 0;
  content: "";
  height: 160px;
  left: 0;
  position: absolute;
  width: 100%;
  /*   z-index: 9999; */
}



@media (max-width: 1024px) {
  .subpage-hero-right-image {
    padding: 6.2rem 5.3rem 8.2rem 5.3rem;
  }
}

@media (max-width: 768px) {
  .subpage-hero-right-image::after {
    background-image: url("https://1537475.fs1.hubspotusercontent-na1.net/hubfs/1537475/Images/Borders/subpage_btm-border-mobile.svg");
    height: 60px;
    margin-bottom: -2px;
  }
  /*   .subpage-hero-right-image .hero-content { */
  .subpage-hero-right-image .hero-text {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-item-align: stretch;
    -ms-grid-row-align: stretch;
    align-self: stretch;
    background: rgba(1, 38, 58, 0.50);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    border-radius: 0.625rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    /*     padding: 0.5rem 0rem 1.125rem 0rem; */
    padding: 0.5rem 2rem 1.125rem;
    text-align: center;
  }
}

/* .subpage-hero-right-image .hero-content h1 { */
.subpage-hero-right-image .hero-text h1 {
  background: var(--Gradients-Gold, linear-gradient(45deg, #D8940A 14.64%, #ECD957 39.39%, #FFF4AD 50.71%, #ECD957 63.44%, #D8940A 85.36%));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 4rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.08rem;
  line-height: 4.25rem; /* 106.25% */

  /*   color: #fff;
  font-size: 5.2rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.08rem;
  line-height: 5.5rem;
  max-width: 64.1875rem;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.30);
  width: 100%; */
  /*   font-size: 4rem; */
  /*   line-height: 4.25rem; /* 106.25% */
}

/* .subpage-hero-right-image .hero-content p { */
.subpage-hero-right-image .hero-text p {
  color: var(--strong-orange);
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: -0.025rem;
  line-height: 1.75rem; /* 140% */
  margin-bottom: 12px;
  max-width: 64.1875rem;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.30);
  width: 100%; */

  /*   font-size: 1.6rem; */
  /*   font-size: 1.25rem; */
}

/* Ensure the curved border SVG always spans 100% width */
/* .subpage-hero-right-image .curved-border {
box-sizing: border-box;
bottom: -5px;
left: 0;
line-height: 0;
position: absolute;
width: 100%;
} */

/* .subpage-hero-right-image .curved-border img {
display: block;
height: auto;
position: relative;
width: 100%;
{#  z-index: 9; #}
} */

/* If you have any responsive tweaks—e.g., smaller padding on mobile—add media queries here */
@media (max-width: 768px) {
  /*   .subpage-hero-right-image .hero-content {
  padding: 0.5rem 0rem 1.125rem 0rem;
} */
  /*   .subpage-hero-right-image .hero-content h1 { */
  .subpage-hero-right-image .hero-text h1 {
    font-size: 2.5rem;
    font-style: normal;
    font-weight: 600;
    letter-spacing: -0.05rem;
    line-height: 2.8125rem;
    text-align: center;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  }
  /*   .subpage-hero-right-image .hero-content p { */
  .subpage-hero-right-image .hero-text p {
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 600;
    letter-spacing: -0.025rem;
    line-height: 1.75rem; /* 140% */
    margin-bottom: 0;
  }
}