/* Preserve the birthday template's card layout under the bachelor page's IDs. */
#bachelor-spaces .space-card-grid,
#bachelorette-spaces .space-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
#bachelor-spaces .space-card-button,
#bachelorette-spaces .space-card-button {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
#why-host-bachelor .addon-card,
#why-host-bachelorette .addon-card {
  text-align: center;
  align-items: center;
}
#why-host-bachelor .addon-card :is(h3, p),
#why-host-bachelorette .addon-card :is(h3, p) {
  margin-inline: auto;
}
#why-host-bachelor .experience-icon,
#why-host-bachelorette .experience-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #f6e9e5;
  font-size: 2rem;
  line-height: 1;
}
@media (max-width: 650px) {
  #bachelor-spaces .space-card-grid,
  #bachelorette-spaces .space-card-grid {
    grid-template-columns: 1fr;
  }
}

/* Four visual experience cards: two columns, photo beside the copy. */
.bachelor-experiences-heading {
  max-width: 860px;
  margin: 0 auto 32px;
  text-align: center;
}
.bachelor-experiences-heading h2 {
  margin-bottom: 14px;
}
.bachelor-experiences-heading p {
  margin: 0;
}
.bachelor-experience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.bachelor-experience-card {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid #ddd3c9;
  border-radius: 16px;
  background: #fff;
}
.bachelor-experience-photo {
  position: relative;
  min-height: 280px;
  background: #f6e9e5;
}
.bachelor-experience-photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bachelor-experience-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 26px 22px;
  text-align: center;
}
.bachelor-experience-copy h3 {
  margin: 0 0 14px;
  color: #c02126;
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  line-height: 1.25;
  overflow-wrap: break-word;
}
.bachelor-experience-copy p {
  margin: 0 0 24px;
  font-size: 1rem;
  line-height: 1.6;
}
.bachelor-experience-copy .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  margin-top: auto;
  white-space: normal;
  text-align: center;
}
@media (max-width: 1000px) {
  .bachelor-experience-grid {
    grid-template-columns: 1fr;
  }
  .bachelor-experience-card {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  }
}
@media (max-width: 600px) {
  .bachelor-experience-card {
    grid-template-columns: 1fr;
  }
  .bachelor-experience-photo {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
  .bachelor-experience-copy {
    padding: 26px 22px;
  }
}
