/* ═══════════════════════════════════════════════════════════
   CALENDAR PAGE — supplemental styles
═══════════════════════════════════════════════════════════ */

/* ── Page Header ──────────────────────────────────────────── */
.cal-header {
  background: var(--navy);
  padding: 8rem var(--pad-x) 3.5rem;
  border-bottom: 1px solid rgba(201,168,76,0.2);
}

.cal-header__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.cal-header h1 {
  font-family: var(--ff-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1;
  margin: 0.5rem 0 0.8rem;
}

.cal-header p {
  font-size: 0.9rem;
  color: rgba(248,246,240,0.55);
  line-height: 1.6;
}

/* Quick-reference meta pills */
.cal-header__meta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-shrink: 0;
  padding-bottom: 0.2rem;
}

.cal-meta-item {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.cal-meta-item__label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.75;
  min-width: 90px;
}

.cal-meta-item__value {
  font-family: var(--ff-display);
  font-size: 1rem;
  color: var(--cream);
}

@media (max-width: 640px) {
  .cal-header__inner { flex-direction: column; align-items: flex-start; gap: 2rem; }
}


/* ── Calendar Embed ───────────────────────────────────────── */
.cal-section {
  background: var(--cream);
  padding: 3.5rem 0 2rem;
}

.cal-embed-wrapper {
  background: var(--white);
  border: 1px solid rgba(15,30,61,0.1);
  border-radius: var(--radius);
  overflow: hidden;
  /* The Google Calendar iframe background is white —
     a subtle shadow grounds it on the cream page */
  box-shadow: 0 2px 24px rgba(15,30,61,0.07);
}

.cal-embed-wrapper iframe {
  display: block;
  width: 100%;
  /* Height is set inline; override for small screens below */
}

.cal-note {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--text-light);
  text-align: right;
}

.cal-note a {
  color: var(--gold);
  border-bottom: 1px solid rgba(201,168,76,0.35);
  padding-bottom: 1px;
  transition: border-color var(--transition);
}
.cal-note a:hover { border-color: var(--gold); }

/* On narrow screens the iframe becomes scrollable inside a fixed-height wrapper */
@media (max-width: 600px) {
  .cal-embed-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .cal-embed-wrapper iframe {
    min-width: 480px;
    height: 520px;
  }
}


/* ── RSVP Reminder Strip ──────────────────────────────────── */
.cal-rsvp-strip {
  background: var(--navy);
  padding: 2rem 0;
  border-top: 1px solid rgba(201,168,76,0.15);
}

.cal-rsvp-strip__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cal-rsvp-strip__icon {
  color: var(--gold);
  flex-shrink: 0;
  opacity: 0.7;
}

.cal-rsvp-strip__text {
  flex: 1;
  font-size: 0.88rem;
  color: rgba(248,246,240,0.65);
  line-height: 1.5;
  min-width: 200px;
}

.cal-rsvp-strip__text strong {
  color: var(--cream);
  font-weight: 600;
}

/* Active nav */
.nav__active { color: var(--gold) !important; }
