/* ===========================
   ROOT & DESIGN TOKENS
=========================== */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');

:root {
  --teal:       #1A7B74;
  --teal-dark:  #135F5A;
  --teal-light: #E8F5F4;
  --amber:      #F5A623;
  --amber-dark: #D4891A;
  --bg:         #F7F5F0;
  --white:      #FFFFFF;
  --text:       #2C2C2C;
  --text-muted: #5E6E6D;
  --border:     #D8E8E7;
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  28px;
  --shadow-sm:  0 2px 8px rgba(26,123,116,0.08);
  --shadow-md:  0 6px 24px rgba(26,123,116,0.14);
  --font:       'Nunito', system-ui, sans-serif;
  --max-width:  1200px;
  --transition: 0.22s ease;
}

/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

/* Ensure [hidden] always wins over component display rules */
[hidden] { display: none !important; }
a { color: var(--teal); text-decoration: underline; }
a:hover { color: var(--teal-dark); }

/* ===========================
   SKIP LINK (Accessibility)
=========================== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--amber);
  color: var(--text);
  font-weight: 800;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-size: 1rem;
  text-decoration: none;
  transition: top var(--transition);
}
.skip-link:focus { top: 1rem; }

/* ===========================
   HEADER & NAV
=========================== */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--teal-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon img { width: 80px;}

.logo-text {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--teal);
  line-height: 1.2;
}

.logo-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Main nav */
.main-nav { display: flex; align-items: center; gap: 0.25rem; }

.nav-item { position: relative; }

.nav-link {
  display: block;
  padding: 0.5rem 0.85rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link[aria-expanded="true"] {
  background: var(--teal-light);
  color: var(--teal);
}

.nav-link.has-children::after {
  content: '▾';
  margin-left: 4px;
  font-size: 0.75rem;
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity var(--transition), transform var(--transition);
  z-index: 200;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.dropdown a:hover { background: var(--teal-light); color: var(--teal); }

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-search {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition);
  display: flex;
  align-items: center;
}
.btn-search:hover { background: var(--teal-light); color: var(--teal); }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--teal);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.6rem;
  cursor: pointer;
  color: var(--teal);
  font-size: 1.2rem;
  line-height: 1;
}

/* ===========================
   SEARCH BAR
=========================== */
.search-bar {
  background: var(--teal-light);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.search-bar.open {
  max-height: 100px;
  padding: 1rem 1.5rem;
}
.search-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  gap: 0.75rem;
}
.search-bar input {
  flex: 1;
  padding: 0.75rem 1.25rem;
  border: 2px solid var(--border);
  border-radius: 999px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  outline: none;
}
.search-bar input:focus { border-color: var(--teal); }
.search-bar button {
  background: var(--teal);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
}
.search-bar button:hover { background: var(--teal-dark); }

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), transform 0.15s;
  line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--teal);
  color: white;
}
.btn-primary:hover { background: var(--teal-dark); color: white; }

.btn-amber {
  background: var(--amber);
  color: var(--text);
}
.btn-amber:hover { background: var(--amber-dark); color: var(--text); }

.btn-outline {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-outline:hover { background: var(--teal); color: white; }

.btn-white {
  background: var(--white);
  color: var(--teal);
}
.btn-white:hover { background: var(--teal-light); color: var(--teal-dark); }

/* ===========================
   SECTION LAYOUTS
=========================== */
.section {
  padding: 5rem 1.5rem;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  background: var(--amber);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.section-heading {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 2.5rem;
  font-weight: 600;
}

.section-teal {
  background: var(--teal);
  color: white;
}
.section-teal .section-heading { color: white; }
.section-teal .section-sub { color: rgba(255,255,255,0.8); }

.section-light { background: var(--teal-light); }

/* Wave divider */
.wave-divider {
  display: block;
  width: 100%;
  line-height: 0;
  overflow: hidden;
}
.wave-divider svg { display: block; width: 100%; }

/* ===========================
   HERO
=========================== */
.hero {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: white;
  padding: 6rem 0rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 420px;
  height: 420px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-bottom: 4rem;
}

.hero-content { position: relative; z-index: 1; }

.hero-label {
  display: inline-block;
  background: var(--amber);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: white;
}

.hero-title em {
  font-style: normal;
  color: var(--amber);
}

.hero-desc {
  font-size: 1.15rem;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-image-wrap {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: rgba(255,255,255,0.1);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-image-placeholder svg {
  width: 80px;
  height: 80px;
  opacity: 0.4;
}

/* ===========================
   STATS BAR
=========================== */
.stats-bar {
  background: var(--white);
  padding: 2.5rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.stats-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item { padding: 1rem; }

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* ===========================
   CARDS
=========================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.card-img {
  aspect-ratio: 16/9;
  background: var(--teal-light);
  overflow: hidden;
  position: relative;
}

.card-img img { width: 100%; height: 100%; object-fit: cover; }

.card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--teal-light), #d0eae9);
}

.card-img-placeholder svg {
  width: 48px;
  height: 48px;
  color: var(--teal);
  opacity: 0.4;
}

.card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-category {
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-bottom: 0.6rem;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.card-title a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}
.card-title a:hover { color: var(--teal); }

.card-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex: 1;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.card-meta-dot { color: var(--amber); }

/* Service card variant */
.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid var(--teal);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--teal-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.service-icon i {font-size:1.5rem; color: var(--teal); }

.section-inner-list.facilities-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2rem;
}
.section-inner-list.facilities-list .facilities-box {
 width:calc(50% - 1rem);
}

.section-inner-list.facilities-list .facilities-box  .section-heading {
  font-size: 1.5rem;
}
.facilities-image-placeholder {
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.facilities-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.service-link {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--teal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap var(--transition);
}
.service-link:hover { gap: 0.6rem; color: var(--teal-dark); }

/* ===========================
   PRESIDENT MESSAGE STRIP
=========================== */
.president-strip {
  background: var(--teal);
  color: white;
  padding: 4rem 1.5rem;
}

.president-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
}

.president-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 4px solid var(--amber);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.president-photo svg { width: 70px; height: 70px; opacity: 0.5; fill: white; }

.president-quote {
  font-size: clamp(1.1rem, 2vw, 1rem);
  font-weight: 700;
  line-height: 1.6;
  color: rgba(255,255,255,0.92);
  margin-bottom: 1rem;
}
.president-quote p {
  margin-bottom: 0.75rem;
}

.president-name {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--amber);
  letter-spacing: 0.04em;
}

/* ===========================
   CTA BANNER
=========================== */
.cta-banner {
  background: var(--amber);
  padding: 4rem 1.5rem;
  text-align: center;
}

.cta-banner .section-heading { color: var(--text); }
.cta-banner .section-sub { color: var(--text); opacity: 0.8; margin: 0 auto 2rem; }

.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===========================
   CERTIFICATIONS
=========================== */
.cert-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  margin-top: 2.5rem;
}

.cert-item {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 2rem;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.cert-item:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); }

/* ===========================
   DONATIONS
=========================== */
.donation-box {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 3rem;
  color: white;
  text-align: center;
}

.donation-box h3 {
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
}

.donation-box p {
  font-size: 1rem;
  opacity: 0.85;
  margin-bottom: 2rem;
  font-weight: 600;
}

.donation-amounts {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.donation-amt {
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.3);
  color: white;
  border-radius: 999px;
  padding: 0.6rem 1.5rem;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
  font-family: var(--font);
}

.donation-amt:hover,
.donation-amt.active {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--text);
}

/* ===========================
   FOOTER
=========================== */
.site-footer {
  background: #1A2B2A;
  color: rgba(255,255,255,0.8);
  padding: 4rem 1.5rem 2rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2rem;
}

.footer-brand .logo-text { color: white; }
.footer-brand .logo-text span { color: rgba(255,255,255,0.5); }

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin: 1rem 0 1.5rem;
  line-height: 1.6;
  font-weight: 600;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  transition: background var(--transition);
}
.social-link:hover { background: var(--teal); color: white; }

.footer-col-title {
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color var(--transition);
}
.footer-links a:hover { color: white; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  font-weight: 600;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-bottom-links a:hover { color: white; }

/* ===========================
   LIST PAGE
=========================== */
.page-hero {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  padding: 5rem 1.5rem 3rem;
  color: white;
}

.page-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: white;
  margin-bottom: 0.75rem;
}

.page-hero p {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
  max-width: 600px;
}

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}
.breadcrumb a:hover { color: white; }

.breadcrumb-sep { opacity: 0.4; }

/* Filter bar */
.filter-bar {
  background: var(--white);
  border-bottom: 2px solid var(--border);
  padding: 1rem 1.5rem;
  position: sticky;
  top: 72px;
  z-index: 50;
}

.filter-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.filter-label {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.filter-chips {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.chip {
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: var(--bg);
  border: 2px solid var(--border);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  color: var(--text);
}
.chip:hover { border-color: var(--teal); color: var(--teal); }
.chip.active {
  background: var(--teal);
  border-color: var(--teal);
  color: white;
}

/* List layout */
.list-layout {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}

.list-main {}

.list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.list-count {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
}

.sort-select {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.88rem;
  background: var(--white);
  cursor: pointer;
  color: var(--text);
}

.article-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Horizontal article card */
.article-card-h {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 200px 1fr;
  transition: transform var(--transition), box-shadow var(--transition);
}
.article-card-h:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.article-card-h .card-img {
  aspect-ratio: unset;
  height: 100%;
  min-height: 160px;
}

.article-card-h .card-body { padding: 1.5rem; }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.page-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--white);
  font-family: var(--font);
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
}
.page-btn:hover { border-color: var(--teal); color: var(--teal); }
.page-btn.active { background: var(--teal); border-color: var(--teal); color: white; }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 2rem; }

.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-title {
  font-size: 1rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--teal-light);
}

.sidebar-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.sidebar-list li a {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0;
  transition: color var(--transition);
}
.sidebar-list li a::before { content: '→'; color: var(--teal); font-size: 0.85rem; }
.sidebar-list li a:hover { color: var(--teal); }

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  padding: 0.35rem 0.85rem;
  background: var(--teal-light);
  color: var(--teal);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}
.tag:hover { background: var(--teal); color: white; }

/* ===========================
   ARTICLE PAGE
=========================== */
.article-layout {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}

.article-header { margin-bottom: 2.5rem; }

.article-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.article-cat {
  background: var(--teal);
  color: white;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  text-decoration: none;
}

.article-date {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

.article-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 1rem;
}

.article-intro {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.article-hero-img {
  width: 100%;
  aspect-ratio: 16/6;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 2.5rem;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-placeholder {
  width: 100%;
  aspect-ratio: 16/6;
  background: linear-gradient(135deg, var(--teal-light), #d0eae9);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.5rem;
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 700;
  gap: 0.75rem;
}
.img-placeholder img {
  width: 100%;
  height:auto;object-fit: cover;
  border-radius: var(--radius-md);
}

.article-body { font-size: 1.05rem; line-height: 1.8; color: var(--text); }

.article-body h2 {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text);
  margin: 2.5rem 0 1rem;
}

.article-body h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--teal);
  margin: 2rem 0 0.75rem;
}

.article-body p { margin-bottom: 1.25rem; }

.article-body ul, .article-body ol {
  margin-bottom: 1.25rem;
  padding-left: 1.75rem;
}

.article-body li { margin-bottom: 0.4rem; }

.article-body blockquote {
  border-left: 5px solid var(--amber);
  padding: 1rem 1.5rem;
  background: var(--teal-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 2rem 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal-dark);
}

.article-body a { color: var(--teal); font-weight: 700; }

/* Share bar */
.share-bar {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 1.5rem 0;
  border-top: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
  margin: 2.5rem 0;
  flex-wrap: wrap;
}

.share-label {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.share-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  border: 2px solid var(--border);
  background: var(--white);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: background var(--transition), border-color var(--transition);
  text-decoration: none;
  color: var(--text);
}
.share-btn:hover { border-color: var(--teal); color: var(--teal); }

/* Related articles */
.related-section {
  padding: 4rem 1.5rem;
  background: var(--teal-light);
}

.related-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ===========================
   ACCESSIBILITY FOCUS
=========================== */
:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}
.donation-list {
  display:flex; justify-content:space-between; align-items:flex-end;gap:1rem; margin-bottom:2.5rem;
}
/* ===========================
   RESPONSIVE
=========================== */
@media (max-width:1399px) {
   .main-nav { display: none; }
  .menu-toggle { display: flex; align-items: center; }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    padding: 1.5rem;
    overflow-y: auto;
    gap: 0.25rem;
    z-index: 99;
  }

  .main-nav.open .nav-link { font-size: 1.1rem; padding: 0.75rem 1rem;text-align: center; }

  .main-nav.open .dropdown {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--teal-light);
    border-radius: var(--radius-sm);
    margin-top: 0.25rem;
  }
}



@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .list-layout, .article-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
}

@media (max-width: 768px) {
  html { font-size: 16px; }

  .main-nav { display: none; }
  .menu-toggle { display: flex; align-items: center; }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    padding: 1.5rem;
    overflow-y: auto;
    gap: 0.25rem;
    z-index: 99;
  }

  .main-nav.open .nav-link { font-size: 1.1rem; padding: 0.75rem 1rem; }

  .main-nav.open .dropdown {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--teal-light);
    border-radius: var(--radius-sm);
    margin-top: 0.25rem;
  }

  .section-inner-list.facilities-list {
    flex-direction: column;
  }
  .section-inner-list.facilities-list .facilities-box { width: 100%; }
  .facilities-box .section-heading { font-size: 1.25rem; }
  .facilities-image-placeholder { height: 400px; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }

  .president-inner { grid-template-columns: 1fr; text-align: center; }
  .president-photo { margin: 0 auto; }

  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .article-card-h { grid-template-columns: 1fr; }
  .article-card-h .card-img { min-height: 180px; }

  .section { padding: 3rem 1.5rem; }
  .hero { padding: 4rem 1.5rem 0; }
  .donation-list {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 480px) {
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .cta-actions { flex-direction: column; align-items: center; }
  .logo-icon { width: 65px;}
  .logo-icon img { width: 65px; }
  .logo-text { font-size: 1rem; }
  .search-bar-inner { flex-direction: column; gap: 0.75rem; }
  .search-bar.open {max-height: 200px;}
  .donation-box {margin-top: 2rem; }
  .search-bar-inner form { flex-direction: column; gap: 0.75rem; }
  .site-logo {gap: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
