/* Home page. Hero slider as drawn in Figma (home 438:31416; the same slider heads «المبادرات», 889:197122):
   a 1325 × 576 card, 28 px corners, the text block on the start side, the controls at the far end, a 4 px gold bar. */
.hero { position: relative; width: min(1352px, 100% - 32px); max-width: none; margin: var(--sp-6) auto 0; padding: 0; border: .8px solid var(--border); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-raised); }
.hero__track { list-style: none; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--r-lg); }
.hero__track::-webkit-scrollbar { display: none; }
.hero__slide { position: relative; isolation: isolate; flex: 0 0 100%; min-height: 574px; display: flex; align-items: center; scroll-snap-align: start; background: var(--ink); color: #fff; overflow: hidden; }
.hero__image, .hero__slide > picture { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.hero__slide picture img, .hero__image { width: 100%; height: 100%; object-fit: cover; }
[dir="rtl"] .hero__slide::before { background: linear-gradient(89.98deg, rgb(102 102 102 / 0) 0.02%, rgb(0 0 0 / .58) 42.03%, rgb(0 0 0 / .96) 110.65%); }
[dir="ltr"] .hero__slide::before { background: linear-gradient(-89.98deg, rgb(102 102 102 / 0) 0.02%, rgb(0 0 0 / .58) 42.03%, rgb(0 0 0 / .96) 110.65%); }
.hero__slide::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.hero__slide--plain { background: radial-gradient(circle at 80% 20%, #3A3426, var(--ink) 70%); }
.hero__content { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: var(--sp-3); width: min(621px, 100%); min-height: 574px; padding: var(--sp-8) var(--sp-8) var(--sp-8); }
.hero__eyebrow { display: inline-flex; align-items: center; gap: var(--sp-2); padding: var(--sp-1) var(--sp-4); border-radius: var(--r-full); background: var(--cream); color: var(--gold-strong); font-size: var(--fs-small); font-weight: 700; }
.hero__title { width: 493px; max-width: 100%; padding-top: var(--sp-3); font-size: var(--fs-display); font-weight: 700; line-height: var(--lh-heading); color: #fff; }
.hero__subtitle { width: 493px; max-width: 100%; font-size: var(--fs-h3); font-weight: 700; line-height: var(--lh-heading); }
.hero__text { color: rgb(255 255 255 / .85); line-height: 1.7; }
.hero__tag { display: inline-flex; align-items: center; gap: var(--sp-2); margin-top: var(--sp-3); color: #fff; font-size: var(--fs-xs); font-weight: 700; line-height: 18px; }
.hero__tag .icon { width: 14px; height: 14px; color: var(--gold); }
.hero__links { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-4); }

.btn--light { background: #fff; color: var(--text); }
.btn--light:hover { background: var(--selected-bg); color: var(--text); }
.hero__links .btn--gold { gap: var(--sp-2); }
.hero__progress { position: absolute; inset-inline: 0; top: 0; z-index: 2; height: 4px; overflow: hidden; background: rgb(201 151 78 / .35); border-radius: var(--r-lg) var(--r-lg) 0 0; }
.hero__progress span { display: block; width: 100%; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: right; }
[dir="ltr"] .hero__progress span { transform-origin: left; }
@keyframes hero-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__controls { position: absolute; inset-inline-end: 28px; bottom: 28px; display: flex; align-items: center; gap: var(--sp-3); }
.hero__btn { flex: none; }
.hero__dots { display: flex; align-items: center; gap: 0; }
.hero__dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: var(--r-full); background: rgb(255 255 255 / .75); background-clip: content-box; box-sizing: content-box; border: 8px solid transparent; /* 24 px hit area */ transition: width var(--dur-slow) var(--ease), background-color var(--dur-slow) var(--ease); }
.hero__dot.is-active { width: 28px; background-color: var(--gold); }
.hero__play-icon { display: none; }
.hero__pause.is-paused .hero__pause-icon { display: none; }
.hero__pause.is-paused .hero__play-icon { display: block; }
@media (max-width: 760px) {
  .hero { margin-top: var(--sp-5); }
  .hero__slide { min-height: 520px; align-items: flex-end; }
  [dir] .hero__slide::before { background: linear-gradient(to top, rgb(10 12 12 / .9) 0%, rgb(10 12 12 / .5) 60%, rgb(10 12 12 / .2) 100%); } /* [dir] outranks the side gradients above */
  .hero__content { padding: var(--sp-6) var(--sp-5) var(--sp-9); }
  .hero__text { display: none; } /* on phones: headline, one line and the actions; the paragraph made the slide taller than the screen */
  .hero__controls { inset-inline: 22px; justify-content: space-between; bottom: 20px; }
}

/* Home sections (page1-home-235-12127, restyled in gold) */
.home-section { margin-top: var(--sp-9); }
.home-section__head { display: flex; justify-content: space-between; align-items: end; gap: var(--sp-4); margin-bottom: var(--sp-6); }
.home-section__title { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; }
.home-section__more { display: inline-flex; align-items: center; gap: var(--sp-2); color: var(--gold-strong); font-weight: 800; white-space: nowrap; }

.home-announcements { width: min(1352px, 100% - 2 * var(--gutter)); margin: var(--sp-4) auto 0; }
.home-announcements__inner { display: flex; align-items: center; gap: var(--sp-4); padding: var(--sp-3) var(--sp-5); border: 1px solid var(--border); border-radius: var(--r-full); background: var(--surface); }
.home-announcements__label { display: inline-flex; align-items: center; gap: var(--sp-2); flex: none; color: var(--gold-strong); font-weight: 800; }
.home-announcements__list { position: relative; list-style: none; display: flex; gap: var(--sp-6); overflow-x: auto; scrollbar-width: thin; min-width: 0; }
.home-announcements__list li { display: flex; align-items: center; gap: var(--sp-3); flex: none; font-size: var(--fs-small); }
.home-announcements__list a { display: inline-flex; align-items: center; gap: var(--sp-1); color: var(--gold-strong); font-weight: 700; }

.home-figures { width: min(1352px, 100% - 2 * var(--gutter)); margin: var(--sp-5) auto 0; }
.home-figures__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--sp-5); margin: 0; }
.home-figures__item { display: grid; gap: var(--sp-1); justify-items: center; padding-top: var(--sp-4); border-top: 3px solid var(--gold); }
.home-figures__item dd { margin: 0; color: var(--gold-strong); font-size: var(--fs-h2-sm); font-weight: 800; }
.home-figures__item dt { color: var(--text-2); font-size: var(--fs-small); }

.home-shortcuts { padding-block: var(--sp-8); background: var(--surface-2); }
.home-shortcuts .home-section__title { margin-bottom: var(--sp-6); }
.home-shortcuts__grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-5); }
.home-shortcut { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: var(--sp-4); row-gap: var(--sp-1); align-items: center; height: 100%; padding: var(--sp-5); border: 1px solid var(--border); border-inline-end: 4px solid var(--gold); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-card); transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.home-shortcut:hover { border-color: var(--gold); box-shadow: var(--shadow-raised); } /* nothing moves on hover */
.home-shortcut__icon { grid-row: span 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-sm); background: var(--selected-bg); color: var(--gold-strong); }
.home-shortcut__title { font-weight: 800; }
.home-shortcut__text { color: var(--text-2); font-size: var(--fs-small); }

.home-stats { margin-top: var(--sp-9); padding-block: var(--sp-8); color: #fff; }
[dir="rtl"] .home-stats { background: linear-gradient(to left, #8A6A3B, #C59A5B 55%, #E2BE86); }
[dir="ltr"] .home-stats { background: linear-gradient(to right, #8A6A3B, #C59A5B 55%, #E2BE86); }
.home-stats__title { margin-bottom: var(--sp-6); font-size: var(--fs-h2); font-weight: 800; }
.home-stats__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-6) var(--sp-7); margin: 0; }
.home-stats__item { display: flex; align-items: center; justify-content: center; gap: var(--sp-4); }
.home-stats__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--r-sm); background: rgb(255 255 255 / .2); }
.home-stats__icon .icon { width: 26px; height: 26px; }
.home-stats__item dd { margin: 0; font-size: var(--fs-h2-sm); font-weight: 800; line-height: 1.2; }
.home-stats__item dt { opacity: .9; }

@media (max-width: 1000px) {
  .home-shortcuts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .home-section { margin-top: var(--sp-8); }
  .home-shortcuts__grid { grid-template-columns: minmax(0, 1fr); }
  .home-stats__grid { grid-template-columns: minmax(0, 1fr); }
  .home-stats__item { justify-content: flex-start; }
  .home-figures__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-announcements__inner { border-radius: var(--r-md); flex-direction: column; align-items: stretch; }
  .home-announcements__list { flex-direction: column; gap: var(--sp-3); overflow: visible; }
  .home-announcements__list li { flex-wrap: wrap; flex: initial; }
}

/* Feed sections */
.home-tabs { justify-content: flex-start; margin-bottom: var(--sp-6); }
.home-news__grid, .home-events__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-5); }

.home-medals { padding-block: var(--sp-8); background: var(--ink); color: #fff; }
.home-medals .home-section__title { color: #fff; }
.home-medals .home-section__more { color: var(--gold); }
.home-medals__grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-5); }
.medal-card { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 420px; border-radius: var(--r-md); overflow: hidden; background: #2A2E2B; }
.medal-card__image, .medal-card > picture { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.medal-card picture img, .medal-card__image { width: 100%; height: 100%; object-fit: cover; }
.medal-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(10 12 12 / .9) 0%, rgb(10 12 12 / .1) 60%); }
.medal-card__body { display: grid; justify-items: start; gap: var(--sp-2); padding: var(--sp-5); }
.medal-card__badge { padding: var(--sp-1) var(--sp-3); border-radius: var(--r-full); font-size: var(--fs-xs); font-weight: 800; color: var(--ink); background: #E9C46A; }
.medal-card__badge--silver { background: #D9DDE0; }
.medal-card__badge--bronze { background: #D69A6A; }
.medal-card__title { font-size: var(--fs-h4); font-weight: 800; }
.medal-card__title a { color: #fff; }
.medal-card__title a::after { content: ""; position: absolute; inset: 0; }
.medal-card__meta { color: rgb(255 255 255 / .8); font-size: var(--fs-small); }

.home-system__grid { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--sp-3); }
.home-system__grid a { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: var(--sp-3) var(--sp-4); border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--surface); text-align: center; font-size: var(--fs-small); font-weight: 700; }
.home-system__grid a:hover { border-color: var(--gold); color: var(--gold-strong); }

.home-facilities__layout { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: var(--sp-6); align-items: start; }
.home-facilities__list { list-style: none; display: grid; gap: var(--sp-3); }
.home-facilities__list a { display: grid; grid-template-columns: 1fr auto; gap: var(--sp-1) var(--sp-3); padding: var(--sp-4) var(--sp-4); border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
.home-facilities__list a:hover { border-color: var(--gold); }
.home-facilities__name { font-weight: 800; }
.home-facilities__meta { grid-row: 2; display: inline-flex; align-items: center; gap: var(--sp-1); color: var(--text-2); font-size: var(--fs-small); }
.home-facilities__meta .icon { color: var(--gold); }
.home-facilities__capacity { grid-row: span 2; align-self: center; color: var(--gold-strong); font-weight: 800; font-size: var(--fs-small); }
.home-facilities__map .libya-map { max-height: 520px; }

.home-media { padding-block: var(--sp-8); background: var(--surface-2); }
.home-media__grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 240px; gap: var(--sp-3); }

.home-knowledge__grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-4); }
.home-knowledge__tile { display: flex; align-items: center; gap: var(--sp-4); height: 100%; padding: var(--sp-4) var(--sp-5); border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
.home-knowledge__tile:hover { border-color: var(--gold); }
.home-knowledge__tile > .icon:last-child { margin-inline-start: auto; color: var(--text-3); }
.home-knowledge__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: var(--r-sm); background: var(--selected-bg); color: var(--gold-strong); }
.home-knowledge__text { display: grid; gap: 2px; }
.home-knowledge__title { font-weight: 800; }
.home-knowledge__count { color: var(--text-2); font-size: var(--fs-small); }

@media (max-width: 1100px) {
  .home-news__grid, .home-events__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-system__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-facilities__layout { grid-template-columns: minmax(0, 1fr); }
  .home-knowledge__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .home-medals__grid, .home-media__grid { grid-template-columns: minmax(0, 1fr); }
  .medal-card { min-height: 340px; }
}
@media (max-width: 600px) {
  .home-news__grid, .home-events__grid, .home-knowledge__grid { grid-template-columns: minmax(0, 1fr); }
  .home-system__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-section__head { flex-direction: column; align-items: flex-start; }
}

/* Figures are marked up label first (dt, dd) and drawn number first. */
.home-figures__item dd, .home-stats__text dd { order: -1; }
.home-stats__text { display: flex; flex-direction: column; }

/* Album covers in the home «media» section (moved from gallery.css, which now draws the Figma album cards). */
.album-cover { position: relative; display: block; height: 100%; border-radius: var(--r-md); overflow: hidden; background: var(--surface-2); }
.album-cover img, .album-cover picture { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.album-cover:hover img { transform: scale(1.03); }
.album-cover__caption { position: absolute; inset-inline: 0; bottom: 0; display: grid; gap: 2px; padding: var(--sp-7) var(--sp-4) var(--sp-4); background: linear-gradient(to top, rgb(0 0 0 / .65), transparent); color: #fff; }
.album-cover__title { font-weight: 800; font-size: var(--fs-body); }
.album-cover__meta { font-size: var(--fs-small); opacity: .9; }

/* ---------- home bands: the sections below the slider (news, events, initiatives, champions, map, media) ----------
   Built from the internal pages' own components (news, event and album cards, the podium, the facilities map) under
   the section heading those pages use; every other band is cream with the gold pattern, like the pages' bands. */
.home-band { position: relative; isolation: isolate; padding-bottom: var(--sp-9); }
.home-band:nth-child(even of .home-band) { background: var(--selected-bg); }
.home-band:nth-child(even of .home-band)::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .04;
  background: url("../core/img/pattern-sports-gold.7e6ab857a03f.webp") repeat-y center 0 / 1752px auto;
}
/* the heading row (438:31416): the title at the start, «عرض المزيد ‹» at the end */
.home-band__head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); max-width: calc(var(--content-max) + 2 * var(--gutter)); margin: 0 auto var(--sp-6); padding: var(--sp-8) var(--gutter) 0; }
/* Every band's content shares the heading's edges: the page container (R-76). */
.home-band .home-band__cards, .home-events, .home-band__slider { max-width: calc(var(--content-max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.home-band__slider .facility-slider { margin-inline: 0; }
@media (min-width: 641px) {
  .home-band--news .news-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-5); }
  .home-band--news .news-list > li > .news-card { width: auto; max-width: none; }
}
@media (min-width: 641px) and (max-width: 1100px) { .home-band--news .news-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.home-band__title { font-size: var(--fs-h2); font-weight: 800; line-height: var(--lh-heading); }
.home-band__more-link { display: inline-flex; align-items: center; gap: var(--sp-2); min-height: var(--target-min); color: var(--gold-strong); font-size: var(--fs-ui); font-weight: 700; white-space: nowrap; } /* the site's «more» link (.link-arrow) */
.home-band__more-link:hover { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 4px; }
.home-band__cards { list-style: none; }
.home-band .news-list, .home-band .events-grid { margin-top: 0; }
.home-band .album-cards { padding-top: 0; }
.home-band .podium { height: auto; padding-block: 0 var(--sp-2); background: none; }
.home-band .podium__list { height: auto; padding-top: var(--sp-7); }
.home-band .news-list > li { display: flex; }  /* equal card heights in the row */
.home-band .podium::before { display: none; }
.home-band__map { max-width: 1000px; margin-inline: auto; padding: var(--sp-3) 0 0; border-radius: var(--r-md); background: var(--bg); box-shadow: var(--shadow-sm); }
.home-band__map .libya-map { aspect-ratio: 797 / 669; border: 1px solid #2A4D6B; border-top: 0; border-radius: 0 0 var(--r-md) var(--r-md); background: #000D22; }
.home-band__more { display: flex; justify-content: center; margin-top: var(--sp-8); }
/* the news centre's «تصفح جميع الأخبار» button */
.home-band__all { min-width: 240px; }
.initiative-card__tag { align-self: flex-start; margin-top: var(--sp-4); }
.news-card:hover .initiative-card__tag, .news-card:focus-within .initiative-card__tag { background: #fff; }
@media (max-width: 900px) {
  .home-band { padding-bottom: var(--sp-8); }
  .home-band__head { padding-top: var(--sp-7); margin-bottom: var(--sp-5); }
  .home-band__title { font-size: var(--fs-h2); line-height: 1.4; }
  .home-band__map { margin-inline: var(--gutter); }
  .home-band__more { margin-top: var(--sp-6); padding-inline: var(--gutter); }
}

/* Phones: the hero's buttons stack, the main action (the last, gold one) on top and full width. */
@media (max-width: 640px) {
  .hero__links { flex-direction: column-reverse; align-items: stretch; }
}

/* The bands do not repeat one 3-card grid.
   News: a lead story with two compact rows beside it. Albums: one large album, two small. */
@media (min-width: 1101px) {
  .home-band--media .album-cards {
    display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-auto-rows: auto; gap: var(--sp-5);
    max-width: var(--content-max); margin-inline: auto; padding-inline: var(--gutter);
  }
  .home-band--media .album-cards > :first-child { grid-row: span 2; }
  .home-band--media .album-card { width: auto; height: 100%; min-height: 0; margin: 0; }
  .home-band--media .album-cards > :first-child .album-card__media { height: 420px; }
  .home-band--media .album-cards > :not(:first-child) .album-card__media { height: 200px; }
  .home-band--media .album-card__body { padding: var(--sp-5) var(--sp-5); }
}

/* Phones: a band is one swipeable row, so it takes one screen instead of three. */
@media (max-width: 640px) {
  .home-band .home-band__cards {
    display: grid; grid-auto-flow: column; grid-auto-columns: 82%; grid-template-columns: none; justify-content: start; gap: var(--sp-4);
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scroll-padding-inline: var(--gutter);
    padding-inline: var(--gutter); padding-block: var(--sp-1) var(--sp-3); scrollbar-width: thin;
  }
  .home-band .home-band__cards > * { scroll-snap-align: start; width: auto; max-width: none; min-width: 0; }
  .home-band .home-band__cards :is(.news-card, .event-card, .album-card) { width: auto; height: 100%; min-height: 0; margin: 0; }
  .home-band .home-band__cards :is(.news-card__media, .album-card__media) { height: 180px; }
  .home-band .home-band__cards .news-card__excerpt { -webkit-line-clamp: 2; }
  /* the hero: at most 70 % of the screen, so the next section shows */
  .hero__slide, .hero__content { min-height: min(520px, 70svh); }
}

/* «الفعاليات» (438:31416): the first event large on its photo, the next ones as rows beside it */
.home-events { list-style: none; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-auto-rows: auto; gap: var(--sp-5); }
.home-event { position: relative; display: flex; gap: var(--sp-4); align-items: center; overflow: hidden; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); transition: box-shadow var(--dur) var(--ease); }
.home-event:hover { box-shadow: var(--shadow-raised); }
/* the list beside the large card: rows without a card, a rounded photo (438:31416) */
.home-event:not(.home-event--lead) { background: none; box-shadow: none; overflow: visible; }
.home-event:not(.home-event--lead) .home-event__media { flex-basis: 178px; min-height: 154px; border-radius: var(--r-md); overflow: hidden; }
.home-event:not(.home-event--lead) .home-event__title { font-size: var(--fs-h4); }
.home-event:has(a:focus-visible) { outline: 2px solid var(--gold-strong); outline-offset: 2px; }
.home-event__media { flex: 0 0 140px; align-self: stretch; min-height: 120px; background: var(--surface-2); }
.home-event__media img, .home-event__media picture { width: 100%; height: 100%; object-fit: cover; }
.home-event__body { padding: var(--sp-4); }
.home-event__title { font-size: var(--fs-lead); font-weight: 800; line-height: 1.5; }
.home-event__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.home-event__title a:focus-visible { outline: none; box-shadow: none; }
.home-event:hover .home-event__title a { color: var(--gold-strong); }
.home-event__meta { display: flex; flex-wrap: wrap; gap: var(--sp-1) var(--sp-4); margin-top: var(--sp-2); color: var(--text-3); font-size: var(--fs-small); }
.home-event__meta span { display: inline-flex; align-items: center; gap: var(--sp-1); }
.home-event__meta .icon { width: 16px; height: 16px; color: var(--gold-strong); }
.home-event--lead .home-event__meta .icon { color: currentColor; }
.home-event--lead { grid-row: span 2; display: block; min-height: 360px; color: #fff; isolation: isolate; }
.home-event--lead .home-event__media { position: absolute; inset: 0; z-index: -2; }
.home-event--lead::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(16 19 20 / .85), transparent 60%); }
.home-event--lead .home-event__body { position: absolute; inset-inline: 0; bottom: 0; padding: var(--sp-6); }
.home-event--lead .home-event__title { font-size: var(--fs-h3); }
.home-event--lead .home-event__title a, .home-event--lead:hover .home-event__title a { color: #fff; }
.home-event--lead .home-event__meta { color: rgb(255 255 255 / .9); }

/* «المبادرات» and «المنشأة الرياضية»: the initiatives slider and the map page's finder, inside the band */
.home-band__slider .facility-slider__track { border-top: 4px solid var(--gold); box-shadow: var(--shadow-raised); }
.home-band__slider .feature-slides { max-width: none; margin-top: 0; }
.home-finder { padding-top: 0; margin-top: -16px; }
.home-finder .search-bar { max-width: none; } /* level with the band heading (R-76) */

@media (max-width: 900px) {
  .home-events { grid-template-columns: minmax(0, 1fr); }
  .home-event--lead { grid-row: auto; min-height: 280px; }
}
@media (max-width: 640px) {
  .home-event:not(.home-event--lead) .home-event__media { flex-basis: 96px; min-height: 96px; }
  .home-event:not(.home-event--lead) .home-event__title { font-size: var(--fs-body); }
  .home-event__body { padding-inline: 0; }
  .home-event--lead .home-event__body { padding: var(--sp-5); }
}

