/* Load after assets/styles.css. Keep this file in the same assets directory. */
.hero-cinematic.hero-photo-modern {
  min-height: clamp(540px, 72svh, 760px);
  align-items: center;
  background-position: 90% center;
}

.hero-photo-modern .cinematic-copy {
  padding-block: clamp(66px, 9vh, 110px);
}

#openings, #employers, #apply, .application-section {
  scroll-margin-top: 112px;
}

.builder-layout {
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
}

.builder-layout .builder-intro {
  grid-column: 1 / -1;
  max-width: 760px;
}

.generated-ad .job-facts span,
.generated-ad .mobility-label,
.generated-ad .mobility-label span {
  color: #f4f8f8;
  overflow-wrap: anywhere;
}

.generated-ad .job-facts span,
.generated-ad .mobility-label {
  background: #21445a;
}

.generated-ad > small {
  color: #c5d3da;
}

@media (max-width: 820px) {
  .builder-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .builder-layout .generated-ad {
    position: static;
  }
}

@media (max-width: 660px) {
  .hero-cinematic.hero-photo-modern {
    min-height: 0;
    background-size: auto clamp(260px, 50vw, 320px);
    background-position: right top;
  }

  .hero-photo-modern::before {
    background: linear-gradient(to bottom, transparent 5rem, #0b2338 21rem);
  }

  .hero-photo-modern .cinematic-copy {
    padding-block: clamp(220px, 48vw, 282px) 48px;
  }
}
