/* Shared photography placement; colours inherit the site's active theme. */
.hero-photo > img {
  object-position: 50% 50%;
}

.service-card.service-card-with-photo {
  padding: 0;
  overflow: hidden;
}

.service-card-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  flex-shrink: 0;
}

.service-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
  min-width: 0;
}

.service-card-content > p {
  font-size: 12px;
  line-height: 1.8;
  margin-bottom: 25px;
}

.service-detail > img {
  display: block;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.join-banner {
  align-items: center;
}

.join-banner .join-art {
  display: block;
  min-width: 0;
}

.join-team-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 60px 12px 12px 12px;
}

.auth-story-photo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 240px;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  margin-top: 24px;
}

.auth-story:has(.auth-story-photo) small {
  margin-top: 24px;
}

.booking-service-preview {
  margin-bottom: 22px;
  overflow: hidden;
  border-radius: 9px;
}

.booking-service-preview[hidden] {
  display: none;
}

.booking-service-preview > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.service-choice-photo {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.service-choice:has(.service-choice-photo) > span {
  min-width: 0;
}

@media (max-width: 767.98px) {
  .join-team-photo {
    border-top-left-radius: 40px;
    max-height: 320px;
  }
}

@media (max-width: 399.98px) {
  .service-choice:has(.service-choice-photo) {
    gap: 10px;
    padding: 14px;
  }

  .service-choice-photo {
    width: 52px;
    height: 52px;
  }
}
