/* The schedule in "The day" section, and the wedding-day card at the top of the page
   (schedule.js). Both stay hidden until there is a date or events to show. */

/* Schedule: sits on the red of the details section. */

.schedule {
  margin-top: 54px;
}
.schedule[hidden],
.today[hidden] {
  display: none;
}
.schedule .eyebrow {
  margin: 0 0 6px;
  color: var(--paper);
}
.schedule ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
.schedule-event {
  display: grid;
  grid-template-columns: minmax(150px, 220px) 1fr;
  column-gap: 38px;
  padding: 24px 0;
  border-bottom: 1px solid #ffffff55;
}
.schedule-event > * {
  grid-column: 2;
  margin: 0;
}
.schedule-event .schedule-when {
  grid-column: 1;
  grid-row: 1 / span 3;
  color: var(--paper);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 2.6;
  text-transform: uppercase;
}
.schedule-event h3 {
  font: 400 25px/1.2 var(--serif);
}
.schedule-event p {
  color: var(--paper);
  font-size: 13px;
  line-height: 1.8;
}
.schedule-event .schedule-note {
  color: #ffdbdf;
}
.schedule-event a {
  text-underline-offset: 3px;
}
.schedule-tag,
.schedule-status:not(:empty) {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 9px;
  border: 1px solid #ffffff88;
  border-radius: 99px;
  font: 700 9px/1.5 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  vertical-align: middle;
}
.schedule-status:not(:empty) {
  background: var(--white);
  border-color: var(--white);
  color: var(--red);
}
.schedule-event.is-done {
  opacity: 0.55;
}

/* The wedding-day card: what is happening now, or next. */

.today {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 22px;
  margin-bottom: 26px;
  padding: 20px 26px;
  background: var(--white);
  border: 1px solid var(--red);
}
.today > * {
  margin: 0;
}
.today .eyebrow {
  flex-basis: 100%;
  color: var(--red);
}
.today h2 {
  color: var(--red);
  font: 400 clamp(26px, 3vw, 36px)/1.15 var(--serif);
  letter-spacing: -0.02em;
}
.today-line {
  color: var(--ink);
  font: 16px/1.5 var(--serif);
}
.today-next {
  flex-basis: 100%;
  color: var(--text-muted);
  font-size: 13px;
}
.today a {
  color: var(--red-dark);
  text-underline-offset: 3px;
}

/* RSVP: an invited household ticks who is coming. */

.who {
  margin: 0;
  padding: 0;
  border: 0;
}
.who[hidden] {
  display: none;
}
.who legend {
  padding: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.who .check {
  margin-top: 12px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.3;
}
.form-grid[hidden],
.check[hidden] {
  display: none;
}

@media (max-width: 700px) {
  .schedule-event {
    display: block;
    padding: 20px 0;
  }
  .schedule-event .schedule-when {
    line-height: 1.6;
    margin-bottom: 6px;
  }
  .today {
    padding: 16px 18px;
  }
}
