.image-and-content {
  padding: var(--space-2xl) 0;
  background: var(--color-surface);
}

.image-and-content--alt {
  background: var(--color-surface-alt);
}

.image-and-content--pink {
  background: var(--color-pink-pale);
  border-block: 1px solid var(--color-pink-border);
}

.image-and-content--dark {
  background: var(--color-dark);
  color: var(--color-text-on-dark);
}

.image-and-content__wrapper {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.image-and-content--reverse .image-and-content__wrapper {
  direction: rtl;
}

.image-and-content--reverse .image-and-content__wrapper > * {
  direction: ltr;
}

.image-and-content__media {
  overflow: hidden;
  border-radius: var(--radius-2xl);
  background: var(--color-pink-pale);
  min-height: 320px;
  position: relative;
}

.image-and-content__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(243, 198, 204, 0.6) 0%, transparent 55%);
  pointer-events: none;
  z-index: 1;
}

.image-and-content__media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  position: relative;
}

.image-and-content__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.image-and-content__body > .btn {
  align-self: flex-start;
  width: fit-content;
}

.image-and-content__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  line-height: 1.15;
}

.image-and-content__title em {
  font-style: italic;
  color: var(--color-accent);
}

.image-and-content__text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-muted);
  font-weight: 300;
}

.image-and-content--dark .image-and-content__text {
  color: rgba(247, 245, 240, 0.6);
}

.image-and-content--dark .image-and-content__title em {
  color: var(--color-yellow);
}

.image-and-content--dark .eyebrow,
.image-and-content--dark .t-eyebrow {
  color: var(--color-yellow);
}

.image-and-content--dark .eyebrow::before,
.image-and-content--dark .t-eyebrow::before {
  background: var(--color-yellow);
}

@media (max-width: 768px) {
  .image-and-content {
    padding: var(--space-xl) 0;
  }

  .image-and-content__wrapper,
  .image-and-content--reverse .image-and-content__wrapper {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    direction: ltr;
    padding: 0 var(--space-md);
  }
}
