@font-face {
  font-family: "MHB Poppins";
  src: url("https://t.assets-caas.fr/montpellier-handball/2026/fonts/poppins-regular-7d93459d8658.woff2")
    format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "MHB Poppins";
  src: url("https://t.assets-caas.fr/montpellier-handball/2026/fonts/poppins-semibold-f4e80d9dfd37.woff2")
    format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "MHB Poppins";
  src: url("https://t.assets-caas.fr/montpellier-handball/2026/fonts/poppins-bold-italic-4b0864712c6e.woff2")
    format("woff2");
  font-style: italic;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "MHB DIN Light";
  src: url("https://t.assets-caas.fr/montpellier-handball/2026/fonts/dinpro-light-2bc6e4b3998d.woff") format("woff");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "MHB DIN Black";
  src: url("https://t.assets-caas.fr/montpellier-handball/2026/fonts/dinpro-black-cf67c4d8a85e.woff") format("woff");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: "MHB DIN Pro";
  src: url("https://t.assets-caas.fr/montpellier-handball/2026/fonts/dinpro-regular-45e6cf31bd38.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root,
:root[data-theme="light"] {
  /* Brand */
  --custom-color-primary: 25 54 94;
  --custom-color-primary-foreground: 255 255 255;
  --custom-color-secondary: 133 196 235;
  --custom-color-secondary-foreground: 25 54 94;
  --custom-color-secondary-light: #d9effb;
  --custom-color-secondary-medium: #5c80a7;
  --custom-color-secondary-deep: #19365e;

  /* Semantic */
  --custom-color-success: 24 121 78;
  --custom-color-success-foreground: 255 255 255;
  --custom-color-error: 180 35 47;
  --custom-color-error-foreground: 255 255 255;
  --custom-color-warning: 192 74 28;
  --custom-color-warning-foreground: 255 255 255;
  --custom-color-info: 133 196 235;
  --custom-color-info-foreground: 25 54 94;
  --custom-color-neutral: 76 98 122;
  --custom-color-neutral-foreground: 255 255 255;
  --custom-color-verified: 37 99 166;

  /* Text and base surfaces */
  --custom-color-typo: #26395b;
  --custom-color-foreground: #26395b;
  --custom-color-background: #f4f8fb;
  --custom-color-background-card: #ffffff;
  --custom-color-white: #ffffff;
  --custom-color-black: #0b1e38;

  /* Fonts */
  --custom-font-sans: "MHB Poppins", Poppins, Arial, sans-serif;
  --custom-font-serif: "MHB Poppins", Poppins, Arial, sans-serif;
  --custom-font-accent: "MHB DIN Black", "Arial Narrow", Arial, sans-serif;

  /* HSL design tokens */
  --custom-card: 0 0% 100%;
  --custom-card-foreground: 218.5 41.1% 25.3%;
  --custom-popover: 0 0% 100%;
  --custom-popover-foreground: 218.5 41.1% 25.3%;
  --custom-border: 210 34.5% 88.6%;
  --custom-input: 210 34.5% 88.6%;
  --custom-ring: 214.8 58% 23.3%;
  --custom-muted: 204 41.7% 95.3%;
  --custom-muted-foreground: 212.9 18.6% 44.3%;
  --custom-accent: 201.2 81% 91.8%;
  --custom-accent-foreground: 214.8 58% 23.3%;
  --custom-destructive: 355 67.4% 42.2%;
  --custom-destructive-foreground: 0 0% 100%;

  /* API aliases */
  --custom-background: 205.7 46.7% 97.1%;
  --custom-foreground: 218.5 41.1% 25.3%;
  --custom-primary: 214.8 58% 23.3%;
  --custom-primary-foreground: 0 0% 100%;
  --custom-secondary: 202.9 71.8% 72.2%;
  --custom-secondary-foreground: 214.8 58% 23.3%;

  /* Direct Tailwind aliases */
  --custom-color-border: 210 34.5% 88.6%;
  --custom-color-input: 210 34.5% 88.6%;
  --custom-color-ring: 214.8 58% 23.3%;
  --custom-color-card: 0 0% 100%;
  --custom-color-card-foreground: 218.5 41.1% 25.3%;
  --custom-color-popover: 0 0% 100%;
  --custom-color-popover-foreground: 218.5 41.1% 25.3%;
  --custom-color-destructive-default: 355 67.4% 42.2%;
  --custom-color-destructive-foreground-default: 0 0% 100%;
  --custom-color-muted-default: 204 41.7% 95.3%;
  --custom-color-muted-foreground-default: 212.9 18.6% 44.3%;
  --custom-color-accent-default: 201.2 81% 91.8%;
  --custom-color-accent-foreground-default: 214.8 58% 23.3%;
  --custom-radius: 0.2rem;

  /* MHB fragment palette */
  --mhb1262-navy: #19365e;
  --mhb1262-navy-text: #26395b;
  --mhb1262-jira-navy: #26365c;
  --mhb1262-jira-active: #1f3159;
  --mhb1262-sky: #85c4eb;
  --mhb1262-orange: #ca5522;
  --mhb1262-orange-accessible: #c04a1c;
  --mhb1262-jira-rule: #ecd5c9;
  --mhb1262-white: #ffffff;
}

html:has(.mhb1262-header-shell),
body:has(.mhb1262-header-shell) {
  overflow-x: clip;
}

.mhb1262-header-shell {
  display: contents;
  color: var(--mhb1262-navy-text);
  font-family: "MHB Poppins", Poppins, Arial, sans-serif;
}

.mhb1262-header__utility {
  position: relative;
  z-index: 61;
  width: 100%;
  height: 35px;
  min-height: 35px;
  background: var(--mhb1262-white)
    url("https://t.assets-caas.fr/montpellier-handball/2026/header/header-top-bg-a7758a655720.jpg") top center no-repeat;
}

.mhb1262-header__utility-inner {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  align-items: end;
  justify-content: end;
  width: min(calc(100% - 130px), 792px);
  height: 35px;
  margin: 0 max(8px, calc((100% - 1080px) / 2));
  margin-left: auto;
}

.mhb1262-header__utility-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 20px;
  padding: 0 4px;
  overflow: hidden;
  border: 1px solid var(--mhb1262-navy);
  border-bottom: 0;
  background: var(--mhb1262-white);
  color: var(--mhb1262-navy);
  font-family: "MHB Poppins", Poppins, Arial, sans-serif;
  font-size: clamp(8px, 0.7vw, 10px);
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-decoration: none !important;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    height 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

.mhb1262-header__utility-link + .mhb1262-header__utility-link {
  margin-left: 4px;
}

.mhb1262-header__utility-link:hover,
.mhb1262-header__utility-link:focus-visible,
.mhb1262-header__utility-link--active {
  height: 23px;
}

.mhb1262-header__utility-link--active {
  border-color: var(--mhb1262-orange);
  color: var(--mhb1262-orange-accessible);
}

.mhb1262-header__utility-link:focus-visible {
  z-index: 1;
  outline: 2px solid var(--mhb1262-orange);
  outline-offset: -2px;
}

.mhb1262-header__brandbar {
  position: sticky;
  top: 0;
  z-index: 70;
  display: block;
  width: 100%;
  height: 44px;
  min-height: 44px;
  background: var(--mhb1262-white)
    url("https://t.assets-caas.fr/montpellier-handball/2026/header/nav-white-0647a2dd0820.jpg") top center no-repeat;
  box-shadow: 0 -2px 6px rgb(9 30 53 / 39%);
}

.mhb1262-header__brandbar-inner {
  position: relative;
  display: flex;
  align-items: center;
  width: min(100%, 1080px);
  height: 44px;
  margin: 0 auto;
}

.mhb1262-header__brand-logo {
  position: relative;
  z-index: 4;
  flex: 0 0 150px;
  width: 150px;
  height: 44px;
}

.mhb1262-header__brand-logo .logo {
  position: absolute;
  top: 0;
  left: 10px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  width: 150px;
}

.mhb1262-header__brand-logo .header__logo-image {
  width: 72px !important;
  max-width: 72px !important;
  height: 97px !important;
  max-height: 97px !important;
  min-height: 0 !important;
  object-fit: contain;
  transform: translateY(-25px);
  transform-origin: top left;
}

.mhb1262-header__wordmark {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 242px;
  margin-left: 44px;
  color: var(--mhb1262-navy-text);
  line-height: 1;
  text-transform: uppercase;
}

.mhb1262-header__wordmark-name {
  font-family: "MHB DIN Light", "Arial Narrow", Arial, sans-serif;
  font-size: 20px;
  font-weight: 300;
  white-space: nowrap;
}

.mhb1262-header__wordmark-name strong {
  font-family: "MHB DIN Black", "Arial Narrow", Arial, sans-serif;
  font-weight: 900;
}

.mhb1262-header__wordmark-subtitle {
  margin-top: -2px;
  font-family: "MHB DIN Pro", "Arial Narrow", Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
}

.mhb1262-header__socials {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  margin-left: auto;
  padding-right: 12px;
}

.mhb1262-header__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 24px;
  opacity: 0.78;
  transition:
    opacity 140ms ease,
    transform 140ms ease;
}

.mhb1262-header__socials a:hover,
.mhb1262-header__socials a:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
}

.mhb1262-header__socials a:focus-visible {
  outline: 2px solid var(--mhb1262-orange);
  outline-offset: 2px;
}

.mhb1262-header__socials img {
  display: block;
  width: auto;
  max-width: 21px;
  height: 21px;
  object-fit: contain;
}

.mhb1262-header__shortcuts {
  position: sticky;
  top: 44px;
  z-index: 69;
  width: 100%;
  height: 62px;
  min-height: 62px;
  border-top: 3px solid var(--mhb1262-jira-rule);
  background: var(--mhb1262-jira-navy);
  color: var(--mhb1262-white);
  font-family: "MHB Poppins", Poppins, Arial, sans-serif;
}

.mhb1262-header__shortcuts-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(100%, 1440px);
  height: 59px;
  min-height: 59px;
  margin: 0 auto;
}

.mhb1262-header__nav,
.mhb1262-header__nav > div,
.mhb1262-header__account,
.mhb1262-header__account > ul,
.mhb1262-header__account > div,
.mhb1262-header__account li {
  display: contents !important;
}

.mhb1262-header__shortcuts-inner a {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 59px;
  padding: 7px clamp(8px, 1.6vw, 24px) !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--mhb1262-white) !important;
  font-family: "MHB Poppins", Poppins, Arial, sans-serif;
  font-size: clamp(12px, 1.34vw, 18px) !important;
  font-style: italic;
  font-weight: 700 !important;
  line-height: 1.02;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
  white-space: normal !important;
  box-shadow: none !important;
  transition: background-color 120ms ease;
}

.mhb1262-header__shortcuts-inner a:hover,
.mhb1262-header__shortcuts-inner a:focus,
.mhb1262-header__shortcuts-inner a:focus-visible,
.mhb1262-header__shortcuts-inner a.active {
  background: var(--mhb1262-jira-active) !important;
}

.mhb1262-header__shortcuts-inner a:focus,
.mhb1262-header__shortcuts-inner a:focus-visible {
  z-index: 1;
  outline: 3px solid var(--mhb1262-sky);
  outline-offset: -3px;
}

.mhb1262-header__account .login-nav span {
  max-width: 14ch;
  color: inherit;
  font: inherit;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.mhb1262-header__account .login-nav img,
.mhb1262-header__account .login-nav svg {
  display: none !important;
}

.mhb1262-footer {
  width: 100%;
  overflow: visible;
  background: var(--mhb1262-sky);
  color: var(--mhb1262-navy-text);
  font-family: "MHB Poppins", Poppins, Arial, sans-serif;
}

.mhb1262-footer__brand-panel {
  width: 100%;
  background: var(--mhb1262-sky)
    url("https://t.assets-caas.fr/montpellier-handball/2026/footer/shop-partners-06155f09ba9d.jpg") top left no-repeat;
}

.mhb1262-footer__brand-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  width: min(100%, 1080px);
  min-height: 180px;
  margin: 0 auto;
  padding: 34px 24px 26px;
}

.mhb1262-footer__brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  min-height: 106px;
}

.mhb1262-footer__brand-logo .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
}

.mhb1262-footer__brand-logo .header__logo-image {
  width: 70px !important;
  max-width: 70px !important;
  height: 94px !important;
  max-height: 94px !important;
  min-height: 94px !important;
  object-fit: contain;
}

.mhb1262-footer__social-cluster {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 172px;
}

.mhb1262-footer__hashtag {
  display: block;
  width: 139px;
  height: 24px;
  margin-bottom: 9px;
  object-fit: contain;
}

.mhb1262-footer__socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 27px;
}

.mhb1262-footer__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 27px;
  opacity: 1;
  transition:
    opacity 140ms ease,
    transform 140ms ease;
}

.mhb1262-footer__socials a:hover,
.mhb1262-footer__socials a:focus-visible {
  opacity: 0.76;
  transform: translateY(-1px);
}

.mhb1262-footer__socials a:focus-visible {
  outline: 2px solid var(--mhb1262-navy);
  outline-offset: 3px;
}

.mhb1262-footer__socials img {
  display: block;
  width: auto;
  max-width: 26px;
  height: 27px;
  object-fit: contain;
}

.mhb1262-footer__baseline {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
  width: min(calc(100% - 32px), 990px);
  min-height: 92px;
  margin: 0 auto;
  padding: 13px 15px 20px;
  border-top: 1px solid #5c80a7;
  color: var(--mhb1262-white);
}

.mhb1262-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 7px;
  color: var(--mhb1262-white);
  font-size: 12px;
  line-height: 1.3;
  text-align: center;
}

.mhb1262-footer__legal a {
  color: var(--mhb1262-white);
  font-size: inherit;
  text-decoration: none;
}

.mhb1262-footer__legal a:hover,
.mhb1262-footer__legal a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mhb1262-footer__legal a:focus-visible {
  outline: 2px solid var(--mhb1262-navy);
  outline-offset: 2px;
}

.mhb1262-footer__powered {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
}

.mhb1262-footer__powered.footer__by-stadium-go {
  width: auto;
  margin: 0;
  color: rgb(255 255 255 / 82%);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mhb1262-footer__powered svg {
  width: auto;
  height: 15px;
}

@supports (animation-timeline: scroll()) {
  .mhb1262-header__brand-logo .header__logo-image {
    animation: mhb1262-logo-compact linear both;
    animation-timeline: scroll();
    animation-range: 0 70px;
  }
}

@keyframes mhb1262-logo-compact {
  from {
    transform: translateY(-25px) scale(1);
  }

  to {
    transform: translateY(-2px) scale(0.5);
  }
}

@media (max-width: 1024px) and (min-width: 768px) {
  .mhb1262-header__brand-logo {
    flex-basis: 120px;
    width: 120px;
  }

  .mhb1262-header__wordmark {
    min-width: 230px;
    margin-left: 12px;
  }

  .mhb1262-header__socials {
    gap: 4px;
    padding-right: 10px;
  }
}

@media (max-width: 767px) {
  .mhb1262-header__utility {
    display: none;
  }

  .mhb1262-header__brandbar,
  .mhb1262-header__brandbar-inner {
    height: 65px;
    min-height: 65px;
  }

  .mhb1262-header__brandbar {
    background-position: bottom center;
  }

  .mhb1262-header__brandbar-inner {
    padding: 0 12px;
  }

  .mhb1262-header__brand-logo {
    flex: 0 0 48px;
    width: 48px;
    height: 65px;
  }

  .mhb1262-header__brand-logo .logo {
    position: static;
    width: 48px;
    height: 65px;
    align-items: center;
  }

  .mhb1262-header__brand-logo .header__logo-image {
    width: 43px !important;
    max-width: 43px !important;
    height: 58px !important;
    max-height: 58px !important;
    transform: none;
    animation: none;
  }

  .mhb1262-header__wordmark {
    min-width: 0;
    margin-left: 3px;
  }

  .mhb1262-header__wordmark-name {
    font-size: clamp(16px, 4.8vw, 20px);
  }

  .mhb1262-header__wordmark-subtitle {
    margin-top: 1px;
    font-size: clamp(10px, 3vw, 13px);
  }

  .mhb1262-header__socials {
    display: none;
  }

  .mhb1262-header__shortcuts {
    display: none;
  }

  .mhb1262-footer__brand-inner {
    flex-direction: column;
    gap: 10px;
    min-height: 245px;
    padding: 32px 20px 28px;
  }

  .mhb1262-footer__brand-logo {
    min-height: 100px;
  }

  .mhb1262-footer__baseline {
    gap: 15px;
    width: calc(100% - 30px);
    min-height: 110px;
    padding-right: 4px;
    padding-left: 4px;
  }

  .mhb1262-footer__legal {
    gap: 5px 6px;
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mhb1262-header__utility-link,
  .mhb1262-header__socials a,
  .mhb1262-header__shortcuts-inner a,
  .mhb1262-footer__socials a {
    transition: none;
  }

  .mhb1262-header__brand-logo .header__logo-image {
    animation: none;
  }
}

/* GLOBAL STYLES */
.page-home .hero {
    background: none;
    padding-top: 3rem;
    padding-bottom: 3rem;
    min-height: 325px;
}
.page-home .hero__wrapper .heading, 
.page-home .hero__vail{
  display:none;
}
.event-search-algolia__load-more{
  color:#fff;
}
.event-search-algolia__load-more [stroke=red]{
  stroke:#fff;
}
.card-event__sport-competition-container{
  background: #84C4EB;
}
.card-event .button--primary{
  background: #84C4EB;
  border-color: #84C4EB;
}