/* ——— CSS RESET ——— */
*,*::before,*::after{box-sizing:border-box}
html:focus-within{scroll-behavior:smooth}
body{margin:0;font-family:"Poppins",system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Noto Sans",sans-serif;line-height:1.6;color:#1a1a1a;background:#fff;-webkit-text-size-adjust:100%}
img{max-width:100%;display:block;height:auto}
a{color:inherit;text-decoration:none}
a:focus-visible,button:focus-visible{outline:2px solid #2563eb;outline-offset:2px;border-radius:8px}
:root{
  --primary:#0a7b45; --primary-600:#086c3c;
  --ink:#131516; --muted:#5f6368; --surface:#f6f7f8; --ring:#dfe3e6;
  --radius:14px; --shadow:0 10px 30px rgba(0,0,0,.07);
  --container:1100px;
}
@media (prefers-reduced-motion:reduce){
  *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}

/* ——— Utilities ——— */
.container{max-width:var(--container);margin-inline:auto;padding:0 16px}
.grid{display:grid;gap:24px}
.stack{display:flex;flex-direction:column;gap:10px}
.mt-3{margin-top:1rem}
.hide-sm{display:none}
@media (min-width:680px){.hide-sm{display:inline}}
.nowrap{white-space:nowrap}
.break{overflow-wrap:anywhere;word-break:break-word}
.no-scrollbar::-webkit-scrollbar{display:none}
.no-scrollbar{scrollbar-width:none}

/* Buttons / chips / cards */
.btn{
  display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border-radius:999px;border:1px solid transparent;
  background:var(--primary);color:#fff;font-weight:600;box-shadow:var(--shadow);cursor:pointer;
  transition:transform .15s ease, background .2s ease
}
.btn:hover{background:var(--primary-600);transform:translateY(-1px)}
.btn-lite{
  background:#fff;color:#1f2937;border:1px solid var(--ring);
  padding:8px 12px;border-radius:999px;font-weight:600;transition:box-shadow .15s,transform .15s
}
.btn-lite:hover{box-shadow:0 4px 16px rgba(0,0,0,.08);transform:translateY(-1px)}
.chip{display:inline-block;padding:6px 12px;border-radius:999px;border:1px solid var(--ring);background:#fff;font-size:.9rem}
.card{background:#fff;border:1px solid var(--ring);border-radius:var(--radius);box-shadow:var(--shadow)}

/* Sections / headings */
.section{padding:48px 0}
@media (min-width:900px){.section{padding:56px 0}}
.section h2{margin:0 0 6px;font-size:clamp(1.35rem,2.2vw,2rem);line-height:1.25}
.subtle{color:var(--muted)}

/* ——— Header / Nav ——— */
header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--ring);backdrop-filter:saturate(140%) blur(6px)}
.nav-wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;height:64px}
.brand{display:flex;align-items:center;gap:10px}
.brand img{width:44px;height:44px;border-radius:10px}
.brand b{font-size:1.05rem}
nav ul{display:flex;gap:14px;list-style:none;margin:0;padding:0}
nav a{padding:8px 10px;border-radius:10px;font-weight:600;color:#2b2f33}
nav a:hover,nav a:focus-visible{background:var(--surface)}
.hamburger{display:none;border:1px solid var(--ring);width:42px;height:42px;border-radius:10px;background:#fff}
.hamburger span{display:block;width:20px;height:2px;background:#333;margin:5px auto}
@media (max-width:980px){
  nav{position:fixed;inset:64px 0 auto 0;background:#fff;border-bottom:1px solid var(--ring);transform:translateY(-120%);transition:.3s ease}
  nav.open{transform:none}
  nav ul{flex-direction:column;padding:14px}
  .hamburger{display:inline-block}
}

/* ——— Hero ——— */
.hero{position:relative;min-height:58svh;display:grid;place-items:center;isolation:isolate;color:#fff}
.hero::before{content:"";position:absolute;inset:0;background:url("<?php echo $img('gpimage.jpg'); ?>") center/cover no-repeat;z-index:-2}
.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.52),rgba(0,0,0,.35));z-index:-1}
.hero .wrap{padding:40px 0;text-align:center}
.hero h1{font-size:clamp(1.4rem,3.2vw,2.4rem);margin:6px 0 12px}
.hero p{margin:0 0 18px;color:#e6f5ec}

/* ——— Ticker ——— */
.ticker{overflow:hidden;white-space:nowrap;border-block:1px solid var(--ring);background:#fff}
.ticker__track{display:inline-block;padding:10px 0;animation:ticker 30s linear infinite}
.ticker a{color:var(--primary);text-decoration:underline transparent;transition:text-decoration-color .2s}
.ticker a:hover{text-decoration-color:var(--primary)}
@keyframes ticker{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* ——— Two-column helper (general) ——— */
.cols{display:grid;gap:28px;grid-template-columns:1fr;align-items:start}
@media (min-width:900px){.cols{grid-template-columns:1fr 1fr}}
.blockquote{border-left:4px solid {--primary};padding:14px 16px;background:#f7fbf8;border-radius:10px}

/* ====================================================================== */
/* ========================  ABOUT (Single-column)  ===================== */
/* ====================================================================== */

/* Force About wrapper single-column (no empty right side) */
#about .cols{grid-template-columns:1fr !important}

/* Auto-fit grid: expands/shrinks with content count */
.about-cards{
  display:grid;gap:18px;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
}

/* Card */
.about-card{
  background:#fff;border:1px solid var(--ring);border-radius:14px;box-shadow:var(--shadow);
  overflow:hidden;display:flex;flex-direction:column
}
.about-thumb{aspect-ratio:16/9;background:#eef3f6;border-bottom:1px solid var(--ring);overflow:hidden}
.about-thumb img{width:100%;height:100%;object-fit:cover}
.about-content{padding:14px 14px 10px}
.about-title{margin:0 0 8px;font-weight:800;font-size:1rem;color:#0f1720}
.about-body{--clamp:6;position:relative;color:#2a3138}
.about-body.clamp{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:var(--clamp);overflow:hidden}
.about-body.clamp::after{
  content:"";position:absolute;inset:auto 0 0 0;height:48px;
  background:linear-gradient(to bottom, rgba(255,255,255,0), #fff 60%)
}
.about-actions{display:flex;justify-content:flex-end;padding:0 12px 12px}
.about-btn{
  display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;
  border:1px solid var(--ring);background:#fff;font-weight:600;cursor:pointer;
  transition:box-shadow .15s ease, transform .15s ease
}
.about-btn:hover{box-shadow:0 4px 16px rgba(0,0,0,.08);transform:translateY(-1px)}
.about-btn-primary{background:var(--primary);color:#fff;border-color:transparent}
.about-hidden{display:none}
.about-more{display:flex;justify-content:center;margin:14px 0 0}

/* ====================================================================== */
/* =====================  EVENTS (Cards + Gallery)  ===================== */
/* ====================================================================== */

.events-cards{
  display:grid;gap:16px;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); /* mobile-first auto-fit */
}

.event-card{
  display:flex;flex-direction:column;background:#fff;border:1px solid var(--ring);
  border-radius:14px;box-shadow:var(--shadow);overflow:hidden
}

/* Header / meta */
.event-header{padding:12px 14px 0}
.event-title{margin:0 0 6px;font-size:1.02rem;line-height:1.3}
.event-meta{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}

/* Horizontal gallery (never breaks layout) */
.event-gallery{
  display:grid;grid-auto-flow:column;gap:10px;overflow-x:auto;overscroll-behavior-x:contain;
  -webkit-overflow-scrolling:touch;scroll-snap-type:x mandatory;
  grid-auto-columns:clamp(160px,45vw,220px);
  padding:10px 14px 12px;border-block:1px solid var(--ring);background:#fff
}
.event-gallery::-webkit-scrollbar{height:8px}
.event-gallery::-webkit-scrollbar-thumb{background:#cfd6dc;border-radius:8px}
@media (max-width:399px){.event-gallery{grid-auto-columns:78vw}}

.event-thumb{
  scroll-snap-align:start;aspect-ratio:4/3;flex:0 0 auto;
  border:1px solid var(--ring);border-radius:12px;overflow:hidden;background:#f1f5f8
}
.event-thumb img{width:100%;height:100%;object-fit:cover;display:block}

/* Body with optional clamp */
.event-body{--clamp:6;position:relative;color:#2a3138;padding:12px 14px 0}
.event-body.clamp{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:var(--clamp);overflow:hidden}
.event-body.clamp::after{
  content:"";position:absolute;inset:auto 0 0 0;height:46px;
  background:linear-gradient(to bottom, rgba(255,255,255,0), #fff 60%)
}
.event-actions{display:flex;justify-content:flex-end;padding:8px 14px 14px}

/* ====================================================================== */
/* ============================  ORG / TEAM  ============================ */
/* ====================================================================== */

.org{display:grid;gap:18px}
.person{display:flex;align-items:center;gap:12px;border:1px solid var(--ring);border-radius:14px;padding:10px;background:#fff;box-shadow:var(--shadow)}
.person .avatar{width:64px;height:64px;border-radius:50%;overflow:hidden;flex:0 0 auto}
.person .title{margin:0;font-weight:800}
.person .role{margin:2px 0 0;font-size:.9rem;color:var(--muted)}
@media (min-width:720px){.person .avatar{width:84px;height:84px}}

.cards{display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.team{padding:18px;text-align:center}
.team img{width:160px;height:160px;object-fit:cover;border-radius:18px;margin:0 auto 12px}
.team h3{margin:8px 0 2px;font-size:1.05rem}
.team p{margin:0;color:var(--muted)}

/* KPIs */
.kpi{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
@media (min-width:820px){.kpi{grid-template-columns:repeat(4,1fr)}}
.kpi .item{border:1px solid var(--ring);border-radius:14px;padding:16px;text-align:center;background:#fff}
.kpi .item b{display:block;font-size:1.6rem}

/* Gallery (generic) */
.gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:6px}
@media (min-width:900px){.gallery{grid-template-columns:repeat(4,1fr)}}
.thumb{aspect-ratio:4/3;border-radius:8px;overflow:hidden;border:1px solid var(--ring)}
.thumb img{width:100%;height:100%;object-fit:cover}

/* CTA strip */
.strip{background:var(--primary);color:#fff;border-block:1px solid var(--primary-600)}
.strip h3{margin:.2rem 0 .6rem;font-size:clamp(1.2rem,2.3vw,1.8rem)}

/* Footer */
footer{background:#0f1720;color:#d9e1e6}
footer a{color:#d9e1e6;text-decoration:underline transparent}
footer a:hover{text-decoration-color:#d9e1e6}
.footer-grid{display:grid;gap:24px;grid-template-columns:repeat(1,1fr)}
@media (min-width:840px){.footer-grid{grid-template-columns:repeat(4,1fr)}}
.copyright{border-top:1px solid rgba(255,255,255,.1);padding:16px 0;margin-top:18px;color:#b8c0c5}

/* ==== Operator small card (responsive) ==== */
.op-section{padding-top:28px;padding-bottom:0}
.op-card{
  display:grid;grid-template-columns:64px 1fr;gap:14px;align-items:center;
  padding:12px;border:1px solid var(--ring);border-radius:14px;box-shadow:var(--shadow);background:#fff
}
.op-media{width:64px;height:64px;border-radius:50%;overflow:hidden;border:1px solid var(--ring)}
.op-media img{width:100%;height:100%;object-fit:cover}
.op-content{display:flex;flex-direction:column;gap:8px}
.op-eyebrow{font-size:.8rem;letter-spacing:.02em;color:var(--muted)}
.op-title{margin:0;font-size:1.05rem;line-height:1.25}
.op-actions{display:flex;flex-wrap:wrap;gap:8px}
@media (min-width:720px){
  .op-card{grid-template-columns:84px 1fr;padding:14px 16px}
  .op-media{width:84px;height:84px}
}
