/* Careers: hero with the team photo, link to the Breezy job board, and a small
   "questions?" card that keeps the Contact Us button. */

.careers-hero .pro-intro-grid {
  align-items: center;
}

.careers-photo {
  margin: 0;
}

.careers-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 1.5rem;
  box-shadow: 0 18px 40px -18px rgba(31, 60, 63, .35);
  transform: rotate(-1.2deg);
}

.careers-more {
  padding-top: 0;
}

.careers-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem 1.75rem;
  border: 1px dashed #e5b98a;
  border-radius: 1.25rem;
  background-color: #fff;
}

.careers-card-title {
  flex: 1 0 100%;
  margin: 0;
  color: var(--colours--dark-teal);
  font-size: 1.25rem;
  line-height: 1.3;
}

.careers-card p {
  margin: 0;
}

@media screen and (max-width: 991px) {
  .careers-photo {
    max-width: 560px;
    margin: 1.5rem auto 0;
  }
}

@media screen and (max-width: 479px) {
  .careers-card {
    flex-direction: column;
    align-items: flex-start;
  }
}
