/* Family honor page for the wedding-party route */

.wedding-party-page {
  background:
    radial-gradient(circle at 18% 12%, rgba(216, 184, 97, 0.10), transparent 38%),
    radial-gradient(circle at 82% 6%, rgba(140, 30, 50, 0.08), transparent 32%),
    linear-gradient(180deg, #fbf6ed 0%, #f2eada 100%);
  color: #2a1d10;
}

.wp-hero {
  position: relative;
  min-height: 64vh;
  display: flex;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(5rem, 9vw, 7rem) clamp(1.25rem, 5vw, 3.5rem) clamp(3rem, 6vw, 5rem);
  color: #fff7e8;
}

.wp-hero__poster {
  position: absolute;
  inset: 0;
  z-index: -2;
  transform: scale(1.05);
}

.wp-hero__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wp-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 5, 3, 0.18) 0%, rgba(8, 5, 3, 0.78) 78%, rgba(8, 5, 3, 0.92) 100%);
}

.wp-hero__content {
  width: min(50rem, 100%);
}

.wp-hero__kicker {
  font-family: var(--font-accent);
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #e9cf7c;
  margin: 0 0 1rem;
}

.wp-hero h1 {
  margin: 0 0 0.85rem;
  font-family: 'Pinyon Script', 'Great Vibes', cursive;
  font-size: clamp(3.6rem, 9vw, 6.8rem);
  line-height: 0.92;
  color: #fff8ed;
  text-shadow: 0 22px 80px rgba(0, 0, 0, 0.45);
}

.wp-hero__subtitle {
  margin: 0 0 1.6rem;
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.6;
  color: rgba(255, 248, 232, 0.84);
  max-width: 38rem;
}

.wp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.wp-container {
  width: min(1180px, calc(100% - 1.6rem));
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 7vw, 6rem);
}

.wp-section {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.wp-section__header {
  text-align: center;
  margin-bottom: 2.4rem;
}

.wp-section__kicker {
  font-family: var(--font-accent);
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #a0750f;
  margin: 0 0 0.4rem;
}

.wp-section__header h2 {
  font-family: var(--font-display, 'Cinzel', serif);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  color: #2a1d10;
  margin: 0 0 0.5rem;
}

.wp-section__subtitle {
  margin: 0 auto;
  font-family: var(--font-primary);
  font-size: 1.02rem;
  line-height: 1.7;
  color: #5a432a;
  max-width: 32rem;
}

.wp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: clamp(1rem, 2.4vw, 1.8rem);
}

.wp-grid--parents {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.wp-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(255, 252, 244, 0.92) 0%, rgba(247, 240, 224, 0.96) 100%);
  border: 1px solid rgba(170, 130, 30, 0.16);
  border-radius: 22px;
  padding: 1rem 1rem 1.35rem;
  box-shadow: 0 18px 40px rgba(70, 50, 12, 0.10);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms ease;
  overflow: hidden;
}

.wp-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 52px rgba(70, 50, 12, 0.16);
}

.wp-card__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(135deg, #f6e8c6 0%, #d8b861 100%);
}

.wp-card__photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 56%;
  background: linear-gradient(180deg, rgba(20, 12, 4, 0) 0%, rgba(20, 12, 4, 0.46) 100%);
  pointer-events: none;
}

.wp-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 460ms cubic-bezier(0.22, 1, 0.36, 1);
}

.wp-card:hover .wp-card__photo img {
  transform: scale(1.06);
}

.wp-card__monogram {
  position: absolute;
  inset: auto 0.85rem 0.7rem auto;
  z-index: 2;
  font-family: 'Pinyon Script', cursive;
  font-size: 1.6rem;
  color: #fff5d8;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.wp-card__role {
  margin: 1rem 0 0.2rem;
  font-family: var(--font-accent);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #a0750f;
}

.wp-card__name {
  margin: 0 0 0.45rem;
  font-family: var(--font-display, 'Cinzel', serif);
  font-size: 1.35rem;
  line-height: 1.2;
  color: #2a1d10;
}

.wp-card__bio {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 0.94rem;
  line-height: 1.55;
  color: #4d3a25;
}

.wp-cta {
  text-align: center;
  padding: clamp(2rem, 4vw, 3rem) clamp(1.2rem, 3vw, 2.4rem);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(249, 239, 207, 0.92) 0%, rgba(233, 214, 164, 0.94) 100%);
  border: 1px solid rgba(170, 130, 30, 0.24);
  box-shadow: 0 22px 50px rgba(94, 69, 16, 0.14);
}

.wp-cta h2 {
  font-family: var(--font-script, 'Great Vibes', cursive);
  font-size: clamp(2rem, 5vw, 2.85rem);
  margin: 0 0 0.65rem;
  color: #6b4b0c;
}

.wp-cta p {
  margin: 0 0 1.6rem;
  color: #4c3a28;
  font-family: var(--font-primary);
  line-height: 1.65;
  max-width: 38rem;
  margin-inline: auto;
}

@media (max-width: 720px) {
  .wp-hero {
    min-height: 56vh;
    padding: 5.5rem 1rem 2.4rem;
  }

  .wp-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .wp-card { padding: 0.8rem 0.8rem 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  .wp-card,
  .wp-card__photo img { transition: none; }
}
