/* ============================================================
   Alpha Voleibol Club - Hub oficial de competiciones
   Alcance: torneos.html. Los datos sin confirmar no se inventan.
   ============================================================ */

.tournaments-hub {
  padding: clamp(3rem, 7vw, 6rem) 0;
  background: #ffffff;
  color: var(--alpha-navy);
}

.tournaments-hub__header,
.tournament-collection__heading {
  max-width: 720px;
}

.tournaments-hub__header h2,
.tournament-collection__heading h2,
.tournament-history h2 {
  margin: 0;
  color: var(--alpha-navy);
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5.8vw, 4.5rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 0.98;
}

.tournaments-hub__header p,
.tournament-collection__heading p {
  max-width: 65ch;
  margin: 0.85rem 0 0;
  color: #46566b;
  line-height: 1.65;
}

.tournaments-hub__nav {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.9fr;
  gap: 1px;
  margin: clamp(1.75rem, 4vw, 3rem) 0 1rem;
  overflow: hidden;
  border: 1px solid #d7e0eb;
  border-radius: var(--r-lg);
  background: #d7e0eb;
}

.tournaments-hub__nav a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: center;
  min-width: 0;
  padding: 1.2rem 1.35rem;
  background: #f4f7fb;
  color: var(--alpha-navy);
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}

.tournaments-hub__nav a:hover,
.tournaments-hub__nav a:focus-visible {
  background: var(--alpha-navy);
  color: #ffffff;
}

.tournaments-hub__nav strong {
  color: var(--alpha-gold);
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 1;
}

.tournaments-hub__nav span {
  font-weight: 800;
  line-height: 1.2;
}

.tournaments-hub__taxonomy {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--r-lg);
  background: var(--alpha-navy);
  color: #ffffff;
}

.tournaments-hub__taxonomy div {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.tournaments-hub__taxonomy span {
  color: var(--alpha-gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.tournaments-hub__taxonomy strong {
  font-size: 0.9rem;
  line-height: 1.4;
}

.tournament-collection {
  padding-top: clamp(3rem, 6vw, 5rem);
  scroll-margin-top: 110px;
}

.tournament-card {
  display: grid;
  grid-template-columns: minmax(150px, 0.22fr) 1fr;
  margin-top: 1.5rem;
  overflow: hidden;
  border: 1px solid #d7e0eb;
  border-radius: var(--r-lg);
  background: #f4f7fb;
  box-shadow: 0 18px 48px rgba(11, 31, 58, 0.08);
}

.tournament-card__status {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100%;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  padding: 1.5rem;
  background: var(--alpha-navy);
  color: var(--alpha-gold);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: 0.03em;
  text-align: center;
}

.tournament-card__status-avatar {
  position: absolute;
  z-index: -1;
  inset: auto 50% 0 auto;
  width: min(118%, 215px);
  height: 116%;
  object-fit: contain;
  object-position: center bottom;
  transform: translate(50%, 11.39%) scaleX(-1);
  pointer-events: none;
}

.tournament-card__status-label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  padding: 0.35rem 0.6rem;
  border: 1px solid rgba(245, 197, 24, 0.35);
  border-radius: 0.5rem;
  background: rgba(11, 31, 58, 0.82);
  backdrop-filter: blur(3px);
}

.tournament-card__body {
  padding: clamp(1.4rem, 4vw, 2.4rem);
}

.tournament-card__branch {
  margin: 0 0 0.4rem;
  color: #526278;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tournament-card h3 {
  margin: 0;
  color: var(--alpha-navy);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.1;
}

.tournament-card__meta,
.tournament-detail-intro__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.4rem 0 0;
}

.tournament-card__meta div,
.tournament-detail-intro__meta div {
  min-width: 0;
}

.tournament-card__meta dt,
.tournament-detail-intro__meta dt {
  margin-bottom: 0.25rem;
  color: #5b6b7e;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tournament-card__meta dd,
.tournament-detail-intro__meta dd {
  margin: 0;
  color: var(--alpha-navy);
  font-weight: 800;
}

.tournament-card__summary {
  max-width: 60ch;
  margin: 1.4rem 0 0;
  color: #46566b;
  line-height: 1.55;
}

.tournament-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.25rem;
  padding: 0.75rem 1rem;
  border-radius: var(--r-md);
  background: var(--alpha-gold);
  color: var(--alpha-navy);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 180ms ease, background-color 180ms ease;
}

.tournament-card__link:hover,
.tournament-card__link:focus-visible {
  background: #f3cf3e;
  transform: translateY(-2px);
}

.tournament-card__link:active {
  transform: translateY(1px);
}

.tournament-empty {
  display: grid;
  gap: 0.45rem;
  margin-top: 1.5rem;
  padding: clamp(1.4rem, 4vw, 2rem);
  border: 1px dashed #9bacc0;
  border-radius: var(--r-lg);
  background: #f4f7fb;
  color: #46566b;
}

.tournament-empty strong {
  color: var(--alpha-navy);
  font-size: 1.05rem;
}

.tournament-detail-intro {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  scroll-margin-top: 110px;
  background: #eef3f8;
  color: var(--alpha-navy);
}

.tournament-detail-intro__heading {
  max-width: 760px;
}

.tournament-detail-intro__heading p {
  margin: 0 0 0.45rem;
  color: #526278;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tournament-detail-intro__heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  font-weight: 400;
  line-height: 0.98;
}

.tournament-detail-intro__heading span {
  display: block;
  margin-top: 0.85rem;
  color: #46566b;
  line-height: 1.6;
}

.tournament-detail-intro__meta {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  padding: 1.25rem;
  border-radius: var(--r-lg);
  background: #ffffff;
  box-shadow: inset 0 0 0 1px #d7e0eb;
}

.tournament-detail-intro__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.tournament-detail-intro__nav a {
  padding: 0.7rem 0.9rem;
  border: 1px solid #b7c4d2;
  border-radius: var(--r-md);
  background: #ffffff;
  color: var(--alpha-navy);
  font-weight: 800;
  text-decoration: none;
}

.tournament-detail-intro__nav a:hover,
.tournament-detail-intro__nav a:focus-visible {
  border-color: var(--alpha-gold);
  background: #fff8d9;
}

.tournament-history {
  padding: clamp(3rem, 7vw, 6rem) 0;
  scroll-margin-top: 110px;
  background: #f4f7fb;
  color: var(--alpha-navy);
}

.tournament-empty--history {
  background: #ffffff;
}

.tournament-calendar {
  padding: clamp(3rem, 7vw, 6rem) 0;
  background: #f4f7fb;
  color: var(--alpha-navy);
}

.page-hero__inner {
  position: relative;
  overflow: visible;
  padding-right: min(34vw, 390px);
}

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 416px;
}

.page-hero__title,
.page-hero__sub,
.page-hero__kicker {
  position: relative;
  z-index: 2;
}

.page-hero__mascot {
  position: absolute;
  z-index: 1;
  right: clamp(1rem, 5vw, 4rem);
  bottom: -1.6rem;
  width: clamp(155px, 18vw, 245px);
  height: auto;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.22));
  pointer-events: none;
}

.page-hero__mascot--yellow {
  right: clamp(0.5rem, 5vw, 4.5rem);
  bottom: 0;
  width: auto;
  height: 108%;
  max-width: 33.6vw;
  object-fit: contain;
  object-position: center bottom;
  clip-path: inset(0 0 30% 0);
  transform: translateY(30%);
  filter: none;
  mix-blend-mode: screen;
}

.page-hero__visual {
  position: absolute;
  z-index: 1;
  right: clamp(1rem, 4vw, 3rem);
  bottom: -1.6rem;
  width: clamp(330px, 38vw, 510px);
  height: calc(100% + 1.6rem);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  object-fit: cover;
  object-position: center 32%;
  box-shadow: 0 20px 40px rgba(4, 18, 36, 0.28);
}

.tournament-calendar__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 250px);
  gap: 1.5rem;
  align-items: end;
  min-height: 230px;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  padding: 1.25rem clamp(1.25rem, 3vw, 2rem) 0;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: linear-gradient(115deg, #ffffff 0%, #ffffff 63%, #e5f7f5 100%);
  box-shadow: inset 0 0 0 1px #d7e0eb;
}

.tournament-calendar__intro .tournament-calendar__header {
  align-self: center;
  margin-bottom: 1.25rem;
}

.tournament-calendar__mascot {
  align-self: end;
  justify-self: center;
  width: min(100%, 230px);
  height: 230px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 16px 24px rgba(11, 31, 58, 0.16));
}

.tournament-calendar__visual {
  align-self: stretch;
  width: 100%;
  height: 230px;
  border-radius: var(--r-md) var(--r-md) 0 0;
  object-fit: cover;
  object-position: center;
}

.tournament-calendar__header {
  max-width: 680px;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.tournament-calendar__header h2 {
  margin: 0;
  color: var(--alpha-navy);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 0.98;
}

.tournament-calendar__header p {
  max-width: 58ch;
  margin: 0.85rem 0 0;
  color: #46566b;
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 1.65;
}

.calendar-status-note {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) 1fr;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
  padding: 1rem 1.25rem;
  border-left: 5px solid var(--alpha-gold);
  border-radius: var(--r-md);
  background: #fff4bf;
  color: #29394d;
}

.calendar-status-note strong {
  color: var(--alpha-navy);
  font-size: 0.95rem;
}

.calendar-status-note span {
  line-height: 1.5;
}

.tournament-entry {
  display: grid;
  grid-template-columns: minmax(180px, 0.27fr) 1fr;
  overflow: hidden;
  border: 1px solid #d7e0eb;
  border-radius: var(--r-lg);
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(11, 31, 58, 0.08);
}

.tournament-entry__date {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.4rem, 3vw, 2.25rem);
  background: var(--alpha-navy);
  color: #ffffff;
}

.tournament-entry__date span {
  color: var(--alpha-gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.tournament-entry__date strong {
  max-width: 8ch;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 0.95;
}

.tournament-entry__content {
  padding: clamp(1.4rem, 4vw, 2.5rem);
}

.tournament-entry__heading {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid #dfe6ef;
}

.tournament-entry__label {
  display: block;
  margin-bottom: 0.45rem;
  color: #526278;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tournament-entry__heading h3 {
  margin: 0;
  color: var(--alpha-navy);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.15;
}

.tournament-entry__status {
  flex: 0 0 auto;
  padding: 0.55rem 0.8rem;
  border: 1px solid #a87800;
  border-radius: var(--r-sm);
  background: var(--alpha-gold);
  color: var(--alpha-navy);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.tournament-entry__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 2rem;
  margin: 1.5rem 0 0;
}

.tournament-entry__details div {
  min-width: 0;
}

.tournament-entry__details dt {
  margin-bottom: 0.35rem;
  color: #5b6b7e;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.tournament-entry__details dd {
  margin: 0;
  color: var(--alpha-navy);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.calendar-confirmation-note {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) 1fr;
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 1.3rem 1.5rem;
  border-radius: var(--r-md);
  background: #e7edf5;
}

.calendar-confirmation-note h3,
.calendar-confirmation-note p {
  margin: 0;
}

.calendar-confirmation-note h3 {
  color: var(--alpha-navy);
  font-size: 1rem;
}

.calendar-confirmation-note p {
  color: #46566b;
  line-height: 1.55;
}

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

@media (max-width: 767px) {
  .page-hero {
    min-height: 0;
  }

  .page-hero__inner {
    padding-right: 0;
  }

  .tournaments-hub__nav,
  .tournaments-hub__taxonomy,
  .tournament-card,
  .tournament-card__meta,
  .tournament-detail-intro__meta {
    grid-template-columns: 1fr;
  }

  .tournaments-hub__nav a {
    grid-template-columns: 44px 1fr;
  }

  .tournaments-hub__taxonomy {
    gap: 1.1rem;
  }

  .tournament-card__status {
    min-height: 132px;
    align-items: center;
    justify-content: flex-start;
    padding: 1rem 46% 1rem 1.25rem;
  }

  .tournament-card__status-avatar {
    inset: auto 0 0 auto;
    width: 52%;
    height: 165%;
    object-position: center top;
    transform: translateY(11.39%) scaleX(-1);
  }

  .tournament-card__status-label {
    font-size: 1.4rem;
  }

  .tournament-detail-intro__nav {
    display: grid;
  }

  .tournament-detail-intro__nav a {
    text-align: center;
  }

  .page-hero__mascot,
  .page-hero__visual {
    display: none;
  }

  .tournament-calendar__intro {
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 0.35rem;
    min-height: 190px;
    padding-right: 0.4rem;
  }

  .tournament-calendar__intro .tournament-calendar__header {
    margin-bottom: 0.8rem;
  }

  .tournament-calendar__mascot {
    width: 112px;
    height: 180px;
  }

  .tournament-calendar__visual {
    width: 112px;
    height: 180px;
    border-radius: var(--r-md) var(--r-md) 0 0;
  }

  .calendar-status-note,
  .tournament-entry,
  .calendar-confirmation-note {
    grid-template-columns: 1fr;
  }

  .tournament-entry__date {
    min-height: 0;
    gap: 1.5rem;
  }

  .tournament-entry__date strong {
    max-width: none;
  }

  .tournament-entry__heading {
    flex-direction: column;
    gap: 1rem;
  }

  .tournament-entry__details {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tournament-calendar *,
  .tournament-calendar *::before,
  .tournament-calendar *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Fases del Torneo Femenino U12 2026 */
.phase-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.phase-overview__item {
  display: grid;
  gap: 0.35rem;
  padding: 1.2rem 1.35rem;
  border: 1px solid #d7e0eb;
  border-radius: var(--r-lg);
  background: #ffffff;
  color: var(--alpha-navy);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.phase-overview__item:hover,
.phase-overview__item:focus-visible {
  transform: translateY(-2px);
  border-color: var(--alpha-gold);
  box-shadow: 0 12px 28px rgba(11, 31, 58, 0.1);
}

.phase-overview__item span,
.phase-section-heading__index {
  color: #526278;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.phase-overview__item strong {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

.phase-overview__item small {
  color: #53647a;
  font-weight: 700;
}

.phase-overview__item--next {
  border-color: #d5a900;
  box-shadow: inset 5px 0 0 var(--alpha-gold);
}

.phase-schedule,
.standings {
  overflow: hidden;
  border: 1px solid #d7e0eb;
  border-radius: var(--r-lg);
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(11, 31, 58, 0.08);
}

.phase-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.4rem, 4vw, 2.25rem);
  background: var(--alpha-navy);
  color: #ffffff;
}

.phase-schedule .phase-section-heading {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 188px;
}

.phase-section-heading__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 58%;
}

.phase-section-heading__mascots {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 355px;
  height: auto;
  max-width: 42vw;
  max-height: 218px;
  object-fit: contain;
  object-position: right bottom;
  filter: none;
  pointer-events: none;
}

.phase-section-heading h2,
.phase-section-heading h3,
.phase-section-heading p {
  margin: 0;
}

.phase-section-heading h2,
.phase-section-heading h3 {
  margin-top: 0.25rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1;
}

.phase-section-heading p {
  margin-top: 0.55rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}

.phase-section-heading__index {
  color: var(--alpha-gold);
}

.phase-status {
  flex: 0 0 auto;
  padding: 0.55rem 0.75rem;
  border-radius: var(--r-sm);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.phase-status--confirmed {
  background: var(--alpha-gold);
  color: var(--alpha-navy);
}

.phase-section-heading__copy .phase-status--confirmed {
  margin-top: 0.75rem;
}

.phase-status--complete {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #ffffff;
}

.schedule-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: #dfe6ef;
}

.schedule-match {
  display: grid;
  grid-template-columns: 40px minmax(112px, 0.45fr) minmax(0, 1fr);
  gap: 0.7rem 1rem;
  align-items: center;
  padding: 1rem 1.15rem;
  background: #ffffff;
}

.schedule-match__number {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: var(--r-sm);
  background: var(--alpha-navy);
  color: #ffffff;
  font-weight: 800;
}

.schedule-match time {
  color: #4c5d72;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 700;
}

.schedule-match strong {
  color: var(--alpha-navy);
  line-height: 1.35;
}

.schedule-match strong span {
  padding: 0 0.25rem;
  color: #69788a;
  font-size: 0.78rem;
  font-weight: 600;
}

.schedule-match small {
  grid-column: 2 / -1;
  color: #5d6d80;
}

.schedule-match--final {
  background: #fff4bf;
}

.schedule-notes {
  display: grid;
  grid-template-columns: minmax(140px, 0.25fr) 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.2rem 1.4rem;
  background: #e7edf5;
}

.schedule-notes strong {
  color: var(--alpha-navy);
}

.schedule-notes ul {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding-left: 1.15rem;
  color: #46566b;
  line-height: 1.5;
}

.phase-results {
  padding: clamp(3rem, 7vw, 6rem) 0;
  background: #ffffff;
}

.phase-section-heading--results {
  border-radius: var(--r-lg);
}

.match-results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}

.result-card {
  position: relative;
  min-width: 0;
  padding: 1.25rem;
  border-radius: var(--r-lg);
  background: var(--alpha-navy);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(11, 31, 58, 0.12);
}

.result-card__number {
  display: grid;
  width: 30px;
  height: 30px;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: var(--r-sm);
  background: var(--alpha-gold);
  color: var(--alpha-navy);
  font-weight: 900;
}

.result-card__teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.6rem;
  align-items: center;
  text-align: center;
}

.result-card__teams span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.result-card__teams .is-winner {
  color: #ffffff;
}

.result-card__teams strong {
  color: var(--alpha-gold);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  white-space: nowrap;
}

.result-card p {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  text-align: center;
}

.standings__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  background: var(--alpha-navy);
  color: #ffffff;
}

.standings__heading h3,
.standings__heading p {
  margin: 0;
}

.standings__heading h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
}

.standings__heading p {
  max-width: 44ch;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.standings__scroll {
  overflow-x: auto;
  scrollbar-color: var(--alpha-gold) #e7edf5;
}

.standings table {
  width: 100%;
  min-width: 960px;
  border-collapse: collapse;
  color: var(--alpha-navy);
  font-variant-numeric: tabular-nums;
}

.standings th,
.standings td {
  padding: 0.85rem 0.7rem;
  border-bottom: 1px solid #e2e8f0;
  text-align: center;
  white-space: nowrap;
}

.standings thead th {
  background: #e7edf5;
  color: #4d5f75;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.standings tbody th {
  min-width: 190px;
  text-align: left;
}

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

.rank-medal,
.rank-number {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  font-weight: 900;
}

.rank-gold {
  background: #fff8d9;
}

.rank-gold .rank-medal {
  background: #d8a400;
  color: #ffffff;
}

.rank-silver .rank-medal {
  background: #a8b0bb;
  color: #ffffff;
}

.rank-bronze .rank-medal {
  background: #a96832;
  color: #ffffff;
}

.rank-number {
  background: #e7edf5;
}

.phase-results__legend {
  margin: 1rem 0 0;
  color: #53647a;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 900px) {
  .match-results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .schedule-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .phase-overview,
  .match-results-grid {
    grid-template-columns: 1fr;
  }

  .phase-section-heading,
  .standings__heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .phase-schedule .phase-section-heading {
    min-height: 0;
  }

  .phase-section-heading__copy {
    max-width: 100%;
  }

  .phase-section-heading__mascots {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 230px;
    height: auto;
    max-width: 56vw;
    max-height: 145px;
    margin: 0;
  }

  .schedule-match {
    grid-template-columns: 38px 1fr;
  }

  .schedule-match time,
  .schedule-match strong,
  .schedule-match small {
    grid-column: 2;
  }

  .schedule-match strong {
    font-size: 1.05rem;
  }

  .schedule-notes {
    grid-template-columns: 1fr;
  }

  .standings__heading p {
    display: block;
  }
}
