/* St. Louis Events: align the existing calendar with the Nov 2026 MoFutbol home theme.
   Visual overrides only. Preserve the legacy calendar app and Event Watch publication gate. */
body.mf-calendar-page {
  --mf-events-ink: #eff1f2;
  --mf-events-muted: #b5bec0;
  --mf-events-surface: #0e1210;
  --mf-events-surface-alt: #171d19;
  --mf-events-border: #414c46;
  --mf-events-green: #4cdd62;
  --mf-events-gold: #eacb49;
  color: var(--mf-events-ink);
  background: #030504 !important;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.46;
}

/* The refreshed homepage is a centered 1370px editorial surface. */
body.mf-calendar-page .site-header,
body.mf-calendar-page .mf-option4-quicklinks,
body.mf-calendar-page .site-footer {
  width: 100%;
  max-width: 1370px;
  margin-inline: auto;
}
body.mf-calendar-page .site-header {
  background: #06140e !important;
  border-bottom: 1px solid #405c31;
}
body.mf-calendar-page .site-header .site-header__inner {
  min-height: 64px;
}
body.mf-calendar-page .mf-option4-quicklinks {
  background: #10231a;
  border-bottom: 1px solid #3a4d37;
}
body.mf-calendar-page .mf-option4-quicklinks a {
  border-color: #3b5641;
  background: #152a20;
}
body.mf-calendar-page .mf-option4-quicklinks a:hover,
body.mf-calendar-page .mf-option4-quicklinks a:focus-visible {
  background: #264733;
}

/* Replace the full-bleed red/gold stadium treatment with the new compact hero card. */
body.mf-calendar-page > .mf-daily-hero {
  width: calc(100% - 28px);
  max-width: 1350px;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 12px auto 0;
  overflow: hidden;
  border: 1px solid #6b7137 !important;
  border-radius: 7px;
  background: linear-gradient(90deg, rgba(2,11,7,.96) 0%, rgba(2,11,7,.89) 45%, rgba(2,11,7,.30) 100%), url('/assets/img/stl-hero/stl-skyline-command.webp') center 48% / cover !important;
  box-shadow: 0 3px 9px #0002;
}
/* The legacy layout bundle repeats .mf-page-shell six times at !important
   specificity; beat that shared banner rule only on the Events route. */
body.mf-calendar-page.mf-page-shell.mf-page-shell.mf-page-shell.mf-page-shell.mf-page-shell.mf-page-shell > .mf-daily-hero {
  background: linear-gradient(90deg, rgba(2,11,7,.96) 0%, rgba(2,11,7,.89) 45%, rgba(2,11,7,.30) 100%), url('/assets/img/stl-hero/stl-skyline-command.webp') center 48% / cover !important;
}
body.mf-calendar-page > .mf-daily-hero::before {
  content: none !important;
}
body.mf-calendar-page > .mf-daily-hero::after {
  content: '' !important;
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  display: block;
  background: linear-gradient(90deg, var(--mf-events-green), var(--mf-events-gold));
  pointer-events: none;
}
body.mf-calendar-page .mf-daily-hero .mf-daily-bg,
body.mf-calendar-page .mf-daily-hero .mf-daily-board {
  display: none !important;
}
body.mf-calendar-page .mf-daily-hero .mf-daily-grid {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}
body.mf-calendar-page .mf-daily-hero .mf-daily-lead {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 20px 22px 21px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  transition: none !important;
}
body.mf-calendar-page .mf-daily-lead::before,
body.mf-calendar-page .mf-daily-lead::after {
  content: none !important;
}
body.mf-calendar-page .mf-daily-kicker {
  display: flex;
  align-items: center;
  justify-content: flex-start !important;
  gap: 8px;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  text-align: left !important;
  color: var(--mf-events-green) !important;
  font-size: 10px !important;
  font-weight: 950 !important;
  line-height: 1.2;
  letter-spacing: .12em;
  text-transform: uppercase;
}
body.mf-calendar-page .mf-daily-kicker span,
body.mf-calendar-page .mf-daily-kicker strong {
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: inherit !important;
  font: inherit !important;
}
body.mf-calendar-page #events-title {
  width: 100% !important;
  max-width: 950px !important;
  margin: 6px 0 10px !important;
  color: var(--mf-events-ink) !important;
  font-family: 'Segoe UI', Arial, sans-serif !important;
  font-size: clamp(28px, 3.25vw, 44px) !important;
  font-weight: 950 !important;
  line-height: 1.07 !important;
  letter-spacing: -.043em !important;
  text-transform: none !important;
  text-wrap: balance;
}
body.mf-calendar-page #events-title span {
  color: var(--mf-events-green) !important;
}
body.mf-calendar-page .mf-daily-hero .stl-muted {
  max-width: 750px;
  margin: 0 0 11px !important;
  color: #d7dcdd !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}
body.mf-calendar-page .mf-daily-actions {
  display: flex !important;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 !important;
}
body.mf-calendar-page .mf-daily-actions .stl-btn {
  min-height: 33px !important;
  border: 1px solid #435a3e !important;
  border-radius: 4px !important;
  padding: 8px 12px !important;
  font-family: inherit !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-transform: none !important;
}
body.mf-calendar-page .mf-daily-actions .stl-btn--primary {
  color: #112116 !important;
  background: var(--mf-events-green) !important;
  border-color: var(--mf-events-green) !important;
}
body.mf-calendar-page .mf-daily-actions .stl-btn--ghost {
  color: var(--mf-events-ink) !important;
  background: #0c1811 !important;
}
body.mf-calendar-page .mf-daily-hero .mf-home-quicklinks {
  display: none !important;
}

/* Keep the approved-only Event Watch shelf distinct from the editable calendar. */
body.mf-calendar-page .mf-watch-public-outer,
body.mf-calendar-page #calendar {
  width: 100%;
  max-width: 1370px;
  margin-inline: auto;
  padding: 13px 14px !important;
}
body.mf-calendar-page .mf-watch-public-outer > .stl-container,
body.mf-calendar-page #calendar > .stl-container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
body.mf-calendar-page .mf-watch-public-section,
body.mf-calendar-page .mf-v44-strip {
  background: var(--mf-events-surface) !important;
  border: 1px solid var(--mf-events-border) !important;
  border-radius: 7px !important;
  box-shadow: 0 3px 9px #0002 !important;
}
body.mf-calendar-page .mf-watch-public-section {
  padding: 15px 16px !important;
}
body.mf-calendar-page .mf-watch-public-section .stl-subheading,
body.mf-calendar-page #calendar > .mf-v42-page-title {
  margin: 4px 0 9px !important;
  color: var(--mf-events-ink) !important;
  font-family: 'Segoe UI', Arial, sans-serif !important;
  font-size: clamp(21px, 2.1vw, 26px) !important;
  font-weight: 900 !important;
  line-height: 1.12 !important;
  letter-spacing: -.025em !important;
  text-transform: none !important;
}
body.mf-calendar-page .mf-watch-public-section .stl-eyebrow {
  color: var(--mf-events-green) !important;
  letter-spacing: .12em;
  font-size: 10px !important;
}
body.mf-calendar-page .mf-watch-public-section .mf-calendar-muted {
  color: var(--mf-events-muted) !important;
}
body.mf-calendar-page .mf-watch-public-event {
  border-color: var(--mf-events-border) !important;
  background: var(--mf-events-surface-alt) !important;
}
body.mf-calendar-page .mf-v44-strip {
  margin: 0 0 13px !important;
}
body.mf-calendar-page .mf-v44-strip__inner {
  display: grid !important;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr) !important;
  align-items: stretch;
  gap: 13px !important;
  padding: 14px !important;
}
body.mf-calendar-page .mf-v44-strip__copy {
  min-width: 0;
  padding: 0 !important;
}
body.mf-calendar-page .mf-v44-strip__copy h2 {
  margin: 4px 0 0 !important;
  font-size: clamp(17px, 1.65vw, 22px) !important;
  line-height: 1.2 !important;
}
body.mf-calendar-page .mf-v44-proof {
  display: none !important;
}
body.mf-calendar-page .mf-v44-lanes {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
}
body.mf-calendar-page .mf-v44-lane {
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4px !important;
  min-width: 0;
  min-height: 92px;
  padding: 10px !important;
  border: 1px solid var(--mf-events-border) !important;
  border-radius: 5px;
  color: var(--mf-events-ink) !important;
  text-decoration: none;
}
body.mf-calendar-page .mf-v44-lane span,
body.mf-calendar-page .mf-v44-lane strong,
body.mf-calendar-page .mf-v44-lane em {
  display: block !important;
  font-family: inherit;
  line-height: 1.3;
  white-space: normal;
}
body.mf-calendar-page .mf-v44-lane span {
  color: var(--mf-events-green) !important;
  font-size: 10px !important;
  font-weight: 900;
}
body.mf-calendar-page .mf-v44-lane strong {
  font-size: 12px !important;
  font-weight: 750;
}
body.mf-calendar-page .mf-v44-lane em {
  color: var(--mf-events-gold) !important;
  font-size: 10px !important;
  font-style: normal;
}
body.mf-calendar-page .mf-v44-strip h2,
body.mf-calendar-page .mf-calendar-main h2 {
  color: var(--mf-events-ink);
  font-family: 'Segoe UI', Arial, sans-serif;
}
body.mf-calendar-page .mf-v44-strip__copy > p,
body.mf-calendar-page .mf-calendar-sidebar .stl-eyebrow {
  color: var(--mf-events-green) !important;
}
body.mf-calendar-page .mf-v44-lane,
body.mf-calendar-page .mf-calendar-sidebar {
  border-color: var(--mf-events-border) !important;
  background: var(--mf-events-surface-alt) !important;
}
body.mf-calendar-page .mf-calendar-main {
  color: var(--mf-events-ink);
}
body.mf-calendar-page .mf-calendar-main article,
body.mf-calendar-page .mf-calendar-main .mf-calendar-card {
  border-color: var(--mf-events-border) !important;
}
/* The public shelf is meaningful only once an approved card exists. */
body.mf-calendar-page .mf-watch-public-outer:has(#stl-event-watch-public > .mf-calendar-muted) {
  display: none !important;
}
body.mf-calendar-page:has(.mf-watch-public-outer #stl-event-watch-public > .mf-calendar-muted) .mf-calendar-sidebar a[href="#stl-event-watch-public"] {
  display: none !important;
}
body.mf-calendar-page .site-footer {
  background: #06140e !important;
  border-top: 1px solid #405c31;
}
/* The sitewide footer stylesheet forces margin: 0 !important. On Events,
   retain the max-width footer but center it with the calendar container. */
html body.mf-calendar-page > footer.site-footer {
  margin-left: auto !important;
  margin-right: auto !important;
}
body.mf-calendar-page a:focus-visible,
body.mf-calendar-page button:focus-visible {
  outline: 2px solid var(--mf-events-green);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  body.mf-calendar-page > .mf-daily-hero {
    width: calc(100% - 20px);
    margin-top: 10px;
    background-position: center center !important;
  }
  body.mf-calendar-page .mf-daily-hero .mf-daily-lead {
    padding: 17px 15px 18px !important;
  }
  body.mf-calendar-page #events-title {
    font-size: clamp(27px, 7vw, 37px) !important;
  }
  body.mf-calendar-page .mf-watch-public-outer,
  body.mf-calendar-page #calendar {
    padding: 10px !important;
  }
  body.mf-calendar-page .mf-watch-public-section {
    padding: 13px !important;
  }
  body.mf-calendar-page .mf-v44-strip__inner {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
    padding: 12px !important;
  }
  body.mf-calendar-page .mf-v44-lanes {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  body.mf-calendar-page .mf-v44-lane {
    display: grid !important;
    grid-template-columns: 85px minmax(0, 1fr);
    align-items: center;
    min-height: 0;
    gap: 5px 9px !important;
    padding: 9px !important;
  }
  body.mf-calendar-page .mf-v44-lane em {
    display: none !important;
  }
}

/* Mirror the current homepage footer. The Events route still loads the older
   global-footer component, whose compact 70%-scale rules do not match home. */
html body.mf-calendar-page > footer.site-footer {
  background: linear-gradient(165deg, #0d1510, #060907 77%) !important;
  border-top: 2px solid #bfaa42 !important;
  padding: 17px 19px 0 !important;
  color: #d8dfd9 !important;
  box-sizing: border-box !important;
}
html body.mf-calendar-page > footer.site-footer::before {
  display: none !important;
}
html body.mf-calendar-page > footer.site-footer > .site-footer__inner,
html body.mf-calendar-page > footer.site-footer > .site-footer__bottom {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}
html body.mf-calendar-page > footer.site-footer > .site-footer__inner {
  display: grid !important;
  grid-template-columns: minmax(200px, 1.25fr) minmax(260px, 1.65fr) minmax(180px, 1fr) minmax(160px, .9fr) !important;
  gap: 20px !important;
  padding: 0 !important;
  align-items: start !important;
}
html body.mf-calendar-page > footer.site-footer .site-footer__link-groups {
  display: contents !important;
}
html body.mf-calendar-page > footer.site-footer .site-footer__brand {
  display: block !important;
  min-width: 0 !important;
  padding: 0 !important;
}
html body.mf-calendar-page > footer.site-footer .site-footer__brand .site-brand {
  display: flex !important;
  align-items: center !important;
  width: max-content !important;
  max-width: 100% !important;
  gap: 10px !important;
}
html body.mf-calendar-page > footer.site-footer .site-footer__brand .site-brand__logo {
  width: 44px !important;
  height: 44px !important;
  border: 1px solid #505c51 !important;
  border-radius: 5px !important;
  object-fit: cover !important;
}
html body.mf-calendar-page > footer.site-footer .site-footer__brand .site-brand__name {
  display: block !important;
  color: #f6f7f6 !important;
  font-size: 19px !important;
  font-weight: 950 !important;
  line-height: 1.05 !important;
  letter-spacing: -.04em !important;
}
html body.mf-calendar-page > footer.site-footer .site-footer__brand .site-brand__name::after {
  content: ".TV";
  color: #f6f7f6;
}
html body.mf-calendar-page > footer.site-footer .site-footer__brand .site-brand__tag {
  display: block !important;
  color: #cfcfbd !important;
  font-size: 9px !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
  letter-spacing: .035em !important;
  font-weight: 800 !important;
}
html body.mf-calendar-page > footer.site-footer .site-footer__motto {
  margin: 9px 0 2px !important;
  color: #eed65e !important;
  font-weight: 900 !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
}
html body.mf-calendar-page > footer.site-footer .site-footer__copy {
  max-width: 33em !important;
  margin: 5px 0 !important;
  color: #b9c7bb !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
}
html body.mf-calendar-page > footer.site-footer .site-footer__email {
  display: inline-block !important;
  margin-top: 5px !important;
  color: #78e98a !important;
  font-size: 11px !important;
  font-weight: 850 !important;
}
html body.mf-calendar-page > footer.site-footer .site-footer__links-group {
  display: block !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
html body.mf-calendar-page > footer.site-footer .site-footer__links-group h2,
html body.mf-calendar-page > footer.site-footer .site-socials::before {
  font-size: 10px !important;
  letter-spacing: .11em !important;
  text-transform: uppercase !important;
  font-weight: 950 !important;
  color: #eecf49 !important;
  line-height: 1.3 !important;
}
html body.mf-calendar-page > footer.site-footer .site-footer__links-group h2 {
  margin: 3px 0 10px !important;
}
html body.mf-calendar-page > footer.site-footer .site-footer__links-group ul {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 6px 12px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
html body.mf-calendar-page > footer.site-footer .site-footer__links-group:nth-child(2) ul {
  grid-template-columns: minmax(0, 1fr) !important;
}
html body.mf-calendar-page > footer.site-footer .site-footer__links-group li {
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
html body.mf-calendar-page > footer.site-footer .site-footer__links-group a {
  font-size: 11px !important;
  line-height: 1.3 !important;
  font-weight: 400 !important;
  color: #d9e0d9 !important;
}
html body.mf-calendar-page > footer.site-footer .site-socials {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 7px !important;
  align-content: start !important;
  align-items: stretch !important;
  margin: 0 !important;
  min-width: 0 !important;
}
html body.mf-calendar-page > footer.site-footer .site-socials::before {
  content: "Follow the game";
  display: block !important;
  grid-column: 1 / -1;
  margin: 3px 0 3px;
}
html body.mf-calendar-page > footer.site-footer .site-socials a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  padding: 7px 5px !important;
  border: 1px solid #3c5943 !important;
  border-radius: 4px !important;
  background: #101b13 !important;
  color: #d9e0d9 !important;
  font-size: 10px !important;
  font-weight: 850 !important;
  text-align: center !important;
  white-space: nowrap !important;
}
html body.mf-calendar-page > footer.site-footer .site-socials__icon,
html body.mf-calendar-page > footer.site-footer .site-socials__icon svg {
  display: block !important;
  width: 14px !important;
  height: 14px !important;
  flex: none !important;
}
html body.mf-calendar-page > footer.site-footer .site-socials__label {
  display: inline !important;
  font-size: 10px !important;
}
html body.mf-calendar-page > footer.site-footer > .site-footer__bottom {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 8px 18px !important;
  border-top: 1px solid #354537 !important;
  margin-top: 16px !important;
  padding: 10px 0 !important;
  font-size: 10px !important;
  color: #aebeb0 !important;
}
html body.mf-calendar-page > footer.site-footer .site-footer__operations,
html body.mf-calendar-page > footer.site-footer .site-footer__operations span {
  display: inline !important;
  font-size: 10px !important;
}
html body.mf-calendar-page > footer.site-footer .site-footer__legal {
  display: flex !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  margin: 0 !important;
}
html body.mf-calendar-page > footer.site-footer .site-footer__legal a {
  color: #e2e9df !important;
  font-size: 10px !important;
  font-weight: 750 !important;
}
html body.mf-calendar-page > #back-to-top {
  display: block !important;
  width: max-content !important;
  margin: 10px max(14px, calc((100vw - 1370px) / 2 + 14px)) 10px auto !important;
  padding: 7px 11px !important;
  border: 1px solid #3c5943 !important;
  border-radius: 4px !important;
  background: #101b13 !important;
  color: #e2e9df !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}
@media (max-width: 1100px) {
  html body.mf-calendar-page > footer.site-footer > .site-footer__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr) minmax(0, 1fr) !important;
    gap: 18px !important;
  }
  html body.mf-calendar-page > footer.site-footer .site-socials {
    grid-column: 2 / -1 !important;
    display: flex !important;
    flex-wrap: wrap !important;
  }
  html body.mf-calendar-page > footer.site-footer .site-socials::before {
    flex-basis: 100% !important;
  }
  html body.mf-calendar-page > footer.site-footer .site-socials a {
    padding: 7px 11px !important;
  }
}
@media (max-width: 760px) {
  html body.mf-calendar-page > footer.site-footer {
    padding: 16px 13px 0 !important;
  }
  html body.mf-calendar-page > footer.site-footer > .site-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 19px 15px !important;
  }
  html body.mf-calendar-page > footer.site-footer .site-footer__brand {
    grid-column: 1 / -1 !important;
  }
  html body.mf-calendar-page > footer.site-footer .site-footer__links-group ul {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  html body.mf-calendar-page > footer.site-footer .site-socials {
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
  html body.mf-calendar-page > footer.site-footer .site-socials::before {
    grid-column: 1 / -1 !important;
  }
  html body.mf-calendar-page > footer.site-footer > .site-footer__bottom {
    margin-top: 14px !important;
  }
}
@media (max-width: 430px) {
  html body.mf-calendar-page > footer.site-footer .site-socials {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  html body.mf-calendar-page > footer.site-footer .site-footer__brand .site-brand__logo {
    width: 41px !important;
    height: 41px !important;
  }
  html body.mf-calendar-page > footer.site-footer .site-footer__legal {
    gap: 7px 13px !important;
  }
}

/* Legacy global-footer-v3 doubles :root and .site-footer in its important
   selectors. Give this page's homepage-parity rules final ownership. */
html:root:root body.mf-calendar-page > footer.site-footer.site-footer {
  margin-inline: auto !important;
  padding: 17px 19px 0 !important;
  border-top: 2px solid #bfaa42 !important;
  background: linear-gradient(165deg, #0d1510, #060907 77%) !important;
}
html:root:root body.mf-calendar-page > footer.site-footer.site-footer::before {
  content: none !important;
  display: none !important;
}
html:root:root body.mf-calendar-page > footer.site-footer.site-footer > .site-footer__inner {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(200px, 1.25fr) minmax(260px, 1.65fr) minmax(180px, 1fr) minmax(160px, .9fr) !important;
  gap: 20px !important;
  align-items: start !important;
}
html:root:root body.mf-calendar-page > footer.site-footer.site-footer > .site-footer__bottom {
  width: 100% !important;
  max-width: none !important;
  margin: 16px 0 0 !important;
  padding: 10px 0 !important;
}
html:root:root body.mf-calendar-page > footer.site-footer.site-footer .site-footer__link-groups {
  display: contents !important;
}
html:root:root body.mf-calendar-page > footer.site-footer.site-footer .site-footer__brand .site-brand__logo {
  width: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  height: 44px !important;
  flex-basis: 44px !important;
}
html:root:root body.mf-calendar-page > footer.site-footer.site-footer .site-socials {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 7px !important;
  grid-column: auto !important;
  grid-row: auto !important;
  margin: 0 !important;
}
html:root:root body.mf-calendar-page > footer.site-footer.site-footer .site-socials > a {
  display: flex !important;
  flex: 0 1 auto !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 7px 5px !important;
}
html:root:root body.mf-calendar-page > footer.site-footer.site-footer .site-socials__label {
  display: inline !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  clip: auto !important;
  clip-path: none !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
}
@media (max-width: 1100px) {
  html:root:root body.mf-calendar-page > footer.site-footer.site-footer > .site-footer__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr) minmax(0, 1fr) !important;
    gap: 18px !important;
  }
  html:root:root body.mf-calendar-page > footer.site-footer.site-footer .site-socials {
    grid-column: 2 / -1 !important;
    display: flex !important;
    flex-wrap: wrap !important;
  }
  html:root:root body.mf-calendar-page > footer.site-footer.site-footer .site-socials > a {
    width: auto !important;
    padding: 7px 11px !important;
  }
}
@media (max-width: 760px) {
  html:root:root body.mf-calendar-page > footer.site-footer.site-footer {
    padding: 16px 13px 0 !important;
  }
  html:root:root body.mf-calendar-page > footer.site-footer.site-footer > .site-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 19px 15px !important;
  }
  html:root:root body.mf-calendar-page > footer.site-footer.site-footer .site-footer__brand {
    grid-column: 1 / -1 !important;
  }
  html:root:root body.mf-calendar-page > footer.site-footer.site-footer .site-socials {
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
  html:root:root body.mf-calendar-page > footer.site-footer.site-footer .site-socials > a {
    width: 100% !important;
    padding: 7px 5px !important;
  }
  html:root:root body.mf-calendar-page > footer.site-footer.site-footer > .site-footer__bottom {
    margin-top: 14px !important;
  }
}
@media (max-width: 430px) {
  html:root:root body.mf-calendar-page > footer.site-footer.site-footer .site-socials {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  html:root:root body.mf-calendar-page > footer.site-footer.site-footer .site-footer__brand .site-brand__logo {
    width: 41px !important;
    min-width: 41px !important;
    max-width: 41px !important;
    height: 41px !important;
    flex-basis: 41px !important;
  }
}
html:root:root body.mf-calendar-page > footer.site-footer.site-footer .site-footer__links-group li a {
  display: block !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.3 !important;
}
html:root:root body.mf-calendar-page > footer.site-footer.site-footer .site-footer__email {
  display: inline-block !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  line-height: 1.4 !important;
}
html:root:root body.mf-calendar-page > footer.site-footer.site-footer .site-footer__brand .site-brand__name {
  text-transform: none !important;
}
html:root:root body.mf-calendar-page > footer.site-footer.site-footer::after {
  content: none !important;
  display: none !important;
}
@media (max-width: 760px) {
  html:root:root body.mf-calendar-page > footer.site-footer.site-footer > .site-footer__bottom {
    justify-content: flex-start !important;
    text-align: left !important;
  }
  html:root:root body.mf-calendar-page > footer.site-footer.site-footer > .site-footer__bottom > span,
  html:root:root body.mf-calendar-page > footer.site-footer.site-footer > .site-footer__bottom > nav {
    flex: 0 0 100% !important;
    width: 100% !important;
    text-align: left !important;
    justify-content: flex-start !important;
  }
}


/* Mirror the homepage footer's compact copyright/legal row. The shared
   global navigation rules otherwise give these links a 32px tap target,
   adding an unnecessary second footer row on Events. */
html:root:root body.mf-calendar-page > footer.site-footer.site-footer > .site-footer__bottom {
  line-height: 1.46 !important;
}
html:root:root body.mf-calendar-page > footer.site-footer.site-footer .site-footer__legal {
  line-height: 1.46 !important;
  justify-content: flex-start !important;
}
html:root:root body.mf-calendar-page > footer.site-footer.site-footer .site-footer__legal > a {
  display: block !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.46 !important;
}

/* Visible Events footer side borders, matching the gold top rule. */
html:root:root body.mf-calendar-page > footer.site-footer.site-footer {
  box-sizing: border-box !important;
  border-left: 2px solid #bfaa42 !important;
  border-right: 2px solid #bfaa42 !important;
  padding-left: 17px !important;
  padding-right: 17px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035) !important;
}
@media (max-width: 760px) {
  html:root:root body.mf-calendar-page > footer.site-footer.site-footer {
    padding-left: 11px !important;
    padding-right: 11px !important;
  }
}

/* Continuous Events-only page frame: follows the centered 1370px site shell.
   An overlay keeps every existing header, card, and footer dimension unchanged. */
html:root:root body.mf-calendar-page {
  position: relative !important;
}
html:root:root body.mf-calendar-page::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 50% !important;
  width: min(100%, 1370px) !important;
  box-sizing: border-box !important;
  transform: translateX(-50%) !important;
  border-left: 2px solid #bfaa42 !important;
  border-right: 2px solid #bfaa42 !important;
  background: none !important;
  pointer-events: none !important;
  z-index: 3 !important;
}

/* Events-only mobile progress control: calendar is not an article.
   Preserve progress indicators on all other routes and retain the gold frame. */
@media (max-width: 760px) {
  html:root:root body.mf-calendar-page #mo-progress {
    display: none !important;
  }
}

/* Events-only reserve-free approved shelf stability.
   Keep the optional approved-events shelf outside initial layout.
   The current Events page must not expand and then collapse when the feed
   loads with no public event cards. Do not change approval/data gates. */
body.mf-calendar-page .mf-watch-public-outer:not(:has(#stl-event-watch-public .mf-watch-public-event)) {
  display: none !important;
}
body.mf-calendar-page:not(:has(.mf-watch-public-outer #stl-event-watch-public .mf-watch-public-event)) .mf-calendar-sidebar a[href="#stl-event-watch-public"] {
  display: none !important;
}
