/* ======================================================
   Aspire India — Light Theme Styles
   Author: ST&GE
   ====================================================== */

/* -----------------------------
   ROOT VARIABLES
------------------------------ */
:root {
  --asp-purple: #4B0E68;
  --asp-maroon: #890E3D;
  --asp-slate: #66717E;
  --asp-sand: #D9B166;
  --asp-mauve: #B29CAA;

  --asp-paper: #ffffff;
  --asp-soft: #f8f9fb;
  --asp-border: #e5e6ea;
  --asp-text: #222222;
  --asp-muted: #777777;
  --asp-heading: #111111;
}

/* -----------------------------
   GLOBAL
------------------------------ */
body {
  background: var(--asp-paper);
  color: var(--asp-text);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
}

/* =========================
   Global Font Setup
   ========================= */
body {
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  color: var(--asp-text);
  background: var(--asp-paper);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 700;
  color: var(--asp-heading);
}

.navbar, .btn, .section-title, .card-asp .card-title {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
}


a {
  color: var(--asp-purple);
  text-decoration: none;
}
a:hover {
  color: var(--asp-maroon);
  text-decoration: none;
}

.container {
  max-width: 1140px;
}

/* -----------------------------
   NAVBAR
------------------------------ */
.navbar {
  background: var(--asp-soft);
  border-bottom: 1px solid var(--asp-border);
}

.navbar-brand img {
  height: 40px;
}

.navbar-nav .nav-link {
  color: var(--asp-text) !important;
  font-weight: 500;
}
.navbar-nav .nav-link:hover {
  color: var(--asp-purple) !important;
}

/* -----------------------------
   HERO / HEADER
------------------------------ */
.hero-card {
  background: linear-gradient(135deg, #efe9f7 0%, #f6e8ee 100%);
  color: var(--asp-heading);
  border-radius: 1.25rem;
  padding: 3rem 2rem;
  border: 1px solid var(--asp-border);
}
.hero-card h1 {
  font-size: 2.25rem;
  font-weight: 800;
}
.hero-card .btn {
  margin-top: 1rem;
}

/* -----------------------------
   SECTIONS
------------------------------ */
.section-title {
  color: var(--asp-heading);
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-bg {
  background: var(--asp-soft);
  padding: 3rem 0;
}

/* -----------------------------
   CARDS
------------------------------ */
.card-asp {
  background: var(--asp-paper);
  border: 1px solid var(--asp-border);
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: all 0.3s ease;
}
.card-asp:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.card-asp .card-body {
  padding: 1.25rem;
}
.card-asp .card-title {
  font-weight: 600;
  color: var(--asp-heading);
}
.card-asp .card-text {
  color: var(--asp-muted);
}
.card-asp .badge-asp {
  background: var(--asp-sand);
  color: #222;
  font-weight: 600;
  border-radius: 0.4rem;
}

/* -----------------------------
   ALERT / MESSAGE
------------------------------ */
.alert-asp {
  background: #fff7e6;
  border: 1px solid #f1e0b8;
  color: #6b4d0a;
  border-radius: 0.8rem;
  padding: 1rem 1.25rem;
}

/* -----------------------------
   BUTTONS
------------------------------ */
.btn-asp {
  background: var(--asp-maroon);
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
}
.btn-asp:hover {
  background: #6f0b2f;
  color: #fff;
}

.btn-alt {
  background: var(--asp-purple);
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
}
.btn-alt:hover {
  background: #3a0b52;
}

/* -----------------------------
   SINGLE POST PAGE
------------------------------ */
.post-hero img {
  border-radius: 1rem;
  object-fit: cover;
  margin-bottom: 1.5rem;
}

.post-title {
  font-size: 3.25rem;
  font-weight: 800;
  /*color: var(--asp-heading);*/
  color: #4B0E68;
}

.post-meta {
  font-size: 0.9rem;
  color: var(--asp-muted);
  margin-bottom: 1.25rem;
}
.post-meta a.cat-link {
  color: var(--asp-purple);
  text-decoration: none;
}
.post-meta a.cat-link:hover {
  text-decoration: underline;
}

.post-subhead {
  background: #f3eef9;
  border-left: 4px solid var(--asp-purple);
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  font-weight: 600;
  color: var(--asp-heading);
  font-size: 1.15rem;
  border-radius: 0.75rem;
}

.post-content {
  color: var(--asp-text);
  font-size: 1.06rem;
  line-height: 1.8;
}
.post-content h2,
.post-content h3 {
  color: var(--asp-heading);
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.post-content a {
  color: var(--asp-purple);
  text-decoration: underline;
}
.post-content a:hover {
  color: var(--asp-maroon);
}

.post-tags {
  background: var(--asp-border);
  border-radius: 15px;
  padding: 15px;
}

.post-tags a {
  background: #B29CAA !important;
  color: var(--asp-heading) !important;
  border: 1px solid var(--asp-border);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
}
.post-tags a:hover {
  background: #e2d3f3 !important;
}

/* -----------------------------
   FOOTER
------------------------------ */
.site-footer {
  background: var(--asp-soft);
  border-top: 1px solid var(--asp-border);
  padding: 2rem 0;
  color: var(--asp-muted);
}
.site-footer a {
  color: var(--asp-purple);
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
}

/* -----------------------------
   UTILITIES
------------------------------ */
.mt-6 {
  margin-top: 3rem;
}
.mb-6 {
  margin-bottom: 3rem;
}
.rounded-xl {
  border-radius: 1.25rem;
}
.text-muted {
  color: var(--asp-muted) !important;
}


/* ======================================================
   Aspire Navbar — Solid Maroon Version
   ====================================================== */
.aspire-navbar {
  background-color: #890E3D; /* solid dark maroon */
  border: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 0.8rem 0;
  z-index: 1030;
  transition: all 0.3s ease;
}

/* Logo */
.aspire-navbar .navbar-brand img {
  height: 45px;
  transition: height 0.3s ease;
}

/* Nav links: white default, gold on hover/active */
.aspire-navbar .navbar-nav .nav-link {
  color: #ffffff !important;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.3px;
  position: relative;
  padding: 0.45rem 0.85rem;
  transition: color 0.25s ease;
  text-transform: uppercase;
}

.aspire-navbar .navbar-nav .nav-link:hover,
.aspire-navbar .navbar-nav .nav-link:focus,
.aspire-navbar .navbar-nav .nav-link.active,
.aspire-navbar .navbar-nav .current-menu-item > .nav-link {
  color: #D9B166 !important;
}

/* Optional underline effect */
.aspire-navbar .navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: #D9B166;
  transition: width 0.25s ease;
}
.aspire-navbar .navbar-nav .nav-link:hover::after,
.aspire-navbar .navbar-nav .nav-link.active::after,
.aspire-navbar .navbar-nav .current-menu-item > .nav-link::after {
  width: 100%;
}

/* Dropdown menu */
.aspire-navbar .dropdown-menu {
  background-color: #fff;
  border: none;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.aspire-navbar .dropdown-item {
  color: #222;
  font-weight: 500;
}
.aspire-navbar .dropdown-item:hover {
  background-color: #f7f1f9;
  color: #890E3D;
}

/* Offcanvas (mobile) menu */
.offcanvas.text-bg-light {
  background-color: #890E3D !important;
  color: #fff !important;
}
.offcanvas .offcanvas-header {
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.offcanvas .nav-link {
  color: #fff;
  font-weight: 600;
  /*border-bottom: 1px solid rgba(255,255,255,0.1);*/
}
.offcanvas .nav-link:hover,
.offcanvas .nav-link.active,
.offcanvas .current-menu-item > .nav-link {
  color: #D9B166 !important;
}

/* Toggler icon (white) */
.navbar-toggler {
  border: none;
  outline: none;
}
.navbar-toggler-icon {
  background-image: none;
  width: 22px;
  height: 2px;
  background-color: #fff;
  display: block;
  position: relative;
}
.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 2px;
  background-color: #fff;
  left: 0;
  transition: all 0.3s ease;
}
.navbar-toggler-icon::before { top: -6px; }
.navbar-toggler-icon::after { top: 6px; }

/* Responsive fix for mobile collapse */
@media (max-width: 991px) {
  .aspire-navbar .navbar-collapse {
    background-color: #890E3D !important;
    border-radius: 0.75rem;
    margin-top: 0.75rem;
  }
  .aspire-navbar .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
  }
}

/* Prevent content hiding behind navbar */
body {
  padding-top: 72px;
}


/* ================================================
   Dropdown Arrow & Click Fix — Aspire Navbar
   ================================================ */

/* Hide the default Bootstrap caret icon */
.aspire-navbar .dropdown-toggle::after {
  display: none !important;
}

/* Add a clean custom caret (gold triangle) */
.aspire-navbar .nav-item.dropdown > a::after {
  content: "";
  display: inline-block;
  margin-left: 6px;
  margin-bottom: 2px;
  vertical-align: middle;
  border-top: 5px solid #D9B166; /* gold color */
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  transition: transform 0.2s ease;
}

/* Rotate the caret when dropdown is open */
.aspire-navbar .nav-item.dropdown.show > a::after {
  transform: rotate(180deg);
}

/* Dropdown menu alignment fix */
.aspire-navbar .dropdown-menu {
  margin-top: 0.5rem;
}

/* Hover/focus states */
.aspire-navbar .dropdown-item:hover {
  background-color: #f8f2f4;
  color: #890E3D;
}



/* Archive layout */
.archive-header .section-title { margin-top: .5rem; }
.object-fit-cover { object-fit: cover; }

/* Bootstrap pagination polish */
.pagination .page-link{
  border:1px solid var(--asp-border);
  color:#333;
}
.pagination .page-item.active .page-link{
  background:#D9B166;
  border-color:#D9B166;
  color:#4B0E68;
  font-weight:700;
}
.pagination .page-link:hover{
  background:#f4efe2;
  color:#2b2140;
}
.pagination .page-link:focus{
  box-shadow:none;
}


/* ====== Footer (dark) ====== */
.footer-asp{
  background:#21272b;
  color:#cdd3d8;
  border-top:1px solid rgba(255,255,255,.05);
}
.footer-asp h5,.footer-asp h6{ color:#D9B166 ; }
.footer-asp .footer-list li{ margin-bottom:.4rem; }
.footer-asp .footer-list a{
  color:#cdd3d8; text-decoration:none;
}
.footer-asp .footer-list a:hover{
  color:#D9B166; text-decoration:underline;
}
.footer-asp .footer-contact a{
  color:#cdd3d8; text-decoration:none;
}
.footer-asp .footer-contact a:hover{ color:#D9B166; }

/* Social icon buttons */
.footer-asp .btn-icon{
  width:38px; height:38px; display:inline-flex; align-items:center; justify-content:center;
  border-radius:10px;
  background:#2a3035; color:#e9edf0;
  border:1px solid rgba(255,255,255,.08);
  transition:all .2s ease;
}
.footer-asp .btn-icon:hover{
  background:#D9B166; color:#4B0E68; border-color:#D9B166;
}

/* Legal links */
.footer-asp .footer-legal-link{ color:#cdd3d8; }
.footer-asp .footer-legal-link:hover{ color:#D9B166; }

/* Back-to-top floating button */
.btn-btt{
  position:fixed; right:18px; bottom:18px; z-index:1050;
  width:44px; height:44px; border-radius:12px;
  background:#D9B166; color:#4B0E68; display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 20px rgba(0,0,0,.2);
  opacity:0; visibility:hidden; transform:translateY(6px);
  transition:all .25s ease;
}
.btn-btt.show{ opacity:1; visibility:visible; transform:none; }
.btn-btt:hover{ filter:brightness(.95); color:#4B0E68; }
.btn-btt i{ font-size:1.5rem; }

.footer .gold-text {
  color: #D9B166 !important;
}



/* ===== Desktop/Tablet Hero (bottom-centered overlay) ===== */
.asp-hero-slider{position:relative;width:100%;margin:0;background:#fff;}
.asp-hero-slider .carousel,
.asp-hero-slider .carousel-inner,
.asp-hero-slider .carousel-item{height:70vh;max-height:700px;background:#fff;}
.asp-hero-slider .carousel-item{position:relative;overflow:hidden;}

.asp-hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:1;transform:scale(1.04);transition:transform 800ms ease;}
.asp-hero-slider .carousel-item.active .asp-hero-bg{transform:scale(1);}

.asp-hero-overlay{
  position:absolute;inset:0;z-index:2;pointer-events:none;
  background:
    linear-gradient(180deg,rgba(0,0,0,0.06) 0%,rgba(0,0,0,0.45) 45%,rgba(0,0,0,0.82) 100%),
    linear-gradient(135deg,rgba(0,0,0,.22) 0%,rgba(0,0,0,.12) 55%,rgba(0,0,0,.08) 100%);
}

.asp-hero-caption{
  position:absolute;left:50%;bottom:clamp(32px,8vh,96px);transform:translate(-50%,0);
  text-align:center;z-index:3;color:#fff;width:min(92vw,900px);padding:2rem 1.25rem;
  text-shadow:0 3px 12px rgba(0,0,0,.65);opacity:0;
}
@keyframes aspFadeUpCentered{from{opacity:0;transform:translate(-50%,14px);}to{opacity:1;transform:translate(-50%,0);}}
.asp-hero-slider .carousel-item.active .asp-hero-caption{animation:aspFadeUpCentered 700ms cubic-bezier(.2,.75,.2,1) 120ms both;}

.asp-hero-title{color:#D9B166;font-weight:800;line-height:1.1;font-size:clamp(1.6rem,3.5vw,3.2rem);}
.asp-hero-text{color:#f2f2f2;font-size:clamp(1rem,1.4vw,1.125rem);margin-bottom:1.25rem;}
.asp-hero-caption .btn{background:#890E3D;color:#fff;border:none;font-weight:700;border-radius:8px;padding:.6rem 1.25rem;}
.asp-hero-caption .btn:hover{background:#4B0E68;color:#fff}

.asp-hero-slider .carousel-indicators{bottom:clamp(8px,3vh,28px);gap:10px;}
.asp-hero-slider .carousel-indicators [data-bs-target]{width:12px;height:12px;border-radius:50%;background:rgba(255,255,255,.6);border:0;transition:transform .2s ease,background-color .2s ease;}
.asp-hero-slider .carousel-indicators .active{background:#D9B166;transform:scale(1.15);}
.carousel-control-prev-icon,.carousel-control-next-icon{filter:drop-shadow(0 2px 6px rgba(0,0,0,.65));}


/* ===== Mobile Hero (edge-to-edge card) ===== */
.asp-hero-mobile{background:#fff;}
.asp-hero-mobile .container-fluid{padding-left:0;padding-right:0;}

.asp-hero-card-mobile{
  width:100%; background:#fff; border-radius:0; overflow:hidden;
}
.asp-hero-mobile-img{
  width:100%; height:auto; object-fit:cover; aspect-ratio:3/2; display:block;
}
.asp-hero-mobile-panel{
  background:#0f0f10; color:#fff; padding:18px 18px 22px;
}
.asp-hero-mobile-panel h2{font-size:1.25rem;font-weight:800;color:#D9B166;margin:0 0 .35rem;}
.asp-hero-mobile-text{font-size:.98rem;color:#f1f1f1;margin-bottom:.75rem;}

.asp-hero-mobile .carousel-indicators{
  position:relative; bottom:auto; margin:10px 0 0; justify-content:center;
}
.asp-hero-mobile .carousel-indicators [data-bs-target]{
  width:12px; height:12px; border-radius:50%; background:rgba(0,0,0,.18); border:0;
}
.asp-hero-mobile .carousel-indicators .active{background:#D9B166;}



/* ===============================
   Season page — compact layout
   =============================== */

/* Month title */
.season-month{
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: .02em;
  margin: 1rem 0 .5rem;
}

/* Row: two columns only (Date | Content) */
.match-list .match-row{
  display:grid;
  grid-template-columns: 84px 1fr;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border: 0;
  border-bottom: 1px solid var(--asp-border, #ececec);
  background: #fff;
  text-decoration: none;
  transition: background .2s ease;
}
.match-list .match-row:hover{ background: #faf8f4; }

/* Date block */
.match-date{
  display:flex; flex-direction:column; align-items:flex-start; line-height:1.1;
}
.match-date .md-d  { font-weight:700; color:#7a7f86; font-size:.85rem; }
.match-date .md-dn { font-weight:800; font-size:1.25rem; }
.match-date .md-m  { font-weight:700; color:#7a7f86; font-size:.85rem; }

/* Body */
.match-body .match-competition{ margin-bottom:2px; }
.match-teams{ font-size:1rem; }
.match-teams .team{ display:inline-flex; align-items:center; gap:.45rem; }
.team-logo{
  width:22px; height:22px; border-radius:50%; object-fit:cover;
  box-shadow:0 0 0 1px rgba(0,0,0,.06);
}

/* Bottom meta line inside content */
.match-meta-line{ margin-top:.5rem; display:flex; align-items:center; flex-wrap:wrap; gap:.5rem; }
.match-meta-line .venue{ color:#6c757d; white-space:nowrap; }

/* Badges */
.time-badge{
  display:inline-block; min-width:56px; text-align:center;
  padding:.35rem .5rem; border-radius:.5rem; background:#eef1f5; color:#333; font-weight:700; font-size:.85rem;
}
.score-box{
  display:inline-block; min-width:68px; text-align:center;
  padding:.35rem .6rem; border-radius:.5rem; background:#fff; color:#111;
  font-weight:800; letter-spacing:.02em; border:2px solid #e6e6e6;
}
.score-win  { border-color:#bfe7c8; }
.score-draw { border-color:#dfe3ea; }
.score-loss { border-color:#f3c5c5; }

/* Mobile tweaks */
@media (max-width: 576px){
  .match-list .match-row{
    grid-template-columns: 64px 1fr;
    padding: 12px 12px;
  }
}


/* ===== Season list card layout ===== */
.match-list { margin-top: .5rem; }

.match-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 14px;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

.match-row:hover { background: #fcfbf9; text-decoration: none; }

.match-date {
  width: 64px;
  text-align: center;
  line-height: 1.1;
  flex: 0 0 64px;
}

.match-date .md-d   { font-weight: 600; color: #6b7280; }
.match-date .md-dn  { font-size: 1.75rem; font-weight: 800; color: #111827; }
.match-date .md-m   { font-weight: 600; color: #6b7280; }

.match-body {
  flex: 1 1 auto;
  min-width: 0;
}

.match-competition { margin-bottom: 4px; }

.match-teams {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.team { display: inline-flex; align-items: center; gap: 8px; }
.team-logo { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.team-name { font-weight: 700; color: #111827; }

.venue-line {
  margin-top: 6px;
  font-size: .95rem;
  color: #6b7280;
}

/* Right column */
.match-right {
  margin-left: auto;
  display: flex;
  align-items: center;
}

/* Time + score chips */
.time-badge,
.score-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  font-weight: 800;
  border-radius: 12px;
  background: #eef2ff;
  color: #111827;
  min-width: 78px;
}

.score-box { background: #f1f5f9; }
.score-win  { background: #dcfce7; }
.score-loss { background: #fee2e2; }
.score-draw { background: #fff7cc; }

/* Month heading */
.season-month {
  margin: 28px 0 8px;
  font-weight: 800;
  color: #111827;
}

/* Info alerts for empty state */
.alert-asp {
  background: #fff7e6;
  border: 1px solid #ffe8b3;
  color: #8a6d3b;
  border-radius: 12px;
  padding: 14px 16px;
}

/* Responsive tweaks */
@media (max-width: 576px) {
  .match-row { padding: 16px 14px; }
  .match-date { width: 58px; flex-basis: 58px; }
  .time-badge, .score-box { min-width: 64px; padding: 8px 10px; }
}


/* ===== Single Match Hero ===== */
.match-hero{
  position: relative;
  min-height: 56vh;
  display: grid;
  align-items: end;
  padding: 64px 0 28px;
  overflow: hidden;
}
.match-hero__bg{
  position: absolute; inset: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.05);
  filter: saturate(.9) contrast(1.02) brightness(.85);
}
.match-hero__shade{
  position: absolute; inset: 0;
  background: radial-gradient(70% 90% at 50% 55%, rgba(0,0,0,.25) 0, rgba(0,0,0,.55) 70%);
}
.match-hero .container{ position: relative; z-index: 2; }
.match-hero__top{ letter-spacing:.04em; margin-bottom: 18px; }

.match-hero__core{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(16px, 4vw, 48px);
  color: #fff;
}
.match-hero__side{ text-align: center; }
.match-hero .crest{
  width: clamp(64px, 10vw, 92px); height: clamp(64px,10vw,92px);
  border-radius: 999px; background: rgba(255,255,255,.1);
  display: grid; place-items: center; overflow: hidden;
  margin: 0 auto 10px;
  backdrop-filter: blur(2px);
}
.match-hero .crest img{ width: 70%; height: 70%; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(0,0,0,.3)); }
.crest-fallback{
  display: inline-grid; place-items: center;
  width: 100%; height:100%;
  font-weight: 800; color:#fff;
  background: rgba(255,255,255,.06);
  letter-spacing: .06em;
}

.match-hero .team-name{ font-weight: 700; font-size: clamp(14px,1.6vw,18px); opacity:.95; }

.match-hero__score{ text-align: center; min-width: 220px; }
.match-hero__score .match-state{
  font-size: .85rem; font-weight: 700; letter-spacing: .08em;
  color: rgba(255,255,255,.85);
  margin-bottom: .25rem;
}
.match-hero__score .score-line{
  display: flex; gap: 14px; align-items: center; justify-content: center;
  font-weight: 900; line-height: 1;
  font-size: clamp(42px, 7.5vw, 88px);
}
.match-hero__score .dash{ opacity:.85; }

.result-chip{
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; margin-top: .35rem;
  font-weight: 700; font-size: .85rem; border-radius: 999px;
  background: rgba(255,255,255,.12); color:#fff;
  text-transform: uppercase; letter-spacing:.08em;
}
.result-win  { background: rgba(16,185,129,.28); }
.result-loss { background: rgba(239,68,68,.28); }
.result-draw { background: rgba(245,158,11,.28); }

.match-hero__actions{ margin-top: 18px; }
.btn-aspire{
  --bg:#890E3D; --bg2:#4B0E68;
  border:0; color:#fff; font-weight:700;
  padding: .6rem 1.1rem; border-radius: 999px;
  background: linear-gradient(90deg, var(--bg), var(--bg2));
  box-shadow: 0 6px 18px rgba(137,14,61,.24);
}
.btn-aspire:hover{ filter: brightness(1.08); color:#fff; }

/* Article */
.match-article .entry-content > p:first-child{
  font-size: 1.125rem; line-height: 1.7;
}
.match-article .entry-content img{
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}

/* Responsive */
@media (max-width: 768px){
  .match-hero{ min-height: 54vh; padding: 52px 0 22px; }
  .match-hero__core{
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .match-hero__side .team-name{ font-size: 15px; }
  .match-hero__score{ order:-1; }
}


/* ========== Legibility & alignment on the hero ========== */
.match-hero__bg::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(to bottom, rgba(0,0,0,.15) 0%, rgba(0,0,0,.55) 70%);
  pointer-events:none;
}
.match-hero__top,
.match-hero__meta,
.match-hero__core,
.match-hero__actions{ text-align:center; }

/* Replace the old .match-hero__top with a meta list */
.match-hero__meta{
  list-style:none; margin:0 0 16px 0; padding:0;
  display:flex; gap:18px; flex-wrap:wrap; justify-content:center;
  font-size:.86rem; letter-spacing:.06em; text-transform:uppercase;
  color: rgba(255,255,255,.9);
  text-shadow:0 1px 2px rgba(0,0,0,.6);
}
.match-hero__meta .meta-item{ position:relative; padding-left:0; }

/* Team names/labels—ensure readable on all images */
.match-hero .team-name{
  color:#fff; text-shadow:0 2px 4px rgba(0,0,0,.5);
}

/* Score text—slightly bolder and shadowed for contrast */
.match-hero__score .score-line span{
  color:#fff; text-shadow:0 3px 8px rgba(0,0,0,.55);
}

.match-hero__score .match-state{
  color:#fff; opacity:.95; text-shadow:0 2px 4px rgba(0,0,0,.55);
}

/* Actions button sits centered */
.match-hero__actions{ display:flex; justify-content:center; }

/* ========== Article width to match News page ========== */
.mk-narrow{
  max-width: 820px;   /* tweak: 760–860 works nicely */
  margin-inline:auto;
}
.mk-narrow > p,
.mk-narrow > ul,
.mk-narrow > ol,
.mk-narrow > h2,
.mk-narrow > h3{ max-width: 100%; }

/* ========== Mobile polish ========== */
@media (max-width: 768px){

  /* Stack meta as three lines for readability */
  .match-hero__meta{
    flex-direction:column; gap:6px;
    align-items:center;
    font-size:.8rem;
  }

  /* Keep a three-column layout on mobile so the score sits centrally
     with crests on the left and right. */
  .match-hero__core{
    grid-template-columns: 1fr auto 1fr;
    gap: 14px;
  }

  /* Smaller crests; keep names readable and centered */
  .match-hero .crest{
    width: 66px; height: 66px;
    margin-bottom:6px;
    background: rgba(255,255,255,.12);
  }
  .match-hero .crest img{ width:72%; height:72%; }

  .match-hero .team-name{
    font-size: 14px;
    line-height:1.15;
    max-width: 8.5rem;
    margin-inline:auto;
  }

  /* Score blocks a touch smaller but still bold */
  .match-hero__score .score-line{
    font-size: clamp(32px, 9.5vw, 56px);
    gap: 10px;
  }

  /* Meta line spacing beneath score */
  .match-hero{ padding: 48px 0 20px; }

  /* Tighten hero button on mobile */
  .btn-aspire{ padding:.55rem .95rem; font-size:.92rem; }
}

/* ========== Extra: ensure dark text never leaks on image ========== */
.match-hero,
.match-hero *{
  /* prevent inheriting any global dark text on the hero */
  --text-on-hero: #fff;
}


/* --- Mobile: hero core as HOME | SCORE | AWAY -------------------------------- */
@media (max-width: 768px){

  /* Force a three-column grid: home – score – away */
  .match-hero__core{
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas: "home score away";
    align-items: center;
    gap: 14px;
    width: 100%;
  }

  .match-hero__score{ 
    grid-area: score; 
    justify-self: center; 
  }

  .match-hero .team--home{ 
    grid-area: home; 
    justify-self: end; 
    text-align: center; 
  }
  .match-hero .team--away{ 
    grid-area: away; 
    justify-self: start; 
    text-align: center; 
  }

  /* Crest sizing & centering under the score row */
  .match-hero .crest{
    width: 70px; height: 70px;
    margin: 0 auto 6px auto;
    background: rgba(255,255,255,.12);
    border-radius: 50%;
    display:flex; align-items:center; justify-content:center;
  }
  .match-hero .crest img{ width: 74%; height: 74%; object-fit: contain; }

  /* Team names below each crest */
  .match-hero .team-name{
    font-size: 14px; line-height: 1.15;
    max-width: 9rem; margin: 0 auto;
    color:#fff; text-shadow:0 2px 4px rgba(0,0,0,.55);
  }

  /* Score remains strong and centered */
  .match-hero__score .score-line{
    font-size: clamp(34px, 10vw, 58px);
    display:flex; align-items:baseline; gap: 10px;
  }
  .match-hero__score .score-line span{
    color:#fff; text-shadow:0 3px 8px rgba(0,0,0,.55);
  }
  .match-hero__score .match-state{
    margin-top: 6px;
    color:#fff; text-shadow:0 2px 4px rgba(0,0,0,.55);
  }
}



/* ===== MATCH TRIO ===== */
.ai-trio { margin: 2.5rem auto; }
.ai-trio__grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 24px;
}
@media (max-width: 1024px){
  .ai-trio__grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 680px){
  .ai-trio__grid{ grid-template-columns: 1fr; }
}

.ai-matchcard{
  background:#fff;
  border-radius:18px;
  padding:28px 26px;
  box-shadow:0 10px 30px rgba(24,24,27,0.08);
  position:relative;
  display:flex;
  flex-direction:column;
  gap:18px;
}
.ai-matchcard--empty{
  align-items:center; justify-content:center; text-align:center; padding:40px 26px;
  color:#6b7280;
}

.ai-matchcard__label{
  font-weight:700;
  font-size:18px;
  color:#111827;
}
.ai-matchcard__league{
  font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:#6b7280;
}
.ai-matchcard__datetime{ display:flex; align-items:center; gap:12px; }
.ai-matchcard__date{ font-weight:600; color:#374151; }
.ai-matchcard__time{
  background:#eef2ff; color:#111827; border-radius:10px; padding:6px 10px; font-weight:700;
}

.ai-matchcard__venue{ color:#6b7280; font-size:14px; }

.ai-matchcard__teams{
  display:grid; grid-template-columns: 1fr auto 1fr; align-items:center; gap:14px; padding:8px 0;
}
.ai-team{ text-align:center; }
.ai-team__crest{
  width:72px; height:72px; object-fit:contain; margin:0 auto 8px;
}
.ai-team__crest--placeholder{
  width:72px; height:72px; border-radius:50%;
  background:#f3f4f6; display:flex; align-items:center; justify-content:center; font-weight:700; color:#111827;
}
.ai-team__abbr{ font-weight:700; letter-spacing:.08em; }

.ai-matchcard__score{ text-align:center; }
.ai-score{ font-size:52px; font-weight:800; color:#111827; display:flex; align-items:baseline; gap:10px; }
.ai-score .dash{ opacity:.7; }

.ai-kick-badge{
  background:#eef2ff; color:#111827; border-radius:10px; padding:6px 12px; font-weight:700;
  min-width:68px; text-align:center;
}

.ai-matchcard__cta{
  display:flex; gap:12px; margin-top:auto;
}
.ai-btn{
  display:inline-flex; align-items:center; justify-content:center;
  height:38px; padding:0 18px; border-radius:6px; font-weight:700; text-decoration:none;
  transition:transform .08s ease, filter .12s;
}
.ai-btn--primary{ background:#2563eb; color:#fff; }
.ai-btn--primary:hover{ filter:brightness(1.05); transform:translateY(-1px); }
.ai-btn--ghost{ background:#f3f4f6; color:#111827; }
.ai-btn--ghost:hover{ filter:brightness(0.98); transform:translateY(-1px); }
.ai-btn__chev{ margin-left:8px; transform:translateY(-1px); }


/* Trio wrapper */
.ai-trio { margin-block: 3rem; }
.ai-trio__header {
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom:1.25rem;
}
.ai-trio__title { font-size:2.2rem; margin:0; }
.ai-trio__all { color:#6e56cf; text-decoration:none; font-weight:600; }

/* Grid */
.ai-trio__grid {
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1.25rem;
}
@media (max-width: 900px){
  .ai-trio__grid{ grid-template-columns:1fr; }
}

/* Card */
.ai-matchcard{
  background:#fff; border-radius:20px; padding:24px;
  box-shadow:0 12px 30px rgba(28,28,30,.08);
  display:flex; flex-direction:column; gap:.75rem;
}
.ai-matchcard--empty { align-items:center; justify-content:center; text-align:center; }

.ai-matchcard__label { font-weight:700; font-size:1.2rem; }
.ai-matchcard__meta  { color:#6b7280; text-transform:uppercase; font-size:.86rem; letter-spacing:.04em; }
.ai-matchcard__date  { font-weight:600; }

.ai-matchcard__grid{
  display:grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items:center; padding-top:.25rem;
}
.ai-matchcard__team{ display:flex; align-items:center; gap:.5rem; }
.ai-matchcard__team--right{ justify-content:flex-end; }
.ai-matchcard__logo{ width:54px; height:54px; object-fit:contain; }
.ai-matchcard__abbr{ font-weight:800; letter-spacing:.02em; }

.ai-matchcard__core{ text-align:center; min-width:120px; }
.ai-matchcard__score{ font-size:2.25rem; font-weight:800; }
.ai-matchcard__score .dash{ opacity:.55; margin:0 .25rem; }
.ai-matchcard__kick{
  display:inline-block; padding:.35rem .65rem; border-radius:10px;
  background:#eef2ff; font-weight:700;
}

.ai-matchcard__venue{ color:#6b7280; }
.ai-matchcard__actions{ margin-top:.5rem; }
.ai-matchcard .btn.btn-primary{
  display:inline-flex; align-items:center; justify-content:center;
  padding:.7rem 1.1rem; border-radius:12px; background:#1e1b4b; color:#fff; text-decoration:none;
}
.ai-matchcard .btn.btn-primary:hover{ background:#2a245f; }


/* Enable horizontal scroll for the card row on small screens */
@media (max-width: 680px){
  .ai-trio__grid{           /* use your row wrapper class here */
    display:flex;
    gap:16px;
    overflow-x:auto;
    padding-bottom:8px;
    scroll-snap-type:x mandatory;
  }
  .ai-trio__grid::-webkit-scrollbar{ height:8px; }
  .ai-trio__grid::-webkit-scrollbar-thumb{
    background:#e5e7eb; border-radius:8px;
  }
  .ai-matchcard{ min-width:85%; scroll-snap-align:start; }
}

/* Optional: tidy venue line */
.ai-matchcard__venue{ color:#6b7280; margin-top:2px; }




/* ====== Squad Card (Aspire India style) ====== */
:root {
  --ai-primary: #8C1D40;   /* maroon */
  --ai-gold:    #D4AF37;   /* gold accent */
  --ai-dark:    #0f0f10;
}

.squad-card {
  display:block;
  text-decoration:none;
  color:#fff;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 6px 16px rgba(0,0,0,.10);
  transition:transform .25s ease, box-shadow .25s ease;
  background:#111;

}

.squad-card:hover {
  transform:translateY(-4px);
  box-shadow:0 12px 28px rgba(0,0,0,.22);
}

.squad-card__img {
  position:relative;
  width:100%;
  /* modern: keeps perfect ratio */
  aspect-ratio: 3 / 4;
  background-size:cover;
  background-position:center;
}

/* gradient to make text readable */
.squad-card__img::after {
  content:"";
  position:absolute;
  inset:auto 0 0 0;
  height:55%;
  background:linear-gradient( to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.0) 100% );
}

/* content wrapper */
.squad-card__meta {
  position:absolute;
  left:14px;
  right:14px;
  bottom:12px;
  z-index:2;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:6px;
    padding: 10px;
}

/* jersey number */
.squad-card__number {
  display:inline-block;
  font-weight:800;
  letter-spacing:.6px;
  font-size:1.15rem;
  color:var(--ai-gold);
  background:rgba(0,0,0,.28);
  border:1px solid rgba(212,175,55,.35);
  border-radius:10px;
  padding:4px 8px;
  width: 50px;
  text-align: center;
}

/* name */
.squad-card__name {
  font-weight:900;
  text-transform:uppercase;
  font-size:1.6rem;
  line-height:1.1;
  color: #D9B166;
}

/* subtle zoom on hover */
.squad-card .squad-card__img {
  transform:scale(1);
  transition:transform .25s ease;
}
.squad-card:hover .squad-card__img {
  transform:scale(1.04);
}


@media (max-width: 680px){
  .squad-card__name {
    font-size:1.15rem;
  }
}