/* GFFI home hero photo slideshow (2026-11-19). Remove this file + the .hero-slides markup to roll back. */
.hero.has-slides{isolation:isolate}
.hero-slides{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none;background:#06100c}
.hero-slides .hs{position:absolute;inset:0;opacity:0;transition:opacity 1.4s ease}
.hero-slides .hs img{width:100%;height:100%;object-fit:cover;object-position:center;transform:scale(1.08);transition:transform 7.5s ease-out;filter:saturate(1.05) contrast(1.04)}
.hero-slides .hs.on{opacity:1}
.hero-slides .hs.on img{transform:scale(1)}
/* brand-tinted overlay: deep ink on the text side, lime/amber glow, photo visible on the right */
.hero-slides::after{content:"";position:absolute;inset:0;
  background:
   radial-gradient(900px 520px at 88% 8%,rgba(155,225,93,.20),transparent 62%),
   radial-gradient(700px 420px at 0% 100%,rgba(246,166,42,.16),transparent 60%),
   linear-gradient(90deg,rgba(6,16,12,.94) 0%,rgba(6,16,12,.82) 38%,rgba(6,16,12,.55) 72%,rgba(6,16,12,.62) 100%),
   linear-gradient(180deg,rgba(6,16,12,.35) 0%,rgba(6,16,12,0) 30%,rgba(6,16,12,.75) 100%)}
.hero.has-slides #field{z-index:0;opacity:.32}
.hero.has-slides .hero-grid,.hero.has-slides .stats{z-index:1}
.hero.has-slides h1,.hero.has-slides .lead,.hero.has-slides .kicker{text-shadow:0 2px 18px rgba(0,0,0,.55)}
.hero-dots{position:absolute;z-index:2;left:50%;bottom:14px;transform:translateX(-50%);display:flex;gap:8px}
.hero-dots i{display:block;width:22px;height:3px;border-radius:3px;background:rgba(244,242,234,.32);transition:background .4s,width .4s}
.hero-dots i.on{width:34px;background:#9be15d}
@media (max-width:760px){
  .hero-slides{bottom:auto;height:min(100%,880px)}
  .hero-slides .hs img{object-position:center 30%}
  .hero-slides::after{background:
    radial-gradient(500px 360px at 90% 0%,rgba(155,225,93,.18),transparent 62%),
    linear-gradient(180deg,rgba(6,16,12,.60) 0%,rgba(6,16,12,.70) 30%,rgba(6,16,12,.86) 68%,#06100c 100%)}
  .hero-dots{top:min(calc(100% - 22px),858px);bottom:auto}
}
@media (prefers-reduced-motion:reduce){
  .hero-slides .hs,.hero-slides .hs img{transition:none!important;transform:none!important}
  .hero-dots{display:none}
}
/* RTL (Arabic pages): text sits on the right, so mirror the overlay */
[dir=rtl] .hero-slides::after{background:
   radial-gradient(900px 520px at 12% 8%,rgba(155,225,93,.20),transparent 62%),
   radial-gradient(700px 420px at 100% 100%,rgba(246,166,42,.16),transparent 60%),
   linear-gradient(270deg,rgba(6,16,12,.94) 0%,rgba(6,16,12,.82) 38%,rgba(6,16,12,.55) 72%,rgba(6,16,12,.62) 100%),
   linear-gradient(180deg,rgba(6,16,12,.35) 0%,rgba(6,16,12,0) 30%,rgba(6,16,12,.75) 100%)}
@media (max-width:760px){[dir=rtl] .hero-slides::after{background:
    radial-gradient(500px 360px at 10% 0%,rgba(155,225,93,.18),transparent 62%),
    linear-gradient(180deg,rgba(6,16,12,.60) 0%,rgba(6,16,12,.70) 30%,rgba(6,16,12,.86) 68%,#06100c 100%)}}
