@import url("https://fonts.googleapis.com/css?family=Open+Sans");

/* Public site styles. */

body {
  color: #333;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  line-height: 1.42857143;
}

@media (min-width: 768px) {
  .container {
    max-width: 1200px;
  }
}

a {
  color: #141414;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #c69b21;
  text-decoration: none;
}

.noticia a,
.match-results a,
.match-summary-page a,
.standings-table a {
  color: inherit;
  text-decoration: none;
}

.noticia a:hover,
.noticia a:focus,
.match-results a:hover,
.match-results a:focus,
.match-summary-page a:hover,
.match-summary-page a:focus,
.standings-table a:hover,
.standings-table a:focus {
  color: #c69b21;
  text-decoration: none;
}

.noticia {
  padding-bottom: 20px;
}

.noticia h2,
.noticia h4 {
  margin-top: 5px;
  margin-bottom: 5px;
}

.noticia h2 {
  font-size: 30px;
}

.noticia h4 {
  font-size: 18px;
}

.noticia h5 {
  font-size: 14px;
}

.noticia-completa p {
  padding-top: 10px;
  font-size: 14px;
  line-height: 1.42857143;
}

.text-justify {
  text-align: justify;
}

.match-results {
  --bs-table-color: #212529;
  font-size: 0.95rem;
}

.match-results td {
  vertical-align: middle;
}

.table-condensed > :not(caption) > * > * {
  padding: 0.25rem;
}

.text-left {
  text-align: left !important;
}

.text-right {
  text-align: right !important;
}

.tournament-video {
  margin: 1.5rem 0;
  max-width: 100%;
}

.team-page,
.match-summary-page {
  --team-border: #d8dde7;
  --team-muted: #647086;
  --team-panel: #fff;
  --team-soft: #f5f7fb;
}

.team-page {
  padding-bottom: 2rem;
}

.team-hero {
  margin: 1rem 0 1.25rem;
}

.team-hero__identity {
  align-items: center;
  display: flex;
  gap: 1rem;
}

.team-hero__logo {
  aspect-ratio: 1;
  border: 1px solid var(--team-border);
  border-radius: 8px;
  height: 72px;
  object-fit: contain;
  padding: 0.4rem;
  width: 72px;
}

.team-hero__logo--empty {
  align-items: center;
  background: #141414;
  color: #fff;
  display: flex;
  font-size: 2rem;
  font-weight: 700;
  justify-content: center;
  text-transform: uppercase;
}

.team-hero h1,
.team-section h2 {
  color: #141414;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0;
}

.team-hero h1 {
  font-size: 3.5rem;
  line-height: 1;
}

.team-page__eyebrow {
  color: var(--team-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 0.35rem;
  text-transform: uppercase;
}

.team-summary {
  background: var(--team-soft);
  border: 1px solid var(--team-border);
  border-radius: 8px;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-bottom: 2rem;
  overflow: hidden;
}

.team-summary__stat {
  background: var(--team-panel);
  min-width: 0;
  padding: 1rem 0.75rem;
  text-align: center;
}

.team-summary__stat strong {
  color: #536078;
  display: block;
  font-size: 2.35rem;
  line-height: 1;
}

.team-summary__stat span {
  color: var(--team-muted);
  display: block;
  font-weight: 600;
  margin-top: 0.35rem;
}

.team-section {
  margin: 0 0 2rem;
}

.team-section__heading {
  margin-bottom: 0.85rem;
}

.team-section h2 {
  font-size: 1.55rem;
}

.team-match-list {
  display: grid;
  gap: 0.85rem;
}

.team-match-card {
  align-items: center;
  background: var(--team-panel);
  border: 1px solid var(--team-border);
  border-radius: 8px;
  color: #141414;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(150px, 1fr) minmax(280px, 1.5fr) auto;
  padding: 1rem 1.1rem;
}

.team-match-card:hover,
.team-match-card:focus {
  border-color: #c69b21;
  color: #141414;
}

.team-match-card__meta {
  color: var(--team-muted);
  min-width: 0;
}

.team-match-card__meta strong,
.team-match-card__meta span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-match-card__score {
  align-items: center;
  display: grid;
  gap: 0.7rem;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

.team-match-card__team {
  align-items: center;
  display: flex;
  gap: 0.45rem;
  min-width: 0;
}

.team-match-card__team:first-child {
  justify-content: flex-end;
  text-align: right;
}

.team-match-card__team img {
  aspect-ratio: 1;
  height: 24px;
  object-fit: contain;
  width: 24px;
}

.team-match-card__team--featured {
  font-weight: 700;
}

.team-match-card__numbers {
  color: #141414;
  font-size: 1.25rem;
  font-weight: 700;
  white-space: nowrap;
}

.team-match-card__status {
  align-items: center;
  display: flex;
  gap: 0.85rem;
  justify-content: flex-end;
}

.team-match-card__status span:first-child {
  background: #3153ff;
  border-radius: 6px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  text-transform: uppercase;
}

.team-match-card__status span:last-child {
  color: #141414;
  font-size: 2rem;
  line-height: 1;
}

.team-registration-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.team-registration-card {
  border: 1px solid var(--team-border);
  border-radius: 8px;
  min-width: 0;
  padding: 0.85rem;
}

.team-registration-card strong,
.team-registration-card span {
  display: block;
}

.team-registration-card span {
  color: var(--team-muted);
  margin-top: 0.25rem;
}

.team-registration-card em {
  color: #536078;
  display: block;
  font-size: 1.4rem;
  font-style: normal;
  font-weight: 700;
  margin-top: 0.55rem;
}

.team-player-table {
  overflow-x: auto;
}

.team-player-table .table {
  min-width: 620px;
}

.head-to-head {
  border-bottom: 1px solid var(--team-border);
  border-top: 1px solid var(--team-border);
  padding: 1.5rem 0 2rem;
}

.head-to-head__summary {
  align-items: center;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(150px, 1.4fr) repeat(3, minmax(72px, 0.65fr)) minmax(150px, 1.4fr);
  margin: 1.1rem 0 2rem;
}

.head-to-head__team {
  align-items: center;
  display: flex;
  gap: 0.65rem;
  min-width: 0;
}

.head-to-head__team--right {
  justify-content: flex-end;
  text-align: right;
}

.head-to-head__team img {
  aspect-ratio: 1;
  height: 34px;
  object-fit: contain;
  width: 34px;
}

.head-to-head__team strong {
  color: #141414;
  font-size: 1.45rem;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.head-to-head__stat {
  color: var(--team-muted);
  text-align: center;
}

.head-to-head__stat strong {
  color: #536078;
  display: block;
  font-size: 2.7rem;
  line-height: 1;
}

.head-to-head__stat--total strong {
  font-size: 3.25rem;
}

.head-to-head__stat span {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-top: 0.35rem;
}

.head-to-head__empty {
  color: var(--team-muted);
  margin: 0;
}

@media (max-width: 991.98px) {
  .team-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .team-match-card {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .team-match-card__meta strong,
  .team-match-card__meta span {
    white-space: normal;
  }

  .team-match-card__status {
    justify-content: space-between;
  }

  .head-to-head__summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .head-to-head__team {
    grid-column: span 3;
    justify-content: center;
    text-align: center;
  }

  .head-to-head__team--right {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .team-hero__identity {
    align-items: flex-start;
  }

  .team-hero__logo {
    height: 56px;
    width: 56px;
  }

  .team-hero h1 {
    font-size: 2rem;
  }

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

  .team-summary__stat strong {
    font-size: 1.9rem;
  }

  .team-match-card {
    padding: 0.9rem;
  }

  .team-match-card__score {
    grid-template-columns: 1fr auto 1fr;
  }

  .team-match-card__team {
    align-items: center;
    flex-direction: column;
    font-size: 0.9rem;
    gap: 0.3rem;
    justify-content: center;
    text-align: center;
  }

  .team-match-card__team:first-child {
    justify-content: center;
    text-align: center;
  }

  .head-to-head {
    padding-top: 1.25rem;
  }

  .head-to-head__summary {
    gap: 0.85rem;
    margin-bottom: 1.5rem;
  }

  .head-to-head__team strong {
    font-size: 1.15rem;
  }

  .head-to-head__stat strong,
  .head-to-head__stat--total strong {
    font-size: 2rem;
  }

  .head-to-head__stat span {
    font-size: 0.85rem;
  }
}
