/* ── Agenda: "How the Weekend Works" ─────────────────────────────── */
.module--agenda { background: var(--c-white); }

.agenda__heading {
  font-family: var(--ff-head);
  font-weight: 800;
  color: var(--c-ink);
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin: 0 0 clamp(28px, 4vw, 48px);
}

.agenda__day { margin-bottom: clamp(36px, 5vw, 64px); }
.agenda__day:last-of-type { margin-bottom: 0; }

.agenda__day-title {
  font-family: var(--ff-head);
  font-weight: 700;
  color: var(--c-crimson);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  margin: 0 0 10px;
}

.agenda__day-intro {
  font-family: var(--ff-body);
  color: var(--c-body);
  font-size: 1.05rem;
  margin: 0 0 22px;
}

.agenda__table-wrap { width: 100%; }

.agenda__table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--ff-body);
  table-layout: fixed;
}

.agenda__table thead th {
  background: var(--c-crimson);
  color: var(--c-white);
  font-weight: 700;
  font-size: 1.05rem;
  text-align: left;
  padding: 16px 24px;
}

.agenda__table thead th:first-child { width: 18%; }
.agenda__table thead th:nth-child(2) { width: 24%; }

.agenda__table tbody td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--c-line);
  color: var(--c-body);
  font-size: 1rem;
  vertical-align: top;
  word-wrap: break-word;
}

.agenda__table tbody tr:last-child td { border-bottom: 0; }

.agenda__time { font-weight: 700; color: var(--c-ink); white-space: nowrap; }

.agenda__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: clamp(40px, 5vw, 64px);
}

/* Mobile: collapse each row into a stacked card labelled by column */
@media (max-width: 640px) {
  .agenda__table,
  .agenda__table thead,
  .agenda__table tbody,
  .agenda__table tr,
  .agenda__table td { display: block; width: 100%; }

  .agenda__table thead { position: absolute; left: -9999px; }

  .agenda__table tbody tr {
    border: 1px solid var(--c-line);
    border-radius: 8px;
    margin-bottom: 16px;
    padding: 4px 0;
    overflow: hidden;
  }

  .agenda__table tbody td {
    display: flex;
    gap: 12px;
    border-bottom: 1px solid var(--c-line);
    padding: 12px 18px;
  }

  .agenda__table tbody tr td:last-child { border-bottom: 0; }

  .agenda__table tbody td::before {
    content: attr(data-label);
    flex: 0 0 74px;
    font-weight: 700;
    color: var(--c-crimson);
  }

  .agenda__time { white-space: normal; }

  .agenda__actions .btn { width: 100%; text-align: center; }
}
