/* ==========================================================================
   Tournaments — listing (tournament.html) + detail (tournament-detail.html)
   Figma: GS Website — Tournaments (4709:491 / 4709:1525 / 4731:831)
   ========================================================================== */

:root {
  --tn-black: #0d0d12;
  --tn-gray: #666d80;
  --tn-blue: #2970ff;
  --tn-fern: #79efb3;
  --tn-mint: #c0ffeb;
  --tn-border: #e9eaec;
  --tn-line: #dfe1e7;
}

/* --------------------------------------------------------------------------
   Hero — reuses .products-hero markup, adds the tournament backdrop
   -------------------------------------------------------------------------- */
.tournament-hero {
  background: url("../assets/pages/tournament/tournament.jpg") no-repeat center
    right / cover;
  min-height: 800px;
  display: flex;
  align-items: center;
  padding: 60px 0;
  /* the shared hero divider animates in from +100px — clip it, as .products-hero does elsewhere */
  overflow: hidden;
}

.tournament-hero .products-hero__title {
  font-family: "Clash Display", sans-serif;
  font-weight: 500;
  font-size: clamp(34px, 4.6vw, 72px);
  line-height: 1.25;
  max-width: 934px;
}

.tournament-hero .products-hero__description {
  max-width: 819px;
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.75;
  color: var(--tn-black);
  margin-top: 20px;
}

.tournament-hero .products-hero__description + .products-hero__description {
  margin-top: 24px;
}

/* --------------------------------------------------------------------------
   Listing section
   -------------------------------------------------------------------------- */
.tournament-list {
  padding: 60px 0 40px;
  background: #fff;
}

.tournament-list__header {
  text-align: center;
  margin-bottom: 40px;
}

.tournament-list__tag {
  display: inline-block;
  padding: 1px 18px;
  border-radius: 50px;
  font-family: "DM Sans", var(--font-primary);
  font-size: 16px;
  line-height: 2.0625;
  color: #fff;
  text-transform: uppercase;
  background: linear-gradient(90deg, #79efb3 0%, #064dfa 100%);
  margin-bottom: 24px;
}

.tournament-list__title {
  font-family: "Clash Display", sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 47px);
  line-height: 1.25;
  color: #333940;
  margin: 0;
}

.tournament-list__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* --------------------------------------------------------------------------
   Card
   -------------------------------------------------------------------------- */
.tournament-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--tn-border);
  border-radius: 12px;
  overflow: hidden;
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.tournament-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(13, 13, 18, 0.1);
}

.tournament-card__media {
  position: relative;
  aspect-ratio: 420 / 209;
  overflow: hidden;
}

.tournament-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Date chip — sits over the bottom-left of the image */
.tournament-date {
  position: absolute;
  left: 27px;
  bottom: 14px;
  width: 60px;
  height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5px;
  border-radius: 5px;
  border: 1px solid var(--tn-fern);
  background: rgba(13, 13, 18, 0.8);
  font-family: var(--font-primary);
  text-align: center;
}

.tournament-date__year,
.tournament-date__month {
  font-size: 14px;
  line-height: 16px;
  font-weight: 400;
  text-transform: uppercase;
}

.tournament-date__year {
  color: var(--tn-fern);
}

.tournament-date__month {
  color: #fff;
}

.tournament-date__day {
  font-size: 16px;
  line-height: 18px;
  font-weight: 700;
  color: #fff;
}

.tournament-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 26px 26px;
}

.tournament-card__title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 22px;
  line-height: 30px;
  color: var(--tn-black);
  margin: 0 0 17px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tournament-card__excerpt {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--tn-gray);
  margin: 0 0 24px;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tournament-card__link {
  align-self: flex-start;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 130px;
  height: 37px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--tn-blue);
  color: #fff;
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  transition: background 0.2s ease;
}

.tournament-card__link:hover {
  background: #1c5ae0;
  color: #fff;
}

/* --------------------------------------------------------------------------
   Pagination
   -------------------------------------------------------------------------- */
/* Figma 4709:624 — 41px chips, gap 6.402px, 25.61px vertical padding */
.tournament-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6.4px;
  margin-top: 24px;
  padding: 25.6px 0;
  flex-wrap: wrap;
}

.tournament-pagination__item {
  width: 41px;
  height: 41px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--tn-line);
  border-radius: 10px;
  background: #fff;
  color: var(--tn-black);
  font-family: "DM Sans", var(--font-primary);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

a.tournament-pagination__item:hover {
  background: #f2f4f7;
  color: var(--tn-black);
}

/* current page — fern fill, no visible border */
.tournament-pagination__item.is-active {
  background: var(--tn-fern);
  border-color: var(--tn-fern);
  color: var(--tn-black);
}

/* "…" gap marker — no border, per Figma's More state */
.tournament-pagination__item.is-ellipsis {
  border-color: transparent;
  cursor: default;
}

.tournament-pagination__item.is-disabled {
  color: #c1c7d0;
  cursor: default;
}

/* --------------------------------------------------------------------------
   CTA banner (shared by both pages)
   -------------------------------------------------------------------------- */
.tournament-cta {
  padding: 40px 0 80px;
}

.tournament-cta__inner {
  display: flex;
  align-items: center;
  gap: 59px;
  padding: 30px 100px;
  border-radius: 16px;
  background: linear-gradient(90deg, #064dfa 0%, #79efb3 100%);
}

.tournament-cta__icon {
  flex: 0 0 108px;
  width: 108px;
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tournament-cta__icon img {
  width: 85px;
  height: 85px;
  object-fit: contain;
}

.tournament-cta__text {
  flex: 1;
}

.tournament-cta__title {
  font-family: "Clash Display", sans-serif;
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 56px;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}

.tournament-cta__subtitle {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 30px;
  color: #fff;
  margin: 0;
}

.tournament-cta__button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 173px;
  height: 46px;
  padding: 0 24px;
  justify-content: center;
  border-radius: 8px;
  background: #fff;
  color: var(--tn-black);
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.tournament-cta__button:hover {
  opacity: 0.85;
  color: var(--tn-black);
}

/* ==========================================================================
   Detail page
   ========================================================================== */
.tournament-detail {
  position: relative;
  padding: 50px 0 60px;
  overflow: hidden;
}

/* Page backdrop — Figma `backdrop` 4735:1226, two stacked bands over 1050px:
   `banner backdrop` 4731:832 (1920×550) is the banner itself, blurred, and
   `content backdrop` 4735:1220 (1920×504) is the crystal artwork under a
   white wash. Fixed px, not %: the section runs far taller than Figma's
   1050px, and % bands stretched the artwork band until the white gradient
   washed it out entirely. */
.tournament-detail__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  /* #666D80 fill behind the blurred banner, clipped to the top band only */
  background: linear-gradient(#666d80, #666d80) no-repeat top / 100% 550px;
}

.tournament-detail__backdrop img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  opacity: 0.7;
  filter: blur(40px);
  transform: scale(1.1);
}

.tournament-detail__backdrop::after {
  /* plain block in flow — stacks straight under the blurred banner img,
     no offset to keep in sync */
  content: "";
  display: block;
  height: 504px;
  /* Layered top-down: overlay 4731:834 (transparent → white, so the band
     dissolves into the white "More Tournaments" section), a 50% white veil
     standing in for the artwork's opacity, then the artwork itself. Figma
     offsets it to bottom:-195px within the 504px band — 26% Y on cover. */
  background: url("../assets/pages/tournament/bg-slots.jpg") no-repeat center 26% /
      cover;
}

.tournament-detail .container {
  position: relative;
  z-index: 1;
}

.tournament-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 21px;
  color: var(--tn-gray);
}

.tournament-breadcrumb a {
  color: #fff;
  text-decoration: none;
  opacity: 0.5;
}

.tournament-breadcrumb a:hover {
  color: var(--tn-fern);
  opacity: 1;
}

.tournament-breadcrumb__sep {
  font-size: 12px;
  color: var(--tn-gray);
}

.tournament-breadcrumb__current {
  color: var(--tn-fern);
}

.tournament-detail__banner {
  aspect-ratio: 1340 / 568;
  overflow: hidden;
  background: #0d0d12;
}

.tournament-detail__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tournament-detail__content {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  padding: 50px 60px;
  background: #fff;
}

.tournament-detail__date {
  flex: 0 0 190px;
  width: 190px;
  min-height: 157px;
  padding: 17px;
  border-radius: 15px;
  border: 1px solid var(--tn-fern);
  background: rgba(13, 13, 18, 0.7);
  color: var(--tn-mint);
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 17px;
  line-height: 25px;
}

.tournament-detail__date i {
  display: block;
  font-size: 40px;
  color: var(--tn-fern);
  margin-bottom: 8px;
}

.tournament-detail__body {
  flex: 1;
  min-width: 0;
}

.tournament-detail__title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 42px;
  color: var(--tn-black);
  margin: 0 0 15px;
}

.tournament-detail__description {
  font-family: var(--font-primary);
  font-size: 18px;
  line-height: 29px;
  color: var(--tn-gray);
  margin: 0;
}

/* Related tournaments carousel */
.tournament-related {
  padding: 40px 0 0;
  background: #fff;
}

.tournament-related__title {
  font-family: "Clash Display", sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 47px);
  line-height: 1.25;
  color: #333940;
  text-align: center;
  margin: 0 0 30px;
}

/* Full container width, so the card row lines up with the CTA banner below it.
   The arrows sit in the page gutter, outside the row (Figma places them at
   -64px / +1336px against the 1320px row). */
.tournament-related__slider {
  position: relative;
}

/* Swiper sizes slides to the tallest by default; stretch every card to that
   height so the image, title and button line up across the row. */
.tournament-related .swiper-slide {
  height: auto;
  display: flex;
}

.tournament-related .tournament-card {
  width: 100%;
}

.tournament-related .tournament-card__title {
  font-size: 18px;
  line-height: 25px;
  min-height: 50px; /* 2 lines — keeps the Read More buttons on one baseline */
  margin-bottom: 12px;
}

.tournament-related .tournament-card__body {
  padding: 16px 20px 20px;
}

.tournament-related .tournament-date {
  left: 18px;
}

.tournament-related__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 1px solid var(--tn-fern);
  border-radius: 50%;
  background: #fff;
  color: var(--tn-black);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.tournament-related__nav--prev {
  left: -64px;
}
.tournament-related__nav--next {
  right: -64px;
}

/* Below ~1440px the page gutter is too narrow to hold a 48px arrow plus its
   offset, so park them on the row edge rather than let them run off-screen. */
@media (max-width: 1439.98px) {
  .tournament-related__nav--prev {
    left: 0;
  }

  .tournament-related__nav--next {
    right: 0;
  }
}

.tournament-related__nav:hover {
  background: var(--tn-fern);
  border-color: var(--tn-fern);
  color: var(--tn-black);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199.98px) {
  .tournament-hero {
    min-height: 620px;
    background-position: 70% center;
  }

  .tournament-list__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tournament-cta__inner {
    padding: 30px 40px;
    gap: 30px;
  }

  .tournament-detail__content {
    padding: 40px;
  }
}

@media (max-width: 991.98px) {
  .tournament-hero {
    min-height: 560px;
    background-position: 78% center;
  }

  .tournament-hero .products-hero__description {
    max-width: 100%;
  }

  .tournament-cta__inner {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .tournament-cta__title {
    line-height: 1.3;
  }

  .tournament-cta__text {
    flex: 1 0 100%;
    order: 2;
  }

  .tournament-cta__button {
    order: 3;
  }

  .tournament-detail__content {
    flex-direction: column;
  }

  .tournament-detail__date {
    flex: 0 0 auto;
    width: 100%;
    min-height: 0;
  }

  .tournament-detail__date i {
    margin-bottom: 8px;
  }

  .tournament-detail__title {
    line-height: 1.35;
  }
}

@media (max-width: 767.98px) {
  /* Trophy sits behind the copy on phones — dim it so text stays readable */
  .tournament-hero {
    min-height: 0;
    padding: 40px 0 50px;
    background-position: 72% center;
    background-color: #eef5fb;
    background-blend-mode: lighten;
  }

  .tournament-list {
    padding: 40px 0 30px;
  }

  .tournament-list__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .tournament-card__body {
    padding: 16px 20px 20px;
  }

  .tournament-card__title {
    font-size: 20px;
    line-height: 27px;
  }

  .tournament-date {
    left: 16px;
    bottom: 12px;
  }

  .tournament-pagination {
    margin-top: 32px;
    gap: 2px;
  }

  .tournament-pagination__item,
  .tournament-pagination__ellipsis {
    width: 36px;
    height: 36px;
  }

  .tournament-cta {
    padding: 20px 0 50px;
  }

  .tournament-cta__inner {
    padding: 30px 24px;
    gap: 16px;
  }

  .tournament-cta__icon {
    flex-basis: 72px;
    width: 72px;
    height: 72px;
  }

  .tournament-cta__icon img {
    width: 56px;
    height: 56px;
  }

  .tournament-cta__subtitle {
    line-height: 1.6;
  }

  .tournament-cta__button {
    width: 100%;
  }

  .tournament-detail {
    padding: 24px 0 40px;
  }

  .tournament-detail__content {
    padding: 24px 20px;
    gap: 20px;
  }

  .tournament-detail__description {
    font-size: 16px;
    line-height: 26px;
  }

  .tournament-related__nav {
    display: none;
  }
}

/**** css for details page ****/
/* =====================================================================
   Additions to css/tournament.css

   Two blocks the mockup did not cover:
     1. Terms & Conditions  — where PopupContent renders
     2. Detail CTA button   — for events that only link out
   ===================================================================== */

/* ---- Terms & Conditions ---- */

.tournament-detail__terms {
    margin-top: 48px;
    padding: 32px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.tournament-detail__terms-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 20px;
    font-size: 1.25rem;
    font-weight: 700;
}

    .tournament-detail__terms-title i {
        color: var(--color-accent, #FF7A00);
        font-size: 1rem;
    }

/* The legacy popup content is an <ol> of numbered clauses, occasionally with
   <strong> inside. Style the list generically so any admin-authored markup
   lands sensibly. */
.tournament-detail__terms-body ol,
.tournament-detail__terms-body ul {
    margin: 0;
    padding-left: 1.25rem;
}

.tournament-detail__terms-body li {
    margin-bottom: 12px;
    line-height: 1.7;
    opacity: 0.9;
}

    .tournament-detail__terms-body li:last-child {
        margin-bottom: 0;
    }

.tournament-detail__terms-body strong {
    font-weight: 700;
    opacity: 1;
}

.tournament-detail__terms-body a {
    color: var(--color-accent, #FF7A00);
    text-decoration: underline;
}

/* ---- Description: admin HTML needs baseline styling ---- */

.tournament-detail__description p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

    .tournament-detail__description p:last-child {
        margin-bottom: 0;
    }

.tournament-detail__description img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Tables occasionally appear in pasted content; keep them from
   overflowing the container on mobile. */
.tournament-detail__description table {
    width: 100%;
    display: block;
    overflow-x: auto;
    border-collapse: collapse;
}

.tournament-detail__description th,
.tournament-detail__description td {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* ---- Detail CTA (external events) ---- */

.tournament-detail__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    padding: 12px 28px;
    border-radius: 999px;
    background: var(--color-accent, #FF7A00);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .tournament-detail__cta:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(255, 122, 0, 0.3);
        color: #fff;
    }

/* ---- Banner: mobile crop ---- */

.tournament-detail__banner picture {
    display: block;
    width: 100%;
}

    .tournament-detail__banner picture img {
        width: 100%;
        height: auto;
    }

/* ---- Related slider: Swiper needs explicit height control ---- */

.tournament-related-swiper {
    /* Padding stops the card hover lift from being clipped. */
    padding: 8px 4px 16px;
}

    .tournament-related-swiper .swiper-slide {
        height: auto;
    }

        .tournament-related-swiper .swiper-slide .tournament-card {
            height: 100%;
            display: flex;
            flex-direction: column;
        }

    .tournament-related-swiper .tournament-card__body {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .tournament-related-swiper .tournament-card__link {
        margin-top: auto;
    }

@media (max-width: 767px) {
    .tournament-detail__terms {
        padding: 20px;
        margin-top: 32px;
    }

    .tournament-detail__terms-title {
        font-size: 1.1rem;
    }
}
/**** css for details page ****/

/* ---- Detail page: live / upcoming pills ---- */

.tournament-detail__live,
.tournament-detail__upcoming {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tournament-detail__live {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.35);
}

.tournament-detail__upcoming {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.35);
}

.tournament-detail__live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    animation: tournament-pulse 2s ease-in-out infinite;
}

@keyframes tournament-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.85);
    }
}

/* Respect reduced-motion preferences — a pulsing dot is decorative. */
@media (prefers-reduced-motion: reduce) {
    .tournament-detail__live-dot {
        animation: none;
    }
}

/* ---- Card: date range line ---- */

.tournament-card__dates {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 0.8125rem;
    opacity: 0.75;
}

    .tournament-card__dates i {
        font-size: 0.75rem;
        color: var(--color-accent, #FF7A00);
    }

/* ---- Card: status badge ---- */

.tournament-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    align-self: flex-start;
    margin-bottom: 10px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tournament-card__badge--live {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.tournament-card__badge--upcoming {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

/* The badge is an inline-flex child of a flex column, so it needs
   align-self to avoid stretching the full card width. */
.tournament-card__body {
    display: flex;
    flex-direction: column;
}

@media (max-width: 767px) {
    .tournament-card__dates {
        font-size: 0.75rem;
    }
}

/* =====================================================================
   Append to css/tournament.css — category filter bar on the listing page
   ===================================================================== */

.tournament-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.tournament-filter__item {
    padding: 7px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

    .tournament-filter__item:hover {
        background: rgba(255, 255, 255, 0.09);
        border-color: rgba(255, 255, 255, 0.24);
        color: inherit;
    }

    .tournament-filter__item.is-active {
        background: var(--color-accent, #FF7A00);
        border-color: var(--color-accent, #FF7A00);
        color: #fff;
    }

/* ---- Empty state ---- */

.tournament-list__empty {
    padding: 56px 20px;
    text-align: center;
    border: 1px dashed rgba(255, 255, 255, 0.14);
    border-radius: 16px;
}

    .tournament-list__empty p {
        margin-bottom: 12px;
        opacity: 0.7;
    }

/* ---- Pagination summary ---- */

.tournament-pagination__summary {
    margin-top: 12px;
    text-align: center;
    font-size: 0.8125rem;
    opacity: 0.6;
}

@media (max-width: 575px) {
    .tournament-filter {
        /* Horizontal scroll beats wrapping to three rows on a phone. */
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

        .tournament-filter::-webkit-scrollbar {
            display: none;
        }

    .tournament-filter__item {
        flex: 0 0 auto;
    }
}