/* ==================================================================
   All Events Calendar — page styles
   The calendar module itself is styled in components.css (.mb-event-*),
   since five pages render it. Only this page's own sections live here.
   ================================================================== */

/* ---- section backgrounds ------------------------------------------ */
.ae-calendar { background: var(--surface); }
.ae-rhythm   { /* background comes from .mb-feature--alt */ }
.ae-seasons  { background: var(--surface); }
.ae-concerts { /* background comes from .mb-feature--sand */ }
.ae-speakers { /* background comes from .mb-feature--deep */ }
.ae-family   { /* background comes from .mb-feature */ }
.ae-browse   { /* background comes from .mb-feature--alt */ }
.ae-register { background: var(--surface-sand); }

.ae-calendar .section-intro,
.ae-rhythm .section-intro,
.ae-seasons .section-intro,
.ae-speakers .section-intro,
.ae-browse .section-intro,
.ae-register .section-intro { margin-bottom: 52px; }

/* ---- 03  the calendar module ------------------------------------- */
.ae-module { margin-top: 48px; }

/* ---- 04  the annual rhythm band ---------------------------------- */
.ae-band-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 52px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.ae-band {
  padding: 34px 32px 36px;
  border-right: 1px solid var(--line);
}
.ae-band:last-child { border-right: 0; }
.ae-band-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: 12px;
}
.ae-band h3 {
  font-size: 24px;
  line-height: 30px;
	font-weight: 700;
  color: var(--brand-ink);
  margin: 0 0 10px;
}
.mb-num-card {
    background: #fff;
}
.mb-num-badge {
    font-size: 20px;

}
.script-accent.on-dark {
    color: #f2953f;
}
.ae-band p {
  margin: 0;
  font-size: 16px;
  line-height: 26px;
  color: var(--text-body);
}

/* ---- 05  the four season doors ----------------------------------- */
.ae-season-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 52px;
}
.ae-season {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  min-height: 320px;
  text-decoration: none;
  background: var(--brand-deep);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
a.ae-season:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(13, 77, 63, .22);
}
.ae-season-media { position: absolute; inset: 0; }
.ae-season-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease-out);
}
a.ae-season:hover .ae-season-media img { transform: scale(1.06); }
.ae-season-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 51, 51, .88) 0%, rgba(0, 51, 51, .45) 48%, rgba(0, 51, 51, .12) 100%);
}
.ae-season-body {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 26px 30px;
}
.ae-season-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--brand-mint);
  margin-bottom: 10px;
}
.ae-season-body h3 {
  margin: 0;
  font-size: 21px;
  line-height: 29px;
  color: #fff;
}
.ae-season-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-top: 18px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .45);
  color: #fff;
  font-size: 13px;
  transition: background-color .25s var(--ease-out), border-color .25s var(--ease-out),
              transform .25s var(--ease-out);
}
a.ae-season:hover .ae-season-go {
  background: var(--brand-accent);
  border-color: var(--brand-accent);
  transform: translateX(4px);
}

/* ---- 07  speakers, the one dark band -----------------------------
   The deep background needs every piece of text inside it flipped.
   Written out rather than assumed: the intro, its paragraphs and the
   stage caption all sit on dark here. */
.ae-speakers .section-intro h2 { color: var(--text-light); }
.ae-speakers .section-intro p { color: rgba(255, 255, 255, .82); }
.ae-speakers .section-intro a { color: var(--brand-mint); }
.ae-speakers .section-intro a:hover { color: var(--brand-accent); }
.ae-speakers-stage { margin-top: 48px; }

/* ---- 09  browse ---------------------------------------------------- */
.ae-browse-actions { margin-top: 44px; }

/* ---- 10  register -------------------------------------------------- */
.ae-register-actions { margin-top: 44px; }

/* ---- responsive ---------------------------------------------------- */
@media (max-width: 1199px) {
  .ae-season-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
}

@media (max-width: 991px) {
  .ae-band-grid { grid-template-columns: 1fr; margin-top: 42px; }
  .ae-band { border-right: 0; border-bottom: 1px solid var(--line); }
  .ae-band:last-child { border-bottom: 0; }
  .ae-season-grid { margin-top: 42px; }
  .ae-module { margin-top: 40px; }
}

@media (max-width: 575px) {
  .ae-season-grid { grid-template-columns: 1fr; gap: 18px; }
  .ae-season,
  .ae-season-body { min-height: 260px; }
  .ae-band { padding: 28px 24px 30px; }
}
