
:root{
  --bg:#f7fafc;
  --surface:#ffffff;
  --text:#0f172a;
  --muted:#64748b;
  --green:#059669;
  --green-dark:#065f46;
  --red:#dc2626;
  --dark:#031923;
  --border:#e2e8f0;
  --shadow:0 20px 50px rgba(15,23,42,.08);
  --radius:28px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--text);
  background:linear-gradient(180deg,#f8fafc 0%,#ffffff 50%,#f0fdf4 100%);
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
a{text-decoration:none}
img{display:block;max-width:100%;height:auto}
.container{width:min(1220px,calc(100% - 32px));margin:0 auto}

.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(255,255,255,.96);
  border-bottom:1px solid rgba(15,23,42,.06);
  backdrop-filter:blur(14px);
  box-shadow:0 10px 30px rgba(15,23,42,.05);
}
.header-wrap{
  min-height:82px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.site-brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
  color:var(--text);
}
.site-brand img{
  width:58px;height:58px;min-width:58px;
  border-radius:50%;
  object-fit:contain;
  background:#fff;
  padding:5px;
  box-shadow:0 8px 24px rgba(0,0,0,.08);
}
.site-brand-text h1{
  margin:0;
  font-size:18px;
  line-height:1.2;
  font-weight:800;
}
.site-brand-text p{
  margin:4px 0 0;
  color:var(--muted);
  font-size:12px;
}
.main-nav{
  display:flex;
  flex-wrap:wrap;
  gap:4px;
}
.main-nav a{
  position:relative;
  padding:10px 14px;
  border-radius:999px;
  color:#334155;
  font-size:14px;
  font-weight:700;
  transition:.25s ease;
}
.main-nav a:hover,
.main-nav a.is-active{
  background:#ecfdf5;
  color:var(--green-dark);
}
.mobile-toggle{
  display:none;
  border:1px solid var(--border);
  background:#fff;
  border-radius:14px;
  padding:10px 12px;
}
.mobile-panel{
  display:none;
  padding:0 16px 16px;
}
.mobile-panel a{
  display:block;
  margin-top:8px;
  padding:12px 14px;
  border-radius:16px;
  background:#fff;
  border:1px solid var(--border);
  color:#334155;
  font-weight:700;
}

.hero{
  position:relative;
  min-height:820px;
  overflow:hidden;
  background:#04161e;
}
.hero-media,
.hero-media video,
.hero-poster,
.hero-overlay{
  position:absolute;
  inset:0;
}
.hero-media video{
  width:100%;
  height:100%;
  object-fit:cover;
}
.hero-poster{
  background-size:cover;
  background-position:center;
}
.hero-fallback{
  background:linear-gradient(135deg,#065f46,#083344);
}
.hero-overlay{
  background:linear-gradient(90deg, rgba(2,6,23,.78) 0%, rgba(2,6,23,.48) 45%, rgba(2,6,23,.24) 100%);
}
.hero-content{
  position:relative;
  z-index:2;
  min-height:820px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding-top:132px;
  padding-bottom:64px;
}
.hero-top{
  display:flex;
  align-items:center;
}
.hero-badge-wrap{
  display:flex;
  align-items:center;
  gap:18px;
  max-width:880px;
}
.hero-logo{
  width:104px;height:104px;min-width:104px;
  border-radius:50%;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(255,255,255,.18);
  padding:8px;
  box-shadow:0 14px 40px rgba(0,0,0,.18);
}
.hero-logo img{width:100%;height:100%;object-fit:contain}
.hero-org h2{
  margin:0;
  color:#fff;
  font-size:clamp(28px,3vw,54px);
  line-height:1.08;
  font-weight:800;
  letter-spacing:-.02em;
  text-wrap:balance;
}
.hero-main{
  max-width:940px;
  margin-top:26px;
}
.hero-main h3{
  margin:0;
  color:#fff;
  font-size:clamp(36px,4.8vw,74px);
  line-height:1.03;
  font-weight:800;
  letter-spacing:-.03em;
  text-wrap:balance;
}
.hero-main p{
  max-width:820px;
  margin:18px 0 0;
  color:#e5eef6;
  font-size:clamp(16px,1.25vw,21px);
  line-height:1.8;
}
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:28px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:54px;
  padding:14px 26px;
  border-radius:999px;
  font-weight:800;
  border:none;
  cursor:pointer;
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn:hover{transform:translateY(-2px)}
.btn-solid{
  background:var(--green);
  color:#fff;
  box-shadow:0 14px 30px rgba(5,150,105,.24);
}
.btn-ghost{
  background:rgba(255,255,255,.08);
  color:#fff;
  border:1px solid rgba(255,255,255,.6);
}
.btn-outline{
  background:#fff;
  color:var(--green-dark);
  border:1px solid #86efac;
}
.btn-light{
  background:#fff;
  color:#0f172a;
}
.hero-stats{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  margin-top:38px;
}
.stat-card{
  min-width:180px;
  padding:22px 20px;
  border-radius:22px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.14);
  backdrop-filter:blur(8px);
  box-shadow:0 18px 40px rgba(2,6,23,.12);
}
.stat-card strong{
  display:block;
  color:#fff;
  font-size:40px;
  line-height:1;
}
.stat-card span{
  display:block;
  margin-top:10px;
  color:#e2e8f0;
  font-size:14px;
}

.section,
.leaders-section{
  padding:64px 0;
}
.section-label{
  display:block;
  width:max-content;
  margin:0 auto 24px;
  padding:10px 22px;
  border-radius:999px;
  background:var(--red);
  color:#fff;
  font-size:13px;
  font-weight:800;
  letter-spacing:.18em;
}
.section-head{
  margin-bottom:26px;
}
.section-head small{
  display:inline-block;
  margin-bottom:8px;
  color:var(--green-dark);
  font-weight:800;
  letter-spacing:.24em;
}
.section-head h2{
  margin:0;
  font-size:clamp(30px,2.6vw,44px);
  line-height:1.15;
}
.section-head p{
  max-width:860px;
  margin:12px 0 0;
  color:var(--muted);
  line-height:1.85;
  font-size:16px;
}

.leaders-grid,
.media-grid{
  display:grid;
  gap:22px;
  grid-template-columns:repeat(3,1fr);
}
.leader-card,
.media-card,
.content-card,
.committee-card,
.gallery-page-card{
  background:var(--surface);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.leader-card{
  padding:28px;
  text-align:center;
  transition:transform .25s ease, box-shadow .25s ease;
}
.leader-card:hover,
.media-card:hover,
.gallery-page-card:hover,
.committee-card:hover{
  transform:translateY(-4px);
  box-shadow:0 26px 58px rgba(15,23,42,.12);
}
.leader-photo{
  width:150px;height:150px;
  margin:0 auto;
  border-radius:50%;
  padding:8px;
  background:linear-gradient(135deg,#fee2e2,#fff,#d1fae5);
  border:6px solid #d1fae5;
  overflow:hidden;
}
.leader-photo img,
.committee-photo img{
  width:100%;height:100%;object-fit:cover;border-radius:50%;
}
.leader-photo span,
.committee-photo span{
  width:100%;height:100%;
  display:flex;align-items:center;justify-content:center;
  border-radius:50%;
  background:linear-gradient(135deg,var(--green),var(--green-dark));
  color:#fff;font-size:44px;font-weight:900;
}
.leader-chip{
  display:inline-block;
  margin-top:18px;
  padding:8px 16px;
  border-radius:999px;
  background:#d1fae5;
  color:#065f46;
  font-size:12px;
  font-weight:900;
  letter-spacing:.14em;
}
.leader-card h3{
  margin:16px 0 0;
  font-size:28px;
  line-height:1.4;
}
.leader-role{
  margin:8px 0 0;
  color:var(--red);
  font-size:20px;
  font-weight:800;
}
.leader-org{
  margin:10px 0 0;
  color:var(--muted);
  line-height:1.8;
}

.about-grid,
.membership-grid{
  display:grid;
  gap:24px;
  grid-template-columns:1fr 1fr;
}
.content-card{
  padding:32px;
}
.content-card h3{
  margin:0 0 14px;
  font-size:24px;
}
.content-card p{
  color:var(--muted);
  line-height:1.85;
}
.content-card-green{
  background:linear-gradient(135deg,var(--green),var(--green-dark));
  color:#fff;
}
.content-card-green h3,
.content-card-green p,
.content-card-green li{
  color:#fff;
}
.feature-list{
  margin:0;
  padding-left:20px;
}
.feature-list li{
  margin-bottom:14px;
  line-height:1.8;
}

.policy-list{
  display:grid;
  gap:18px;
}
.policy-item{
  display:flex;
  gap:18px;
  align-items:flex-start;
  background:#fff;
  border-radius:24px;
  box-shadow:var(--shadow);
  padding:24px;
}
.policy-number{
  width:52px;height:52px;min-width:52px;
  display:flex;align-items:center;justify-content:center;
  border-radius:50%;
  background:#d1fae5;
  color:var(--green-dark);
  font-weight:900;
  font-size:20px;
}
.policy-item p{
  margin:0;
  color:#334155;
  line-height:1.85;
}

.cta-banner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:32px;
  border-radius:30px;
  background:linear-gradient(135deg,#0f172a,#065f46);
  color:#fff;
  box-shadow:0 26px 60px rgba(2,6,23,.16);
}
.cta-banner small{
  display:block;
  margin-bottom:8px;
  color:#bbf7d0;
  font-weight:800;
  letter-spacing:.2em;
}
.cta-banner h3{
  margin:0;
  font-size:28px;
  line-height:1.35;
}

.content-card-dark{
  background:#0f172a;
}
.content-card-dark h3,
.content-card-dark p,
.content-card-dark strong{
  color:#fff;
}
.content-card-dark hr{
  border-color:rgba(255,255,255,.15);
  margin:18px 0;
}
.form-grid,
.check-grid{
  display:grid;
  gap:14px;
}
.form-grid{grid-template-columns:1fr 1fr}
.form-grid .wide{grid-column:1/-1}
.form-grid input,
.check-grid label,
textarea{
  font:inherit;
}
input[type="text"],
textarea{
  width:100%;
  padding:14px 16px;
  border:1px solid #cbd5e1;
  border-radius:18px;
  background:#fff;
  transition:border-color .2s ease, box-shadow .2s ease;
}
input[type="text"]:focus,
textarea:focus{
  outline:none;
  border-color:#10b981;
  box-shadow:0 0 0 4px rgba(16,185,129,.12);
}
.check-grid{
  margin:18px 0;
  grid-template-columns:1fr 1fr;
}
.check-grid label{
  display:flex;
  align-items:center;
  gap:10px;
  padding:14px;
  border:1px solid var(--border);
  border-radius:18px;
  color:#334155;
}
.form-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:22px;
}
.form-status{
  display:none;
  margin-bottom:14px;
  padding:14px 16px;
  border-radius:18px;
  font-size:14px;
  line-height:1.7;
}
.form-status.is-error{
  display:block;
  background:#fef2f2;
  color:#991b1b;
  border:1px solid #fecaca;
}
.form-status.is-success{
  display:block;
  background:#ecfdf5;
  color:#065f46;
  border:1px solid #a7f3d0;
}

.media-card{
  padding:28px;
}
.media-card h3{
  margin:0 0 10px;
  font-size:24px;
}
.media-card p{
  margin:0;
  color:var(--muted);
  line-height:1.8;
}

.committee-grid,
.gallery-grid-page{
  display:grid;
  gap:22px;
  grid-template-columns:repeat(3,1fr);
  margin-bottom:26px;
}
.committee-card{
  padding:22px;
  text-align:center;
}
.committee-photo{
  width:120px;height:120px;
  margin:0 auto 16px;
  border-radius:50%;
  overflow:hidden;
  border:5px solid #d1fae5;
  background:#f8fafc;
}
.committee-serial{
  display:inline-block;
  margin-bottom:10px;
  padding:6px 12px;
  border-radius:999px;
  background:#ecfdf5;
  color:#065f46;
  font-size:12px;
  font-weight:800;
}
.committee-card h3{
  margin:0;
  font-size:22px;
  line-height:1.5;
}
.committee-card p{
  color:var(--muted);
  margin:8px 0 0;
}

.table-wrap{overflow:auto}
table{
  width:100%;
  min-width:720px;
  border-collapse:collapse;
}
th,td{
  padding:16px;
  border-bottom:1px solid var(--border);
  text-align:left;
}
th{
  background:#f8fafc;
  font-weight:800;
}

.gallery-page-card{
  overflow:hidden;
}
.gallery-page-image{
  width:100%;
  height:260px;
  object-fit:cover;
  transition:transform .4s ease;
}
.gallery-page-card:hover .gallery-page-image{
  transform:scale(1.04);
}
.gallery-page-card h3{
  margin:18px 18px 8px;
  font-size:22px;
}
.gallery-page-card p{
  margin:0 18px 18px;
  color:var(--muted);
  line-height:1.8;
}
.gallery-page-placeholder{
  height:260px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#d1fae5,#fff,#fee2e2);
  color:var(--green-dark);
  font-size:30px;
  font-weight:900;
}
.lightbox{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(2,6,23,.9);
  z-index:9999;
}
.lightbox.active{display:flex}
.lightbox-inner{
  max-width:min(1100px,100%);
  max-height:90vh;
  text-align:center;
}
.lightbox-inner img{
  max-width:100%;
  max-height:78vh;
  border-radius:24px;
}
.lightbox-title{
  margin-top:16px;
  color:#fff;
  font-size:18px;
}
.lightbox-close{
  position:absolute;
  top:18px;
  right:22px;
  width:46px;height:46px;
  border:none;
  border-radius:50%;
  background:#fff;
  color:#0f172a;
  font-size:30px;
  cursor:pointer;
}

.site-footer{
  margin-top:40px;
  padding:44px 0;
  background:#020617;
  color:#fff;
}
.footer-grid{
  display:grid;
  gap:28px;
  grid-template-columns:1.2fr .8fr .9fr;
}
.footer-brand{
  display:flex;
  gap:12px;
  align-items:center;
}
.footer-brand img{
  width:56px;height:56px;
  border-radius:50%;
  background:#fff;
  padding:5px;
  object-fit:contain;
}
.footer-brand h3{
  margin:0;
  font-size:18px;
}
.footer-brand p,
.footer-desc,
.footer-links a,
.site-footer p{
  color:#cbd5e1;
}
.footer-links{
  display:grid;
  gap:8px;
}
.footer-credit{
  display:inline-block;
  margin-top:18px;
  padding:14px 18px;
  border-radius:18px;
  background:rgba(255,255,255,.06);
  color:#86efac;
  font-weight:800;
}

@media (max-width: 1100px){
  .committee-grid,
  .gallery-grid-page{grid-template-columns:repeat(2,1fr)}
}
@media (max-width: 980px){
  body.admin-bar .site-header{top:46px}
  .main-nav{display:none}
  .mobile-toggle{display:block}
  .mobile-panel.open{display:block}
  .hero,
  .hero-content{min-height:700px}
  .hero-content{padding-top:112px;padding-bottom:44px}
  .hero-badge-wrap{align-items:flex-start}
  .hero-logo{width:82px;height:82px;min-width:82px}
  .hero-org h2{font-size:34px}
  .hero-main h3{font-size:44px}
  .about-grid,
  .membership-grid,
  .leaders-grid,
  .media-grid,
  .footer-grid,
  .committee-grid,
  .gallery-grid-page,
  .form-grid,
  .check-grid{
    grid-template-columns:1fr;
  }
  .cta-banner{
    flex-direction:column;
    align-items:flex-start;
  }
}
@media (max-width: 640px){
  .container{width:min(100% - 24px, 1220px)}
  .site-brand{max-width:calc(100% - 64px)}
  .site-brand-text h1{font-size:15px}
  .hero,
  .hero-content{min-height:640px}
  .hero-content{padding-top:96px}
  .hero-logo{width:70px;height:70px;min-width:70px}
  .hero-org h2{font-size:27px}
  .hero-main h3{font-size:34px}
  .hero-main p{font-size:15px}
  .hero-actions .btn{width:100%}
  .stat-card{min-width:150px}
  .cta-banner h3{font-size:22px}
  .leader-card h3{font-size:24px}
}


/* v8 footer credit center fix only */
.footer-credit-row{
  display:flex;
  justify-content:center;
  padding-top:18px;
}
.footer-credit{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  margin:0 auto;
  min-width:320px;
  max-width:560px;
}
@media (max-width:640px){
  .footer-credit{
    min-width:unset;
    width:100%;
  }
}


/* v11 remove footer credit option completely */
.footer-credit-row,
.footer-credit{
  display:none !important;
}


/* v13 committee direct add only */
.committee-grid{
  display:grid;
  gap:22px;
  grid-template-columns:repeat(3,1fr);
  margin-bottom:26px;
}
.committee-card{
  background:#ffffff;
  border-radius:28px;
  box-shadow:0 20px 50px rgba(15,23,42,.08);
  padding:22px;
  text-align:center;
}
.committee-photo{
  width:120px;
  height:120px;
  margin:0 auto 16px;
  border-radius:50%;
  overflow:hidden;
  border:5px solid #d1fae5;
  background:#f8fafc;
}
.committee-photo span{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:linear-gradient(135deg,#059669,#065f46);
  color:#fff;
  font-size:44px;
  font-weight:900;
}
.committee-serial{
  display:inline-block;
  margin-bottom:10px;
  padding:6px 12px;
  border-radius:999px;
  background:#ecfdf5;
  color:#065f46;
  font-size:12px;
  font-weight:800;
}
.committee-card h3{
  margin:0;
  font-size:22px;
  line-height:1.5;
}
.committee-card p{
  color:#64748b;
  margin:8px 0 0;
}
@media (max-width:1100px){
  .committee-grid{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:980px){
  .committee-grid{grid-template-columns:1fr;}
}


/* v18 ultimate clean leaders grid fix */
.leaders-grid{
  display:grid;
  gap:22px;
  grid-template-columns:repeat(4,1fr) !important;
}
@media (max-width:1200px){
  .leaders-grid{
    grid-template-columns:repeat(2,1fr) !important;
  }
}
@media (max-width:640px){
  .leaders-grid{
    grid-template-columns:1fr !important;
  }
}


/* v27 remove gallery items stat card only */
.hero-stats .stat-card:last-child span{
  display:none;
}
.hero-stats .stat-card:last-child strong:empty,
.hero-stats .stat-card:last-child:has(span:empty){
  display:none !important;
}


/* v28 remove remaining extra hero stat safely */
.hero-stats .stat-card:nth-child(n+3){
  display:none !important;
}


/* v29 remove 25-member committee hero stat only */
.hero-stats:empty{
  display:none !important;
}
