.header-matches {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 35vh;
  min-height: 35vh;
}
.header-matches .subheader-background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.header-matches .subheader-background-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: -webkit-gradient(linear, right top, left top, from(rgba(8, 35, 60, 0)), to(rgba(8, 35, 60, 0.8470588235))), -webkit-gradient(linear, left top, right top, from(rgba(8, 35, 60, 0)), to(rgba(8, 35, 60, 0.8470588235)));
  background: linear-gradient(-90deg, rgba(8, 35, 60, 0) 0%, rgba(8, 35, 60, 0.8470588235) 100%), linear-gradient(to right, rgba(8, 35, 60, 0) 0%, rgba(8, 35, 60, 0.8470588235) 100%);
  z-index: 1;
}
.header-matches .subheader-background-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.header-matches .subheader-content {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 35vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: left;
      -ms-flex-align: left;
          align-items: left;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  z-index: 2;
  padding: 2rem;
  color: #ffffff;
}
.header-matches .subheader-content h1 {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 5rem;
  text-transform: uppercase;
}

.next-match-section {
  background-color: #08233C;
  padding: 4rem 1rem;
  color: #fff;
  font-family: "Arial", sans-serif;
}

.next-match-container {
  max-width: 1100px;
  margin: 0 auto;
}

.next-match-box {
  position: relative;
  background-color: #0A2E4A;
  border-radius: 12px;
  padding: 2rem;
  max-width: 1100px;
  margin: 0 auto 3rem auto;
  z-index: 1;
}

.next-match-title {
  position: relative;
  z-index: 0;
  font-size: 4rem;
  font-weight: 800;
  color: #344b5f;
  text-transform: uppercase;
  margin-bottom: -2.4rem;
  padding-left: 0;
  margin-left: -40px;
}

.next-match-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
}

.team {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
}

.team img {
  width: 80px;
  height: auto;
  margin-bottom: 0.5rem;
}

.team span {
  font-size: 0.9rem;
  font-weight: bold;
}

.match-info {
  text-align: center;
}

.match-date {
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.match-time {
  font-size: 1.75rem;
  font-weight: bold;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.match-location {
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.arena {
  font-size: 0.85rem;
}

.arena a {
  color: #fff;
  text-decoration: underline;
}

.arena a:hover {
  color: #00aaff;
}

.location-icon {
  margin-right: 5px;
}

@media (max-width: 1024px) {
  .next-match-title {
    font-size: 3rem;
    margin-left: -14px;
    margin-bottom: -1.8rem;
  }
  .team img {
    width: 65px;
  }
  .match-time {
    font-size: 1.5rem;
  }
  .match-info {
    font-size: 0.9rem;
  }
  .next-match-box {
    margin-left: 0.8rem;
    margin-right: 0.8rem;
  }
}
@media (max-width: 768px) {
  .next-match-title {
    font-size: 2rem;
    margin-left: 0;
    margin-bottom: -1.2rem;
  }
  .next-match-box {
    padding: 1.5rem;
  }
  .next-match-wrapper {
    gap: 1rem;
  }
  .team img {
    width: 50px;
  }
  .match-time {
    font-size: 1.3rem;
  }
  .match-date,
  .match-location,
  .arena {
    font-size: 0.7rem;
  }
  .arena {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .team span {
    font-size: 0.75rem;
  }
}
@media (max-width: 400px) {
  .next-match-wrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  .team {
    margin-bottom: 1rem;
  }
  .match-time {
    font-size: 1.2rem;
  }
  .next-match-title {
    font-size: 1.5rem;
    margin-bottom: -0.9rem;
  }
}
.match-banner-title {
  font-size: 3rem;
  font-weight: bold;
  color: #e1e5e8;
  text-transform: uppercase;
  margin: 2rem auto 1rem;
  max-width: 1200px;
  padding-left: 0.5rem;
  text-align: center;
}

.match-banner {
  font-family: "Arial", sans-serif;
  color: white;
  margin-bottom: 3rem;
  padding: 0;
}

.match-banner-inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  height: 140px;
  background-color: #1F384E;
  overflow: hidden;
}

.team-section {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  background-color: #1F384E;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: relative;
  z-index: 1;
  text-align: center;
}

.team-left {
  background-color: #0C2B47;
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
}

.team-right {
  background-color: #0C2B47;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 15% 100%);
}

.team-section img {
  width: 60px;
  height: auto;
  margin-bottom: 0.4rem;
}

.team-section span {
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.match-info-center {
  width: 260px;
  color: white;
  padding: 1rem 0;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  clip-path: polygon(15% 0%, 85% 0%, 100% 100%, 0% 100%);
  z-index: 2;
}

.match-date {
  font-size: 0.75rem;
  text-transform: uppercase;
}

.match-time {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0.4rem 0;
}

.match-location {
  font-size: 0.75rem;
  text-transform: uppercase;
}

.ticket-cta {
  background-color: #00aaff;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 1rem;
}

.cta-icon {
  margin-right: 0.5rem;
}

.cta-button.disabled {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

/* Responsive */
@media (max-width: 850px) {
  .match-banner {
    padding: 0 40px;
  }
}
@media (max-width: 768px) {
  .match-banner-inner {
    height: auto;
  }
  .match-info-center {
    width: 130px;
  }
  .team-section span {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.65rem;
  }
  .team-section img {
    width: 50px;
  }
  .match-time {
    font-size: 1.25rem;
  }
  .cta-button {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
}
@media (max-width: 600px) {
  .match-banner {
    padding: 0 10px;
  }
  .match-info-center {
    width: 130px;
  }
}
@media (max-width: 400px) {
  .match-banner-inner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 1rem;
  }
  .team-section,
  .match-info-center {
    width: 100%;
    clip-path: none;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .match-info-center {
    padding: 1rem;
  }
}
.match-result {
  font-size: 1.6rem;
  font-weight: bold;
  color: white;
}