/* Rangers/Chelsea-style modern UI – Azam FC */
.app-inst-alert { display: none; }

@media (min-width: 769px) and (max-width: 1024px) {
  .r-header-top {
    display: flex;
    justify-content: flex-end;
  }

  .r-header-top__inner {
    margin: 0;
    max-width: none;
    width: 100%;
  }
}

/* SCHABO Condensed loaded via layout (asset URL) for correct base path */

:root {
  /* Brand primary colors */
  --primary: #005aae;
  --primary-shade-one: #023287;
  --primary-shade-two: #0088dd; /* lighter accent – replace with exact brand value if different */
  /* Chelsea-style header colors */
  --header-bg: #ffffff;
  --top-bar-text: #333366;
  --main-nav-text: #0a1c8e;
  --more-btn-bg: #061177;
  --more-btn-text: #ffffff;
  --header-sep: #e0e0e0;
  --search-icon: #888888;
  /* Site colors (derived from primary where needed) */
  --navy: var(--primary);
  --navy-light: var(--primary-shade-two);
  --red: #c8102e;
  --red-hover: #a00d25;
  --white: #fff;
  --offwhite: #f5f5f5;
  --text-dark: #1a1a1a;
  --text-muted: #555;
  --border: #e5e5e5;
  --font-sans: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Arsenal SC", "SCHABO Condensed", var(--font-sans);
  --header-h: 56px;
  --container: min(1200px, 100% - 2rem);
  --transition: 0.2s ease;
}

/* Global fonts: Archivo body, SCHABO for big headlines */
body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0;
}

/* Normal body text and content */
p, li, .r-news-card__body, .r-tv-card__title + *,
.uk-card-body, .desc-container {
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0;
}
h1, .r-news-section__title, .r-section-tv__title, .r-featured-video__title,
.widget-header__title, .ftr-highlight-txt {
  font-family: var(--font-display);
}

/* Section titles only (light backgrounds): primary, 2rem, normal line-height */
.widget-header__title,
.widget-header__title--small,
.r-news-section__title,
.ftr-highlight-txt {
  color: var(--primary) !important;
  font-size: 2rem !important;
  letter-spacing: 0 !important;
  line-height: 1.2 !important;
}

/* Section titles on blue/dark backgrounds: white, normal size, normal spacing */
.r-section-tv__title,
.r-featured-video__title {
  color: var(--white) !important;
  font-size: 2rem !important;
  letter-spacing: 0 !important;
  line-height: 1.2 !important;
}

.r-hero__title {
  font-family: var(--font-display) !important;
  color: var(--white) !important;
  font-size: 2.5rem !important;
  letter-spacing: 0 !important;
  line-height: 1.2 !important;
}

/* Card/news titles: Archivo, bold, uppercase, normal size and spacing */
.r-news-card__title,
.r-tv-card__title {
  font-family: var(--font-sans) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  font-size: 1.125rem !important;
  letter-spacing: 0 !important;
  line-height: 1.35 !important;
}

.r-news-section .r-news-card__title {
  color: var(--primary) !important;
}

.r-section-tv .r-tv-card__title {
  color: var(--white) !important;
}

/* Normal weight site-wide (fonts are bold in nature) */
body,
body * {
  font-weight: 400 !important;
}

/* ----- Chelsea-style two-bar header (logo spans both rows) ----- */
.r-header-chelsea {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-sep);
  display: flex;
  align-items: stretch;
  min-height: 92px;
  max-width: 1500px;
  margin: 0 auto;
  width: 100%;
}

/* Gold gradient line below header (team sign) */
.r-header-gold-line {
  width: 100%;
  height: 5px;
  background: linear-gradient(
    90deg,
    #b8860b 0%,
    #daa520 15%,
    #ffd700 35%,
    #daa520 50%,
    #ffd700 65%,
    #daa520 85%,
    #b8860b 100%
  );
  background-size: 200% 100%;
  animation: r-gold-shimmer 3s ease-in-out infinite;
}

@keyframes r-gold-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.r-header-chelsea__logo {
  flex-shrink: 0;
  width: 92px;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
  background: var(--header-bg);
  border-right: 1px solid var(--header-sep);
}

.r-header-chelsea__logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.r-header-chelsea__logo-img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.r-header-chelsea__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 92px;
}

.r-header-top {
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-sep);
  font-family: var(--font-sans);
}

.r-header-top__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.5rem 1.5rem 0.5rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.r-header-top__left,
.r-header-top__right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.r-header-top__left a,
.r-header-top__right a {
  color: var(--top-bar-text);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: color var(--transition);
}

.r-header-top__left a:hover,
.r-header-top__right a:hover {
  color: var(--main-nav-text);
}

.r-header-locale a.active {
  font-weight: 600;
  color: var(--main-nav-text);
}

.r-header-top__sep {
  width: 1px;
  height: 1rem;
  background: var(--header-sep);
  margin: 0 0.25rem;
}

.r-header-top__sponsor img {
  height: 20px;
  width: auto;
  display: block;
  opacity: 0.9;
}

.r-header__fan-name {
  color: var(--top-bar-text);
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  margin-right: 0;
}

.r-header-main {
  background: var(--header-bg);
  flex: 1;
  display: flex;
  align-items: stretch;
  min-height: 48px;
}

.r-header-main__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0;
  width: 100%;
  min-height: 100%;
}

.r-header-main__nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: flex-start;
  padding-left: 1.25rem;
}

.r-header-main__nav a {
  color: var(--main-nav-text);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.65rem 0.65rem;
  transition: color var(--transition), background var(--transition);
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.r-header-main__nav a:hover {
  color: var(--navy);
  background: var(--offwhite);
}

.r-header-main__nav .ri-play-line {
  font-size: 0.85em;
}

.r-header-main__right {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
}

.r-header-main__right {
  margin-left: auto;
}

@media (max-width: 768px) {
  .r-header-main__right {
    gap: 1.2rem;
  }
}

@media (max-width: 1024px) {
  .r-header-top__inner {
    padding: 0.5rem 1rem;
  }
  .r-header-main__nav {
    padding-left: 0.75rem;
  }
}

.r-header-main__cart,
.r-header-main__search {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  color: var(--search-icon);
  text-decoration: none;
  transition: color var(--transition);
}

.r-header-main__cart:hover,
.r-header-main__search:hover {
  color: var(--main-nav-text);
  text-decoration: none;
}

.r-header-main__cart i,
.r-header-main__search i {
  font-size: 1.35rem;
}

/* Locale dropdown: one flag visible, same size as search/cart */
.r-header-locale-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  align-self: center;
}
.r-header-locale-btn {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--search-icon);
  transition: color var(--transition), opacity var(--transition);
}
.r-header-locale-btn:hover {
  color: var(--main-nav-text);
}
.r-header-locale-flag {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}
.r-header-locale-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 4px;
  min-width: 140px;
  background: var(--header-bg);
  border: 1px solid var(--header-sep);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 100;
  padding: 4px 0;
}
.r-header-locale-menu[hidden] {
  display: none !important;
}
.r-header-locale-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: var(--main-nav-text);
  text-decoration: none;
  font-size: 0.875rem;
  transition: background var(--transition);
}
.r-header-locale-item:hover {
  background: var(--offwhite);
  color: var(--main-nav-text);
  text-decoration: none;
}

.r-header-main__more {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  background: var(--more-btn-bg);
  color: var(--more-btn-text);
  border: none;
  padding: 0 1.25rem;
  min-width: 96px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background var(--transition), opacity var(--transition);
}

.r-header-main__more:hover {
  background: var(--main-nav-text);
  color: var(--more-btn-text);
}

.r-header-main__more-icon {
  line-height: 1;
  margin-bottom: 3px;
}

.r-header-main__more-icon i {
  font-size: 1.5rem;
}

.r-header-main__more-text {
  line-height: 1;
}

.r-header-main__more-text--mobile {
  display: none;
}

@media (max-width: 768px) {
  .r-header-main__more-text--desktop {
    display: none;
  }
  .r-header-main__more-text--mobile {
    display: inline;
  }
}

@media (max-width: 992px) {
  .r-header-main__nav { display: none; }
  .r-header-top__left { display: none; }
  .r-header-top__sep,
  .r-header-top__sponsor { display: none; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .r-header-main__inner {
    justify-content: space-between;
  }
}

@media (max-width: 1024px) {
  #offcanvas-overlay .uk-offcanvas-bar {
    background: linear-gradient(180deg, var(--primary-shade-one) 0%, var(--primary-shade-two) 100%);
    color: var(--text-offwhite);
    padding: 18px 18px 22px;
  }

  #offcanvas-overlay .uk-offcanvas-close {
    color: var(--text-offwhite);
    opacity: 0.95;
    top: 14px;
    right: 14px;
  }

  #offcanvas-overlay h4 {
    color: var(--text-offwhite);
    font-family: var(--font-headings);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin: 0 0 12px;
  }

  #offcanvas-overlay .uk-card.uk-card-transparent.uk-card-body {
    padding: 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
  }

  #offcanvas-overlay .uk-button {
    border-radius: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }

  #offcanvas-overlay .uk-button-primary {
    background: var(--alternative);
    color: var(--primary-shade-one);
  }

  #offcanvas-overlay .uk-button-secondary {
    background: rgba(255, 255, 255, 0.10);
    color: var(--text-offwhite);
    border: none;
  }

  #offcanvas-overlay .uk-button-default {
    background: rgba(255, 255, 255, 0.10);
    color: var(--text-offwhite);
    border: none;
  }

  #offcanvas-overlay .uk-list {
    margin: 0;
  }

  #offcanvas-overlay .uk-list > li {
    margin: 0;
  }

  #offcanvas-overlay .uk-list > li > a,
  #offcanvas-overlay .uk-list > li > span,
  #offcanvas-overlay .uk-list > li > button.offcanvas-parent {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-radius: 12px;
    color: var(--text-offwhite);
    text-decoration: none;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    background: transparent;
    border: none;
  }

  #offcanvas-overlay .uk-list > li > button.offcanvas-parent {
    width: 100%;
    text-align: left;
    cursor: pointer;
  }

  #offcanvas-overlay .uk-list > li > button.offcanvas-parent::after {
    content: "\ea4e";
    font-family: "remixicon";
    font-size: 18px;
    color: var(--text-offwhite);
    opacity: 0.9;
    transform: rotate(0deg);
    transition: transform 0.2s ease;
  }

  #offcanvas-overlay .uk-list > li > button.offcanvas-parent[aria-expanded="true"]::after {
    transform: rotate(180deg);
  }

  #offcanvas-overlay .uk-list > li + li {
    margin-top: 4px;
  }

  #offcanvas-overlay .uk-list > li > a:hover,
  #offcanvas-overlay .uk-list > li > a:focus {
    color: var(--secondary);
    text-decoration: none;
  }

  #offcanvas-overlay .uk-list > li > button.offcanvas-parent:hover,
  #offcanvas-overlay .uk-list > li > button.offcanvas-parent:focus {
    color: var(--secondary);
  }

  #offcanvas-overlay .uk-list > li > span {
    background: transparent;
  }

  #offcanvas-overlay .uk-list ul.uk-list {
    margin-top: 10px;
    margin-left: 0;
    padding-left: 14px;
    border-left: 2px solid var(--alternative);
  }

  #offcanvas-overlay .uk-list ul.uk-list > li > a {
    padding: 8px 0;
    font-weight: 800;
    text-transform: none;
    letter-spacing: 0;
    background: transparent;
  }

  #offcanvas-overlay .uk-icon-button {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-offwhite);
    border: none;
  }

  #offcanvas-overlay .uk-icon-button:hover {
    background: rgba(255, 255, 255, 0.20);
  }
}

@media (max-width: 1024px) {
  .match-home-card .widget-header__title {
    font-size: 1.1rem !important;
    line-height: 1.2 !important;
  }
}

@media (max-width: 768px) {
  .match-home-card .widget-header__title {
    font-size: 1rem !important;
    line-height: 1.2 !important;
  }
}

@media (max-width: 768px) {
  .widget-header__title,
  .widget-header__title--small,
  .r-news-section__title,
  .ftr-highlight-txt,
  .r-section-tv__title,
  .r-featured-video__title,
  .r-hero__title {
    font-size: 1.5rem !important;
    line-height: 1.25 !important;
  }
  .r-news-card__title,
  .r-tv-card__title {
    font-size: 1rem !important;
    line-height: 1.35 !important;
  }
}

/* ----- Hero: image-only block + blue bar below ----- */
.r-hero {
  position: relative;
  width: 100%;
  background: var(--navy);
  margin-top: 0;
}

/* Image only, almost full height, no text on image */
.r-hero__image {
  position: relative;
  width: 100%;
  height: 68vh;
  min-height: 320px;
  overflow: hidden;
}

.r-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.r-hero__img.active {
  opacity: 1;
  z-index: 1;
}

/* Blue bar below image: primary bg, more space; timeline | title + nav | description */
.r-hero__bar {
  position: relative;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-sans);
  padding: 2.5rem max(1rem, calc((100% - 1200px) / 2)) 2.5rem 0;
  padding-left: max(1rem, calc((100% - 1200px) / 2));
  min-height: 140px;
}

.r-hero__bar-inner {
  max-width: 900px;
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  align-items: start;
  gap: 1.5rem;
}

/* Timeline: vertical progress line only (no numbers); fill grows 30% → 100% */
.r-hero__timeline {
  width: 4px;
  min-height: 80px;
  align-self: stretch;
  background: rgba(255,255,255,0.25);
  border-radius: 2px;
  margin-right: 1rem;
  overflow: hidden;
}

.r-hero__timeline-fill {
  width: 100%;
  height: var(--hero-fill, 30%);
  background: var(--red);
  border-radius: 2px;
  transition: height 0.35s ease;
}

/* Title (left) + nav below */
.r-hero__copy {
  position: relative;
  min-height: 3em;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.r-hero__slide {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
}

.r-hero__slide.active {
  display: block;
  position: relative;
}

.r-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
  color: var(--white);
}

/* Description (right) */
.r-hero__aside {
  position: relative;
  min-height: 4em;
}

.r-hero__aside .r-hero__slide {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
}

.r-hero__aside .r-hero__slide.active {
  position: relative;
}

.r-hero__date {
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  opacity: 0.65;
}

.r-hero__desc {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.45;
  letter-spacing: 0;
}

.r-hero__readmore {
  color: var(--white);
  font-size: 0.75rem;
  text-decoration: none;
  transition: transform var(--transition), opacity var(--transition);
}

.r-hero__readmore:hover {
  text-decoration: underline;
  color: var(--white);
  transform: translateX(4px);
  opacity: 0.95;
}

/* Nav arrows: line icons, no background, below title */
.r-hero__nav {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.r-hero__nav-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  transition: color var(--transition), opacity var(--transition);
}

.r-hero__nav-btn i {
  font-size: 1.5rem;
}

.r-hero__nav-btn:hover {
  color: var(--white);
  opacity: 0.85;
}

/* Match card on hero bar (overlay right) – matches screenshot design */
.r-hero__bar .r-match-card {
  position: absolute;
  right: max(1rem, calc((100% - 1200px) / 2));
  top: 50%;
  transform: translateY(-50%);
  width: min(420px, 92vw);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

@media (min-width: 769px) and (max-width: 1024px) {
  .r-hero__bar .r-match-card {
    display: none;
  }
}

.r-match-card__tabs {
  display: flex;
}

.r-match-card__tab {
  flex: 1;
  padding: 0.85rem 1.15rem;
  background: var(--navy);
  border: none;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  cursor: pointer;
  transition: color var(--transition), background var(--transition);
}

.r-match-card__tab.active {
  background: var(--white);
  color: var(--navy);
}

.r-match-card__tab:hover:not(.active) {
  color: var(--white);
  background: var(--navy);
}

.r-match-card__body {
  padding: 1.5rem 1.5rem 1.75rem;
}

#panel-live .r-match-card__body,
#panel-next .r-match-card__body {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.r-match-card__league {
  margin: 0 0 0.6rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0;
}

.r-match-card__meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-bottom: 0.85rem;
}

#panel-next .r-match-card__meta-row {
  flex-wrap: nowrap;
  gap: 0.85rem;
}

#panel-live .r-match-card__meta-row {
  flex-wrap: nowrap;
  gap: 0.85rem;
}

.r-match-card__venue,
.r-match-card__datetime {
  margin: 0;
  font-size: 0.75rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

#panel-next .r-match-card__venue,
#panel-next .r-match-card__datetime {
  white-space: nowrap;
  text-decoration: none;
}

#panel-live .r-match-card__venue,
#panel-live .r-match-card__datetime {
  white-space: nowrap;
  text-decoration: none;
}

/* Featured fixture hero block (homepage + fixtures page) */
.uk-inline.latest-featured-game {
  height: 70vh;
}

@media (max-width: 1024px) {
  .uk-inline.latest-featured-game {
    height: 520px;
  }
}

@media (max-width: 768px) {
  .uk-inline.latest-featured-game {
    height: 420px;
  }
}

.uk-inline.latest-featured-game > img,
.uk-inline.latest-featured-game img.uk-animation-kenburns {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.uk-inline.latest-featured-game .stadium-details,
.uk-inline.latest-featured-game .stadium-details .boldfont {
  white-space: nowrap;
}

.uk-inline.latest-featured-game .stadium-details {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.r-match-card__venue i,
.r-match-card__datetime i {
  flex-shrink: 0;
  font-size: 0.9em;
  color: var(--text-muted);
}

.r-match-card__divider {
  height: 1px;
  background: var(--border);
  margin: 0 0 1.15rem;
  border: none;
}

.r-match-card__teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.r-match-card__team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0;
  text-align: center;
  flex: 1;
  min-width: 0;
}

.r-match-card__team img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.r-match-card__score {
  position: relative;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  letter-spacing: 0;
  flex-shrink: 0;
  padding: 0 0.25rem;
}

.r-match-card__score::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  width: 120%;
  height: 1px;
  border-top: 1px dashed var(--border);
  pointer-events: none;
}

.r-match-card__score span {
  margin: 0 0.1rem;
  position: relative;
  z-index: 1;
}

.r-match-card__cta {
  display: block;
  width: 100%;
  padding: 0.85rem 1.15rem;
  margin: 0;
  background: var(--red);
  color: var(--white) !important;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background var(--transition);
}

.r-match-card__cta:hover {
  background: var(--red-hover);
  color: var(--white);
  text-decoration: none;
}

.r-match-card__meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  text-align: center;
  letter-spacing: 0;
}

/* Hide second tab panel by default (JS toggles) */
.r-match-card__panel { display: none; }
.r-match-card__panel.active { display: block; }

/* ----- Section: AZAMFC TV LATEST ----- */
.r-section-tv {
  background: var(--navy);
  color: var(--white);
  padding: 2.5rem max(1rem, calc((100% - 1200px) / 2));
}

.r-section-tv__title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}


.r-tv-carousel {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 1200px) {
  .r-tv-carousel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .r-tv-carousel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .r-tv-carousel {
    grid-template-columns: 1fr;
  }
}

.r-tv-card {
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
  transition: background var(--transition);
}

.r-tv-card:hover {
  background: rgba(255,255,255,0.1);
}

.r-tv-card__thumb {
  aspect-ratio: 16/9;
  object-fit: cover;
  width: 100%;
  display: block;
}

.r-tv-card__title {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 400;
  margin: 0;
}

.r-tv-card a {
  color: var(--white);
  text-decoration: none;
}

.r-section-tv__subscribe {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--red);
  color: var(--white) !important;
  font-weight: 400;
  text-decoration: none;
  margin-top: 0.5rem;
  transition: background var(--transition);
}

.r-section-tv__subscribe:hover {
  background: var(--red-hover);
  color: var(--white);
}

/* ----- Featured video ----- */
.r-featured-video {
  padding: 2rem max(1rem, calc((100% - 1200px) / 2));
  background: var(--navy);
}

.r-featured-video__wrap {
  position: relative;
  aspect-ratio: 16/9;
  max-height: 400px;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
}

.r-featured-video__wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.r-featured-video__title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  margin: 0;
}

.r-featured-video__watch {
  color: var(--white);
  font-weight: 400;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: inline-block;
}

.r-featured-video__watch:hover {
  color: var(--white);
  text-decoration: underline;
}

/* ----- News grid (white background) ----- */
.r-news-section {
  background: var(--white);
  padding: 2.5rem max(1rem, calc((100% - 1200px) / 2));
}

.r-news-section__head {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

@media (min-width: 769px) {
  .r-news-section__head {
    justify-content: space-between;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .r-news-section__head {
    flex-direction: column;
    align-items: center;
  }
}

.r-news-section__title {
  margin-bottom: 0;
}

.exclusive-stories-grid--mobile {
  display: none;
}

.r-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.r-news-section .r-news-grid {
  justify-items: center;
}

.r-news-section .r-news-card {
  width: 100%;
  max-width: 360px;
}

@media (max-width: 768px) {
  .exclusive-stories-grid--desktop {
    display: none;
  }

  .exclusive-stories-grid--mobile {
    display: block;
  }

  .exclusive-stories-slider .uk-slider-container {
    padding: 0.25rem 0;
  }

  .exclusive-stories-slider .uk-slider-items {
    gap: 12px;
  }

  .exclusive-stories-slider .uk-slider-items > li {
    width: 300px;
  }

  .exclusive-stories-slider .exclusive-story-card--home {
    height: 100%;
  }
}

.r-news-card {
  text-decoration: none;
  color: inherit;
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.r-news-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
  color: var(--text-dark);
}

.r-news-card__img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}

.r-news-card__body {
  padding: 1rem;
}

.r-news-card__title {
  font-size: 1rem;
  font-weight: 400;
  margin: 0 0 0.5rem;
  line-height: 1.3;
  color: var(--text-dark);
}

.r-news-card__meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ----- Utility ----- */
.r-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.r-view-all {
  color: var(--navy);
  font-weight: 400;
  font-size: 0.875rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.r-view-all:hover {
  color: var(--navy-light);
  text-decoration: underline;
}

/* Mobile hero: stack bar content, match card below */
@media (max-width: 768px) {
  .r-hero__image {
    height: 50vh;
    min-height: 240px;
  }

  .r-hero__bar {
    padding: 1rem;
  }

  .r-hero__bar-inner {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .r-hero__timeline {
    width: 100%;
    min-height: 4px;
    height: 4px;
    margin-right: 0;
    margin-bottom: 0.75rem;
  }

  .r-hero__timeline-fill {
    width: var(--hero-fill, 30%);
    height: 100% !important;
    min-height: 4px;
  }

  .r-hero__bar .r-match-card {
    position: static;
    transform: none;
    max-width: none;
    margin-top: 1rem;
  }
}
