.gaa-fixtures-widget {
  --gfr-primary: #1a1a1a;
  --gfr-accent: #c8a951;
  --gfr-winner: #c8a951;
  --gfr-radius: 4px;
  --gfr-font: inherit;
  color: #1f1f1f;
  font-family: var(--gfr-font);
  line-height: 1.4;
}

.gaa-fixtures-widget * {
  box-sizing: border-box;
}

.gfr-section + .gfr-section {
  margin-top: 24px;
}

.gfr-section-head {
  align-items: center;
  border-bottom: 2px solid var(--gfr-primary);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
}

.gfr-section-head h2,
.gfr-heading {
  color: var(--gfr-primary);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
  margin: 0;
}

.gfr-section-head a,
.gfr-mini-link {
  color: #555;
  font-size: 12px;
  text-decoration: none;
}

.gfr-section-head a:hover,
.gfr-mini-link:hover {
  color: var(--gfr-primary);
  text-decoration: underline;
}

.gfr-date {
  color: #777;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.4px;
  margin: 14px 0 8px;
  text-transform: uppercase;
}

.gfr-card {
  background: #fff;
  border-radius: var(--gfr-radius);
  margin-bottom: 10px;
  padding: 12px;
  position: relative;
}

.gfr-card-style-bordered .gfr-card {
  border: 1px solid #e7e7e7;
}

.gfr-card-style-shadowed .gfr-card {
  border: 1px solid #eeeeee;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .07);
}

.gfr-competition {
  color: #666;
  font-size: 12px;
  margin: 0 0 8px;
}

.gfr-matchline {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

.gfr-team {
  color: #202020;
  font-size: 14px;
  font-weight: 600;
  min-width: 0;
}

.gfr-team span {
  overflow-wrap: anywhere;
}

.gfr-team-away {
  text-align: right;
}

.gfr-team.is-winner {
  color: var(--gfr-primary);
}

.gfr-score-wrap {
  display: flex;
  gap: 4px;
}

.gfr-score,
.gfr-vs span {
  align-items: center;
  border: 1px solid #ddd;
  border-radius: var(--gfr-radius);
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  justify-content: center;
  min-width: 42px;
  padding: 5px 7px;
}

.gfr-score.is-winner {
  background: var(--gfr-winner);
  border-color: var(--gfr-winner);
  color: #111;
}

.gfr-score-style-outline .gfr-score.is-winner {
  background: transparent;
  color: var(--gfr-primary);
}

.gfr-score-style-plain .gfr-score {
  border: 0;
  padding: 0;
}

.gfr-vs {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.gfr-vs time,
.gfr-countdown {
  color: #777;
  font-size: 11px;
  white-space: nowrap;
}

.gfr-meta {
  align-items: center;
  color: #666;
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  gap: 7px;
  margin-top: 9px;
}

.gfr-meta a {
  color: inherit;
}

.gfr-card-actions {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 8px;
  position: relative;
}

.gfr-share-toggle,
.gfr-poster-button {
  background: var(--gfr-primary);
  border: 0;
  border-radius: var(--gfr-radius);
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  padding: 7px 10px;
}

.gfr-share-menu {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: var(--gfr-radius);
  bottom: 34px;
  min-width: 120px;
  padding: 6px;
  position: absolute;
  right: 0;
  z-index: 5;
}

.gfr-share-menu a {
  color: #222;
  display: block;
  font-size: 12px;
  padding: 6px 8px;
  text-decoration: none;
}

.gfr-empty,
.gfr-attribution {
  color: #777;
  font-size: 12px;
  margin: 10px 0 0;
}

.gfr-attribution {
  border-top: 1px solid #eee;
  padding-top: 10px;
}

.gfr-banner {
  border: 1px solid #e7e7e7;
  border-radius: var(--gfr-radius);
  padding: 12px;
}

.gfr-banner-inner {
  align-items: center;
  display: flex;
  gap: 12px;
}

.gfr-banner img {
  flex: 0 0 auto;
  height: 44px;
  object-fit: contain;
  width: 44px;
}

.gfr-banner-kicker {
  color: #777;
  font-size: 10px;
  letter-spacing: 1.4px;
  margin: 0 0 2px;
  text-transform: uppercase;
}

.gfr-banner strong {
  display: block;
  font-size: 15px;
}

.gfr-banner span {
  color: #666;
  display: block;
  font-size: 12px;
}

.gfr-table-title {
  color: var(--gfr-primary);
  font-size: 16px;
  margin: 0 0 12px;
}

.gfr-league-table-wrap {
  margin-bottom: 18px;
  overflow-x: auto;
}

.gfr-league-table {
  border-collapse: collapse;
  font-size: 12px;
  min-width: 560px;
  width: 100%;
}

.gfr-league-table th,
.gfr-league-table td {
  border-bottom: 1px solid #eeeeee;
  padding: 7px 6px;
  text-align: center;
}

.gfr-league-table th:nth-child(2),
.gfr-league-table td:nth-child(2) {
  text-align: left;
}

.gfr-league-table .is-club {
  background: rgba(200, 169, 81, .16);
  font-weight: 700;
}

@media (max-width: 520px) {
  .gfr-matchline {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .gfr-team-away {
    text-align: left;
  }

  .gfr-score-wrap,
  .gfr-vs {
    align-items: flex-start;
    flex-direction: row;
  }
}
