/* =========================================
   Wedding Schedule Section
   Scope: wedding schedule only
========================================= */
.wedding-schedule-section {
  padding-block: var(--section-space-y);
  padding-inline: var(--container-padding-x);
  background: #eee2d0;
}

.wedding-schedule-section .section-header {
  width: min(100%, 42rem);
  margin-inline: auto;
  margin-bottom: 1.5rem;
  text-align: center;
}

.wedding-schedule-section .timeline-content {
  overflow: hidden;
}

.wedding-schedule-section .section-title {
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-heading);
  color: var(--color-heading);
}

.wedding-schedule-section .schedule-timeline {
  position: relative;
  width: min(100%, 48rem);
  margin-inline: auto;
  display: grid;
  gap: 1rem;
  padding-left: 1.25rem;
}

.wedding-schedule-section .schedule-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0.5rem;
  width: 0.125rem;
  background-color: color-mix(in srgb, var(--color-border) 80%, var(--bg-page));
}

.wedding-schedule-section .schedule-item {
  position: relative;
  display: grid;
  gap: 0.625rem;
}

.wedding-schedule-section .schedule-item::before {
  content: "";
  position: absolute;
  top: 1.1875rem;
  left: -1.0625rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: var(--radius-round);
  border: 0.125rem solid var(--bg-page);
  background-color: var(--color-heading);
  box-shadow: 0 0 0 0.125rem var(--color-border);
}

.wedding-schedule-section .timeline-time {
  display: inline-flex;
  align-items: center;
}

.wedding-schedule-section .timeline-time time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.5rem;
  min-height: 2rem;
  padding-inline: 0.875rem;
  border: var(--border-width-thin) var(--border-style-default) var(--color-border);
  border-radius: var(--radius-round);
  background-color: var(--bg-surface);
  box-shadow: var(--shadow-sm);
  font-size: clamp(0.875rem, 3.2vw, 0.9375rem);
  font-weight: var(--font-weight-semibold);
  line-height: 1;
  color: var(--color-heading);
}

.wedding-schedule-section .timeline-content {
  display: grid;
  gap: 0.5rem;
  padding: 1rem;
  border: var(--border-width-thin) var(--border-style-default) var(--color-border);
  border-radius: 1rem;
  background-color: var(--bg-surface);
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

.wedding-schedule-section .schedule-item:hover .timeline-content,
.wedding-schedule-section .schedule-item:focus-within .timeline-content {
  transform: translateY(-0.125rem);
  box-shadow: var(--shadow-md);
}

.wedding-schedule-section .timeline-title {
  font-size: clamp(1.0625rem, 3.6vw, 1.25rem);
  font-weight: var(--font-weight-semibold);
  line-height: 1.35;
  color: var(--color-heading);
}

.wedding-schedule-section .timeline-description {
  font-size: clamp(0.9375rem, 3.2vw, 1rem);
  line-height: var(--line-height-body);
  color: var(--color-text-muted);
}

@media (min-width: 48rem) {
  .wedding-schedule-section {
    padding-inline: var(--container-padding-x-lg);
  }

  .wedding-schedule-section .section-header {
    margin-bottom: 2rem;
  }

  .wedding-schedule-section .schedule-timeline {
    gap: 1.25rem;
    padding-left: 1.5rem;
  }

  .wedding-schedule-section .timeline-content {
    padding: 1.25rem;
    border-radius: var(--radius-lg);
  }
}

@media (min-width: 64rem) {
  .wedding-schedule-section .schedule-timeline {
    width: min(100%, 54rem);
    gap: 1.5rem;
  }
}
