.hero {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  background: var(--navy-900);
}

.hero__slides {
  position: relative;
}

.hero__slide {
  position: relative;
  min-height: 480px;
  display: none;
}
.hero__slide.is-active {
  display: block;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: var(--hero-bg-size, cover);
  background-position: var(--hero-bg-position, center);
  filter: saturate(1.05) contrast(1.03);
}

/* When hero uses a full-page design mockup, crop/zoom via --hero-bg-* (set in main.js from data). */
.hero__bg--ref {
  background-repeat: no-repeat;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(6, 21, 40, 0.92) 0%,
    rgba(6, 21, 40, 0.55) 52%,
    rgba(6, 21, 40, 0.08) 100%
  );
}

/* Bottom-left gold wedge (reference hero accent) */
.hero__triangle {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  width: clamp(160px, 34vw, 300px);
  height: clamp(84px, 15vh, 152px);
  pointer-events: none;
  clip-path: polygon(0 100%, 0 0, 100% 100%);
  background: linear-gradient(168deg, #ebc56e 0%, var(--gold) 42%, var(--gold-2) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  /* Second “layer” like the mock: offset silhouette follows clip-path */
  filter: drop-shadow(12px 10px 0 rgba(45, 32, 8, 0.32));
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 74px 0 68px;
}

.hero__title {
  margin: 0;
  font-size: 60px;
  letter-spacing: -1px;
  line-height: 1.02;
  color: #f3f7ff;
  font-weight: 900;
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.hero__subtitle {
  margin: 14px 0 18px;
  color: rgba(243, 247, 255, 0.78);
  line-height: 1.55;
  font-weight: 500;
  max-width: 44ch;
}

.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(6, 21, 40, 0.35);
  color: #f3f7ff;
  display: grid;
  place-items: center;
  z-index: 3;
  cursor: pointer;
}

.hero__arrow--prev {
  left: 18px;
}
.hero__arrow--next {
  right: 18px;
}
.hero__arrow .ico {
  width: 22px;
  height: 22px;
}

.hero__dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
}
.dot.is-active {
  background: var(--gold);
  border-color: rgba(214, 165, 69, 0.9);
}
.dot:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.stats {
  margin-top: -44px;
  position: relative;
  z-index: 5;
}

.stats__strip {
  background: var(--navy-900);
  border-radius: 14px;
  border: 1px solid rgba(214, 165, 69, 0.22);
  box-shadow: none;
  padding: 16px 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.stat {
  display: grid;
  grid-template-columns: 34px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 2px;
  align-items: center;
  color: #eaf2ff;
  padding: 8px 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.stat:last-child {
  border-right: none;
}
.stat__icon {
  grid-row: 1 / span 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 0;
  background: transparent;
  border: none;
  color: var(--gold);
  line-height: 0;
}
.stat__icon .ico {
  width: 28px;
  height: 28px;
}
.stat__value {
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.3px;
  color: #fff;
}
.stat__label {
  font-size: 12px;
  color: rgba(234, 242, 255, 0.78);
  font-weight: 600;
}

/* Fixtures / news / promo: white strip (cream only on .section.features below) */
.section.section--cards {
  margin-top: 0;
  padding: 10px 0 14px;
  background: #ffffff;
  position: relative;
  z-index: 1;
}

.cards3 {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.1fr;
  gap: 14px;
  align-items: stretch;
}

/* Equal-height row: grid stretches items; cards use column flex so footers / backgrounds fill */
.cards3 > .card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.cards3 > .promo {
  height: 100%;
  min-height: 340px;
}

/* —— Upcoming fixtures: navy + gold (reference) —— */
.card--fixtures-panel {
  background: linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 55%, #040c18 100%);
  border: 1px solid rgba(214, 165, 69, 0.28);
  box-shadow: 0 20px 44px rgba(6, 21, 40, 0.35);
  overflow: hidden;
}

.card--fixtures-panel .card__header--fixtures {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 14px 18px;
  background: linear-gradient(90deg, var(--navy-900) 0%, #0a1f38 100%);
  border-bottom: 1px solid rgba(214, 165, 69, 0.22);
}

.card--fixtures-panel .card__title {
  color: #f3f7ff;
  letter-spacing: 1px;
}

.card--fixtures-panel .card__title-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: transparent;
  border: 1px solid rgba(214, 165, 69, 0.55);
  flex-shrink: 0;
  color: var(--gold);
}
.card--fixtures-panel .card__title-icon .ico {
  width: 22px;
  height: 22px;
}

.card--fixtures-panel .fixtures__list {
  flex: 1;
  background: rgba(4, 12, 24, 0.55);
  padding: 12px 16px 16px;
}

.card--fixtures-panel .fixture {
  border-top-color: rgba(255, 255, 255, 0.1);
  padding: 12px 0;
}

.card--fixtures-panel .fixture__teams {
  color: #f3f7ff;
  font-weight: 700;
  font-size: 13px;
}
.card--fixtures-panel .fixture__home {
  color: #f3f7ff;
}
.card--fixtures-panel .fixture__vs {
  font-weight: 600;
  opacity: 0.72;
  margin: 0 5px;
}
.card--fixtures-panel .fixture__away {
  color: var(--gold);
}

.card--fixtures-panel .fixture__meta {
  color: rgba(234, 242, 255, 0.62);
}

.card--fixtures-panel .fixture__aside,
.card--fixtures-panel .fixture__time,
.card--fixtures-panel .fixture__venue {
  color: rgba(234, 242, 255, 0.78);
}

.card--fixtures-panel .datepill--split {
  min-width: 52px;
  max-width: 58px;
  border: none;
  box-shadow: none;
  overflow: hidden;
}

.card--fixtures-panel .card__footer--fixtures {
  flex-shrink: 0;
  background: rgba(4, 12, 24, 0.75);
  border-top: 1px solid rgba(214, 165, 69, 0.2);
  padding: 16px 18px 20px;
  text-align: center;
}

.card--fixtures-panel .card__footer--fixtures .btn {
  width: 100%;
  max-width: 100%;
}

/* —— Club news: white panel, navy titles, gold “view all” —— */
.card--news-panel .card__title {
  color: var(--navy-900);
  letter-spacing: 0.9px;
}

.card--news-panel .card__header--row {
  padding-bottom: 14px;
  margin-bottom: 2px;
  border-bottom: 1px solid rgba(8, 26, 47, 0.1);
}

.card--news-panel .news__list {
  flex: 1;
  align-content: start;
  gap: 0;
  padding-top: 0;
  padding-bottom: 18px;
}

.card--news-panel .newsitem {
  grid-template-columns: minmax(96px, 1fr) 2fr;
  gap: 14px;
  align-items: start;
  padding: 14px 0;
}

.card--news-panel .thumb {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  border: 1px solid rgba(8, 26, 47, 0.09);
  background: linear-gradient(165deg, #f2f4f7 0%, #e6eaef 55%, #dce2e9 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  position: relative;
  overflow: hidden;
}

.card--news-panel .thumb--link {
  text-decoration: none;
}

.card--news-panel .thumb--link:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 2px;
}

.card--news-panel .thumb__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.card--news-panel .newsitem__body {
  min-width: 0;
}

.card--news-panel .newsitem__title {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -0.015em;
  color: var(--navy-900);
}

.card--news-panel .newsitem__date {
  margin-top: 5px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(11, 18, 32, 0.48);
}

.fixtures__list,
.news__list {
  list-style: none;
  padding: 0 18px 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.fixture {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(8, 26, 47, 0.08);
}
.fixture:first-child {
  border-top: none;
}

.datepill {
  border-radius: 12px;
  background: linear-gradient(180deg, var(--navy-900), var(--navy-800));
  color: #eaf2ff;
  display: grid;
  place-items: center;
  padding: 8px 0;
  border: 1px solid rgba(255, 255, 255, 0.10);
}
.datepill__mon {
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: 900;
  opacity: 0.9;
}
.datepill__day {
  font-size: 18px;
  font-weight: 900;
}

/* Split pill: gold month band + white day (fixtures reference) */
.datepill--split {
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(214, 165, 69, 0.35);
  background: #fff;
  min-width: 50px;
  text-align: center;
}
.datepill--split .datepill__top {
  background: var(--gold);
  color: var(--navy-900);
  font-size: 10px;
  letter-spacing: 1.1px;
  font-weight: 900;
  padding: 7px 6px 5px;
  line-height: 1;
}
.datepill--split .datepill__bottom {
  background: #fff;
  color: var(--navy-900);
  font-size: 18px;
  font-weight: 900;
  padding: 8px 6px 10px;
  line-height: 1;
}

.fixture__teams {
  font-size: 13px;
  color: var(--navy-900);
}
.fixture__meta {
  font-size: 12px;
  color: rgba(11, 18, 32, 0.55);
  margin-top: 2px;
}
.fixture__aside {
  text-align: right;
  font-size: 12px;
  color: rgba(11, 18, 32, 0.62);
}
.fixture__time {
  font-weight: 800;
  color: rgba(11, 18, 32, 0.75);
}

.news__list {
  padding-top: 2px;
  padding-bottom: 16px;
}

.newsitem {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 12px;
  align-items: start;
  padding: 10px 0;
  border-top: 1px solid rgba(8, 26, 47, 0.08);
}
.newsitem:first-child {
  border-top: none;
}

.thumb {
  width: 60px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(8, 26, 47, 0.10);
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.6), transparent 55%),
    linear-gradient(135deg, rgba(214, 165, 69, 0.22), rgba(6, 21, 40, 0.85));
}

.newsitem__title {
  font-weight: 800;
  font-size: 13px;
  color: var(--navy-900);
}
.newsitem__date {
  margin-top: 2px;
  font-size: 12px;
  color: rgba(11, 18, 32, 0.55);
}

.promo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 340px;
  box-shadow: 0 22px 48px rgba(6, 21, 40, 0.38);
  border: 1px solid rgba(214, 165, 69, 0.25);
}

.promo__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(105deg, rgba(6, 21, 40, 0.97) 0%, rgba(6, 21, 40, 0.82) 42%, rgba(6, 21, 40, 0.45) 100%),
    radial-gradient(ellipse 90% 70% at 92% 75%, rgba(40, 90, 50, 0.35), transparent 55%),
    linear-gradient(180deg, #0a1628 0%, #061528 100%);
}

/* Bold diagonal gold band (reference “journey” card) */
.promo__stripe {
  position: absolute;
  inset: -20% -30%;
  z-index: 1;
  background: linear-gradient(
    118deg,
    transparent 0%,
    transparent 36%,
    rgba(214, 165, 69, 0.15) 40%,
    rgba(214, 165, 69, 0.72) 47%,
    rgba(214, 165, 69, 0.5) 50%,
    rgba(214, 165, 69, 0.12) 54%,
    transparent 58%
  );
  pointer-events: none;
}

.promo__overlay {
  position: relative;
  z-index: 2;
  padding: 28px 22px 32px;
  color: #eaf2ff;
  max-width: min(340px, 52%);
  min-height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cards3 > .promo .promo__overlay .btn {
  margin-top: auto;
}

.promo__title {
  margin: 0;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 900;
  letter-spacing: 0.6px;
  line-height: 1.2;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.promo__copy {
  margin: 12px 0 20px;
  color: rgba(234, 242, 255, 0.78);
  line-height: 1.55;
  font-weight: 500;
  font-size: 14px;
}

/* Four-column highlights: cream surrounds the white panel */
.section.features {
  background: #f4f0e8;
  padding-top: 16px;
  padding-bottom: 36px;
}

/* One flat panel, four columns with hairline dividers (reference) */
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  background: #fff;
  border: 1px solid rgba(8, 26, 47, 0.08);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: none;
}

.featuretile {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 22px 20px 20px;
  border-left: 1px solid rgba(8, 26, 47, 0.08);
}

a.featuretile.featuretile--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.featuretile.featuretile--link:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 3px;
}

a.featuretile.featuretile--link:hover .featuretile__title {
  color: var(--navy-900);
}

.featuretile:first-child {
  border-left: none;
}

.featuretile__top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.featuretile__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1.5px solid var(--navy-900);
  color: var(--navy-900);
  line-height: 0;
}

.featuretile__icon--navy {
  border-color: var(--navy-900);
  color: var(--navy-900);
}

.featuretile__icon--gold {
  border-color: var(--gold-2);
  color: var(--gold-2);
}

.featuretile__icon .ico {
  width: 22px;
  height: 22px;
}

.featuretile__title {
  margin: 0;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.75px;
  color: var(--navy-900);
}

.featuretile__desc {
  margin: 12px 0 16px;
  color: rgba(11, 18, 32, 0.72);
  line-height: 1.55;
  font-size: 13px;
}

.featuretile__img {
  margin-top: auto;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 128px;
  border-radius: 12px;
  border: 1px solid rgba(8, 26, 47, 0.08);
  background: linear-gradient(102deg, #e4e8ed 0%, #c5cdd8 38%, #3d4758 100%);
}

.featuretile__img--thumb {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.quoteband {
  background: var(--gold);
  padding: 28px 0;
  border: none;
}

.quoteband__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
}

.quoteband__quote {
  margin: 0;
  font-weight: 700;
  font-style: italic;
  color: var(--navy-900);
}

.quoteband__crest {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid rgba(214, 165, 69, 0.45);
  display: grid;
  place-items: center;
  box-shadow: none;
}
.quoteband__crestText {
  font-weight: 900;
  color: var(--navy-900);
  font-size: 13px;
  letter-spacing: 0.7px;
}

.quoteband__crest--logo {
  padding: 6px;
}

.quoteband__crestImg {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.quoteband__follow {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}
.quoteband__followText {
  color: rgba(11, 18, 32, 0.72);
  font-weight: 600;
  max-width: 40ch;
  text-align: right;
}

@media (max-width: 1120px) {
  .hero__title {
    font-size: 52px;
  }
  .cards3 {
    grid-template-columns: 1fr 1fr;
  }
  .promo {
    grid-column: 1 / -1;
    min-height: 280px;
  }
  .promo__overlay {
    max-width: 520px;
  }
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featuretile {
    border-left: none;
    border-top: 1px solid rgba(8, 26, 47, 0.08);
  }

  .featuretile:nth-child(-n + 2) {
    border-top: none;
  }

  .featuretile:nth-child(odd) {
    border-right: 1px solid rgba(8, 26, 47, 0.08);
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: 520px;
  }
  .hero__content {
    padding: 56px 0 72px;
  }
  .hero__title {
    font-size: 42px;
  }
  .stats__strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 14px;
  }
  .stat {
    border-right: none;
    padding: 10px 8px;
  }
  .cards3 {
    grid-template-columns: 1fr;
  }
  .promo {
    min-height: 300px;
  }
  .quoteband__inner {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .quoteband__follow {
    justify-content: flex-start;
  }
  .quoteband__followText {
    text-align: left;
  }

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

  .featuretile {
    border-right: none !important;
    border-left: none !important;
    border-top: 1px solid rgba(8, 26, 47, 0.08);
  }

  .featuretile:first-child {
    border-top: none;
  }
}

