.hero-photo-overlay-text {
  font-family: var(--ff-dopisbold-sans-serif);
  font-size: clamp(2.5rem, 4vw, 4.6rem);
  line-height: 116%;
  margin-bottom: 15px;
}

.hero-photo-overlay-preheader {
  text-transform: uppercase;
  color: var(--color-lehigh-yellow);
  font-size: var(--fs-14px);
  font-weight: 400;
  margin-bottom: 15px;
  letter-spacing: 1.4px;
}

.hero-photo-overlay-image img {
  margin: 0px;
  width: 100%;
  height: auto;
  border-radius: 40px;
}

.hero-photo-overlay-link {
  padding-top: 25px;
}

.hero-photo-overlay-link .field__item {
  padding-top: 5px !important;
  padding-bottom: 5px !important;
  padding-left: 0px !important;
  padding-right: 0px !important;
  text-align: center !important;
  background-color: var(--color-lehigh-yellow) !important;
  position: relative;
  overflow: hidden;
  border-radius: 40px;
}

.hero-photo-overlay-link .field__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--color-ffd02d);
  transition: left 0.8s ease;
}

.hero-photo-overlay-link .field__item:hover::before {
  left: 0;
}

.hero-photo-overlay-link a {
  position: relative;
  z-index: 1000;
  text-decoration: none !important;
  color: var(--color-lehigh-brown) !important;
  font-size: var(--fs-16px) !important;
  font-weight: 300 !important;
}

.hero-photo-overlay-link a:hover {
  text-decoration: none !important;
  font-weight: 400 !important;
}

.hero-photo-overlay-link a:focus {
  text-decoration: underline !important;
  font-weight: 400 !important;
}

.hero-photo-overlay-image img {
  border-radius: 40px;
}

@media screen and (min-width: 992px) {
  .hero-photo-overlay-wrapper {
    float: right;
    width: 75%;
    padding-bottom: var(--padded-paragraph-desktop-above-below) !important;
  }

  .hero-photo-overlay-text-wrapper {
    width: 40%;
    clear: both !important;
    margin-left: var(--padded-paragraph-desktop-sides) !important;
    position: absolute;
    top: 0px;
    background-color: var(--color-lehigh-brown);
    color: var(--color-white);
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 50px;
  }

  .hero-photo-overlay-text-wrapper h1.title {
    line-height: inherit;
  }

  .hero-photo-overlay-text-wrapper.added-hero-header {
    top: -1em;
  }

  .paragraph--type--component-hero-photo-overlay {
    margin-top: 0px !important;
  }

  .hero-photo-overlay-link .field__item {
    width: 275px !important;
    padding: 10px !important;
  }

  .hero-photo-overlay-link .field__item:not(:last-child) {
    margin-bottom: 25px;
  }
}

@media screen and (max-width: 991px) {
  .hero-photo-overlay-text-wrapper {
    background-color: var(--color-lehigh-brown);
    color: var(--color-white);
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 50px;
    position: relative;
    bottom: 10vw;
    margin-left: 15px;
    margin-right: 15px;
    height: unset !important;
    padding-bottom: var(--padded-paragraph-mobile-above-below) !important;
    padding-bottom: 50px;
  }

  .paragraph--type--component-hero-photo-overlay {
    margin-bottom: -150px !important;
  }

  .hero-photo-overlay-text-wrapper .hero-photo-overlay-text {
    font-size: var(--fs-8vw);
    margin-bottom: 40px;
  }

  .hero-photo-overlay-link .field__item {
    width: 100% !important;
    padding: 10px !important;
  }

  .hero-photo-overlay-link .field__item:not(:last-child) {
    margin-bottom: 25px;
  }
}

@media screen and (min-width: 1401px) {
  .hero-photo-overlay-text-wrapper .hero-photo-overlay-text {
    font-size: var(--fs-3-5vw);
  }
}

@media (min-width: 992px) and (max-width: 1400px) {
  .hero-photo-overlay-text-wrapper .hero-photo-overlay-text {
    font-size: var(--fs-3vw);
  }
}


@media screen and (min-width: 768px) {

  /* Moved from landing-page-paragraph-padding.css (lines > 208) */
  .widened-paragraph.paragraph--type--component-hero-photo-overlay {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
  }
}



@media screen and (min-width: 768px) {

  /* Moved from landing-page-paragraph-padding.css (lines > 208) */
  .widened-paragraph.paragraph--type--component-hero-photo-overlay {
    margin-top: calc(-1 * var(--padded-paragraph-desktop-above-below)) !important;
  }
}



@media screen and (max-width: 767px) {

  /* Moved from landing-page-paragraph-padding.css (lines > 208) */
  .paragraph--type--component-hero-photo-overlay {
    margin-top: 0px !important;
  }
}



@media screen and (max-width: 991px) {

  /* Moved from landing-page-paragraph-padding.css (lines > 208) */
  .hero-photo-overlay-text-wrapper {
    margin-left: var(--padded-paragraph-mobile-sides) !important;
    margin-right: var(--padded-paragraph-mobile-sides) !important;
  }
}

/* Typography harmonized with hero-video-overlay */
/*@media screen and (min-width: 1601px) {
  .hero-photo-overlay-text-wrapper .hero-photo-overlay-text {
    font-size: 72px;
  }
}

@media screen and (min-width: 1401px) and (max-width: 1600px) {
  .hero-photo-overlay-text-wrapper .hero-photo-overlay-text {
    font-size: 62px;
  }
}

@media screen and (min-width: 1201px) and (max-width: 1400px) {
  .hero-photo-overlay-text-wrapper .hero-photo-overlay-text {
    font-size: 52px;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  .hero-photo-overlay-text-wrapper .hero-photo-overlay-text {
    font-size: 52px;
  }
}
*/
/* Note: This mirrors the video overlay behavior where <=1200px falls back to fluid vw sizing */
/*@media screen and (max-width: 1200px) {
  .hero-photo-overlay-text-wrapper .hero-photo-overlay-text {
    font-size: var(--fs-8vw);
  }
}*/
