/* === MOBILE-FIRST HERO SECTION === */
body.page-id-101 .about-hero-section {
  margin-top: -150px; /* Match or slightly exceed mobile header height */
  padding-bottom: 0.5rem;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

body.page-id-101 .marlene-hero-h1-row {
  padding: 0 1rem;
  margin: 0 auto;
  text-align: center;
}

body.page-id-101 .h1-heading {
  line-height: 1.3;
  margin: 0;
  padding: 0;
  display: block;
  z-index: 2;
  position: relative;
  word-break: break-word;
}

body .page-id-101 .et_pb_text_0 p.about-p {
  color: #5a6fa4 !important;
  font-size: 16px !important;
  line-height: 1.8em !important;
}

body.page-id-101 .section-3 {
  margin-top: -40px;
  padding-top: 0;
}

.hero-row-balanced .et_pb_row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}


body.page-id-101 .dark-overlay-section {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

body.page-id-101 .dark-overlay-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.7); /* adjust darkness here */
  z-index: 2;
  pointer-events: none;
}


/***************************************************************************/
/***************************************************************************/

/* === TABLET OVERRIDE: 768px–1023px === */
@media (min-width: 768px) and (max-width: 1023px) {
  body.page-id-101 .about-hero-section {
    padding-top: 0;
    margin-top: 0;
  }

  body.page-id-101 .h1-heading {
    /* font-size: 2.5rem; ← managed in Divi Builder */
  }
}

/* === TABLET + GENERAL: 768px and up === */
@media (min-width: 768px) {
  body.page-id-101 .about-hero-section {
    display: block;
    overflow: visible;
    padding-top: 50px;
    padding-bottom: 4rem;
  }

  body.page-id-101 .marlene-hero-h1-row {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  body.page-id-101 .h1-heading {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  
  body .page-id-101 .et_pb_text_0 p.about-p {
    font-size: 14px !important;
      color: #5a6fa4 !important;
  }

  body.page-id-101 .about-hero-section img {
    display: block;
    max-width: 100%;
    height: auto;
    position: static !important;
  }

  body.page-id-101 .about-hero-section .et_pb_column:last-child {
    margin-bottom: 3rem;
  }

  body.page-id-101 .about-hero-section .et_pb_row:last-child {
    display: block;
    height: auto;
    overflow: visible;
  }

  body.page-id-101 .section-3 {
    margin-top: -4px;
    padding-top: 100px;
    position: relative;
    z-index: 0;
  }

  body.page-id-101 .blue-shirt-img {
    width: 100%;
    max-width: 100%;
  }
}

/***************************************************************************/
/***************************************************************************/
/* === DESKTOP: 1024px and up === */
@media (min-width: 1024px) {
  body.page-id-101 .about-hero-section {
    padding-top: 200px;
    padding-bottom: 8rem;
  }

  body.page-id-101 .h1-heading {
    /*font-size: 3.125rem;*/
    line-height: 1.2;
    margin-top: 0;
    padding-top: 0;
  }

  body.page-id-101 .marlene-hero-h1-row {
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 4rem;
  }

  body.page-id-101 .section-3 {
    margin-top:0 !important;
    padding-top: 10px;
    position: relative;
    z-index: 0;
  }
  
    body.page-id-101 .section-3-row {
    margin-top: 200px !important;
    padding-top: 0;
    position: relative;
    z-index: 0;
  }
  
  /*body.page-id-101 .cta-spacing {*/
  /*  padding-top: 10px;*/
  /*  padding-bottom: 10px;*/
  /*  }*/
}

/***************************************************************************/
/***************************************************************************/
@media (min-width: 1024px) and (max-width: 1100px) {
  body.page-id-101 .cta-spacing {
    padding-top: 20px !important;
    padding-bottom: 120px !important;
    line-height: 1.1 !important;
  }
  
  .hero-row-balanced .et_pb_column:first-child {
  flex: 1;
  max-width: 420px;
}

}
