/* ============================================================
   CLOVELLY MATCHES & RESULTS
   ============================================================ */

.matches-section {
  background: #f4f7fa;
  padding: 55px 0 60px;
  border-top: 1px solid #dce3ea;
  border-bottom: 1px solid #dce3ea;
}

.matches-heading {
  text-align: center;
  margin-bottom: 34px;
}

.matches-heading h2 {
  margin: 2px 0 7px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 54px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  color: #071f3e;
}

.matches-heading > p:last-child {
  margin: 0;
  color: #536174;
  font-size: 16px;
}

.live-fixtures {
  width: 100%;
}

.fixtures-loading,
.fixtures-message {
  background: #fff;
  border: 1px solid #dce3ea;
  padding: 35px;
  text-align: center;
  color: #536174;
}

.teams-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.team-fixtures {
  background: #fff;
  border: 1px solid #dce3ea;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(3, 26, 51, .08);
}

.team-header {
  min-height: 112px;
  padding: 25px 28px;
  background: linear-gradient(110deg, #06294f, #06447e);
  color: #fff;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.team-header h3 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 32px;
  line-height: 1;
  text-transform: uppercase;
}

.team-header p {
  margin: 7px 0 0;
  color: #73b8ff;
  font-size: 17px;
  font-weight: 700;
}

.grade-badge {
  flex-shrink: 0;
  padding: 8px 13px;
  border-radius: 20px;
  background: #1685ef;
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
}

.team-content {
  padding: 25px 27px 28px;
}

.fixture-block + .fixture-block {
  margin-top: 32px;
}

.fixture-block-title {
  display: flex;
  align-items: center;
  gap: 10px;

  margin: 0;
  padding-bottom: 13px;

  border-bottom: 1px solid #dce3ea;

  color: #071f3e;

  font-family: "Barlow Condensed", sans-serif;
  font-size: 27px;
  font-weight: 800;
  text-transform: uppercase;
}

.fixture-block-title span {
  color: #1685ef;
}

.team-match-list {
  display: flex;
  flex-direction: column;
}

.match-card {
  position: relative;
  padding: 20px 0 21px;
  border-bottom: 1px solid #e4e9ee;
}

.match-card:last-child {
  border-bottom: 0;
}

.match-top {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: flex-start;
}

.round-label {
  display: block;
  margin-bottom: 4px;

  color: #617186;

  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.match-card h4 {
  margin: 0;

  color: #071f3e;

  font-size: 16px;
  line-height: 1.3;
}

.status-badge {
  flex-shrink: 0;

  min-width: 76px;

  padding: 6px 11px;

  border-radius: 18px;

  text-align: center;

  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.status-badge.upcoming {
  background: #dceeff;
  color: #0870d8;
}

.status-badge.won {
  background: #d7f6e7;
  color: #07844a;
}

.status-badge.lost {
  background: #ffe0e0;
  color: #c83232;
}

.status-badge.final {
  background: #eceff3;
  color: #536174;
}

.match-opponent {
  margin: 9px 0 12px;

  display: flex;
  flex-direction: column;

  color: #536174;
}

.match-opponent span {
  font-size: 11px;
  text-transform: uppercase;
}

.match-opponent strong {
  margin-top: 2px;

  color: #071f3e;

  font-size: 18px;
}

.match-detail {
  display: flex;
  align-items: center;
  gap: 7px;

  margin: 5px 0;

  color: #5c6c80;

  font-size: 13px;
}

.match-detail span {
  width: 17px;
}

.match-link {
  display: inline-block;

  margin-top: 13px;

  padding: 8px 13px;

  border: 1px solid #1685ef;
  border-radius: 4px;

  color: #0870d8;

  text-decoration: none;

  font-family: "Barlow Condensed", sans-serif;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
}

.match-link:hover {
  background: #1685ef;
  color: #fff;
}

.no-matches {
  padding: 18px 0 5px;
  margin: 0;

  color: #69778a;

  font-size: 13px;
}

.fixtures-source {
  margin-top: 25px;

  text-align: center;

  color: #66758a;

  font-size: 12px;
}

.fixtures-source a {
  margin-left: 5px;

  color: #0870d8;

  font-weight: 700;
  text-decoration: none;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 900px) {

  .teams-grid {
    grid-template-columns: 1fr;
  }

  .matches-heading h2 {
    font-size: 46px;
  }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 650px) {

  .matches-section {
    padding: 42px 0;
  }

  .matches-heading {
    margin-bottom: 25px;
  }

  .matches-heading h2 {
    font-size: 40px;
  }

  .team-header {
    padding: 21px 19px;
    min-height: 95px;
  }

  .team-header h3 {
    font-size: 27px;
  }

  .team-content {
    padding: 20px 18px;
  }

  .fixture-block-title {
    font-size: 24px;
  }

  .grade-badge {
    font-size: 13px;
  }

}
