.home-match-centre-v3 {
  --hmc-navy: #102b5f;
  --hmc-navy-deep: #07163e;
  --hmc-blue: #294f86;
  --hmc-paper: #eef3fc;
  --hmc-yellow: #ffd000;
  --hmc-violet: #8a36ff;
  position: relative;
  isolation: isolate;
  padding: 42px max(18px, calc((100vw - var(--wide)) / 2)) 48px;
  border-block: 1px solid rgba(83, 214, 255, .22);
  background:
    linear-gradient(90deg, transparent 0 97%, rgba(255, 255, 255, .035) 97%),
    radial-gradient(circle at 78% 8%, rgba(83, 214, 255, .11), transparent 28rem),
    linear-gradient(135deg, #173a71, #102b5f 58%, #0b2451);
  background-size: 100% 100%, 100% 100%, 100% 100%;
}
.home-match-centre-v3::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 25% 100%,
    linear-gradient(118deg, transparent 0 76%, rgba(255, 208, 0, .055) 76% 76.35%, transparent 76.35%);
  content: "";
}
.home-match-centre-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: end;
  margin-bottom: 22px;
}
.home-match-centre-heading > div { display: grid; gap: 4px; }
.home-match-centre-heading > div > span,
.home-match-centre-upcoming > div > span {
  color: var(--hmc-yellow);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.home-match-centre-heading h2 {
  color: white;
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.home-match-centre-heading p,
.home-match-centre-upcoming p {
  max-width: 760px;
  margin: 0;
  color: #c5d2e9;
  font-size: 15px;
  line-height: 1.5;
}
.home-match-centre-heading > a,
.home-match-centre-upcoming .match-rail-actions > a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 38px;
  color: var(--hmc-yellow);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.home-match-centre-heading > a:hover,
.home-match-centre-upcoming .match-rail-actions > a:hover { color: white; }

.home-match-centre-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(330px, .88fr);
  gap: 12px;
}
.home-match-centre-next {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 10px;
  background: var(--hmc-paper);
  color: #17233e;
  box-shadow: 0 20px 48px rgba(4, 12, 35, .22);
}
.home-match-centre-next > header,
.home-match-centre-live > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 46px;
  padding: 0 22px;
}
.home-match-centre-next > header {
  border-bottom: 1px solid #ccd6e7;
  color: #f0aa00;
}
.home-match-centre-next > header span,
.home-match-centre-live > header span {
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.home-match-centre-next > header i {
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  margin-right: 5px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 9px;
  font-style: normal;
}
.home-match-centre-next > header small {
  color: #5f6d85;
  font-size: 11px;
}
.home-match-centre-next-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  min-height: 278px;
}
.home-match-centre-next-main { padding: 20px 24px 17px; }
.home-match-centre-next-main h3 {
  max-width: 270px;
  color: #10224b;
  font-size: 26px;
  line-height: .95;
  text-transform: uppercase;
}
.home-match-centre-teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}
.home-match-centre-teams > a {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 1px 12px;
  align-items: center;
  min-width: 0;
  color: #10224b;
}
.home-match-centre-teams img {
  grid-row: 1 / 4;
  width: 76px;
  height: 76px;
  object-fit: contain;
  filter: drop-shadow(0 7px 8px rgba(12, 30, 61, .15));
}
.home-match-centre-teams span {
  color: #66728a;
  font-size: 10px;
}
.home-match-centre-teams strong {
  font-size: 17px;
  line-height: 1.05;
  text-transform: uppercase;
}
.home-match-centre-teams b {
  justify-self: start;
  padding: 3px 7px;
  border-radius: 3px;
  background: #6d29ca;
  color: white;
  font-size: 9px;
}
.home-match-centre-teams > a:hover strong { color: #6d29ca; }
.home-match-centre-vs {
  color: #b577ff;
  font-size: 23px;
  font-weight: 950;
  text-align: center;
}
.home-match-centre-countdown {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 24px 22px;
  border-left: 1px solid #ccd6e7;
  background:
    radial-gradient(circle at 50% 25%, rgba(138, 54, 255, .18), transparent 10rem),
    var(--hmc-navy-deep);
  color: white;
  text-align: center;
}
.home-match-centre-countdown > span {
  color: #c9d4eb;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.home-match-centre-countdown > div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.home-match-centre-countdown p {
  display: grid;
  gap: 3px;
  margin: 0;
}
.home-match-centre-countdown strong {
  color: var(--hmc-yellow);
  font-size: 26px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.home-match-centre-countdown small {
  color: #8d9bb9;
  font-size: 7px;
  font-weight: 900;
  text-transform: uppercase;
}
.home-match-centre-countdown time {
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, .15);
  color: #e7edf9;
  font-size: 11px;
  font-weight: 850;
}
.home-match-centre-countdown.is-live > div { display: none; }
.home-match-centre-countdown.is-live > span { color: var(--hmc-yellow); }
.home-match-centre-countdown.is-live time {
  color: white;
  font-size: 22px;
  line-height: 1.3;
}
.home-match-centre-next > footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px 24px;
  align-items: center;
  padding: 16px 24px 18px;
  border-top: 1px solid #ccd6e7;
}
.home-match-centre-next > footer p {
  display: grid;
  gap: 2px;
  margin: 0;
}
.home-match-centre-next > footer p span {
  color: #8a96aa;
  font-size: 8px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.home-match-centre-next > footer p strong,
.home-match-centre-next > footer p a {
  color: #536179;
  font-size: 11px;
  font-weight: 900;
}
.home-match-centre-next > footer p a:hover { color: #6d29ca; }
.home-match-centre-next > footer nav,
.home-match-centre-live > footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.home-match-centre-next > footer nav a,
.home-match-centre-live > footer a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid #6d29ca;
  border-radius: 5px;
  color: #2d1f55;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}
.home-match-centre-next > footer nav a.is-primary {
  background: #6d29ca;
  color: white;
}

.home-match-centre-live {
  padding: 0 14px 14px;
  border: 1px solid rgba(173, 201, 240, .42);
  border-radius: 10px;
  background: rgba(29, 67, 119, .72);
  box-shadow: inset 0 1px rgba(255, 255, 255, .06);
}
.home-match-centre-live > header { padding-inline: 0; }
.home-match-centre-live > header span { color: var(--hmc-yellow); }
.home-match-centre-live > header a {
  color: var(--hmc-yellow);
  font-size: 9px;
  font-weight: 950;
  text-transform: uppercase;
}
.home-match-centre-live > h3 {
  color: white;
  font-size: 25px;
  text-transform: uppercase;
}
.home-match-centre-live > p {
  margin: 6px 0 15px;
  color: #c7d4e9;
  font-size: 13px;
  line-height: 1.55;
}
.home-match-centre-live-state {
  display: grid;
  grid-template-columns: 1.25fr .85fr;
  border: 1px solid rgba(197, 216, 244, .42);
  border-radius: 6px 6px 0 0;
}
.home-match-centre-live-state > div {
  min-width: 0;
  padding: 15px 13px;
}
.home-match-centre-live-state > div + div { border-left: 1px solid rgba(197, 216, 244, .35); }
.home-match-centre-live-state span {
  color: var(--hmc-yellow);
  font-size: 8px;
  font-weight: 950;
  text-transform: uppercase;
}
.home-match-centre-live-state span i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: currentColor;
}
.home-match-centre-live-state strong {
  display: block;
  margin-top: 9px;
  color: white;
  font-size: 15px;
  line-height: 1.15;
  text-transform: uppercase;
}
.home-match-centre-live-state strong b { color: #c57cff; }
.home-match-centre-live-state p,
.home-match-centre-live-state small {
  display: block;
  margin: 7px 0 0;
  color: #c9d5e8;
  font-size: 11px;
  line-height: 1.45;
}
.home-match-centre-live > footer {
  align-items: center;
  padding: 11px 0 0;
}
.home-match-centre-live > footer a {
  border-color: rgba(255, 255, 255, .52);
  color: white;
}
.home-match-centre-live > footer a.is-primary {
  border-color: var(--hmc-yellow);
  background: var(--hmc-yellow);
  color: #101630;
}
.home-match-centre-live > footer small {
  margin-left: auto;
  color: #aab9d2;
  font-size: 8px;
}

.home-match-centre-upcoming {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-top: 24px;
}
.home-match-centre-upcoming h3 {
  margin-top: 5px;
  color: white;
  font-size: 27px;
  text-transform: uppercase;
}
.home-match-centre-upcoming .match-rail-actions { align-items: end; }
.home-match-centre-upcoming .match-rail-actions button {
  width: 38px;
  height: 38px;
  border-color: rgba(197, 216, 244, .55);
  border-radius: 50%;
  background: rgba(7, 22, 62, .5);
  color: white;
}
.home-match-centre-v3 .match-rail-track {
  grid-auto-columns: calc((100% - 3px) / 4);
  gap: 1px;
  margin-top: 14px;
  padding: 0 0 12px;
}
.home-match-centre-v3 .match-rail-card {
  min-height: 224px;
  padding: 16px;
  border-color: rgba(197, 216, 244, .42);
  border-top-width: 1px;
  border-radius: 0;
  background: rgba(22, 56, 105, .76);
  box-shadow: none;
}
.home-match-centre-v3 .match-rail-card-header {
  color: var(--hmc-yellow);
  font-size: 10px;
}
.home-match-centre-v3 .match-rail-card-header strong {
  padding: 0;
  background: transparent;
  color: #b9c9e2;
  font-size: 9px;
}
.home-match-centre-v3 .match-rail-title {
  min-height: 34px;
  margin: 10px 0 3px;
  color: #c7d4e8;
  font-size: 11px;
  line-height: 1.35;
}
.home-match-centre-v3 .match-rail-teams {
  grid-template-columns: minmax(68px, 1fr) 58px minmax(68px, 1fr);
  min-height: 96px;
  gap: 7px;
}
.home-match-centre-v3 .match-rail-teams img {
  width: 54px;
  height: 54px;
}
.home-match-centre-v3 .match-rail-teams > a {
  gap: 4px;
  font-size: 10px;
}
.home-match-centre-v3 .match-rail-time { gap: 1px; }
.home-match-centre-v3 .match-rail-time small { display: none; }
.home-match-centre-v3 .match-rail-time time {
  color: #c57cff;
  font-size: 11px;
}
.home-match-centre-v3 .match-rail-time span { font-size: 9px; }
.home-match-centre-v3 .match-rail-venue {
  padding-top: 10px;
  color: #b8c7df;
  font-size: 10px;
  text-align: left;
}
.home-opening-band-retired[hidden] { display: none !important; }

@media (max-width: 1080px) {
  .home-match-centre-feature { grid-template-columns: 1fr; }
  .home-match-centre-live { padding: 0 18px 16px; }
  .home-match-centre-v3 .match-rail-track { grid-auto-columns: minmax(285px, 34vw); gap: 1px; }
}

@media (max-width: 760px) {
  .home-match-centre-v3 { padding: 34px 14px 38px; }
  .home-match-centre-heading,
  .home-match-centre-upcoming { grid-template-columns: 1fr; align-items: start; }
  .home-match-centre-heading > a { width: fit-content; }
  .home-match-centre-next-layout { grid-template-columns: 1fr; }
  .home-match-centre-countdown {
    border-top: 1px solid #ccd6e7;
    border-left: 0;
  }
  .home-match-centre-next > footer { grid-template-columns: 1fr 1fr; }
  .home-match-centre-next > footer nav { grid-column: 1 / -1; }
  .home-match-centre-live-state { grid-template-columns: 1fr; }
  .home-match-centre-live-state > div + div {
    border-top: 1px solid rgba(197, 216, 244, .35);
    border-left: 0;
  }
  .home-match-centre-live > footer small { width: 100%; margin-left: 0; }
  .home-match-centre-upcoming .match-rail-actions { justify-content: space-between; }
  .home-match-centre-upcoming .match-rail-actions > a { display: inline-flex; }
  .home-match-centre-v3 .match-rail-track { grid-auto-columns: minmax(285px, 86vw); }
}

@media (max-width: 460px) {
  .home-match-centre-heading h2 { font-size: 34px; }
  .home-match-centre-next > header { align-items: flex-start; flex-direction: column; gap: 3px; padding-block: 12px; }
  .home-match-centre-next-main { padding: 19px 15px 16px; }
  .home-match-centre-next-main h3 { font-size: 23px; }
  .home-match-centre-teams { grid-template-columns: 1fr 36px 1fr; gap: 5px; }
  .home-match-centre-teams > a {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .home-match-centre-teams img { grid-row: auto; width: 72px; height: 72px; }
  .home-match-centre-teams b { justify-self: center; }
  .home-match-centre-next > footer { grid-template-columns: 1fr; padding-inline: 15px; }
  .home-match-centre-next > footer nav { grid-column: auto; }
  .home-match-centre-next > footer nav a { flex: 1 1 130px; }
  .home-match-centre-live { padding-inline: 13px; }
  .home-match-centre-live > footer a { flex: 1 1 120px; }
  .home-match-centre-upcoming h3 { font-size: 24px; }
  .home-match-centre-v3 .match-rail-track { grid-auto-columns: 86vw; }
}

@media (prefers-reduced-motion: reduce) {
  .home-match-centre-v3 *,
  .home-match-centre-v3 *::before,
  .home-match-centre-v3 *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
