/* Make the hero container full-width and crop overflow */
.subpage-hero {
  background-position: center;
  background-size: cover;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  overflow: hidden;
  position: relative;
  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 {
    padding: 6.5rem 2.24rem 5.3rem;
  }
}

/* The overlay gradient from Figma */
.subpage-hero .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 .hero-content {
  -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::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; */
}

.subpage-hero .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%;
}

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

@media (max-width: 768px) {
  .subpage-hero::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 .hero-content {
    -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;
    /*     padding: 0.5rem 0rem 1.125rem 0rem; */
    padding: 0.5rem 2rem 1.125rem;
  }
  .subpage-hero .hero-text {
    text-align: center;
  }
}

.subpage-hero .hero-content h1 {
  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 .hero-content p {
  color: var(--strong-orange);
  font-size: 1.6rem;
  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.25rem; */
}

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

/* .subpage-hero .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 .hero-content {
    padding: 0.5rem 0rem 1.125rem 0rem;
  } */
  .subpage-hero .hero-content h1 {
/*     font-size: 2.5rem; */
    font-size: 2.2rem;
    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 .hero-content p {
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 600;
    letter-spacing: -0.025rem;
    line-height: 1.75rem; /* 140% */
    margin-bottom: 0;
  }
}