/* Lets the last visible image run off the right edge of the viewport
   instead of stopping short inside the section's usual padding. */
.photo-grid--bleed {
  padding-right: 0;
}

.weddings-hero {
  aspect-ratio: 390 / 594;
}

@media (min-width: 1024px) {
  .weddings-hero {
    aspect-ratio: 1728 / 750;
  }
}

.weddings-intro {
  background: var(--color-cream);
  color: var(--color-olive);
  padding: var(--space-xl) var(--space-section-x);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  text-align: center;
}

.weddings-intro__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--fs-section-title);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.1;
  max-width: 30ch;
  margin: 0 auto;
}

.weddings-intro__body {
  font-size: var(--fs-body);
  line-height: 1.5;
  max-width: 55ch;
  margin: 0 auto;
}

.wedding-venues {
  background: var(--color-cream);
  padding: 0 var(--space-section-x) var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.wedding-venue {
  position: relative;
  aspect-ratio: 390 / 500;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.wedding-venue img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wedding-venue__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: var(--space-lg) var(--space-md);
  background: linear-gradient(to bottom, transparent 55%, rgba(0, 0, 0, 0.8) 100%);
}

.wedding-venue__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--fs-section-title);
  color: var(--color-cream);
  text-transform: uppercase;
  line-height: 1.1;
}

.wedding-venue__cta {
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .wedding-venues {
    flex-direction: row;
  }

  .wedding-venue {
    flex: 1;
    aspect-ratio: 794 / 794;
  }
}
