/* ==========================================================================
   THE PULSE GHANA - cinematic hero ("Black Star rising")
   Intro sequence (pulse line -> reveal), then a scroll-driven flight:
   World -> Africa -> Ghana -> Cities. Built on base.css tokens.
   ========================================================================== */
.ghx { --gold: #FCD116; --gold-soft: #FFE27A; --gh-red: #CE1126; --gh-green: #006B3F; --ink: #050608;
  position: relative; width: 100vw; margin: 0 calc(50% - 50vw); background: var(--ink); color: #F5F5F5; isolation: isolate; font-family: var(--font-body); }
.ghx-sticky { position: relative; min-height: calc(100svh - var(--navbar-height)); overflow: hidden; }
.ghx.ghx-live { height: 430vh; }
.ghx.ghx-live .ghx-sticky { position: sticky; top: var(--navbar-height); height: calc(100vh - var(--navbar-height)); min-height: 560px; }

/* --- layers ------------------------------------------------------------ */
.ghx-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.ghx-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 60%; display: block;
  filter: grayscale(.35) saturate(.85) brightness(.62) contrast(1.12); opacity: var(--bg-o, .55);
  transform: scale(var(--bg-s, 1.1)); transform-origin: 30% 70%; transition: opacity .4s linear; will-change: transform, opacity; }
.ghx-bg::after { content: ''; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 78% 45%, rgba(252,209,22,.10), transparent 55%),
              linear-gradient(90deg, rgba(5,6,8,.96) 0%, rgba(5,6,8,.84) 32%, rgba(5,6,8,.35) 62%, rgba(5,6,8,.55) 100%),
              linear-gradient(180deg, rgba(5,6,8,.65), transparent 28%, transparent 70%, rgba(5,6,8,.95)); }
.ghx-stars { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; opacity: var(--stars-o, .9); pointer-events: none; }
.ghx-globe { position: absolute; inset: 0 -6% 0 36%; z-index: 2; pointer-events: none; }
.ghx-canvas { position: absolute; inset: 0; opacity: 0; transform: scale(.94); transition: opacity 1.6s ease .2s, transform 2.4s cubic-bezier(.16,1,.3,1) .2s;
  -webkit-mask-image: radial-gradient(closest-side at 50% 50%, #000 78%, transparent 100%), linear-gradient(90deg, transparent, #000 16%); -webkit-mask-composite: source-in;
  mask-image: radial-gradient(farthest-side at 50% 50%, #000 82%, transparent 100%), linear-gradient(90deg, transparent, #000 16%); mask-composite: intersect; }
.ghx-ready .ghx-canvas { opacity: 1; transform: none; }
.ghx-canvas canvas { display: block; }
.ghx-halo { position: absolute; z-index: 1; left: 68%; top: 50%; width: min(78vh, 62vw); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(252,209,22,.16), rgba(242,106,33,.08) 45%, transparent 70%); opacity: var(--halo-o, 1); filter: blur(8px); }
.ghx-vignette { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: radial-gradient(130% 100% at 50% 50%, transparent 55%, rgba(5,6,8,.75) 100%); }
.ghx-grain { position: absolute; inset: -50%; z-index: 4; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: ghxGrain 1.2s steps(6) infinite; }
@keyframes ghxGrain { 0% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-3%); } 60% { transform: translate(-2%,-2%); } 80% { transform: translate(3%,3%); } 100% { transform: translate(0,0); } }
.ghx-flagline { position: absolute; z-index: 7; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--gh-red) 0 33.33%, var(--gold) 33.33% 66.66%, var(--gh-green) 66.66%); transform-origin: 0 50%; }

/* --- HUD --------------------------------------------------------------- */
.ghx-hud { position: absolute; z-index: 6; top: 1.6rem; right: 2rem; text-align: right; font: 500 10px/1.7 ui-monospace, 'SF Mono', Menlo, monospace; letter-spacing: .14em; text-transform: uppercase; color: rgba(245,245,245,.5); }
.ghx-hud b { color: var(--gold-soft); font-weight: 500; }
.ghx-hud i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-right: .5em; box-shadow: 0 0 10px var(--gold); animation: ghxBlink 1.6s ease-in-out infinite; }
@keyframes ghxBlink { 50% { opacity: .25; } }
.ghx-rail { position: absolute; z-index: 6; right: 2rem; top: 50%; transform: translateY(-50%); list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.ghx-rail li { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: .7rem; font: 600 10px var(--font-heading); letter-spacing: .18em; text-transform: uppercase; color: rgba(245,245,245,.32); transition: color .35s; }
.ghx-rail li::after { content: ''; width: 7px; height: 7px; border-radius: 50%; border: 1px solid currentColor; transition: all .35s; }
.ghx-rail li:not(:last-child)::before { content: ''; position: absolute; right: 3px; top: calc(50% + 7px); width: 1px; height: calc(1.5rem + 2px); background: rgba(245,245,245,.14); }
.ghx-rail li.is-on { color: var(--gold-soft); }
.ghx-rail li.is-on::after { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 4px rgba(252,209,22,.16), 0 0 14px rgba(252,209,22,.7); }
.ghx-rail li.is-done { color: rgba(245,245,245,.6); }
.ghx-rail li.is-done::after { background: rgba(245,245,245,.6); border-color: transparent; }
.ghx-corner { position: absolute; z-index: 5; width: 22px; height: 22px; border: 1px solid rgba(252,209,22,.35); pointer-events: none; }
.ghx-corner.tl { left: 1.25rem; top: 1.25rem; border-right: 0; border-bottom: 0; }
.ghx-corner.br { right: 1.25rem; bottom: 1.25rem; border-left: 0; border-top: 0; }
.ghx-corner.bl { left: 1.25rem; bottom: 1.25rem; border-right: 0; border-top: 0; }

/* --- chapters ---------------------------------------------------------- */
.ghx-chapters { position: relative; z-index: 6; height: 100%; max-width: 1280px; margin: 0 auto; padding: 0 2.5rem; }
.ghx-ch { max-width: 620px; padding: 3rem 0; }
.ghx-live .ghx-ch { position: absolute; left: 2.5rem; top: 50%; padding: 0; transform: translateY(calc(-50% + 26px)); opacity: 0; visibility: hidden; filter: blur(8px);
  transition: opacity .55s ease, transform .7s cubic-bezier(.16,1,.3,1), filter .55s ease, visibility 0s linear .55s; }
.ghx-live .ghx-ch.is-on { opacity: 1; visibility: visible; filter: none; transform: translateY(-50%); transition-delay: .12s, .12s, .12s, 0s; }
.ghx-live .ghx-ch.is-past { transform: translateY(calc(-50% - 26px)); }
.ghx:not(.ghx-live) .ghx-ch:not([data-ch="0"]) { display: none; }
.ghx-brand { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
.ghx-brand img { height: 40px; width: auto; display: block; }
.ghx-chip { display: inline-flex; align-items: center; gap: .5rem; padding: .34rem .8rem; border-radius: 999px; border: 1px solid rgba(252,209,22,.35); background: rgba(252,209,22,.07);
  font: 700 .68rem var(--font-heading); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); backdrop-filter: blur(8px); }
.ghx-eyebrow { display: flex; align-items: center; gap: .7rem; font: 700 .7rem var(--font-heading); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 1rem; }
.ghx-eyebrow::before { content: ''; width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.ghx-title { margin: 0 0 1.2rem; font-family: var(--font-body); font-weight: 700; font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: .98; letter-spacing: -.04em; color: #fff; text-wrap: balance; }
.ghx-title .w { display: inline-block; }
.ghx-title em { font-style: normal; color: var(--gold); }
.ghx-title em .w { background: linear-gradient(100deg, #FFE27A 0%, #FCD116 45%, #F5922A 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; padding-bottom: .08em; }
.ghx-h2 { margin: 0 0 1rem; font-family: var(--font-body); font-weight: 700; font-size: clamp(2.1rem, 3.8vw, 3.4rem); line-height: 1.02; letter-spacing: -.035em; color: #fff; text-wrap: balance; }
.ghx-h2 em { font-style: normal; color: var(--gold); }
.ghx-lead { margin: 0 0 1.6rem; max-width: 540px; font-size: 1.08rem; line-height: 1.6; color: rgba(245,245,245,.74); }
.ghx-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.ghx-btn { position: relative; display: inline-flex; align-items: center; gap: .55rem; padding: .85rem 1.5rem; border-radius: 12px; border: 1px solid transparent; font: 600 .92rem var(--font-heading); letter-spacing: .01em; text-decoration: none; transition: transform .25s, box-shadow .25s, border-color .25s, background .25s; }
.ghx-btn-primary { background: linear-gradient(135deg, #F26A21, #E0521A); color: #fff; box-shadow: 0 10px 34px rgba(242,106,33,.38), inset 0 1px 0 rgba(255,255,255,.25); }
.ghx-btn-primary:hover { color: #fff; text-decoration: none; transform: translateY(-2px); box-shadow: 0 16px 44px rgba(242,106,33,.5), inset 0 1px 0 rgba(255,255,255,.3); }
.ghx-btn-ghost { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.16); color: #fff; backdrop-filter: blur(12px); }
.ghx-btn-ghost:hover { color: var(--gold-soft); border-color: rgba(252,209,22,.6); text-decoration: none; transform: translateY(-2px); }
.ghx-kpis { display: grid; grid-template-columns: repeat(5, auto); justify-content: start; gap: 0; margin-top: 2.2rem; border-top: 1px solid rgba(255,255,255,.12); }
.ghx-kpi { padding: 1rem 1.6rem 0 0; margin-right: 1.6rem; border-right: 1px solid rgba(255,255,255,.1); text-decoration: none; color: inherit; }
.ghx-kpi:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.ghx-kpi strong { display: block; font: 600 clamp(1.5rem, 2.4vw, 2.15rem)/1 var(--font-body); letter-spacing: -.035em; font-variant-numeric: tabular-nums; color: #fff; transition: color .2s; }
.ghx-kpi span { display: block; margin-top: .4rem; font: 600 .66rem var(--font-heading); letter-spacing: .14em; text-transform: uppercase; color: rgba(245,245,245,.5); }
.ghx-kpi:hover { text-decoration: none; } .ghx-kpi:hover strong { color: var(--gold); }
.ghx-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; max-width: 560px; }
.ghx-fact { padding: 1rem 1.1rem; border-radius: 14px; border: 1px solid rgba(255,255,255,.1); background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); backdrop-filter: blur(14px); }
.ghx-fact strong { display: block; font: 600 1.55rem/1.1 var(--font-body); letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; }
.ghx-fact span { display: block; margin-top: .35rem; font-size: .78rem; line-height: 1.35; color: rgba(245,245,245,.6); }
.ghx-bars { display: grid; gap: .55rem; max-width: 520px; }
.ghx-bar { display: grid; grid-template-columns: 150px 1fr 34px; gap: .8rem; align-items: center; font-size: .84rem; color: rgba(245,245,245,.8); }
.ghx-bar i { display: block; height: 6px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.ghx-bar i b { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #F26A21, #FCD116); transition: width 1s cubic-bezier(.16,1,.3,1) .25s; box-shadow: 0 0 12px rgba(252,209,22,.5); }
.ghx-ch.is-on .ghx-bar i b { width: var(--w); }
.ghx-bar em { font-style: normal; text-align: right; font-variant-numeric: tabular-nums; color: var(--gold-soft); font-weight: 600; }
.ghx-cities { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: .5rem; max-width: 460px; }
.ghx-cities li { display: grid; grid-template-columns: 26px 1fr auto; gap: .8rem; align-items: center; padding: .7rem 1rem; border-radius: 12px; border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.04); backdrop-filter: blur(12px);
  opacity: 0; transform: translateX(-14px); transition: opacity .5s ease, transform .6s cubic-bezier(.16,1,.3,1); }
.ghx-ch.is-on .ghx-cities li { opacity: 1; transform: none; transition-delay: calc(.18s + var(--i) * .07s); }
.ghx-cities li i { font: 700 .7rem var(--font-heading); font-style: normal; color: rgba(245,245,245,.4); }
.ghx-cities li b { font-weight: 600; } .ghx-cities li small { display: block; font-size: .74rem; color: rgba(245,245,245,.5); font-weight: 400; }
.ghx-cities li em { font: 600 1.15rem var(--font-body); font-style: normal; color: var(--gold-soft); font-variant-numeric: tabular-nums; }

/* --- globe markers ----------------------------------------------------- */
.ghm { position: relative; font: 500 11px var(--font-body); color: #fff; pointer-events: none; }
.ghm-dot { position: absolute; width: var(--d, 6px); height: var(--d, 6px); border-radius: 50%; transform: translate(-50%, -50%); background: var(--gold); box-shadow: 0 0 0 3px rgba(252,209,22,.14), 0 0 14px rgba(252,209,22,.9); }
.ghm-label { position: absolute; left: 12px; top: -8px; white-space: nowrap; letter-spacing: .02em; text-shadow: 0 1px 4px #050608, 0 0 14px #050608; }
.ghm-label small { margin-left: .4em; color: var(--gold-soft); font-weight: 600; }
.ghm-left .ghm-label { left: auto; right: 12px; } .ghm-high .ghm-label { top: -26px; }
.ghm-world { opacity: var(--world-o, 1); color: rgba(225,230,240,.75); }
.ghm-world .ghm-dot { background: #AEB8C7; box-shadow: none; }
.ghm-world .ghm-label { opacity: var(--world-label-o, 0); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.ghm-city { opacity: var(--city-o, 0); }
.ghm-city .ghm-label { opacity: var(--city-label-o, 0); font-size: 12px; font-weight: 600; }
.ghm-city.ghm-minor .ghm-label { display: none; }
.ghm-accra { opacity: 1; }
.ghm-accra .ghm-label { opacity: var(--accra-label-o, 1); font: 700 11px var(--font-heading); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); }

/* --- intro ------------------------------------------------------------- */
.ghx-intro { position: absolute; inset: 0; z-index: 20; display: none; place-items: center; background: var(--ink); pointer-events: none; }
.ghx-intro svg { width: min(86vw, 1100px); height: 160px; overflow: visible; }
.ghx-intro path { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 10px rgba(252,209,22,.9)); }
.ghx-intro p { position: absolute; left: 50%; top: calc(50% + 78px); transform: translateX(-50%); margin: 0; white-space: nowrap; font: 500 10px ui-monospace, 'SF Mono', Menlo, monospace; letter-spacing: .34em; text-transform: uppercase; color: rgba(245,245,245,.55); opacity: 0; }
.ghx-lb { position: absolute; z-index: 19; left: 0; right: 0; height: 0; background: #000; pointer-events: none; }
.ghx-lb.t { top: 0; } .ghx-lb.b { bottom: 0; }
.ghx-anim .ghx-intro { display: grid; animation: ghxIntroOut .9s ease 1.75s forwards; }
.ghx-anim .ghx-intro path { animation: ghxDraw 1.45s cubic-bezier(.65,0,.35,1) .15s forwards; }
.ghx-anim .ghx-intro p { animation: ghxFade .6s ease .5s forwards; }
.ghx-anim .ghx-lb { animation: ghxBars 2.2s cubic-bezier(.7,0,.2,1) 1.7s both; }
.ghx-anim .ghx-bg img { animation: ghxPush 7s cubic-bezier(.16,1,.3,1) 1.6s both; }
.ghx-anim .ghx-flagline { animation: ghxLine 1.4s cubic-bezier(.7,0,.2,1) 2.1s both; }
.ghx-anim .ghx-ch[data-ch="0"] > *, .ghx-anim .ghx-hud, .ghx-anim .ghx-rail, .ghx-anim .ghx-scroll, .ghx-anim .ghx-corner { animation: ghxRise .9s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(2.25s + var(--s, 0) * .11s); }
.ghx-anim .ghx-title .w { animation: ghxWord .95s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(2.3s + var(--wi) * .075s); }
.ghx-anim .ghx-ch[data-ch="0"] > .ghx-title { animation: none; }
@keyframes ghxDraw { to { stroke-dashoffset: 0; } }
@keyframes ghxFade { to { opacity: 1; } }
@keyframes ghxIntroOut { to { opacity: 0; visibility: hidden; } }
@keyframes ghxBars { 0% { height: 13vh; } 100% { height: 0; } }
@keyframes ghxPush { 0% { transform: scale(1.32); } 100% { transform: scale(var(--bg-s, 1.1)); } }
@keyframes ghxLine { 0% { transform: scaleX(0); } 100% { transform: scaleX(1); } }
@keyframes ghxRise { 0% { opacity: 0; transform: translateY(22px); filter: blur(6px); } 100% { opacity: 1; transform: none; filter: none; } }
@keyframes ghxWord { 0% { opacity: 0; transform: translateY(.5em) rotate(2deg); filter: blur(12px); } 100% { opacity: 1; transform: none; filter: none; } }

.ghx-scroll { position: absolute; z-index: 6; left: 50%; bottom: 1.4rem; translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: .55rem; font: 600 .62rem var(--font-heading); letter-spacing: .26em; text-transform: uppercase; color: rgba(245,245,245,.5); transition: opacity .4s; }
.ghx-scroll i { width: 1px; height: 38px; background: linear-gradient(180deg, var(--gold), transparent); animation: ghxDrip 2s cubic-bezier(.7,0,.3,1) infinite; transform-origin: 50% 0; }
@keyframes ghxDrip { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.ghx.is-moving .ghx-scroll { opacity: 0; }
.ghx-credit { position: absolute; z-index: 6; left: 2.9rem; bottom: 1.35rem; font-size: .6rem; letter-spacing: .04em; color: rgba(245,245,245,.3); }
.ghx-credit a { color: inherit; text-decoration: underline; }

/* --- responsive -------------------------------------------------------- */
@media (max-height: 800px) and (min-width: 993px) {
  .ghx-title { font-size: clamp(2.4rem, 4.3vw, 3.6rem); margin-bottom: .9rem; } .ghx-lead { font-size: .98rem; margin-bottom: 1.1rem; }
  .ghx-kpis { margin-top: 1.4rem; } .ghx-brand { margin-bottom: 1rem; } .ghx-brand img { height: 34px; }
}
@media (max-width: 992px) {
  .ghx.ghx-live { height: auto; }
  .ghx.ghx-live .ghx-sticky { position: relative; top: auto; height: auto; min-height: 0; }
  .ghx-sticky { display: flex; flex-direction: column; }
  .ghx-chapters { display: contents; }
  .ghx-ch { order: 1; padding-inline: 1.25rem !important; position: relative; z-index: 6; }
  .ghx-ch[data-ch="3"] { order: 3; }
  .ghx-globe { order: 2; }
  .ghx-live .ghx-ch { position: relative; left: auto; top: auto; transform: none !important; opacity: 1; visibility: visible; filter: none; padding: 2.2rem 0 1rem; }
  .ghx-live .ghx-ch[data-ch="1"], .ghx-live .ghx-ch[data-ch="2"] { display: none; }
  .ghx-ch[data-ch="3"] { padding-top: 0 !important; padding-bottom: 2.5rem !important; }
  .ghx-globe { position: relative; inset: auto; width: 100%; height: 58svh; margin-top: -1rem; }
  .ghx-canvas { -webkit-mask-image: none; mask-image: none; }
  .ghx-halo { left: 50%; top: auto; bottom: 18%; width: 90vw; transform: translate(-50%, 0); }
  .ghx-bg::after { background: linear-gradient(180deg, rgba(5,6,8,.9) 0%, rgba(5,6,8,.72) 38%, rgba(5,6,8,.5) 60%, rgba(5,6,8,.96) 100%); }
  .ghx-rail, .ghx-hud, .ghx-scroll, .ghx-credit, .ghx-corner { display: none; }
  .ghx-kpis { grid-template-columns: repeat(3, 1fr); row-gap: .4rem; } .ghx-kpi { margin-right: 0; border-right: 0; }
  .ghx-title { font-size: clamp(2.3rem, 10vw, 3.2rem); }
  .ghx-bar { grid-template-columns: 110px 1fr 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .ghx-grain, .ghx-scroll i, .ghx-hud i { animation: none; }
  .ghx.ghx-live { height: auto; } .ghx.ghx-live .ghx-sticky { position: relative; top: auto; height: auto; min-height: calc(100svh - var(--navbar-height)); }
  .ghx-live .ghx-ch { position: relative; left: auto; top: auto; transform: none !important; opacity: 1; visibility: visible; filter: none; padding: 2rem 0; }
  .ghx-chapters { padding-top: 2rem; padding-bottom: 2rem; }
}

/* --- Morocco edition: The Pulse orange instead of Ghana gold ----------- */
.ghx-ma { --gold: #F26A21; --gold-soft: #FFB27A; --gh-red: #C1272D; --gh-green: #006233; }
.ghx-ma .ghx-flagline { background: linear-gradient(90deg, var(--gh-red) 0 44%, var(--gh-green) 44% 56%, var(--gh-red) 56%); }
.ghx-ma .ghx-title em .w { background: linear-gradient(100deg, #FFD3AE 0%, #FF9A4D 45%, #F26A21 100%); -webkit-background-clip: text; background-clip: text; }
.ghx-ma .ghx-bg::after { background: radial-gradient(120% 90% at 78% 45%, rgba(242,106,33,.12), transparent 55%), linear-gradient(90deg, rgba(5,6,8,.96) 0%, rgba(5,6,8,.84) 32%, rgba(5,6,8,.35) 62%, rgba(5,6,8,.55) 100%), linear-gradient(180deg, rgba(5,6,8,.65), transparent 28%, transparent 70%, rgba(5,6,8,.95)); }
.ghx-ma .ghx-halo { background: radial-gradient(closest-side, rgba(242,106,33,.2), rgba(242,106,33,.07) 45%, transparent 70%); }
.ghx-ma .ghx-chip, .ghx-ma .ghx-corner { border-color: rgba(242,106,33,.4); }
.ghx-ma .ghx-rail li.is-on::after { box-shadow: 0 0 0 4px rgba(242,106,33,.18), 0 0 14px rgba(242,106,33,.8); }
.ghx-ma .ghx-bar i b { background: linear-gradient(90deg, #F26A21, #FFB27A); box-shadow: 0 0 12px rgba(242,106,33,.5); }
.ghx-ma .ghm-dot { box-shadow: 0 0 0 3px rgba(242,106,33,.16), 0 0 14px rgba(242,106,33,.9); }
.ghx-ma .ghm-world .ghm-dot { box-shadow: none; }
.ghx-ma .ghx-intro path { filter: drop-shadow(0 0 10px rgba(242,106,33,.9)); }
.ghx-ma .ghx-title { font-size: clamp(2.4rem, 4.5vw, 4.1rem); }

/* search + live strip (Morocco hero) */
.ghx-search { display: flex; align-items: center; gap: .7rem; max-width: 540px; margin: 0 0 1rem; padding: .35rem .35rem .35rem 1.1rem; border-radius: 14px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); backdrop-filter: blur(14px); transition: border-color .25s, box-shadow .25s; }
.ghx-search:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(242,106,33,.16); }
.ghx-search i { color: rgba(245,245,245,.55); }
.ghx-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: #fff; font: 400 .95rem var(--font-body); }
.ghx-search input::placeholder { color: rgba(245,245,245,.45); }
.ghx-search button { border: 0; border-radius: 10px; padding: .65rem 1.1rem; background: rgba(255,255,255,.1); color: #fff; font: 600 .82rem var(--font-heading); cursor: pointer; transition: background .2s; }
.ghx-search button:hover { background: var(--gold); }
.ghx-live { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.1rem; margin-top: 1.1rem; font-size: .8rem; color: rgba(245,245,245,.62); }
.ghx-live b { font: 700 .66rem var(--font-heading); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); }
div.ghx-live a { color: rgba(245,245,245,.8); text-decoration: none; border-bottom: 1px dotted rgba(245,245,245,.3); }
div.ghx-live a:hover { color: var(--gold-soft); }
.ghx-live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); animation: ghxBlink 1.6s ease-in-out infinite; }
@media (max-height: 800px) and (min-width: 993px) { .ghx-ma .ghx-title { font-size: clamp(2.1rem, 3.7vw, 3.1rem); } .ghx-ma .ghx-kpis { margin-top: 1rem; } .ghx-search { margin-bottom: .7rem; } .ghx-live { margin-top: .7rem; } }

/* Host-page guards: the hero must be a plain block that starts right under the navbar. */
.ghx { display: block !important; }
.main-content:has(.ghx-ma) { padding-top: 0 !important; animation: none; }
.home-body:has(> .ghx-ma) { padding-top: 0 !important; }
.ghx-ma .ghx-scroll { left: 69%; }
