/*
Theme Name:  IFAIN
Theme URI:   https://ifain.org
Author:      IFAIN
Author URI:  https://ifain.org
Description: Full institutional theme for IFAIN — International Foundation Against Infectious Disease in Nigeria. All inner pages included. Dashboard-editable content. Blue #30318B / Red #B73F41.
Version:     5.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License:     GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ifain
Tags:        full-width-template, custom-logo, custom-menu
*/

/* ══════════════════════════════════════
   IFAIN OFFICIAL BRAND PALETTE
   Blue  #30318B  — primary / institutional
   Red   #B73F41  — accent / highlight
   White #FFFFFF  — backgrounds
   Black #111111  — text
══════════════════════════════════════ */
:root {
  /* Core brand */
  --blue:       #30318B;
  --blue-dark:  #22236A;
  --blue-mid:   #3D3FA8;
  --blue-lite:  #E8E8F5;
  --blue-pale:  #F2F2FA;
  --red:        #B73F41;
  --red-dark:   #922F31;
  --red-lite:   #D45557;
  --red-pale:   #FBF0F0;

  /* Neutrals */
  --black:      #111111;
  --ink:        #1A1A2E;
  --text:       #1C1C3A;
  --text-mid:   #454565;
  --text-lite:  #7878A0;
  --white:      #FFFFFF;
  --offwhite:   #F8F8FC;
  --smoke:      #F0F0F7;
  --mist:       #E2E2EE;
  --border:     rgba(48,49,139,0.12);

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(48,49,139,0.08);
  --shadow-md:  0 8px 32px rgba(48,49,139,0.12);
  --shadow-lg:  0 20px 60px rgba(48,49,139,0.16);
  --shadow-red: 0 8px 24px rgba(183,63,65,0.25);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; }
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.15; }
h1 { font-size: clamp(1.8rem, 3.5vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.9rem); font-weight: 600; }
h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p  { line-height: 1.75; color: var(--text-mid); }

/* ── UTILITIES ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem); }
.section-pad { padding: clamp(4rem, 8vw, 7rem) 0; }

.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1rem;
}
.tag::before { content: ''; width: 22px; height: 2px; background: var(--red); border-radius: 2px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.85rem 1.75rem; border-radius: 5px; transition: all 0.22s;
}
.btn-blue  { background: var(--blue); color: var(--white); }
.btn-blue:hover  { background: var(--blue-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-red   { background: var(--red); color: var(--white); }
.btn-red:hover   { background: var(--red-dark); transform: translateY(-1px); box-shadow: var(--shadow-red); }
.btn-outline { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.4); }
.btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.7); }

/* ── REVEAL ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.4s; }

/* ══════════════════════════════════════
   NAVIGATION
══════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 70px;
  background: var(--white);
  border-bottom: 3px solid var(--red);
  border-top: 4px solid var(--blue);
  display: flex; align-items: center;
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 4px 24px rgba(48,49,139,0.12); }

.nav-inner {
  width: 100%; max-width: 1280px; margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}

/* Logo area */
.nav-logo { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-logo-img { height: 42px; width: auto; display: block; background: transparent; min-width: 20px; }
.nav-logo-img[src=""] { display: none; }

/* Logo wordmark fallback */
.nav-logo-wordmark { display: flex; flex-direction: column; line-height: 1; }
.nav-logo-wordmark strong {
  font-family: 'Playfair Display', serif; font-size: 1.45rem;
  font-weight: 700; color: var(--white); letter-spacing: 0.04em;
}
.nav-logo-wordmark span {
  font-size: 0.58rem; color: rgba(255,255,255,0.55);
  letter-spacing: 0.14em; text-transform: uppercase; margin-top: 3px;
}

/* Nav divider */
.nav-divider {
  width: 1px; height: 28px; background: var(--mist); flex-shrink: 0;
}
.nav-tagline {
  font-size: 0.68rem; color: var(--text-lite); letter-spacing: 0.04em;
  line-height: 1.4; max-width: 220px;
}

/* Nav links */
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links > li > a {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.03em;
  color: var(--blue); padding: 0.45rem 0.8rem; border-radius: 4px;
  transition: all 0.2s; display: block;
}
.nav-links > li > a:hover { color: var(--blue-dark); background: var(--blue-pale); }
.nav-links .current > a { color: var(--blue-dark); font-weight: 700; }

/* Dropdown */
.nav-links .has-drop { position: relative; }
.nav-links .has-drop > a::after { content: ' ▾'; font-size: 0.6rem; }
.nav-links .sub-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 210px;
  background: var(--white); border: 1px solid var(--mist);
  border-top: 2px solid var(--red); border-radius: 0 0 8px 8px;
  padding: 0.4rem; list-style: none;
  opacity: 0; pointer-events: none; transform: translateY(-6px);
  transition: all 0.2s; box-shadow: var(--shadow-md); z-index: 100;
}
.nav-links .has-drop:hover .sub-menu { opacity: 1; pointer-events: all; transform: none; }
.nav-links .sub-menu a { display: block; padding: 0.55rem 0.9rem !important; font-size: 0.78rem !important; border-radius: 4px; color: var(--blue) !important; }
.nav-links .sub-menu a:hover { background: var(--blue-pale) !important; }

.nav-cta {
  background: var(--red) !important; color: var(--white) !important;
  padding: 0.5rem 1.2rem !important; border-radius: 4px; font-weight: 700 !important;
  transition: all 0.2s !important; white-space: nowrap;
}
.nav-cta:hover { background: var(--red-dark) !important; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(183,63,65,0.3) !important; }

/* Mobile toggle */
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 6px; background: transparent; }
.nav-toggle-bar { width: 22px; height: 2px; background: var(--blue); border-radius: 2px; transition: all 0.3s; display: block; }
.nav-toggle.open .nav-toggle-bar:nth-child(1) { transform: rotate(45deg) translateY(7px); }
.nav-toggle.open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.open .nav-toggle-bar:nth-child(3) { transform: rotate(-45deg) translateY(-7px); }

/* Mobile menu */
.mobile-nav {
  display: none; position: fixed; top: 70px; left: 0; right: 0;
  background: var(--white); border-top: 1px solid var(--mist);
  z-index: 999; padding: 1rem; max-height: calc(100vh - 70px); overflow-y: auto;
  box-shadow: 0 8px 32px rgba(48,49,139,0.12);
}
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.mobile-nav ul a { display: block; padding: 0.8rem 1rem; color: var(--blue); font-size: 0.95rem; border-radius: 6px; font-weight: 500; }
.mobile-nav ul a:hover { background: var(--blue-pale); color: var(--blue-dark); }
.mobile-nav .sub-menu { padding-left: 1rem; }
.mobile-nav .sub-menu a { font-size: 0.85rem; opacity: 0.8; }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: var(--blue);
  padding-top: 70px;
  position: relative; overflow: hidden;
  display: flex; align-items: center;
}

/* Subtle geometric background */
.hero-geo {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
}
.hero-geo svg { width: 100%; height: 100%; }

.hero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 1280px; margin: 0 auto;
  padding: clamp(3rem,6vw,5rem) clamp(1.25rem,4vw,3rem);
  display: grid; grid-template-columns: 1fr 400px;
  gap: 4rem; align-items: center;
}

/* Hero left */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px; padding: 0.4rem 1.1rem;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.9); margin-bottom: 1.75rem; width: fit-content;
  animation: fadeUp 0.8s both;
}
.hero-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--red);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.4; transform:scale(0.75); } }

.hero h1 { color: var(--white); margin-bottom: 1.5rem; animation: fadeUp 0.8s 0.1s both; }
.hero h1 em { font-style: normal; color: var(--white); }

.hero-sub {
  font-size: 1.02rem; color: rgba(255,255,255,0.65); max-width: 520px;
  line-height: 1.8; margin-bottom: 2.5rem;
  animation: fadeUp 0.8s 0.2s both;
}

.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  animation: fadeUp 0.8s 0.3s both;
}

.hero-stats {
  display: flex; gap: 0; flex-wrap: wrap;
  margin-top: 3.5rem; padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  animation: fadeUp 0.8s 0.4s both;
}
.hero-stat {
  padding-right: 2.5rem; margin-right: 2.5rem;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.hero-stat:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.hero-stat strong {
  display: block; font-family: 'Playfair Display', serif;
  font-size: 2.2rem; font-weight: 700; color: var(--white); line-height: 1;
}
.hero-stat span { font-size: 0.7rem; color: rgba(255,255,255,0.45); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 4px; display: block; }

/* Hero right — trust panel */
.hero-panel { animation: fadeIn 1s 0.35s both; }

.trust-panel {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px; padding: 1.75rem;
  backdrop-filter: blur(10px);
}

.trust-panel-head {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 1.25rem; margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.trust-panel-ico {
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--red); display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.trust-panel-head h4 {
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem; font-weight: 700;
  color: var(--white); margin-bottom: 2px;
}
.trust-panel-head p { font-size: 0.72rem; color: rgba(255,255,255,0.45); }

.trust-rows { display: flex; flex-direction: column; gap: 0.65rem; }
.trust-row {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px; padding: 0.75rem;
  display: flex; align-items: center; gap: 10px;
}
.trust-row-ico { font-size: 1rem; flex-shrink: 0; }
.trust-row-txt { flex: 1; }
.trust-row-txt span { font-size: 0.65rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.1em; display: block; }
.trust-row-txt p { font-size: 0.82rem; color: rgba(255,255,255,0.8); margin-top: 1px; }
.trust-badge {
  font-size: 0.65rem; font-weight: 700; padding: 0.2rem 0.55rem;
  border-radius: 100px; background: rgba(48,49,139,0.4);
  color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.15);
  white-space: nowrap;
}
.trust-badge.verified { background: rgba(34,197,94,0.15); color: #6EE7A0; border-color: rgba(34,197,94,0.25); }

.trust-chips {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem;
  padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.08);
}
.trust-chip {
  font-size: 0.68rem; font-weight: 600; padding: 0.28rem 0.7rem; border-radius: 100px;
  background: rgba(183,63,65,0.2); color: rgba(255,255,255,0.7);
  border: 1px solid rgba(183,63,65,0.3);
}

@keyframes fadeUp { from { opacity:0; transform:translateY(22px); } to { opacity:1; transform:none; } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

/* ══════════════════════════════════════
   TRUST / PARTNERS STRIP
══════════════════════════════════════ */
.partners-strip {
  background: var(--blue-dark);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.partners-strip-inner {
  display: flex; align-items: stretch; overflow-x: auto;
  max-width: 1280px; margin: 0 auto;
  padding: 0 clamp(1.25rem,4vw,3rem);
}
.partners-strip-label {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); white-space: nowrap;
  display: flex; align-items: center;
  padding: 1rem 2rem 1rem 0;
  border-right: 1px solid rgba(255,255,255,0.1); margin-right: 2rem; flex-shrink: 0;
}
.partner-logos { display: flex; align-items: center; gap: 2.5rem; flex-wrap: nowrap; padding: 1rem 0; }
.partner-logo-name {
  font-size: 0.75rem; font-weight: 500; color: rgba(255,255,255,0.3);
  white-space: nowrap; transition: color 0.2s;
}
.partner-logo-name:hover { color: rgba(255,255,255,0.65); }

/* ══════════════════════════════════════
   SECTION: ABOUT
══════════════════════════════════════ */
.about { background: var(--white); }
.about .container {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(3rem,6vw,6rem); align-items: center;
}

.about-visual { position: relative; }
.about-frame {
  border-radius: 16px; overflow: hidden;
  background: linear-gradient(145deg, var(--blue) 0%, var(--blue-mid) 60%, var(--blue-dark) 100%);
  aspect-ratio: 4/5; position: relative; display: flex; align-items: flex-end;
}
.about-frame-pattern {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 14px),
    radial-gradient(ellipse at 50% 30%, rgba(183,63,65,0.12) 0%, transparent 60%);
}
.about-frame-icon {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-58%);
  font-size: 8rem; opacity: 0.07; user-select: none;
}
.about-frame-cap {
  position: relative; z-index: 2; padding: 2rem;
  background: linear-gradient(to top, rgba(34,35,106,0.95) 0%, transparent 100%);
  width: 100%;
}
.about-frame-cap h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 3px; }
.about-frame-cap p  { color: rgba(255,255,255,0.5); font-size: 0.76rem; }

.about-float {
  position: absolute; top: 1.5rem; right: -1.5rem;
  background: var(--red); color: var(--white);
  border-radius: 12px; padding: 1.3rem 1.5rem;
  box-shadow: var(--shadow-red); min-width: 130px;
}
.about-float strong {
  display: block; font-family: 'Playfair Display', serif;
  font-size: 2.1rem; font-weight: 700; line-height: 1;
}
.about-float span {
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; opacity: 0.9; margin-top: 4px; display: block;
}

.about-content {}
.about-content h2 { color: var(--blue-dark); margin-bottom: 1.2rem; }
.about-content h2 em { font-style: italic; color: var(--red); }
.about-content > p { margin-bottom: 1rem; font-size: 0.96rem; }

.about-vision {
  background: var(--blue-pale); border-left: 3px solid var(--blue);
  border-radius: 0 10px 10px 0; padding: 1.2rem 1.5rem; margin: 1.75rem 0;
}
.about-vision h5 {
  font-family: 'DM Sans', sans-serif; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); margin-bottom: 0.4rem;
}
.about-vision p { font-size: 0.88rem; color: var(--text); font-style: italic; line-height: 1.65; }

.about-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; margin-top: 1.75rem; }
.pillar {
  background: var(--offwhite); border: 1px solid var(--mist); border-radius: 10px; padding: 1.2rem;
  transition: all 0.25s;
}
.pillar:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.pillar-ico { font-size: 1.4rem; margin-bottom: 0.55rem; }
.pillar h5 { font-family: 'DM Sans', sans-serif; font-size: 0.83rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 0.3rem; }
.pillar p  { font-size: 0.77rem; line-height: 1.55; }

/* ══════════════════════════════════════
   SECTION: IMPACT
══════════════════════════════════════ */
.impact { background: var(--blue-dark); position: relative; overflow: hidden; }
.impact::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% -5%, rgba(183,63,65,0.12) 0%, transparent 60%);
}

.impact-header { text-align: center; margin-bottom: 3.5rem; position: relative; z-index: 2; }
.impact-header .tag { justify-content: center; color: rgba(255,255,255,0.6); }
.impact-header .tag::before { background: var(--red); }
.impact-header h2 { color: var(--white); }
.impact-header h2 em { font-style: italic; color: rgba(255,255,255,0.5); }

.impact-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 14px;
  overflow: hidden; background: rgba(255,255,255,0.04);
  gap: 1px; position: relative; z-index: 2;
}
.impact-cell {
  background: rgba(48,49,139,0.5); padding: 2.5rem 1.75rem; text-align: center;
  transition: background 0.25s;
}
.impact-cell:hover { background: rgba(48,49,139,0.8); }
.impact-cell:nth-child(1) { border-top: 3px solid var(--red); }
.impact-cell:nth-child(2) { border-top: 3px solid var(--red); }
.impact-cell:nth-child(3) { border-top: 3px solid var(--red); }
.impact-cell:nth-child(4) { border-top: 3px solid var(--red); }

.impact-num {
  display: block; font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem,4vw,3.6rem); font-weight: 700;
  color: var(--white); line-height: 1; margin-bottom: 0.5rem;
}
.impact-lbl { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.4); }
.impact-desc { font-size: 0.78rem; color: rgba(255,255,255,0.35); margin-top: 0.5rem; line-height: 1.45; }

/* ══════════════════════════════════════
   SECTION: GOVERNANCE
══════════════════════════════════════ */
.governance { background: var(--offwhite); }
.governance .container { display: grid; grid-template-columns: 340px 1fr; gap: 4rem; align-items: start; }

.gov-sidebar h2 { color: var(--blue-dark); margin-bottom: 1.2rem; }
.gov-sidebar h2 em { font-style: italic; color: var(--red); }
.gov-sidebar > p { font-size: 0.92rem; margin-bottom: 1.5rem; }

.gov-certs { display: flex; flex-direction: column; gap: 0.55rem; margin-top: 1.5rem; }
.gov-cert {
  display: flex; align-items: flex-start; gap: 10px;
  background: var(--white); border: 1px solid var(--mist);
  border-radius: 8px; padding: 0.8rem 1rem;
  font-size: 0.81rem; font-weight: 500; color: var(--text-mid);
  transition: border-color 0.2s;
}
.gov-cert:hover { border-color: var(--blue); }
.gov-cert-check { color: var(--red); font-weight: 800; flex-shrink: 0; font-size: 0.9rem; }

.org-chart-box {
  background: var(--white); border: 1px solid var(--mist);
  border-radius: 10px; padding: 1.4rem; margin-top: 1.5rem;
}
.org-chart-box h5 {
  font-family: 'DM Sans', sans-serif; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 1rem;
}
.org-chart { display: flex; flex-direction: column; gap: 4px; }
.org-node {
  border-radius: 6px; padding: 0.55rem 1rem; text-align: center;
  font-size: 0.78rem; font-weight: 600;
}
.org-node.top { background: var(--blue); color: var(--white); }
.org-node.mid { background: var(--blue-lite); color: var(--blue-dark); border: 1px solid var(--mist); }
.org-node.bot { background: var(--smoke); color: var(--text-mid); border: 1px solid var(--mist); }
.org-arrow { text-align: center; font-size: 0.75rem; color: var(--text-lite); line-height: 1; }

/* Board grid */
.gov-content {}
.board-section-label {
  font-family: 'DM Sans', sans-serif; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue);
  padding-bottom: 0.75rem; border-bottom: 2px solid var(--blue-lite);
  margin-bottom: 1.2rem;
}

.board-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-bottom: 2.5rem; }
.board-card {
  background: var(--white); border: 1px solid var(--mist); border-radius: 12px;
  padding: 1.6rem 1.4rem; position: relative; overflow: hidden; transition: all 0.25s;
}
.board-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--blue); opacity: 0; transition: opacity 0.25s;
}
.board-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.board-card:hover::after { opacity: 1; }
.board-card.founder::after { background: var(--red); opacity: 1; }
.board-card.founder { border-color: rgba(183,63,65,0.2); }

.board-initials {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700;
  margin-bottom: 1rem;
}
.board-card.founder .board-initials { background: var(--red); }

.board-card h4 { font-family: 'DM Sans', sans-serif; font-size: 0.88rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 0.3rem; line-height: 1.3; }
.board-role { font-size: 0.7rem; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: 0.08em; }
.board-creds { font-size: 0.72rem; color: var(--text-lite); margin-top: 0.4rem; line-height: 1.3; }

/* Exec grid */
.exec-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0.9rem; }
.exec-card {
  background: var(--white); border: 1px solid var(--mist); border-radius: 10px;
  padding: 1.1rem; display: flex; align-items: center; gap: 0.9rem; transition: all 0.2s;
}
.exec-card:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.exec-initials {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: var(--blue-lite); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 0.9rem; font-weight: 700;
}
.exec-card h5 { font-family: 'DM Sans', sans-serif; font-size: 0.83rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 2px; }
.exec-card p  { font-size: 0.7rem; color: var(--text-lite); }

/* ══════════════════════════════════════
   SECTION: RESEARCH
══════════════════════════════════════ */
.research { background: var(--white); }
.research-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2.5rem; gap: 2rem; flex-wrap: wrap; }
.research-header h2 { color: var(--blue-dark); }
.research-header h2 em { font-style: italic; color: var(--red); }

.proj-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.proj-card {
  background: var(--white); border: 1px solid var(--mist); border-radius: 14px;
  overflow: hidden; display: flex; flex-direction: column; transition: all 0.3s;
}
.proj-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: rgba(48,49,139,0.25); }

.proj-head { background: var(--blue); padding: 1.4rem; min-height: 80px; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.proj-badge {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.25rem 0.7rem; border-radius: 100px;
  background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.2); white-space: nowrap;
}
.proj-badge.active { background: rgba(34,197,94,0.18); color: #6EE7A0; border-color: rgba(34,197,94,0.3); }
.proj-badge.completed { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.5); border-color: rgba(255,255,255,0.15); }
.proj-status { font-size: 0.65rem; color: rgba(255,255,255,0.4); text-align: right; white-space: nowrap; }

.proj-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.proj-body h4 { font-family: 'DM Sans', sans-serif; font-size: 0.9rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 0.75rem; line-height: 1.4; }
.proj-body p { font-size: 0.81rem; line-height: 1.65; flex: 1; }

.proj-foot { padding: 0 1.5rem 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.proj-funder { font-size: 0.68rem; color: var(--text-lite); font-weight: 600; }
.proj-link { font-size: 0.73rem; color: var(--red); font-weight: 700; display: flex; align-items: center; gap: 4px; transition: gap 0.2s; }
.proj-link:hover { gap: 8px; }

/* ══════════════════════════════════════
   SECTION: PUBLICATIONS
══════════════════════════════════════ */
.publications { background: var(--offwhite); }
.pub-header { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end; margin-bottom: 2.5rem; }
.pub-header h2 { color: var(--blue-dark); }
.pub-header h2 em { font-style: italic; color: var(--red); }

.pub-list {
  display: flex; flex-direction: column; gap: 1px;
  background: var(--mist); border: 1px solid var(--mist); border-radius: 14px; overflow: hidden;
}
.pub-item {
  background: var(--white); padding: 1.5rem 1.75rem;
  display: grid; grid-template-columns: 40px 1fr auto;
  gap: 1.4rem; align-items: center; transition: background 0.2s;
}
.pub-item:hover { background: var(--offwhite); }
.pub-n { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--blue); opacity: 0.25; }
.pub-content h4 { font-family: 'DM Sans', sans-serif; font-size: 0.87rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 0.4rem; line-height: 1.4; }
.pub-meta { font-size: 0.74rem; color: var(--text-lite); }
.pub-meta em { color: var(--text-mid); font-style: italic; }
.pub-read {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--blue); padding: 0.45rem 0.9rem; border-radius: 5px;
  background: var(--blue-lite); border: 1px solid var(--mist);
  transition: all 0.2s; white-space: nowrap;
}
.pub-read:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }

/* ══════════════════════════════════════
   SECTION: ETHICS & COMPLIANCE
══════════════════════════════════════ */
.ethics { background: var(--white); }
.ethics-intro { max-width: 680px; margin-bottom: 3rem; }
.ethics-intro h2 { color: var(--blue-dark); margin-bottom: 1rem; }
.ethics-intro h2 em { font-style: italic; color: var(--red); }

.ethics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.ethics-card {
  background: var(--offwhite); border: 1px solid var(--mist); border-radius: 14px;
  padding: 2rem 1.85rem; transition: all 0.25s; position: relative; overflow: hidden;
}
.ethics-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%;
  background: var(--blue); opacity: 0; transition: opacity 0.25s;
}
.ethics-card:hover { box-shadow: var(--shadow-md); border-color: rgba(48,49,139,0.2); transform: translateY(-2px); }
.ethics-card:hover::before { opacity: 1; }
.ethics-ico { font-size: 2rem; margin-bottom: 1rem; display: block; }
.ethics-card h3 { color: var(--blue-dark); font-size: 1.15rem; margin-bottom: 0.7rem; }
.ethics-card > p { font-size: 0.86rem; line-height: 1.65; margin-bottom: 1.4rem; }
.ethics-checks { display: flex; flex-direction: column; gap: 0.5rem; }
.ethics-check { display: flex; align-items: flex-start; gap: 8px; font-size: 0.8rem; color: var(--text-mid); }
.ethics-check::before { content: '✓'; color: var(--blue); font-weight: 800; flex-shrink: 0; }

.ethics-assurance {
  background: var(--blue); border-radius: 14px; padding: 2.5rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center;
  margin-top: 1.5rem;
}
.ethics-assurance h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 0.75rem; }
.ethics-assurance > div > p { color: rgba(255,255,255,0.6); font-size: 0.87rem; }
.ethics-badges { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.ethics-badge {
  display: flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px; padding: 0.55rem 0.9rem;
  font-size: 0.76rem; font-weight: 600; color: rgba(255,255,255,0.8);
}

/* ══════════════════════════════════════
   SECTION: PARTNERS
══════════════════════════════════════ */
.partners { background: var(--offwhite); }
.partners-header { text-align: center; margin-bottom: 3rem; }
.partners-header .tag { justify-content: center; }
.partners-header h2 { color: var(--blue-dark); }
.partners-header h2 em { font-style: italic; color: var(--red); }
.partners-header p { max-width: 580px; margin: 0.75rem auto 0; font-size: 0.92rem; }

.partners-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: var(--mist);
  border: 1px solid var(--mist); border-radius: 14px; overflow: hidden;
}
.partner-item {
  background: var(--white); padding: 2.25rem 2rem;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.7rem;
  transition: background 0.2s; text-decoration: none;
}
.partner-item:hover { background: var(--blue-pale); }
.partner-mark {
  width: 50px; height: 50px; border-radius: 10px;
  background: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
}
/* When a partner has a real logo uploaded as Featured Image */
.partner-item.has-logo .partner-mark {
  width: 140px; height: 70px;
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: 10px;
  padding: 0.6rem 0.9rem;
  font-size: 1rem;
  overflow: hidden;
}
.partner-item.has-logo .partner-mark img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  filter: none;
}
/* Subtle greyscale on normal state, full colour on hover */
.partner-item.has-logo:not(:hover) .partner-mark img {
  filter: grayscale(30%) opacity(0.85);
  transition: filter 0.25s;
}
.partner-item.has-logo:hover .partner-mark img {
  filter: none;
}
.partner-name { font-size: 0.86rem; font-weight: 700; color: var(--blue-dark); line-height: 1.3; }
.partner-type { font-size: 0.68rem; color: var(--text-lite); letter-spacing: 0.08em; text-transform: uppercase; }

/* ══════════════════════════════════════
   SECTION: NEWS
══════════════════════════════════════ */
.news { background: var(--white); }
.news-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2.5rem; gap: 2rem; flex-wrap: wrap; }
.news-header h2 { color: var(--blue-dark); }
.news-header h2 em { font-style: italic; color: var(--red); }

.news-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 1.4rem; }
.news-featured {
  background: var(--blue); border-radius: 14px; padding: 2.5rem;
  display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.news-featured::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(183,63,65,0.15) 0%, transparent 60%);
}
.news-cat {
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-bottom: 1rem; position: relative; z-index: 2;
}
.news-cat span { color: var(--red-lite); }
.news-featured h3 { color: var(--white); font-size: 1.45rem; margin-bottom: 1rem; position: relative; z-index: 2; line-height: 1.3; }
.news-featured p { color: rgba(255,255,255,0.55); font-size: 0.86rem; line-height: 1.7; position: relative; z-index: 2; flex: 1; }
.news-featured-foot { margin-top: 2rem; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 2; }
.news-date { font-size: 0.72rem; color: rgba(255,255,255,0.35); }
.news-read { font-size: 0.73rem; font-weight: 700; color: rgba(255,255,255,0.75); display: flex; align-items: center; gap: 5px; transition: gap 0.2s; }
.news-read:hover { gap: 9px; color: var(--white); }

.news-side { display: flex; flex-direction: column; gap: 1px; }
.news-mini {
  background: var(--offwhite); padding: 1.4rem 1.6rem;
  display: flex; gap: 1.1rem; align-items: flex-start; border: 1px solid var(--mist);
  transition: background 0.2s; cursor: pointer;
}
.news-mini:first-child { border-radius: 14px 14px 0 0; }
.news-mini:last-child  { border-radius: 0 0 14px 14px; }
.news-mini:hover { background: var(--blue-pale); }
.news-mini-n { font-family: 'Playfair Display', serif; font-size: 1.35rem; color: var(--blue); opacity: 0.25; flex-shrink: 0; line-height: 1; }
.news-mini h5 { font-family: 'DM Sans', sans-serif; font-size: 0.84rem; font-weight: 700; color: var(--blue-dark); line-height: 1.35; margin-bottom: 0.3rem; }
.news-mini p { font-size: 0.74rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-mini-date { font-size: 0.66rem; color: var(--text-lite); margin-top: 0.35rem; font-weight: 600; letter-spacing: 0.05em; }

/* ══════════════════════════════════════
   SECTION: CONTACT
══════════════════════════════════════ */
.contact { background: var(--blue-dark); position: relative; overflow: hidden; }
.contact::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 90% at 0% 60%, rgba(183,63,65,0.07) 0%, transparent 60%);
}
.contact .container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; position: relative; z-index: 2; }

.contact-info .tag { color: rgba(255,255,255,0.55); }
.contact-info .tag::before { background: var(--red); }
.contact-info h2 { color: var(--white); margin-bottom: 1.2rem; }
.contact-info h2 em { font-style: italic; color: rgba(255,255,255,0.5); }
.contact-info > p { color: rgba(255,255,255,0.55); font-size: 0.92rem; margin-bottom: 2rem; }

.contact-details { display: flex; flex-direction: column; gap: 1.1rem; }
.contact-det { display: flex; gap: 1rem; align-items: flex-start; }
.contact-det-ico {
  width: 40px; height: 40px; border-radius: 8px; flex-shrink: 0;
  background: rgba(183,63,65,0.18); border: 1px solid rgba(183,63,65,0.25);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.contact-det-txt strong { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-lite); margin-bottom: 3px; }
.contact-det-txt span { color: rgba(255,255,255,0.6); font-size: 0.86rem; }

.engage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; margin-top: 2.25rem; }
.engage-btn {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 9px; padding: 0.9rem 1.1rem; text-align: left; transition: all 0.2s; cursor: pointer;
}
.engage-btn:hover { background: rgba(255,255,255,0.09); border-color: rgba(183,63,65,0.35); }
.engage-btn span { font-size: 0.63rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-lite); display: block; margin-bottom: 3px; }
.engage-btn p { font-size: 0.78rem; color: rgba(255,255,255,0.45); }

/* Form */
.contact-form-box {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px; padding: 2.25rem;
}
.contact-form-box h3 { color: var(--white); font-size: 1.35rem; margin-bottom: 0.4rem; }
.contact-form-box > p { color: rgba(255,255,255,0.4); font-size: 0.81rem; margin-bottom: 1.75rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.form-g { margin-bottom: 0.9rem; }
.form-g label { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 0.4rem; }
.form-g input, .form-g select, .form-g textarea {
  width: 100%; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 7px; padding: 0.75rem 0.95rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.87rem; color: var(--white);
  outline: none; transition: border-color 0.2s;
}
.form-g input:focus, .form-g select:focus, .form-g textarea:focus { border-color: rgba(183,63,65,0.5); }
.form-g input::placeholder, .form-g textarea::placeholder { color: rgba(255,255,255,0.7); }
.form-g select option { background: var(--blue-dark); }
.form-g textarea { min-height: 95px; resize: vertical; }
.form-submit {
  width: 100%; background: var(--red); color: var(--white);
  border-radius: 7px; padding: 0.95rem; margin-top: 0.25rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; transition: background 0.2s;
}
.form-submit:hover { background: var(--red-dark); }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer {
  background: var(--white);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--mist);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid var(--mist); margin-bottom: 2rem;
}
.footer-brand-logo {
  display: flex; align-items: center; gap: 12px; margin-bottom: 1rem;
}
.footer-mark {
  width: 38px; height: 38px; border-radius: 7px;
  background: var(--blue); border: 2px solid rgba(183,63,65,0.6);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; color: var(--white);
}
.footer-brand-logo strong { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: var(--blue-dark); }
.footer-brand p { color: var(--text-mid); font-size: 0.8rem; line-height: 1.75; max-width: 300px; }
.footer-brand a { color: var(--blue) !important; font-size: 0.8rem; margin-top: 0.75rem; display: block; transition: color 0.2s; }
.footer-brand a:hover { color: var(--blue-dark) !important; }

.footer-col h5 { font-family: 'DM Sans', sans-serif; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue); margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul a { font-size: 0.8rem; color: var(--text-mid); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--blue-dark); }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.74rem; color: var(--text-lite); }
.footer-badges { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.footer-badge {
  font-size: 0.65rem; font-weight: 600; padding: 0.28rem 0.75rem; border-radius: 100px;
  background: var(--offwhite); border: 1px solid var(--mist);
  color: var(--text-lite);
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-panel { display: none; }
  .about .container { grid-template-columns: 1fr; }
  .about-visual { display: none; }
  .governance .container { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: repeat(2,1fr); }
  .proj-grid { grid-template-columns: repeat(2,1fr); }
  .ethics-grid { grid-template-columns: 1fr; }
  .ethics-assurance { grid-template-columns: 1fr; }
  .contact .container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pub-header { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .board-grid { grid-template-columns: repeat(2,1fr); }
  .exec-grid { grid-template-columns: repeat(2,1fr); }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 640px) {
  .proj-grid { grid-template-columns: 1fr; }
  .board-grid { grid-template-columns: 1fr; }
  .exec-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2,1fr); }
  .impact-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-pillars { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .pub-item { grid-template-columns: 1fr; }
  .pub-n { display: none; }
  .pub-read { display: none; }
  .hero-stat { border-right: none; }
  .engage-grid { grid-template-columns: 1fr; }
}

/* ── INNER PAGE SHARED STYLES ── */
.page-hero {
  background: var(--blue); padding: clamp(5rem,10vw,8rem) 0 clamp(3rem,6vw,5rem);
  position: relative; overflow: hidden; margin-top: 70px;
}
.page-hero::before {
  content:''; position:absolute; inset:0;
  background: radial-gradient(ellipse 70% 80% at 100% 0%, rgba(183,63,65,0.12) 0%, transparent 60%);
}
.page-hero-inner { position:relative; z-index:2; max-width:800px; }
.page-hero .breadcrumb {
  display:flex; align-items:center; gap:8px; margin-bottom:1.5rem;
  font-size:0.72rem; font-weight:600; letter-spacing:0.1em; text-transform:uppercase;
  color:rgba(255,255,255,0.4);
}
.page-hero .breadcrumb a { color:rgba(255,255,255,0.4); transition:color 0.2s; }
.page-hero .breadcrumb a:hover { color:rgba(255,255,255,0.8); }
.page-hero .breadcrumb span { color:var(--red-lite); }
.page-hero h1 { color:var(--white); margin-bottom:1.25rem; }
.page-hero .lead { font-size:1.05rem; color:rgba(255,255,255,0.65); line-height:1.75; max-width:680px; }

/* Footer additions */
.footer-reg { display:flex; flex-direction:column; gap:3px; margin-top:0.75rem; }
.footer-reg span { font-size:0.68rem; color:var(--text-lite); }
.footer-social { display:flex; gap:0.5rem; margin-top:1rem; }
.social-link {
  width:34px; height:34px; border-radius:6px; display:flex; align-items:center; justify-content:center;
  background:var(--offwhite); border:1px solid var(--mist);
  font-size:0.8rem; font-weight:700; color:var(--blue); transition:all 0.2s; text-decoration:none;
}
.social-link:hover { background:var(--red); color:var(--white); border-color:var(--red); }

/* Pub filter */
.pub-filters { display:flex; gap:0.5rem; flex-wrap:wrap; margin-bottom:2rem; }
.pub-filter-btn {
  font-size:0.72rem; font-weight:700; padding:0.45rem 1rem; border-radius:100px;
  border:1.5px solid var(--mist); background:var(--white); color:var(--text-mid);
  cursor:pointer; transition:all 0.2s; letter-spacing:0.04em;
}
.pub-filter-btn:hover,.pub-filter-btn.active { background:var(--blue); color:var(--white); border-color:var(--blue); }

/* Team page */
.team-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; }
.team-card {
  background:var(--white); border:1px solid var(--mist); border-radius:14px;
  overflow:hidden; transition:all 0.3s;
}
.team-card:hover { box-shadow:var(--shadow-lg); transform:translateY(-4px); }
.team-photo {
  aspect-ratio:4/3; background:linear-gradient(145deg,var(--blue) 0%,var(--blue-mid) 100%);
  display:flex; align-items:center; justify-content:center; position:relative; overflow:hidden;
}
.team-photo img { width:100%; height:100%; object-fit:cover; object-position:top center; }
.team-initials-big {
  font-family:'Playfair Display',serif; font-size:3.5rem; font-weight:700;
  color:rgba(255,255,255,0.25); user-select:none;
}
.team-card-body { padding:1.6rem; }
.team-card-body h3 { font-family:'DM Sans',sans-serif; font-size:1rem; font-weight:700; color:var(--blue-dark); margin-bottom:0.25rem; }
.team-role { font-size:0.72rem; font-weight:700; color:var(--red); text-transform:uppercase; letter-spacing:0.08em; margin-bottom:0.6rem; }
.team-creds { font-size:0.76rem; color:var(--text-lite); line-height:1.45; margin-bottom:0.9rem; }
.team-links { display:flex; gap:0.5rem; flex-wrap:wrap; }
.team-link {
  font-size:0.65rem; font-weight:700; padding:0.25rem 0.65rem; border-radius:100px;
  background:var(--blue-lite); color:var(--blue); border:1px solid var(--mist);
  text-decoration:none; transition:all 0.2s; letter-spacing:0.05em;
}
.team-link:hover { background:var(--blue); color:var(--white); }

/* Research page */
.proj-full-card {
  background:var(--white); border:1px solid var(--mist); border-radius:16px;
  overflow:hidden; transition:all 0.3s; margin-bottom:1.5rem;
}
.proj-full-card:hover { box-shadow:var(--shadow-lg); border-color:rgba(48,49,139,0.2); }
.proj-full-head {
  background:var(--blue); padding:1.75rem 2rem;
  display:flex; align-items:flex-start; justify-content:space-between; gap:1rem;
}
.proj-full-title { color:var(--white); font-family:'Playfair Display',serif; font-size:1.2rem; font-weight:600; line-height:1.3; flex:1; }
.proj-full-body { padding:2rem; display:grid; grid-template-columns:1fr 260px; gap:2.5rem; }
.proj-full-desc p { font-size:0.9rem; line-height:1.75; margin-bottom:1rem; }
.proj-full-desc h5 { font-family:'DM Sans',sans-serif; font-size:0.7rem; font-weight:700; letter-spacing:0.14em; text-transform:uppercase; color:var(--blue); margin:1.25rem 0 0.6rem; }
.proj-meta-panel { background:var(--offwhite); border:1px solid var(--mist); border-radius:10px; padding:1.25rem; height:fit-content; }
.proj-meta-item { margin-bottom:1rem; }
.proj-meta-item:last-child { margin-bottom:0; }
.proj-meta-label { font-size:0.62rem; font-weight:700; letter-spacing:0.14em; text-transform:uppercase; color:var(--blue); margin-bottom:3px; display:block; }
.proj-meta-val { font-size:0.82rem; color:var(--text); font-weight:500; line-height:1.4; }
.proj-section-label {
  font-family:'DM Sans',sans-serif; font-size:0.68rem; font-weight:700; letter-spacing:0.16em; text-transform:uppercase;
  color:var(--blue); padding-bottom:0.75rem; border-bottom:2px solid var(--blue-lite); margin:2.5rem 0 1.5rem;
}

/* About timeline */
.timeline { position:relative; padding-left:2rem; }
.timeline::before { content:''; position:absolute; left:7px; top:0; bottom:0; width:2px; background:var(--blue-lite); }
.timeline-item { position:relative; margin-bottom:2rem; }
.timeline-item::before {
  content:''; position:absolute; left:-1.65rem; top:6px;
  width:12px; height:12px; border-radius:50%; background:var(--red); border:2px solid var(--white);
  box-shadow:0 0 0 2px var(--red);
}
.timeline-year { font-size:0.7rem; font-weight:700; letter-spacing:0.1em; color:var(--red); text-transform:uppercase; margin-bottom:0.25rem; }
.timeline-item h4 { font-family:'DM Sans',sans-serif; font-size:0.92rem; font-weight:700; color:var(--blue-dark); margin-bottom:0.35rem; }
.timeline-item p { font-size:0.83rem; line-height:1.6; }

/* Pub library */
.pub-year-group { margin-bottom:3rem; }
.pub-year-label {
  font-family:'Playfair Display',serif; font-size:1.6rem; font-weight:700; color:var(--blue);
  padding-bottom:0.75rem; border-bottom:2px solid var(--blue-lite); margin-bottom:1.25rem;
}
.pub-full-item {
  background:var(--white); border:1px solid var(--mist); border-radius:12px;
  padding:1.5rem 1.75rem; margin-bottom:0.75rem; transition:all 0.2s;
  display:grid; grid-template-columns:1fr auto; gap:1.5rem; align-items:start;
}
.pub-full-item:hover { border-color:var(--blue); box-shadow:var(--shadow-sm); }
.pub-full-title { font-family:'DM Sans',sans-serif; font-size:0.92rem; font-weight:700; color:var(--blue-dark); margin-bottom:0.5rem; line-height:1.4; }
.pub-full-authors { font-size:0.78rem; color:var(--text-mid); margin-bottom:0.35rem; }
.pub-full-journal { font-size:0.76rem; color:var(--text-lite); font-style:italic; }
.pub-full-tags { display:flex; gap:0.4rem; flex-wrap:wrap; margin-top:0.6rem; }
.pub-tag {
  font-size:0.62rem; font-weight:700; padding:0.2rem 0.55rem; border-radius:100px;
  background:var(--blue-pale); color:var(--blue); border:1px solid var(--mist); letter-spacing:0.05em;
}
.pub-actions { display:flex; flex-direction:column; gap:0.4rem; min-width:100px; }
.pub-action-btn {
  font-size:0.68rem; font-weight:700; padding:0.4rem 0.8rem; border-radius:5px; text-align:center;
  text-decoration:none; transition:all 0.2s; letter-spacing:0.04em; display:block;
}
.pub-action-btn.primary { background:var(--blue); color:var(--white); }
.pub-action-btn.primary:hover { background:var(--blue-dark); }
.pub-action-btn.secondary { background:var(--offwhite); color:var(--blue); border:1px solid var(--mist); }
.pub-action-btn.secondary:hover { background:var(--blue-lite); }

/* CTA strip */
.cta-strip { background:var(--blue); padding:clamp(3rem,6vw,5rem) 0; }
.cta-strip-inner { display:flex; align-items:center; justify-content:space-between; gap:2rem; flex-wrap:wrap; }
.cta-strip h2 { color:var(--white); font-size:clamp(1.5rem,3vw,2.2rem); }
.cta-strip h2 em { font-style:italic; color:rgba(255,255,255,0.55); }
.cta-strip p { color:rgba(255,255,255,0.55); margin-top:0.5rem; }
.cta-strip-actions { display:flex; gap:1rem; flex-shrink:0; flex-wrap:wrap; }

@media(max-width:1080px){.team-grid{grid-template-columns:repeat(2,1fr);}.proj-full-body{grid-template-columns:1fr;}}
@media(max-width:640px){.team-grid{grid-template-columns:1fr;}.pub-full-item{grid-template-columns:1fr;}.pub-actions{flex-direction:row;}}

/* ════════════════════════════════
   WORDPRESS CORE FIXES
════════════════════════════════ */
html { margin-top: 0 !important; }
body { margin: 0 !important; padding: 0 !important; }
.wp-site-blocks, #page, #content, .site, .site-content,
.wp-block-template-part { display: contents !important; padding: 0 !important; margin: 0 !important; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 9999; background: var(--red); color: #fff; padding: .5rem 1rem; border-radius: 4px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 3px; }

/* ════════════════════════════════
   INNER PAGE SHARED STYLES
════════════════════════════════ */
.page-hero {
  background: var(--blue); padding: clamp(5rem,10vw,8rem) 0 clamp(3rem,5vw,4.5rem);
  position: relative; overflow: hidden; margin-top: 70px;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 100% 0%, rgba(183,63,65,0.12) 0%, transparent 60%);
}
.page-hero-inner { position: relative; z-index: 2; max-width: 820px; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px; margin-bottom: 1.5rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.breadcrumb a { color: rgba(255,255,255,0.4); transition: color 0.2s; }
.breadcrumb a:hover { color: rgba(255,255,255,0.8); }
.breadcrumb span { color: var(--red-lite); }
.page-hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.page-hero .lead { font-size: 1.05rem; color: rgba(255,255,255,0.65); line-height: 1.75; max-width: 680px; }

/* ════════════════════════════════
   TEAM PAGE
════════════════════════════════ */
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.team-card { background: var(--white); border: 1px solid var(--mist); border-radius: 14px; overflow: hidden; transition: all 0.3s; }
.team-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.team-photo {
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, var(--blue) 0%, var(--blue-mid) 100%);
  display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.team-initials-big {
  font-family: 'Playfair Display', serif; font-size: 3.5rem; font-weight: 700;
  color: rgba(255,255,255,0.25); user-select: none; position: absolute;
}
.team-card-body { padding: 1.6rem; }
.team-card-body h3 { font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 0.25rem; line-height: 1.35; }
.team-role-badge { font-size: 0.7rem; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.6rem; display: block; }
.team-creds { font-size: 0.76rem; color: var(--text-lite); line-height: 1.45; margin-bottom: 0.75rem; }
.team-bio { font-size: 0.82rem; color: var(--text-mid); line-height: 1.65; margin-bottom: 0.9rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.team-links { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.team-link {
  font-size: 0.65rem; font-weight: 700; padding: 0.25rem 0.65rem; border-radius: 100px;
  background: var(--blue-lite); color: var(--blue); border: 1px solid var(--mist);
  text-decoration: none; transition: all 0.2s; letter-spacing: 0.04em;
}
.team-link:hover { background: var(--blue); color: var(--white); }
.team-founder-card {
  background: var(--offwhite); border: 1px solid var(--mist); border-radius: 16px;
  padding: 2.5rem; display: grid; grid-template-columns: 180px 1fr; gap: 2.5rem;
  align-items: start; margin-bottom: 3rem;
}
.team-founder-photo {
  width: 160px; height: 160px; border-radius: 50%;
  background: linear-gradient(145deg, var(--blue-mid) 0%, var(--blue-dark) 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 3.5rem; font-weight: 700;
  color: rgba(255,255,255,0.3); overflow: hidden; flex-shrink: 0;
}
.team-founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ════════════════════════════════
   RESEARCH PAGE
════════════════════════════════ */
.proj-full-card {
  background: var(--white); border: 1px solid var(--mist); border-radius: 16px;
  overflow: hidden; transition: all 0.3s; margin-bottom: 1.25rem;
}
.proj-full-card:hover { box-shadow: var(--shadow-lg); border-color: rgba(48,49,139,0.2); }
.proj-full-head {
  background: var(--blue); padding: 1.25rem 1.75rem;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
}
.proj-full-title { color: var(--white); font-family: 'DM Sans', serif; font-size: 1.05rem; font-weight: 700; line-height: 1.35; }
.proj-full-body { padding: 1.5rem 1.75rem; display: flex; flex-direction: column; gap: 1rem; }
.proj-full-desc { font-size: 0.9rem; color: var(--text-mid); line-height: 1.75; }
.proj-meta-panel {
  background: var(--offwhite); border: 1px solid var(--mist); border-radius: 10px;
  padding: 1rem 1.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem 1.5rem;
}
.proj-meta-item { margin-bottom: 0; }
.proj-meta-item:last-child { margin-bottom: 0; }
.proj-meta-label { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); margin-bottom: 2px; display: block; }
.proj-meta-val { font-size: 0.82rem; color: var(--text); font-weight: 600; line-height: 1.35; }
.proj-section-label {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--blue); padding-bottom: 0.75rem; border-bottom: 2px solid var(--blue-lite); margin: 0 0 1.75rem;
}
.stats-bar { background: var(--blue-dark); }
.stats-bar-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: rgba(255,255,255,0.06); }
.stats-bar-cell { background: var(--blue-dark); padding: 1.75rem; text-align: center; }
.stats-bar-num { display: block; font-family: 'Playfair Display', serif; font-size: 2.2rem; color: var(--white); line-height: 1; margin-bottom: 0.4rem; }
.stats-bar-lbl { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.35); }

/* ════════════════════════════════
   PUBLICATIONS PAGE
════════════════════════════════ */
.pub-filter-bar {
  background: var(--offwhite); border-bottom: 1px solid var(--mist);
  padding: 0.65rem 0; position: sticky; top: 70px; z-index: 100; margin-top: 0;
}
.pub-filters { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }
.pub-filter-btn {
  font-size: 0.72rem; font-weight: 700; padding: 0.4rem 0.95rem; border-radius: 100px;
  border: 1.5px solid var(--mist); background: var(--white); color: var(--text-mid);
  cursor: pointer; transition: all 0.2s; letter-spacing: 0.04em;
}
.pub-filter-btn:hover, .pub-filter-btn.active { background: var(--blue); color: var(--white); border-color: var(--blue); }
.pub-year-label {
  font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; color: var(--blue);
  padding-bottom: 0.75rem; border-bottom: 2px solid var(--blue-lite); margin-bottom: 1.25rem;
}
.pub-full-item {
  background: var(--white); border: 1px solid var(--mist); border-radius: 12px;
  padding: 1.5rem 1.75rem; margin-bottom: 0.75rem; transition: all 0.2s;
  display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: start;
}
.pub-full-item:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.pub-full-title { font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 0.45rem; line-height: 1.45; }
.pub-full-authors { font-size: 0.85rem; color: var(--text-mid); margin-bottom: 0.3rem; }
.pub-full-journal { font-size: 0.82rem; color: var(--text-lite); font-style: italic; }
.pub-full-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 0.6rem; }
.pub-tag { font-size: 0.62rem; font-weight: 700; padding: 0.2rem 0.55rem; border-radius: 100px; background: var(--blue-pale); color: var(--blue); border: 1px solid var(--mist); }
.pub-actions { display: flex; flex-direction: column; gap: 0.4rem; min-width: 90px; }
.pub-action-btn { font-size: 0.7rem; font-weight: 700; padding: 0.4rem 0.8rem; border-radius: 5px; text-align: center; text-decoration: none; transition: all 0.2s; display: block; }
.pub-action-btn.primary { background: var(--blue); color: var(--white); }
.pub-action-btn.primary:hover { background: var(--blue-dark); }
.pub-action-btn.secondary { background: var(--offwhite); color: var(--blue); border: 1px solid var(--mist); }
.pub-action-btn.secondary:hover { background: var(--blue-lite); }

/* ════════════════════════════════
   CTA STRIP (shared)
════════════════════════════════ */
.cta-strip { background: var(--blue); padding: clamp(3rem,6vw,5rem) 0; }
.cta-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-strip h2 { color: var(--white); font-size: clamp(1.5rem,3vw,2.2rem); }
.cta-strip h2 em { font-style: italic; color: rgba(255,255,255,0.5); }
.cta-strip p { color: rgba(255,255,255,0.55); margin-top: 0.5rem; font-size: 0.95rem; }
.cta-strip-actions { display: flex; gap: 1rem; flex-shrink: 0; flex-wrap: wrap; }

/* ════════════════════════════════
   FOOTER SOCIAL / REG
════════════════════════════════ */
.footer-reg { display: flex; flex-direction: column; gap: 3px; margin-top: 0.75rem; }
.footer-reg span { font-size: 0.68rem; color: rgba(255,255,255,0.7); }
.footer-social { display: flex; gap: 0.5rem; margin-top: 1rem; }
.social-link {
  width: 34px; height: 34px; border-radius: 6px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem; font-weight: 700; color: rgba(255,255,255,0.4);
  transition: all 0.2s; text-decoration: none;
}
.social-link:hover { background: var(--red); color: var(--white); border-color: var(--red); }

/* ════════════════════════════════
   CONTACT PAGE
════════════════════════════════ */
.contact-page { background: var(--white); }
.contact-page .contact-det-ico { background: rgba(48,49,139,0.08); border: 1px solid var(--mist); }
.contact-page .contact-det-txt strong { color: var(--blue); }
.contact-page .contact-det-txt span { color: var(--text-mid); }
.contact-form-light { background: var(--offwhite); border: 1px solid var(--mist); border-radius: 14px; padding: 2.25rem; }
.contact-form-light h3 { color: var(--blue-dark); font-size: 1.35rem; margin-bottom: 0.4rem; }
.contact-form-light > p { color: var(--text-lite); font-size: 0.82rem; margin-bottom: 1.75rem; }
.contact-form-light label { color: var(--blue) !important; }
.contact-form-light input, .contact-form-light select, .contact-form-light textarea {
  background: var(--white) !important; color: var(--text) !important; border-color: var(--mist) !important;
}
.contact-form-light input:focus, .contact-form-light select:focus, .contact-form-light textarea:focus { border-color: var(--blue) !important; }
.form-response { margin-bottom: 1rem; padding: .875rem 1rem; border-radius: 8px; font-size: .88rem; font-weight: 500; display: none; }
.form-response.success { background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.3); color: #15803d; }
.form-response.error { background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.3); color: #b91c1c; }

/* ════════════════════════════════
   ABOUT PAGE
════════════════════════════════ */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 8px; bottom: 0; width: 2px; background: var(--blue-lite); }
.timeline-item { position: relative; margin-bottom: 2.25rem; }
.timeline-item::before {
  content: ''; position: absolute; left: -1.65rem; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--red); border: 2px solid var(--white); box-shadow: 0 0 0 2px var(--red);
}
.timeline-year { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; color: var(--red); text-transform: uppercase; margin-bottom: 0.2rem; }
.timeline-item h4 { font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 0.35rem; }
.timeline-item p { font-size: 0.83rem; line-height: 1.65; }

/* ════════════════════════════════
   BLOG / ARCHIVE
════════════════════════════════ */
.archive-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; padding: clamp(3rem,6vw,5rem) 0; }
.archive-card { background: var(--white); border: 1px solid var(--mist); border-radius: 14px; overflow: hidden; transition: all .3s; }
.archive-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.archive-card-img { aspect-ratio: 16/9; background: var(--blue); overflow: hidden; }
.archive-card-img img { width: 100%; height: 100%; object-fit: cover; }
.archive-card-body { padding: 1.5rem; }
.archive-card-body h2 { font-size: 1rem; font-family: 'DM Sans', sans-serif; font-weight: 700; color: var(--blue-dark); margin-bottom: .5rem; line-height: 1.4; }
.archive-card-body h2 a { color: inherit; }
.archive-card-body h2 a:hover { color: var(--red); }
.archive-card-meta { padding: 0 1.5rem 1.5rem; display: flex; justify-content: space-between; align-items: center; }
.archive-card-date { font-size: .72rem; color: var(--text-lite); font-weight: 600; }
.archive-card-read { font-size: .75rem; color: var(--red); font-weight: 700; }
.pagination { text-align: center; padding: 2rem 0; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 6px; font-size: .85rem; font-weight: 600; color: var(--blue); border: 1px solid var(--mist); margin: 0 2px; transition: all .2s; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }


.team-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  margin-top: 0.85rem;
  padding: 0.45rem 0;
  border-top: 1px solid var(--mist);
  width: 100%;
  transition: color 0.2s, gap 0.2s;
}
.team-read-more:hover { color: var(--red); gap: 0.5rem; }
/* ════════════════════════════════
   RESPONSIVE — INNER PAGES
════════════════════════════════ */
@media (max-width: 1080px) {
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .proj-full-body { grid-template-columns: 1fr; }
  .team-founder-card { grid-template-columns: 1fr; }
  .stats-bar-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px) {
  .team-grid { grid-template-columns: 1fr; }
  .pub-full-item { grid-template-columns: 1fr; }
  .pub-actions { flex-direction: row; }
  .archive-grid { grid-template-columns: 1fr; }
  .stats-bar-grid { grid-template-columns: repeat(2,1fr); }
}
