/* ═══════════════════════════════════════════════════════════════════
   HOMEPAGE — hero + info strips + sponsors
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --home-bg: var(--color-bg);
  --home-dark: var(--color-dark);
  --home-dark-soft: #123747;
  --home-blue: var(--color-blue);
  --home-blue-dark: var(--color-blue-dark);
  --home-blue-soft: var(--color-blue-soft);
  --home-blue-light: #bde9f4;
  --home-white: var(--color-white);
  --home-text-muted: var(--color-muted);
  --home-border-blue: rgba(10, 145, 189, 0.14);
  --home-shadow-blue: rgba(5, 98, 127, 0.16);
}

.home-page {
  background: var(--home-bg);
  color: var(--home-dark);
  overflow-x: hidden;
}

/* ── Hero ─────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  width: 100%;
  min-height: clamp(560px, 68vh, 690px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(64px, 8vh, 92px) 24px clamp(102px, 12vh, 128px);
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  display: block;
  transform: scale(1.025);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(
      ellipse at center,
      rgba(3, 31, 43, 0.48) 0%,
      rgba(3, 31, 43, 0.22) 54%,
      rgba(3, 31, 43, 0.34) 100%
    ),
    linear-gradient(
      180deg,
      rgba(2, 27, 39, 0.18) 0%,
      rgba(2, 27, 39, 0.08) 48%,
      rgba(2, 27, 39, 0.2) 100%
    );
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 170px;
  background: linear-gradient(to bottom, transparent, var(--home-bg));
  pointer-events: none;
  z-index: 1;
}

/* Welcome text */

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, 1180px);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  grid-template-areas:
    "copy recruitment"
    "copy partners";
  gap: 14px clamp(24px, 4vw, 54px);
  align-items: center;
}

.hero-copy {
  grid-area: copy;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  text-align: left;
}

.hero-eyebrow {
  margin: 0 0 14px;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

.hero-title {
  margin: 0 0 22px;
  font-size: clamp(3rem, 5.7vw, 5.4rem);
  font-weight: 950;
  line-height: 0.92;
  letter-spacing: -0.055em;
  color: var(--home-white);
  text-shadow: 0 4px 32px rgba(2, 25, 36, 0.38);
  text-wrap: balance;
}

.hero-sub {
  max-width: 620px;
  margin: 0 0 34px;
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 20px rgba(2, 25, 36, 0.36);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 30px;
  border-radius: 999px;
  background: var(--home-blue);
  color: var(--home-white);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 18px 45px rgba(10, 145, 189, 0.3);
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.hero-cta:hover {
  transform: translateY(-2px);
  background: var(--home-blue-dark);
  box-shadow: 0 22px 55px rgba(10, 145, 189, 0.4);
}

/* Compact call for swimming instructors */

.recruitment-card {
  grid-area: recruitment;
  position: relative;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  min-width: 0;
  gap: 16px;
  padding: 17px 18px 17px 23px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 42px rgba(2, 30, 42, 0.2);
  backdrop-filter: blur(16px);
}

.recruitment-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--color-gold);
}

.recruitment-label {
  margin: 0 0 4px;
  color: #76530c;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.recruitment-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.recruitment-copy h2 {
  margin: 0;
  color: var(--home-dark);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  font-weight: 930;
  line-height: 1;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.recruitment-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  align-self: stretch;
  min-height: 44px;
  padding: 8px 12px;
  border: 0;
  border-radius: 14px;
  background: var(--home-dark);
  color: var(--home-white);
  font-size: 0.72rem;
  font-weight: 820;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease;
}

.recruitment-cta-label--short {
  display: none;
}

.recruitment-cta:hover,
.recruitment-cta:focus-visible {
  transform: translateY(-2px);
  background: var(--home-blue-dark);
  color: var(--home-white);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(5, 98, 127, 0.2);
}

.recruitment-cta:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.82);
  outline-offset: 3px;
}

.recruitment-cta:active {
  background: var(--home-blue-dark);
}

/* Sponsors are visible in the first viewport, without competing with the hero. */

.hero-partners {
  grid-area: partners;
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  align-items: center;
  gap: 12px 16px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 40px rgba(2, 30, 42, 0.16);
  backdrop-filter: blur(14px);
}

.hero-partners > p {
  grid-column: 1;
  grid-row: 1;
  margin: 0 0 0 4px;
  color: var(--home-blue-dark);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-partners-stage {
  grid-column: 1;
  grid-row: 2;
  position: relative;
  display: grid;
  width: 100%;
  min-width: 0;
  min-height: 164px;
  overflow: hidden;
  border: 1px solid rgba(10, 145, 189, 0.12);
  border-radius: 12px;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.hero-partner {
  grid-area: 1 / 1;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  width: 100%;
  min-height: 164px;
  place-items: center;
  color: var(--home-dark);
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(5px) scale(0.985);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

.hero-partner.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.hero-partner--dark-logo {
  border-radius: 11px;
  background: var(--home-dark);
}

.hero-partner--dark-logo .hero-partner-name {
  color: rgba(255, 255, 255, 0.82);
}

a.hero-partner:hover {
  color: var(--home-blue-dark);
  text-decoration: none;
}

a.hero-partner:focus-visible {
  outline: 3px solid var(--home-blue);
  outline-offset: -4px;
}

.hero-partner img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 360px);
  max-height: 148px;
  object-fit: contain;
}

.hero-partner--dark-logo img {
  width: min(80%, 280px);
}

.hero-partner-wordmark,
.sponsor-wordmark {
  display: grid;
  color: var(--home-blue-dark);
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 520;
  letter-spacing: -0.045em;
  line-height: 0.95;
  text-align: center;
}

.hero-partner-wordmark strong,
.sponsor-wordmark strong {
  color: inherit;
  font-weight: 900;
}

.hero-partner-name {
  max-width: 100%;
  overflow: hidden;
  color: var(--home-text-muted);
  font-size: 0.65rem;
  font-weight: 760;
  letter-spacing: 0.075em;
  line-height: 1.2;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-partners-link {
  grid-column: 1;
  grid-row: 3;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  width: 100%;
  max-width: none;
  padding: 8px 12px;
  border-radius: 14px;
  background: var(--home-dark);
  color: var(--home-white);
  font-size: 0.72rem;
  font-weight: 820;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.hero-partners-link:hover,
.hero-partners-link:focus-visible {
  transform: translateY(-2px);
  background: var(--home-blue-dark);
  color: var(--home-white);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(5, 98, 127, 0.2);
}

/* Pull the navigation card into the hero fade so both sections read as one. */

.home-page .quick-links {
  margin: clamp(-68px, -5vw, -48px) auto 0;
  border-color: rgba(10, 145, 189, 0.14);
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 26px 70px rgba(5, 72, 94, 0.14),
    0 2px 8px rgba(5, 72, 94, 0.06);
}

.home-page .quick-links a {
  transition:
    background 0.18s ease,
    color 0.18s ease;
}

/* Optional hero badges */

.hero-badges {
  position: absolute;
  right: 32px;
  bottom: 30px;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  gap: 14px;
}

.hero-badge {
  display: block;
  padding: 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
}

.hero-badge img {
  height: 64px;
  width: auto;
  display: block;
  object-fit: contain;
}

.hero-badge--jeugd img {
  height: 78px;
}

/* ── Info strips ──────────────────────────────────────────────────── */

.info-strip {
  position: relative;
  padding: 96px 32px;
}

.info-strip--light {
  background: var(--home-bg);
}

.info-strip--dark {
  background:
    radial-gradient(
      circle at top left,
      rgba(31, 142, 207, 0.16),
      transparent 34%
    ),
    linear-gradient(135deg, var(--home-dark) 0%, var(--home-dark-soft) 100%);
  color: rgba(255, 255, 255, 0.78);
}

.info-strip-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: center;
}

.info-strip--dark .info-strip-inner {
  grid-template-columns: 1.15fr 0.85fr;
}

.info-strip--dark .info-strip-img,
.info-strip--dark .info-strip-img-link {
  order: 2;
}

.info-strip--dark .info-strip-text {
  order: 1;
}

/* Images */

.info-strip-img-link {
  display: block;
  text-decoration: none;
  border-radius: 34px;
  overflow: hidden;
  background: var(--home-blue-soft);
  box-shadow: 0 26px 80px var(--home-shadow-blue);
}

.info-strip-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  border-radius: 34px;
  background: var(--home-blue-soft);
  box-shadow: 0 26px 80px var(--home-shadow-blue);
}

.info-strip-img--contain {
  object-fit: contain;
  background: #2aabb2;
}

.info-strip-img-link img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  transition:
    transform 0.55s ease,
    filter 0.55s ease;
}

.info-strip-img-link:hover img {
  transform: scale(1.045);
  filter: saturate(1.12) contrast(1.04);
}

.info-strip-img--rounded {
  border-radius: 34px;
}

.info-strip-img-link .info-strip-img--trooper {
  padding: clamp(32px, 6vw, 64px);
  background: #fff;
  object-fit: contain;
}

/* Text cards */

.info-strip-text {
  position: relative;
  padding: 42px;
  border-radius: 34px;
}

.info-strip-text::before {
  content: "";
  position: absolute;
  top: 32px;
  right: 32px;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  pointer-events: none;
}

.info-strip-text h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.7rem);
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: -0.055em;
  color: inherit;
  text-wrap: balance;
}

.info-strip-text h2::after {
  content: "";
  display: block;
  width: 75%;
  height: 5px;
  margin-top: 18px;
  background: var(--home-blue);
  border-radius: 2rem;
}

.info-strip--light .info-strip-text h2 {
  color: var(--home-dark);
}

.info-strip--dark .info-strip-text h2 {
  color: var(--home-white);
}

.info-strip--dark .info-strip-text h2::after {
  background: var(--home-blue-light);
}

.info-strip-text p {
  margin: 0 0 28px;
  font-size: 1.05rem;
  line-height: 1.85;
  color: inherit;
}

.info-strip--light .info-strip-text p {
  color: var(--home-text-muted);
}

.info-strip--dark .info-strip-text p {
  color: rgba(255, 255, 255, 0.76);
}

.info-strip--dark .info-strip-text p strong {
  color: #fff;
  font-weight: 850;
}

/* Buttons */

.info-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1.5px solid currentColor;
  background: transparent;
  color: inherit;
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.info-cta:hover {
  transform: translateY(-2px);
}

.info-strip--light .info-cta {
  color: var(--home-blue-dark);
  border-color: var(--home-blue);
}

.info-strip--light .info-cta:hover {
  background: var(--home-blue);
  color: var(--home-white);
  border-color: var(--home-blue);
  box-shadow: 0 14px 36px rgba(31, 142, 207, 0.22);
}

.info-strip--dark .info-cta {
  color: var(--home-white);
  border-color: rgba(191, 232, 247, 0.7);
}

.info-strip--dark .info-cta:hover {
  background: var(--home-blue);
  color: var(--home-white);
  border-color: var(--home-blue);
  box-shadow: 0 14px 36px rgba(31, 142, 207, 0.28);
}

/* ── Sponsors ─────────────────────────────────────────────────────── */

.sponsors-section {
  position: relative;
  margin-top: 0;
  padding: 76px 0 64px;
  background:
    radial-gradient(
      circle at top center,
      rgba(10, 145, 189, 0.1),
      transparent 42%
    ),
    linear-gradient(
      180deg,
      var(--home-bg) 0%,
      #ffffff 24%,
      var(--home-blue-soft) 100%
    );
  border: 0;
}

.sponsors-inner {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.sponsors-heading {
  width: min(calc(100% - 48px), var(--container));
  max-width: none;
  margin: 0 auto 24px;
  text-align: left;
}

.sponsors-eyebrow {
  margin: 0 0 12px;
  color: var(--home-blue-dark);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sponsors-heading h2 {
  margin: 0 0 14px;
  color: var(--home-dark);
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.sponsors-heading > p:last-child {
  max-width: 640px;
  margin: 0;
  color: var(--home-text-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.sponsors-marquee {
  width: 100%;
  padding-block: 10px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
}

.sponsors-track {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: sponsorsLoop 42s linear infinite;
  will-change: transform;
}

.sponsors-group {
  display: flex;
  flex: 0 0 auto;
  gap: 16px;
}

.sponsors-marquee:hover .sponsors-track,
.sponsors-marquee:focus-within .sponsors-track {
  animation-play-state: paused;
}

@keyframes sponsorsLoop {
  to {
    transform: translateX(calc(-50% - 8px));
  }
}

.sponsor-card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 220px;
  width: 220px;
  height: 126px;
  padding: 20px 24px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: none;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.sponsor-card[href]:hover,
.sponsor-card[href]:focus-visible {
  transform: none;
  background: var(--home-white);
  box-shadow: none;
  outline: none;
}

.sponsor-card img {
  width: 100%;
  height: 80px;
  max-width: 185px;
  object-fit: contain;
  display: block;
}

.sponsors-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  align-self: flex-start;
  margin: 34px max(24px, calc((100% - var(--container)) / 2)) 0;
  padding: 0 23px;
  border: 1.5px solid var(--home-blue);
  border-radius: 999px;
  color: var(--home-blue-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.sponsors-cta:hover,
.sponsors-cta:focus-visible {
  transform: translateY(-2px);
  background: var(--home-blue);
  color: var(--home-white);
  outline: none;
}

/* ── Responsive ───────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .hero {
    min-height: clamp(580px, 72vh, 700px);
    padding-inline: 20px;
    padding-bottom: 116px;
  }

  .hero-content {
    grid-template-columns: minmax(0, 1.2fr) minmax(270px, 0.8fr);
    gap: 24px;
  }

  .hero-title {
    font-size: clamp(2.75rem, 7vw, 4.4rem);
  }

  .recruitment-card {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .info-strip {
    padding: 76px 24px;
  }

  .info-strip-inner,
  .info-strip--dark .info-strip-inner {
    grid-template-columns: 1fr;
  }

  .info-strip--dark .info-strip-img,
  .info-strip--dark .info-strip-img-link,
  .info-strip--dark .info-strip-text {
    order: initial;
  }

  .info-strip-img,
  .info-strip-img-link img {
    height: 360px;
  }

  .hero-badges {
    right: 22px;
    bottom: 22px;
  }

  .recruitment-cta {
    justify-self: start;
  }

  .recruitment-cta-label--full {
    display: none;
  }

  .recruitment-cta-label--short {
    display: inline;
  }

  .sponsors-section {
    margin-top: 0;
    padding: 68px 0 58px;
  }
}

@media (max-width: 599px) {
  .hero {
    display: block;
    min-height: 0;
    padding: 54px 20px 104px;
  }

  .hero-content {
    width: auto;
    max-width: none;
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "recruitment"
      "partners";
    gap: 18px;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
    align-items: center;
    text-align: center;
  }

  .hero-sub {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .recruitment-card,
  .hero-partners {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero-title {
    margin-bottom: 18px;
    font-size: clamp(2.75rem, 14vw, 4.25rem);
    line-height: 0.96;
  }

  .hero-img {
    object-position: 40% center;
  }

  .hero-sub {
    margin-bottom: 28px;
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-cta {
    min-height: 46px;
    padding: 0 22px;
    font-size: 0.76rem;
  }

  .hero-badges {
    bottom: 16px;
    right: 14px;
    gap: 10px;
  }

  .hero-badge {
    padding: 8px;
    border-radius: 16px;
  }

  .hero-badge img {
    height: 52px;
  }

  .hero-badge--jeugd img {
    height: 64px;
  }

  .recruitment-card {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 16px 16px 22px;
    gap: 14px;
    border-radius: 18px;
  }

  .recruitment-card::before {
    width: 5px;
  }

  .recruitment-copy h2 {
    font-size: 1.08rem;
  }

  .recruitment-cta {
    min-height: 38px;
    padding: 6px 10px;
    border-radius: 11px;
    font-size: 0.66rem;
    white-space: normal;
    text-align: center;
  }

  .hero-partners {
    grid-template-columns: 1fr;
    gap: 8px 12px;
    padding: 11px 12px;
  }

  .hero-partners-stage {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .hero-partners-link {
    grid-column: 1;
    grid-row: 3;
  }

  .hero-partners-stage,
  .hero-partner {
    min-height: 150px;
  }

  .hero-partner img {
    max-width: min(100%, 300px);
    max-height: 135px;
  }

  .hero-partners-link {
    min-height: 38px;
    max-width: none;
    padding: 6px 10px;
    border-radius: 11px;
    font-size: 0.66rem;
  }

  .info-strip {
    padding: 58px 20px;
  }

  .info-strip-inner {
    gap: 18px;
  }

  .info-strip-text {
    padding: 28px;
    border-radius: 26px;
  }

  .info-strip-text::before {
    top: 22px;
    right: 22px;
    width: 54px;
    height: 54px;
  }

  .info-strip-img,
  .info-strip-img-link,
  .info-strip-img-link img {
    border-radius: 26px;
  }

  .info-strip-img,
  .info-strip-img-link img {
    height: 280px;
  }

  .sponsors-section {
    margin-top: 0;
    padding: 58px 0 54px;
  }

  .sponsors-heading {
    width: min(calc(100% - 40px), var(--container));
    margin-bottom: 28px;
  }

  .sponsors-track,
  .sponsors-group {
    gap: 11px;
  }

  .sponsor-card {
    flex-basis: 170px;
    width: 170px;
    height: 108px;
    padding: 17px;
    border-radius: 18px;
  }

  .sponsor-card img {
    height: 66px;
    max-width: 145px;
  }

  .sponsors-cta {
    margin: 28px 20px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .recruitment-card,
  .recruitment-cta,
  .recruitment-cta span {
    transition: none;
  }

  .sponsors-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .sponsors-track {
    animation: none;
  }

  .sponsors-group[aria-hidden="true"] {
    display: none;
  }

  .hero-partner {
    transition: none;
  }
}
