/* ============================================================
   HOME.CSS — CLEAN MERGED VERSION (NO DUPLICATES)
   Fixes:
   - repeated blocks removed
   - gradients normalized (less random blue)
   - headings aligned consistently
   - testimonials scroll + fade works
============================================================ */

/* =========================
   TYPO SYSTEM (Home only)
========================= */
:root{
  --accent-orange: #E84C1E;   /* brand orange — aligned with global */
  --accent-gold:   #F0B429;   /* brand gold */
  --ink-strong:    #0F1A2E;   /* brand navy — not pure black */

  --p-size: 17.5px;
  --p-lh: 1.85;

  --fw-hero: 900;
  --fw-head: 900;
  --fw-body: 450;

  --ls-head: -0.5px;
}

/* Use Outfit for headings, Inter for body prose on homepage */
.hero--full, .hero--full *,
.homeX, .homeX *{
  font-family: "Outfit", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Restore icon font on Material Symbols spans — the wildcard above clobbers it */
.hero--full .material-symbols-rounded,
.homeX .material-symbols-rounded {
  font-family: 'Material Symbols Rounded' !important;
}
.hero--full .material-symbols-outlined,
.homeX .material-symbols-outlined {
  font-family: 'Material Symbols Outlined' !important;
}

.homeX p,
.homeX .hx-sub,
.homeX .eoText,
.homeX .htText,
.homeX .hx-tStripText{
  font-family: "Inter", "Outfit", system-ui, sans-serif;
}

/* Global heading feel */
.hero-h1{
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: var(--fw-hero);
  text-transform: uppercase;
  letter-spacing: var(--ls-head);
  color:#fff;
}

.homeX h1,
.homeX h2,
.homeX h3{
  font-weight: var(--fw-head);
  text-transform: uppercase;
  letter-spacing: var(--ls-head);
  color: var(--ink-strong);
}

/* Paragraph rhythm */
.hero-sub{
  color: rgba(255,255,255,.9);
  font-size: var(--p-size);
  line-height: var(--p-lh);
  letter-spacing: .1px;
}

.homeX p,
.homeX .hx-sub,
.homeX .eoText,
.homeX .htText{
  font-size: var(--p-size);
  line-height: var(--p-lh);
  letter-spacing: .1px;
  color: rgba(15,26,46,.82);
  text-align: left;
  text-wrap: pretty;
  hyphens: auto;
}

@media (max-width: 980px){
  .homeX p,
  .homeX .hx-sub,
  .homeX .eoText,
  .homeX .htText{
    font-size: 16.5px;
    line-height: 1.75;
  }
  .hero-sub{
    font-size: 15.5px;
    line-height: 1.7;
  }
}


/* =========================
   HERO (Your existing)
========================= */
.hero--full{ position:relative; width:100%; max-width:100vw; overflow:hidden; }
.hero-carousel{ position:relative; width:100%; overflow:hidden; }
.hero-slides{ position:relative; width:100%; height:510px; }

.hero-slide{
  position:absolute; inset:0;
  opacity:0;
  transform: scale(1.03);
  transition: opacity .7s ease, transform 1.2s ease;
}
.hero-slide.is-active{ opacity:1; transform:scale(1); z-index:2; }

.hero-slide-picture, .hero-slide-img{ width:100%; height:100%; display:block; }
.hero-slide-img{ object-fit:cover; }

.hero-shade{
  position:absolute; inset:0; z-index:3;
  background: linear-gradient(90deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,0) 75%);
}
/* Admin-selectable overlay styles (per slide, set in admin > Hero Slides) */
.hero-shade--left-dark{
  background: linear-gradient(90deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,0) 75%);
}
.hero-shade--bottom-dark{
  background: linear-gradient(0deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.32) 45%, rgba(0,0,0,0) 80%);
}
.hero-shade--full-dark{
  background: rgba(0,0,0,.48);
}
.hero-shade--none{
  background: transparent;
}
.hero-overlay{ position:absolute; inset:0; left:0; right:0; z-index:4; display:flex; align-items:center; justify-content:flex-start; box-sizing:border-box; }

.hero-inner{
  width:1280px; max-width:100%;
  margin:0 auto;
  padding: 0 35px 0 8px;
  box-sizing:border-box;
}
@media (min-width: 992px){
  .hero-inner{ padding-left: 1px; }
}

.hero-inner .kicker{
  color: rgba(255,255,255,.85);
  font-weight: 600;
  letter-spacing: .3px;
  margin-bottom: 10px;
}
.hero-h1{
  font-size:56px;
  line-height:1.02;
  margin:0 0 12px;
}
.hero-sub{ max-width:720px; margin:0 0 18px; }

.hero-actions{ display:flex; gap:12px; flex-wrap:wrap; margin-bottom:14px; }

.hero-nav{
  position:absolute; top:50%;
  transform:translateY(-50%);
  z-index:5;
  border:0;
  background: transparent;
  color:#fff;
  font-size:48px;
  line-height:1;
  padding:0 6px;
  cursor:pointer;
  text-shadow: 0 2px 8px rgba(0,0,0,0.55);
  transition: color 0.18s ease, text-shadow 0.18s ease, transform 0.18s ease;
}
.hero-prev{ left:12px; transform:translateY(-50%); }
.hero-next{ right:12px; transform:translateY(-50%); }
.hero-nav:hover{
  background: transparent;
  color: #F0B429;
  text-shadow: 0 2px 12px rgba(0,0,0,0.65);
}
.hero-prev:hover{ transform: translateY(-50%) translateX(-3px); }
.hero-next:hover{ transform: translateY(-50%) translateX(3px); }

@media (max-width: 767.98px){
  .hero--full{ width:100%; max-width:100%; }
  .hero-carousel,
  .hero-slides{ width:100%; max-width:100%; }
  .hero-slides{ height: clamp(360px, 62vh, 500px); }
  .hero-overlay{ padding-left: env(safe-area-inset-left, 0); padding-right: env(safe-area-inset-right, 0); }
  .hero-inner{
    width:100%;
    max-width:100%;
    margin:0;
    padding: 0 16px;
    box-sizing:border-box;
  }
  .hero-shade{ background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.35) 50%, rgba(0,0,0,0) 100%); }
  .hero-h1{
    font-size: clamp(22px, 7.2vw, 32px);
    line-height:1.1;
    margin:0 0 10px;
    max-width:100%;
    word-wrap:break-word;
    overflow-wrap:break-word;
    hyphens:auto;
  }
  .hero-sub{
    font-size: clamp(13.5px, 3.9vw, 15px);
    line-height:1.55;
    max-width:100%;
    word-wrap:break-word;
    overflow-wrap:break-word;
  }
  .hero-actions{ gap:8px; max-width:100%; }
  .hero-actions .btn{ font-size:13.5px; padding:10px 16px; }
  .hero-prev{ left:6px; font-size:36px; }
  .hero-next{ right:6px; font-size:36px; }
}
@media (max-width: 380px){
  .hero-slides{ height: clamp(340px, 58vh, 460px); }
  .hero-inner{ padding:0 12px; }
}


/* =========================
   HOME WRAPPER SYSTEM
========================= */
.homeX{
  --hx-ink:    #0F1A2E;               /* brand navy */
  --hx-muted:  rgba(15, 26, 46, 0.70);
  --hx-border: rgba(15, 26, 46, 0.12);
  --hx-blue:   #4A9ACB;               /* sky — minor only */
  --hx-gold:   #F0B429;               /* brand gold */
  --hx-surface:#fff;
  background: #fff;
  color: var(--hx-ink);
}

.homeX .hx-sec{ padding:56px 0; }
.homeX .hx-wrap{ position:relative; }

/* reveal */
.homeX .hx-reveal{
  opacity:0;
  transform: translateY(14px);
  transition: opacity .7s ease, transform .7s ease;
}
.homeX .hx-reveal.is-in{
  opacity:1;
  transform: translateY(0);
}

/* shared heading */
.homeX .htTitle{
  margin:0;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height:1.05;
  letter-spacing: -0.6px;
  font-weight: 1000;
  text-transform: uppercase;
  color:#151515;
}
.homeX .htAccent{ color: var(--accent-orange); }

.homeX .hx-rKicker{
  color: var(--accent-orange);
  font-weight: 900;
  letter-spacing: .08em;
  font-size: 13px;
  margin-bottom: 6px;
  text-transform: uppercase;
}


/* =========================
   EVENT OVERVIEW (ALIGN FIX)
========================= */
.homeX .eoX{
  position:relative;
  background:#fff;
  border-top:1px solid var(--hx-border);
  border-bottom:1px solid var(--hx-border);
  overflow:hidden;
}

/* Section background: flat (gradient washes removed per design refresh) */
.homeX .eoX::before{
  content:"";
  position:absolute;
  inset:-40px -60px -40px -60px;
  background: transparent;
  pointer-events:none;
}

.homeX .eoGrid{
  position:relative;
  display:grid;
  grid-template-columns: 1.35fr .65fr;
  gap:28px;
  align-items:center;
}

.homeX .eoLeft{ position:relative; z-index:1; text-align:left; }
.homeX .eoRight{ position:relative; z-index:1; display:flex; justify-content:flex-end; }

.homeX .eoTitle{
  margin:0 0 12px;
  display:flex;
  flex-wrap:wrap;
  gap:8px 12px;
  align-items:baseline;
  font-style: normal;
  font-weight: 1000;
  font-size: clamp(28px, 4.2vw, 56px);
  line-height:1.05;
  letter-spacing:-0.6px;
  text-transform:uppercase;
  word-wrap:break-word;
  overflow-wrap:break-word;
}
.homeX .eoT1{ color:#151515; }
.homeX .eoT2{ color: var(--accent-orange); }

.homeX .eoText{ max-width: 860px; margin:0; }
.homeX .eoText p{
  word-wrap:break-word;
  overflow-wrap:break-word;
  hyphens:auto;
}

.homeX .eoLogo{ display:grid; place-items:center; }
.homeX .eoLogo img{
  width:100%;
  max-width:520px;
  height:auto;
  object-fit:contain;
  filter: drop-shadow(0 18px 36px rgba(11,18,32,.10));
}

.homeX .eoLogo--desktop{ display:grid; }
.homeX .eoLogo--mobile{ display:none; margin:8px 0 12px; justify-content:flex-start; }
.homeX .eoLogo--mobile img{ max-width:360px; }

@media (max-width: 980px){
  .homeX .eoGrid{ grid-template-columns:1fr; gap:14px; align-items:start; }
  .homeX .eoRight{ display:none; }
  .homeX .eoLogo--desktop{ display:none; }
  .homeX .eoLogo--mobile{ display:grid; justify-content:center; margin:0 auto 16px; }
  /* Center-align the entire event overview on mobile */
  .homeX .eoLeft{ text-align:center; }
  .homeX .eoTitle{ justify-content:center; }
  .homeX .eoText{ text-align:center; }
  .homeX .eoText p{ text-align:center; margin-left:auto; margin-right:auto; }
}
@media (max-width: 560px){
  .homeX .eoLogo--mobile img{ max-width:260px; }
  .homeX .eoLogo--mobile{ margin-bottom:12px; }
  .homeX .eoTitle{ font-size: clamp(26px, 8vw, 38px); gap:6px 10px; }
  .homeX .eoText p{ font-size:15.5px; line-height:1.7; }
  .homeX .hx-sec{ padding:40px 0; }
}
@media (max-width: 380px){
  .homeX .eoTitle{ font-size: clamp(22px, 8.4vw, 30px); }
  .homeX .eoText p{ font-size:15px; line-height:1.65; }
}


/* =========================
   EVENT THEME (KEEP CLEAN)
========================= */
.homeX .htX{
  background:#fff;
  border-top:1px solid var(--hx-border);
  border-bottom:1px solid var(--hx-border);
}

.homeX .htHead{
  display:grid;
  grid-template-columns: 1fr auto;
  gap:18px;
  align-items:start;
  margin-bottom:18px;
}

.homeX .htLabel{ grid-column:1/-1; margin-bottom:6px; }
.homeX .htLabelTxt{
  display:inline-block;
  color: var(--accent-orange);
  font-weight:900;
  letter-spacing:.24em;
  font-size:13px;
  text-transform:uppercase;
}

.homeX .htCta{ display:flex; justify-content:flex-end; padding-top:10px; }
.homeX .htBtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:13px 24px;
  background: linear-gradient(135deg, var(--accent-orange), #ff6b3d);
  color:#fff;
  text-decoration:none;
  font-family: 'Outfit', sans-serif;
  font-weight:800;
  font-size:14px;
  letter-spacing:.04em;
  border:none;
  border-radius:12px;
  box-shadow: 0 8px 24px rgba(232,76,30,.28);
  transition: transform .18s ease, box-shadow .18s ease;
}
.homeX .htBtn:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(232,76,30,.38);
  color:#fff;
  text-decoration:none;
}
.homeX .htBtn:active{ transform: translateY(0); }

.homeX .htMain{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:26px;
  align-items:start;
}

.homeX .htMedia{
  margin:0;
  overflow:hidden;
  background:#f2f2f2;
  border:1px solid rgba(15,25,45,.12);
  box-shadow: 0 18px 44px rgba(11,18,32,.10);
  transition: transform .22s ease, box-shadow .22s ease;
}
.homeX .htMedia img{
  width:100%;
  height:410px;
  object-fit:cover;
  display:block;
  transform: scale(1.01);
  transition: transform .6s ease;
}
.homeX .htMedia:hover{ transform: translateY(-4px); box-shadow: 0 28px 70px rgba(11,18,32,.14); }
.homeX .htMedia:hover img{ transform: scale(1.06); }

.homeX .htBody{ padding-top:8px; }
.homeX .htText{ margin:0; }

@media (max-width: 980px){
  .homeX .htHead{ grid-template-columns:1fr; }
  .homeX .htCta{ justify-content:flex-start; padding-top:0; }
  .homeX .htMain{ grid-template-columns:1fr; }
  .homeX .htMedia img{ height:320px; }
  .homeX .htBtn{ width:100%; }
}


/* =========================
   RACE CATEGORIES (Your UI)
========================= */
.homeX .hx-racesRef{
  --rc-ink:#0b1220;
  --rc-muted: rgba(11,18,32,.68);
  --rc-green:#22c55e;
  --rc-orange:#ff6a2a;
  --rc-cardRad: 16px;
  --rc-shadow: 0 14px 32px rgba(11,18,32,.12);

  padding-top: clamp(24px, 4vw, 40px);
  padding-bottom: clamp(24px, 4vw, 44px);
}

.homeX .hx-rHead{
  text-align:center;
  max-width:860px;
  margin:0 auto 22px;
}

.homeX .hx-rGridRef{
  display:grid;
  gap: clamp(16px, 2vw, 22px);
  grid-template-columns: 1fr;
  margin-top:26px;
  align-items:stretch;
}
@media (min-width: 720px){ .homeX .hx-rGridRef{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px){ .homeX .hx-rGridRef{ grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.homeX .hx-rCardRef{
  background:#fff;
  border:1px solid rgba(11,18,32,.10);
  border-radius: var(--rc-cardRad);
  box-shadow: var(--rc-shadow);
  overflow:hidden;

  display:flex;
  flex-direction:column;

  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease;
}
.homeX .hx-rCardRef:hover{
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 30px 60px rgba(11,18,32,.18), 0 0 0 1px rgba(255,106,42,.35);
  border-color: rgba(255,106,42,.45);
}

.homeX .hx-rMediaRef{ position:relative; height:160px; background:#0b1220; overflow:hidden; }
.homeX .hx-rMediaRef img{
  width:100%; height:100%;
  object-fit:cover;
  display:block;
  transform: translate3d(0,0,0) scale(1.06);
  will-change: transform;
  transition: filter .35s ease;
}
.homeX .hx-rCardRef.is-inview .hx-rMediaRef img{ filter: saturate(1.03) contrast(1.02); }

.homeX .hx-rBodyRef{
  padding:16px 18px 18px;
  display:flex;
  flex-direction:column;
  flex:1;
}

.homeX .hx-rTopRow{ display:flex; justify-content:space-between; gap:10px; align-items:baseline; }
.homeX .hx-rRaceName{
  margin:0;
  font-size:18px;
  font-weight:900;
  letter-spacing:-0.01em;
  color: var(--rc-ink);
}
.homeX .hx-rKmBold{
  font-weight:900;
  margin-top:8px;
  color: rgba(11,18,32,.88);
  font-size:14px;
}

.homeX .hx-rListRef{
  list-style:none;
  padding:0;
  margin:12px 0 0;
  display:grid;
  gap:8px;
}
.homeX .hx-rListRef li{
  position:relative;
  padding-left:22px;
  color: rgba(11,18,32,.78);
  font-size:14px;
  line-height:1.35;
  text-align:left;
}
.homeX .hx-rListRef li::before{
  content:"✓";
  position:absolute;
  left:0; top:0;
  color: var(--rc-green);
  font-weight:900;
}

.homeX .hx-rBottomRef{
  margin-top:auto;
  padding-top:14px;
  border-top:1px solid rgba(11,18,32,.10);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.homeX .hx-rPriceRef{
  color: var(--rc-orange);
  font-weight:900;
  font-size:20px;
}
.homeX .hx-rBtnRef{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 16px;
  border-radius:10px;
  border:none;
  background: linear-gradient(135deg, var(--accent-orange), #ff6b3d);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight:800;
  font-size:13px;
  letter-spacing:.03em;
  text-decoration:none;
  box-shadow: 0 4px 14px rgba(232,76,30,.28);
  transition: transform .18s ease, box-shadow .18s ease;
}
.homeX .hx-rBtnRef:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(232,76,30,.38);
  color:#fff;
  text-decoration:none;
}

@media (max-width: 640px){
  .homeX .hx-rMediaRef{ height:200px; }
  .homeX .hx-rListRef{ gap:10px; }
  .homeX .hx-rListRef li{ font-size:15px; line-height:1.45; }
}


/* =========================
   TESTIMONIALS (FIXED SCROLL)
========================= */
.homeX .hx-testiStrip{
  position:relative;
  background:#fff;
  border-top:1px solid var(--hx-border);
  border-bottom:1px solid var(--hx-border);
}

/* Flat plain background — gradient washes removed per design refresh */
.homeX .hx-testiStrip::before{
  content:"";
  position:absolute; inset:0;
  background: transparent;
  pointer-events:none;
}
.homeX .hx-testiStrip .hx-wrap{ position:relative; z-index:1; }

.homeX .hx-tHead{ max-width:980px; }
.homeX .hx-tSub{
  margin:10px 0 0;
  color: rgba(11,18,32,.68);
  font-size: clamp(14px, 1.6vw, 18px);
  line-height:1.55;
  max-width:900px;
}

.homeX .hx-tAuto{ margin-top:18px; position:relative; }

/* ✅ IMPORTANT: allow horizontal scroll (JS + swipe) */
.homeX .hx-tTrackAuto{
  display:flex;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type: x mandatory;
  border-radius:18px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width:none;
}
.homeX .hx-tTrackAuto::-webkit-scrollbar{ display:none; }

/* each slide full width + snap */
.homeX .hx-tStripOne{
  flex: 0 0 100%;
  width:100%;
  scroll-snap-align: start;

  border-radius:18px;
  border: 2px solid rgba(15,25,45,.12);
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 48px rgba(11,18,32,.10);
  position:relative;
  overflow:hidden;
  padding: clamp(16px, 2.2vw, 22px);

  /* fade default */
  opacity:.32;
  transition: opacity .6s ease;
}
.homeX .hx-tStripOne.is-active{ opacity:1; }

/* quote marks desktop */
.homeX .hx-tQuoteMark{
  position:absolute;
  left:12px;
  top:6px;
  font-size:66px;
  font-weight:1000;
  opacity:.14;
  line-height:1;
  pointer-events:none;
}
.homeX .hx-tQuoteMarkR{
  left:auto;
  right:12px;
  top:auto;
  bottom:-18px;
}

.homeX .hx-tStripGrid{
  display:grid;
  grid-template-columns: 1fr 220px;
  gap: clamp(14px, 2vw, 22px);
  align-items:start;
}

.homeX .hx-tStripLeft{ padding-top:10px; }
.homeX .hx-tStripText{
  margin:0;
  text-align:left;
  color: rgba(11,18,32,.86);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height:1.85;
  text-wrap: pretty;
  hyphens:auto;
}

.homeX .hx-tStripRight{
  display:grid;
  gap:10px;
  justify-items:end;
  text-align:left;
}

.homeX .hx-tPhoto{
  width:150px; height:150px;
  border-radius:14px;
  overflow:hidden;
  border:2px solid rgba(15,25,45,.18);
  background: rgba(255,255,255,.75);
  box-shadow: 0 14px 26px rgba(11,18,32,.12);
}
.homeX .hx-tPhoto img{ width:100%; height:100%; object-fit:cover; display:block; }

.homeX .hx-tMeta{ width:150px; text-align:left; }
.homeX .hx-tName{
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.02em;
  color: rgba(11,18,32,.92);
  font-size:13px;
}
.homeX .hx-tRole{
  margin-top:4px;
  color: rgba(11,18,32,.66);
  font-size:12px;
  line-height:1.35;
}

/* dots */
.homeX .hx-tDots{
  margin-top:12px;
  display:flex;
  justify-content:center;
  gap:8px;
}
.homeX .hx-tDot{
  width:9px; height:9px;
  border-radius:999px;
  border:1px solid rgba(11,18,32,.20);
  background: rgba(11,18,32,.10);
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.homeX .hx-tDot.is-on{
  background: rgba(245,124,0,.92);
  border-color: rgba(245,124,0,.92);
  transform: scale(1.15);
}

/* Plain card background — gradient wash removed */
.homeX .hx-tStripOne{
  background: #ffffff;
}


/* tablet */
@media (max-width: 820px){
  .homeX .hx-tStripGrid{ grid-template-columns: 1fr 180px; }
  .homeX .hx-tPhoto, .homeX .hx-tMeta{ width:130px; }
  .homeX .hx-tPhoto{ height:130px; }
}

/* ✅ mobile: photo+name above text + centered */
@media (max-width: 640px){
  .homeX .hx-tQuoteMark{ display:none !important; }

  .homeX .hx-tStripOne{
    border-radius:22px;
    border:1px solid rgba(11,18,32,.10);
    box-shadow: 0 26px 70px rgba(11,18,32,.18);
    padding: 18px 16px 20px;
  }

  .homeX .hx-tStripOne::before{
    content:"";
    position:absolute;
    inset:-40px -40px auto -40px;
    height:55%;
    background: transparent;
    pointer-events:none;
  }

  .homeX .hx-tStripGrid{
    grid-template-columns: 1fr !important;
    gap:12px !important;
    position:relative;
    z-index:2;
  }

  .homeX .hx-tStripRight{
    order:1;
    justify-items:center !important;
    text-align:center !important;
    gap:10px;
    margin: 6px 0 2px;
  }
  .homeX .hx-tStripLeft{ order:2; padding-top:0 !important; }

  .homeX .hx-tPhoto{
    width:112px !important;
    height:112px !important;
    border-radius:999px !important;
    border:4px solid rgba(255,255,255,.98) !important;
    box-shadow: 0 18px 40px rgba(11,18,32,.18) !important;
  }

  .homeX .hx-tMeta{ width:auto !important; text-align:center !important; }

  .homeX .hx-tName{ font-size:14px !important; letter-spacing:.04em !important; }
  .homeX .hx-tRole{ font-size:12.5px !important; }

  .homeX .hx-tStripText{
    margin:0 auto !important;
    text-align:center !important;
    color: rgba(11,18,32,.78) !important;
    font-size:14.8px !important;
    line-height:1.75 !important;

    background: rgba(255,255,255,.94);
    border: 1px solid rgba(11,18,32,.08);
    border-radius:16px;
    padding: 14px 14px;
    box-shadow: 0 14px 34px rgba(11,18,32,.12);
  }
}

/* motion safety */
@media (prefers-reduced-motion: reduce){
  .homeX .hx-reveal,
  .homeX .hx-rCardRef,
  .homeX .hx-tStripOne{
    transition:none !important;
  }
  .homeX .hx-tTrackAuto{ scroll-behavior:auto !important; }
}

/* Better swipe UX */
.homeX .hx-tTrackAuto{
  cursor: grab;
}
.homeX .hx-tTrackAuto:active{
  cursor: grabbing;
}


/* ============================================================
   SPONSORS & PARTNERS — NO WHITE BOXES
   Heading matches Race Categories
   Scoped: .homeX .hx-sponsorsPro
============================================================ */

.homeX .hx-sponsorsPro{
  position: relative;
  border-top: 1px solid var(--hx-border);
  border-bottom: 1px solid var(--hx-border);
  overflow: hidden;
  background: #fff; /* section base */
}

/* Plain background — gradient washes removed per design refresh */
.homeX .hx-sponsorsPro::before{
  content:"";
  position:absolute;
  inset:-80px -80px -80px -80px;
  background: transparent;
  pointer-events:none;
}
.homeX .hx-sponsorsPro .hx-wrap{ position: relative; z-index: 1; }

/* ===== Section labels like reference (Title Sponsor / Associate / Partners) ===== */
.homeX .hx-sponsorsPro .hx-spLabel{
  margin: 18px 0 12px;
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 950;
  color: #151515;
  text-align: center;
}

/* divider line like reference */
.homeX .hx-sponsorsPro .hx-spDivider{
  height: 1px;
  background: rgba(11,18,32,.12);
  margin: 22px auto;
  max-width: 980px;
}

/* ============================================================
   TITLE / ASSOCIATE — horizontal row of logos (NO BOX)
============================================================ */
.homeX .hx-sponsorsPro .hx-spSingleRow{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 32px 48px;
  padding: 14px 0 8px;
}

.homeX .hx-sponsorsPro .hx-spSingle{
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  text-decoration: none;
  padding: 6px 0;              /* no box spacing */
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.homeX .hx-sponsorsPro .hx-spSingle img{
  width: auto;
  max-width: 420px;            /* ✅ bigger */
  max-height: 96px;            /* ✅ bigger */
  object-fit: contain;
  display: block;
  opacity: .95;
  filter: drop-shadow(0 16px 28px rgba(11,18,32,.12));
  transition: transform .18s ease, filter .18s ease, opacity .18s ease;
}
.homeX .hx-sponsorsPro .hx-spSingle:hover img{
  transform: scale(1.03);
  opacity: 1;
  filter: drop-shadow(0 20px 36px rgba(11,18,32,.16));
}

/* fallback */
.homeX .hx-sponsorsPro .hx-spFallback{
  display:none;
  margin-top: 10px;
  font-weight: 900;
  font-size: 12px;
  color: rgba(11,18,32,.72);
}
.homeX .hx-sponsorsPro .hx-spSingle.is-fallback .hx-spFallback{ display:block; }

/* ============================================================
   PARTNERS GRID — NO BOXES, BIGGER LOGOS
============================================================ */
.homeX .hx-sponsorsPro .hx-spGrid{
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 26px;                   /* more breathing space */
  align-items: start;
}

.homeX .hx-sponsorsPro .hx-spCard{
  text-decoration:none;
  color: inherit;
  display: grid;
  gap: 12px;
  justify-items: center;
}

/* remove card look completely */
.homeX .hx-sponsorsPro .hx-spCardLogo{
  width: 100%;
  min-height: 92px;
  border-radius: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  display: grid;
  place-items: center;
  padding: 0;                  /* no box padding */
}

.homeX .hx-sponsorsPro .hx-spCardLogo img{
  width: auto;
  max-width: 220px;            /* ✅ bigger partner logos */
  max-height: 86px;            /* ✅ bigger partner logos */
  object-fit: contain;
  display: block;
  opacity: .95;
  filter: drop-shadow(0 14px 22px rgba(11,18,32,.10));
  transition: transform .18s ease, filter .18s ease, opacity .18s ease;
}

.homeX .hx-sponsorsPro .hx-spCard:hover .hx-spCardLogo img{
  transform: scale(1.05);
  opacity: 1;
  filter: drop-shadow(0 18px 30px rgba(11,18,32,.14));
}

/* tag text under logo (like “Supported by”) */
.homeX .hx-sponsorsPro .hx-spTag{
  font-size: 13px;
  line-height: 1.25;
  color: rgba(11,18,32,.56);
  text-align: center;
  padding: 0 6px;
}

/* fallback if logo missing */
.homeX .hx-sponsorsPro .hx-spLogoFallback{
  display:none;
  font-weight: 950;
  font-size: 12px;
  text-align:center;
  color: rgba(11,18,32,.72);
  padding: 8px 10px;
  border: 1px dashed rgba(11,18,32,.18);
  border-radius: 14px;
}
.homeX .hx-sponsorsPro .hx-spCardLogo.is-fallback .hx-spLogoFallback{ display:block; }

/* ===== Responsive ===== */
@media (max-width: 1100px){
  .homeX .hx-sponsorsPro .hx-spGrid{ grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 560px){
  .homeX .hx-sponsorsPro .hx-spGrid{ grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }

  .homeX .hx-sponsorsPro .hx-spSingle img{
    max-width: 300px;
    max-height: 82px;
  }

  .homeX .hx-sponsorsPro .hx-spCardLogo img{
    max-width: 180px;
    max-height: 74px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .homeX .hx-sponsorsPro .hx-spSingle img,
  .homeX .hx-sponsorsPro .hx-spCardLogo img{
    transition: none !important;
  }
}

/* ============================================================
   SPONSORS HEADING — match Testimonials (hx-rKicker + htTitle)
   Scoped: .homeX .hx-sponsorsPro
============================================================ */

.homeX .hx-sponsorsPro .hx-tHead{
  max-width: 980px;
  margin: 0 auto 18px;
  text-align: left;                 /* same feel as your page */
}

/* Kicker exactly like Testimonials */
.homeX .hx-sponsorsPro .hx-rKicker{
  color: #f57c00;
  font-weight: 900;
  letter-spacing: .08em;
  font-size: 13px;
  text-align:center;
  margin-bottom: 6px;
  text-transform: uppercase;
}

/* Subtitle line exactly like Testimonials */
.homeX .hx-sponsorsPro .hx-tSub{
  margin: 10px 0 0;
  color: rgba(11,18,32,.68);
  font-size: clamp(14px, 1.6vw, 18px);
  text-align:center;
  line-height: 1.55;
  max-width: 900px;
}

/* Mobile spacing like Testimonials */
@media (max-width: 980px){
  .homeX .hx-sponsorsPro .hx-tHead{
    margin-bottom: 14px;
  }
}

/* ===== Responsive ===== */
@media (max-width: 1100px){
  .homeX .hx-sponsorsPro .hx-spGrid{ grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 560px){
  .homeX .hx-sponsorsPro .hx-spGrid{ grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
  .homeX .hx-sponsorsPro .hx-spCardLogo{ min-height: 110px; padding: 16px 12px; }
  .homeX .hx-sponsorsPro .hx-spCardLogo img{ max-width: 140px; max-height: 52px; }

  .homeX .hx-sponsorsPro .hx-spSingle img{
    max-width: 220px;
    max-height: 58px;
  }
}

/* Reduced motion safety */
@media (prefers-reduced-motion: reduce){
  .homeX .hx-sponsorsPro .hx-spSingle,
  .homeX .hx-sponsorsPro .hx-spCardLogo{
    transition: none !important;
  }
}

/* ============================================================
   PM MESSAGE SECTION — Prime Minister's Letters
   Scoped: .homeX .hx-pmMsg
============================================================ */

.homeX .hx-pmMsg {
  background: #fff;
  border-top: 1px solid var(--hx-border);
  border-bottom: 1px solid var(--hx-border);
}

/* 2-column grid, centred, max 900px wide */
.homeX .hx-pmGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

/* Card */
.homeX .hx-pmCard {
  background: #fff;
  border: 1.5px solid rgba(15,26,46,0.09);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(15,26,46,0.07);
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.homeX .hx-pmCard:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 44px rgba(15,26,46,0.13);
}

/* Card body */
.homeX .hx-pmBody {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.homeX .hx-pmCaption {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: #E84C1E;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* Letter thumbnail (clickable) */
.homeX .hx-pmLetterThumb {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(15,26,46,0.10);
  background: #eef0f4;
  aspect-ratio: 3 / 4;
  display: block;
  outline-offset: 3px;
}

.homeX .hx-pmLetterThumb:focus-visible {
  outline: 2px solid #E84C1E;
}

.homeX .hx-pmLetterThumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.38s ease;
}

.homeX .hx-pmLetterThumb:hover img,
.homeX .hx-pmLetterThumb:focus img {
  transform: scale(1.04);
}

.homeX .hx-pmLetterOverlay {
  position: absolute;
  inset: 0;
  background: rgba(15,26,46,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease;
  pointer-events: none;
}

.homeX .hx-pmLetterThumb:hover .hx-pmLetterOverlay,
.homeX .hx-pmLetterThumb:focus .hx-pmLetterOverlay {
  background: rgba(15,26,46,0.30);
}

.homeX .hx-pmZoomIcon {
  display: block;
  width: 36px;
  height: 36px;
  border: 2px solid rgba(255,255,255,0.90);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.75);
  transition: opacity 0.25s ease, transform 0.25s ease;
  position: relative;
}

/* + crosshair inside the circle */
.homeX .hx-pmZoomIcon::before,
.homeX .hx-pmZoomIcon::after {
  content: '';
  position: absolute;
  background: rgba(255,255,255,0.90);
  border-radius: 2px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.homeX .hx-pmZoomIcon::before { width: 14px; height: 2px; }
.homeX .hx-pmZoomIcon::after  { width: 2px;  height: 14px; }

.homeX .hx-pmLetterThumb:hover .hx-pmZoomIcon,
.homeX .hx-pmLetterThumb:focus .hx-pmZoomIcon {
  opacity: 1;
  transform: scale(1);
}

/* View button */
.homeX .hx-pmViewBtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #E84C1E 0%, #c73d12 100%);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  padding: 9px 20px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  align-self: flex-start;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.homeX .hx-pmViewBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,76,30,0.32);
}

/* Section heading overrides (match Testimonials/Sponsors style) */
.homeX .hx-pmMsg .hx-tHead {
  max-width: 980px;
  margin: 0 auto 18px;
  text-align: center;
}

.homeX .hx-pmMsg .hx-rKicker {
  color: #f57c00;
  font-weight: 900;
  letter-spacing: .08em;
  font-size: 13px;
  text-align: center;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.homeX .hx-pmMsg .hx-tSub {
  margin: 10px auto 0;
  color: rgba(11,18,32,.68);
  font-size: clamp(14px, 1.6vw, 17px);
  text-align: center;
  line-height: 1.55;
  max-width: 720px;
}

/* Section-level PM photo (single, centred) — enlarged for prominence */
.homeX .hx-pmMsg .hx-pmSecPhoto {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
  position: relative;
}
.homeX .hx-pmMsg .hx-pmSecPhoto::before {
  content: "";
  position: absolute;
  width: 260px; height: 260px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,180,41,.18) 0%, transparent 70%);
  z-index: 0;
}

.homeX .hx-pmMsg .hx-pmSecPhoto img {
  position: relative;
  z-index: 1;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 5px solid #F0B429;
  box-shadow: 0 14px 40px rgba(15,26,46,0.28);
  display: block;
}

/* Cards: orange top-accent instead of dark header */
.homeX .hx-pmCard {
  border-top: 3px solid #E84C1E;
}

.homeX .hx-pmBody {
  padding-top: 20px;
}

/* ---- Lightbox ---- */
.hx-pmLightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.hx-pmLightbox[hidden] { display: none; }

.hx-pmLbBackdrop {
  position: absolute;
  inset: 0;
  background: rgba(8,13,24,0.90);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  cursor: pointer;
}

.hx-pmLbInner {
  position: relative;
  z-index: 1;
  max-width: min(92vw, 700px);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hx-pmLbClose {
  position: absolute;
  top: -46px;
  right: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.22);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.hx-pmLbClose:hover { background: rgba(232,76,30,0.72); }

.hx-pmLbFigure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hx-pmLbImg {
  max-width: 100%;
  max-height: 82vh;
  border-radius: 10px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.55);
  display: block;
  object-fit: contain;
}

.hx-pmLbCaption {
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  text-align: center;
  font-style: italic;
}

/* ---- Responsive ---- */
@media (max-width: 767px) {
  .homeX .hx-pmGrid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 480px;
  }
}

@media (max-width: 860px) {
  .homeX .hx-pmMsg .hx-pmSecPhoto img { width: 180px; height: 180px; }
  .homeX .hx-pmMsg .hx-pmSecPhoto::before { width: 220px; height: 220px; }
}
@media (max-width: 560px) {
  .homeX .hx-pmBody { padding: 14px 16px 18px; }
  .homeX .hx-pmMsg .hx-pmSecPhoto img { width: 150px; height: 150px; }
  .homeX .hx-pmMsg .hx-pmSecPhoto::before { width: 188px; height: 188px; }
}

/* ============================================================
   KARGIL VIJAY DIWAS SECTION (27 July) — patriotic tribute
   ============================================================ */
.homeX .hx-vijay {
  position: relative;
  padding: 88px 0 96px;
  background: linear-gradient(180deg, #0a1322 0%, #0F1A2E 60%, #182236 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

/* Background imagery layer */
.homeX .hx-vijay-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Tricolor flag glow at top */
.homeX .hx-vijay-flag {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background:
    linear-gradient(180deg, #FF9933 0 33%, #FFFFFF 33% 66%, #138808 66% 100%);
  opacity: 0.85;
  box-shadow: 0 4px 24px rgba(255,153,51,0.35);
}

/* Mountain silhouettes — bottom of section */
.homeX .hx-vijay-mountains {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  width: 100%;
  height: 360px;
  display: block;
  opacity: 0.92;
}

/* Soldier silhouette — corner detail */
.homeX .hx-vijay-soldier { display: none; }

.homeX .hx-vijay-inner {
  position: relative;
  z-index: 2;
}

.homeX .hx-vijay-content {
  max-width: 760px;
  text-align: center;
  margin: 0 auto;
}

.homeX .hx-vijay-emblem {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: rgba(240,180,41,0.12);
  border: 2px solid rgba(240,180,41,0.45);
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  color: #F0B429;
  box-shadow: 0 0 30px rgba(240,180,41,0.25);
}
.homeX .hx-vijay-emblem .material-symbols-rounded {
  font-size: 38px;
  font-variation-settings: 'FILL' 1;
}

.homeX .hx-vijay-eyebrow {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #F0B429;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(240,180,41,0.10);
  border: 1px solid rgba(240,180,41,0.30);
  margin-bottom: 14px;
}

.homeX .hx-vijay-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 4vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.5px;
  color: #fff;
  margin: 0 0 18px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.homeX .hx-vijay-accent {
  background: linear-gradient(90deg, #F0B429, #ff7a3d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.homeX .hx-vijay-sub {
  font-size: 16px;
  line-height: 1.80;
  color: rgba(255,255,255,0.78);
  margin: 0 auto 32px;
  max-width: 660px;
}

/* Stats row */
.homeX .hx-vijay-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 620px;
  margin: 0 auto 36px;
}
.homeX .hx-vijay-stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 18px 12px;
  backdrop-filter: blur(4px);
}
.homeX .hx-vijay-stat-num {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: clamp(22px, 3vw, 30px);
  color: #F0B429;
  line-height: 1;
}
.homeX .hx-vijay-stat-num span {
  font-size: 0.55em;
  font-weight: 700;
  margin-left: 2px;
  color: rgba(240,180,41,0.78);
}
.homeX .hx-vijay-stat-lbl {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  margin-top: 6px;
  line-height: 1.35;
}

/* Actions */
.homeX .hx-vijay-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.homeX .hx-vijay-cta {
  padding: 14px 28px !important;
  font-size: 15.5px;
}
.homeX .hx-vijay-cta .material-symbols-rounded { font-size: 20px; }

.homeX .hx-vijay-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #F0B429;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-bottom: 1.5px solid rgba(240,180,41,0.35);
  padding-bottom: 2px;
  transition: color .15s, border-color .15s, transform .15s;
}
.homeX .hx-vijay-link:hover {
  color: #fff;
  border-color: #fff;
  transform: translateX(2px);
}
.homeX .hx-vijay-link .material-symbols-rounded { font-size: 18px; }

@media (max-width: 720px) {
  .homeX .hx-vijay { padding: 60px 0 70px; }
  .homeX .hx-vijay-stats { grid-template-columns: 1fr; max-width: 320px; }
  .homeX .hx-vijay-soldier { width: 130px; height: 180px; right: -10px; opacity: 0.30; }
  .homeX .hx-vijay-mountains { height: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  .homeX .hx-pmCard,
  .homeX .hx-pmLetterThumb img,
  .homeX .hx-pmViewBtn,
  .homeX .hx-pmLetterOverlay,
  .homeX .hx-pmZoomIcon { transition: none !important; }
}

