@font-face {
  font-family: "Massafra Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("Fonts/Anton-Regular.woff2") format("woff2");
}

/* Structure detail: centered opening and narrative photo sequence */
.structure-picker {
  transition: height 760ms cubic-bezier(0.16, 0.82, 0.24, 1);
}

.structure-choice {
  transition:
    top 820ms cubic-bezier(0.16, 0.82, 0.24, 1),
    left 820ms cubic-bezier(0.16, 0.82, 0.24, 1),
    width 820ms cubic-bezier(0.16, 0.82, 0.24, 1),
    height 820ms cubic-bezier(0.16, 0.82, 0.24, 1),
    opacity 520ms ease,
    transform 820ms cubic-bezier(0.16, 0.82, 0.24, 1),
    box-shadow 320ms ease;
}

.structure-picker.is-focused {
  height: 326px;
}

.structure-picker.is-focused .structure-choice.is-selected {
  top: 0;
  left: 50%;
  width: min(72%, 820px);
  height: 300px;
  z-index: 2;
  transform: translateX(-50%);
}

.structure-picker.is-focused .structure-choice.is-selected .structure-choice__shade {
  background: linear-gradient(180deg, rgba(2, 29, 47, 0.14) 10%, rgba(2, 29, 47, 0.9) 100%);
}

.structure-picker.is-focused .structure-choice.is-selected .structure-choice__copy {
  justify-items: center;
  text-align: center;
}

.structure-picker.is-transitioning .structure-choice.is-selected > img {
  transform: scale(1.035);
}

.structure-switcher {
  scroll-margin-top: 82px;
  margin-top: 4px;
}

.structure-detail {
  display: block;
  min-height: 0;
  border-top: 3px solid var(--gold-light);
  border-bottom: 3px solid var(--gold-light);
  opacity: 0;
  transform: translateY(38px) scale(0.985);
  transition:
    opacity 720ms ease,
    transform 980ms cubic-bezier(0.16, 0.82, 0.24, 1);
}

.structure-detail.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.structure-detail__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  align-items: center;
  padding: 58px 64px 54px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.98), rgba(241, 247, 250, 0.94)),
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(8, 127, 171, 0.05) 18px 19px);
  gap: 70px;
}

.structure-detail__copy {
  display: block;
  min-width: 0;
  padding: 0;
  opacity: 0;
  transform: translateX(-46px);
  transition:
    opacity 720ms 160ms ease,
    transform 960ms 160ms cubic-bezier(0.16, 0.82, 0.24, 1);
}

.structure-detail__meta {
  opacity: 0;
  transform: translateX(46px);
  transition:
    opacity 720ms 260ms ease,
    transform 960ms 260ms cubic-bezier(0.16, 0.82, 0.24, 1);
}

.structure-detail.is-visible .structure-detail__copy,
.structure-detail.is-visible .structure-detail__meta {
  opacity: 1;
  transform: none;
}

.structure-detail__facts {
  margin: 0;
  padding: 20px 0;
  border-top: 1px solid #cbd9e1;
  border-bottom: 1px solid #cbd9e1;
}

.structure-detail__directions {
  margin-top: 22px;
}

.structure-story {
  padding: 58px 64px 70px;
  color: var(--white);
  background:
    linear-gradient(rgba(3, 43, 68, 0.95), rgba(2, 31, 51, 0.98)),
    url("Immagini/Struttura/Palasportin Copertina.jpeg") center / cover no-repeat;
}

.structure-story__heading {
  margin-bottom: 32px;
  text-align: center;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 620ms 340ms ease,
    transform 800ms 340ms cubic-bezier(0.16, 0.82, 0.24, 1);
}

.structure-detail.is-visible .structure-story__heading {
  opacity: 1;
  transform: none;
}

.structure-story__heading p {
  margin: 0 0 4px;
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.structure-story__heading h3 {
  margin: 0;
  font-family: "Massafra Display", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.structure-story__gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px;
}

.structure-story__photo {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  grid-column: 1 / span 7;
  min-height: 320px;
  padding: 0;
  overflow: hidden;
  background: #041f33;
  border: 1px solid var(--gold-light);
  border-radius: 2px;
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateX(-70px);
  transition:
    opacity 760ms calc(480ms + var(--photo-order) * 180ms) ease,
    transform 1000ms calc(480ms + var(--photo-order) * 180ms) cubic-bezier(0.16, 0.82, 0.24, 1),
    box-shadow 280ms ease;
}

.structure-story__photo--2 {
  grid-column: 6 / span 7;
  transform: translateX(70px);
}

.structure-story__photo--3 {
  grid-column: 2 / span 7;
}

.structure-story__photo--4 {
  grid-column: 5 / span 7;
  transform: translateX(70px);
}

.structure-story__photo--5 {
  grid-column: 1 / span 7;
}

.structure-story__photo--6 {
  grid-column: 6 / span 7;
  transform: translateX(70px);
}

.structure-story__photo--7 {
  grid-column: 2 / span 7;
}

.structure-story__photo--8 {
  grid-column: 5 / span 7;
  transform: translateX(70px);
}

.structure-story__photo--9 {
  grid-column: 1 / span 7;
}

.structure-story__photo--10 {
  grid-column: 6 / span 7;
  transform: translateX(70px);
}

.structure-story__photo:only-child {
  grid-column: 3 / span 8;
  min-height: 360px;
  transform: translateY(36px);
}

.structure-detail.is-visible .structure-story__photo {
  opacity: 1;
  transform: none;
}

.structure-story__media {
  position: relative;
  display: block;
  width: 100%;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  cursor: zoom-in;
  background: transparent;
  border: 0;
}

.structure-story__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    opacity 260ms ease,
    transform 900ms cubic-bezier(0.16, 0.82, 0.24, 1),
    filter 320ms ease;
}

.structure-story__photo--2 img {
  object-position: 72% center;
}

.structure-story__photo--3 img {
  object-position: 28% center;
}

.structure-story__photo--4 img {
  object-position: 65% center;
}

.structure-story__photo--5 img {
  object-position: center;
}

.structure-story__photo:hover,
.structure-story__photo:focus-within {
  box-shadow: 0 26px 48px rgba(0, 0, 0, 0.38);
  outline: 0;
}

.structure-story__media:hover img,
.structure-story__media:focus-visible img {
  filter: brightness(1.06);
  transform: scale(1.035);
}

.structure-story__media:focus-visible,
.structure-story__control:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: -3px;
}

.structure-story__controls {
  position: absolute;
  top: 50%;
  right: clamp(10px, 2vw, 18px);
  left: clamp(10px, 2vw, 18px);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  transform: translateY(-50%);
}

.structure-story__control {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  cursor: pointer;
  pointer-events: auto;
  background: rgba(3, 34, 55, 0.84);
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(1, 14, 24, 0.28);
}

.structure-story__control:hover {
  color: var(--navy);
  background: var(--gold-light);
}

.structure-story__badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  width: 42px;
  height: 30px;
  place-items: center;
  color: var(--white);
  background: rgba(3, 34, 55, 0.84);
  border: 1px solid var(--gold-light);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  pointer-events: auto;
}

.structure-story__caption {
  display: block;
  padding: 13px 16px 14px;
  color: var(--navy);
  background: var(--white);
  border-top: 3px solid var(--gold-light);
  font-size: 13px;
  font-weight: 900;
  text-align: left;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .structure-detail__intro {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 760px) {
  .structure-picker.is-focused {
    height: 318px;
  }

  .structure-picker.is-focused .structure-choice.is-selected {
    top: 0;
    left: 0;
    width: 100%;
    height: 294px;
    transform: none;
  }

  .structure-detail__intro {
    padding: 38px 26px 40px;
    gap: 30px;
  }

  .structure-detail__copy,
  .structure-detail__meta {
    transform: translateY(28px);
  }

  .structure-story {
    padding: 42px 14px 48px;
  }

  .structure-story__heading {
    margin-bottom: 24px;
  }

  .structure-story__heading h3 {
    font-size: 38px;
  }

  .structure-story__gallery {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .structure-story__photo,
  .structure-story__photo--2,
  .structure-story__photo--3,
  .structure-story__photo--4,
  .structure-story__photo--5,
  .structure-story__photo--6,
  .structure-story__photo--7,
  .structure-story__photo--8,
  .structure-story__photo--9,
  .structure-story__photo--10,
  .structure-story__photo:only-child {
    grid-column: 1;
    min-height: 300px;
    transform: translateX(-42px);
  }

  .structure-story__photo--2,
  .structure-story__photo--4,
  .structure-story__photo--6,
  .structure-story__photo--8,
  .structure-story__photo--10 {
    transform: translateX(42px);
  }
}

:root {
  --white: #ffffff;
  --off-white: #f5fafc;
  --sky: #08a4dc;
  --sky-dark: #0879aa;
  --navy: #092f50;
  --gold: #aa8a24;
  --gold-light: #d6bc59;
  --text: #173248;
  --muted: #5f7485;
  --shadow: 0 8px 24px rgba(9, 47, 80, 0.16);
  --nav-height: 52px;
}

/* Monthly team calendar */
.team-calendar__open {
  display: inline-flex;
  padding: 0;
  align-items: center;
  justify-content: center;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font: inherit;
  line-height: inherit;
  text-shadow: inherit;
  text-transform: inherit;
  transition: color 200ms ease, transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.team-calendar__open:hover,
.team-calendar__open:focus-visible {
  color: #087fab;
  transform: scale(1.035);
}

.team-calendar__open:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 5px;
}

.team-month-calendar {
  width: min(1100px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: auto;
  color: var(--navy);
  background: #eef2f5;
  border: 2px solid var(--gold-light);
  border-radius: 6px;
  box-shadow: 0 28px 70px rgba(1, 24, 42, 0.36);
}

.team-month-calendar[open] {
  animation: team-matches-dialog-enter 360ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.team-month-calendar::backdrop {
  background: rgba(1, 22, 38, 0.76);
}

.team-month-calendar__close {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 3;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--white);
  background: rgba(2, 30, 50, 0.88);
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.team-month-calendar__close,
.team-standings-dialog__close,
.team-matches-dialog__close {
  font-size: 0;
}

.team-month-calendar__close::before,
.team-month-calendar__close::after,
.team-standings-dialog__close::before,
.team-standings-dialog__close::after,
.team-matches-dialog__close::before,
.team-matches-dialog__close::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 2px;
  content: "";
  background: currentColor;
  border-radius: 999px;
  transform: translate(-50%, -50%) rotate(45deg);
}

.team-month-calendar__close::after,
.team-standings-dialog__close::after,
.team-matches-dialog__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.team-month-calendar__inner {
  padding: 0 18px 20px;
}

.team-month-calendar__header {
  display: flex;
  margin: 0 -18px 16px;
  padding: 22px 72px 22px 24px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: var(--white);
  background: linear-gradient(110deg, #052c49, #087fab);
  border-bottom: 2px solid var(--gold-light);
}

.team-month-calendar__header p {
  margin: 0 0 4px;
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.team-month-calendar__header h2 {
  margin: 0;
  font-family: "Massafra Display", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(35px, 4vw, 50px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.96;
  text-transform: uppercase;
}

.team-month-calendar__header span {
  display: block;
  margin-top: 6px;
  color: #d7e8f1;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.team-month-calendar__header img {
  width: 70px;
  height: 70px;
  flex: 0 0 70px;
  object-fit: contain;
  filter: brightness(1.08) drop-shadow(0 0 7px rgba(255, 255, 255, 0.38));
}

.team-month-calendar__navigation {
  display: grid;
  width: min(430px, 100%);
  margin: 0 auto 14px;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 12px;
}

.team-month-calendar__navigation strong {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  text-align: center;
  text-transform: capitalize;
}

.team-month-calendar__navigation button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  cursor: pointer;
  font-size: 19px;
  transition: background 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.team-month-calendar__navigation button:hover:not(:disabled),
.team-month-calendar__navigation button:focus-visible:not(:disabled) {
  background: var(--sky-dark);
  transform: translateY(-2px);
}

.team-month-calendar__navigation button:disabled {
  cursor: default;
  opacity: 0.25;
}

.team-month-calendar__navigation button:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

.team-month-calendar__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: stretch;
  gap: 14px;
}

.team-month-calendar__month,
.team-month-calendar__detail {
  min-width: 0;
  padding: 12px;
  background: var(--white);
  border: 1px solid #cbd8e0;
  border-radius: 4px;
}

.team-month-calendar__weekdays,
.team-month-calendar__days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.team-month-calendar__weekdays {
  margin-bottom: 4px;
}

.team-month-calendar__weekdays span {
  padding: 6px 2px;
  color: #607788;
  font-size: 9px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.team-month-calendar__day {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 76px;
  padding: 8px;
  color: #748895;
  background: #f4f7f8;
  border: 1px solid #e0e7eb;
  border-radius: 3px;
  font-size: 11px;
  text-align: left;
}

.team-month-calendar__day.is-empty {
  background: transparent;
  border-color: transparent;
}

.team-month-calendar__day.has-match {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto 1fr;
  align-content: safe center;
  gap: 3px 5px;
  color: var(--navy);
  border-color: var(--gold-light);
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.team-month-calendar__day.has-match.is-upcoming {
  background: rgba(8, 164, 220, 0.1);
  border-color: var(--sky-dark);
}

.team-month-calendar__day.has-match b {
  font-size: 15px;
  line-height: 1;
}

.team-month-calendar__day.has-match small {
  justify-self: end;
  color: #94760b;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
}

.team-month-calendar__day.has-match span {
  grid-column: 1 / -1;
  color: #087fab;
  font-size: 11px;
  font-weight: 900;
}

.team-month-calendar__day.has-match em {
  grid-column: 1 / -1;
  align-self: end;
  overflow: hidden;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.15;
  text-overflow: ellipsis;
  text-transform: uppercase;
}

.team-month-calendar__day.has-match:hover,
.team-month-calendar__day.has-match:focus-visible {
  z-index: 1;
  transform: translateY(-2px);
}

.team-month-calendar__day.has-match:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}

.team-month-calendar__day.has-match.is-selected {
  color: var(--white);
  background: var(--navy);
  border-color: var(--gold-light);
  box-shadow: inset 0 0 0 1px var(--gold-light), 0 7px 16px rgba(3, 37, 61, 0.18);
}

.team-month-calendar__day.has-match.is-selected small,
.team-month-calendar__day.has-match.is-selected span {
  color: var(--gold-light);
}

.team-month-calendar__detail {
  display: flex;
  flex-direction: column;
}

.team-month-calendar__detail-title {
  margin: 0 0 9px;
  color: #9b7d0e;
  font-size: 10px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.team-month-calendar__match-card {
  flex: 1;
  box-shadow: none;
}

.team-month-calendar__detail > .team-calendar-add {
  margin-top: 12px;
}

.team-month-calendar__empty {
  margin: auto;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 760px) {
  .team-month-calendar {
    width: calc(100% - 12px);
    max-height: calc(100dvh - 12px);
  }

  .team-month-calendar__inner {
    padding: 0 7px 10px;
  }

  .team-month-calendar__header {
    margin: 0 -7px 12px;
    padding: 18px 52px 18px 14px;
  }

  .team-month-calendar__header h2 {
    font-size: 30px;
  }

  .team-month-calendar__header span {
    font-size: 10px;
  }

  .team-month-calendar__header img {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }

  .team-month-calendar__close {
    top: 9px;
    right: 9px;
    width: 32px;
    height: 32px;
    font-size: 21px;
  }

  .team-month-calendar__navigation {
    width: 100%;
    margin-bottom: 10px;
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    gap: 8px;
  }

  .team-month-calendar__navigation button {
    width: 34px;
    height: 34px;
  }

  .team-month-calendar__navigation strong {
    font-size: 19px;
  }

  .team-month-calendar__content {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .team-month-calendar__month,
  .team-month-calendar__detail {
    padding: 7px;
  }

  .team-month-calendar__weekdays,
  .team-month-calendar__days {
    gap: 2px;
  }

  .team-month-calendar__weekdays {
    margin-bottom: 2px;
  }

  .team-month-calendar__weekdays span {
    padding: 4px 1px;
    font-size: 7px;
  }

  .team-month-calendar__day {
    min-height: 49px;
    padding: 5px;
    font-size: 9px;
  }

  .team-month-calendar__day.has-match {
    gap: 2px 3px;
  }

  .team-month-calendar__day.has-match b {
    font-size: 12px;
  }

  .team-month-calendar__day.has-match small {
    font-size: 6px;
  }

  .team-month-calendar__day.has-match span {
    font-size: 8px;
  }

  .team-month-calendar__day.has-match em {
    display: none;
  }

  .team-month-calendar__detail-title {
    margin-bottom: 7px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background: var(--white);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.home-page {
  background: #f1f4f6;
}

.home-page main {
  background: #f1f4f6;
}

button,
a {
  font: inherit;
}

button {
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 30;
  background: var(--white);
  border-top: 5px solid var(--sky);
  border-bottom: 2px solid var(--gold-light);
}

.site-header::after {
  position: absolute;
  inset: -5px 0 -2px;
  z-index: 5;
  pointer-events: none;
  content: "";
  border-top: 5px solid var(--sky);
  border-bottom: 2px solid var(--gold-light);
}

.identity-bar {
  position: relative;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(540px, 700px) minmax(190px, 1fr);
  align-items: center;
  width: min(1500px, 100%);
  min-height: 108px;
  margin: 0 auto;
  padding: 0 clamp(18px, 3vw, 46px);
  gap: clamp(16px, 2vw, 32px);
  background-color: #fbfdfe;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(8, 164, 220, 0.026) 0,
    rgba(8, 164, 220, 0.026) 1px,
    transparent 1px,
    transparent 15px
  );
}

.identity-bar.is-entering .club-brand__logo {
  animation: identity-logo-settle 920ms cubic-bezier(0.16, 0.82, 0.24, 1) both;
}

.identity-bar.is-entering .club-brand--asd .club-brand__logo {
  animation-delay: 60ms;
}

.identity-bar.is-entering .club-brand--pallavolo .club-brand__logo {
  animation-delay: 60ms;
}

.identity-bar.is-entering .club-brand--asd .club-brand__name {
  animation: identity-name-left 760ms 140ms cubic-bezier(0.16, 0.82, 0.24, 1) both;
}

.identity-bar.is-entering .club-brand--pallavolo .club-brand__name {
  animation: identity-name-right 760ms 140ms cubic-bezier(0.16, 0.82, 0.24, 1) both;
}

.identity-bar.is-entering .brand-lockup__divider {
  animation: identity-divider 620ms 140ms ease-out both;
}

.identity-bar.is-entering .social-club--left {
  animation: identity-social-left 720ms cubic-bezier(0.16, 0.82, 0.24, 1) both;
}

.identity-bar.is-entering .social-club--right {
  animation: identity-social-right 720ms cubic-bezier(0.16, 0.82, 0.24, 1) both;
}

@keyframes identity-logo-settle {
  from {
    opacity: 0;
    transform: scale(1.72);
  }

  to {
    opacity: 1;
    transform: scale(var(--logo-scale));
  }
}

@keyframes identity-name-left {
  from {
    opacity: 0;
    transform: translateX(-70px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes identity-name-right {
  from {
    opacity: 0;
    transform: translateX(70px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes identity-divider {
  from {
    opacity: 0;
    transform: scaleY(0);
  }

  to {
    opacity: 1;
    transform: scaleY(1);
  }
}

@keyframes identity-social-left {
  from {
    opacity: 0;
    transform: translateX(-90px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes identity-social-right {
  from {
    opacity: 0;
    transform: translateX(90px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.brand-lockup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  align-items: center;
  min-width: 0;
}

.club-brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.club-brand--asd {
  justify-content: flex-start;
  flex-direction: row-reverse;
  padding-right: 22px;
  text-align: right;
}

.club-brand--pallavolo {
  padding-left: 22px;
  text-align: left;
}

.club-brand__logo {
  --logo-scale: 1.06;
  width: 86px;
  height: 86px;
  flex: 0 0 86px;
  filter: brightness(1.1) saturate(1.14) drop-shadow(0 0 7px rgba(8, 164, 220, 0.3));
  object-fit: contain;
  transform: scale(var(--logo-scale));
}

.club-brand--pallavolo .club-brand__logo {
  --logo-scale: 1.04;
  width: 94px;
  height: 94px;
  flex-basis: 94px;
  transform: scale(var(--logo-scale));
}

.club-brand__name {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--navy);
  font-size: clamp(18px, 1.55vw, 25px);
  font-weight: 800;
  line-height: 1.08;
  text-transform: uppercase;
}

.brand-lockup__divider {
  width: 1px;
  height: 78px;
  background: var(--gold);
}

.social-club {
  position: relative;
  width: min(190px, 100%);
  min-width: 0;
  text-align: center;
}

.social-club--left::after,
.social-club--right::before {
  position: absolute;
  top: 50%;
  width: clamp(58px, 7vw, 96px);
  height: 2px;
  content: "";
  opacity: 0.5;
}

.social-club--left::after {
  left: calc(100% + 18px);
  background: linear-gradient(90deg, var(--gold-light), rgba(8, 164, 220, 0.3));
}

.social-club--right::before {
  right: calc(100% + 18px);
  background: linear-gradient(90deg, rgba(8, 164, 220, 0.3), var(--gold-light));
}

.social-club--left {
  justify-self: start;
}

.social-club--right {
  justify-self: end;
}

.social-club__name {
  position: relative;
  display: inline-block;
  margin: 0 0 11px;
  padding-bottom: 4px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.social-club__name::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--gold-light);
  transform: scaleX(1);
  transform-origin: center;
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.social-club--right .social-links {
  justify-content: center;
}

.social-link {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  padding: 0;
  place-items: center;
  overflow: hidden;
  cursor: pointer;
  background: transparent;
  border-radius: 7px;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.social-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.social-link img[src*="Tiktok"] {
  width: 74%;
  height: 74%;
}

.social-link:hover,
.social-link:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(9, 47, 80, 0.18);
}

.social-link--pending {
  opacity: 0.58;
}

.primary-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-height);
  color: var(--white);
  background: var(--sky-dark);
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 5px 16px rgba(9, 47, 80, 0.15);
}

.primary-nav__home-logo {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 42px;
  height: 42px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 360ms ease, transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.primary-nav__home-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(1.08) drop-shadow(0 0 4px rgba(255, 255, 255, 0.42));
  transition: filter 240ms ease, transform 240ms ease;
}

.primary-nav__home-logo--left {
  left: 22px;
  transform: translate3d(-18px, -50%, 0) scale(1.22);
}

.primary-nav__home-logo--right {
  right: 22px;
  transform: translate3d(18px, -50%, 0) scale(1.22);
}

.primary-nav.is-stuck .primary-nav__home-logo {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, -50%, 0) scale(1);
}

.primary-nav__home-logo:hover img,
.primary-nav__home-logo:focus-visible img {
  filter: brightness(1.2) drop-shadow(0 0 7px rgba(255, 255, 255, 0.68));
  transform: scale(1.08);
}

.primary-nav__inner {
  width: min(1280px, 100%);
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.menu-toggle {
  display: none;
}

.main-menu {
  display: grid;
  grid-template-columns: repeat(8, minmax(84px, 1fr));
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Shared competition calendar */
.calendar-page {
  overflow-x: clip;
  background: #eef3f6;
}

.calendar-page *,
.calendar-page *::before,
.calendar-page *::after {
  box-sizing: border-box;
}

.calendar-hero {
  color: var(--white);
  background: var(--navy);
  border-bottom: 3px solid var(--gold-light);
}

.calendar-hero__inner {
  display: flex;
  width: min(1420px, calc(100% - 40px));
  min-height: 190px;
  margin: 0 auto;
  padding: 34px 0;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.calendar-hero__inner > div > p {
  margin: 0 0 7px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.calendar-hero h1 {
  margin: 0;
  font-family: "Massafra Display", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(48px, 6vw, 74px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.95;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

.calendar-hero__inner > div > span {
  display: block;
  max-width: 650px;
  margin-top: 10px;
  color: #d9e7ef;
  font-size: 16px;
}

.calendar-download-all {
  display: flex;
  min-width: 276px;
  padding: 15px 18px;
  align-items: center;
  gap: 13px;
  color: var(--navy);
  background: var(--gold-light);
  border: 1px solid #f3dc7f;
  border-radius: 4px;
  cursor: pointer;
  text-align: left;
  transition: filter 220ms ease, transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.calendar-download-all:hover,
.calendar-download-all:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-3px);
}

.calendar-download-all__icon {
  font-size: 27px;
  line-height: 1;
}

.calendar-download-all strong,
.calendar-download-all small {
  display: block;
}

.calendar-download-all strong {
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}

.calendar-download-all small {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 700;
}

.calendar-section {
  padding: 38px 20px 48px;
}

.calendar-layout {
  display: block;
  width: 100%;
  margin: 0 auto;
}

.calendar-shell {
  width: min(1440px, 100%);
  min-width: 0;
  margin: 0 auto;
}

.calendar-downloads {
  position: static;
  width: min(1440px, 100%);
  margin: 30px auto 0;
  padding: 22px 20px 20px;
  background: var(--white);
  border: 1px solid #cbd8df;
  border-top: 4px solid var(--gold-light);
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(9, 47, 80, 0.09);
}

.calendar-downloads > h2 {
  margin: 0 auto 18px;
  max-width: 620px;
  color: var(--navy);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.35;
  text-align: center;
  text-transform: none;
}

.calendar-downloads__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.calendar-downloads__item {
  display: grid;
  width: 100%;
  min-width: 0;
  padding: 9px 8px;
  align-items: center;
  grid-template-columns: 7px 24px minmax(0, 1fr) 20px;
  gap: 7px;
  color: var(--navy);
  background: #f5f8fa;
  border: 1px solid #d2dde3;
  border-radius: 3px;
  cursor: pointer;
  text-align: left;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.calendar-downloads__item:not(:disabled):hover,
.calendar-downloads__item:not(:disabled):focus-visible {
  border-color: var(--competition-color);
  box-shadow: 0 5px 14px color-mix(in srgb, var(--competition-color) 22%, transparent);
  transform: translateX(-3px);
}

.calendar-downloads__item:disabled {
  cursor: default;
  opacity: 0.56;
}

.calendar-downloads__swatch {
  width: 7px;
  height: 31px;
  background: var(--competition-color);
  border-radius: 2px;
}

.calendar-downloads__calendar-icon {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: var(--navy);
  background: #f2e5a8;
  border: 1px solid color-mix(in srgb, var(--competition-color) 58%, #d2dde3);
  border-radius: 3px;
  font-size: 14px;
  line-height: 1;
}

.calendar-downloads__item strong,
.calendar-downloads__item small {
  display: block;
}

.calendar-downloads__item strong {
  font-size: 10px;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

.calendar-downloads__item small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
}

.calendar-downloads__arrow {
  color: var(--competition-color);
  font-size: 18px;
  font-weight: 900;
  text-align: center;
}

.calendar-toolbar {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  max-width: 500px;
  margin: 0 auto 24px;
  align-items: center;
  gap: 16px;
}

.calendar-toolbar h2 {
  margin: 0;
  color: var(--navy);
  font-family: "Massafra Display", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 39px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.calendar-arrow {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  cursor: pointer;
  font-size: 21px;
  transition: background-color 180ms ease, transform 180ms ease;
}

.calendar-arrow:hover,
.calendar-arrow:focus-visible {
  background: var(--sky-dark);
  transform: scale(1.07);
}

.calendar-legend {
  display: flex;
  margin: 0 0 20px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.calendar-legend__item {
  display: inline-flex;
  padding: 8px 12px;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid #c7d4dc;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  transition: opacity 180ms ease, transform 180ms ease;
}

.calendar-legend__item span {
  width: 12px;
  height: 12px;
  background: var(--competition-color);
  border-radius: 2px;
}

.calendar-legend__item:not(.is-active) {
  opacity: 0.42;
}

.calendar-legend__item:hover,
.calendar-legend__item:focus-visible {
  transform: translateY(-2px);
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-weekdays {
  color: var(--white);
  background: var(--navy);
  border: 1px solid var(--navy);
}

.calendar-weekdays span {
  padding: 10px 6px;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.calendar-page.is-calendar-empty .calendar-toolbar,
.calendar-page.is-calendar-empty .calendar-weekdays {
  display: none;
}

.calendar-grid {
  overflow: hidden;
  background: #cbd6dc;
  border: 1px solid #cbd6dc;
  gap: 1px;
}

.calendar-empty {
  display: grid;
  grid-column: 1 / -1;
  min-height: 150px;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 34px 20px;
  color: var(--navy);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(8, 164, 220, 0.08), rgba(214, 188, 89, 0.12)),
    #eef4f7;
}

.calendar-empty strong {
  font-family: "Massafra Display", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.calendar-empty span {
  max-width: 560px;
  color: #526a78;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.calendar-day {
  position: relative;
  min-width: 0;
  min-height: 184px;
  padding: 10px;
  background: var(--white);
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.calendar-day.is-outside {
  background: #e8edf0;
}

.calendar-day.is-selected {
  z-index: 1;
  box-shadow: inset 0 0 0 2px var(--gold-light);
}

.calendar-day.is-today .calendar-day__number {
  color: var(--white);
  background: var(--sky-dark);
}

.calendar-day__number {
  display: grid;
  width: 28px;
  height: 28px;
  padding: 0;
  place-items: center;
  color: var(--navy);
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.calendar-day.is-outside .calendar-day__number {
  opacity: 0.45;
}

.calendar-day__events {
  display: grid;
  margin-top: 7px;
  gap: 5px;
}

.calendar-event {
  display: grid;
  min-width: 0;
  padding: 6px 7px;
  color: var(--competition-ink);
  background: color-mix(in srgb, var(--competition-color) 32%, white);
  border: 1px solid color-mix(in srgb, var(--competition-color) 45%, #9babb5);
  border-left: 4px solid var(--competition-color);
  border-radius: 2px;
  cursor: pointer;
  text-align: left;
  transition: filter 180ms ease, transform 180ms ease;
}

.calendar-event:hover,
.calendar-event:focus-visible {
  z-index: 2;
  filter: saturate(1.15);
  transform: translateX(2px);
}

.calendar-event__competition,
.calendar-event__time {
  font-size: 10px;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

.calendar-event__time {
  margin-top: 2px;
}

.calendar-event strong {
  display: -webkit-box;
  margin-top: 3px;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.calendar-event strong b {
  color: var(--navy);
}

.calendar-agenda {
  margin-top: 26px;
}

.calendar-agenda > h3 {
  margin: 0 0 13px;
  color: var(--navy);
  font-family: "Massafra Display", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 31px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

.calendar-agenda__matches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.calendar-agenda__match {
  padding: 18px;
  background: var(--white);
  border: 1px solid #cbd8df;
  border-top: 4px solid var(--competition-color);
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(9, 47, 80, 0.08);
}

.calendar-agenda__match > header {
  display: flex;
  padding-bottom: 10px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #d8e1e6;
  color: var(--navy);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.calendar-agenda__match > header span {
  color: var(--gold);
}

.calendar-agenda__teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  margin: 16px 0;
  align-items: center;
  gap: 16px;
}

.calendar-agenda__teams > span {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 7px;
  text-align: center;
}

.calendar-agenda__teams img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.75));
}

.calendar-agenda__teams strong {
  color: var(--navy);
  font-size: 12px;
  line-height: 1.2;
  text-transform: uppercase;
}

.calendar-agenda__result {
  color: var(--navy);
  font-family: "Massafra Display", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 36px;
  font-weight: 400;
  letter-spacing: 0;
  text-shadow: 0 0 10px rgba(8, 164, 220, 0.28);
}

.calendar-agenda__when {
  display: grid;
  margin: 0;
  justify-items: center;
  color: var(--text);
  font-size: 13px;
  text-align: center;
}

.calendar-agenda__when b {
  color: var(--sky-dark);
}

.calendar-agenda__when small {
  margin-top: 2px;
  color: var(--muted);
}

.calendar-agenda__sets {
  width: 100%;
  margin: 15px 0 12px;
  overflow-x: auto;
}

.calendar-agenda__sets table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
  table-layout: fixed;
}

.calendar-agenda__sets th,
.calendar-agenda__sets td {
  padding: 7px 4px;
  border-bottom: 1px solid #cbd5dc;
  color: var(--navy);
  text-align: center;
}

.calendar-agenda__sets thead th {
  color: #526a7b;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

.calendar-agenda__sets thead th:first-child {
  width: 38%;
  color: transparent;
  text-align: left;
}

.calendar-agenda__sets tbody th {
  text-align: left;
}

.calendar-agenda__sets tbody tr:last-child th,
.calendar-agenda__sets tbody tr:last-child td {
  border-bottom: 0;
}

.calendar-agenda__sets td {
  font-size: 16px;
}

.calendar-agenda__sets td.is-set-winner {
  color: #a9870d;
  font-weight: 900;
}

.calendar-agenda__set-team {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
}

.calendar-agenda__set-team img {
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  object-fit: contain;
}

.calendar-agenda__set-team strong {
  min-width: 0;
  color: var(--navy);
  font-size: 9px;
  line-height: 1.15;
  text-align: left;
  text-transform: uppercase;
}

.calendar-agenda__actions {
  display: flex;
  margin-top: 4px;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.calendar-agenda__actions > a {
  display: block;
  width: max-content;
  margin-left: auto;
  order: 2;
  padding-bottom: 3px;
  color: var(--navy);
  border-bottom: 2px solid var(--gold-light);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.calendar-agenda__actions > button {
  display: inline-flex;
  padding: 8px 10px;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  background: #f5f8fa;
  border: 1px solid var(--gold-light);
  border-radius: 3px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.calendar-agenda__actions > button:hover,
.calendar-agenda__actions > button:focus-visible {
  background: #fff8d8;
  box-shadow: 0 4px 12px rgba(9, 47, 80, 0.12);
  transform: translateY(-2px);
}

.calendar-agenda__actions > button span {
  font-size: 16px;
  line-height: 1;
}

.calendar-agenda__empty {
  margin: 0;
  padding: 28px;
  color: var(--muted);
  background: var(--white);
  border: 1px solid #cfdae0;
  text-align: center;
}

.calendar-note {
  padding: 22px 20px 42px;
}

.calendar-note p {
  width: min(800px, 100%);
  margin: 0 auto;
  padding-top: 18px;
  color: var(--muted);
  border-top: 1px solid var(--gold-light);
  font-size: 13px;
  text-align: center;
}

.calendar-note strong {
  color: var(--navy);
}

@media (max-width: 980px) and (min-width: 761px) {
  .menu-item__toggle {
    padding-inline: 7px;
    font-size: 11px;
  }

  .calendar-day {
    min-height: 135px;
    padding: 6px;
  }

  .calendar-event strong {
    font-size: 9px;
  }

  .calendar-layout {
    display: block;
  }

  .calendar-shell {
    width: 100%;
  }

  .calendar-downloads {
    width: 100%;
    margin-top: 24px;
  }

  .calendar-downloads__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .calendar-page main,
  .calendar-hero,
  .calendar-hero__inner,
  .calendar-section,
  .calendar-layout,
  .calendar-shell,
  .calendar-weekdays,
  .calendar-grid {
    min-width: 0;
    max-width: 100%;
  }

  .calendar-hero__inner {
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
    min-height: 0;
    padding: 28px 0 30px;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    text-align: center;
  }

  .calendar-hero__inner > div {
    min-width: 0;
  }

  .calendar-hero h1 {
    max-width: 100%;
    font-size: 40px;
    overflow-wrap: anywhere;
  }

  .calendar-hero__inner > div > span {
    width: 100%;
    margin-inline: auto;
    font-size: 14px;
    line-height: 1.4;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .calendar-download-all {
    min-width: 0;
    width: 100%;
    justify-content: center;
    text-align: left;
  }

  .calendar-section {
    width: 100vw;
    max-width: 100vw;
    padding: 28px 12px 34px;
  }

  .calendar-layout {
    display: block;
    width: 100%;
    max-width: 100%;
  }

  .calendar-shell {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
  }

  .calendar-downloads {
    position: static;
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    max-height: none;
    margin-top: 24px;
    padding: 20px 15px 16px;
    overflow: visible;
    text-align: center;
    transform: none;
  }

  .calendar-downloads > h2 {
    max-width: 290px;
    margin-inline: auto;
    margin-bottom: 17px;
  }

  .calendar-downloads__list {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .calendar-downloads__item {
    padding: 10px;
  }

  .calendar-toolbar {
    position: relative;
    display: flex;
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    width: 100%;
    max-width: 100%;
    margin-bottom: 18px;
    padding-inline: 46px;
    justify-content: center;
    gap: 8px;
  }

  .calendar-toolbar h2 {
    min-width: 0;
    font-size: 29px;
    white-space: nowrap;
  }

  .calendar-arrow {
    position: absolute;
    top: 50%;
    width: 37px;
    height: 37px;
    transform: translateY(-50%);
  }

  .calendar-arrow:first-child {
    left: 0;
  }

  .calendar-arrow:last-child {
    right: 0;
  }

  .calendar-arrow:hover,
  .calendar-arrow:focus-visible {
    transform: translateY(-50%) scale(1.07);
  }

  .calendar-legend {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .calendar-legend__item {
    width: 100%;
    padding: 7px 9px;
    justify-content: flex-start;
    font-size: 10px;
  }

  .calendar-weekdays span {
    min-width: 0;
    padding: 8px 2px;
    font-size: 9px;
  }

  .calendar-day {
    min-height: 58px;
    padding: 4px 2px;
  }

  .calendar-day__number {
    width: 25px;
    height: 25px;
    margin: 0 auto;
    font-size: 11px;
  }

  .calendar-day__events {
    display: flex;
    min-height: 8px;
    margin: 4px 2px 0;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3px;
  }

  .calendar-event {
    width: 7px;
    height: 7px;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    background: var(--competition-color);
    border: 0;
    border-radius: 50%;
    color: transparent;
  }

  .calendar-event > * {
    display: none;
  }

  .calendar-agenda {
    margin-top: 22px;
  }

  .calendar-agenda > h3 {
    font-size: 26px;
    text-align: center;
  }

  .calendar-agenda__matches {
    grid-template-columns: 1fr;
  }

  .calendar-agenda__match {
    padding: 15px 12px;
  }

  .calendar-agenda__teams {
    gap: 8px;
  }

  .calendar-agenda__teams img {
    width: 48px;
    height: 48px;
  }

  .calendar-agenda__teams strong {
    font-size: 10px;
  }

  .calendar-agenda__result {
    font-size: 30px;
  }

  .calendar-agenda__sets table {
    min-width: 300px;
  }

  .calendar-agenda__sets thead th:first-child {
    width: 42%;
  }

  .calendar-agenda__set-team img {
    width: 23px;
    height: 23px;
    flex-basis: 23px;
  }

  .calendar-agenda__set-team strong {
    font-size: 8px;
  }

  .calendar-agenda__sets th,
  .calendar-agenda__sets td {
    padding-inline: 2px;
  }

  .calendar-agenda__sets td {
    font-size: 14px;
  }

  .calendar-agenda__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .calendar-agenda__actions > a,
  .calendar-agenda__actions > button {
    align-self: center;
  }

  .calendar-agenda__actions > a {
    margin-left: 0;
  }
}

.menu-item {
  position: relative;
  min-width: 0;
}

.menu-item__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0 16px;
  color: var(--white);
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  transform: scale(1);
  transition:
    color 220ms ease,
    background-color 220ms ease,
    text-shadow 220ms ease,
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-item__toggle--multiline {
  padding-inline: 10px;
  line-height: 1.05;
  text-align: center;
}

.menu-item__toggle::after {
  position: absolute;
  right: 24%;
  bottom: 0;
  left: 24%;
  height: 3px;
  content: "";
  background: var(--gold-light);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.menu-item__chevron {
  display: inline-block;
  flex: 0 0 7px;
  width: 7px;
  min-width: 7px;
  height: 7px;
  margin-left: 7px;
  box-sizing: border-box;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms ease;
}

@media (min-width: 981px) {
  .primary-nav.is-stuck .menu-item__toggle {
    padding-inline: 10px;
    font-size: 12.5px;
  }

  .primary-nav.is-stuck .menu-item__toggle--multiline {
    padding-inline: 6px;
    font-size: 12px;
  }
}

@media (min-width: 761px) and (max-width: 980px) {
  .primary-nav.is-stuck .menu-item__toggle {
    padding-inline: 6px;
    font-size: 10.5px;
  }

  .primary-nav.is-stuck .menu-item__toggle--multiline {
    padding-inline: 4px;
    font-size: 10px;
  }
}

.menu-item:hover .menu-item__toggle,
.menu-item:focus-within .menu-item__toggle {
  background: rgba(255, 255, 255, 0.1);
}

@media (hover: hover) and (min-width: 761px) {
  .menu-item:hover .menu-item__toggle,
  .menu-item:focus-within .menu-item__toggle {
    color: var(--gold-light);
    font-weight: 900;
    text-shadow: 0 0 7px rgba(255, 235, 151, 0.28);
    transform: scale(1.045);
  }
}

.menu-item:hover .menu-item__toggle::after,
.menu-item:focus-within .menu-item__toggle::after {
  transform: scaleX(1);
}

.submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 5;
  width: max-content;
  min-width: 220px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  visibility: hidden;
  opacity: 0;
  color: var(--navy);
  background: var(--white);
  border-top: 3px solid var(--gold-light);
  box-shadow: var(--shadow);
  transform: translate(-50%, 8px);
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
}

.submenu a {
  display: block;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 650;
}

.submenu--teams {
  width: 220px;
  min-width: 220px;
}

.submenu--history {
  width: 240px;
  min-width: 240px;
}

.submenu--history a {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
}

.submenu--teams a {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
}

.submenu__club-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.submenu--activities {
  width: 250px;
  min-width: 250px;
}

.submenu--activities a {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
}

.submenu__dual-logos {
  display: grid;
  grid-template-columns: repeat(2, 26px);
  align-items: center;
  gap: 4px;
}

.submenu__dual-logos img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.submenu a:hover,
.submenu a:focus-visible {
  color: var(--sky-dark);
  background: var(--off-white);
  outline: none;
}

.menu-item:hover .submenu,
.menu-item:focus-within .submenu,
.menu-item.is-open .submenu {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
}

.hero-video {
  position: relative;
  isolation: isolate;
  z-index: 1;
  width: 100%;
  height: clamp(420px, 58svh, 560px);
  margin-bottom: 190px;
  overflow: visible;
  background: var(--navy);
  border-bottom: 3px solid var(--gold-light);
}

.hero-video__media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  background: var(--navy);
  filter: brightness(1.04) contrast(1.02) saturate(0.96) sepia(0.04);
}

.hero-video__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(244, 229, 197, 0.05);
}

.fipav-panel {
  position: absolute;
  top: 29%;
  right: auto;
  bottom: auto;
  left: 12.5%;
  z-index: 2;
  display: grid;
  width: clamp(170px, 15.5vw, 210px);
  height: clamp(84px, 8.5vw, 116px);
  overflow: hidden;
  place-items: center;
  cursor: pointer;
  transform: translate(-50%, -50%);
  animation: fipav-enter 780ms 460ms cubic-bezier(0.16, 0.82, 0.24, 1) backwards;
}

.fipav-panel:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
}

.fipav-panel img {
  --fipav-lift: -6px;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 1;
  filter: none;
  transform: translateY(var(--fipav-lift));
  transition: opacity 160ms ease, transform 160ms ease;
}

.fipav-panel:hover img,
.fipav-panel:focus-visible img {
  opacity: 1;
  filter: none;
  transform: translateY(var(--fipav-lift)) scale(1.04);
}

@keyframes fipav-enter {
  from {
    opacity: 0;
    transform: translate(calc(-50% + 64px), -50%);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.hero-news {
  position: absolute;
  right: clamp(16px, 2.4vw, 36px);
  bottom: -135px;
  z-index: 3;
  display: grid;
  grid-template-columns: 150px 42px 500px 42px 150px;
  align-items: center;
  width: min(950px, calc(100% - 32px));
  gap: 12px;
  justify-content: end;
  animation: hero-news-enter 760ms 720ms cubic-bezier(0.16, 0.82, 0.24, 1) backwards;
}

.hero-youtube {
  position: absolute;
  bottom: -124px;
  left: clamp(24px, 4vw, 64px);
  z-index: 4;
  display: grid;
  grid-template-columns: 74px minmax(0, 226px) 26px;
  width: min(360px, calc(100% - 48px));
  min-height: 106px;
  padding: 12px 0;
  align-items: center;
  color: var(--navy);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(214, 188, 89, 0.78);
  border-bottom: 1px solid rgba(214, 188, 89, 0.78);
  gap: 12px;
  transition: border-color 260ms ease, filter 260ms ease, transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-youtube__icon {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
}

.hero-youtube__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(1.06) saturate(1.08) drop-shadow(0 0 5px rgba(255, 255, 255, 0.76));
  transition: filter 260ms ease, transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-youtube__copy {
  display: grid;
  gap: 4px;
}

.hero-youtube__copy small {
  color: #967b17;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-youtube__copy strong {
  font-size: 17px;
  line-height: 1.17;
  text-transform: uppercase;
}

.hero-youtube__arrow {
  color: var(--navy);
  font-size: 22px;
  line-height: 1;
  transition: transform 260ms ease;
}

.hero-youtube:hover,
.hero-youtube:focus-visible {
  border-color: var(--gold-light);
  outline: none;
  filter: brightness(1.06) drop-shadow(0 5px 12px rgba(6, 42, 67, 0.14));
  transform: translateY(-3px);
}

.hero-youtube:hover .hero-youtube__icon img,
.hero-youtube:focus-visible .hero-youtube__icon img {
  filter: brightness(1.18) saturate(1.12) drop-shadow(0 0 9px rgba(255, 255, 255, 0.96));
  transform: scale(1.08);
}

.hero-youtube:hover .hero-youtube__arrow,
.hero-youtube:focus-visible .hero-youtube__arrow {
  transform: translateX(5px);
}

.hero-news__heading {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  align-self: center;
  justify-items: end;
  margin: 0;
  color: var(--navy);
  line-height: 0.92;
  text-align: right;
  filter: brightness(1.08) drop-shadow(0 0 7px rgba(214, 188, 89, 0.46));
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.96), 0 0 12px rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  transform: translate(50px, 58px);
  transition: transform 760ms cubic-bezier(0.22, 1, 0.36, 1), filter 560ms ease;
}

.hero-news__heading span {
  color: #967b17;
  font-size: 18px;
  font-weight: 800;
}

.hero-news__heading strong {
  font-size: 38px;
  font-weight: 900;
}

.hero-news__viewport {
  position: relative;
  z-index: 2;
  grid-column: 3;
  grid-row: 1;
  width: 500px;
  height: 260px;
  min-width: 0;
  overflow: visible;
}

.hero-news__viewport::-webkit-scrollbar {
  display: none;
}

.hero-news__viewport:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}

.hero-news__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-news__card {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: block;
  width: 500px;
  height: 260px;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  color: var(--white);
  background: var(--navy);
  border: 3px solid var(--gold-light);
  border-radius: 4px;
  box-shadow: none;
  filter: brightness(0.84) saturate(0.82);
  transform: translateX(10px) scale(0.992);
  transition:
    width 800ms cubic-bezier(0.22, 1, 0.36, 1),
    height 800ms cubic-bezier(0.22, 1, 0.36, 1),
    top 800ms cubic-bezier(0.22, 1, 0.36, 1),
    left 800ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 820ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 900ms,
    filter 900ms ease,
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 560ms ease;
}

.hero-news__card.is-active {
  z-index: 2;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  filter: brightness(1) saturate(1);
  transform: none;
  transition-delay: 0s;
}

.hero-news__image,
.hero-news__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-news__image {
  object-fit: cover;
  filter: brightness(0.7) saturate(0.76) contrast(0.92);
  transition:
    width 620ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 620ms ease,
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-news__card:not(.is-active) .hero-news__image {
  transform: scale(1.025);
}

.hero-news__shade {
  background:
    linear-gradient(
      180deg,
      rgba(4, 22, 37, 0.2) 8%,
      rgba(4, 22, 37, 0.56) 58%,
      rgba(4, 22, 37, 0.97) 100%
    ),
    linear-gradient(90deg, rgba(4, 22, 37, 0.4), rgba(4, 22, 37, 0.1) 68%);
}

.news-new-badge {
  display: block;
  object-fit: contain;
  pointer-events: none;
  animation: news-new-badge-pulse 1350ms ease-in-out infinite;
  filter:
    drop-shadow(0 0 8px rgba(255, 232, 70, 0.78))
    drop-shadow(0 0 18px rgba(255, 196, 0, 0.55))
    drop-shadow(0 8px 14px rgba(0, 0, 0, 0.3));
  transform-origin: center;
}

@keyframes news-new-badge-pulse {
  0%,
  100% {
    filter:
      drop-shadow(0 0 8px rgba(255, 232, 70, 0.72))
      drop-shadow(0 0 16px rgba(255, 196, 0, 0.48))
      drop-shadow(0 8px 14px rgba(0, 0, 0, 0.3));
    transform: scale(0.94);
  }

  50% {
    filter:
      drop-shadow(0 0 15px rgba(255, 245, 130, 0.95))
      drop-shadow(0 0 30px rgba(255, 203, 24, 0.78))
      drop-shadow(0 10px 18px rgba(0, 0, 0, 0.34));
    transform: scale(1.08);
  }
}

.hero-news__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 74px;
  height: 74px;
}

.hero-news__content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  padding: 20px 18px 16px;
  gap: 6px;
  text-shadow: 0 2px 6px rgba(1, 15, 25, 0.82);
  transition:
    right 600ms cubic-bezier(0.22, 1, 0.36, 1),
    padding 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-news__meta {
  color: #f6df84;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-news__title {
  display: -webkit-box;
  overflow: hidden;
  filter: brightness(1.08) drop-shadow(0 0 7px rgba(214, 188, 89, 0.46));
  font-size: 18px;
  line-height: 1.16;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hero-news__summary {
  display: -webkit-box;
  overflow: hidden;
  color: #e5eef2;
  font-size: 12px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hero-news__card:hover,
.hero-news__card:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: -2px;
  box-shadow: none;
  transform: none;
}

@media (hover: hover) and (min-width: 761px) {
  .hero-news:has(.hero-news__card:hover) .hero-news__nav,
  .hero-news:has(.hero-news__card:focus-visible) .hero-news__nav {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }

  .hero-news:has(.hero-news__card:hover) .hero-news__heading,
  .hero-news:has(.hero-news__card:focus-visible) .hero-news__heading {
    filter: brightness(1.12) drop-shadow(0 0 10px rgba(214, 188, 89, 0.58));
    transform: translate(-18px, 58px) scale(1.06);
  }

  .hero-news:has(.hero-news__card:hover) .hero-news__archive,
  .hero-news:has(.hero-news__card:focus-visible) .hero-news__archive {
    transform: translate(10px, 112px) scale(1.04);
  }

  .hero-news__card.is-active:hover,
  .hero-news__card.is-active:focus-visible {
    top: -30px;
    left: -70px;
    z-index: 8;
    width: 640px;
    height: 320px;
  }

  .hero-news__card:hover .hero-news__image,
  .hero-news__card:focus-visible .hero-news__image {
    right: 0;
    left: auto;
    width: 45%;
    filter: brightness(0.8) saturate(0.84) contrast(0.94);
    transform: none;
  }

  .hero-news__card:hover .hero-news__shade,
  .hero-news__card:focus-visible .hero-news__shade {
    background: linear-gradient(
      90deg,
      rgba(5, 31, 51, 0.99) 0%,
      rgba(5, 31, 51, 0.99) 51%,
      rgba(5, 31, 51, 0.9) 60%,
      rgba(5, 31, 51, 0.2) 100%
    );
  }

  .hero-news__card:hover .hero-news__content,
  .hero-news__card:focus-visible .hero-news__content {
    top: 0;
    right: 43%;
    align-content: center;
    padding: 20px 22px;
    gap: 15px;
  }

  .hero-news__card:hover .hero-news__title,
  .hero-news__card:focus-visible .hero-news__title {
    font-size: 19px;
    -webkit-line-clamp: 3;
  }

  .hero-news__card:hover .hero-news__summary,
  .hero-news__card:focus-visible .hero-news__summary {
    font-size: 13px;
    -webkit-line-clamp: 4;
  }
}

.hero-news__card:hover .hero-news__image,
.hero-news__card:focus-visible .hero-news__image {
  transform: scale(1.045);
}

.hero-news__nav {
  position: relative;
  z-index: 10;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  color: var(--white);
  background: rgba(4, 31, 51, 0.78);
  border: 1px solid rgba(214, 188, 89, 0.86);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(3, 20, 34, 0.25);
  transition: background 160ms ease, transform 160ms ease, opacity 180ms ease, visibility 180ms ease;
}

.hero-news__nav[hidden] {
  display: none;
}

.hero-news__nav--previous {
  grid-column: 2;
  grid-row: 1;
}

.hero-news__nav--next {
  grid-column: 4;
  grid-row: 1;
}

.hero-news__archive {
  grid-column: 5;
  grid-row: 1;
  display: inline-flex;
  align-self: center;
  align-items: center;
  justify-self: start;
  width: max-content;
  padding: 7px 0 5px;
  gap: 10px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.05;
  border-bottom: 2px solid var(--gold-light);
  text-transform: uppercase;
  transform: translate(-40px, 112px);
  transition: transform 760ms cubic-bezier(0.22, 1, 0.36, 1), filter 560ms ease;
}

.hero-news__archive span {
  max-width: none;
}

.hero-news__archive strong {
  display: inline-block;
  color: var(--navy);
  font-size: 22px;
  line-height: 1;
  transition: color 180ms ease, transform 180ms ease;
}

.hero-news__archive:hover strong,
.hero-news__archive:focus-visible strong {
  color: var(--sky-dark);
  transform: translateX(6px);
}

.hero-news__archive:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}

.hero-news__nav span {
  font-size: 23px;
  line-height: 1;
  transform: translateY(-1px);
}

.hero-news__nav:hover,
.hero-news__nav:focus-visible {
  color: var(--navy);
  background: var(--gold-light);
  outline: 2px solid var(--white);
  outline-offset: 2px;
  transform: scale(1.06);
}

@keyframes hero-news-enter {
  from {
    opacity: 0;
    transform: translateY(46px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.championship-ticker {
  position: sticky;
  top: var(--nav-height);
  z-index: 45;
  overflow: visible;
  margin-top: 0;
  margin-bottom: 30px;
  color: #052f50;
  background: #d8b84f;
  border-top: 2px solid #5fc4e5;
  border-bottom: 2px solid #5fc4e5;
  box-shadow: 0 5px 16px rgba(4, 31, 51, 0.18);
}

.championship-ticker__viewport {
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.championship-ticker__track {
  display: flex;
  width: auto;
  justify-content: center;
  transform: none;
  animation: none;
}

.championship-ticker__track.is-looping {
  animation: none;
}

.championship-ticker__item {
  display: flex;
  min-height: 52px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 5px 0;
  gap: 0;
}

.championship-ticker__item p {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.championship-ticker__item strong {
  font-weight: 950;
  text-transform: uppercase;
}

.championship-ticker__logos {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.championship-ticker__logos img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: brightness(1.06) saturate(1.08) drop-shadow(0 2px 4px rgba(4, 31, 51, 0.18));
}

@keyframes championship-ticker-scroll {
  from { transform: translateX(100vw); }
  to { transform: translateX(-50%); }
}

@keyframes championship-ticker-intro {
  from { transform: translateX(100vw); }
  to { transform: translateX(0); }
}

@media (max-width: 760px) {
  .championship-ticker {
    position: relative;
    top: 36px;
    z-index: 2;
    margin-top: 0;
    margin-bottom: 36px;
    border-top-width: 3px;
    border-bottom-width: 3px;
  }

  .championship-ticker__item {
    min-height: 60px;
    padding: 6px 0;
    gap: 0;
  }

  .championship-ticker__item p {
    font-size: 12px;
  }

  .championship-ticker__logos {
    gap: 8px;
  }

  .championship-ticker__logos img {
    width: 36px;
    height: 36px;
  }

  .championship-ticker__track {
    animation: none;
  }

  .championship-ticker__track.is-looping {
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .championship-ticker__viewport {
    overflow: hidden;
  }

  .championship-ticker__track {
    animation: none;
  }

}

.championships {
  overflow: hidden;
  color: var(--navy);
  background: #f1f4f6;
}

.championships__inner {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 58px 0 104px;
}

.championships__header {
  position: relative;
  display: grid;
  justify-items: center;
  margin-bottom: 42px;
  text-align: center;
  transition: opacity 720ms ease, transform 820ms cubic-bezier(0.22, 1, 0.36, 1);
}

.championships__header::before {
  position: absolute;
  top: 46px;
  right: 0;
  left: 0;
  height: 2px;
  content: "";
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(8, 164, 220, 0.5) 8%,
    rgba(214, 188, 89, 0.9) 28%,
    rgba(214, 188, 89, 0.9) 72%,
    rgba(8, 164, 220, 0.5) 92%,
    transparent 100%
  );
  box-shadow: 0 0 8px rgba(214, 188, 89, 0.24);
}

.championships__header p {
  z-index: 1;
  margin: 0 0 7px;
  color: #927816;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.championships__header h2 {
  z-index: 1;
  padding: 0 24px;
  margin: 0;
  color: #123c5e;
  font-family: "Massafra Display", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 400;
  line-height: 1;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95),
    0 0 10px rgba(214, 188, 89, 0.52),
    0 0 22px rgba(255, 255, 255, 0.68);
  text-transform: uppercase;
  background: #f1f4f6;
}

.championships__header > span {
  z-index: 1;
  width: 92px;
  height: 3px;
  margin-top: 17px;
  background: var(--gold-light);
}

.championships__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 46px 22px;
}

.next-matches-recap {
  margin-top: 72px;
  padding-top: 30px;
  border-top: 1px solid rgba(9, 47, 80, 0.13);
  transition: none;
}

.next-matches-recap__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 20px;
}

.next-matches-recap__header p {
  margin: 0 0 4px;
  color: #927816;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.next-matches-recap__header h3 {
  margin: 0;
  color: var(--navy);
  font-family: "Massafra Display", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.hero-youtube.next-matches-recap__youtube {
  position: relative;
  inset: auto;
  grid-template-columns: 46px minmax(0, 168px) 20px;
  width: 254px;
  min-height: 76px;
  padding: 7px 0;
  color: var(--navy);
  background: transparent;
  border-color: rgba(214, 188, 89, 0.78);
  backdrop-filter: none;
  gap: 9px;
}

.next-matches-recap__youtube .hero-youtube__icon {
  width: 46px;
  height: 46px;
}

.next-matches-recap__youtube .hero-youtube__copy strong {
  color: var(--navy);
  font-size: 13px;
}

.next-matches-recap__youtube .hero-youtube__arrow {
  color: var(--navy);
}

.next-matches-recap__viewport {
  overflow: visible;
}

.next-matches-recap__track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.next-match-card {
  position: relative;
  display: grid;
  grid-template-rows: 34px minmax(0, 1fr) 44px;
  min-height: 230px;
  padding: 16px 15px 17px;
  overflow: hidden;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--gold-light);
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(4, 31, 51, 0.08);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.next-match-card:hover,
.next-match-card:focus-visible {
  z-index: 5;
  border-color: var(--gold-light);
  outline: none;
  box-shadow: 0 15px 30px rgba(4, 31, 51, 0.15);
  transform: translateY(-6px) scale(1.04);
}

.next-match-card__topline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(9, 47, 80, 0.12);
}

.next-match-card__topline strong {
  color: #927816;
  font-size: 12px;
  line-height: 1.1;
  text-transform: uppercase;
}

.next-match-card__topline > span {
  justify-self: end;
  color: #617789;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
  text-align: right;
  white-space: nowrap;
}

.next-match-card__matchup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr);
  align-items: center;
  align-self: stretch;
  gap: 5px;
  padding: 10px 0 7px;
}

.next-match-card__team {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 6px;
  text-align: center;
}

.next-match-card__logo {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
}

.next-match-card__logo img {
  width: 100%;
  height: 100%;
  filter: brightness(1.06) saturate(1.08) drop-shadow(0 0 5px rgba(255, 255, 255, 0.92));
  object-fit: contain;
}

.next-match-card__team > strong {
  max-width: 190px;
  font-size: 11px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.next-match-card__versus {
  color: var(--navy);
  font-family: "Massafra Display", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 25px;
  font-style: normal;
  text-align: center;
  text-shadow: 0 0 9px rgba(8, 164, 220, 0.28);
}

.next-match-card__details {
  display: grid;
  align-content: end;
  align-self: stretch;
  justify-items: center;
  gap: 3px;
  text-align: center;
}

.next-match-card__details strong {
  color: var(--sky-dark);
  font-size: 13px;
}

.next-match-card__details i {
  color: var(--gold-dark);
  font-style: normal;
}

.next-match-card__details small {
  color: #587083;
  font-size: 12px;
}

.next-match-card--pending {
  grid-template-rows: 34px minmax(0, 1fr) 44px;
}

.next-match-card__pending-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: stretch;
  padding: 10px 0 7px;
  text-align: center;
}

.next-match-card__pending-content > img {
  width: 58px;
  height: 58px;
  filter: brightness(1.08) saturate(1.08) drop-shadow(0 0 6px rgba(255, 255, 255, 0.95));
  object-fit: contain;
}

.next-match-card__pending-content > span {
  display: grid;
  max-width: 290px;
  justify-items: center;
  gap: 4px;
}

.next-match-card__pending-content strong {
  font-size: 16px;
  line-height: 1.1;
}

.next-match-card__pending-content small {
  color: #5a7082;
  font-size: 13px;
  line-height: 1.35;
}

.next-match-card__link {
  display: flex;
  align-self: stretch;
  align-items: end;
  justify-self: end;
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.next-match-card__link b {
  display: inline-block;
  margin-left: 5px;
  color: var(--gold-dark);
  transition: transform 180ms ease;
}

.next-match-card:hover .next-match-card__link b,
.next-match-card:focus-visible .next-match-card__link b {
  transform: translateX(4px);
}

.championship-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto;
  min-width: 0;
  overflow: visible;
  color: var(--navy);
  background: linear-gradient(180deg, #ffffff 64%, #f6f9fa 100%);
  border: 1px solid rgba(9, 47, 80, 0.14);
  border-radius: 4px;
  box-shadow: 0 9px 22px rgba(4, 31, 51, 0.09);
  transition:
    opacity 720ms ease,
    transform 820ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 240ms ease,
    box-shadow 240ms ease;
}

.championship-card__media {
  position: relative;
  grid-row: 1;
  grid-column: 1;
  display: block;
  aspect-ratio: 3 / 2;
  min-height: 0;
  overflow: hidden;
  background: var(--navy);
  border-bottom: 3px solid var(--gold-light);
}

.championship-card__media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 58%, rgba(3, 26, 43, 0.18));
  pointer-events: none;
}

.championship-card__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 500ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.championship-card__placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(8, 164, 220, 0.26), transparent 56%),
    var(--navy);
  font-family: "Massafra Display", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(25px, 2.2vw, 34px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.98;
  text-align: center;
  text-transform: uppercase;
}

.championship-card--contain .championship-card__media > img {
  padding: 5px;
  object-fit: contain;
  background: #dfe8ec;
}

.championship-card__badge {
  z-index: 2;
  grid-row: 1;
  grid-column: 1;
  display: grid;
  align-self: end;
  justify-self: center;
  width: 60px;
  height: 60px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.97);
  border: 2px solid var(--gold-light);
  border-radius: 50%;
  box-shadow: 0 7px 18px rgba(4, 31, 51, 0.22);
  place-items: center;
  transform: translateY(50%);
  transition: filter 300ms ease, transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.championship-card__badge img {
  width: 100%;
  height: 100%;
  filter: brightness(1.1) saturate(1.12) drop-shadow(0 0 5px rgba(214, 188, 89, 0.34));
  object-fit: contain;
}

.championship-card > strong {
  grid-row: 2;
  grid-column: 1;
  padding: 38px 12px 19px;
  font-size: 17px;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}

.championship-card:hover,
.championship-card:focus-visible {
  z-index: 4;
  border-color: var(--gold-light);
  outline: none;
  box-shadow: 0 17px 32px rgba(4, 31, 51, 0.19);
  transform: translateY(-7px) scale(1.025);
}

.championship-card:hover .championship-card__media > img,
.championship-card:focus-visible .championship-card__media > img {
  filter: brightness(1.06) saturate(1.06);
  transform: scale(1.055);
}

.championship-card--contain:hover .championship-card__media > img,
.championship-card--contain:focus-visible .championship-card__media > img {
  transform: scale(1.02);
}

.championship-card:hover .championship-card__badge,
.championship-card:focus-visible .championship-card__badge {
  filter: brightness(1.06);
  transform: translateY(50%) scale(1.08);
}

.championships.is-ready .championships__header,
.championships.is-ready .championship-card {
  opacity: 0;
}

.championships.is-ready .championships__header {
  transform: translateY(32px) scale(1.06);
}

.championships.is-ready .championships__header.is-visible {
  opacity: 1;
  transform: none;
  animation: championship-heading-enter 820ms cubic-bezier(0.16, 0.82, 0.24, 1) backwards;
}

.championships.is-ready .championship-card.is-visible {
  opacity: 1;
  transform: none;
}

.championships.is-ready .championship-card:nth-child(4n + 1).is-visible,
.championships.is-ready .championship-card:nth-child(4n + 2).is-visible {
  animation: championship-card-enter-left 940ms cubic-bezier(0.16, 0.82, 0.24, 1) backwards;
}

.championships.is-ready .championship-card:nth-child(4n + 3).is-visible,
.championships.is-ready .championship-card:nth-child(4n + 4).is-visible {
  animation: championship-card-enter-right 940ms cubic-bezier(0.16, 0.82, 0.24, 1) backwards;
}

.championships.is-ready .championship-card:nth-child(4n + 2).is-visible {
  animation-delay: 140ms;
}

.championships.is-ready .championship-card:nth-child(4n + 3).is-visible {
  animation-delay: 280ms;
}

.championships.is-ready .championship-card:nth-child(4n + 4).is-visible {
  animation-delay: 420ms;
}

.championships.is-ready .championship-card.is-visible:hover,
.championships.is-ready .championship-card.is-visible:focus-visible {
  transform: translateY(-7px) scale(1.025);
}

.next-matches-recap.is-reveal-ready .next-matches-recap__header,
.next-matches-recap.is-reveal-ready .next-match-card {
  opacity: 1;
  animation: none;
  transition: none;
  transform: none;
}

.next-matches-recap.is-reveal-ready .next-matches-recap__header {
  transform: none;
}

.next-matches-recap.is-reveal-ready.is-visible .next-matches-recap__header {
  opacity: 1;
  transform: none;
  animation: none;
}

.next-matches-recap.is-reveal-ready.is-visible .next-match-card {
  opacity: 1;
  transform: none;
  animation: none;
  animation-delay: 0ms;
}

.next-matches-recap.is-reveal-ready.is-visible .next-match-card:nth-child(4n + 1),
.next-matches-recap.is-reveal-ready.is-visible .next-match-card:nth-child(4n + 2) {
  animation: none;
}

.next-matches-recap.is-reveal-ready.is-visible .next-match-card:nth-child(4n + 3),
.next-matches-recap.is-reveal-ready.is-visible .next-match-card:nth-child(4n + 4) {
  animation: none;
}

.next-matches-recap.is-reveal-ready.is-visible .next-match-card:hover,
.next-matches-recap.is-reveal-ready.is-visible .next-match-card:focus-visible {
  z-index: 5;
  animation: none;
  opacity: 1;
  transform: translateY(-6px) scale(1.04);
}

@keyframes championship-heading-enter {
  from {
    opacity: 0;
    transform: translateY(34px) scale(1.08);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes championship-card-enter-left {
  from {
    opacity: 0.08;
    filter: brightness(1.18);
    transform: translateX(-76px) scale(1.18);
  }

  to {
    opacity: 1;
    filter: brightness(1);
    transform: none;
  }
}

@keyframes championship-card-enter-right {
  from {
    opacity: 0.08;
    filter: brightness(1.18);
    transform: translateX(76px) scale(1.18);
  }

  to {
    opacity: 1;
    filter: brightness(1);
    transform: none;
  }
}

.match-galleries {
  color: var(--white);
  background-color: #041f33;
  background-image:
    linear-gradient(90deg, rgba(214, 188, 89, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, #041f33 0%, rgba(4, 31, 51, 0.95) 42%, rgba(4, 31, 51, 0.62) 100%),
    url("Immagini/Altro/Foto Gallery.jpg");
  background-position: 0 0, center, right center;
  background-repeat: repeat, no-repeat, no-repeat;
  background-size: 82px 100%, 100% 100%, auto 100%;
  border-top: 3px solid var(--gold-light);
  border-bottom: 3px solid var(--gold-light);
}

.match-galleries__inner {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 62px 0 68px;
}

.match-galleries__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 30px;
  gap: 24px;
}

.match-galleries__header p {
  margin: 0 0 5px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.match-galleries__header h2 {
  margin: 0;
  font-family: "Massafra Display", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.34);
}

.match-galleries__controls {
  display: flex;
  gap: 8px;
}

.match-galleries__controls[hidden] {
  display: none;
}

.match-galleries__controls button {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--white);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  place-items: center;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.match-galleries__controls button:hover,
.match-galleries__controls button:focus-visible {
  color: var(--navy);
  background: var(--gold-light);
  outline: none;
  transform: scale(1.07);
}

.match-galleries__controls span {
  font-size: 23px;
  line-height: 1;
}

.match-galleries__viewport {
  padding: 10px 12px 16px;
  margin: 0 -12px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.match-galleries__viewport::-webkit-scrollbar {
  display: none;
}

.match-galleries__track {
  display: flex;
  width: max-content;
  min-width: 100%;
  gap: 18px;
}

.match-gallery-card {
  position: relative;
  width: 390px;
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  color: var(--white);
  cursor: pointer;
  background: #082b45;
  border: 2px solid rgba(214, 188, 89, 0.82);
  border-radius: 4px;
  box-shadow: 0 15px 34px rgba(0, 0, 0, 0.26);
  scroll-snap-align: start;
  text-align: left;
  transition: border-color 260ms ease, box-shadow 260ms ease, transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
}

.match-gallery-card::after {
  position: absolute;
  inset: 0;
  z-index: 6;
  content: "";
  pointer-events: none;
  border: 2px solid var(--gold-light);
  border-radius: inherit;
  transition: border-color 240ms ease, box-shadow 240ms ease;
}

.match-gallery-card__cover,
.match-gallery-card__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.match-gallery-card__cover {
  object-fit: cover;
  transition: filter 500ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.match-gallery-card__shade {
  z-index: 1;
  background: linear-gradient(180deg, rgba(3, 26, 43, 0.1) 22%, rgba(3, 26, 43, 0.9) 100%);
}

.match-gallery-card__logo {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  display: grid;
  width: 58px;
  height: 58px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.28);
  place-items: center;
}

.match-gallery-card__logo img {
  width: 100%;
  height: 100%;
  filter: brightness(1.09) saturate(1.08) drop-shadow(0 0 4px rgba(214, 188, 89, 0.35));
  object-fit: contain;
}

.match-gallery-card__content {
  position: absolute;
  right: 18px;
  bottom: 17px;
  left: 18px;
  z-index: 4;
  display: grid;
  gap: 7px;
}

.match-gallery-card__championship {
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.match-gallery-card__title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  max-width: 290px;
  gap: 1px 6px;
  font-size: 22px;
  line-height: 1.08;
}

.gallery-team-primary {
  color: var(--white);
  text-shadow:
    0 0 7px rgba(255, 255, 255, 0.72),
    0 0 15px rgba(214, 188, 89, 0.32),
    0 2px 5px rgba(1, 17, 29, 0.62);
}

.gallery-team-separator {
  color: var(--gold-light);
  font-size: 0.72em;
}

.gallery-team-opponent {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72em;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(1, 17, 29, 0.62);
}

.match-gallery-card__count {
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.camera-mark {
  display: grid;
  width: 64px;
  height: 64px;
  color: var(--white);
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.22);
  place-items: center;
  transition: background 240ms ease, box-shadow 240ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.camera-mark > span {
  position: relative;
  display: block;
  width: 32px;
  height: 23px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.camera-mark > span::before {
  position: absolute;
  top: -7px;
  left: 6px;
  width: 14px;
  height: 6px;
  content: "";
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
}

.camera-mark > span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  content: "";
  border: 2px solid currentColor;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.match-gallery-card__camera {
  position: absolute;
  z-index: 3;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.match-gallery-card:hover,
.match-gallery-card:focus-visible {
  z-index: 2;
  border-color: #f1da78;
  outline: none;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.42), 0 0 18px rgba(214, 188, 89, 0.2);
  transform: translateY(-7px) scale(1.018);
}

.match-gallery-card:hover::after,
.match-gallery-card:focus-visible::after {
  border-color: #f5dc76;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.match-gallery-card:hover .match-gallery-card__cover,
.match-gallery-card:focus-visible .match-gallery-card__cover {
  filter: brightness(1.08) saturate(1.06);
  transform: scale(1.05);
}

.match-gallery-card:hover .match-gallery-card__camera,
.match-gallery-card:focus-visible .match-gallery-card__camera {
  background: rgba(4, 31, 51, 0.36);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.38);
  transform: translate(-50%, -50%) scale(1.08);
}

body.gallery-open {
  overflow: hidden;
}

.gallery-dialog,
.gallery-lightbox {
  padding: 0;
  color: var(--text);
  background: #eef3f6;
  border: 2px solid var(--gold-light);
  border-radius: 4px;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.54);
}

.gallery-dialog {
  width: min(1120px, calc(100% - 40px));
  max-width: none;
  max-height: 92svh;
}

.gallery-dialog::backdrop,
.gallery-lightbox::backdrop {
  background: rgba(1, 16, 28, 0.88);
  backdrop-filter: blur(5px);
}

.gallery-dialog[open] {
  animation: gallery-dialog-enter 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox.is-open {
  display: block;
  animation: gallery-lightbox-enter 260ms ease both;
}

@keyframes gallery-lightbox-enter {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes gallery-dialog-enter {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.975);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.gallery-dialog__close,
.gallery-lightbox__close,
.gallery-lightbox__download {
  position: fixed;
  z-index: 4;
  top: 18px;
  right: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--white);
  cursor: pointer;
  background: rgba(4, 31, 51, 0.9);
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  place-items: center;
}

.gallery-dialog__close span,
.gallery-lightbox__close span,
.gallery-lightbox__download span {
  font-size: 29px;
  line-height: 1;
}

.gallery-lightbox__download {
  right: 70px;
  text-decoration: none;
}

.gallery-lightbox__close:hover,
.gallery-lightbox__close:focus-visible,
.gallery-lightbox__download:hover,
.gallery-lightbox__download:focus-visible {
  color: var(--navy);
  background: var(--gold-light);
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.gallery-dialog__inner {
  overflow: hidden;
}

.gallery-dialog__header {
  display: flex;
  min-height: 116px;
  align-items: center;
  justify-content: space-between;
  padding: 25px 78px 25px 34px;
  color: var(--white);
  background: #062a45;
  border-bottom: 3px solid var(--gold-light);
  gap: 24px;
}

.gallery-dialog__header p {
  margin: 0 0 7px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.gallery-dialog__header h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  margin: 0;
  gap: 2px 10px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.05;
}

.gallery-dialog__header img {
  width: 74px;
  height: 74px;
  padding: 5px;
  filter: brightness(1.09) drop-shadow(0 0 8px rgba(255, 255, 255, 0.38));
  object-fit: contain;
}

.gallery-dialog__description {
  max-width: 920px;
  margin: 0 auto;
  padding: 28px 34px 0;
  color: #31536e;
  font-size: 17px;
  line-height: 1.65;
  text-align: center;
}

.gallery-album-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 30px 34px 36px;
  gap: 18px;
}

.gallery-album-grid[hidden] {
  display: none;
}

.gallery-album-card {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  color: var(--navy);
  cursor: pointer;
  background: #ffffff;
  border: 2px solid rgba(214, 188, 89, 0.78);
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(4, 31, 51, 0.14);
  text-align: left;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-album-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #082b45;
  border-bottom: 2px solid var(--gold-light);
}

.gallery-album-card__media > img,
.gallery-album-card__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.gallery-album-card__media > img {
  object-fit: contain;
  transition: filter 360ms ease, transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-album-card__shade {
  z-index: 1;
  background: rgba(3, 26, 43, 0.12);
  transition: background 220ms ease;
}

.gallery-album-card .camera-mark {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  transform: translate(-50%, -50%);
}

.match-gallery-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5;
  width: 72px;
  height: 72px;
}

.gallery-album-card .camera-mark > span {
  width: 27px;
  height: 20px;
}

.gallery-album-card__content {
  position: relative;
  display: grid;
  min-height: 116px;
  align-content: center;
  padding: 17px 48px 17px 18px;
  gap: 5px;
}

.gallery-album-card__content small {
  color: #927816;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.gallery-album-card__content strong {
  font-size: 19px;
  line-height: 1.08;
}

.gallery-album-card__content span {
  color: #526a78;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.gallery-album-card__content b {
  position: absolute;
  right: 17px;
  bottom: 17px;
  color: #927816;
  font-size: 24px;
  line-height: 1;
  transition: transform 220ms ease;
}

.gallery-album-card:hover,
.gallery-album-card:focus-visible {
  border-color: #d0a916;
  outline: none;
  box-shadow: 0 16px 30px rgba(4, 31, 51, 0.22);
  transform: translateY(-5px);
}

.gallery-album-card:hover .gallery-album-card__media > img,
.gallery-album-card:focus-visible .gallery-album-card__media > img {
  filter: brightness(1.07) saturate(1.05);
  transform: scale(1.025);
}

.gallery-album-card:hover .gallery-album-card__shade,
.gallery-album-card:focus-visible .gallery-album-card__shade {
  background: transparent;
}

.gallery-album-card:hover .gallery-album-card__content b,
.gallery-album-card:focus-visible .gallery-album-card__content b {
  transform: translateX(4px);
}

.gallery-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 30px 34px 36px;
  gap: 12px;
}

.gallery-photo-grid.has-profiles {
  width: min(100%, 1064px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: center;
  margin-inline: auto;
  gap: 22px;
}

.gallery-photo-profile,
.gallery-video-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(214, 188, 89, 0.72);
  border-radius: 4px;
}

.gallery-photo-profile .gallery-photo-tile {
  width: 100%;
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(135deg, rgba(8, 164, 220, 0.12), rgba(214, 188, 89, 0.12)),
    #dfe8ec;
  border: 0;
  border-bottom: 2px solid var(--gold-light);
  border-radius: 0;
  box-shadow: none;
}

.gallery-photo-profile .gallery-photo-tile img {
  object-fit: contain;
}

.gallery-media-copy {
  padding: 20px 22px 24px;
}

.gallery-media-copy h3,
.gallery-media-copy h4 {
  margin: 0 0 10px;
  color: var(--navy);
  font-family: "Massafra Display", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.05;
  text-transform: uppercase;
}

.gallery-media-copy p {
  margin: 0;
  color: #31536e;
  font-size: 15px;
  line-height: 1.6;
}

.gallery-photo-tile {
  position: relative;
  aspect-ratio: 16 / 10;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: #041f33;
  border: 2px solid rgba(9, 47, 80, 0.2);
  border-radius: 3px;
  box-shadow: 0 9px 20px rgba(4, 31, 51, 0.14);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-photo-tile img,
.gallery-photo-tile__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.gallery-photo-tile img {
  object-fit: cover;
  transition: filter 420ms ease, transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-photo-tile__shade {
  z-index: 1;
  background: rgba(3, 26, 43, 0.34);
  transition: background 260ms ease;
}

.gallery-photo-tile .camera-mark {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.gallery-photo-tile:hover,
.gallery-photo-tile:focus-visible {
  border-color: var(--gold-light);
  outline: none;
  box-shadow: 0 14px 28px rgba(4, 31, 51, 0.24);
  transform: translateY(-4px);
}

.gallery-photo-tile:hover img,
.gallery-photo-tile:focus-visible img {
  filter: brightness(1.08) saturate(1.06);
  transform: scale(1.045);
}

.gallery-photo-profile .gallery-photo-tile:hover img,
.gallery-photo-profile .gallery-photo-tile:focus-visible img {
  transform: none;
}

.gallery-photo-tile:hover .gallery-photo-tile__shade,
.gallery-photo-tile:focus-visible .gallery-photo-tile__shade {
  background: rgba(3, 26, 43, 0.12);
}

.gallery-photo-tile:hover .camera-mark,
.gallery-photo-tile:focus-visible .camera-mark {
  background: rgba(4, 31, 51, 0.34);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.42);
  transform: translate(-50%, -50%) scale(1.08);
}

.gallery-highlights {
  padding: 34px;
  color: var(--white);
  background: #041f33;
  border-top: 3px solid var(--gold-light);
}

.gallery-highlights h3 {
  margin: 0 0 20px;
  color: var(--gold-light);
  font-family: "Massafra Display", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 400;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(214, 188, 89, 0.3);
}

.gallery-video-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  align-items: start;
  gap: 24px;
}

.gallery-video-card {
  color: var(--navy);
}

.gallery-highlights video {
  display: block;
  width: 100%;
  height: min(62svh, 620px);
  background: #000000;
  border: 0;
  border-bottom: 2px solid var(--gold-light);
  object-fit: contain;
}

.gallery-highlights > video {
  width: min(100%, 920px);
  height: auto;
  max-height: 70svh;
  margin: 0 auto;
  border: 1px solid rgba(214, 188, 89, 0.55);
}

.gallery-lightbox {
  position: fixed;
  z-index: 1000;
  top: 50%;
  left: 50%;
  width: min(1320px, calc(100% - 28px));
  max-width: none;
  height: min(92svh, 940px);
  max-height: none;
  margin: 0;
  background: #021522;
  transform: translate(-50%, -50%);
}

.gallery-lightbox::before {
  position: fixed;
  z-index: -1;
  inset: -100vmax;
  content: "";
  background: rgba(1, 16, 28, 0.9);
  backdrop-filter: blur(5px);
}

.gallery-lightbox > img {
  width: 100%;
  height: 100%;
  padding: 18px 76px;
  object-fit: contain;
}

.gallery-lightbox__nav {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  color: var(--white);
  cursor: pointer;
  background: rgba(4, 31, 51, 0.84);
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  place-items: center;
  transform: translateY(-50%);
}

.gallery-lightbox__nav:hover,
.gallery-lightbox__nav:focus-visible {
  color: var(--navy);
  background: var(--gold-light);
  outline: none;
}

.gallery-lightbox__nav--previous {
  left: 18px;
}

.gallery-lightbox__nav--next {
  right: 18px;
}

.gallery-lightbox__nav span {
  font-size: 24px;
  line-height: 1;
}

.gallery-lightbox__counter {
  position: absolute;
  z-index: 3;
  bottom: 18px;
  left: 50%;
  min-width: 64px;
  padding: 7px 12px;
  margin: 0;
  color: var(--white);
  background: rgba(4, 31, 51, 0.86);
  border: 1px solid rgba(214, 188, 89, 0.72);
  border-radius: 3px;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  transform: translateX(-50%);
}

.gallery-lightbox__caption {
  position: absolute;
  z-index: 3;
  bottom: 58px;
  left: 50%;
  max-width: min(720px, calc(100% - 150px));
  padding: 9px 16px;
  margin: 0;
  color: var(--white);
  background: rgba(4, 31, 51, 0.88);
  border: 1px solid rgba(214, 188, 89, 0.82);
  border-radius: 3px;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.news-showcase {
  overflow: hidden;
  color: var(--navy);
  background: #f1f4f6;
  border-bottom: 0;
}

.news-showcase__inner {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 54px 0 20px;
}

.news-showcase__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 22px;
  gap: 24px;
}

.news-showcase__header p {
  margin: 0 0 5px;
  color: #927816;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.news-showcase__header h2 {
  margin: 0;
  font-family: "Massafra Display", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.84), 0 0 18px rgba(214, 188, 89, 0.22);
}

.news-showcase__controls {
  display: flex;
  align-items: center;
}

.news-showcase__controls {
  gap: 8px;
}

.news-showcase__controls button {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--navy);
  cursor: pointer;
  background: var(--white);
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  place-items: center;
  transition: color 180ms ease, background 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.news-showcase__controls button:hover:not(:disabled),
.news-showcase__controls button:focus-visible:not(:disabled) {
  color: var(--white);
  background: var(--navy);
  outline: none;
  transform: scale(1.06);
}

.news-showcase__controls button:disabled {
  cursor: default;
  opacity: 0.34;
}

.news-showcase__controls span {
  font-size: 22px;
  line-height: 1;
}

.news-showcase__archive,
.sponsors-showcase__more {
  display: flex;
  width: max-content;
  align-items: center;
  justify-content: center;
  padding: 4px 0 5px;
  margin: 22px auto 0;
  gap: 9px;
  color: var(--navy);
  border-bottom: 2px solid var(--gold-light);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.news-showcase__archive strong,
.sponsors-showcase__more strong {
  font-size: 21px;
  line-height: 1;
  transition: transform 180ms ease;
}

.news-showcase__archive:hover strong,
.news-showcase__archive:focus-visible strong,
.sponsors-showcase__more:hover strong,
.sponsors-showcase__more:focus-visible strong {
  transform: translateX(5px);
}

.news-showcase__archive:focus-visible,
.sponsors-showcase__more:focus-visible {
  outline: 2px solid var(--sky-dark);
  outline-offset: 5px;
}

.news-showcase__viewport {
  padding: 8px 2px 14px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.news-showcase__viewport::-webkit-scrollbar {
  display: none;
}

.news-showcase__track {
  display: grid;
  grid-auto-columns: calc((100% - 32px) / 5);
  grid-auto-flow: column;
  gap: 8px;
}

.news-showcase__card {
  display: grid;
  grid-template-rows: 130px minmax(142px, 1fr);
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(9, 47, 80, 0.14);
  border-top: 3px solid var(--gold-light);
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(4, 31, 51, 0.1);
  scroll-snap-align: start;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.news-showcase.is-reveal-ready .news-showcase__header > div:first-child {
  opacity: 0;
}

.news-showcase.is-reveal-ready .news-showcase__header.is-visible > div:first-child {
  opacity: 1;
  animation: news-heading-enter-left 1120ms cubic-bezier(0.16, 0.82, 0.24, 1) backwards;
}

.news-showcase.is-reveal-ready .news-showcase__card {
  opacity: 0;
}

.news-showcase.is-reveal-ready .news-showcase__card.is-visible {
  opacity: 1;
  animation: news-card-enter-right 1180ms var(--news-reveal-delay, 0ms) cubic-bezier(0.16, 0.82, 0.24, 1) backwards;
}

@keyframes news-heading-enter-left {
  0% {
    opacity: 0;
    filter: brightness(1.3);
    transform: translateX(-170px) scale(1.14);
  }

  68% {
    opacity: 1;
    filter: brightness(1.04);
    transform: translateX(7px) scale(0.995);
  }

  100% {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

@keyframes news-card-enter-right {
  0% {
    opacity: 0;
    filter: brightness(1.24) saturate(0.72);
    transform: translateX(190px) scale(1.1);
  }

  70% {
    opacity: 1;
    filter: brightness(1.03) saturate(0.98);
    transform: translateX(-7px) scale(0.992);
  }

  100% {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

.news-showcase__media {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  background: var(--navy);
}

.news-showcase__media > img:not(.news-new-badge) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 420ms ease, transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.news-showcase__badge {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 52px;
  height: 52px;
}

.news-showcase__content {
  display: grid;
  align-content: start;
  min-width: 0;
  padding: 12px 13px 14px;
  gap: 6px;
}

.news-showcase__meta {
  color: #927816;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.news-showcase__title {
  display: -webkit-box;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.15;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.news-showcase__summary {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.38;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-showcase__card:hover,
.news-showcase__card:focus-visible {
  border-color: var(--gold-light);
  outline: none;
  box-shadow: 0 17px 34px rgba(4, 31, 51, 0.2);
  transform: translateY(-5px);
}

.news-showcase.is-reveal-ready .news-showcase__card.is-visible:hover,
.news-showcase.is-reveal-ready .news-showcase__card.is-visible:focus-visible {
  transform: translateY(-5px);
  transition-delay: 0ms;
}

.news-showcase__card:hover .news-showcase__media > img:not(.news-new-badge),
.news-showcase__card:focus-visible .news-showcase__media > img:not(.news-new-badge) {
  filter: brightness(1.07) saturate(1.05);
  transform: scale(1.045);
}

.contact-preview {
  color: var(--navy);
  background: #f1f4f6;
  border-top: 0;
}

.contact-preview__header::before {
  position: absolute;
  z-index: 0;
  top: 43px;
  right: 0;
  left: 0;
  height: 2px;
  content: "";
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(8, 164, 220, 0.5) 8%,
    rgba(214, 188, 89, 0.9) 28%,
    rgba(214, 188, 89, 0.9) 72%,
    rgba(8, 164, 220, 0.5) 92%,
    transparent 100%
  );
  box-shadow: 0 0 8px rgba(214, 188, 89, 0.24);
}

.contact-preview__inner {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 16px 0 54px;
}

.contact-preview__header {
  position: relative;
  display: grid;
  justify-items: center;
  margin-bottom: 28px;
  text-align: center;
}

.contact-preview__header > div {
  z-index: 1;
  padding: 0 24px;
  background: #f1f4f6;
}

.contact-preview__header > div::after {
  display: block;
  width: 84px;
  height: 3px;
  margin: 15px auto 0;
  content: "";
  background: var(--gold-light);
}

.contact-preview__header p,
.info-section__eyebrow,
.info-intro__eyebrow,
.play-callout p {
  margin: 0 0 7px;
  color: #9a7b12;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-preview__header h2 {
  margin: 0;
  font-family: "Massafra Display", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 44px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  filter: brightness(1.06) drop-shadow(0 0 7px rgba(255, 255, 255, 0.9));
}

.contact-preview__header > a {
  position: absolute;
  z-index: 2;
  top: 56px;
  right: 0;
  bottom: auto;
  display: inline-flex;
  align-items: center;
  padding: 8px 0 6px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
  border-bottom: 2px solid var(--gold-light);
  gap: 11px;
  text-transform: uppercase;
  background: #f1f4f6;
}

.contact-preview__header > a strong {
  font-size: 21px;
  transition: transform 220ms ease;
}

.contact-preview__header > a:hover strong,
.contact-preview__header > a:focus-visible strong {
  transform: translateX(6px);
}

.contact-preview__header > a:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 5px;
}

.contact-preview__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 0.95fr;
  align-items: stretch;
  gap: 22px;
}

.contact-preview__people,
.contact-preview__channels,
.contact-preview__location {
  min-width: 0;
  padding: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(7, 65, 101, 0.12);
  border-top: 3px solid var(--gold-light);
  border-radius: 6px;
}

.contact-preview__people h3,
.contact-preview__channels h3,
.contact-preview__location h3 {
  margin: 0;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.1;
}

.contact-preview__temporary {
  margin: 5px 0 18px;
  color: #667a87;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-people-list {
  display: grid;
}

.contact-person {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid rgba(7, 65, 101, 0.1);
  gap: 12px;
}

.contact-person:first-child {
  border-top: 0;
}

.contact-person > div {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.contact-person__logo {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: brightness(1.06) drop-shadow(0 0 5px rgba(255, 255, 255, 0.92));
}

.contact-person strong {
  font-size: 14px;
}

.contact-person span {
  color: #9a7b12;
  font-size: 11px;
}

.contact-person a {
  width: max-content;
  color: var(--sky-dark);
  font-size: 13px;
  font-weight: 800;
  border-bottom: 1px solid transparent;
}

.contact-person a:hover,
.contact-person a:focus-visible {
  border-bottom-color: var(--gold-light);
  outline: none;
}

.contact-preview__channels {
  display: grid;
  align-content: start;
  gap: 15px;
}

.contact-channel {
  display: grid;
  padding-top: 15px;
  border-top: 1px solid rgba(7, 65, 101, 0.11);
  gap: 9px;
}

.contact-channel > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-channel img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: brightness(1.08) drop-shadow(0 0 5px rgba(255, 255, 255, 0.92));
}

.contact-channel strong {
  font-size: 13px;
  text-transform: uppercase;
}

.contact-channel a {
  display: grid;
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--navy);
  font-size: 12px;
  line-height: 1.3;
}

.contact-channel a span {
  color: #9a7b12;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-channel a:hover,
.contact-channel a:focus-visible {
  color: var(--sky-dark);
  outline: none;
}

.contact-preview__location {
  display: grid;
  align-content: start;
  gap: 18px;
}

.contact-preview__location-heading {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
}

.location-symbol {
  position: relative;
  display: block;
  width: 25px;
  height: 25px;
  border: 3px solid var(--sky-dark);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.location-symbol::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--gold-light);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.contact-preview address,
.info-location address {
  margin-top: 7px;
  color: #536b79;
  font-size: 13px;
  font-style: normal;
  line-height: 1.45;
}

.location-map {
  position: relative;
  display: block;
  aspect-ratio: 491 / 270;
  overflow: hidden;
  background: #dce5ea;
  border: 2px solid var(--gold-light);
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(6, 42, 67, 0.14);
}

.location-map img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 500ms ease, transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.location-map iframe {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.location-map--interactive {
  z-index: 1;
  background: #dce5ea;
  transform-origin: center;
  transition:
    border-color 260ms ease,
    box-shadow 420ms ease,
    transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
}

.location-map--interactive:hover,
.location-map--interactive:focus-within,
.location-map--interactive:has(iframe:hover),
.location-map--interactive.is-map-hovered {
  z-index: 5;
  border-color: #f0d86e;
  box-shadow: 0 18px 38px rgba(6, 42, 67, 0.24), 0 0 16px rgba(214, 188, 89, 0.24);
  transform: scale(1.045);
}

.location-map:hover img,
.location-map:focus-visible img {
  filter: brightness(1.05) saturate(1.08);
  transform: scale(1.09);
}

.location-map:focus-visible {
  outline: 3px solid var(--sky-dark);
  outline-offset: 4px;
}

.play-callout {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding: 18px 26px;
  color: var(--white);
  background: #06304c;
  border-left: 5px solid var(--gold-light);
  gap: 28px;
}

.play-callout p { color: var(--gold-light); }

.play-callout h3 {
  max-width: 720px;
  margin: 0;
  font-size: 24px;
  line-height: 1.1;
}

.play-callout > a {
  display: grid;
  min-width: 205px;
  padding: 10px 16px;
  color: var(--navy);
  background: var(--gold-light);
  border: 2px solid var(--gold-light);
  border-radius: 4px;
  gap: 3px;
  text-align: center;
  transition: background 220ms ease, color 220ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.play-callout > a span {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.play-callout > a strong { font-size: 15px; }

.play-callout > a:hover,
.play-callout > a:focus-visible {
  color: var(--white);
  background: transparent;
  outline: none;
  transform: translateY(-3px);
}

body.is-info-reveal-ready [data-info-reveal] {
  opacity: 0;
  transform: translateY(-58px) scale(1.025);
}

body.is-info-reveal-ready [data-info-reveal].is-visible {
  opacity: 1;
  transform: none;
  animation: info-drop-in 980ms var(--info-reveal-delay, 0ms) cubic-bezier(0.16, 0.82, 0.24, 1) backwards;
}

body.is-info-reveal-ready [data-info-reveal].location-map--interactive.is-visible:hover,
body.is-info-reveal-ready [data-info-reveal].location-map--interactive.is-visible:focus-within,
body.is-info-reveal-ready [data-info-reveal].location-map--interactive.is-visible:has(iframe:hover),
body.is-info-reveal-ready [data-info-reveal].location-map--interactive.is-visible.is-map-hovered {
  transform: scale(1.045);
}

@keyframes info-drop-in {
  0% {
    opacity: 0;
    transform: translateY(-58px) scale(1.025);
  }

  74% {
    opacity: 1;
    transform: translateY(5px) scale(0.995);
  }

  100% {
    opacity: 1;
    transform: none;
  }
}

.info-page {
  color: var(--navy);
  background: #f1f4f6;
}

.info-main { overflow: hidden; }

.info-intro {
  min-height: 190px;
  color: var(--white);
  background:
    linear-gradient(rgba(4, 37, 59, 0.9), rgba(4, 37, 59, 0.9)),
    url("Immagini/Altro/Foto Footer.webp") center 46% / cover no-repeat;
  border-bottom: 3px solid var(--gold-light);
}

.info-intro__inner {
  display: grid;
  width: min(1120px, calc(100% - 48px));
  min-height: 190px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  align-items: center;
  margin: 0 auto;
  padding: 28px 0;
  gap: 64px;
}

.info-intro__eyebrow { color: var(--gold-light); }

.info-intro__copy {
  min-width: 0;
}

.info-intro h1 {
  margin: 0;
  font-family: "Massafra Display", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 52px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.34);
}

.info-intro__copy > p:last-child {
  max-width: 620px;
  margin: 13px 0 0;
  color: #e7f0f4;
  font-size: 14px;
  line-height: 1.55;
}

.info-intro__donation {
  display: grid;
  min-width: 0;
  justify-items: end;
  padding: 8px 22px 8px 0;
  text-align: right;
  border-right: 3px solid var(--gold-light);
  gap: 5px;
}

.info-intro__donation p,
.info-intro__donation strong,
.info-intro__donation span,
.info-intro__donation b {
  margin: 0;
}

.info-intro__donation p {
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.info-intro__donation strong {
  max-width: 360px;
  color: var(--white);
  font-size: 20px;
  line-height: 1.18;
}

.info-intro__donation span {
  margin-top: 4px;
  color: #dce8ed;
  font-size: 12px;
}

.info-intro__donation b {
  color: var(--gold-light);
  font-size: 16px;
  letter-spacing: 0;
}

.info-section { padding: 40px 0; }
.info-section--white { background: var(--white); }
.info-section--soft { background: #f1f4f6; }

.info-section__inner {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.info-section__header {
  display: grid;
  max-width: 760px;
  margin-bottom: 20px;
  gap: 5px;
}

.info-section__header h2 {
  margin: 0;
  font-family: "Massafra Display", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.info-section__header > p:last-child {
  margin: 5px 0 0;
  color: #5d7280;
  line-height: 1.55;
}

.info-contact-grid,
.info-channel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.info-contact-grid .contact-person {
  position: relative;
  grid-template-columns: minmax(0, 1fr);
  padding: 15px 17px;
  background: #f5f7f8;
  border: 1px solid rgba(7, 65, 101, 0.11);
  border-left: 4px solid var(--gold-light);
  border-radius: 5px;
}

.info-contact-grid .contact-person:nth-child(odd) .contact-person__logo {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: -10px;
  transform: translate(50%, -50%);
}

.info-contact-grid .contact-person:nth-child(odd) {
  z-index: 2;
}

.info-contact-grid .contact-person:nth-child(even) {
  z-index: 1;
}

.info-contact-grid .contact-person:nth-child(odd) > div {
  grid-column: auto;
  grid-row: auto;
}

.info-contact-grid .contact-person:nth-child(even) {
  grid-template-columns: minmax(0, 1fr);
  border-right: 4px solid var(--gold-light);
  border-left: 1px solid rgba(7, 65, 101, 0.11);
}

.info-contact-grid .contact-person__logo {
  width: 60px;
  height: 60px;
  filter:
    brightness(1.13)
    saturate(1.06)
    drop-shadow(0 0 3px rgba(255, 255, 255, 0.98))
    drop-shadow(0 0 9px rgba(214, 188, 89, 0.48));
}

body.is-info-reveal-ready .info-contact-grid [data-info-reveal] .contact-person__logo {
  opacity: 0;
  scale: 0.72;
}

body.is-info-reveal-ready .info-contact-grid [data-info-reveal].is-visible .contact-person__logo {
  animation: contact-logo-fade-in 920ms calc(var(--info-reveal-delay, 0ms) + 980ms) cubic-bezier(0.16, 0.82, 0.24, 1) both;
}

@keyframes contact-logo-fade-in {
  0% {
    opacity: 0;
    scale: 0.72;
  }

  62% {
    opacity: 1;
    scale: 1.045;
  }

  100% {
    opacity: 1;
    scale: 1;
  }
}
.info-contact-grid .contact-person strong { font-size: 15px; }
.info-contact-grid .contact-person span { font-size: 12px; }

.info-contact-grid .contact-person:nth-child(even) > div {
  justify-items: end;
  text-align: right;
}

@media (min-width: 981px) {
  .play-callout > div {
    min-width: 0;
  }

  .play-callout h3 {
    max-width: none;
    font-size: clamp(19px, 1.55vw, 22px);
    white-space: nowrap;
  }

  .play-callout > a {
    min-width: 185px;
  }
}

.info-contact-grid .contact-person a {
  margin-top: 3px;
  font-size: 14px;
}

.info-channel-grid { gap: 12px; }

.info-channel-grid .contact-channel {
  padding: 20px;
  background: var(--white);
  border: 1px solid rgba(7, 65, 101, 0.12);
  border-top: 3px solid var(--gold-light);
  border-radius: 5px;
  gap: 14px;
}

.info-channel-grid .contact-channel img {
  width: 46px;
  height: 46px;
}

.info-channel-grid .contact-channel > div,
.contact-preview__channels .contact-channel > div {
  justify-content: center;
  text-align: center;
}

.info-channel-grid .contact-channel a,
.contact-preview__channels .contact-channel a {
  justify-items: center;
  text-align: center;
}

.info-channel-grid .contact-channel strong { font-size: 15px; }
.info-channel-grid .contact-channel a { font-size: 13px; }

.info-documents {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.info-document {
  display: grid;
  grid-template-rows: 48px 42px auto;
  min-height: 172px;
  align-content: start;
  gap: 12px;
  padding: 22px;
  color: var(--navy);
  background:
    linear-gradient(145deg, rgba(8, 164, 220, 0.1), transparent 54%),
    #f7f9fb;
  border: 1px solid rgba(8, 54, 84, 0.12);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(5, 34, 55, 0.08);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.info-document span {
  display: grid;
  width: 48px;
  height: 48px;
  color: var(--white);
  background: var(--navy);
  border: 2px solid var(--gold-light);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  place-items: center;
}

.info-document strong {
  font-size: 17px;
  line-height: 1.18;
  text-transform: uppercase;
}

.info-document small {
  color: #526a78;
  font-size: 13px;
  line-height: 1.45;
}

.info-document:hover,
.info-document:focus-visible {
  border-color: rgba(214, 188, 89, 0.85);
  box-shadow: 0 18px 36px rgba(5, 34, 55, 0.14);
  outline: none;
  transform: translateY(-4px);
}

.info-location {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(420px, 1.22fr);
  align-items: center;
  gap: 28px;
}

.info-location h2,
.info-video h2 {
  margin: 0;
  font-family: "Massafra Display", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.info-video h2 {
  max-width: 100%;
  color: var(--gold-light);
  font-size: 40px;
  filter: brightness(1.06) drop-shadow(0 0 7px rgba(214, 188, 89, 0.28));
  overflow-wrap: anywhere;
}

.info-location address {
  margin: 14px 0 20px;
  color: #526a78;
  font-size: 15px;
}

.info-location__directions {
  display: inline-flex;
  align-items: center;
  padding: 9px 0 6px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
  border-bottom: 2px solid var(--gold-light);
  gap: 10px;
  text-transform: uppercase;
}

.info-location__directions strong {
  font-size: 21px;
  transition: transform 220ms ease;
}

.info-location__directions:hover strong,
.info-location__directions:focus-visible strong { transform: translateX(6px); }

.info-location__directions:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}

.info-location .location-map { border-width: 3px; }

.info-video {
  position: relative;
  color: var(--white);
  background:
    linear-gradient(rgba(3, 35, 56, 0.9), rgba(3, 35, 56, 0.9)),
    url("Immagini/Altro/Palasporting.jpeg") center / cover no-repeat;
  border-top: 0;
  border-bottom: 3px solid var(--gold-light);
}

.info-video::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1120px, calc(100% - 48px));
  height: 2px;
  content: "";
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(8, 164, 220, 0.52) 8%,
    rgba(214, 188, 89, 0.92) 28%,
    rgba(214, 188, 89, 0.92) 72%,
    rgba(8, 164, 220, 0.52) 92%,
    transparent 100%
  );
  box-shadow: 0 0 9px rgba(214, 188, 89, 0.28);
  transform: translateX(-50%);
}

.info-video::after {
  position: absolute;
  top: -5px;
  left: 50%;
  width: 12px;
  height: 12px;
  content: "";
  background: var(--gold-light);
  border: 2px solid #f1f4f6;
  box-shadow: 0 0 10px rgba(214, 188, 89, 0.58);
  transform: translateX(-50%) rotate(45deg);
}

.info-video__inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(480px, 1.28fr);
  width: min(1120px, calc(100% - 48px));
  align-items: center;
  margin: 0 auto;
  padding: 42px 0;
  gap: 30px;
}

.info-video p {
  max-width: 430px;
  margin: 12px 0 0;
  color: #d8e6ed;
  font-size: 14px;
  line-height: 1.5;
}

.info-video .info-section__eyebrow {
  margin: 0 0 7px;
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
}

.info-video__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #031b2d;
  border: 3px solid var(--gold-light);
  border-radius: 5px;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.34);
}

.info-video__frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.info-video__expand {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--white);
  cursor: pointer;
  background: rgba(4, 31, 51, 0.82);
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  font-size: 22px;
  place-items: center;
}

.info-video__expand:hover,
.info-video__expand:focus-visible {
  color: var(--navy);
  background: var(--gold-light);
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.info-page .play-callout {
  width: min(1120px, calc(100% - 48px));
  margin: 32px auto;
}

.follow-us {
  position: relative;
  isolation: isolate;
  min-height: 280px;
  overflow: hidden;
  color: var(--white);
  background: #061f34;
  border-top: 3px solid var(--gold-light);
  border-bottom: 3px solid var(--gold-light);
}

.follow-us::before,
.follow-us::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
}

.follow-us::before {
  background-image: url("Immagini/Altro/Foto Seguici Su.jpg");
  background-position: center -32px;
  background-repeat: no-repeat;
  background-size: auto 320%;
  opacity: 0.27;
  filter: grayscale(0.45) saturate(0.72);
}

.follow-us::after {
  background: rgba(4, 25, 42, 0.68);
}

.follow-us__inner {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 36px;
}

.follow-us h2 {
  margin: 0 0 26px;
  color: var(--gold-light);
  font-size: clamp(25px, 2.6vw, 34px);
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
}

.follow-us h2::after {
  display: block;
  width: 72px;
  height: 3px;
  margin: 11px auto 0;
  content: "";
  background: var(--gold-light);
}

.follow-us__clubs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  align-items: center;
  gap: 34px;
}

.follow-us__divider {
  width: 1px;
  height: 96px;
  background: rgba(214, 188, 89, 0.78);
}

.follow-club {
  display: grid;
  justify-items: center;
  gap: 13px;
}

.follow-club__identity {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.follow-club__identity img {
  width: 52px;
  height: 52px;
  filter: brightness(1.16) saturate(1.12) drop-shadow(0 0 8px rgba(255, 255, 255, 0.36));
  object-fit: contain;
}

.follow-club__identity h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.15;
  text-transform: uppercase;
}

.follow-club__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.follow-social-link {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  padding: 7px;
  place-items: center;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(214, 188, 89, 0.72);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(1, 14, 24, 0.28);
  transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.follow-social-link img {
  width: 100%;
  height: 100%;
  filter: brightness(1.08) saturate(1.12) drop-shadow(0 0 4px rgba(255, 255, 255, 0.32));
  object-fit: contain;
}

.follow-social-link img[src*="Tiktok"] {
  width: 82%;
  height: 82%;
}

.follow-social-link:hover,
.follow-social-link:focus-visible {
  background: var(--white);
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
  box-shadow: 0 12px 24px rgba(1, 14, 24, 0.4);
  transform: translateY(-4px) scale(1.04);
}

.follow-social-link--pending {
  opacity: 0.68;
}

.sponsors-showcase {
  margin-top: 0;
  color: var(--navy);
  background: #f1f4f6;
  border-top: 26px solid #f1f4f6;
}

.sponsors-showcase__inner {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 42px 0 50px;
}

.sponsors-showcase__heading {
  display: grid;
  grid-template-columns: minmax(48px, 1fr) auto minmax(48px, 1fr);
  align-items: center;
  gap: 26px;
  margin-bottom: 34px;
}

.sponsors-showcase__heading span {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-light));
}

.sponsors-showcase__heading span:last-child {
  background: linear-gradient(90deg, var(--gold-light), transparent);
}

.sponsors-showcase h2 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.sponsors-showcase__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px 70px;
  overflow: hidden;
}

.sponsor-logo {
  position: relative;
  display: grid;
  width: min(270px, calc((100% - 140px) / 3));
  height: 110px;
  padding: 8px;
  overflow: hidden;
  place-items: center;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.sponsor-logo img {
  position: absolute;
  inset: 8px;
  display: block;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  mix-blend-mode: normal;
  object-fit: contain;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.sponsor-logo--checker-background img {
  filter: contrast(1.85) brightness(1.04);
}

.sponsor-logo--modomec img {
  object-fit: contain;
  object-position: center;
}

.sponsor-logo--art-computer {
  background: transparent;
}

.sponsor-logo--art-computer::before {
  position: absolute;
  inset: 13px 42px 12px;
  content: "";
  background: #050505;
}

.sponsor-logo--art-computer img {
  z-index: 1;
  inset: 18px 52px 17px;
  width: calc(100% - 104px);
  height: calc(100% - 35px);
}

.sponsor-logo:hover img,
.sponsor-logo:focus-visible img {
  transform: translateY(-3px) scale(1.055);
}

.sponsor-logo--linked:focus-visible {
  outline: none;
}

.sponsors-showcase.is-reveal-ready .sponsors-showcase__heading,
.sponsors-showcase.is-reveal-ready .sponsors-showcase__more {
  opacity: 0;
}

.sponsors-showcase.is-reveal-ready .sponsor-logo {
  top: -76px;
  visibility: hidden;
}

.sponsors-showcase.is-reveal-ready .sponsors-showcase__heading.is-visible {
  opacity: 1;
  animation: sponsor-heading-enter 820ms cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.sponsors-showcase.is-reveal-ready .sponsor-logo.is-visible {
  top: 0;
  visibility: visible;
  animation: sponsor-drop-in 1050ms var(--sponsor-delay, 0ms) cubic-bezier(0.16, 0.82, 0.24, 1) backwards;
}

.sponsors-showcase.is-reveal-ready .sponsors-showcase__more.is-visible {
  opacity: 1;
  animation: sponsor-more-enter 900ms var(--sponsor-delay, 0ms) cubic-bezier(0.16, 0.82, 0.24, 1) backwards;
}

@keyframes sponsor-heading-enter {
  from {
    opacity: 0;
    transform: translateY(-28px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes sponsor-drop-in {
  0% {
    top: -76px;
    visibility: hidden;
  }

  0.01% {
    top: -76px;
    visibility: visible;
  }

  72% {
    top: 6px;
    visibility: visible;
  }

  100% {
    top: 0;
    visibility: visible;
  }
}

@keyframes sponsor-more-enter {
  from {
    opacity: 0;
    transform: translateY(-22px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.sponsor-page {
  color: var(--navy);
  background: #f1f4f6;
}

.sponsor-main {
  overflow: hidden;
}

.sponsors-showcase--page {
  border-top: 0;
  background: #f1f4f6;
}

.sponsors-showcase--page .sponsors-showcase__inner {
  padding: 58px 0 68px;
}

.sponsors-showcase--page .sponsors-showcase__heading {
  margin-bottom: 42px;
}

.sponsors-showcase--page .sponsors-showcase__heading > div {
  min-width: min(430px, 46vw);
  text-align: center;
}

.sponsors-showcase--page .sponsors-showcase__heading p,
.sponsor-application__header > p {
  margin: 0 0 8px;
  color: #927816;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.sponsors-showcase--page h1,
.sponsor-application__header h2 {
  margin: 0;
  color: var(--navy);
  font-family: "Massafra Display", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(38px, 4.6vw, 54px);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.94), 0 0 18px rgba(214, 188, 89, 0.28);
}

.sponsors-showcase--page .sponsor-logo {
  height: 124px;
}

.sponsor-application {
  position: relative;
  background: var(--white);
}

.sponsor-application::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent 3%, rgba(8, 164, 220, 0.55) 18%, rgba(214, 188, 89, 0.95) 42%, rgba(214, 188, 89, 0.95) 58%, rgba(8, 164, 220, 0.55) 82%, transparent 97%);
  box-shadow: 0 0 8px rgba(214, 188, 89, 0.24);
}

.sponsor-application__inner {
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto;
  padding: 68px 0 82px;
}

.sponsor-application__header {
  display: grid;
  max-width: 760px;
  justify-items: center;
  margin: 0 auto 38px;
  text-align: center;
}

.sponsor-application__header h2 {
  font-size: clamp(36px, 4vw, 48px);
}

.sponsor-application__header > span {
  max-width: 680px;
  margin-top: 16px;
  color: #536b79;
  font-size: 15px;
  line-height: 1.6;
}

.sponsor-form {
  width: min(900px, 100%);
  margin: 0 auto;
}

.sponsor-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
}

.sponsor-field {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.sponsor-field--wide {
  grid-column: 1 / -1;
}

.sponsor-field > span {
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

.sponsor-field > span b {
  color: #a18212;
}

.sponsor-field input,
.sponsor-field textarea,
.sponsor-field select {
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  color: var(--navy);
  background: #f6f8f9;
  border: 1px solid rgba(7, 65, 101, 0.3);
  border-radius: 4px;
  font: inherit;
  font-size: 14px;
  line-height: 1.4;
  transition: background 200ms ease, border-color 200ms ease, box-shadow 240ms ease;
}

.sponsor-field textarea {
  min-height: 150px;
  resize: vertical;
}

.sponsor-field input::placeholder,
.sponsor-field textarea::placeholder {
  color: #78909e;
  opacity: 1;
}

.sponsor-field input:hover,
.sponsor-field textarea:hover,
.sponsor-field select:hover {
  border-color: rgba(8, 129, 177, 0.58);
}

.sponsor-field input:focus,
.sponsor-field textarea:focus,
.sponsor-field select:focus {
  background: var(--white);
  border-color: var(--sky-dark);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(8, 164, 220, 0.12), 0 0 9px rgba(214, 188, 89, 0.16);
}

.sponsor-consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  margin-top: 24px;
  color: #526a78;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.55;
  gap: 11px;
}

.sponsor-consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--sky-dark);
}

.sponsor-consent input:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

.sponsor-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.sponsor-form__actions {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  gap: 20px;
}

.sponsor-form__actions button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  color: var(--white);
  cursor: pointer;
  background: var(--navy);
  border: 2px solid var(--navy);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 900;
  gap: 16px;
  text-transform: uppercase;
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease, transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.sponsor-form__actions button strong {
  color: var(--gold-light);
  font-size: 22px;
  line-height: 1;
  transition: transform 220ms ease;
}

.sponsor-form__actions button:hover,
.sponsor-form__actions button:focus-visible {
  color: var(--navy);
  background: var(--gold-light);
  border-color: var(--gold-light);
  outline: 0;
  transform: translateY(-2px);
}

.sponsor-form__actions button:hover strong,
.sponsor-form__actions button:focus-visible strong {
  color: var(--navy);
  transform: translateX(5px);
}

.sponsor-form__actions button:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.sponsor-form__actions p {
  margin: 0;
  color: #536b79;
  font-size: 12px;
  line-height: 1.45;
  text-align: right;
}

.sponsor-form__actions p.is-success {
  color: #116b45;
  font-weight: 800;
}

.sponsor-form__actions p.is-error {
  color: #a12d24;
  font-weight: 800;
}

.player-application {
  background: #eef2f5;
}

.player-application .sponsor-application__inner {
  padding-block: 58px 70px;
}

.player-application .sponsor-application__header > p {
  margin: 0 0 7px;
  color: #9b7e0f;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.player-application__form {
  padding: 30px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid #d5dee5;
  border-top: 2px solid var(--gold-light);
  border-radius: 4px;
}

@media (max-width: 620px) {
  .player-application__form {
    padding: 22px 16px;
  }
}

.staff-page {
  color: var(--navy);
  background: #eef2f4;
  overflow-x: clip;
}

.staff-main {
  overflow: hidden;
}

.staff-hero {
  position: relative;
  min-height: 270px;
  color: var(--white);
  background-color: #052b45;
  background:
    linear-gradient(90deg, rgba(5, 43, 69, 0.96) 0%, rgba(5, 43, 69, 0.9) 38%, rgba(5, 43, 69, 0.62) 68%, rgba(5, 43, 69, 0.4) 100%),
    url("Immagini/Staff/Sfondo2.jpg") center / cover no-repeat;
  border-bottom: 3px solid var(--gold-light);
}

.staff-hero__inner {
  display: grid;
  width: min(1120px, calc(100% - 48px));
  min-height: 270px;
  align-content: center;
  margin: 0 auto;
  padding: 38px 0;
}

.staff-hero__inner > p,
.staff-section__heading p {
  margin: 0 0 7px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.staff-hero h1,
.staff-section__heading h2 {
  margin: 0;
  font-family: "Massafra Display", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.staff-hero h1 {
  font-size: clamp(46px, 5.6vw, 68px);
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.2), 0 5px 18px rgba(0, 0, 0, 0.32);
}

.staff-hero__inner > span {
  max-width: 580px;
  margin-top: 14px;
  color: #e5eef2;
  font-size: 15px;
  line-height: 1.5;
}

.staff-section {
  position: relative;
  padding: 50px 0 56px;
  isolation: isolate;
}

.staff-section__inner {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.staff-section__heading {
  display: grid;
  grid-template-columns: minmax(60px, 1fr) auto minmax(60px, 1fr);
  align-items: center;
  margin: 0 auto 32px;
  gap: 24px;
  text-align: center;
}

.staff-section__heading > span {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-light));
}

.staff-section__heading > span:last-child {
  background: linear-gradient(90deg, var(--gold-light), transparent);
}

.staff-section__heading h2 {
  color: var(--navy);
  font-size: clamp(40px, 4.7vw, 58px);
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.92), 0 0 15px rgba(214, 188, 89, 0.24);
  filter: brightness(1.08) drop-shadow(0 0 7px rgba(255, 255, 255, 0.92)) drop-shadow(0 0 10px rgba(214, 188, 89, 0.3));
}

.staff-section--presidency .staff-section__heading h2,
.staff-section--management .staff-section__heading h2 {
  text-shadow:
    0 0 2px rgba(255, 255, 255, 0.82),
    0 0 7px rgba(255, 255, 255, 0.52);
  filter: brightness(1.06) drop-shadow(0 0 5px rgba(255, 255, 255, 0.58));
}

.staff-section--presidency {
  background: #eef2f4;
}

.staff-section--team {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.staff-section--council {
  background-image:
    linear-gradient(rgba(3, 34, 55, 0.91), rgba(3, 34, 55, 0.95)),
    url("Immagini/Staff/Sfondo1.jpg");
}

.staff-section--management {
  background-image:
    linear-gradient(rgba(239, 244, 246, 0.93), rgba(239, 244, 246, 0.97)),
    url("Immagini/Staff/Sfondo2.jpg");
}

.staff-section--coaches {
  background-image:
    linear-gradient(rgba(3, 34, 55, 0.9), rgba(3, 34, 55, 0.95)),
    url("Immagini/Staff/Sfondo3.jpg");
  background-position: center 36%;
}

.staff-section--council .staff-section__heading h2,
.staff-section--coaches .staff-section__heading h2 {
  color: var(--white);
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.3), 0 4px 14px rgba(0, 0, 0, 0.28);
  filter: brightness(1.02) drop-shadow(0 0 4px rgba(255, 255, 255, 0.28));
}

.staff-presidency__row {
  display: grid;
  justify-content: center;
  gap: 24px;
}

.staff-presidency__row--presidents {
  grid-template-columns: repeat(2, minmax(0, 470px));
}

.staff-presidency__row--vice {
  grid-template-columns: minmax(0, 470px);
}

.staff-presidency__label {
  width: max-content;
  margin: 34px auto 17px;
  padding-bottom: 7px;
  color: #9a7b12;
  border-bottom: 2px solid var(--gold-light);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.staff-section--council .staff-grid {
  width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-content: center;
  margin-inline: auto;
}

.staff-card {
  position: relative;
  display: grid;
  min-width: 0;
  overflow: hidden;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.96);
  border: 2px solid var(--gold-light);
  border-radius: 4px;
  box-shadow: 0 15px 32px rgba(2, 29, 47, 0.14);
  transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 360ms ease, border-color 240ms ease;
}

.staff-section--council .staff-card,
.staff-section--coaches .staff-card {
  color: var(--white);
  background: rgba(4, 39, 62, 0.92);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

.staff-card:hover,
.staff-card:focus-within {
  border-color: #efd35e;
  box-shadow: 0 22px 42px rgba(2, 29, 47, 0.24), 0 0 16px rgba(214, 188, 89, 0.18);
  transform: translateY(-7px);
}

.staff-card__portrait {
  position: relative;
  height: 250px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(9, 131, 177, 0.19), transparent 55%),
    #dfe7eb;
}

.staff-section--council .staff-card__portrait,
.staff-section--coaches .staff-card__portrait {
  background:
    linear-gradient(145deg, rgba(20, 166, 214, 0.22), rgba(7, 65, 101, 0.08) 58%),
    #0b405f;
}

.staff-card__portrait > img:not(.staff-card__watermark) {
  position: absolute;
  z-index: 1;
  inset: 8px 0 0;
  display: block;
  width: 100%;
  height: calc(100% - 8px);
  object-fit: contain;
  object-position: center bottom;
  transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1), filter 320ms ease;
}

.staff-photo--andrea {
  scale: 1.46;
  transform-origin: center 12%;
}

.staff-photo--palanga {
  scale: 1.22;
  transform-origin: center 12%;
}

.staff-photo--marisa {
  scale: 0.96;
  transform-origin: center bottom;
}

.staff-photo--antonio {
  scale: 1.23;
  transform-origin: center bottom;
}

.staff-photo--michele {
  scale: 1.18;
  transform-origin: center bottom;
}

.staff-photo--gianluca {
  scale: 0.94;
  transform-origin: center bottom;
}

.staff-photo--pino {
  scale: 1.12;
  transform-origin: center 12%;
}

.staff-photo--luca,
.staff-photo--salvi,
.staff-photo--romano,
.staff-photo--dicensi {
  scale: 0.99;
  transform-origin: center bottom;
}

.staff-photo--tagliente {
  scale: 0.99;
  transform-origin: center bottom;
}

.staff-photo--cristina {
  scale: 1.2;
  transform-origin: center bottom;
}

.staff-card:hover .staff-card__portrait > img:not(.staff-card__watermark),
.staff-card:focus-within .staff-card__portrait > img:not(.staff-card__watermark) {
  filter: brightness(1.04);
  transform: scale(1.045);
}

.staff-card__watermark {
  position: absolute;
  z-index: 0;
  top: 20px;
  left: 50%;
  width: min(72%, 165px);
  height: 165px;
  opacity: 0.28;
  object-fit: contain;
  filter: brightness(0.88) contrast(1.08) saturate(0.95) drop-shadow(0 0 6px rgba(255, 255, 255, 0.34));
  transform: translateX(-50%);
}

.staff-section--presidency .staff-card__watermark {
  opacity: 0.52;
  filter: brightness(0.54) contrast(1.24) saturate(0.9)
    drop-shadow(0 2px 5px rgba(3, 39, 65, 0.24));
}

.staff-section--presidency .staff-card__watermark--antonella {
  top: -4px;
}

.staff-section--presidency .staff-card__watermark--asd-raised {
  top: 4px;
}

.staff-card__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: 26px 70px 54px 42px minmax(0, 1fr) auto;
  min-width: 0;
  align-items: start;
  padding: 20px 18px 18px;
}

.staff-card__role {
  grid-row: 1;
  margin: 0;
  color: #a18110;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.staff-section--council .staff-card__role,
.staff-section--coaches .staff-card__role {
  color: var(--gold-light);
}

.staff-card h3 {
  grid-row: 2;
  margin: 0;
  font-family: "Massafra Display", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 0.96;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.staff-card h3 span {
  display: block;
  margin-bottom: 3px;
  font-family: inherit;
  font-size: 19px;
  color: inherit;
}

.staff-card__honorific {
  display: block;
  min-height: 10px;
  margin-bottom: 3px;
  color: #9a7b12;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.staff-card__honorific--empty {
  visibility: hidden;
}

.staff-section--council .staff-card__honorific,
.staff-section--coaches .staff-card__honorific {
  color: var(--gold-light);
}

.staff-card__birth {
  display: grid;
  grid-row: 3;
  align-content: start;
  margin: 0;
  padding-top: 10px;
  color: #526a78;
  font-size: 12px;
  line-height: 1.4;
  gap: 2px;
}

.staff-section--council .staff-card__birth,
.staff-section--coaches .staff-card__birth {
  color: #d5e2e8;
}

.staff-card__birth span {
  color: #927816;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.staff-card__club {
  display: flex;
  grid-row: 4;
  min-height: 32px;
  align-items: center;
  margin: 0;
  padding-top: 10px;
  color: inherit;
  font-size: 10px;
  font-weight: 900;
  gap: 8px;
  text-transform: uppercase;
}

.staff-card__club img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(1.08) drop-shadow(0 0 5px rgba(255, 255, 255, 0.7));
}

.staff-card__content > button {
  display: inline-flex;
  grid-row: 6;
  width: max-content;
  align-items: center;
  padding: 5px 0 4px;
  margin: 0;
  color: inherit;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--gold-light);
  border-radius: 0;
  font-size: 11px;
  font-weight: 900;
  gap: 8px;
  text-transform: uppercase;
}

.staff-card__content > button span {
  color: #a18110;
  font-size: 18px;
  transition: transform 220ms ease;
}

.staff-section--council .staff-card__content > button span,
.staff-section--coaches .staff-card__content > button span {
  color: var(--gold-light);
}

.staff-card__content > button:hover span,
.staff-card__content > button:focus-visible span {
  transform: translateX(5px);
}

.staff-card__content > button:focus-visible {
  outline: 2px solid var(--sky-dark);
  outline-offset: 4px;
}

.staff-card--featured {
  grid-template-columns: minmax(210px, 0.95fr) minmax(210px, 1.05fr);
  min-height: 330px;
}

.staff-card--featured .staff-card__portrait {
  height: 100%;
  min-height: 330px;
}

.staff-card--featured .staff-card__content {
  grid-template-rows: 26px 78px 54px 42px minmax(0, 1fr) auto;
  padding: 23px 21px;
}

.staff-section--team .staff-card {
  grid-template-rows: 250px minmax(0, 1fr);
}

.staff-card--featured h3 {
  font-size: 33px;
}

.staff-card--featured h3 span {
  font-size: 21px;
}

body.is-staff-reveal-ready .staff-reveal {
  opacity: 0;
}

body.is-staff-reveal-ready .staff-section__heading.staff-reveal.is-visible,
body.is-staff-reveal-ready .staff-presidency__label.staff-reveal.is-visible {
  opacity: 1;
  animation: news-heading-enter-left 1120ms var(--staff-delay, 0ms) cubic-bezier(0.16, 0.82, 0.24, 1) backwards;
}

body.is-staff-reveal-ready .staff-card.staff-reveal.is-visible {
  opacity: 1;
  animation: news-card-enter-right 1180ms var(--staff-delay, 0ms) cubic-bezier(0.16, 0.82, 0.24, 1) backwards;
}

.staff-section--coaches .staff-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.staff-section--coaches .staff-grid > .staff-card {
  grid-column: span 2;
}

.staff-section--coaches .staff-grid > .staff-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.staff-section--coaches .staff-grid > .staff-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.staff-section--management .staff-grid {
  width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-content: center;
  margin-inline: auto;
}

.staff-dialog {
  width: min(900px, calc(100% - 48px));
  max-height: min(680px, calc(100vh - 48px));
  padding: 0;
  overflow: hidden;
  color: var(--white);
  background: #052b45;
  border: 2px solid var(--gold-light);
  border-radius: 5px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.52);
  overscroll-behavior: contain;
  touch-action: pan-y;
}

body.is-staff-dialog-open {
  overflow: hidden;
  overscroll-behavior: none;
}

.staff-dialog[open] {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(360px, 1.12fr);
  animation: staff-dialog-enter 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.staff-dialog::backdrop {
  background: rgba(1, 18, 30, 0.82);
  backdrop-filter: blur(5px);
}

.staff-dialog__close {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  color: var(--white);
  cursor: pointer;
  background: rgba(3, 34, 55, 0.82);
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  font-size: 27px;
  line-height: 1;
}

.staff-dialog__close:hover,
.staff-dialog__close:focus-visible {
  color: var(--navy);
  background: var(--gold-light);
  outline: 0;
}

.staff-dialog__portrait {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: #082f49;
  touch-action: pan-y;
}

.staff-dialog__portrait img {
  position: absolute;
  inset: 26px 0 0;
  width: 100%;
  height: calc(100% - 26px);
  object-fit: contain;
  object-position: center bottom;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.staff-dialog__portrait .staff-photo--michele {
  scale: 1.08;
  transform-origin: center 18%;
}

@media (min-width: 761px) {
  .staff-dialog__portrait .staff-photo--michele {
    scale: 1.24;
    translate: 0 4.5%;
    transform-origin: center 30%;
    object-position: center center;
  }
}

.staff-dialog__portrait .staff-photo--palanga {
  scale: 1;
}

.staff-dialog__portrait .staff-photo--pino {
  scale: 0.96;
  transform-origin: center bottom;
}

.staff-dialog__content {
  display: grid;
  min-height: 0;
  max-height: min(680px, calc(100vh - 48px));
  align-content: start;
  padding: 58px 52px 52px;
  overflow-y: auto;
}

.staff-dialog__content > p:first-child {
  margin: 0 0 10px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.staff-dialog__honorific {
  margin: 4px 0 6px;
  color: var(--gold-light);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.staff-dialog h2 {
  margin: 0;
  font-family: "Massafra Display", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(40px, 5vw, 58px);
  font-weight: 400;
  line-height: 0.96;
  text-transform: uppercase;
}

.staff-dialog__meta {
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
  color: #d9e5ea;
  font-size: 12px;
  gap: 8px 18px;
}

.staff-dialog__meta span:not([hidden]) + span::before {
  margin-right: 18px;
  color: var(--gold-light);
  content: "|";
}

.staff-dialog__bio {
  margin: 28px 0 0;
  color: #e6eef2;
  font-size: 15px;
  line-height: 1.7;
}

.staff-dialog__bio p {
  margin: 0;
}

.staff-dialog__bio p + p {
  margin-top: 16px;
}

@keyframes staff-dialog-enter {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1050px) {
  .staff-section--council .staff-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .staff-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .staff-card__portrait {
    height: 300px;
  }

  .staff-section--team .staff-card {
    grid-template-rows: 300px minmax(0, 1fr);
  }

  .staff-presidency__row--presidents {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .staff-card--featured {
    grid-template-columns: 1fr;
  }

  .staff-card--featured .staff-card__portrait {
    height: 330px;
    min-height: 330px;
  }

  .staff-section--coaches .staff-grid,
  .staff-section--management .staff-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .staff-section--coaches .staff-grid > .staff-card,
  .staff-section--coaches .staff-grid > .staff-card:nth-child(4),
  .staff-section--management .staff-grid > .staff-card,
  .staff-section--management .staff-grid > .staff-card:nth-child(4) {
    grid-column: auto;
    width: auto;
  }

  .staff-section--coaches .staff-grid > .staff-card:nth-child(5),
  .staff-section--management .staff-grid > .staff-card:nth-child(5) {
    grid-column: 1 / -1;
    width: calc(50% - 11px);
    justify-self: center;
  }
}

@media (max-width: 760px) {
  .staff-hero,
  .staff-hero__inner {
    min-height: 210px;
  }

  .staff-hero {
    background:
      linear-gradient(90deg, rgba(5, 43, 69, 0.96) 0%, rgba(5, 43, 69, 0.88) 48%, rgba(5, 43, 69, 0.56) 100%),
      url("Immagini/Staff/Sfondo2.jpg") center / cover no-repeat;
  }

  .staff-hero__inner,
  .staff-section__inner {
    width: min(100% - 32px, 560px);
  }

  .staff-hero h1 {
    font-size: 48px;
  }

  .staff-section {
    padding: 42px 0 48px;
  }

  .staff-section__heading {
    grid-template-columns: minmax(22px, 1fr) auto minmax(22px, 1fr);
    margin-bottom: 26px;
    gap: 14px;
  }

  .staff-section__heading h2 {
    font-size: 42px;
  }

  .staff-presidency__row--presidents {
    grid-template-columns: 1fr;
  }

  .staff-presidency__row--vice {
    grid-template-columns: minmax(0, 1fr);
  }

  .staff-card--featured {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    min-height: 330px;
  }

  .staff-card--featured .staff-card__portrait {
    height: 100%;
    min-height: 330px;
  }

  .staff-card--featured .staff-card__content {
    padding: 22px 18px;
  }

  .staff-card--featured h3 {
    font-size: 31px;
  }

  .staff-dialog {
    width: min(100% - 24px, 560px);
    max-height: calc(100vh - 24px);
    overflow-y: auto;
  }

  .staff-dialog[open] {
    grid-template-columns: 1fr;
  }

  .staff-dialog__portrait {
    min-height: 260px;
  }

  .staff-dialog__portrait img {
    inset: 12px 0 0;
    height: calc(100% - 12px);
  }

  .staff-dialog__content {
    padding: 34px 26px 36px;
    max-height: none;
    overflow: visible;
  }

  .staff-dialog h2 {
    font-size: 42px;
  }

  .staff-dialog__bio {
    margin-top: 22px;
    font-size: 14px;
  }
}

@media (max-width: 580px) {
  .staff-card--featured .staff-photo--michele {
    scale: 1.12;
    transform-origin: center 20%;
  }

  .staff-section--council .staff-grid {
    grid-template-columns: 1fr;
  }

  .staff-grid {
    grid-template-columns: 1fr;
  }

  .staff-card__portrait {
    height: 330px;
  }

  .staff-section--team .staff-card {
    grid-template-rows: 330px minmax(0, 1fr);
  }

  .staff-card--featured {
    grid-template-columns: 1fr;
  }

  .staff-card--featured .staff-card__portrait {
    height: 300px;
    min-height: 300px;
  }

  .staff-card--featured .staff-card__content {
    min-height: 245px;
  }

  .staff-presidency__label {
    margin-top: 30px;
  }

  .staff-section--coaches .staff-grid,
  .staff-section--management .staff-grid {
    grid-template-columns: 1fr;
  }

  .staff-section--coaches .staff-grid > .staff-card,
  .staff-section--coaches .staff-grid > .staff-card:nth-child(4),
  .staff-section--coaches .staff-grid > .staff-card:nth-child(5),
  .staff-section--management .staff-grid > .staff-card,
  .staff-section--management .staff-grid > .staff-card:nth-child(4),
  .staff-section--management .staff-grid > .staff-card:nth-child(5) {
    grid-column: auto;
    width: 100%;
  }
}

.news-page {
  background: var(--off-white);
}

/* Structures */
.structure-page {
  overflow-x: clip;
  background: #eef3f6;
}

.structure-page *,
.structure-page *::before,
.structure-page *::after {
  box-sizing: border-box;
}

.structure-hero {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(3, 38, 61, 0.94), rgba(3, 52, 82, 0.82)),
    url("Immagini/Struttura/Palazzetto Copertina.jpg") center 54% / cover no-repeat;
  border-bottom: 3px solid var(--gold-light);
}

.structure-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: min(1180px, calc(100% - 40px));
  min-height: 230px;
  align-items: center;
  gap: 42px;
  margin: 0 auto;
  padding: 38px 0;
}

.structure-hero__copy > p {
  margin: 0 0 6px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.structure-hero h1 {
  margin: 0;
  font-family: "Massafra Display", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(52px, 6vw, 78px);
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.34);
}

.structure-hero__copy > span {
  display: block;
  max-width: 720px;
  margin-top: 14px;
  color: #e9f1f5;
  font-size: 16px;
  line-height: 1.55;
}

.structure-hero__logos {
  display: flex;
  min-width: 238px;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}

.structure-hero__logos img {
  width: 104px;
  height: 112px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 7px rgba(255, 255, 255, 0.9))
    drop-shadow(0 0 12px rgba(80, 199, 240, 0.38));
}

.structure-section {
  padding: 58px 0 76px;
}

.structure-section__inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.structure-picker {
  position: relative;
  height: 390px;
}

.structure-choice {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(50% - 10px);
  height: 360px;
  padding: 0;
  overflow: hidden;
  color: var(--white);
  cursor: pointer;
  background: var(--navy);
  border: 2px solid var(--gold-light);
  border-radius: 3px;
  box-shadow: 0 18px 38px rgba(4, 35, 56, 0.2);
  transition:
    left 820ms cubic-bezier(0.16, 0.82, 0.24, 1),
    width 820ms cubic-bezier(0.16, 0.82, 0.24, 1),
    opacity 520ms ease,
    transform 820ms cubic-bezier(0.16, 0.82, 0.24, 1),
    box-shadow 320ms ease;
}

.structure-choice--right {
  left: calc(50% + 10px);
}

.structure-choice > img,
.structure-choice__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.structure-choice > img {
  object-fit: cover;
  transition: transform 900ms cubic-bezier(0.16, 0.82, 0.24, 1), filter 420ms ease;
}

.structure-choice__shade {
  background: linear-gradient(180deg, rgba(2, 29, 47, 0.08) 20%, rgba(2, 29, 47, 0.92) 100%);
}

.structure-choice__copy {
  position: absolute;
  right: 28px;
  bottom: 26px;
  left: 28px;
  z-index: 1;
  display: grid;
  justify-items: start;
  text-align: left;
}

.structure-choice__copy small {
  color: var(--gold-light);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.structure-choice__copy strong {
  margin-top: 3px;
  font-family: "Massafra Display", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
}

.structure-choice__no-break {
  white-space: nowrap;
}

.structure-choice__copy em {
  margin-top: 13px;
  padding-bottom: 5px;
  color: var(--white);
  border-bottom: 2px solid var(--gold-light);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.structure-choice:hover,
.structure-choice:focus-visible {
  box-shadow: 0 24px 48px rgba(4, 35, 56, 0.28);
  outline: 0;
}

.structure-choice:hover > img,
.structure-choice:focus-visible > img {
  filter: brightness(1.06);
  transform: scale(1.045);
}

.structure-picker.is-focused .structure-choice.is-selected {
  left: 50%;
  width: min(68%, 700px);
  z-index: 2;
  transform: translateX(-50%);
}

.structure-picker.is-focused .structure-choice.is-muted {
  opacity: 0;
  pointer-events: none;
}

.structure-picker.is-focused .structure-choice--left.is-muted {
  transform: translateX(-80px) scale(0.94);
}

.structure-picker.is-focused .structure-choice--right.is-muted {
  transform: translateX(80px) scale(0.94);
}

.structure-switcher {
  display: flex;
  justify-content: center;
  margin: -2px 0 34px;
  gap: 0;
}

.structure-switcher[hidden] {
  display: none;
}

.structure-switcher button {
  min-width: 190px;
  padding: 12px 18px;
  color: var(--navy);
  cursor: pointer;
  background: var(--white);
  border: 1px solid #b9cad3;
  border-radius: 0;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.structure-switcher button + button {
  border-left: 0;
}

.structure-switcher button.is-active {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: inset 0 -3px var(--gold-light);
}

.structure-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  min-height: 470px;
  overflow: hidden;
  background: var(--white);
  border-top: 3px solid var(--gold-light);
  box-shadow: 0 18px 42px rgba(3, 34, 55, 0.14);
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 760ms ease, transform 920ms cubic-bezier(0.16, 0.82, 0.24, 1);
}

.structure-detail[hidden] {
  display: none;
}

.structure-detail.is-visible {
  opacity: 1;
  transform: none;
}

.structure-detail__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
}

.structure-detail__copy > p:first-child {
  margin: 0 0 7px;
  color: #9a7b12;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.structure-detail h2 {
  margin: 0;
  color: var(--navy);
  font-family: "Massafra Display", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(42px, 5vw, 62px);
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
}

.structure-detail__copy > p:nth-of-type(2) {
  margin: 20px 0 0;
  color: #425e6f;
  font-size: 15px;
  line-height: 1.7;
}

.structure-detail__facts {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  align-items: start;
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid #d4dfe5;
  gap: 9px 10px;
}

.structure-detail__facts dt {
  color: #9a7b12;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.35;
  text-transform: uppercase;
}

.structure-detail__facts dd {
  margin: 0;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.structure-detail__directions {
  display: inline-flex;
  width: max-content;
  align-items: center;
  margin-top: 28px;
  padding-bottom: 6px;
  color: var(--navy);
  border-bottom: 2px solid var(--gold-light);
  font-size: 12px;
  font-weight: 900;
  gap: 12px;
  text-transform: uppercase;
}

.structure-detail__directions strong {
  color: #a18110;
  font-size: 20px;
  transition: transform 220ms ease;
}

.structure-detail__directions:hover strong,
.structure-detail__directions:focus-visible strong {
  transform: translateX(5px);
}

.structure-gallery {
  display: grid;
  min-width: 0;
  padding: 18px;
  background: #072f49;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 12px;
}

.structure-gallery__main {
  position: relative;
  min-height: 400px;
  padding: 0;
  overflow: hidden;
  cursor: zoom-in;
  background: #041f33;
  border: 1px solid var(--gold-light);
  border-radius: 2px;
}

.structure-gallery__main img {
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: cover;
  transition: opacity 620ms ease, transform 900ms cubic-bezier(0.16, 0.82, 0.24, 1);
}

.structure-gallery__main img.is-ready {
  opacity: 1;
}

.structure-gallery__main:hover img {
  transform: scale(1.035);
}

.structure-gallery__main > span {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: rgba(3, 34, 55, 0.82);
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  font-size: 20px;
}

.structure-gallery__thumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.structure-gallery__thumbs button {
  width: 76px;
  height: 54px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: #061f34;
  border: 2px solid transparent;
  border-radius: 2px;
  opacity: 0.72;
}

.structure-gallery__thumbs button.is-active {
  border-color: var(--gold-light);
  opacity: 1;
}

.structure-gallery__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.structure-lightbox {
  width: min(1100px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  overflow: hidden;
  background: #031d30;
  border: 2px solid var(--gold-light);
  border-radius: 3px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.structure-lightbox[open] {
  display: grid;
  place-items: center;
}

.structure-lightbox::backdrop {
  background: rgba(1, 17, 28, 0.88);
  backdrop-filter: blur(5px);
}

.structure-lightbox > button {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  color: var(--white);
  cursor: pointer;
  background: rgba(3, 34, 55, 0.84);
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
}

.structure-lightbox > img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 36px);
  object-fit: contain;
}

@media (max-width: 900px) {
  .structure-detail {
    grid-template-columns: 1fr;
  }

  .structure-gallery {
    min-height: 430px;
  }
}

@media (max-width: 760px) {
  .structure-hero__inner {
    grid-template-columns: 1fr;
    width: min(100% - 32px, 560px);
    min-height: 220px;
    justify-items: center;
    gap: 22px;
    text-align: center;
  }

  .structure-hero h1 {
    max-width: 100%;
    font-size: clamp(38px, 11vw, 44px);
    overflow-wrap: normal;
    text-wrap: balance;
  }

  .structure-hero__copy {
    min-width: 0;
    max-width: 100%;
  }

  .structure-hero__copy > span {
    font-size: 14px;
  }

  .structure-hero__logos {
    min-width: 0;
    justify-content: center;
    gap: 18px;
  }

  .structure-hero__logos img {
    width: 70px;
    height: 76px;
  }

  .structure-section {
    padding: 34px 0 50px;
  }

  .structure-section__inner {
    width: min(100% - 28px, 560px);
  }

  .structure-picker {
    height: 620px;
  }

  .structure-choice,
  .structure-choice--right {
    left: 0;
    width: 100%;
    height: 294px;
  }

  .structure-choice--right {
    top: 312px;
  }

  .structure-picker.is-focused {
    height: 318px;
  }

  .structure-picker.is-focused .structure-choice.is-selected {
    top: 0;
    left: 0;
    width: 100%;
    transform: none;
  }

  .structure-picker.is-focused .structure-choice.is-muted {
    transform: translateX(70px) scale(0.94);
  }

  .structure-choice__copy {
    right: 20px;
    bottom: 20px;
    left: 20px;
  }

  .structure-choice__copy strong {
    font-size: 38px;
  }

  .structure-switcher {
    margin-top: 8px;
    margin-bottom: 26px;
  }

  .structure-switcher button {
    min-width: 0;
    flex: 1;
    padding: 11px 8px;
    font-size: 10px;
  }

  .structure-detail__copy {
    padding: 34px 26px;
  }

  .structure-detail h2 {
    font-size: 42px;
  }

  .structure-detail__facts {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .structure-detail__facts dd + dt {
    margin-top: 8px;
  }

  .structure-gallery {
    min-height: 350px;
    padding: 12px;
  }

  .structure-gallery__main {
    min-height: 300px;
  }
}

.news-article__cover {
  position: relative;
  isolation: isolate;
  height: clamp(260px, 34vw, 380px);
  overflow: hidden;
  background: #061f34;
  border-bottom: 3px solid var(--gold-light);
}

.news-article__backdrop,
.news-article__cover-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.news-article__backdrop {
  z-index: -1;
  object-fit: cover;
  opacity: 0.55;
  filter: blur(20px) brightness(0.62) saturate(0.76);
  transform: scale(1.09);
}

.news-article__cover-image {
  inset: 0 36px;
  width: calc(100% - 72px);
  object-fit: cover;
  filter: brightness(0.94) contrast(0.96) saturate(0.88);
}

.news-page[data-news-slug="memorial-peppe-reale"] .news-article__cover {
  height: clamp(300px, 36vw, 440px);
}

.news-page[data-news-slug="memorial-peppe-reale"] .news-article__cover-image {
  inset: 0;
  width: 100%;
  filter: brightness(0.98) contrast(1) saturate(0.94);
}

.news-article__cover-open,
.news-article__preview-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: rgba(5, 31, 51, 0.82);
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  box-shadow: 0 7px 18px rgba(3, 20, 34, 0.28);
}

.news-article__cover-open {
  position: absolute;
  right: 22px;
  bottom: 20px;
  z-index: 2;
  cursor: pointer;
}

.news-article__cover-open span,
.news-article__preview-icon {
  font-size: 23px;
  line-height: 1;
}

.news-article__cover-open:hover,
.news-article__cover-open:focus-visible,
.news-article__preview:hover .news-article__preview-icon,
.news-article__preview:focus-visible .news-article__preview-icon {
  color: var(--navy);
  background: var(--gold-light);
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.news-article__intro {
  color: var(--white);
  background: var(--navy);
}

.news-article__intro-inner {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(260px, 300px);
  align-items: center;
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0 26px;
  gap: 10px 48px;
}

.news-article__back {
  display: inline-flex;
  align-items: center;
  margin-bottom: 2px;
  gap: 8px;
  color: #d8e7ed;
  font-size: 13px;
  font-weight: 750;
  text-transform: uppercase;
  grid-column: 1 / -1;
}

.news-article__intro-copy {
  min-width: 0;
}

.news-article__preview {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  cursor: zoom-in;
  background: #061f34;
  border: 2px solid var(--gold-light);
  border-radius: 4px;
  box-shadow: 0 16px 34px rgba(3, 20, 34, 0.3);
}

.news-article__preview img {
  width: 100%;
  height: auto;
  transition: transform 280ms ease;
}

.news-article__preview-icon {
  position: absolute;
  right: 13px;
  bottom: 13px;
  pointer-events: none;
}

.news-article__preview:hover img,
.news-article__preview:focus-visible img {
  transform: scale(1.04);
}

.news-article__preview:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
}

.news-article__back:hover,
.news-article__back:focus-visible {
  color: var(--gold-light);
  outline: none;
}

.news-article__back span {
  font-size: 19px;
}

.news-article__meta,
.news-error__eyebrow {
  margin: 0 0 10px;
  color: #f2d973;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.news-article h1,
.news-error h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.05;
}

.news-article__summary {
  max-width: 760px;
  margin: 18px 0 0;
  color: #dbe9ee;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.5;
}

.news-share {
  max-width: 760px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(217, 185, 71, 0.55);
}

.news-share__label {
  margin: 0 0 11px;
  color: #f2d973;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.news-share__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.news-share__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 7px;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  background: #f8fbfc;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 50%;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.news-share__button img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.news-share__button--copy img {
  width: 24px;
  height: 24px;
}

.news-share__button--native img {
  width: 31px;
  height: 31px;
}

.news-share__button:hover,
.news-share__button:focus-visible {
  background: var(--gold-light);
  border-color: var(--gold-light);
  outline: none;
  transform: translateY(-2px);
}

.news-share__status {
  min-height: 18px;
  margin: 8px 0 0;
  color: #dbe9ee;
  font-size: 12px;
  font-weight: 700;
}

.news-article__content-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(260px, 300px);
  align-items: start;
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  gap: 48px;
}

.news-article__body {
  width: 100%;
  min-height: 360px;
  margin: 0;
  padding: 54px 0 74px;
}

.news-article__body p {
  margin: 0 0 24px;
  color: #29465b;
  font-size: 18px;
  line-height: 1.75;
}

.news-article__body h2 {
  margin: 42px 0 16px;
  color: var(--navy);
  font-size: clamp(23px, 3vw, 31px);
  line-height: 1.18;
}

.news-article__body h2.news-article__heading--gold {
  color: var(--gold);
}

.news-article__highlight-label {
  color: var(--navy);
  font-weight: 800;
}

.news-article__figure {
  margin: 42px 0;
}

.news-article__gallery {
  margin: 34px 0 50px;
  overflow: hidden;
  background: #e6eef2;
  border: 2px solid var(--gold-light);
  border-radius: 4px;
  box-shadow: 0 16px 34px rgba(4, 31, 51, 0.16);
}

.news-article__figure img {
  width: 100%;
  max-height: 680px;
  object-fit: contain;
  background: #e5eef2;
  border-bottom: 3px solid var(--gold-light);
}

.news-article__gallery-stage {
  position: relative;
  height: clamp(340px, 62vw, 680px);
  overflow: hidden;
  background: #041f33;
  border-bottom: 3px solid var(--gold-light);
}

.news-article__gallery-main {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  cursor: zoom-in;
  background: transparent;
  border: 0;
}

.news-article__gallery-main img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.news-article__gallery-main img.is-changing {
  animation: news-gallery-image-enter 360ms ease both;
}

@keyframes news-gallery-image-enter {
  from { opacity: 0.55; transform: scale(1.015); }
  to { opacity: 1; transform: none; }
}

.news-article__gallery-main:hover img,
.news-article__gallery-main:focus-visible img {
  filter: brightness(1.04);
}

.news-article__gallery-main:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: -5px;
}

.news-article__gallery-nav {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  width: 50px;
  height: 50px;
  padding: 0;
  color: var(--white);
  cursor: pointer;
  background: rgba(4, 31, 51, 0.86);
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.3);
  place-items: center;
  transform: translateY(-50%);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.news-article__gallery-nav[hidden] {
  display: none;
}

.news-article__gallery-nav--previous {
  left: 18px;
}

.news-article__gallery-nav--next {
  right: 18px;
}

.news-article__gallery-nav:hover,
.news-article__gallery-nav:focus-visible {
  color: var(--navy);
  background: var(--gold-light);
  outline: 2px solid var(--white);
  outline-offset: 2px;
  transform: translateY(-50%) scale(1.06);
}

.news-article__gallery-nav span,
.news-article__thumbnail-nav span {
  font-size: 23px;
  line-height: 1;
}

.news-article__gallery-footer {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  padding: 11px 78px 11px 18px;
  color: var(--white);
  pointer-events: none;
  background: rgba(3, 26, 43, 0.9);
  gap: 18px;
}

.news-article__gallery-footer:not(.has-caption) {
  justify-content: flex-end;
}

.news-article__gallery-footer strong {
  font-size: 15px;
  line-height: 1.25;
}

.news-article__gallery-footer span {
  flex: 0 0 auto;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 900;
}

.news-article__thumbnails {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  padding: 14px;
  background: #f4f7f8;
  gap: 10px;
}

.news-article__thumbnails[hidden] {
  display: none;
}

.news-article__thumbnail-viewport {
  min-width: 0;
  padding: 4px 2px 7px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-color: var(--gold-light) #d8e2e7;
  scrollbar-width: thin;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
}

.news-article__thumbnail-track {
  position: relative;
  display: flex;
  width: max-content;
  gap: 10px;
}

.news-article__thumbnail {
  position: relative;
  width: 132px;
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: #092e48;
  border: 2px solid transparent;
  border-radius: 3px;
  box-shadow: 0 5px 12px rgba(4, 31, 51, 0.15);
  scroll-snap-align: center;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 220ms ease;
}

.news-article__thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transition: opacity 180ms ease, transform 300ms ease;
}

.news-article__thumbnail:hover,
.news-article__thumbnail:focus-visible,
.news-article__thumbnail.is-active {
  z-index: 1;
  border-color: var(--gold-light);
  outline: none;
  box-shadow: 0 7px 18px rgba(4, 31, 51, 0.24), 0 0 0 2px rgba(214, 188, 89, 0.18);
  transform: scale(1.045);
}

.news-article__thumbnail:hover img,
.news-article__thumbnail:focus-visible img,
.news-article__thumbnail.is-active img {
  opacity: 1;
}

.news-article__thumbnail-nav {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--white);
  cursor: pointer;
  background: var(--navy);
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  place-items: center;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.news-article__thumbnail-nav:hover,
.news-article__thumbnail-nav:focus-visible {
  color: var(--navy);
  background: var(--gold-light);
  outline: none;
  transform: scale(1.06);
}

.news-article__figure figcaption {
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.related-news {
  position: static;
  padding: 54px 0 74px;
}

.related-news h2 {
  margin: 0 0 16px;
  padding-bottom: 10px;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.2;
  border-bottom: 3px solid var(--gold-light);
}

.related-news__list {
  display: grid;
  gap: 10px;
}

.related-news__item {
  display: grid;
  grid-template-columns: 98px minmax(0, 1fr);
  min-height: 92px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid #d7e4ea;
  border-radius: 4px;
  box-shadow: 0 6px 16px rgba(9, 47, 80, 0.08);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.related-news__item img {
  width: 100%;
  height: 100%;
  min-height: 92px;
  object-fit: cover;
}

.related-news__content {
  display: grid;
  align-content: center;
  min-width: 0;
  padding: 10px 11px;
  gap: 6px;
}

.related-news__meta {
  overflow: hidden;
  color: var(--sky-dark);
  font-size: 10px;
  font-weight: 800;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.related-news__content strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--navy);
  font-size: 14px;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.related-news__item:hover,
.related-news__item:focus-visible {
  border-color: var(--gold-light);
  outline: none;
  box-shadow: 0 10px 22px rgba(9, 47, 80, 0.15);
  transform: translateY(-2px);
}

.news-error {
  min-height: 62svh;
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 90px 0;
}

.news-error h1 {
  color: var(--navy);
}

.news-error a {
  display: inline-block;
  margin-top: 18px;
  padding-bottom: 4px;
  color: var(--sky-dark);
  font-weight: 800;
  border-bottom: 2px solid var(--gold-light);
}

.news-index {
  min-height: 70svh;
  background: #f1f4f6;
}

.news-index__header {
  color: var(--white);
  background-color: #063e5f;
  background-image:
    linear-gradient(90deg, rgba(4, 56, 84, 0.86), rgba(3, 43, 67, 0.76)),
    url("Immagini/Altro/Foto Ultime News.webp");
  background-position: center, center 43%;
  background-repeat: no-repeat;
  background-size: cover;
  border-bottom: 3px solid var(--gold-light);
}

.news-index__header-inner {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 42px 0 48px;
}

.news-index__header a {
  display: inline-flex;
  align-items: center;
  margin-bottom: 28px;
  gap: 8px;
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.news-index__header a:hover,
.news-index__header a:focus-visible {
  color: var(--gold-light);
}

.news-index__header p {
  margin: 0 0 5px;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.news-index__header h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 0.98;
  text-transform: uppercase;
}

.news-index__content {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 68px;
}

.news-index__filters {
  display: flex;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 8px;
}

.news-index__filters button {
  min-height: 38px;
  padding: 8px 15px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid #cbd7df;
  border-radius: 3px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.news-index__filters button:hover,
.news-index__filters button:focus-visible {
  border-color: var(--gold-light);
  outline: none;
  transform: translateY(-1px);
}

.news-index__filters button[aria-pressed="true"] {
  color: var(--white);
  background: var(--navy);
  border-color: var(--gold-light);
  box-shadow: inset 0 -2px var(--gold-light);
}

.news-index__filter-status {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.news-index__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.news-index__empty {
  display: grid;
  grid-column: 1 / -1;
  min-height: 230px;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 38px 24px;
  color: var(--navy);
  text-align: center;
  background:
    linear-gradient(145deg, rgba(8, 164, 220, 0.08), transparent 58%),
    #f7f9fb;
  border: 1px solid rgba(8, 54, 84, 0.12);
  border-radius: 8px;
}

.news-index__empty strong {
  font-family: "Massafra Display", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.news-index__empty span {
  max-width: 560px;
  color: #526a78;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.news-index__card {
  display: grid;
  grid-template-rows: 220px 1fr;
  min-width: 0;
  overflow: hidden;
  color: var(--navy);
  background: var(--white);
  border: 2px solid transparent;
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(4, 31, 51, 0.1);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.news-index__card[hidden] {
  display: none;
}

.news-index__card.is-filtered-in {
  animation: news-filter-enter 320ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes news-filter-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.news-index__media {
  position: relative;
  display: block;
  min-height: 0;
  overflow: hidden;
  background: var(--navy);
}

.news-index__media > img:not(.news-new-badge) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.news-index__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 68px;
  height: 68px;
}

.news-index__card-content {
  display: grid;
  align-content: start;
  padding: 22px 22px 24px;
  gap: 10px;
}

.news-index__meta {
  color: #8a7116;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.news-index__title {
  font-size: 22px;
  line-height: 1.12;
}

.news-index__summary {
  color: #4a5c68;
  font-size: 14px;
  line-height: 1.5;
}

.news-index__action {
  display: flex;
  align-items: center;
  margin-top: 8px;
  gap: 8px;
  color: var(--sky-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.news-index__action span {
  transition: transform 180ms ease;
}

.news-index__card:hover,
.news-index__card:focus-visible {
  border-color: var(--gold-light);
  box-shadow: 0 15px 30px rgba(4, 31, 51, 0.18);
  outline: none;
  transform: translateY(-4px);
}

.news-index__card:hover .news-index__media > img:not(.news-new-badge),
.news-index__card:focus-visible .news-index__media > img:not(.news-new-badge) {
  transform: scale(1.045);
}

.news-index__card:hover .news-index__action span,
.news-index__card:focus-visible .news-index__action span {
  transform: translateX(4px);
}

.news-lightbox {
  width: min(1100px, calc(100% - 32px));
  max-width: none;
  height: min(90svh, 900px);
  max-height: none;
  padding: 20px;
  overflow: hidden;
  color: var(--white);
  background: #041929;
  border: 1px solid var(--gold-light);
  border-radius: 4px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.5);
}

.news-lightbox[open] {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  place-items: center;
}

.news-lightbox::backdrop {
  background: rgba(2, 14, 24, 0.88);
  backdrop-filter: blur(5px);
}

.news-lightbox img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.news-lightbox p {
  margin: 14px 50px 0;
  color: #dce9ee;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.news-lightbox__close {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  color: var(--white);
  background: rgba(4, 25, 41, 0.88);
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  cursor: pointer;
}

.news-lightbox__close span {
  font-size: 30px;
  line-height: 1;
}

.news-lightbox__close:hover,
.news-lightbox__close:focus-visible {
  color: var(--navy);
  background: var(--gold-light);
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.news-lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 50px;
  height: 50px;
  padding: 0;
  place-items: center;
  color: var(--white);
  background: rgba(4, 25, 41, 0.82);
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  cursor: pointer;
  transform: translateY(-50%);
}

.news-lightbox__nav[hidden] {
  display: none;
}

.news-lightbox__nav--previous {
  left: 18px;
}

.news-lightbox__nav--next {
  right: 18px;
}

.news-lightbox__nav span {
  font-size: 25px;
  line-height: 1;
}

.news-lightbox__nav:hover,
.news-lightbox__nav:focus-visible {
  color: var(--navy);
  background: var(--gold-light);
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.site-footer {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background-color: #064f72;
  background-image:
    linear-gradient(rgba(2, 39, 62, 0.96), rgba(2, 39, 62, 0.96)),
    url("Immagini/Altro/Foto Footer.webp");
  background-position: center, center 54%;
  background-repeat: no-repeat;
  background-size: cover, 100% auto;
  border-top: 3px solid var(--gold-light);
}

.home-page .site-footer {
  margin-top: 38px;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 32px 24px 22px;
  text-align: center;
}

.site-footer__clubs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  align-items: center;
  width: min(940px, 100%);
  gap: 30px;
}

.site-footer__club {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) 74px;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 1px 15px;
}

.site-footer__club--pallavolo {
  grid-template-columns: 74px minmax(190px, 1fr);
}

.site-footer__identity {
  display: contents;
}

.site-footer__identity img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  filter: brightness(1.18) saturate(1.14) drop-shadow(0 0 9px rgba(255, 255, 255, 0.42));
}

.site-footer__identity h2 {
  margin: 0;
  color: var(--white);
  font-size: 18px;
  line-height: 1.15;
  text-transform: uppercase;
  text-shadow: 0 2px 7px rgba(1, 24, 36, 0.5);
}

.site-footer__club--asd .site-footer__identity img {
  grid-column: 2;
  grid-row: 1 / 3;
}

.site-footer__club--asd .site-footer__identity h2 {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
}

.site-footer__club--asd .site-footer__socials {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
}

.site-footer__club--pallavolo .site-footer__identity img {
  grid-column: 1;
  grid-row: 1 / 3;
}

.site-footer__club--pallavolo .site-footer__identity h2 {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
}

.site-footer__club--pallavolo .site-footer__socials {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
}

.site-footer__divider {
  width: 1px;
  height: 82px;
  background: rgba(214, 188, 89, 0.86);
}

.site-footer__donation {
  display: grid;
  gap: 5px;
  margin: 22px 0 0;
  text-transform: none;
}

.site-footer__donation strong {
  color: var(--gold-light);
  font-size: 18px;
  line-height: 1.25;
  text-transform: uppercase;
}

.site-footer__donation span {
  color: #c9c9c9;
  font-size: 13px;
  font-weight: 600;
}

.site-footer__donation b {
  width: max-content;
  margin: 3px auto 0;
  padding-bottom: 3px;
  color: var(--white);
  font-size: 15px;
  letter-spacing: 0;
  border-bottom: 2px solid var(--gold-light);
}

.site-footer__socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.site-footer__social-link {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  padding: 4px;
  place-items: center;
  cursor: pointer;
  background: transparent;
  border: 0;
  transition: transform 200ms ease;
}

.site-footer__social-link img {
  width: 100%;
  height: 100%;
  filter: brightness(1.18) saturate(1.14) drop-shadow(0 0 5px rgba(255, 255, 255, 0.36));
  object-fit: contain;
  opacity: 1;
  transition: filter 200ms ease, opacity 200ms ease;
}

.site-footer__social-link:hover,
.site-footer__social-link:focus-visible {
  outline: none;
  transform: translateY(-3px);
}

.site-footer__social-link:hover img,
.site-footer__social-link:focus-visible img {
  filter: brightness(1.24) saturate(1.18) drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
  opacity: 1;
}

.site-footer__social-link--pending {
  opacity: 0.78;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px 17px;
  width: 100%;
  margin: 25px 0 0;
  padding-top: 17px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  text-transform: none;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.site-footer__legal span + span::before {
  margin-right: 17px;
  color: rgba(255, 255, 255, 0.42);
  content: "|";
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  max-width: min(360px, calc(100vw - 40px));
  padding: 13px 16px;
  visibility: hidden;
  opacity: 0;
  color: var(--white);
  background: var(--navy);
  border-left: 4px solid var(--gold-light);
  box-shadow: var(--shadow);
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.toast.is-visible {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .championships__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .next-matches-recap__track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .next-match-card {
    padding-right: 18px;
    padding-left: 18px;
  }

  .gallery-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-album-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-showcase__track {
    grid-auto-columns: calc((100% - 16px) / 3);
  }

  .news-index__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-article__content-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .related-news {
    position: static;
    padding: 0 0 60px;
  }

  .related-news__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1160px) {
  .hero-youtube {
    bottom: -112px;
    left: 18px;
    grid-template-columns: 52px minmax(0, 120px) 18px;
    width: 214px;
    min-height: 84px;
    gap: 7px;
  }

  .hero-youtube__icon {
    width: 52px;
    height: 52px;
  }

  .hero-youtube__copy small {
    display: none;
  }

  .hero-youtube__copy strong {
    font-size: 13px;
  }

  .hero-news {
    right: 12px;
    grid-template-columns: 105px 38px minmax(360px, 500px) 38px 105px;
    width: calc(100% - 24px);
    gap: 8px;
  }

  .hero-news__viewport {
    width: 100%;
    height: 240px;
  }

  .hero-news__card {
    width: 100%;
    height: 240px;
  }

  .hero-news__heading strong {
    font-size: 32px;
  }

  .hero-news__heading {
    transform: translate(28px, 58px);
  }

  .hero-news__archive {
    font-size: 14px;
    transform: translate(-24px, 104px);
  }

  .identity-bar {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 168px;
    padding-top: 7px;
    padding-bottom: 10px;
    row-gap: 4px;
  }

  .brand-lockup {
    grid-column: 1 / -1;
    grid-row: 1;
    width: min(620px, 100%);
    margin: 0 auto;
  }

  .club-brand__logo {
    width: 82px;
    height: 82px;
    flex-basis: 82px;
  }

  .club-brand--pallavolo .club-brand__logo {
    width: 88px;
    height: 88px;
    flex-basis: 88px;
  }

  .social-club--left {
    grid-column: 1;
    grid-row: 2;
  }

  .social-club--right {
    grid-column: 2;
    grid-row: 2;
  }

  .social-club__name {
    display: none;
  }

  .social-club--left::after,
  .social-club--right::before {
    display: none;
  }

  .submenu--right {
    right: 0;
    left: auto;
    transform: translate(0, 8px);
  }

  .menu-item:hover .submenu--right,
  .menu-item:focus-within .submenu--right,
  .menu-item.is-open .submenu--right {
    transform: translate(0, 0);
  }
}

@media (max-width: 760px) {
  :root {
    --nav-height: 48px;
  }

  html,
  body {
    overflow-x: hidden;
  }

  .site-header,
  .primary-nav,
  main,
  .site-footer {
    max-width: 100vw;
  }

  .news-index__header-inner,
  .news-index__content {
    width: min(100% - 32px, 560px);
  }

  .news-index__header-inner {
    padding: 30px 0 34px;
  }

  .news-index__header a {
    margin-bottom: 22px;
  }

  .news-index__content {
    padding: 32px 0 48px;
  }

  .news-index__grid {
    grid-template-columns: 1fr;
    min-width: 0;
    gap: 18px;
  }

  .news-index__card {
    grid-template-rows: 210px 1fr;
    width: 100%;
    max-width: 100%;
  }

  .news-index__title,
  .news-index__summary {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .championships__inner {
    width: min(100% - 32px, 560px);
    padding: 52px 0 72px;
  }

  .championships__header {
    margin-bottom: 34px;
  }

  .championships__header::before {
    top: 41px;
  }

  .championships__header h2 {
    padding: 0 14px;
    font-size: clamp(29px, 9vw, 40px);
  }

  .championships__grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .next-matches-recap {
    margin-top: 60px;
    padding-top: 25px;
  }

  .next-matches-recap__header h3 {
    font-size: 31px;
  }

  .next-matches-recap__header {
    display: grid;
    align-items: start;
    gap: 18px;
  }

  .hero-youtube.next-matches-recap__youtube {
    grid-template-columns: 46px minmax(0, 168px) 20px;
    width: min(254px, 100%);
  }

  .next-matches-recap__track {
    grid-template-columns: 1fr;
  }

  .next-match-card {
    min-height: 250px;
  }

  .championship-card__badge {
    width: 68px;
    height: 68px;
    padding: 6px;
  }

  .championship-card > strong {
    padding: 43px 16px 22px;
    font-size: 20px;
  }

  .championships.is-ready .championships__header,
  .championships.is-ready .championships__header.is-visible,
  .championships.is-ready .championship-card,
  .championships.is-ready .championship-card.is-visible {
    opacity: 1;
    animation: none;
    transform: none;
  }

  .match-galleries__inner {
    width: min(100% - 32px, 560px);
    padding: 48px 0 52px;
  }

  .match-galleries {
    background-position: 0 0, center, 36% center;
  }

  .match-galleries__header {
    margin-bottom: 24px;
  }

  .match-galleries__header h2 {
    font-size: 44px;
  }

  .match-gallery-card {
    width: min(390px, calc(100vw - 48px));
  }

  .news-showcase__inner {
    width: min(100% - 32px, 560px);
    padding: 46px 0 52px;
  }

  .news-showcase__header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 12px;
  }

  .news-showcase__header h2 {
    font-size: 44px;
  }

  .news-showcase__controls button {
    width: 40px;
    height: 40px;
  }

  .news-showcase__track {
    grid-auto-columns: 100%;
  }

  .news-showcase__card {
    grid-template-rows: 190px minmax(170px, 1fr);
  }

  .news-showcase__content {
    padding: 16px;
  }

  .news-showcase__title {
    font-size: 19px;
  }

  .gallery-dialog {
    width: calc(100% - 20px);
    height: calc(100svh - 20px);
    max-height: none;
  }

  .gallery-dialog__header {
    min-height: 100px;
    padding: 20px 68px 20px 18px;
  }

  .gallery-dialog__header img {
    width: 62px;
    height: 62px;
  }

  .gallery-photo-grid {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 10px;
  }

  .gallery-album-grid {
    grid-template-columns: 1fr;
    padding: 18px 16px 24px;
    gap: 14px;
  }

  .gallery-dialog__description {
    padding: 22px 18px 0;
    font-size: 15px;
    text-align: left;
  }

  .gallery-photo-grid.has-profiles {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gallery-media-copy {
    padding: 18px;
  }

  .gallery-media-copy h3,
  .gallery-media-copy h4 {
    font-size: 25px;
  }

  .gallery-highlights {
    padding: 26px 16px;
  }

  .gallery-highlights video {
    height: min(58svh, 540px);
  }

  .gallery-lightbox {
    width: calc(100% - 12px);
    height: calc(100svh - 12px);
  }

  .gallery-lightbox > img {
    padding: 10px;
  }

  .gallery-lightbox__nav {
    width: 42px;
    height: 42px;
  }

  .gallery-lightbox__nav--previous {
    left: 10px;
  }

  .gallery-lightbox__nav--next {
    right: 10px;
  }

  .gallery-lightbox__caption {
    bottom: 56px;
    max-width: calc(100% - 96px);
    padding: 8px 12px;
    font-size: 14px;
  }

  .identity-bar {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 154px;
    padding: 6px 14px 9px;
    column-gap: 6px;
    overflow: hidden;
  }

  .brand-lockup {
    width: 100%;
  }

  .club-brand {
    gap: 7px;
  }

  .club-brand--asd {
    padding-right: 6px;
  }

  .club-brand--pallavolo {
    padding-left: 6px;
  }

  .club-brand__logo {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }

  .club-brand--pallavolo .club-brand__logo {
    width: 68px;
    height: 68px;
    flex-basis: 68px;
  }

  .club-brand__name {
    font-size: clamp(10px, 3vw, 13px);
  }

  .brand-lockup__divider {
    height: 54px;
  }

  .social-links {
    gap: 7px;
  }

  .social-club--right .social-links {
    justify-content: center;
  }

  .social-link {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .primary-nav__inner {
    padding: 0;
  }

  .primary-nav__home-logo {
    width: 32px;
    height: 32px;
  }

  .primary-nav__home-logo--left {
    left: 12px;
    transform: translate3d(0, -50%, 0) scale(1.16);
  }

  .primary-nav__home-logo--right {
    right: 12px;
    transform: translate3d(0, -50%, 0) scale(1.16);
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: var(--nav-height);
    padding: 0 18px;
    gap: 11px;
    color: var(--white);
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
  }

  .menu-toggle__icon,
  .menu-toggle__icon::before,
  .menu-toggle__icon::after,
  .menu-toggle__icon span {
    display: block;
    width: 22px;
    height: 2px;
    content: "";
    background: currentColor;
  }

  .menu-toggle__icon {
    position: relative;
    background: transparent;
  }

  .menu-toggle__icon::before {
    position: absolute;
    top: 2px;
  }

  .menu-toggle__icon span {
    position: absolute;
    top: 8px;
  }

  .menu-toggle__icon::after {
    position: absolute;
    top: 14px;
  }

  .main-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    height: auto;
    max-height: calc(100svh - var(--nav-height));
    overflow-y: auto;
    color: var(--navy);
    background: var(--white);
    border-bottom: 3px solid var(--gold);
    box-shadow: var(--shadow);
  }

  .main-menu.is-open {
    display: block;
  }

  .menu-item {
    border-bottom: 1px solid #dbe8ee;
  }

  .menu-item__toggle {
    justify-content: space-between;
    height: 52px;
    color: var(--navy);
    padding: 0 22px;
  }

  .menu-item__toggle::after {
    display: none;
  }

  .menu-item__chevron {
    margin-left: 16px;
  }

  .menu-item.is-open .menu-item__chevron {
    transform: translateY(2px) rotate(225deg);
  }

  .submenu,
  .submenu--right {
    position: static;
    display: none;
    width: 100%;
    min-width: 0;
    padding: 0 0 8px;
    visibility: visible;
    opacity: 1;
    background: var(--off-white);
    border-top: 0;
    box-shadow: none;
    transform: none;
  }

  .menu-item:hover .submenu,
  .menu-item:focus-within .submenu,
  .menu-item.is-open .submenu,
  .menu-item:hover .submenu--right,
  .menu-item:focus-within .submenu--right,
  .menu-item.is-open .submenu--right {
    transform: none;
  }

  .menu-item.is-open .submenu {
    display: block;
  }

  .submenu a {
    padding: 11px 32px;
  }

  .hero-video {
    height: clamp(330px, 48svh, 420px);
    margin-bottom: 125px;
  }

  .hero-youtube {
    top: 16px;
    bottom: auto;
    left: 14px;
    grid-template-columns: 44px minmax(0, 126px) 16px;
    width: 210px;
    min-height: 60px;
    padding: 5px 0;
    color: var(--white);
    background: rgba(4, 31, 51, 0.72);
    border-color: rgba(214, 188, 89, 0.82);
    backdrop-filter: blur(3px);
  }

  .hero-youtube__icon {
    width: 44px;
    height: 44px;
  }

  .hero-youtube__copy strong,
  .hero-youtube__arrow {
    color: var(--white);
  }

  .hero-youtube__copy strong {
    font-size: 11px;
  }

  .fipav-panel {
    top: 16px;
    right: 12px;
    bottom: auto;
    left: auto;
    width: min(188px, 38vw);
    height: clamp(72px, 18vw, 96px);
    transform: none;
  }

  .fipav-panel img {
    --fipav-lift: -3px;
    width: 100%;
    max-width: 100%;
    max-height: none;
  }

  .hero-video__media {
    object-position: center;
  }

  .hero-news {
    right: 0;
    bottom: -112px;
    left: 0;
    display: block;
    width: 100%;
    max-width: 100vw;
    padding: 0 48px;
  }

  .hero-news__heading {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 48px;
    display: flex;
    align-items: baseline;
    gap: 6px;
    color: var(--white);
    text-align: left;
    text-shadow: 0 2px 8px rgba(3, 20, 34, 0.8);
    transform: none;
  }

  .hero-news__heading span {
    color: var(--gold-light);
    font-size: 14px;
  }

  .hero-news__heading strong {
    font-size: 25px;
  }

  .hero-news__viewport {
    width: calc(100vw - 96px);
    height: 200px;
  }

  .hero-news__nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 36px;
    height: 36px;
    transform: translateY(-50%);
  }

  .hero-news__nav--previous {
    left: 10px;
  }

  .hero-news__nav--next {
    right: 10px;
  }

  .hero-news__nav:hover,
  .hero-news__nav:focus-visible {
    transform: translateY(-50%) scale(1.06);
  }

  .hero-news__nav span {
    font-size: 20px;
  }

  .hero-news__card {
    width: calc(100vw - 96px);
    height: 200px;
  }

  .hero-news__archive {
    position: absolute;
    top: calc(100% + 9px);
    right: auto;
    left: 48px;
    display: flex;
    align-items: center;
    padding: 0;
    gap: 8px;
    font-size: 12px;
    transform: none;
  }

  .hero-news__archive span {
    max-width: none;
  }

  .hero-news__archive strong {
    width: auto;
    height: auto;
    font-size: 18px;
  }

  .hero-news__content {
    padding: 16px 14px 13px;
    gap: 4px;
  }

  .hero-news__title {
    font-size: 15px;
  }

  .hero-news__summary {
    font-size: 11px;
    -webkit-line-clamp: 1;
  }

  .news-article__cover {
    height: clamp(240px, 70vw, 320px);
  }

  .news-article__cover-image {
    inset: 0;
    width: 100%;
  }

  .news-article__intro-inner {
    grid-template-columns: 1fr;
    width: min(100% - 32px, 900px);
    padding: 20px 0 24px;
    gap: 14px;
  }

  .news-article__back {
    margin-bottom: 2px;
  }

  .news-article__preview {
    width: min(100%, 260px);
    justify-self: center;
  }

  .news-share__actions {
    justify-content: center;
  }

  .news-article__cover-open {
    right: 14px;
    bottom: 14px;
  }

  .news-lightbox {
    width: calc(100% - 20px);
    height: 88svh;
    padding: 12px;
  }

  .news-lightbox__nav {
    width: 42px;
    height: 42px;
  }

  .news-lightbox__nav--previous {
    left: 10px;
  }

  .news-lightbox__nav--next {
    right: 10px;
  }

  .follow-us {
    min-height: 0;
  }

  .follow-us::before {
    background-position: center -12px;
    background-size: cover;
  }

  .follow-us__inner {
    width: min(100% - 32px, 560px);
    padding: 28px 0 32px;
  }

  .follow-us h2 {
    margin-bottom: 22px;
  }

  .follow-us__clubs {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .follow-us__divider {
    width: min(250px, 72vw);
    height: 1px;
  }

  .follow-club {
    gap: 10px;
  }

  .follow-club__identity img {
    width: 42px;
    height: 42px;
  }

  .follow-social-link {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .sponsors-showcase__inner {
    width: min(100% - 32px, 560px);
    padding: 34px 0 40px;
  }

  .sponsors-showcase__heading {
    gap: 16px;
    margin-bottom: 28px;
  }

  .sponsors-showcase__logos {
    gap: 22px 20px;
  }

  .sponsor-logo {
    width: calc((100% - 20px) / 2);
    height: 82px;
    padding: 5px;
  }

  .sponsor-logo img {
    inset: 5px;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
  }

  .sponsor-logo--art-computer::before {
    inset: 14px 18px 13px;
  }

  .sponsor-logo--art-computer img {
    inset: 20px 26px 19px;
    width: calc(100% - 52px);
    height: calc(100% - 39px);
  }

  .sponsors-showcase--page .sponsors-showcase__inner {
    padding: 42px 0 50px;
  }

  .sponsors-showcase--page .sponsors-showcase__heading {
    grid-template-columns: minmax(24px, 1fr) minmax(0, auto) minmax(24px, 1fr);
    gap: 12px;
    margin-bottom: 30px;
  }

  .sponsors-showcase--page .sponsors-showcase__heading > div {
    min-width: 0;
  }

  .sponsors-showcase--page h1 {
    font-size: 38px;
  }

  .sponsors-showcase--page .sponsor-logo {
    height: 92px;
  }

  .sponsor-application__inner {
    width: min(100% - 32px, 560px);
    padding: 48px 0 58px;
  }

  .sponsor-application__header {
    margin-bottom: 30px;
  }

  .sponsor-application__header h2 {
    font-size: 38px;
  }

  .sponsor-application__header > span {
    font-size: 14px;
  }

  .sponsor-form__grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .sponsor-field--wide {
    grid-column: auto;
  }

  .sponsor-form__actions {
    display: grid;
    justify-content: stretch;
  }

  .sponsor-form__actions button {
    width: 100%;
  }

  .sponsor-form__actions p {
    text-align: center;
  }

  .site-footer__inner {
    padding: 32px 18px 18px;
  }

  .home-page .site-footer {
    margin-top: 30px;
  }

  .site-footer {
    background-position: center, center 47%;
    background-size: cover, contain;
  }

  .site-footer__clubs {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .site-footer__club {
    grid-template-columns: minmax(0, 1fr) 56px;
    gap: 0 8px;
  }

  .site-footer__club--pallavolo {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .site-footer__identity {
    gap: 12px;
  }

  .site-footer__identity img {
    width: 56px;
    height: 56px;
  }

  .site-footer__identity h2 {
    font-size: 15px;
  }

  .site-footer__divider {
    width: min(220px, 68vw);
    height: 1px;
  }

  .site-footer__donation {
    width: min(100%, 420px);
    margin: 20px 0 0;
  }

  .site-footer__donation strong {
    font-size: 16px;
  }

  .site-footer__socials {
    gap: 9px;
  }

  .site-footer__social-link {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    padding: 3px;
  }

  .site-footer__legal {
    gap: 5px 12px;
    margin-top: 22px;
    padding-top: 14px;
    font-size: 11px;
  }

  .site-footer__legal span:first-child {
    flex-basis: 100%;
    margin-bottom: 2px;
  }

  .site-footer__legal span + span::before {
    display: none;
  }

  .news-article__body {
    width: 100%;
    padding: 38px 0 56px;
  }

  .news-article__content-layout {
    width: min(100% - 32px, 780px);
  }

  .related-news__list {
    grid-template-columns: 1fr;
  }

  .news-article__body p {
    font-size: 16px;
    line-height: 1.68;
  }

  .news-article__gallery {
    margin: 28px 0 42px;
  }

  .news-article__gallery-stage {
    height: clamp(330px, 108vw, 500px);
  }

  .news-article__gallery-nav {
    width: 42px;
    height: 42px;
  }

  .news-article__gallery-nav--previous {
    left: 10px;
  }

  .news-article__gallery-nav--next {
    right: 10px;
  }

  .news-article__gallery-footer {
    min-height: 48px;
    padding: 9px 14px;
  }

  .news-article__gallery-footer strong {
    max-width: calc(100% - 58px);
    font-size: 13px;
  }

  .news-article__thumbnails {
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    padding: 10px 8px;
    gap: 7px;
  }

  .news-article__thumbnail-nav {
    width: 36px;
    height: 36px;
  }

  .news-article__thumbnail {
    width: 94px;
  }

}

@media (max-width: 410px) {
  .identity-bar {
    min-height: 142px;
  }

  .club-brand__logo {
    --logo-scale: 1.05;
    width: 56px;
    height: 56px;
    flex-basis: 56px;
  }

  .club-brand--pallavolo .club-brand__logo {
    --logo-scale: 1.05;
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }

  .club-brand__name {
    font-size: 10px;
  }

  .club-brand {
    gap: 4px;
  }

  .club-brand--asd {
    padding-right: 6px;
  }

  .club-brand--pallavolo {
    padding-left: 6px;
  }

  .social-link {
    width: 31px;
    height: 31px;
    flex-basis: 31px;
  }

  .social-links {
    gap: 5px;
  }

  .hero-news__card {
    width: 100%;
  }
}

@media (max-width: 980px) {
  .contact-preview__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-preview__location {
    grid-column: 1 / -1;
    grid-template-columns: minmax(190px, 0.6fr) minmax(300px, 1.4fr);
    align-items: center;
  }

  .info-location,
  .info-video__inner {
    grid-template-columns: 1fr;
  }

  .info-documents {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .info-location {
    gap: 30px;
  }

  .info-video__inner {
    gap: 30px;
  }

  .info-video__copy {
    max-width: 680px;
  }
}

@media (max-width: 760px) {
  .contact-preview__inner,
  .info-section__inner,
  .info-intro__inner,
  .info-video__inner,
  .info-page .play-callout {
    width: min(100% - 32px, 560px);
  }

  .contact-preview__inner {
    padding: 22px 0 50px;
  }

  .contact-preview__header {
    display: grid;
    align-items: start;
    margin-bottom: 26px;
    gap: 18px;
  }

  .contact-preview__header::before {
    top: 39px;
  }

  .contact-preview__header > div {
    padding: 0 14px;
  }

  .contact-preview__header h2 {
    font-size: 36px;
  }

  .contact-preview__header > a {
    position: static;
    justify-self: center;
    margin-top: 2px;
  }

  .contact-preview__grid,
  .info-contact-grid,
  .info-channel-grid {
    grid-template-columns: 1fr;
  }

  .info-documents {
    grid-template-columns: 1fr;
  }

  .info-document {
    grid-template-rows: 48px auto auto;
  }

  .contact-preview__people,
  .contact-preview__channels,
  .contact-preview__location {
    padding: 20px;
  }

  .contact-preview__location {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .play-callout {
    display: grid;
    padding: 25px 22px;
    gap: 22px;
  }

  .play-callout > a {
    min-width: 0;
    width: 100%;
  }

  body.is-info-reveal-ready .info-reveal--left,
  body.is-info-reveal-ready .info-reveal--right { transform: translateY(-42px) scale(1.015); }

  body.is-info-reveal-ready [data-info-reveal].is-visible {
    transform: none;
  }

  .info-intro,
  .info-intro__inner {
    min-height: 180px;
  }

  .info-intro__inner {
    grid-template-columns: 1fr;
    padding: 28px 0 30px;
    gap: 24px;
  }

  .info-intro h1 {
    font-size: 44px;
  }

  .info-intro__copy > p:last-child {
    font-size: 14px;
  }

  .info-intro__donation {
    justify-items: start;
    padding: 0 0 0 15px;
    text-align: left;
    border-right: 0;
    border-left: 3px solid var(--gold-light);
  }

  .info-intro__donation strong {
    font-size: 18px;
  }

  .info-section {
    padding: 36px 0;
  }

  .info-section__header {
    margin-bottom: 26px;
  }

  .info-contact-grid .contact-person {
    grid-template-columns: minmax(0, 1fr);
    padding: 17px;
  }

  .info-contact-grid .contact-person:nth-child(odd) .contact-person__logo {
    position: static;
    margin-bottom: 7px;
    transform: none;
  }

  .info-contact-grid .contact-person:nth-child(even) {
    grid-template-columns: minmax(0, 1fr);
  }

  .info-contact-grid .contact-person:nth-child(even) > div {
    justify-items: start;
    text-align: left;
  }

  .info-channel-grid .contact-channel {
    padding: 21px;
  }

  .info-location {
    grid-template-columns: 1fr;
  }

  .info-video__inner {
    grid-template-columns: 1fr;
    padding: 36px 0;
  }

  .info-video__frame {
    width: 100%;
  }

  .info-video h2 {
    font-size: 36px;
  }

  .info-page .play-callout {
    margin-top: 28px;
    margin-bottom: 28px;
  }
}

/* Team pages */
.team-page {
  color: var(--navy);
  background: #eef2f5;
}

.team-page main {
  overflow: hidden;
}

.team-hero {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  color: var(--white);
  background-image: linear-gradient(90deg, rgba(4, 39, 65, 0.96) 0%, rgba(4, 39, 65, 0.82) 48%, rgba(4, 39, 65, 0.42) 100%), var(--team-hero-image);
  background-position: center, center 10%;
  background-repeat: no-repeat;
  background-size: cover;
  border-bottom: 3px solid var(--gold-light);
}

.team-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 121, 170, 0.08), rgba(3, 34, 57, 0.22));
}

.team-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(1120px, calc(100% - 48px));
  min-height: 350px;
  margin: 0 auto;
  align-items: center;
  gap: 30px;
}

.team-hero__inner > img {
  width: 112px;
  height: 112px;
  flex: 0 0 112px;
  object-fit: contain;
  filter: brightness(1.08) drop-shadow(0 0 8px rgba(255, 255, 255, 0.44));
}

.team-hero__inner > div {
  min-width: 0;
}

.team-hero__inner p,
.team-section__heading p {
  margin: 0 0 7px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.team-hero h1 {
  margin: 0;
  font-family: "Massafra Display", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.94;
  text-transform: uppercase;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.28);
}

.team-hero__inner div > span {
  display: block;
  margin-top: 15px;
  color: var(--gold-light);
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}

.team-section__inner {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 38px;
}

.team-section__inner--wide {
  width: min(1360px, calc(100% - 32px));
}

.team-section__heading {
  display: grid;
  grid-template-columns: minmax(50px, 1fr) auto minmax(50px, 1fr);
  margin-bottom: 22px;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.team-section__heading > span {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light));
}

.team-section__heading > span:last-child {
  background: linear-gradient(90deg, var(--gold-light), transparent);
}

.team-section__heading > div {
  min-width: 0;
}

.team-section__heading h2 {
  margin: 0;
  font-family: "Massafra Display", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(38px, 4.8vw, 58px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.96;
  text-transform: uppercase;
  text-shadow: 0 0 7px rgba(255, 255, 255, 0.58);
}

.team-overview {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(390px, 1.25fr) minmax(0, 0.95fr);
  align-items: stretch;
  gap: 16px;
}

.team-match-feature,
.team-standings {
  height: 100%;
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid #d7e0e6;
  border-top: 3px solid var(--gold-light);
  border-radius: 4px;
  box-shadow: 0 10px 28px rgba(9, 47, 80, 0.09);
}

.team-match-feature {
  min-height: 390px;
  padding: 24px 20px 22px;
  text-align: center;
}

.team-match-feature > p,
.team-standings > p {
  margin: 0;
  color: #927816;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.team-match-feature__round {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.team-match-feature__teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  margin: 27px 0 22px;
  align-items: center;
  gap: 9px;
}

.team-match__identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
}

.team-match-feature .team-match__identity {
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.team-match__identity img {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.team-match-feature .team-match__identity img {
  width: 64px;
  height: 64px;
  flex-basis: 64px;
}

.team-match__identity strong {
  width: 100%;
  min-width: 0;
  font-size: 12px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.team-match-feature__teams > b {
  color: var(--navy);
  font-family: "Massafra Display", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 34px;
  letter-spacing: 0;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.95), 0 0 13px rgba(8, 164, 220, 0.5);
}

.team-match-feature__details {
  display: grid;
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
  gap: 4px;
  font-size: 13px;
  line-height: 1.35;
}

.team-match-feature__time,
.team-match-feature__venue {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  text-align: left;
}

.team-venue-link {
  width: max-content;
  max-width: 100%;
  color: inherit;
  cursor: pointer;
  font-weight: 800;
  transition: color 180ms ease, text-shadow 180ms ease;
}

.team-venue-link__label {
  min-width: 0;
  border-bottom: 1px solid var(--gold-light);
  transition: border-color 180ms ease;
}

.team-venue-link:hover,
.team-venue-link:focus-visible {
  color: #087fab;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.85);
}

.team-venue-link:hover .team-venue-link__label,
.team-venue-link:focus-visible .team-venue-link__label {
  border-bottom-color: #087fab;
}

.team-venue-link:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

.team-detail-icon {
  display: inline-grid;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  place-items: center;
  color: #a9870d;
  font-family: "Segoe UI Symbol", Arial, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.team-match-feature__details span:first-child {
  color: var(--sky-dark);
  font-weight: 900;
}

.team-match-feature__details small {
  color: var(--muted);
}

.team-calendar-add {
  display: inline-flex;
  min-height: 34px;
  margin: 15px auto 0;
  padding: 7px 12px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--navy);
  background: transparent;
  border: 1px solid var(--gold-light);
  border-radius: 3px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.team-calendar-add span {
  font-size: 15px;
  line-height: 1;
}

.team-calendar-add:hover,
.team-calendar-add:focus-visible {
  color: var(--white);
  background: var(--navy);
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
  transform: translateY(-2px);
}

.team-calendar-match .team-calendar-add {
  margin-top: auto;
}

.team-match-sets-wrap {
  width: 100%;
  margin-top: 18px;
  overflow-x: auto;
}

.team-match-sets {
  width: 100%;
  min-width: 300px;
  border-collapse: collapse;
  table-layout: fixed;
}

.team-match-sets th,
.team-match-sets td {
  padding: 7px 4px;
  border-bottom: 1px solid #cbd5dc;
  text-align: center;
}

.team-match-sets thead th {
  color: #526a7b;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

.team-match-sets thead th:first-child {
  width: 38%;
  color: transparent;
  text-align: left;
}

.team-match-sets tbody th {
  text-align: left;
}

.team-match-sets tbody tr:last-child th,
.team-match-sets tbody tr:last-child td {
  border-bottom: 0;
}

.team-match-sets td {
  color: var(--navy);
  font-size: 16px;
}

.team-match-sets td.is-set-winner {
  color: #a9870d;
  font-weight: 900;
}

.team-match-sets .team-match__identity {
  flex-direction: row;
  justify-content: flex-start;
  gap: 6px;
  text-align: left;
}

.team-match-sets .team-match__identity img {
  width: 25px;
  height: 25px;
  flex-basis: 25px;
}

.team-match-sets .team-match__identity strong {
  font-size: 9px;
}

.team-standings {
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 24px 14px 18px;
}

.team-standings > p {
  margin-bottom: 15px;
  text-align: center;
}

.team-standings__table-wrap {
  width: 100%;
  align-self: center;
  overflow-x: auto;
  transform: translateY(-10px);
}

.team-standings table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

.team-standings th {
  padding: 7px 5px;
  color: var(--white);
  background: var(--navy);
  font-size: 10px;
  text-transform: uppercase;
}

.team-standings td {
  padding: 8px 5px;
  border-bottom: 1px solid #dde5ea;
  text-align: center;
  font-weight: 800;
}

.team-standings td:nth-child(2) {
  text-align: left;
}

.team-standing__identity {
  display: flex;
  min-width: 150px;
  align-items: center;
  gap: 7px;
}

.team-standing__identity img {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.team-standing__identity span {
  font-size: 10px;
  line-height: 1.15;
}

.team-standings tr.is-our-team td {
  color: var(--navy);
  background: rgba(214, 188, 89, 0.28);
  border-top: 2px solid var(--gold-light);
  border-bottom: 2px solid var(--gold-light);
  box-shadow: inset 0 2px var(--gold-light), inset 0 -2px var(--gold-light);
}

.team-standings tr.is-our-team td:first-child {
  border-left: 2px solid var(--gold-light);
  box-shadow: inset 2px 0 var(--gold-light), inset 0 2px var(--gold-light), inset 0 -2px var(--gold-light);
}

.team-standings tr.is-our-team td:last-child {
  border-right: 2px solid var(--gold-light);
  box-shadow: inset -2px 0 var(--gold-light), inset 0 2px var(--gold-light), inset 0 -2px var(--gold-light);
}

.team-standings tr.is-extra {
  display: none;
}

.team-standings.is-expanded tr.is-extra {
  display: table-row;
}

.team-standings__toggle {
  display: block;
  margin: 0 auto;
  padding: 7px 0;
  color: var(--navy);
  background: transparent;
  border-bottom: 2px solid var(--gold-light);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.team-standings--interactive {
  cursor: pointer;
}

.team-standings--interactive:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
}

.team-standings-dialog {
  width: min(1260px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: auto;
  color: var(--navy);
  background: #eef2f5;
  border: 2px solid var(--gold-light);
  border-radius: 6px;
  box-shadow: 0 28px 70px rgba(1, 24, 42, 0.36);
}

.team-standings-dialog::backdrop {
  background: rgba(1, 22, 38, 0.76);
}

.team-standings-dialog__close {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 3;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--white);
  background: rgba(2, 30, 50, 0.88);
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  cursor: pointer;
  font-size: 0;
  line-height: 1;
}

.team-standings-dialog__inner {
  padding: 0 26px 24px;
}

.team-standings-dialog__header {
  display: flex;
  margin: 0 -26px 22px;
  padding: 24px 78px 24px 30px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--white);
  background: linear-gradient(110deg, #052c49, #087fab);
  border-bottom: 2px solid var(--gold-light);
}

.team-standings-dialog__header p {
  margin: 0 0 4px;
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.team-standings-dialog__header h2 {
  margin: 0;
  font-family: "Massafra Display", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.96;
  text-transform: uppercase;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.25);
}

.team-standings-dialog__header span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.team-standings-dialog__header img {
  width: 86px;
  height: 86px;
  flex: 0 0 86px;
  object-fit: contain;
  filter: brightness(1.08) drop-shadow(0 0 7px rgba(255, 255, 255, 0.38));
}

.team-standings-dialog__table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid #cbd8e0;
}

.team-standings-dialog table {
  width: 100%;
  min-width: 1080px;
  border-collapse: collapse;
  font-size: 11px;
}

.team-standings-dialog th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 11px 8px;
  color: var(--white);
  background: var(--navy);
  font-size: 10px;
  text-transform: uppercase;
}

.team-standings-dialog th[data-tooltip] {
  cursor: help;
}

.team-standings-dialog th[data-tooltip]::after {
  position: absolute;
  top: calc(100% + 7px);
  left: 50%;
  z-index: 5;
  width: max-content;
  max-width: 180px;
  padding: 7px 9px;
  content: attr(data-tooltip);
  color: var(--white);
  background: #052c49;
  border: 1px solid var(--gold-light);
  border-radius: 3px;
  box-shadow: 0 7px 18px rgba(1, 24, 42, 0.24);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-transform: none;
  white-space: normal;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -4px);
}

.team-standings-dialog th[data-tooltip]:hover::after,
.team-standings-dialog th[data-tooltip]:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.team-standings-dialog th[data-tooltip]:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: -3px;
}

.team-standings-dialog th[data-tooltip]:first-child::after {
  left: 4px;
  transform: translate(0, -4px);
}

.team-standings-dialog th[data-tooltip]:first-child:hover::after,
.team-standings-dialog th[data-tooltip]:first-child:focus-visible::after {
  transform: none;
}

.team-standings-dialog th[data-tooltip]:last-child::after {
  right: 4px;
  left: auto;
  transform: translate(0, -4px);
}

.team-standings-dialog th[data-tooltip]:last-child:hover::after,
.team-standings-dialog th[data-tooltip]:last-child:focus-visible::after {
  transform: none;
}

.team-standings-dialog td {
  padding: 9px 8px;
  border-bottom: 1px solid #d8e2e8;
  text-align: center;
  font-weight: 800;
  white-space: nowrap;
}

.team-standings-dialog td:nth-child(2) {
  text-align: left;
}

.team-full-standing__identity {
  display: flex;
  min-width: 250px;
  align-items: center;
  gap: 10px;
}

.team-full-standing__identity img {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.team-full-standing__identity strong {
  font-size: 11px;
  white-space: normal;
}

.team-standings-dialog tr.is-our-team td {
  background: #fbf1c9;
  border-top: 2px solid var(--gold-light);
  border-bottom: 2px solid var(--gold-light);
  box-shadow: inset 0 2px var(--gold-light), inset 0 -2px var(--gold-light);
}

.team-standings-dialog tr.is-our-team td:first-child {
  border-left: 2px solid var(--gold-light);
  box-shadow: inset 2px 0 var(--gold-light), inset 0 2px var(--gold-light), inset 0 -2px var(--gold-light);
}

.team-standings-dialog tr.is-our-team td:last-child {
  border-right: 2px solid var(--gold-light);
  box-shadow: inset -2px 0 var(--gold-light), inset 0 2px var(--gold-light), inset 0 -2px var(--gold-light);
}

.team-standings-dialog__legend {
  display: flex;
  margin-top: 16px;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: #496376;
  font-size: 10px;
}

.team-standings-dialog__legend b {
  color: #9b7d0e;
}

.team-unavailable {
  display: grid;
  width: min(960px, 100%);
  min-height: 124px;
  margin-inline: auto;
  padding: 22px 28px;
  place-content: center;
  gap: 9px;
  color: var(--navy);
  background:
    linear-gradient(135deg, rgba(214, 188, 89, 0.12), rgba(255, 255, 255, 0.94) 58%),
    var(--white);
  border: 1px solid rgba(181, 146, 23, 0.42);
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(7, 42, 65, 0.06);
  text-align: center;
}

.team-unavailable::before {
  width: 38px;
  height: 2px;
  margin: 0 auto 2px;
  background: var(--gold-light);
  content: "";
}

.team-unavailable strong {
  color: #9b7d0e;
  font-family: "Massafra Display", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(21px, 2.4vw, 29px);
  letter-spacing: 0;
  line-height: 1.05;
  text-transform: uppercase;
}

.team-unavailable span {
  color: #627786;
  font-size: 13px;
  line-height: 1.4;
}

.team-calendar {
  position: relative;
  background: var(--white);
  border-block: 1px solid #dbe3e8;
}

.team-calendar__youtube {
  top: 30px;
  right: auto;
  bottom: auto;
  left: 24px;
  grid-template-columns: 42px minmax(0, 122px) 18px;
  width: 202px;
  min-height: 86px;
  padding: 7px 0;
  gap: 8px;
}

.team-calendar__youtube .hero-youtube__icon {
  width: 42px;
  height: 42px;
}

.team-calendar__youtube .hero-youtube__copy strong {
  font-size: 13px;
}

.team-calendar__download {
  position: absolute;
  top: 30px;
  right: 24px;
  display: grid;
  width: 224px;
  min-height: 86px;
  padding: 11px 13px;
  align-items: center;
  grid-template-columns: 39px minmax(0, 1fr) 18px;
  gap: 9px;
  color: var(--navy);
  background: #f8fafb;
  border: 1px solid var(--gold-light);
  border-radius: 3px;
  cursor: pointer;
  text-align: left;
  transition: filter 220ms ease, transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.team-calendar__download:hover,
.team-calendar__download:focus-visible {
  filter: brightness(1.04) drop-shadow(0 5px 11px rgba(8, 46, 74, 0.13));
  transform: translateY(-3px);
}

.team-calendar__download:disabled {
  cursor: default;
  filter: grayscale(0.4);
  opacity: 0.55;
  transform: none;
}

.team-calendar__download-icon {
  font-size: 28px;
  line-height: 1;
}

.team-calendar__download small,
.team-calendar__download strong {
  display: block;
}

.team-calendar__download small {
  margin-bottom: 3px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

.team-calendar__download strong {
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

.team-calendar__download-arrow {
  color: var(--navy);
  font-size: 19px;
  font-weight: 900;
  text-align: center;
}

.team-match-empty {
  display: grid;
  min-height: 180px;
  padding: 28px;
  place-content: center;
  gap: 8px;
  color: var(--navy);
  background: #eef3f6;
  border: 1px solid #cbd8e0;
  border-top: 2px solid var(--gold-light);
  text-align: center;
}

.team-match-empty strong {
  font-family: "Massafra Display", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 25px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

.team-match-empty span {
  color: var(--muted);
  font-size: 12px;
}

.team-match-empty--feature {
  min-height: 245px;
  background: transparent;
  border: 0;
}

.team-match-list > .team-match-empty {
  min-height: 460px;
}

@media (max-width: 900px) {
  .team-calendar__youtube {
    position: relative;
    top: auto;
    left: auto;
    grid-template-columns: 54px minmax(0, 1fr) 18px;
    width: min(360px, 100%);
    margin: 0 auto 22px;
  }

  .team-calendar__download {
    position: relative;
    top: auto;
    right: auto;
    width: min(360px, 100%);
    margin: 0 auto 22px;
  }
}

/* Final component corrections discovered during responsive QA. */
.team-match__identity strong,
.team-match-sets .team-match__identity strong {
  width: auto;
  min-width: 0;
  flex: 1 1 auto;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

body.is-info-reveal-ready .info-contact-grid [data-info-reveal].is-visible .contact-person__logo {
  animation: contact-logo-fade-in 680ms calc(var(--info-reveal-delay, 0ms) + 850ms) cubic-bezier(0.16, 0.82, 0.24, 1) both;
}

@media (max-width: 760px) {
  .team-match-sets thead th:first-child {
    width: 42%;
  }

  .team-match-sets .team-match__identity {
    align-items: center;
    gap: 5px;
  }

  .team-match-sets .team-match__identity img {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  .team-match-sets .team-match__identity strong {
    font-size: 8px;
    line-height: 1.13;
  }

  .team-match-sets th,
  .team-match-sets td {
    padding-inline: 2px;
  }

  .team-match-sets td {
    font-size: 14px;
  }

  .info-contact-grid .contact-person {
    min-height: 0;
    padding: 16px;
  }

  .info-contact-grid .contact-person__logo {
    width: 54px;
    height: 54px;
  }
}

.team-calendar .team-section__inner {
  width: min(1000px, calc(100% - 40px));
}

.team-calendar__columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 20px;
}

.team-calendar__column h3 {
  margin: 0 0 17px;
  padding-bottom: 9px;
  color: var(--navy);
  border-bottom: 2px solid var(--gold-light);
  font-family: "Massafra Display", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 27px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  text-shadow:
    0 0 6px rgba(255, 255, 255, 0.96),
    0 0 14px rgba(214, 188, 89, 0.34);
  text-transform: uppercase;
}

.team-calendar__column h3 button {
  color: inherit;
  background: transparent;
  cursor: pointer;
  font: inherit;
  line-height: inherit;
  text-shadow: inherit;
  text-transform: inherit;
  transition: color 180ms ease, transform 180ms ease;
}

.team-calendar__column h3 button:hover,
.team-calendar__column h3 button:focus-visible {
  color: #087fab;
  transform: scale(1.025);
}

.team-calendar__column h3 button:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}

.team-calendar__column > p {
  min-height: 34px;
  margin: -8px 0 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

.team-match-list {
  display: grid;
  gap: 10px;
}

.team-match-navigator__stage {
  height: 460px;
  min-height: 460px;
  overflow: hidden;
  cursor: pointer;
}

.team-match-navigator__controls {
  display: flex;
  margin-top: 10px;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.team-match-navigator__controls button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  cursor: pointer;
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

.team-match-navigator__controls button:hover:not(:disabled) {
  background: var(--sky-dark);
  transform: translateY(-2px);
}

.team-match-navigator__controls button:disabled {
  cursor: default;
  opacity: 0.28;
}

.team-match-navigator__controls span {
  min-width: 48px;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.team-match-list__open {
  display: flex;
  width: max-content;
  margin: 4px auto 0;
  padding: 7px 2px 6px;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  background: transparent;
  border-bottom: 2px solid var(--gold-light);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  transition: color 180ms ease, gap 180ms ease;
}

.team-match-list__open:hover,
.team-match-list__open:focus-visible {
  gap: 12px;
  color: #087fab;
}

.team-match-list__open:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

.team-matches-dialog {
  width: min(980px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: auto;
  color: var(--navy);
  background: #eef2f5;
  border: 2px solid var(--gold-light);
  border-radius: 6px;
  box-shadow: 0 28px 70px rgba(1, 24, 42, 0.36);
}

.team-matches-dialog[open] {
  animation: team-matches-dialog-enter 360ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.team-matches-dialog::backdrop {
  background: rgba(1, 22, 38, 0.76);
}

@keyframes team-matches-dialog-enter {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.team-matches-dialog__close {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 3;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--white);
  background: rgba(2, 30, 50, 0.88);
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  cursor: pointer;
  font-size: 0;
  line-height: 1;
}

.team-matches-dialog__inner {
  padding: 0 18px 20px;
}

.team-matches-dialog__header {
  display: flex;
  margin: 0 -18px 18px;
  padding: 22px 72px 22px 24px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: var(--white);
  background: linear-gradient(110deg, #052c49, #087fab);
  border-bottom: 2px solid var(--gold-light);
}

.team-matches-dialog__header p {
  margin: 0 0 4px;
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.team-matches-dialog__header h2 {
  margin: 0;
  font-family: "Massafra Display", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(35px, 4vw, 50px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.96;
  text-transform: uppercase;
}

.team-matches-dialog__header img {
  width: 70px;
  height: 70px;
  flex: 0 0 70px;
  object-fit: contain;
  filter: brightness(1.08) drop-shadow(0 0 7px rgba(255, 255, 255, 0.38));
}

.team-matches-dialog__filters {
  display: flex;
  width: max-content;
  margin: 0 auto 16px;
  overflow: hidden;
  border: 1px solid #aebfc9;
  border-radius: 3px;
}

.team-matches-dialog__filters button {
  min-width: 112px;
  padding: 9px 14px;
  color: var(--navy);
  background: var(--white);
  border-right: 1px solid #cbd8e0;
  cursor: pointer;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease;
}

.team-matches-dialog__filters button:last-child {
  border-right: 0;
}

.team-matches-dialog__filters button:hover,
.team-matches-dialog__filters button:focus-visible {
  background: #dfeaf0;
}

.team-matches-dialog__filters button.is-active {
  color: var(--white);
  background: var(--navy);
  box-shadow: inset 0 -2px var(--gold-light);
}

.team-matches-dialog__filters button:focus-visible {
  position: relative;
  z-index: 1;
  outline: 2px solid var(--gold-light);
  outline-offset: -3px;
}

.team-matches-dialog__order {
  display: flex;
  width: max-content;
  margin: -7px auto 16px;
  gap: 4px;
}

.team-matches-dialog__order[hidden] {
  display: none;
}

.team-matches-dialog__order button {
  padding: 5px 10px;
  color: var(--muted);
  background: transparent;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  transition: color 180ms ease, border-color 180ms ease;
}

.team-matches-dialog__order button:hover,
.team-matches-dialog__order button:focus-visible,
.team-matches-dialog__order button.is-active {
  color: var(--navy);
  border-bottom-color: var(--gold);
}

.team-matches-dialog__order button:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}

.team-matches-dialog__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.team-matches-dialog__empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 42px 18px;
  color: var(--muted);
  background: var(--white);
  border: 1px solid #cbd8e0;
  text-align: center;
}

.team-matches-dialog-card {
  min-width: 0;
  padding: 13px;
  background: var(--white);
  border: 1px solid #cbd8e0;
  border-top: 3px solid var(--gold-light);
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(9, 47, 80, 0.07);
}

.team-matches-dialog-card.is-upcoming {
  border-top-color: var(--sky-dark);
}

.team-matches-dialog-card > header {
  display: flex;
  margin-bottom: 10px;
  padding-bottom: 8px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #dbe3e8;
  font-size: 10px;
}

.team-matches-dialog-card > header strong {
  color: #b18c08;
  font-size: 11px;
  font-weight: 900;
  text-shadow: 0 0 5px rgba(215, 183, 69, 0.48);
  text-transform: uppercase;
}

.team-matches-dialog-card > header span {
  color: var(--muted);
  font-weight: 800;
}

.team-matches-dialog-card__fixture {
  display: grid;
  min-height: 74px;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.team-matches-dialog-card__fixture > b {
  font-family: "Massafra Display", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 27px;
  font-weight: 400;
  text-shadow: 0 0 7px rgba(14, 142, 188, 0.25);
}

.team-matches-dialog-card__team {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 5px;
  text-align: center;
}

.team-matches-dialog-card__team img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.team-matches-dialog-card__team strong {
  max-width: 150px;
  font-size: 9px;
  line-height: 1.08;
  text-transform: uppercase;
}

.team-matches-dialog-card__location {
  display: grid;
  min-width: 0;
  margin: 10px 0;
  grid-template-columns: 14px minmax(0, 1fr);
  color: #496376;
  font-size: 10px;
}

.team-matches-dialog-card__location > span {
  grid-row: 1 / span 2;
  color: #b99719;
}

.team-matches-dialog-card__location strong,
.team-matches-dialog-card__location .team-venue-link,
.team-matches-dialog-card__location small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.team-matches-dialog-card__location small {
  margin-top: 2px;
  color: #738897;
}

.team-matches-dialog-card__sets {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #d8e2e8;
  border-radius: 3px;
}

.team-matches-dialog-card__sets span {
  display: grid;
  min-width: 0;
  padding: 5px 2px;
  place-items: center;
  gap: 2px;
  border-right: 1px solid #d8e2e8;
}

.team-matches-dialog-card__sets span:last-child {
  border-right: 0;
}

.team-matches-dialog-card__sets small {
  color: var(--muted);
  font-size: 8px;
  text-transform: uppercase;
}

.team-matches-dialog-card__sets b {
  color: #9b7d0e;
  font-size: 11px;
}

.team-calendar-match {
  height: 100%;
  min-height: 0;
  padding: 20px;
  background: linear-gradient(145deg, #f8fafb, #eaf1f5);
  border: 1px solid #d5e0e7;
  border-top: 3px solid var(--sky-dark);
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(9, 47, 80, 0.08);
}

.team-calendar-match.is-played {
  border-top-color: var(--gold-light);
}

.team-calendar-match.team-match-feature {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.team-calendar-match .team-match-feature__teams {
  margin-block: 18px 14px;
}

.team-calendar-match .team-match-feature__details {
  gap: 5px;
}

.team-calendar-match .team-match-sets-wrap {
  margin-top: 12px;
  flex: 0 0 auto;
  overflow: visible;
}

.team-calendar-match .team-match-sets {
  min-width: 0;
}

.team-calendar-match.is-entering-right {
  animation: team-match-enter-right 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.team-calendar-match.is-entering-left {
  animation: team-match-enter-left 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes team-match-enter-right {
  from { opacity: 0; transform: translateX(26px); }
  to { opacity: 1; transform: none; }
}

@keyframes team-match-enter-left {
  from { opacity: 0; transform: translateX(-26px); }
  to { opacity: 1; transform: none; }
}

.team-calendar-match__top,
.team-calendar-match__teams > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.team-calendar-match__top {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.team-calendar-match__teams {
  display: grid;
  gap: 6px;
}

.team-calendar-match__teams b {
  font-size: 20px;
}

.team-calendar-match > p {
  display: block;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}

.team-calendar-match__sets {
  display: grid;
  width: max-content;
  margin-top: 13px;
  gap: 4px;
}

.team-calendar-match__sets span {
  min-width: 112px;
  padding: 4px 8px;
  color: var(--white);
  background: var(--navy);
  font-size: 10px;
  font-weight: 800;
  text-align: left;
}

.team-roster {
  color: var(--white);
  background:
    linear-gradient(rgba(4, 40, 66, 0.86), rgba(3, 31, 53, 0.9)),
    url("Immagini/Altro/Roster.png") center 42% / cover no-repeat;
  border-block: 2px solid var(--gold-light);
}

.team-section__heading--light h2 {
  color: var(--white);
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.24);
}

.team-roster__stage {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
  height: 410px;
  min-height: 410px;
  overflow: hidden;
  background: #041f35;
  border: 1px solid var(--gold-light);
  border-radius: 4px;
}

.team-player {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.8fr);
  min-width: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #0a5277, #031b2e 76%);
}

.team-player__portrait {
  position: relative;
  height: 410px;
  min-height: 0;
  overflow: hidden;
}

.team-player__portrait::after {
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  content: "";
  background: linear-gradient(transparent, rgba(3, 27, 46, 0.82));
}

.team-player__portrait-image {
  position: absolute;
  inset: auto auto 0 50%;
  width: auto;
  max-width: none;
  height: calc(100% * var(--player-scale, 1));
  object-fit: contain;
  object-position: center bottom;
  opacity: 0;
  filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.32));
  transform: translateX(-50%);
  transition: opacity 900ms cubic-bezier(0.45, 0, 0.2, 1);
  will-change: opacity;
}

.team-player__portrait-image.is-active {
  opacity: 1;
}

.team-player__details {
  display: flex;
  padding: 32px 28px 24px 8px;
  flex-direction: column;
  justify-content: center;
}

.team-player__info {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  transform-origin: center top;
}

.team-player__info.is-leaving {
  animation: team-player-info-leave 420ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

.team-player__info.is-entering {
  animation: team-player-info-enter 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes team-player-info-leave {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(82px);
  }
}

@keyframes team-player-info-enter {
  from {
    opacity: 0;
    transform: translateY(72px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.team-player__info > p,
.team-coach-card > p {
  margin: 0 0 8px;
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.team-player__info > strong {
  color: var(--gold-light);
  font-family: "Massafra Display", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 38px;
  letter-spacing: 0;
}

.team-player__info h3 {
  margin: 7px 0 0;
  font-family: "Massafra Display", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 42px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.92;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.team-player__info > span {
  width: max-content;
  margin-top: 17px;
  padding: 5px 8px;
  color: var(--navy);
  background: var(--gold-light);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.team-player__info > .team-player__role {
  margin: 14px 0 0;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.team-player__info > span:not([hidden]) + .team-player__role {
  margin-top: 10px;
}

.team-player__controls {
  display: flex;
  margin-top: auto;
  align-items: center;
  gap: 11px;
}

.team-player__controls button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  background: transparent;
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  cursor: pointer;
}

.team-player__controls button:disabled {
  cursor: default;
}

.team-player__controls span {
  font-size: 11px;
  font-weight: 900;
}

.team-roster__photo {
  position: relative;
  height: 410px;
  min-width: 0;
  margin: 0;
  overflow: hidden;
}

.team-roster__photo::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(3, 27, 46, 0.38), transparent 45%);
}

.team-roster__photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #031b2e;
}

.team-unavailable--dark {
  background:
    linear-gradient(135deg, rgba(214, 188, 89, 0.13), rgba(3, 27, 46, 0.7) 58%),
    rgba(3, 27, 46, 0.72);
  border-color: rgba(214, 188, 89, 0.5);
  box-shadow: 0 12px 28px rgba(0, 13, 23, 0.16);
}

.team-unavailable--dark strong {
  color: var(--gold-light);
}

.team-unavailable--dark span {
  color: rgba(222, 232, 238, 0.78);
}

.team-coaches {
  background: #eef2f5;
}

.team-coaches__grid {
  display: grid;
  width: min(100%, 606px);
  grid-template-columns: repeat(2, minmax(0, 292px));
  justify-content: center;
  margin-inline: auto;
  gap: 22px;
}

.team-coaches__more {
  display: flex;
  width: max-content;
  margin: 20px auto 0;
  padding: 7px 0;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  border-bottom: 2px solid var(--gold-light);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.team-coaches__more span {
  color: #aa8b13;
  font-size: 22px;
  line-height: 1;
  transition: transform 220ms ease;
}

.team-coaches__more:hover span,
.team-coaches__more:focus-visible span {
  transform: translateX(5px);
}

.team-coach-card {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 310px 50px 94px 84px;
  min-height: 538px;
  overflow: hidden;
  background: var(--white);
  border: 2px solid var(--gold-light);
  border-radius: 4px;
}

.team-coach-card > div {
  display: flex;
  grid-row: 1;
  align-items: end;
  overflow: hidden;
  background: #d9edf5;
}

.team-coach-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.team-coach-card > p {
  grid-row: 2;
  margin: 22px 20px 0;
  align-self: end;
  color: #9b7e0f;
  font-size: 13px;
  line-height: 1;
}

.team-coach-card h3 {
  display: grid;
  grid-row: 3;
  margin: 13px 20px 0;
  align-self: start;
  align-content: start;
  color: var(--navy);
  font-family: "Massafra Display", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.94;
  text-transform: uppercase;
}

.team-coach-card h3 small,
.team-coach-card h3 span {
  display: block;
  font: inherit;
  line-height: inherit;
}

.team-coach-card h3 small {
  min-height: 16px;
  color: #9b7e0f;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.team-coach-card h3 .team-coach-card__first-name {
  margin-top: 3px;
}

.team-coach-card h3 .team-coach-card__surname {
  margin-top: 4px;
}

.team-coach-card h3 small.team-coach-card__honorific--empty {
  visibility: hidden;
}

.team-coach-card > .team-coach-card__birth {
  display: grid;
  grid-row: 4;
  margin: 18px 20px 0;
  align-self: start;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  text-transform: none;
  gap: 4px;
}

.team-coach-card > .team-coach-card__birth span:first-child {
  color: #9b7e0f;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

@media (hover: hover) and (min-width: 761px) {
  .team-overview > .team-match-feature,
  .team-overview > .team-standings,
  .team-calendar-match,
  .team-coach-card {
    transform: translateZ(0);
    transition: transform 440ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 440ms ease, border-color 440ms ease;
  }

  .team-overview > .team-match-feature:hover,
  .team-overview > .team-standings:hover,
  .team-calendar-match:hover,
  .team-coach-card:hover {
    z-index: 2;
    border-color: var(--gold-light);
    box-shadow: inset 0 0 0 2px var(--gold-light), 0 16px 34px rgba(5, 43, 72, 0.17);
    transform: translateY(-4px) scale(1.015);
  }

}

.team-galleries {
  border-top: 2px solid var(--gold-light);
}

.team-galleries .match-galleries__header h2 {
  font-size: clamp(38px, 5vw, 58px);
}

@media (max-width: 1020px) {
  .team-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-standings {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .team-roster__stage {
    height: auto;
    grid-template-columns: 1fr;
  }

  .team-roster__photo {
    height: auto;
    min-height: 390px;
  }
}

@media (max-width: 760px) {
  .team-match-navigator__stage {
    height: auto;
    min-height: 0;
  }

  .team-calendar-match {
    height: auto;
    min-height: 350px;
  }

  .team-match-list > .team-match-empty {
    min-height: 350px;
  }

  .team-matches-dialog {
    width: calc(100% - 16px);
    max-height: calc(100dvh - 16px);
  }

  .team-matches-dialog__inner {
    padding: 0 8px 12px;
  }

  .team-matches-dialog__header {
    margin: 0 -8px 10px;
    padding: 18px 52px 18px 14px;
  }

  .team-matches-dialog__header h2 {
    font-size: 31px;
  }

  .team-matches-dialog__header img {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }

  .team-matches-dialog__filters {
    width: 100%;
    margin-bottom: 10px;
  }

  .team-matches-dialog__filters button {
    min-width: 0;
    padding: 9px 6px;
    flex: 1;
    font-size: 9px;
  }

  .team-matches-dialog__order {
    margin-bottom: 10px;
  }

  .team-matches-dialog__close {
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    font-size: 21px;
  }

  .team-matches-dialog__list {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .team-matches-dialog-card {
    padding: 11px;
  }

  .team-standings-dialog {
    width: calc(100% - 16px);
    max-height: calc(100dvh - 16px);
  }

  .team-standings-dialog__inner {
    padding: 0 10px 16px;
  }

  .team-standings-dialog__header {
    margin: 0 -10px 14px;
    padding: 20px 58px 20px 16px;
  }

  .team-standings-dialog__header h2 {
    font-size: 34px;
  }

  .team-standings-dialog__header span {
    font-size: 11px;
  }

  .team-standings-dialog__header img {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }

  .team-standings-dialog__close {
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    font-size: 22px;
  }

  .team-hero,
  .team-hero__inner {
    min-height: 310px;
  }

  .team-hero__inner {
    width: calc(100% - 32px);
    gap: 12px;
  }

  .team-hero__inner > img {
    width: 60px;
    height: 60px;
    flex-basis: 60px;
  }

  .team-hero h1 {
    max-width: 100%;
    font-size: 36px;
    line-height: 0.98;
  }

  .team-hero__inner div > span {
    font-size: 13px;
  }

  .team-section__inner {
    width: calc(100% - 40px);
    padding: 30px 0 34px;
  }

  .team-section__heading {
    grid-template-columns: minmax(18px, 1fr) minmax(0, auto) minmax(18px, 1fr);
    margin-bottom: 28px;
    gap: 12px;
  }

  .team-section__heading h2 {
    width: min(240px, calc(100vw - 110px));
    max-width: 100%;
    font-size: 32px;
    line-height: 1;
    overflow-wrap: anywhere;
  }

  .team-overview,
  .team-calendar__columns,
  .team-coaches__grid {
    grid-template-columns: 1fr;
  }

  .team-coaches__grid {
    width: min(100%, 292px);
  }

  .team-standings {
    grid-column: auto;
    grid-row: auto;
  }

  .team-match-feature {
    min-height: 350px;
    padding-inline: 12px;
  }

  .team-match-feature__teams {
    grid-template-columns: minmax(0, 105px) auto minmax(0, 105px);
    justify-content: space-between;
    gap: 5px;
  }

  .team-match-feature .team-match__identity img {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
  }

  .team-match-feature .team-match__identity strong {
    font-size: 10px;
  }

  .team-match-feature__teams > b {
    font-size: 30px;
  }

  .team-match-feature__details {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .team-calendar__columns {
    gap: 34px;
  }

  .team-roster__stage {
    min-height: 0;
  }

  .team-player {
    grid-template-columns: 58% 42%;
  }

  .team-player__portrait {
    height: 360px;
    min-height: 360px;
  }

  .team-player__portrait-image {
    height: calc(88% * var(--player-scale, 1));
  }

  .team-player__details {
    padding: 35px 14px 25px 3px;
  }

  .team-player__info h3 {
    font-size: 31px;
  }

  .team-player__info > strong {
    font-size: 31px;
  }

  .team-roster__photo {
    height: auto;
    min-height: 280px;
  }

  .team-coach-card {
    grid-template-rows: 300px 50px 94px 84px;
    min-height: 528px;
  }

  .team-galleries .match-galleries__inner {
    width: calc(100% - 28px);
  }
}

/* History page */
.history-page,
.history-main {
  background: #f1f2f2;
}

.history-page {
  overflow-x: clip;
}

.history-page #asd-volley,
.history-page #asd-pallavolo {
  scroll-margin-top: calc(var(--nav-height) + 18px);
}

.history-hero {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 3px solid var(--gold-light);
  color: var(--white);
  background: #052b45;
}

.history-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(3, 23, 36, 0.76), rgba(3, 23, 36, 0.42) 50%, rgba(3, 23, 36, 0.76)),
    linear-gradient(180deg, rgba(3, 23, 36, 0.2), rgba(3, 23, 36, 0.74));
}

.history-hero__media {
  position: absolute;
  inset-block: 0;
  z-index: -2;
  width: 52%;
  background-position: center;
  background-size: cover;
  filter: saturate(0.92) contrast(1.02) brightness(0.98);
}

.history-hero__media--asd {
  left: 0;
  background-image: url("Immagini/Storia/ASD Volley Massafra/Foto 1.jpg");
}

.history-hero__media--pallavolo {
  right: 0;
  background-image: url("Immagini/Storia/Pallavolo Massafra/7.jpeg");
}

.history-hero__inner {
  display: flex;
  width: min(1160px, calc(100% - 48px));
  min-height: 390px;
  margin: 0 auto;
  padding: 46px 0 38px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.history-hero__inner > p,
.history-club__header p,
.history-story__kicker {
  margin: 0 0 6px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.history-hero h1 {
  width: 100%;
  margin: 0;
  font-family: "Massafra Display", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(54px, 7vw, 86px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.96;
  text-transform: uppercase;
  text-shadow: 0 0 7px rgba(255, 255, 255, 0.34), 0 5px 20px rgba(0, 0, 0, 0.34);
}

.history-hero__inner > span {
  width: 100%;
  max-width: 680px;
  margin-top: 13px;
  font-size: 17px;
  line-height: 1.5;
}

.history-hero__choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 245px));
  margin-top: 26px;
  gap: 12px;
}

.history-hero__choices a {
  display: flex;
  min-height: 58px;
  padding: 8px 14px;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(214, 188, 89, 0.76);
  border-radius: 3px;
  background: rgba(4, 35, 57, 0.72);
  font-size: 13px;
  font-weight: 900;
  text-align: left;
  transition: border-color 260ms ease, background-color 260ms ease, transform 320ms ease;
}

.history-hero__choices a:hover,
.history-hero__choices a:focus-visible {
  border-color: var(--white);
  background: rgba(8, 121, 170, 0.84);
  transform: translateY(-3px);
}

.history-hero__choices img {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  object-fit: contain;
  filter: brightness(1.08) drop-shadow(0 0 5px rgba(255, 255, 255, 0.42));
}

.history-hero--detail .history-hero__media {
  right: 0;
  left: 0;
  width: 100%;
}

.history-hero--volley .history-hero__media {
  background-position: center 42%;
}

.history-hero--pallavolo .history-hero__media {
  background-position: center 38%;
}

.history-hero--detail .history-hero__inner > span {
  max-width: 760px;
}

.history-hero--detail .history-hero__inner {
  position: relative;
  padding-bottom: 86px;
}

.history-hero__inner > .history-hero__story-label {
  position: absolute;
  bottom: 25px;
  left: 50%;
  margin: 0;
  color: var(--gold-light);
  font-family: "Massafra Display", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 42px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 0 3px rgba(255, 241, 174, 0.34), 0 0 8px rgba(214, 188, 89, 0.16);
  transform: translateX(-50%);
}

.history-hero__switch {
  display: inline-flex;
  margin-top: 24px;
  padding: 8px 0 6px;
  align-items: center;
  gap: 10px;
  color: var(--white);
  border-bottom: 2px solid var(--gold-light);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  transition: color 260ms ease, gap 320ms ease, text-shadow 260ms ease;
}

.history-hero--detail .history-hero__switch {
  position: absolute;
  top: 18px;
  right: 0;
  margin-top: 0;
}

.history-hero__switch span {
  color: var(--gold-light);
  font-size: 20px;
  line-height: 0.7;
}

.history-hero__switch:hover,
.history-hero__switch:focus-visible {
  gap: 16px;
  color: var(--gold-light);
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.38);
}

.history-club {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 82px;
}

.history-club__header {
  display: flex;
  max-width: 850px;
  margin: 0 auto 58px;
  align-items: center;
  justify-content: center;
  gap: 25px;
  text-align: left;
}

.history-club__header > img {
  width: 102px;
  height: 102px;
  flex: 0 0 102px;
  object-fit: contain;
  filter: brightness(1.05) drop-shadow(0 0 6px rgba(255, 255, 255, 0.58));
}

.history-club__header h2 {
  margin: 0;
  color: var(--navy);
  font-family: "Massafra Display", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(42px, 5vw, 64px);
  letter-spacing: 0;
  line-height: 0.98;
  text-transform: uppercase;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.72);
  overflow-wrap: normal;
}

.history-club__header span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 16px;
}

.history-timeline {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
}

.history-timeline::before {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 141px;
  width: 2px;
  content: "";
  background: linear-gradient(var(--gold-light), rgba(8, 121, 170, 0.34), var(--gold-light));
}

.history-timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  padding-bottom: 42px;
  gap: 34px;
}

.history-timeline__marker {
  position: relative;
  padding-top: 3px;
  padding-right: 23px;
  text-align: right;
}

.history-timeline__year {
  display: block;
  color: var(--navy);
  font-family: "Massafra Display", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 29px;
  letter-spacing: 0;
  line-height: 1;
}

.history-timeline__dot {
  position: absolute;
  top: 8px;
  right: -7px;
  width: 15px;
  height: 15px;
  border: 3px solid #eef2f4;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 0 2px rgba(9, 47, 80, 0.18);
}

.history-timeline__body {
  min-width: 0;
  padding: 0 0 31px;
  border-bottom: 1px solid rgba(9, 47, 80, 0.15);
}

.history-timeline__title {
  margin: 0 0 9px;
  color: var(--navy);
  font-size: 19px;
  line-height: 1.25;
}

.history-timeline__text,
.history-story__text {
  margin: 0;
  color: #3f596b;
  font-size: 16px;
  line-height: 1.72;
}

.history-media {
  position: relative;
  display: block;
  width: min(680px, 100%);
  aspect-ratio: 16 / 7;
  margin-top: 24px;
  padding: 0;
  overflow: hidden;
  cursor: zoom-in;
  border: 2px solid var(--gold-light);
  border-radius: 3px;
  background: #dce8ed;
  box-shadow: 0 12px 26px rgba(9, 47, 80, 0.15);
}

.history-timeline__item:nth-child(even) .history-media {
  margin-left: auto;
}

.history-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 500ms ease, transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.history-media__hint {
  position: absolute;
  right: 14px;
  bottom: 13px;
  padding: 6px 9px;
  color: var(--white);
  background: rgba(4, 35, 57, 0.78);
  border-bottom: 2px solid var(--gold-light);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 260ms ease, transform 320ms ease;
}

.history-media:hover img,
.history-media:focus-visible img {
  filter: brightness(1.05);
  transform: scale(1.035);
}

.history-media:hover .history-media__hint,
.history-media:focus-visible .history-media__hint {
  opacity: 1;
  transform: translateY(0);
}

.history-divider {
  display: grid;
  grid-template-columns: minmax(40px, 1fr) auto minmax(40px, 1fr);
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  align-items: center;
  gap: 24px;
}

.history-divider span {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-light));
}

.history-divider span:last-child {
  background: linear-gradient(90deg, var(--gold-light), transparent);
}

.history-divider img {
  width: 86px;
  height: 66px;
  object-fit: contain;
  filter: brightness(1.04) drop-shadow(0 0 5px rgba(255, 255, 255, 0.62));
}

.history-club--pallavolo {
  width: 100%;
  max-width: none;
  margin-top: 22px;
  padding-inline: max(24px, calc((100% - 1120px) / 2));
  color: var(--navy);
  background: #f7f8f8;
  border-block: 2px solid var(--gold-light);
}

.history-club--story-page {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.history-club--pallavolo .history-club__header h2,
.history-club--pallavolo .history-club__header span,
.history-club--pallavolo .history-story__title,
.history-club--pallavolo .history-story__text {
  color: var(--navy);
}

.history-club--pallavolo .history-club__header h2 {
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.72);
}

.history-story {
  max-width: 1120px;
  margin: 0 auto;
}

.history-story__chapter {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  margin-inline: -24px;
  padding: 34px 24px;
  align-items: center;
  gap: 54px;
  border-top: 1px solid rgba(184, 151, 35, 0.34);
}

.history-story__chapter:nth-child(even) {
  background: #ffffff;
}

.history-story__chapter:nth-child(odd) {
  background: #f7f8f8;
}

.history-story__chapter--reverse .history-story__copy {
  order: 2;
}

.history-story__chapter--reverse .history-media {
  order: 1;
}

.history-story__chapter--reverse .history-media-group {
  order: 1;
}

.history-story__chapter--reverse .history-carousel {
  order: 1;
}

.history-story__copy {
  min-width: 0;
}

.history-story__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
}

.history-story__kicker::after {
  width: 42px;
  height: 1px;
  content: "";
  background: var(--gold-light);
}

.history-story__title {
  margin: 0 0 17px;
  font-family: "Massafra Display", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(30px, 3vw, 43px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.02;
  text-transform: uppercase;
}

.history-story__text {
  color: #46515a !important;
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
}

.history-story__season + .history-story__season {
  margin-top: 13px;
}

.history-story__season-year {
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.history-story .history-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0;
  background: #e9e9e6;
  box-shadow: 0 14px 30px rgba(29, 37, 42, 0.13);
}

.history-media-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
}

.history-media-group .history-media {
  min-height: 0;
}

.history-carousel {
  position: relative;
  display: grid;
  min-width: 0;
  aspect-ratio: 4 / 3;
  grid-template-rows: minmax(0, 1fr) 48px;
  overflow: hidden;
  background: #e9e9e6;
  border: 2px solid var(--gold-light);
  border-radius: 3px;
  box-shadow: 0 14px 30px rgba(29, 37, 42, 0.13);
}

.history-carousel__media {
  display: block;
  width: 100%;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  cursor: zoom-in;
  background: #e9e9e6;
  border: 0;
}

.history-carousel__media:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: -3px;
}

.history-carousel__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.history-carousel.is-changing .history-carousel__media img {
  animation: history-carousel-change 420ms ease both;
}

@keyframes history-carousel-change {
  from {
    opacity: 0.38;
    transform: scale(0.992);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.history-carousel__control {
  position: absolute;
  z-index: 2;
  top: calc((100% - 48px) / 2);
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  color: var(--white);
  cursor: pointer;
  background: rgba(3, 39, 63, 0.86);
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  font-size: 21px;
  line-height: 1;
  transform: translateY(-50%);
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.history-carousel__control--previous {
  left: 12px;
}

.history-carousel__control--next {
  right: 12px;
}

.history-carousel__control:hover,
.history-carousel__control:focus-visible {
  color: var(--navy);
  background: var(--gold-light);
  outline: 0;
  transform: translateY(-50%) scale(1.06);
}

.history-carousel__footer {
  display: flex;
  min-width: 0;
  padding: 0 15px;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  background: var(--navy);
  gap: 12px;
}

.history-carousel__caption {
  min-width: 0;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.15;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.history-carousel__counter {
  flex: 0 0 auto;
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 900;
}

.history-story .history-media img {
  object-fit: contain;
}

.is-history-reveal-ready .history-reveal {
  opacity: 0;
  transition:
    opacity 820ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 940ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 780ms ease;
  filter: blur(2px);
}

.is-history-reveal-ready .history-reveal--left {
  transform: translate3d(-52px, 0, 0);
}

.is-history-reveal-ready .history-reveal--right {
  transform: translate3d(52px, 0, 0);
}

.is-history-reveal-ready .history-reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0);
}

.history-reveal.is-typing [data-history-type] {
  animation: history-type-sweep 820ms steps(18, end) both;
}

.history-reveal.is-typing .history-timeline__text,
.history-reveal.is-typing .history-story__text {
  animation-delay: 110ms;
}

.is-history-reveal-ready .history-story__copy.history-reveal,
.is-history-reveal-ready .history-story__copy.history-reveal--left,
.is-history-reveal-ready .history-story__copy.history-reveal--right,
.is-history-reveal-ready .history-timeline__body.history-reveal,
.is-history-reveal-ready .history-club__header.history-reveal {
  visibility: visible;
  opacity: 1;
  filter: none;
  transform: none;
  transition: none;
}

.history-story__copy.history-reveal.is-typing [data-history-type],
.history-story__copy.history-reveal.is-typing .history-story__text,
.history-story__copy.history-reveal.is-typing .history-timeline__text,
.history-timeline__body.history-reveal.is-typing [data-history-type],
.history-timeline__body.history-reveal.is-typing .history-timeline__text {
  clip-path: none;
  animation: none;
}

@keyframes history-type-sweep {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

.history-lightbox {
  width: min(1120px, calc(100% - 34px));
  max-width: none;
  max-height: calc(100vh - 34px);
  padding: 18px;
  overflow: visible;
  border: 2px solid var(--gold-light);
  border-radius: 3px;
  background: #052b45;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
}

.history-lightbox::backdrop {
  background: rgba(2, 21, 35, 0.88);
  backdrop-filter: blur(4px);
}

.history-lightbox > button {
  position: absolute;
  top: -17px;
  right: -17px;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  cursor: pointer;
  color: var(--white);
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  background: var(--navy);
  font-size: 27px;
  line-height: 1;
}

.history-lightbox img {
  width: 100%;
  max-height: calc(100vh - 74px);
  object-fit: contain;
}

@media (max-width: 900px) {
  .history-hero,
  .history-hero__inner {
    min-height: 360px;
  }

  .history-club {
    width: min(100% - 36px, 1120px);
  }

  .history-club--pallavolo {
    width: 100%;
    padding-inline: 28px;
  }

  .history-story__chapter {
    grid-template-columns: 1fr;
    margin-inline: -14px;
    padding-inline: 14px;
    gap: 26px;
  }

  .history-story__chapter--reverse .history-story__copy,
  .history-story__chapter--reverse .history-media {
    order: initial;
  }

  .history-story__chapter--reverse .history-media-group {
    order: initial;
  }

  .history-story__chapter--reverse .history-carousel {
    order: initial;
  }

  .history-story__chapter--reverse .history-story__copy {
    order: 1;
  }

  .history-story__chapter--reverse .history-media {
    order: 2;
  }

  .history-story__chapter--reverse .history-media-group {
    order: 2;
  }

  .history-story__chapter--reverse .history-carousel {
    order: 2;
  }

  .history-story .history-media {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 620px) {
  .history-page #asd-volley,
  .history-page #asd-pallavolo {
    scroll-margin-top: calc(var(--nav-height) + 8px);
  }

  .history-hero,
  .history-hero__inner {
    min-height: 410px;
  }

  .history-hero__inner {
    width: calc(100% - 30px);
    padding-block: 34px;
  }

  .history-hero--detail .history-hero__inner {
    padding-bottom: 74px;
  }

  .history-hero--detail .history-hero__switch {
    display: block;
    top: 10px;
    right: 0;
    width: min(230px, 100%);
    padding-block: 6px 4px;
    font-size: 9px;
    line-height: 1.25;
    text-align: right;
    white-space: normal;
  }

  .history-hero--detail .history-hero__switch span {
    display: inline;
    margin-left: 5px;
    font-size: 17px;
  }

  .history-hero h1 {
    max-width: 350px;
    font-size: clamp(37px, 10.5vw, 42px);
    line-height: 1;
  }

  .history-hero__media {
    width: 68%;
  }

  .history-hero__choices {
    width: 100%;
    grid-template-columns: 1fr;
    margin-top: 22px;
  }

  .history-hero__choices a {
    min-height: 52px;
  }

  .history-club {
    width: calc(100% - 28px);
    padding: 48px 0 56px;
  }

  .history-club__header {
    margin-bottom: 42px;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
  }

  .history-club__header > img {
    width: 68px;
    height: 68px;
    flex-basis: 68px;
  }

  .history-club__header > div {
    width: 100%;
    min-width: 0;
  }

  .history-club__header h2 {
    max-width: 330px;
    margin-inline: auto;
    font-size: clamp(30px, 8.6vw, 35px);
    overflow-wrap: break-word;
  }

  .history-club__header span {
    font-size: 14px;
  }

  .history-timeline::before {
    left: 6px;
  }

  .history-timeline__item {
    display: block;
    padding: 0 0 34px 27px;
  }

  .history-timeline__marker {
    padding: 0 0 12px;
    text-align: left;
  }

  .history-timeline__year {
    font-size: 27px;
  }

  .history-timeline__dot {
    top: 6px;
    right: auto;
    left: -27px;
  }

  .history-timeline__body {
    padding-bottom: 25px;
  }

  .history-timeline__text,
  .history-story__text {
    font-size: 15px;
    line-height: 1.65;
  }

  .history-media,
  .history-story .history-media {
    aspect-ratio: 4 / 3;
  }

  .history-media-group {
    grid-template-columns: 1fr;
  }

  .history-divider {
    width: calc(100% - 28px);
    gap: 13px;
  }

  .history-divider img {
    width: 66px;
    height: 54px;
  }

  .history-club--pallavolo {
    width: 100%;
    padding-inline: 14px;
  }

  .history-hero__inner > .history-hero__story-label {
    bottom: 22px;
    font-size: 34px;
  }

  .history-story__chapter {
    margin-inline: 0;
    padding: 31px 0;
  }

  .history-story__title {
    font-size: 31px;
  }

  .is-history-reveal-ready .history-reveal--left {
    transform: translate3d(-38px, 0, 0);
  }

  .is-history-reveal-ready .history-reveal--right {
    transform: translate3d(38px, 0, 0);
  }
}

/* Uniform club-logo illumination across every public view. */
img[src*="/ASD Volley Massafra Logo"]:not(.staff-card__watermark),
img[src*="/Pallavolo Massafra Logo"]:not(.staff-card__watermark) {
  mix-blend-mode: normal;
  filter: brightness(1.14) saturate(1.16) drop-shadow(0 0 6px rgba(255, 255, 255, 0.72)) drop-shadow(0 0 5px rgba(8, 164, 220, 0.34));
}

/* Promotional activities */
.activity-page {
  color: var(--navy);
  background: #eef2f5;
}

.activity-shell {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 38px;
}

.activity-hero {
  min-height: 310px;
  color: var(--white);
  background: linear-gradient(90deg, rgba(2, 36, 60, 0.94), rgba(3, 48, 78, 0.72)), url("Immagini/Staff/Sfondo3.jpg") center 38% / cover no-repeat;
  border-bottom: 2px solid var(--gold-light);
}

.activity-hero__inner {
  display: flex;
  width: min(1120px, calc(100% - 48px));
  min-height: 310px;
  margin: 0 auto;
  align-items: center;
  gap: 32px;
}

.activity-hero__logos {
  display: flex;
  flex: 0 0 175px;
  align-items: center;
  justify-content: center;
}

.activity-hero__logos img {
  width: 104px;
  height: 112px;
  margin: 0 -14px;
  object-fit: contain;
}

.activity-hero__inner > div:last-child {
  min-width: 0;
}

.activity-hero p {
  margin: 0 0 8px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.activity-hero h1 {
  margin: 0;
  font-family: "Massafra Display", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(54px, 7.5vw, 88px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.94;
  text-transform: uppercase;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.32);
}

.activity-hero__inner > div:last-child > span {
  display: block;
  max-width: 720px;
  margin-top: 15px;
  font-size: 17px;
  line-height: 1.5;
}

.activity-intro {
  background: var(--white);
}

.activity-intro__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(420px, 0.9fr);
  align-items: center;
  gap: 56px;
}

.activity-intro__copy {
  margin: 0;
  color: #29475e;
  font-size: 18px;
  line-height: 1.75;
}

.activity-facts {
  display: grid;
  margin: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--gold-light);
}

.activity-facts div {
  padding: 20px 13px;
  text-align: center;
}

.activity-facts div + div {
  border-left: 1px solid #d7dfe5;
}

.activity-facts dt {
  margin-bottom: 7px;
  color: #a18310;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.activity-facts dd {
  margin: 0;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.3;
}

.activity-competition[hidden] {
  display: none;
}

.activity-competition {
  background: #eef2f5;
}

.activity-competition__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.activity-competition__grid article {
  min-height: 190px;
  padding: 25px 22px;
  background: var(--white);
  border: 1px solid #d5dee5;
  border-top: 2px solid var(--gold-light);
  text-align: center;
}

.activity-competition__grid article > p,
.activity-calendar-status p {
  margin: 0 0 24px;
  color: #9b7e0f;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.activity-competition__grid article > strong {
  display: block;
  margin-bottom: 12px;
  font-family: "Massafra Display", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 27px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

.activity-competition__grid article > span {
  color: #64798a;
  font-size: 13px;
  line-height: 1.55;
}

.activity-calendar-status {
  display: flex;
  margin-top: 14px;
  padding: 22px 26px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: var(--white);
  background: var(--navy);
  border-left: 4px solid var(--gold-light);
}

.activity-calendar-status p {
  margin-bottom: 5px;
  color: var(--gold-light);
}

.activity-calendar-status h3 {
  margin: 0;
  font-family: "Massafra Display", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

.activity-calendar-status > span {
  max-width: 390px;
  color: #dce7ee;
  font-size: 13px;
  line-height: 1.5;
  text-align: right;
}

.activity-gallery {
  color: var(--white);
  background-color: #041f33;
  background-image:
    linear-gradient(90deg, rgba(214, 188, 89, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, #041f33 0%, rgba(4, 31, 51, 0.95) 42%, rgba(4, 31, 51, 0.62) 100%),
    url("Immagini/Altro/Foto Gallery.jpg");
  background-position: 0 0, center, right center;
  background-repeat: repeat, no-repeat, no-repeat;
  background-size: 82px 100%, 100% 100%, auto 100%;
  border-block: 2px solid var(--gold-light);
}

.activity-gallery__stage {
  position: relative;
  height: min(430px, 50vw);
  min-height: 300px;
  overflow: hidden;
  background: #031b2e;
  border: 1px solid var(--gold-light);
}

.activity-gallery__stage > img {
  width: 100%;
  height: 100%;
  cursor: zoom-in;
  object-fit: cover;
  object-position: center;
}

.activity-gallery__empty {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 34px 22px;
  color: var(--white);
  text-align: center;
  background:
    linear-gradient(145deg, rgba(8, 164, 220, 0.24), transparent 58%),
    rgba(4, 31, 51, 0.94);
}

.activity-gallery__empty[hidden] {
  display: none;
}

.activity-gallery__empty strong {
  color: var(--gold-light);
  font-family: "Massafra Display", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.activity-gallery__empty span {
  max-width: 560px;
  color: #d8e6ed;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.activity-gallery__stage > img.is-changing {
  animation: activity-photo-enter 750ms cubic-bezier(0.22, 1, 0.36, 1);
}

.activity-gallery__stage > img.is-from-left.is-changing {
  animation-name: activity-photo-enter-left;
}

@keyframes activity-photo-enter {
  from { opacity: 0.2; transform: translateX(36px); }
  to { opacity: 1; transform: none; }
}

@keyframes activity-photo-enter-left {
  from { opacity: 0.2; transform: translateX(-36px); }
  to { opacity: 1; transform: none; }
}

.activity-gallery__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(2, 27, 45, 0.48), transparent 38%, transparent 65%, rgba(2, 27, 45, 0.38));
}

.activity-gallery__controls {
  position: absolute;
  right: 22px;
  bottom: 20px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.activity-gallery__controls button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--white);
  background: rgba(3, 34, 57, 0.82);
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  cursor: pointer;
}

.activity-gallery__controls span {
  min-width: 34px;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.activity-gallery__dots {
  position: absolute;
  bottom: 25px;
  left: 24px;
  z-index: 1;
  display: flex;
  gap: 8px;
}

.activity-gallery__dots button {
  width: 24px;
  height: 3px;
  padding: 0;
  background: rgba(255, 255, 255, 0.48);
  border: 0;
  cursor: pointer;
}

.activity-gallery__dots button.is-active {
  background: var(--gold-light);
}

.activity-coach .team-coaches__grid {
  width: min(100%, 646px);
  grid-template-columns: repeat(auto-fit, minmax(280px, 292px));
}

.activity-coach-photo--s3-rosanna {
  scale: 0.9;
  transform: none;
  transform-origin: center bottom;
}

.activity-coach-photo--giocovolley-anna {
  scale: 0.88;
  transform-origin: center bottom;
}

@media (max-width: 820px) {
  .activity-intro__layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .activity-competition__grid {
    grid-template-columns: 1fr;
  }

  .activity-competition__grid article {
    min-height: 0;
  }
}

@media (max-width: 600px) {
  .activity-shell,
  .activity-hero__inner {
    width: calc(100% - 28px);
  }

  .activity-hero__inner {
    min-height: 330px;
    padding: 28px 0 32px;
    flex-direction: column;
    justify-content: center;
    gap: 19px;
    text-align: center;
  }

  .activity-hero__logos {
    width: 100%;
    flex: 0 0 auto;
    gap: 24px;
  }

  .activity-hero__logos img {
    width: 70px;
    height: 82px;
    margin: 0;
  }

  .activity-hero h1 {
    font-size: clamp(40px, 12vw, 50px);
    line-height: 1;
    text-wrap: balance;
  }

  .activity-hero p {
    margin-bottom: 10px;
  }

  .activity-hero__inner > div:last-child > span {
    max-width: 330px;
    margin: 14px auto 0;
    font-size: 14px;
    line-height: 1.45;
    text-wrap: balance;
  }

  .activity-page .team-section__heading {
    margin-bottom: 24px;
    gap: 12px;
  }

  .activity-page .team-section__heading > span {
    min-width: 24px;
  }

  .activity-page .team-section__heading h2 {
    font-size: clamp(34px, 10vw, 43px);
    line-height: 1;
    text-wrap: balance;
  }

  .activity-facts {
    grid-template-columns: 1fr;
  }

  .activity-facts div + div {
    border-top: 1px solid #d7dfe5;
    border-left: 0;
  }

  .activity-calendar-status {
    align-items: flex-start;
    flex-direction: column;
  }

  .activity-calendar-status > span {
    text-align: left;
  }

  .activity-gallery__stage {
    height: 300px;
  }

  .activity-gallery__controls {
    right: 14px;
    bottom: 14px;
  }

  .activity-gallery__dots {
    bottom: 20px;
    left: 14px;
  }

  .activity-gallery-lightbox .gallery-lightbox__close,
  .activity-gallery-lightbox .gallery-lightbox__download {
    top: max(10px, env(safe-area-inset-top));
  }

  .gallery-lightbox__download span {
    display: inline-block;
    font-size: 22px;
    line-height: 1;
    transform: scaleY(0.72);
    transform-origin: center;
  }
}

/* Mobile presentation corrections. Desktop rules intentionally remain unchanged. */
.mobile-menu__header,
.mobile-menu__backdrop,
.mobile-contact-clubs {
  display: none;
}

@media (max-width: 760px) {
  body.is-mobile-menu-open {
    overflow: hidden;
  }

  .primary-nav {
    position: sticky;
    top: 0;
    z-index: 100;
  }

  .primary-nav.is-stuck,
  .primary-nav.is-fixed-mobile {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
  }

  .site-header.has-fixed-mobile-nav {
    padding-bottom: var(--nav-height);
  }

  .menu-toggle {
    height: var(--nav-height);
    padding: 0 18px;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    line-height: 1;
  }

  .menu-toggle__icon {
    width: 24px;
    height: 18px;
    flex: 0 0 24px;
  }

  .menu-toggle__icon::before,
  .menu-toggle__icon span,
  .menu-toggle__icon::after {
    right: 0;
    left: 0;
    width: 24px;
    height: 2px;
  }

  .menu-toggle__icon::before { top: 0; }
  .menu-toggle__icon span { top: 8px; }
  .menu-toggle__icon::after { top: 16px; }

  .mobile-menu__backdrop {
    position: fixed;
    z-index: 98;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    visibility: hidden;
    opacity: 0;
    background: rgba(1, 17, 29, 0.62);
    border: 0;
    cursor: pointer;
    transition: opacity 300ms ease, visibility 300ms ease;
  }

  body.is-mobile-menu-open .mobile-menu__backdrop {
    visibility: visible;
    opacity: 1;
  }

  .main-menu,
  .main-menu.is-open {
    position: fixed;
    z-index: 101;
    top: 0;
    right: auto;
    bottom: 0;
    left: 0;
    display: flex;
    width: min(86vw, 350px);
    height: 100dvh;
    max-height: none;
    padding: 0 0 24px;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    background: var(--white);
    border-right: 2px solid var(--gold-light);
    border-bottom: 0;
    box-shadow: 18px 0 44px rgba(1, 17, 29, 0.3);
    transform: translate3d(-104%, 0, 0);
    transition:
      transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
      opacity 260ms ease,
      visibility 420ms ease;
  }

  .main-menu.is-open {
    visibility: visible;
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  .mobile-menu__header {
    position: sticky;
    top: 0;
    z-index: 4;
    display: flex;
    min-height: 64px;
    padding: 0 18px 0 22px;
    flex: 0 0 64px;
    align-items: center;
    justify-content: space-between;
    color: var(--white);
    background: var(--navy);
    border-bottom: 3px solid var(--gold-light);
    font-size: 17px;
    font-weight: 900;
    text-transform: uppercase;
  }

  .mobile-menu__close {
    position: relative;
    display: grid;
    width: 40px;
    height: 40px;
    padding: 0;
    place-items: center;
    color: var(--white);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 50%;
    cursor: pointer;
    font-size: 30px;
    line-height: 1;
  }

  .mobile-menu__close span {
    display: none;
  }

  .mobile-menu__close::before,
  .mobile-menu__close::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    content: "";
    background: currentColor;
    border-radius: 999px;
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .mobile-menu__close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .menu-item {
    width: 100%;
    flex: 0 0 auto;
  }

  .menu-item__toggle {
    min-height: 58px;
    height: auto;
    padding: 14px 20px 14px 22px;
    justify-content: space-between;
    gap: 12px;
    color: var(--navy);
    font-size: 15px;
    line-height: 1.08;
    text-align: left;
    white-space: normal;
  }

  .menu-item__toggle--multiline {
    text-align: left;
  }

  .menu-item__toggle > span:first-child,
  .menu-item__toggle--multiline {
    min-width: 0;
    overflow-wrap: normal;
    word-break: normal;
  }

  .menu-item__chevron {
    flex: 0 0 7px;
  }

  .submenu,
  .submenu--right {
    max-width: 100%;
    overflow: hidden;
  }

  .submenu a {
    max-width: 100%;
    padding: 12px 20px 12px 28px;
    box-sizing: border-box;
  }

  .hero-video {
    margin-bottom: 190px;
  }

  .fipav-panel {
    top: 8px;
    right: 22px;
    bottom: auto;
    left: auto;
    width: min(174px, 34vw);
    height: clamp(66px, 15vw, 82px);
    transform: none;
    animation: none;
  }

  .hero-news {
    bottom: -92px;
  }

  .hero-news__heading {
    top: calc(100% + 13px);
    bottom: auto;
    left: 48px;
    color: var(--navy);
    text-shadow: 0 0 7px rgba(255, 255, 255, 0.95);
  }

  .hero-news__heading strong {
    color: var(--navy);
  }

  .hero-news__archive {
    top: calc(100% + 52px);
    left: 48px;
  }

  .follow-us__divider {
    width: 100%;
    max-width: none;
  }

  .sponsors-showcase.is-reveal-ready .sponsor-logo,
  .sponsors-showcase.is-reveal-ready .sponsor-logo.is-visible {
    top: 0;
    visibility: visible;
    opacity: 1;
    animation: none;
    transform: none;
  }

  .sponsors-showcase__logos {
    overflow: visible;
  }

  .sponsor-logo {
    background: transparent;
  }

  .sponsor-logo img,
  .sponsor-logo--checker-background img {
    background: transparent;
    mix-blend-mode: normal;
  }

  .team-unavailable--dark {
    min-height: 132px;
    padding: 20px 14px;
  }

  .team-unavailable--dark strong {
    max-width: 100%;
    width: 100%;
    font-size: clamp(20px, 5.8vw, 23px);
    line-height: 1.05;
    overflow-wrap: anywhere;
    text-wrap: balance;
    white-space: normal;
  }

  .team-unavailable--dark span {
    font-size: 13px;
    line-height: 1.4;
  }

  .home-page .news-showcase__inner {
    padding-bottom: 26px;
  }

  .next-matches-recap {
    width: 100%;
    min-width: 0;
  }

  .next-matches-recap__header {
    width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
    justify-items: stretch;
  }

  .next-matches-recap__header > div:first-child {
    width: 100vw;
    max-width: 100vw;
    min-width: 0;
    margin-inline: calc(50% - 50vw);
    justify-self: center;
    text-align: center;
  }

  .hero-youtube.next-matches-recap__youtube {
    justify-self: center;
  }

  .championships__grid {
    width: min(calc(100% - 28px), 326px);
    margin-inline: auto;
    gap: 40px;
  }

  .championship-card__badge {
    width: 60px;
    height: 60px;
  }

  .championship-card > strong {
    padding: 35px 12px 17px;
    font-size: 16px;
  }

  .site-footer__clubs {
    gap: 24px;
  }

  .site-footer__divider {
    width: 100%;
    max-width: none;
  }

  .site-footer__donation {
    margin-top: 34px;
  }

  .is-history-reveal-ready .history-story__copy.history-reveal,
  .is-history-reveal-ready .history-story__copy.history-reveal--left,
  .is-history-reveal-ready .history-story__copy.history-reveal--right {
    visibility: visible;
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }

  .history-story__copy.history-reveal.is-typing [data-history-type],
  .history-story__copy.history-reveal.is-typing .history-story__text,
  .history-story__copy.history-reveal.is-typing .history-timeline__text {
    clip-path: none;
    animation: none;
  }

  .history-story__text,
  .history-timeline__text,
  .history-story__season p {
    text-align: justify;
    text-align-last: left;
    hyphens: auto;
  }

  .team-standings th:nth-child(7),
  .team-standings td:nth-child(7) {
    display: none;
  }

  .team-standing__identity {
    min-width: 0;
  }

  .team-calendar__youtube {
    grid-template-columns: 40px minmax(0, 1fr) 18px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-right: 0;
    margin-left: 0;
    padding: 8px 10px;
    box-sizing: border-box;
    overflow: hidden;
  }

  .team-calendar__youtube .hero-youtube__icon {
    width: 40px;
    height: 40px;
  }

  .team-calendar__youtube .hero-youtube__copy {
    min-width: 0;
  }

  .team-calendar__youtube .hero-youtube__copy strong {
    overflow-wrap: normal;
    word-break: normal;
  }

  .player-application__form,
  .player-application__form .sponsor-form__grid,
  .player-application__form .sponsor-field {
    min-width: 0;
    max-width: 100%;
  }

  .player-application__form input[type="date"] {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    inline-size: 100%;
    max-inline-size: 100%;
    -webkit-appearance: none;
    appearance: none;
  }

  .mobile-contact-clubs {
    display: flex;
    width: 100%;
    min-height: 76px;
    margin: 16px 0 10px;
    padding: 8px 14px;
    align-items: center;
    justify-content: center;
    gap: 22px;
    background: rgba(238, 243, 246, 0.76);
    border-block: 1px solid rgba(214, 188, 89, 0.72);
  }

  .mobile-contact-clubs img {
    width: 62px;
    height: 62px;
    object-fit: contain;
  }

  .mobile-contact-clubs span {
    width: 1px;
    height: 42px;
    background: var(--gold-light);
  }

  .contact-preview__people > .mobile-contact-clubs {
    margin-inline: 0;
  }

  .contact-preview__people .contact-person__logo,
  .info-contact-grid .contact-person__logo {
    display: none;
  }

  .contact-preview__people .contact-person,
  .info-contact-grid .contact-person,
  .info-contact-grid .contact-person:nth-child(even) {
    grid-template-columns: minmax(0, 1fr);
  }

  .info-contact-grid .contact-person:nth-child(even) > div {
    justify-items: center;
    text-align: center;
  }

  .contact-preview__people .contact-person > div,
  .info-contact-grid .contact-person > div,
  .info-contact-grid .contact-person:nth-child(odd) > div,
  .info-contact-grid .contact-person:nth-child(even) > div {
    width: 100%;
    justify-items: center;
    text-align: center;
  }

  .info-page .info-intro__copy,
  .info-page .info-section__header,
  .info-page .info-location > div:first-child,
  .info-page .info-video__copy,
  .info-page .play-callout > div {
    max-width: none;
    justify-items: center;
    text-align: center;
  }

  .info-page .info-intro__copy > p:last-child,
  .info-page .info-video p {
    margin-right: auto;
    margin-left: auto;
  }

  .info-page .info-intro__donation {
    justify-items: center;
    padding: 16px 0 0;
    text-align: center;
    border-left: 0;
    border-top: 2px solid var(--gold-light);
  }

  .info-page .info-section__header {
    width: 100%;
  }

  .info-page .info-location address {
    text-align: center;
  }

  .info-page .info-location__directions {
    justify-content: center;
  }
}

/* Keep the new structure presentation above the legacy structure rules. */
.structure-picker.is-entering .structure-choice--left {
  animation: structure-choice-enter-left 980ms 80ms cubic-bezier(0.16, 0.82, 0.24, 1) both !important;
}

.structure-picker.is-entering .structure-choice--right {
  animation: structure-choice-enter-right 980ms 80ms cubic-bezier(0.16, 0.82, 0.24, 1) both !important;
}

@keyframes structure-choice-enter-left {
  from {
    opacity: 0;
    transform: translateX(-160px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes structure-choice-enter-right {
  from {
    opacity: 0;
    transform: translateX(160px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.structure-choice {
  transition:
    top 820ms cubic-bezier(0.16, 0.82, 0.24, 1),
    left 820ms cubic-bezier(0.16, 0.82, 0.24, 1),
    width 820ms cubic-bezier(0.16, 0.82, 0.24, 1),
    height 820ms cubic-bezier(0.16, 0.82, 0.24, 1),
    opacity 520ms ease,
    transform 820ms cubic-bezier(0.16, 0.82, 0.24, 1),
    box-shadow 320ms ease;
}

.structure-picker.is-focused .structure-choice.is-selected {
  top: 0;
  left: 50%;
  width: min(72%, 820px);
  height: 300px;
  transform: translateX(-50%);
}

.structure-switcher {
  scroll-margin-top: 82px;
  margin-top: 4px;
}

.structure-detail {
  display: block;
  min-height: 0;
  border-bottom: 3px solid var(--gold-light);
  transform: translateY(38px) scale(0.985);
  transition:
    opacity 720ms ease,
    transform 980ms cubic-bezier(0.16, 0.82, 0.24, 1);
}

.structure-detail.is-visible {
  transform: translateY(0) scale(1);
}

.structure-detail__copy {
  display: block;
  padding: 0;
}

.structure-detail__facts {
  margin: 0;
  padding: 20px 0;
  border-top: 1px solid #cbd9e1;
  border-bottom: 1px solid #cbd9e1;
}

.structure-detail__directions {
  margin-top: 22px;
}

@media (max-width: 900px) {
  .structure-detail {
    grid-template-columns: none;
  }
}

@media (max-width: 760px) {
  .structure-picker.is-focused .structure-choice.is-selected {
    left: 0;
    width: 100%;
    height: 294px;
    transform: none;
  }

  .structure-detail__copy {
    padding: 0;
  }
}

/* Geometric icons keep circular controls centered independently of font metrics. */
button[aria-label^="Chiudi"] {
  display: grid;
  padding: 0;
  place-items: center;
  font-size: 0 !important;
  line-height: 0 !important;
}

button[aria-label^="Chiudi"] > span {
  display: none !important;
}

button[aria-label^="Chiudi"]::before,
button[aria-label^="Chiudi"]::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  margin: 0;
  padding: 0;
  content: "";
  pointer-events: none;
  background: currentColor;
  border: 0;
  border-radius: 999px;
  transform-origin: center;
}

button[aria-label^="Chiudi"]::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

button[aria-label^="Chiudi"]::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.structure-story__control,
.team-month-calendar__navigation button,
.calendar-arrow,
.match-galleries__controls button,
.news-showcase__controls button,
.team-match-navigator__controls button,
.team-player__controls button,
.activity-gallery__controls button {
  position: relative;
}

.mobile-menu__close,
.news-article__thumbnail-nav {
  position: relative;
}

@media (max-width: 760px) {
  .calendar-arrow {
    position: absolute;
  }
}

button[aria-label*="precedent"],
button[aria-label*="successiv"],
button[aria-label*="indietro"],
button[aria-label*="avanti"] {
  --control-arrow-direction: 1;
  display: grid;
  padding: 0;
  place-items: center;
  font-size: 0 !important;
  line-height: 0 !important;
}

button[aria-label*="precedent"],
button[aria-label*="indietro"] {
  --control-arrow-direction: -1;
}

button[aria-label*="precedent"] > span,
button[aria-label*="successiv"] > span,
button[aria-label*="indietro"] > span,
button[aria-label*="avanti"] > span {
  display: none !important;
}

button[aria-label*="precedent"]::before,
button[aria-label*="successiv"]::before,
button[aria-label*="indietro"]::before,
button[aria-label*="avanti"]::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 14px;
  content: "";
  pointer-events: none;
  background: currentColor;
  clip-path: polygon(0 43%, 66% 43%, 50% 12%, 100% 50%, 50% 88%, 66% 57%, 0 57%);
  transform: translate(-50%, -50%) scaleX(var(--control-arrow-direction));
  transform-origin: center;
}

button[aria-label*="precedent"]::after,
button[aria-label*="successiv"]::after,
button[aria-label*="indietro"]::after,
button[aria-label*="avanti"]::after {
  display: none !important;
  content: none !important;
}

.news-article__cover-open,
.news-article__preview-icon,
.gallery-lightbox__download {
  display: grid;
  place-items: center;
  font-size: 0 !important;
  line-height: 0 !important;
}

.news-article__cover-open > span,
.gallery-lightbox__download > span {
  display: none !important;
}

.news-article__cover-open::before,
.news-article__preview-icon::before,
.gallery-lightbox__download::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 17px;
  height: 13px;
  content: "";
  pointer-events: none;
  background: currentColor;
  clip-path: polygon(0 43%, 66% 43%, 50% 12%, 100% 50%, 50% 88%, 66% 57%, 0 57%);
  transform: translate(-50%, -50%) rotate(-45deg);
  transform-origin: center;
}

.gallery-lightbox__download::before {
  transform: translate(-50%, -50%) rotate(90deg);
}

.mobile-menu__backdrop {
  display: none !important;
}

body.is-mobile-menu-open .mobile-menu__backdrop {
  display: block !important;
}

.mobile-menu__backdrop::before,
.mobile-menu__backdrop::after {
  display: none !important;
  content: none !important;
}

button[hidden] {
  display: none !important;
}

/* Keep every modal scrollable without showing browser scrollbars. */
:where(dialog, [role="dialog"]),
:where(dialog, [role="dialog"]) * {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

:where(dialog, [role="dialog"])::-webkit-scrollbar,
:where(dialog, [role="dialog"]) *::-webkit-scrollbar {
  width: 0;
  height: 0;
}
