/* Mawqif Sports — editorial public site */

.mark-football,
.mark-basketball,
.mark-volleyball,
.mark-cross {
  background-color: #032b1b;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.mark-football {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 700' fill='none' stroke='%23ffffff' stroke-opacity='0.16' stroke-width='2'%3E%3Crect x='70' y='50' width='1060' height='600'/%3E%3Cline x1='600' y1='50' x2='600' y2='650'/%3E%3Ccircle cx='600' cy='350' r='92'/%3E%3Crect x='70' y='185' width='150' height='330'/%3E%3Crect x='980' y='185' width='150' height='330'/%3E%3C/svg%3E");
}

.mark-basketball {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 700' fill='none' stroke='%23ffffff' stroke-opacity='0.16' stroke-width='2'%3E%3Crect x='80' y='40' width='1040' height='620'/%3E%3Ccircle cx='600' cy='350' r='86'/%3E%3Crect x='80' y='210' width='180' height='280'/%3E%3Crect x='940' y='210' width='180' height='280'/%3E%3Cpath d='M260 140c150 80 150 340 0 420M940 140c-150 80-150 340 0 420'/%3E%3C/svg%3E");
}

.mark-volleyball {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 700' fill='none' stroke='%23ffffff' stroke-opacity='0.16' stroke-width='2'%3E%3Crect x='90' y='70' width='1020' height='560'/%3E%3Cline x1='600' y1='70' x2='600' y2='630' stroke-width='4'/%3E%3Cline x1='430' y1='70' x2='430' y2='630'/%3E%3Cline x1='770' y1='70' x2='770' y2='630'/%3E%3C/svg%3E");
}

.mark-cross {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 700' fill='none' stroke='%23ffffff' stroke-opacity='0.16' stroke-width='1.5'%3E%3Cpath d='M40 180c160-40 240 40 400 10s260-70 420-20 220 30 300 0'/%3E%3Cpath d='M40 300c180 30 260-50 430-10s250 60 400 10 200-40 290 10'/%3E%3Cpath d='M40 460c140-20 280 50 430 10s240-80 390-20 210 40 300 0'/%3E%3Cpath d='M80 560c200 40 280-30 460 10'/%3E%3C/svg%3E");
}

/* ── Homepage hero ── */

.home-hero__frame {
  position: relative;
  min-height: min(78vh, 840px);
  display: flex;
  align-items: flex-end;
  background: #032b1b;
  overflow: hidden;
}

.home-hero--fallback .home-hero__frame {
  background: transparent;
}

.home-hero__frame picture,
.home-hero__frame .home-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.home-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 43, 27, 0.88) 0%, rgba(3, 43, 27, 0.42) 46%, rgba(3, 43, 27, 0.18) 100%);
}

.home-hero__copy {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(36px, 6vh, 72px);
  padding-top: 48px;
}

.home-hero__lead {
  max-width: 11em;
  color: #fff;
  font-size: clamp(2.75rem, 5.1vw, 4.75rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.home-hero__tag {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ── Shared section chrome ── */

.home-block {
  padding-block: 56px 8px;
}

.home-block__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 28px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.home-block__title {
  font-size: clamp(1.7rem, 2.6vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  text-transform: uppercase;
}

.home-block__tools {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  flex-wrap: wrap;
}

.home-block__more {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-block__more span,
.fx-card__cta span,
.explore-tile__arrow,
.coverage-tile__cta span,
.athlete-card__cta span,
.team-card__go span,
.fx-row__go {
  display: inline-block;
  transition: transform 200ms var(--ease);
}

.home-block__more:hover span,
.fx-card:hover .fx-card__cta span,
.explore-tile:hover .explore-tile__arrow,
.coverage-tile:hover .coverage-tile__cta span,
.athlete-card:hover .athlete-card__cta span,
.team-card:hover .team-card__go span,
.fx-row:hover .fx-row__go {
  transform: translateX(4px);
}

.home-tabs {
  display: inline-flex;
  border: 1px solid var(--rule);
  background: #fff;
}

.home-tab {
  min-height: 44px;
  padding: 0 16px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  transition: background 200ms var(--ease), color 200ms var(--ease);
}

.home-tab.is-active {
  background: var(--mawqif-green-dark);
  color: #fff;
}

.home-note {
  border-top: 1px solid var(--rule);
  padding: 18px 0;
  color: var(--stone);
}

.home-note--rail {
  flex: 1 0 100%;
  border-top: 0;
}

/* ── Rails ── */

.h-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 2px 18px;
}

.h-rail::-webkit-scrollbar {
  display: none;
}

.h-rail > * {
  scroll-snap-align: start;
}

.home-rail-nav__btn {
  width: 44px;
  height: 44px;
}

/* ── Fixture cards ── */

.fx-card {
  position: relative;
  flex: 0 0 340px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 2px;
  transition: transform 200ms var(--ease), border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}

.fx-card:hover {
  transform: translateY(-3px);
  border-color: var(--mawqif-green);
  box-shadow: 0 10px 24px rgba(3, 43, 27, 0.08);
}

.fx-card:active {
  transform: translateY(0);
}

.fx-card__link {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 228px;
  padding: 18px 18px 16px;
}

.fx-card__top,
.fx-card__foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.fx-card__date,
.fx-card__sport,
.fx-card__cta {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fx-card__sport {
  color: var(--stone);
}

.fx-card__teams {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 10px 14px;
  margin-top: auto;
  width: fit-content;
  max-width: 100%;
}

.fx-card__team {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.fx-card__logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.fx-card__name {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  overflow-wrap: anywhere;
}

.fx-card__vs,
.fx-card__score {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}

.fx-card__score {
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  white-space: nowrap;
}

.fx-card__score span {
  padding-inline: 6px;
  color: var(--stone);
}

.fx-card__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  font-size: 0.95rem;
}

.fx-card__venue {
  color: var(--stone);
}

.fx-card__flag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fx-card__cta {
  flex-shrink: 0;
}

/* ── Explore sports ── */

.explore-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.explore-tile__count {
  display: block;
  margin-top: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.explore-tile {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  color: #fff;
  background-color: #032b1b;
}

.explore-tile__media,
.explore-tile__media picture,
.explore-tile__media img,
.explore-tile__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.explore-tile__media img {
  object-fit: cover;
  transition: transform 240ms var(--ease);
}

.explore-tile__shade {
  background: linear-gradient(to top, rgba(3, 43, 27, 0.82) 0%, rgba(3, 43, 27, 0.15) 55%, rgba(3, 43, 27, 0.05) 100%);
  transition: background 240ms var(--ease);
}

.explore-tile__name,
.explore-tile__arrow {
  position: absolute;
  z-index: 1;
  bottom: 16px;
}

.explore-tile__name {
  left: 16px;
  right: 48px;
  font-size: clamp(1.15rem, 1.6vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  text-transform: uppercase;
}

.explore-tile__arrow {
  right: 16px;
  font-size: 1.25rem;
}

.explore-tile:hover img {
  transform: scale(1.03);
}

.explore-tile:hover .explore-tile__shade {
  background: linear-gradient(to top, rgba(3, 43, 27, 0.9) 0%, rgba(3, 43, 27, 0.28) 60%);
}

/* ── Coverage + stories ── */

.coverage-board,
.story-board {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr);
  gap: 12px;
}

.coverage-board--solo,
.story-board--solo {
  grid-template-columns: 1fr;
}

.coverage-board__stack,
.story-board__side {
  display: grid;
  gap: 12px;
}

.coverage-tile,
.story-lead,
.story-side,
.watch-tile,
.athlete-card,
.match-media__card {
  position: relative;
}

.coverage-tile {
  display: block;
  min-height: 240px;
  overflow: hidden;
  color: #fff;
  background: #032b1b;
}

.coverage-tile--feature {
  min-height: 520px;
}

.coverage-tile__media,
.coverage-tile__media picture,
.coverage-tile__media img,
.coverage-tile__shade,
.story-lead__media,
.story-lead__media picture,
.story-lead__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.coverage-tile__media img,
.story-lead__media img,
.match-media__frame img,
.watch-tile__media img,
.athlete-card__media img {
  object-fit: cover;
  transition: transform 260ms var(--ease);
}

.coverage-tile__shade {
  background: linear-gradient(to top, rgba(3, 43, 27, 0.88), rgba(3, 43, 27, 0.05) 58%);
  transition: background 220ms var(--ease);
}

.coverage-tile__copy {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.coverage-tile__title,
.story-lead__title {
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.coverage-tile--side .coverage-tile__title {
  font-size: 1.25rem;
}

.coverage-tile__meta,
.coverage-tile__cta,
.story-lead__kicker,
.story-side__kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.coverage-tile:hover img,
.story-lead:hover img,
.match-media__card:hover img,
.watch-tile:hover img {
  transform: scale(1.03);
}

.coverage-tile:hover .coverage-tile__shade {
  background: linear-gradient(to top, rgba(3, 43, 27, 0.92), rgba(3, 43, 27, 0.2) 62%);
}

.story-lead {
  display: flex;
  flex-direction: column;
  min-height: 460px;
  background: #032b1b;
  color: var(--ink);
}

.story-lead__media {
  position: relative;
  flex: 1 1 auto;
  min-height: 280px;
  overflow: hidden;
  background: #032b1b;
}

.story-lead__media picture,
.story-lead__media img {
  position: absolute;
}

.story-lead__copy,
.story-side__copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 2px 0;
}

.story-lead__title,
.story-side__title {
  color: var(--ink);
}

.story-side {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}

.story-side:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.story-side__media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #032b1b;
}

.story-side__media picture,
.story-side__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-side__title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.athlete-card {
  flex: 0 0 220px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--ink);
}

.athlete-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #032b1b;
}

.athlete-card__media picture,
.athlete-card__media img,
.athlete-card__fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.athlete-card__fallback {
  display: block;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), transparent 40%),
    #032b1b;
}

.athlete-card:hover img {
  transform: scale(1.03);
}

.athlete-card__name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.athlete-card__meta,
.athlete-card__cta {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stone);
}

.athlete-card__cta {
  color: var(--ink);
}

.watch-tile {
  flex: 0 0 380px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.watch-tile__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #032b1b;
}

.watch-tile__media picture,
.watch-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.watch-tile__title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.brand-band {
  margin-top: 28px;
  background: #032b1b;
  color: #fff;
}

.brand-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) auto;
  gap: 28px 40px;
  align-items: end;
  padding-block: 56px;
}

.brand-band__name {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-transform: uppercase;
}

.brand-band__tag,
.brand-band__link {
  margin-top: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.brand-band__copy {
  max-width: 42ch;
  font-size: 1.05rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

/* ── Fixtures centre ── */

.fx {
  padding-block: 36px 64px;
}

.fx__intro h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
  text-transform: uppercase;
}

.fx__intro p {
  max-width: 42ch;
  margin-top: 12px;
  font-size: 1.125rem;
  color: var(--ink-80);
}

.fx__toolbar,
.fx__filters,
.fx__month {
  display: flex;
  align-items: center;
  gap: 12px 18px;
  margin-top: 22px;
}

.fx__toolbar {
  justify-content: space-between;
}

.fx__toggle,
.fx__layout {
  display: inline-flex;
  border: 1px solid var(--rule);
  background: #fff;
}

.fx__toggle-btn,
.fx__layout a,
.fx__chip,
.fx__today,
.fx__month-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fx__toggle-btn,
.fx__layout a {
  padding: 0 16px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  transition: background 180ms var(--ease), color 180ms var(--ease);
}

.fx__toggle-btn.is-active,
.fx__chip.is-active {
  background: var(--mawqif-green);
  color: #fff;
}

.fx__layout a.is-active {
  background: var(--mawqif-green-dark);
  color: #fff;
}

.fx__filters {
  align-items: stretch;
}

.fx__chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
  flex: 1 1 auto;
  padding-bottom: 2px;
}

.fx__chips::-webkit-scrollbar {
  display: none;
}

.fx__chip {
  flex: 0 0 auto;
  padding: 0 14px;
  border: 1px solid var(--rule);
  background: transparent;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease);
}

.fx__chip.is-active {
  border-color: var(--mawqif-green);
}

.fx__search input {
  width: min(240px, 42vw);
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: #fff;
}

.fx__month {
  justify-content: center;
  position: relative;
  margin-top: 28px;
  margin-bottom: 8px;
}

.fx__month h2 {
  min-width: 12ch;
  text-align: center;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.fx__month-btn {
  width: 44px;
  font-size: 1.15rem;
}

.fx__today {
  position: absolute;
  right: 0;
  padding: 0 12px;
  border: 1px solid var(--rule);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: #fff;
}

.fx__list {
  border-top: 1px solid var(--rule);
}

.fx-row {
  display: grid;
  grid-template-columns: 92px auto auto auto minmax(0, 1fr) auto;
  grid-template-areas: "when kicker match time place go";
  gap: 8px 18px;
  align-items: center;
  padding: 20px 8px;
  border-bottom: 1px solid var(--rule);
  transition: background 200ms var(--ease);
}

.fx-row__when { grid-area: when; }
.fx-row__kicker { grid-area: kicker; }
.fx-row__match { grid-area: match; }
.fx-row__time { grid-area: time; }
.fx-row__place { grid-area: place; }
.fx-row__go { grid-area: go; align-self: center; }

.fx-row:hover {
  background: rgba(46, 139, 87, 0.06);
}

.fx-row:hover .fx-row__club {
  color: var(--mawqif-green-dark);
}

.fx-row__when {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.fx-row__dow,
.fx-row__mon,
.fx-row__kicker,
.fx-row__today {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fx-row__kicker {
  color: var(--stone);
}

.fx-row__day {
  margin-block: 3px;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.fx-row__today {
  margin-top: 6px;
  color: var(--mawqif-green);
}

.fx-row__match {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  width: max-content;
  max-width: 100%;
}

.fx-row__match img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.fx-row__vs {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}

.fx-row__time {
  font-weight: 700;
  white-space: nowrap;
}

.division-list {
  display: grid;
  gap: 10px;
}

.division-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 16px;
  border: 1px solid var(--rule);
  background: #fff;
}

.division-card strong {
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.division-card span {
  color: var(--stone);
  font-size: 0.95rem;
}

.mvp-list,
.match-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mvp-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 240px));
  gap: 16px;
}

.mvp-list li {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}

.mvp-list__team,
.mvp-list__role,
.match-timeline__time,
.match-timeline__team {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
}

.mvp-list p,
.mvp-list a {
  margin: 4px 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.match-timeline li {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) auto;
  gap: 12px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
}

.match-timeline__player {
  font-weight: 750;
}

.fx-row__club {
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  overflow-wrap: anywhere;
  transition: color 200ms var(--ease);
}

.fx-row__place {
  color: var(--stone);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fx-row__go {
  font-size: 1.15rem;
}

.fx__empty {
  padding: 22px 0 8px;
}

.fx__empty p {
  font-size: 1.05rem;
  font-weight: 650;
}

.fx__empty a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 4px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mawqif-green);
}

.fx__calendar {
  margin-top: 8px;
}

.fx__cal-dow,
.fx__cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.fx__cal-dow {
  margin-bottom: 6px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  text-align: center;
}

.fx__cal-day {
  min-height: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid transparent;
  font-weight: 700;
}

.fx__cal-day:disabled {
  color: rgba(11, 32, 25, 0.28);
}

.fx__cal-day.has-fixtures {
  background: #fff;
  border-color: var(--rule);
}

.fx__cal-day.is-selected,
.fx__cal-day.is-today.has-fixtures {
  border-color: var(--mawqif-green);
}

.fx__cal-day.is-selected {
  background: var(--mawqif-green-dark);
  color: #fff;
}

.fx__cal-mark {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mawqif-green);
}

.fx__cal-day.is-selected .fx__cal-mark {
  background: #fff;
}

.fx__cal-panel {
  margin-top: 16px;
  border-top: 1px solid var(--rule);
}

.fx__cal-panel .fx-row {
  background: transparent;
}

/* ── Match hero ── */

.match-page__back {
  padding-top: 18px;
  padding-bottom: 12px;
}

.match-page__back a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mh {
  color: #fff;
  background-color: #032b1b;
}

.mh__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding-block: clamp(36px, 6vw, 72px);
}

.mh__top {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.mh__kicker,
.mh__status,
.mh__venue,
.mh__final {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mh__status {
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 6px 10px;
}

.mh__date {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 600;
}

.mh__date--short {
  display: none;
}

.mh__time,
.mh__scoreline {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.mh__scoreline {
  display: flex;
  align-items: center;
  gap: 18px;
}

.mh__dash {
  font-weight: 500;
  opacity: 0.7;
}

.mh__logos,
.mh__matchup {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 22px;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}

.mh__side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.mh__logos img {
  width: 84px;
  height: 84px;
  margin-inline: auto;
  object-fit: contain;
}

.mh__abbr {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  overflow-wrap: anywhere;
}

.mh__school {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.mh__vs {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.75;
}

.mh__venue {
  margin-top: 8px;
}

.mh__note {
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.78);
}

.mh__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.mh__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #fff;
  background: #fff;
  color: #032b1b;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.mh__btn--ghost {
  background: transparent;
  color: #fff;
}

.mi {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  border-bottom: 1px solid var(--rule);
}

.mi__item {
  padding: 18px 16px 18px 0;
}

.mi dt {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
}

.mi dd {
  margin-top: 4px;
  font-size: 1.05rem;
  font-weight: 700;
}

.mi__icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.match-sub {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(244, 245, 240, 0.94);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(8px);
}

.match-sub__row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.match-sub__row::-webkit-scrollbar {
  display: none;
}

.match-sub a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding-inline: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
}

.match-sub a:hover,
.match-sub a.is-active {
  border-bottom-color: var(--mawqif-green);
  color: var(--mawqif-green);
}

.match-body {
  padding-bottom: 48px;
}

.match-section {
  scroll-margin-top: calc(var(--header-h) + 64px);
  padding-top: 36px;
}

.match-section h2,
.club__section h2 {
  margin-bottom: 14px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.match-preview {
  max-width: 68ch;
  font-size: 1.2rem;
  line-height: 1.55;
}

.team-pair,
.match-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.team-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 180px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--rule);
  transition: transform 200ms var(--ease), border-color 200ms var(--ease);
}

a.team-card:hover {
  transform: translateY(-3px);
  border-color: var(--mawqif-green);
}

.team-card__logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.team-card__name {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.team-card__meta,
.team-card__go {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-card__school {
  color: var(--stone);
}

.team-card__go {
  margin-top: auto;
}

.cov-list,
.match-links {
  border-top: 1px solid var(--rule);
}

.cov-list li,
.match-links li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  min-height: 56px;
  border-bottom: 1px solid var(--rule);
  font-weight: 700;
}

.cov-list__planned {
  color: var(--stone);
  font-weight: 600;
}

.match-media__card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.match-media__frame {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #032b1b;
}

.match-media__frame picture,
.match-media__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.match-media__title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.match-media__cta,
.venue-open,
.match-external a {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.venue-name {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.venue-area {
  color: var(--stone);
  margin-top: 4px;
}

.venue-map {
  height: 180px;
  margin-top: 16px;
  border: 1px solid var(--rule);
}

.venue-open {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* ── Team page ── */

.club__hero {
  color: #fff;
}

.club__hero-inner {
  padding-block: 28px 40px;
}

.club__back a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.club__ident {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-top: 12px;
}

.club__ident h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.9;
  text-transform: uppercase;
}

.club__meta,
.club__school {
  margin-top: 8px;
  font-size: 1.05rem;
}

.club__school {
  color: rgba(255, 255, 255, 0.78);
}

.club__logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.08);
}

.club__body {
  padding-block: 28px 56px;
}

.club__about {
  max-width: 68ch;
  font-size: 1.15rem;
  line-height: 1.55;
}

.club__section {
  padding-top: 32px;
}

.club__form {
  display: flex;
  gap: 8px;
}

.club__form li {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
}

.club__form-w { background: var(--mawqif-green); }
.club__form-l { background: #8c3a32; }
.club__form-d { background: #6c776f; }

.squad {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
}

.squad__player {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 64px;
  justify-content: center;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--rule);
}

.squad__name {
  font-weight: 800;
}

.squad__pos {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stone);
}

.h-rail--single .fx-card {
  flex-basis: min(420px, 100%);
}

@media (max-width: 1023px) {
  .explore-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .coverage-board,
  .story-board,
  .brand-band__inner {
    grid-template-columns: 1fr;
  }

  .coverage-tile--feature {
    min-height: 420px;
  }

  .fx__today {
    position: static;
  }

  .fx__month {
    flex-wrap: wrap;
  }

  .fx-row {
    grid-template-columns: 92px minmax(0, 1fr) auto;
    grid-template-areas:
      "when kicker time"
      "when match go"
      "when place place";
  }
}

@media (max-width: 767px) {
  .home-hero__frame {
    min-height: 72vh;
  }

  .home-hero__lead {
    max-width: 11em;
    font-size: clamp(2.25rem, 10.5vw, 2.875rem);
  }

  .home-block {
    padding-block: 36px 4px;
  }

  .home-block__head {
    align-items: flex-start;
  }

  .home-block__tools {
    width: 100%;
    margin-left: 0;
  }

  .home-rail-nav {
    display: none;
  }

  .fx-card {
    flex-basis: 86%;
  }

  .athlete-card {
    flex-basis: 72%;
  }

  .watch-tile {
    flex-basis: 86%;
  }

  .explore-tile {
    aspect-ratio: 1 / 1.05;
  }

  .coverage-tile,
  .coverage-tile--feature,
  .story-lead {
    min-height: 0;
  }

  .coverage-tile--feature {
    aspect-ratio: 4 / 5;
  }

  .coverage-tile--side {
    aspect-ratio: 16 / 10;
  }

  .story-lead__media {
    aspect-ratio: 4 / 3;
    min-height: 0;
    flex: none;
  }

  .mh__date--full {
    display: none;
  }

  .mh__date--short {
    display: block;
  }

  .mh__logos img {
    width: 64px;
    height: 64px;
  }

  .mh__actions,
  .mh__btn {
    width: 100%;
  }

  .mh__actions {
    flex-direction: column;
  }

  .team-pair,
  .match-media {
    grid-template-columns: 1fr;
  }

  .fx-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "when time"
      "kicker kicker"
      "match match"
      "place go";
    gap: 10px 12px;
    padding: 18px 0;
  }

  .fx-row__when {
    flex-direction: row;
    align-items: baseline;
    gap: 6px;
  }

  .fx-row__day {
    font-size: 1rem;
    margin: 0;
  }

  .fx-row__today {
    margin-top: 0;
  }

  .fx-row__go {
    justify-self: end;
  }

  .fx__search {
    width: 100%;
  }

  .fx__search input {
    width: 100%;
  }

  .fx__filters {
    flex-direction: column;
  }

  .fx__layout {
    display: none;
  }

  .fx__calendar {
    display: none !important;
  }

  .fx__list {
    display: block !important;
  }

  .club__ident {
    align-items: flex-start;
  }

  .club__logo {
    width: 72px;
    height: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fx-card:hover,
  .explore-tile:hover img,
  .coverage-tile:hover img,
  .story-lead:hover img,
  .athlete-card:hover img,
  .team-card:hover,
  .home-block__more:hover span,
  .fx-row:hover .fx-row__go {
    transform: none;
  }
}
