:root {
  --page-bg: #f0f0f0;
  --cream: #efefe4;
  --peach: #f1b39e;
  --olive: #68714c;
  --olive-dark: #596343;
}

* {
  box-sizing: border-box;
}

body.wedding-main-page {
  margin: 0;
  min-height: 100vh;
  background: var(--page-bg);
  color: var(--olive-dark);
  font-family: "Trebuchet MS", Arial, sans-serif;
  padding: 28px;
}

.wedding-card {
  max-width: 1220px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.12);
}

.hero-panel {
  background: var(--cream);
  text-align: center;
  padding: 24px 28px 54px;
}

.hero-panel--slideshow {
  position: relative;
  padding: 0;
  background: var(--cream);
}

.main-hero-slideshow {
  position: relative;
  width: 100%;
  height: clamp(46vh, 62vh, 72vh);
  overflow: hidden;
  background: #111;
}

.main-hero-slideshow .slide-item {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 700ms ease;
}

.main-hero-slideshow .slide-item.is-active {
  opacity: 1;
}

.main-hero-slideshow .slide-blur {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(18px) brightness(0.64);
  transform: scale(1.08);
  opacity: 0.1;
}

.main-hero-slideshow .slide-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
}

.top-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
}

.hero-panel--slideshow .top-actions {
  position: absolute;
  top: 16px;
  left: 20px;
  right: 20px;
  z-index: 5;
}

.dot-emblem {
  font-size: 1.5rem;
  color: #f8e1ae;
}

.mini-rsvp {
  text-decoration: none;
  background: var(--olive);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 9px 13px;
}

.kicker {
  margin: 0 0 14px;
  font-size: clamp(0.75rem, 1.8vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.hero-panel h1 {
  margin: 0;
  color: var(--olive);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 6.2vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
}

.intro-copy {
  margin: 34px auto 0;
  max-width: 620px;
}

.intro-copy p {
  margin: 0 0 12px;
  font-size: clamp(0.82rem, 1.5vw, 1.05rem);
  line-height: 1.42;
}

.sign-off {
  margin-top: 20px;
}

.center-flourish {
  margin-top: 20px;
  font-size: 2rem;
  color: var(--olive);
}

.details-band {
  background:
    radial-gradient(circle at 12px 12px, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
    radial-gradient(circle at 22px 22px, rgba(255, 255, 255, 0.08) 2px, transparent 2px),
    var(--peach);
  background-size: 40px 40px;
  padding: 34px 28px 20px;
  color: var(--olive);
}

.detail-block {
  text-align: center;
  margin-bottom: 16px;
}

.label {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

@font-face {
  font-family: 'font-nametype'; 
  src: url('../fonts/beauty-gadish.regular.otf') format('opentype');
  font-style: normal;
}

.nametype {
  margin: 0.5rem 0 0;
  font-family: 'font-nametype', 'Times New Roman', serif;
  font-size: clamp(3rem, 6.6vw, 5.8rem);
  line-height: 0.82;
  font-weight: 200;
  letter-spacing: 0.03em;
  color: var(--olive-dark);
  text-shadow: 0 2px 0 #f8e1ae, 0 8px 20px #f8e1ae; 
}

.detail-block h2 {
  margin: 18px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.96;
  font-weight: 500;
}

.block-flourish {
  display: inline-block;
  margin-top: 16px;
  font-size: 2rem;
}

.band-cta {
  text-align: center;
  margin-top: 10px;
}

.schedule-btn {
  display: inline-block;
  text-decoration: none;
  border: 2px solid var(--olive);
  color: var(--olive);
  padding: 12px 24px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.2);
}

.schedule-btn:hover {
  background: rgba(255, 255, 255, 0.38);
}

@media (min-width: 820px) {
  .details-band {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
    row-gap: 8px;
    align-items: start;
  }

  .band-cta {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  body.wedding-main-page {
    padding: 0;
  }

  .wedding-card {
    border-radius: 0;
    min-height: 100vh;
  }

  .hero-panel {
    padding: 18px 14px 34px;
  }

  .hero-panel--slideshow {
    padding: 0;
  }

  .main-hero-slideshow {
    height: 54vh;
  }

  .top-actions {
    margin-bottom: 44px;
  }

  .hero-panel--slideshow .top-actions {
    top: 12px;
    left: 12px;
    right: 12px;
    margin: 0;
  }

  .details-band {
    padding: 24px 14px 16px;
  }
}
