:root {
  --m4k-blue: #0b4f69;
  --m4k-blue-dark: #07354a;
  --m4k-red: #ef2d28;
  --m4k-khaki: #f0e6c9;
  --m4k-cream: #fff8df;
  --m4k-ink: #101820;
  --m4k-muted: #5d6872;
  --m4k-card: #ffffff;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px
}

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--m4k-ink);
  background: #fff;
  overflow-x: hidden;
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.footer {
  margin-top: auto;
}

img {
  max-width: 100%;
  height: auto
}

.fw-black {
  font-weight: 900
}

.text-m4k-blue {
  color: var(--m4k-blue)
}

.text-m4k-red {
  color: var(--m4k-red)
}

.bg-khaki {
  background: var(--m4k-khaki)
}

.bg-blue {
  background: var(--m4k-blue);
  color: #fff
}

.py-lg-6 {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important
}

.btn {
  border-radius: 999px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: .85rem 1.15rem
}

.btn-m4k-red {
  background: var(--m4k-red);
  border-color: var(--m4k-red);
  color: #fff
}

.btn-m4k-red:hover {
  background: #ca1f1b;
  border-color: #ca1f1b;
  color: #fff
}

.btn-m4k-blue {
  background: var(--m4k-blue);
  border-color: var(--m4k-blue);
  color: #fff
}

.btn-m4k-blue:hover {
  background: var(--m4k-blue-dark);
  color: #fff
}

.btn-outline-m4k {
  border: 2px solid var(--m4k-blue);
  color: var(--m4k-blue);
  background: #fff
}

.btn-outline-m4k:hover {
  background: var(--m4k-blue);
  color: #fff
}

.btn-light {
  font-weight: 900
}

.section-eyebrow {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 900;
  color: var(--m4k-red)
}

.section-title {
  font-weight: 950;
  letter-spacing: -.05em;
  line-height: .94
}

.section-copy {
  font-size: 1.08rem;
  color: var(--m4k-muted)
}

.site-header {
  background: rgba(240, 230, 201, .96);
  backdrop-filter: blur(14px);
  border-bottom: 3px solid rgba(11, 79, 105, .12)
}

.navbar-brand {
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: -.03em;
  color: var(--m4k-blue) !important
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain
}

.nav-link {
  font-weight: 850;
  text-transform: uppercase;
  font-size: .86rem;
  letter-spacing: .03em;
  color: var(--m4k-blue) !important
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  color: var(--m4k-red) !important
}

.navbar-toggler {
  border: 2px solid var(--m4k-blue);
  border-radius: 14px
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  padding: 3rem 0 2rem;
  background: radial-gradient(circle at 80% 20%, transparent 36%), linear-gradient(135deg, var(--m4k-khaki) 0%, #fff 58%);
  overflow: hidden
}

.home-hero {
  min-height: auto;
}

.hero:before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image: url("../img/moto4kids_checkers-3.png");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;

  opacity: 0.35;

  mask-image: linear-gradient(to bottom, #000, transparent 75%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 75%);

  z-index: 0;
}

.hero>* {
  position: relative
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #fff;
  border: 2px solid rgba(11, 79, 105, .18);
  border-radius: 999px;
  padding: .55rem .8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--m4k-blue);
  box-shadow: 0 16px 40px rgba(11, 79, 105, .1)
}

.hero h1 {
  font-size: clamp(3.2rem, 9vw, 8.8rem);
  font-weight: 1000;
  letter-spacing: -.075em;
  line-height: .82;
  text-transform: uppercase
}

.page-hero h1 {
  font-size: clamp(3rem, 8vw, 6.75rem);
  font-weight: 1000;
  letter-spacing: -.075em;
  line-height: .86;
  text-transform: uppercase
}

.hero h1 .red,
.page-hero h1 .red {
  color: var(--m4k-red)
}

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: #32424d;
  max-width: 680px
}


.hero-card {
  border-radius: 32px;
  background: linear-gradient(160deg, var(--m4k-blue), var(--m4k-red));
  padding: 22px;
  overflow: hidden;
  transform: rotate(1.5deg);
}

.hero-photo {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
}

.hero-poster {
  width: 100%;
  height: auto;
  display: block;
}

.hero-poster img,
.hero-poster-mobile img {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* .hero-photo:after {
  content: "";
  position: absolute;
  inset: auto -40px 0 -40px;
  height: 46%;
  background: repeating-linear-gradient(-9deg, #101820 0 10px, transparent 10px 22px);
  opacity: .12
} */

.hero-stat {
  margin-top: 18px;
  background: #f0e6c9;
  border: 3px solid var(--m4k-blue);
  border-radius: 18px;
  padding: 16px 20px;
}

.hero-stat strong {
  display: block;
  color: var(--m4k-red);
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 900;
}

.hero-stat span {
  display: block;
  color: var(--m4k-blue);
  font-weight: 900;
  text-transform: uppercase;
  font-size: .85rem;
}

.hero-stat.one {
  left: 18px;
  bottom: 22px
}

.hero-stat.two {
  right: 18px;
  top: 22px
}

.quick-actions {
  padding: 6rem 0;
  margin-top: 0;
  position: relative;
  z-index: 1;
}

.action-card {
  height: 100%;
  border: 0;
  border-radius: 24px;
  background: var(--m4k-blue);
  color: #fff;
  padding: 1.35rem;
  text-decoration: none;
  box-shadow: 0 18px 48px rgba(11, 79, 105, .18);
  transition: transform .2s ease, box-shadow .2s ease
}

.action-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(11, 79, 105, .25);
  color: #fff
}

.action-card.red {
  background: var(--m4k-red)
}

.action-card.khaki {
  background: var(--m4k-khaki);
  color: var(--m4k-blue)
}

.action-card i {
  font-size: 1.8rem
}

.action-card h3 {
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: -.03em
}

.page-hero {
  position: relative;
  padding: 5rem 0;
  background: radial-gradient(circle at 88% 20%, transparent 34%), linear-gradient(135deg, var(--m4k-khaki), #fff 65%);
  overflow: hidden
}

.page-hero .container {
  position: relative
}

.breadcrumb-lite {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .76rem;
  color: var(--m4k-blue)
}

.feature-card,
.class-card,
.social-card,
.sponsor-card,
.info-card,
.series-card {
  border: 2px solid rgba(11, 79, 105, .12);
  border-radius: 26px;
  background: var(--m4k-card);
  box-shadow: 0 20px 60px rgba(16, 24, 32, .06)
}
.sponsor-card {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sponsor-card-featured {
  height: 260px; /* about 2 rows tall including the gap */
}

.sponsor-card.sponsor-card-featured img {
  width: 420px !important;
  max-width: 90% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain;
}
@media (max-width: 576px) {
  .sponsor-card-featured {
    height: 190px;
  }

  .sponsor-card-featured img {
    max-height: 110px;
    max-width: 75%;
  }
}
.feature-card,
.info-card,
.series-card {
  padding: 1.5rem;
  height: 100%
}

.feature-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--m4k-khaki);
  color: var(--m4k-red);
  font-size: 1.5rem
}

.schedule-page .schedule-series {
  display: grid;
  grid-template-columns: minmax(240px, 360px) 1fr;
  grid-template-rows: auto auto;
  column-gap: 3rem;
  row-gap: 0;
  align-items: stretch;
  margin-bottom: 4.5rem;
}

.schedule-series:last-child {
  margin-bottom: 0;
}

.schedule-page .schedule-poster {
  grid-column: 1;
  grid-row: 1 / 3;
  width: 100%;
  height: 100%;
  min-height: 240px;

  border-radius: 30px;
  overflow: hidden;
  background: var(--m4k-khaki);
  border: 3px solid var(--m4k-blue);
  box-shadow: 0 30px 80px rgba(11, 79, 105, .18);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  margin-inline: auto;
}

.schedule-page .schedule-poster img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.schedule-page .schedule-heading {
  grid-column: 2;
  grid-row: 1;
}

.schedule-page .schedule-dates {
  grid-column: 2;
  grid-row: 2;
}

.round-card {
  border-left: 7px solid var(--m4k-red);
  border-radius: 22px;
  background: #fff;
  padding: 1.2rem;
  box-shadow: 0 16px 36px rgba(16, 24, 32, .06);
  height: 100%
}

.round-card .date {
  font-size: 1.55rem;
  font-weight: 950;
  color: var(--m4k-blue);
  line-height: 1
}

.round-card .track {
  font-weight: 900;
  text-transform: uppercase
}

.classes-section {
  background: linear-gradient(180deg, var(--m4k-blue), var(--m4k-blue-dark));
  color: #fff
}

.class-card {
  height: 100%;
  padding: 1.35rem;
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .15);
  box-shadow: none;
  color: #fff;
  display: flex;
  align-items: center;
  /* vertical center */
  justify-content: center;
  /* horizontal center */
  text-align: center;
}

.class-card h3 {
  font-weight: 950;
  text-transform: uppercase
}

.class-tag {
  display: inline-block;
  border-radius: 999px;
  background: var(--m4k-red);
  color: #fff;
  font-weight: 900;
  font-size: .76rem;
  padding: .25rem .55rem;
  text-transform: uppercase
}

.video-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: clamp(0.5rem, 1.5vw, 1rem);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  border: 4px solid rgba(255, 255, 255, 0.65);
  overflow: hidden;
}

.video-ratio {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 0.9rem;
  background: #000;
}

.video-ratio iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.play-button {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--m4k-red);
  font-size: 3rem;
  margin: 0 auto 1rem
}

.social-card {
  padding: 1.2rem;
  text-decoration: none;
  color: var(--m4k-blue);
  height: 100%;
  transition: .2s ease
}

.social-card:hover {
  transform: translateY(-4px);
  color: var(--m4k-red)
}

.social-card i {
  font-size: 2rem
}

.sponsor-card {
  display: grid;
  place-items: center;
  min-height: 125px;
  padding: 1rem;
  text-decoration: none;
  transition: .2s ease
}

.sponsor-card:hover {
  transform: translateY(-4px);
  border-color: var(--m4k-red)
}

.sponsor-card img {
  max-height: 85px;
  object-fit: contain
}

.sponsor-cta {
  border-radius: 32px;
  background: linear-gradient(135deg, var(--m4k-red), #ff5a3e);
  color: #fff;
  padding: 2rem
}

.footer {
  background: var(--m4k-khaki);
  border-top: 4px solid var(--m4k-blue)
}

.footer a {
  color: var(--m4k-blue);
  font-weight: 800;
  text-decoration: none
}

.footer a:hover {
  color: var(--m4k-red)
}

.table-m4k {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(11, 79, 105, .12)
}

.table-m4k th {
  background: var(--m4k-blue) !important;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .04em
}

.table-m4k td {
  vertical-align: middle
}

.pill {
  display: inline-flex;
  border-radius: 999px;
  padding: .25rem .65rem;
  background: var(--m4k-khaki);
  color: var(--m4k-blue);
  font-weight: 900;
  font-size: .75rem;
  text-transform: uppercase
}

.external-box {
  border: 3px dashed rgba(11, 79, 105, .25);
  border-radius: 30px;
  background: #fff;
  padding: 2rem;
  text-align: center
}

.mini-nav a {
  font-weight: 900;
  text-transform: uppercase;
  color: var(--m4k-blue);
  text-decoration: none
}

.mini-nav a:hover {
  color: var(--m4k-red)
}
.factory-cta-small {
  background: var(--m4k-blue);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 1.75rem;
}

.factory-cta-small h3 {
  font-size: 1.05rem;
  letter-spacing: .02em;
}

.factory-cta-small .btn {
  border-radius: 999px;
  padding: .55rem 1.5rem;
  font-size: .85rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
  color: #000;
}
@media (max-width: 575.98px) {
  #video {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .video-card {
    border-radius: 1rem;
    padding: 0.4rem;
  }

  .video-ratio {
    border-radius: 0.7rem;
  }

  #video .section-title {
    font-size: clamp(2rem, 12vw, 3rem);
  }
}
@media (max-width: 575.98px) {
  .factory-cta-small {
    padding: .85rem 1rem;
    border-radius: 1rem;
  }

  .factory-cta-small h3 {
    font-size: .8rem;
  }

  .factory-cta-small .btn {
    font-size: .7rem;
    padding: .45rem .9rem;
  }
}
@media (max-width: 991.98px) {
  .schedule-page .schedule-series {
    display: block;
    margin-bottom: 4rem;
  }

  .schedule-page .schedule-heading {
    text-align: center;
  }

  .schedule-page .schedule-poster {
    width: 100%;
    max-width: none;
    height: 260px;
    min-height: 260px;
    margin: 0 0 2rem;
  }
}

@media (max-width: 575.98px) {
  .schedule-page .schedule-poster {
    width: 100%;
    max-width: none;
    height: 240px;
    min-height: 240px;
    padding: 24px;
  }
}

@media (max-width:991.98px) {
  .hero {
    padding: 3.5rem 0 5.5rem;
    min-height: auto
  }

  .hero-card {
    transform: none;
    margin-top: 2rem
  }

  .hero-photo {
    min-height: 390px
  }

  .quick-actions {
    margin-top: -58px
  }

  .navbar-collapse {
    padding: 1rem 0
  }

  .nav-cta {
    margin-top: .75rem;
    width: 100%
  }

  .page-hero {
    padding: 3.5rem 0
  }
}

@media (max-width:575.98px) {
  .hero h1 {
    font-size: 3.7rem
  }

  .btn {
    width: 100%;
    margin-bottom: .5rem
  }

  .hero-photo {
    min-height: 340px
  }

  .hero-stat {
    position: relative;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    margin: 1rem
  }

  .hero-photo {
    display: flex;
    flex-direction: column;
    justify-content: flex-end
  }

  .section-title {
    font-size: 2.4rem
  }

  .sponsor-cta {
    text-align: center
  }

  .brand-logo {
    width: 50px;
    height: 50px
  }
}

@media (max-width: 991.98px) {
  .hero {
    padding: 2rem 0 3rem;
  }

  .hero-copy {
    text-align: left;
  }

  .hero-buttons {
    justify-content: flex-start;
  }

  .hero-title {
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    margin-bottom: 1.25rem;
  }

  .hero-poster-mobile {
    max-width: 540px;
  }
}
.sponsor-divider {
  width: 100%;
  border: 0;
  margin: 1rem 0;
  opacity: 1;
}