/*
Theme Name: Gods Chosen Orphanage
Theme URI: https://godschosenorphanage.org
Author: God's Chosen Orphanage Home
Author URI: https://godschosenorphanage.org
Description: A warm, modern charity theme built for God's Chosen Orphanage Home, Nziri West Village, Nebbi District, Uganda. Includes profile, education distribution, financial reports, enrollment register, challenges and donation sections.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gods-chosen
Tags: charity, nonprofit, one-page, green, custom-colors, custom-menu, featured-images, blog
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
  --gc-green-900: #0f3d28;
  --gc-green-700: #176b45;
  --gc-green-600: #1f7a4d;
  --gc-green-500: #2a9360;
  --gc-green-100: #e6f4ec;
  --gc-gold-600: #d98b12;
  --gc-gold-500: #f2b134;
  --gc-gold-100: #fdf3dc;
  --gc-clay: #b4532a;
  --gc-ink: #1c2722;
  --gc-body: #47534d;
  --gc-muted: #7b8a83;
  --gc-cream: #fbf9f4;
  --gc-white: #ffffff;
  --gc-line: #e4e9e5;
  --gc-shadow-sm: 0 2px 8px rgba(15, 61, 40, 0.08);
  --gc-shadow: 0 14px 40px rgba(15, 61, 40, 0.12);
  --gc-shadow-lg: 0 30px 70px rgba(15, 61, 40, 0.18);
  --gc-radius: 16px;
  --gc-radius-sm: 10px;
  --gc-radius-pill: 999px;
  --gc-max: 1180px;
  --gc-font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --gc-display: "Poppins", "Inter", system-ui, sans-serif;
}

/* ==========================================================================
   2. Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--gc-font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--gc-body);
  background: var(--gc-cream);
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--gc-display);
  color: var(--gc-ink);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin: 0 0 1.1rem; }
a { color: var(--gc-green-600); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gc-green-800, #0f3d28); }
img { max-width: 100%; height: auto; display: block; }
ul { padding-left: 1.2rem; }

/* ==========================================================================
   3. Layout helpers
   ========================================================================== */
.gc-container { width: 100%; max-width: var(--gc-max); margin: 0 auto; padding: 0 22px; }
.gc-section { padding: clamp(56px, 8vw, 104px) 0; }
.gc-section--tint { background: var(--gc-white); }
.gc-section--green { background: var(--gc-green-700); color: #dbeadf; }
.gc-section--green h2, .gc-section--green h3 { color: #fff; }
.gc-narrow { max-width: 820px; margin-left: auto; margin-right: auto; }
.gc-center { text-align: center; }
.gc-skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--gc-green-600); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.gc-skip-link:focus { left: 0; }

/* Eyebrow / section title */
.gc-eyebrow {
  display: inline-block;
  font-family: var(--gc-display);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gc-green-600);
  background: var(--gc-green-100);
  padding: 7px 16px;
  border-radius: var(--gc-radius-pill);
  margin-bottom: 18px;
}
.gc-section--green .gc-eyebrow { color: #fff; background: rgba(255,255,255,.16); }
.gc-section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.gc-section-head p { font-size: 1.05rem; margin-bottom: 0; }

/* ==========================================================================
   4. Buttons
   ========================================================================== */
.gc-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--gc-display); font-weight: 600; font-size: .98rem;
  padding: 14px 28px; border-radius: var(--gc-radius-pill);
  border: 2px solid transparent; cursor: pointer; transition: all .22s ease;
  text-align: center; line-height: 1;
}
.gc-btn--primary { background: var(--gc-gold-500); color: #3d2b05; border-color: var(--gc-gold-500); }
.gc-btn--primary:hover { background: var(--gc-gold-600); border-color: var(--gc-gold-600); color: #fff; transform: translateY(-2px); }
.gc-btn--green { background: var(--gc-green-600); color: #fff; border-color: var(--gc-green-600); }
.gc-btn--green:hover { background: var(--gc-green-700); border-color: var(--gc-green-700); color: #fff; transform: translateY(-2px); }
.gc-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.gc-btn--ghost:hover { background: #fff; color: var(--gc-green-700); border-color: #fff; }
.gc-btn--outline { background: transparent; color: var(--gc-green-700); border-color: var(--gc-green-600); }
.gc-btn--outline:hover { background: var(--gc-green-600); color: #fff; }
.gc-btn + .gc-btn { margin-left: 10px; }

/* ==========================================================================
   5. Header / navigation
   ========================================================================== */
.gc-topbar {
  background: var(--gc-green-900); color: #a9cbb8; font-size: .84rem;
  padding: 8px 0;
}
.gc-topbar .gc-container { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; justify-content: space-between; }
.gc-topbar a { color: #d6e8dd; }
.gc-topbar a:hover { color: var(--gc-gold-500); }
.gc-topbar-info { display: flex; flex-wrap: wrap; gap: 8px 20px; }

.gc-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gc-line);
  transition: box-shadow .25s ease;
}
.gc-header.is-stuck { box-shadow: var(--gc-shadow-sm); }
.gc-header .gc-container { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 14px; padding-bottom: 14px; }

.gc-brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.gc-brand__mark-img {
  width: 46px; height: 46px; flex: 0 0 46px; border-radius: 14px; object-fit: contain; box-shadow: var(--gc-shadow-sm);
}
.gc-brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.gc-brand__name { font-family: var(--gc-display); font-weight: 700; color: var(--gc-ink); font-size: 1rem; white-space: nowrap; }
.gc-brand__tag { font-size: .72rem; color: var(--gc-muted); letter-spacing: .04em; white-space: nowrap; }

.gc-nav ul { list-style: none; display: flex; align-items: center; gap: 1px; margin: 0; padding: 0; flex-wrap: nowrap; }
.gc-nav li { flex: 0 0 auto; }
.gc-nav a {
  display: block; padding: 9px 11px; border-radius: var(--gc-radius-pill);
  color: var(--gc-ink); font-weight: 500; font-size: .9rem; white-space: nowrap;
}
.gc-nav a:hover, .gc-nav .current-menu-item > a { background: var(--gc-green-100); color: var(--gc-green-700); }
.gc-nav .menu-item-has-children > a::after { content: " ▾"; font-size: .7em; }
.gc-nav-cta { margin-left: 8px; }
.gc-nav-cta a {
  background: var(--gc-gold-500); color: #3d2b05 !important; font-weight: 600;
}
.gc-nav-cta a:hover { background: var(--gc-gold-600); color: #fff !important; }

/* --- Dropdown sub-menus (desktop) --------------------------------------- */
.gc-nav li.menu-item-has-children { position: relative; }
.gc-nav .sub-menu {
  position: absolute; top: 100%; left: 0; z-index: 200;
  display: block; min-width: 230px; margin: 0; padding: 8px;
  list-style: none; flex-direction: column; align-items: stretch; gap: 2px;
  background: #fff; border: 1px solid var(--gc-line); border-radius: var(--gc-radius-sm);
  box-shadow: var(--gc-shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.gc-nav li.menu-item-has-children:hover > .sub-menu,
.gc-nav li.menu-item-has-children:focus-within > .sub-menu,
.gc-nav li.menu-item-has-children.is-open > .sub-menu {
  opacity: 1; visibility: visible; transform: none;
}
.gc-nav .sub-menu li { flex: 1 1 auto; width: 100%; }
.gc-nav .sub-menu a {
  padding: 10px 14px; border-radius: 8px; white-space: normal; font-size: .88rem;
}
/* third level flies out to the right */
.gc-nav .sub-menu .sub-menu { top: -8px; left: 100%; }

.gc-menu-toggle {
  display: none; background: var(--gc-green-100); border: 0; border-radius: 12px;
  width: 46px; height: 46px; cursor: pointer; color: var(--gc-green-700);
  font-size: 1.4rem; place-items: center;
}

/* ==========================================================================
   6. Hero
   ========================================================================== */
.gc-hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    linear-gradient(120deg, rgba(12,48,32,.92) 0%, rgba(23,107,69,.86) 55%, rgba(23,107,69,.6) 100%),
    radial-gradient(circle at 80% 20%, #2a9360 0%, #0f3d28 70%);
  padding: clamp(72px, 11vw, 150px) 0 clamp(80px, 12vw, 140px);
}
.gc-hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.14) 1.5px, transparent 1.5px);
  background-size: 26px 26px; opacity: .5; pointer-events: none;
}
.gc-hero__inner { position: relative; z-index: 2; max-width: 780px; }
.gc-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 9px; font-size: .8rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: #ffe6b0;
  background: rgba(242,177,52,.14); border: 1px solid rgba(242,177,52,.4);
  padding: 8px 16px; border-radius: var(--gc-radius-pill); margin-bottom: 24px;
}
.gc-hero h1 { color: #fff; margin-bottom: 20px; }
.gc-hero h1 .gc-hl { color: var(--gc-gold-500); }
.gc-hero p { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: #d4e6da; max-width: 620px; }
.gc-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.gc-hero__meta {
  display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 44px;
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,.18);
}
.gc-hero__meta-item { display: flex; flex-direction: column; }
.gc-hero__meta-item b { font-family: var(--gc-display); font-size: 1.7rem; color: var(--gc-gold-500); line-height: 1; }
.gc-hero__meta-item span { font-size: .82rem; color: #c3dccb; letter-spacing: .05em; text-transform: uppercase; margin-top: 8px; }

/* ==========================================================================
   7. Stat cards
   ========================================================================== */
.gc-stats { margin-top: -58px; position: relative; z-index: 5; }
.gc-stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.gc-stat {
  background: #fff; border-radius: var(--gc-radius); padding: 30px 26px;
  box-shadow: var(--gc-shadow); border: 1px solid var(--gc-line);
}
.gc-stat__icon {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: var(--gc-green-100); color: var(--gc-green-600); font-size: 1.4rem; margin-bottom: 16px;
}
.gc-stat:nth-child(2) .gc-stat__icon { background: var(--gc-gold-100); color: var(--gc-gold-600); }
.gc-stat:nth-child(3) .gc-stat__icon { background: #fdeae1; color: var(--gc-clay); }
.gc-stat__num { font-family: var(--gc-display); font-size: 2.1rem; font-weight: 700; color: var(--gc-ink); line-height: 1; }
.gc-stat__label { font-weight: 600; color: var(--gc-green-700); margin-top: 6px; }
.gc-stat__sub { font-size: .86rem; color: var(--gc-muted); }

/* ==========================================================================
   8. About / content + media split
   ========================================================================== */
.gc-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 68px); align-items: center; }
.gc-prose p:last-child { margin-bottom: 0; }
.gc-lead { font-size: 1.12rem; color: var(--gc-ink); font-weight: 500; }

.gc-highlight {
  background: var(--gc-green-100); border-left: 4px solid var(--gc-green-600);
  border-radius: 0 var(--gc-radius-sm) var(--gc-radius-sm) 0;
  padding: 20px 24px; margin: 26px 0 0; font-size: .98rem; color: var(--gc-green-900);
}
.gc-highlight strong { color: var(--gc-green-700); }

/* School cards */
.gc-schools { display: grid; gap: 18px; }
.gc-school {
  display: flex; gap: 16px; background: #fff; border: 1px solid var(--gc-line);
  border-radius: var(--gc-radius); padding: 22px; box-shadow: var(--gc-shadow-sm);
}
.gc-school__badge {
  flex: 0 0 54px; width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--gc-green-600); color: #fff; font-size: 1.5rem;
}
.gc-school:nth-child(2) .gc-school__badge { background: var(--gc-gold-500); color: #3d2b05; }
.gc-school h3 { margin: 0 0 4px; font-size: 1.1rem; }
.gc-school p { margin: 0; font-size: .93rem; }

/* ==========================================================================
   9. Tables
   ========================================================================== */
.gc-table-wrap {
  overflow-x: auto; border-radius: var(--gc-radius); border: 1px solid var(--gc-line);
  box-shadow: var(--gc-shadow-sm); background: #fff; -webkit-overflow-scrolling: touch;
}
table.gc-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .94rem; }
table.gc-table thead th {
  background: var(--gc-green-700); color: #fff; text-align: left; padding: 15px 18px;
  font-family: var(--gc-display); font-weight: 600; font-size: .86rem;
  letter-spacing: .03em; text-transform: uppercase; white-space: nowrap;
}
table.gc-table tbody td { padding: 13px 18px; border-bottom: 1px solid var(--gc-line); vertical-align: middle; }
table.gc-table tbody tr:nth-child(even) { background: var(--gc-cream); }
table.gc-table tbody tr:hover { background: var(--gc-green-100); }
table.gc-table tbody tr:last-child td { border-bottom: 0; }
table.gc-table .gc-num { text-align: center; font-weight: 600; color: var(--gc-green-700); white-space: nowrap; }
table.gc-table td strong { color: var(--gc-ink); }
.gc-tag {
  display: inline-block; font-size: .74rem; font-weight: 600; padding: 3px 10px; border-radius: var(--gc-radius-pill);
  background: var(--gc-green-100); color: var(--gc-green-700); white-space: nowrap;
}
.gc-tag--warn { background: var(--gc-gold-100); color: var(--gc-gold-600); }
.gc-tag--alert { background: #fdeae1; color: var(--gc-clay); }
.gc-tag--muted { background: #eef1ef; color: var(--gc-muted); }

/* Percentage bars in finance table */
.gc-bar { position: relative; height: 8px; border-radius: 999px; background: #eef1ef; min-width: 90px; overflow: hidden; }
.gc-bar span { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: var(--gc-green-500); }
.gc-bar--gold span { background: var(--gc-gold-500); }
.gc-bar__label { display: block; font-size: .8rem; color: var(--gc-muted); margin-top: 5px; }

/* ==========================================================================
   10. Card grids
   ========================================================================== */
.gc-grid { display: grid; gap: 22px; }
.gc-grid--3 { grid-template-columns: repeat(3, 1fr); }
.gc-grid--2 { grid-template-columns: repeat(2, 1fr); }
.gc-grid--4 { grid-template-columns: repeat(4, 1fr); }

.gc-card {
  background: #fff; border: 1px solid var(--gc-line); border-radius: var(--gc-radius);
  padding: 28px; box-shadow: var(--gc-shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
  height: 100%;
}
.gc-card:hover { transform: translateY(-4px); box-shadow: var(--gc-shadow); }
.gc-card__icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--gc-green-100); color: var(--gc-green-600); font-size: 1.5rem; margin-bottom: 18px;
}
.gc-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.gc-card p { font-size: .94rem; margin-bottom: 0; }
.gc-card__no {
  font-family: var(--gc-display); font-weight: 700; font-size: .85rem; color: var(--gc-gold-600);
  letter-spacing: .1em; display: block; margin-bottom: 12px;
}

/* Challenge cards on green */
.gc-section--green .gc-card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); box-shadow: none; color: #d9ebe0; }
.gc-section--green .gc-card:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.gc-section--green .gc-card h3 { color: #fff; }
.gc-section--green .gc-card__icon { background: rgba(242,177,52,.16); color: var(--gc-gold-500); }

/* Income source chips */
.gc-source-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 8px; }
.gc-source {
  display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--gc-line);
  border-radius: var(--gc-radius-sm); padding: 18px 20px; box-shadow: var(--gc-shadow-sm);
}
.gc-source__ico { font-size: 1.6rem; line-height: 1; }
.gc-source b { display: block; color: var(--gc-ink); font-size: .96rem; }
.gc-source span { font-size: .82rem; color: var(--gc-muted); }

/* Dream / daily life list */
.gc-dreams { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.gc-pill {
  background: #fff; border: 1px solid var(--gc-line); border-radius: var(--gc-radius-pill);
  padding: 10px 20px; font-weight: 600; color: var(--gc-green-700); font-size: .92rem; box-shadow: var(--gc-shadow-sm);
}

/* ==========================================================================
   11. Donate / contact
   ========================================================================== */
.gc-donate {
  background: linear-gradient(135deg, var(--gc-green-700) 0%, var(--gc-green-900) 100%);
  color: #d9ebe0; position: relative; overflow: hidden;
}
.gc-donate::before {
  content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242,177,52,.25), transparent 70%);
  top: -160px; right: -120px;
}
.gc-donate .gc-container { position: relative; z-index: 2; }
/* Keep the heading clear of the sticky header when a link jumps to #donate. */
#donate { scroll-margin-top: 92px; }
.gc-donate h2 { color: #fff; }
.gc-contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.gc-contact-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--gc-radius); padding: 26px;
}
.gc-contact-card__ico { font-size: 1.6rem; margin-bottom: 12px; }
.gc-contact-card h3 { color: #fff; font-size: 1rem; margin-bottom: 6px; }
.gc-contact-card a, .gc-contact-card p { color: #cfe4d7; margin: 0; font-size: .95rem; word-break: break-word; }
.gc-contact-card a:hover { color: var(--gc-gold-500); }
.gc-phone-list { display: flex; flex-direction: column; gap: 4px; }

/* Donation: mobile money number + bank request form */
.gc-donate-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 34px; }
.gc-momo-number {
  display: inline-block; margin-top: 12px; font-size: 1.5rem; font-weight: 700;
  color: var(--gc-gold-500); letter-spacing: .5px; word-break: break-word;
}
.gc-momo-number:hover { color: #fff; }
.gc-momo-name { margin-top: 8px !important; font-weight: 600; color: #eaf3ec !important; }
.gc-donate-form { margin-top: 18px; }
.gc-donate-form p { margin: 0 0 12px; }
.gc-donate-form label { display: block; font-weight: 600; margin-bottom: 6px; color: #eaf3ec; font-size: .9rem; }
.gc-donate-form input[type="text"],
.gc-donate-form input[type="email"],
.gc-donate-form input[type="tel"],
.gc-donate-form textarea {
  width: 100%; padding: 10px 12px; border: 1px solid rgba(255,255,255,.25);
  border-radius: 9px; font: inherit; color: #fff; background: rgba(255,255,255,.08);
}
.gc-donate-form input::placeholder,
.gc-donate-form textarea::placeholder { color: rgba(255,255,255,.55); }
.gc-donate-form input:focus,
.gc-donate-form textarea:focus { outline: none; border-color: var(--gc-gold-500); box-shadow: 0 0 0 3px rgba(242,177,52,.25); }
.gc-hp { position: absolute; left: -9999px; }

.gc-ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gc-way {
  background: #fff; border: 1px solid var(--gc-line); border-radius: var(--gc-radius);
  padding: 26px; box-shadow: var(--gc-shadow-sm);
}
.gc-way__ico { font-size: 1.7rem; margin-bottom: 14px; }
.gc-way h3 { font-size: 1.05rem; margin-bottom: 6px; }
.gc-way p { font-size: .93rem; margin: 0; }

/* ==========================================================================
   12. Article / blog fallbacks
   ========================================================================== */
.gc-page-head { background: var(--gc-green-700); color: #fff; padding: clamp(48px, 7vw, 84px) 0; }
.gc-page-head h1 { color: #fff; margin: 0; }
.gc-page-head p { color: #cfe4d7; margin: 10px 0 0; }
.gc-entry { padding: clamp(48px, 7vw, 84px) 0; }
.gc-entry img { border-radius: var(--gc-radius); }
.gc-posts { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.gc-post-card { background: #fff; border: 1px solid var(--gc-line); border-radius: var(--gc-radius); overflow: hidden; box-shadow: var(--gc-shadow-sm); height: 100%; }
.gc-post-card__body { padding: 24px; }
.gc-post-card h3 { font-size: 1.12rem; }
.gc-post-card h3 a { color: var(--gc-ink); }
.gc-post-card h3 a:hover { color: var(--gc-green-600); }
.gc-post-meta { font-size: .8rem; color: var(--gc-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }

/* ==========================================================================
   13. Footer
   ========================================================================== */
.gc-footer { background: #0a2b1d; color: #9dbcab; font-size: .92rem; padding: 66px 0 0; }
.gc-footer h3 { color: #fff; font-size: 1.02rem; margin-bottom: 18px; }
.gc-footer a { color: #9dbcab; }
.gc-footer a:hover { color: var(--gc-gold-500); }
.gc-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 46px; }
.gc-footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.gc-footer__brand .gc-brand__name { color: #fff; }
.gc-footer__brand .gc-brand__tag { color: #7fa38e; }
.gc-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.gc-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.09); padding: 22px 0; text-align: center;
  font-size: .84rem; color: #7fa38e;
}

/* ==========================================================================
   14. Animations & reveal
   ========================================================================== */
.gc-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.gc-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .gc-reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   15. Responsive
   ========================================================================== */
@media (max-width: 1200px) {
  .gc-menu-toggle { display: grid; }
  .gc-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--gc-line);
    box-shadow: var(--gc-shadow); display: none;
  }
  .gc-nav.is-open { display: block; }
  .gc-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 12px; flex-wrap: wrap; }
  .gc-nav li { flex: 1 1 auto; }
  .gc-nav a { padding: 13px 16px; border-radius: var(--gc-radius-sm); white-space: normal; }
  .gc-nav-cta { margin: 8px 0 0; }
  .gc-nav-cta a { text-align: center; }
  /* sub-menus become tap-to-open accordions in the drawer */
  .gc-nav .sub-menu {
    position: static; opacity: 1; visibility: hidden; transform: none;
    display: none; box-shadow: none; border: 0; border-left: 2px solid var(--gc-green-100);
    border-radius: 0; margin: 0 0 0 18px; padding: 0 0 0 10px; min-width: 0;
  }
  .gc-nav li.menu-item-has-children.is-open > .sub-menu,
  .gc-nav li.menu-item-has-children:focus-within > .sub-menu { display: block; visibility: visible; }
  .gc-nav .sub-menu .sub-menu { margin-left: 14px; }
}
@media (max-width: 1024px) {
  .gc-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .gc-grid--4, .gc-source-list { grid-template-columns: repeat(2, 1fr); }
  .gc-grid--3, .gc-posts, .gc-ways, .gc-contact-grid { grid-template-columns: repeat(2, 1fr); }
  .gc-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .gc-split { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  body { font-size: 16px; }
  .gc-menu-toggle { display: grid; }
  .gc-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--gc-line);
    box-shadow: var(--gc-shadow); display: none;
  }
  .gc-nav.is-open { display: block; }
  .gc-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 12px; }
  .gc-nav a { padding: 13px 16px; border-radius: var(--gc-radius-sm); }
  .gc-nav-cta { margin: 8px 0 0; }
  .gc-nav-cta a { text-align: center; }
  .gc-header { position: relative; }
  .gc-topbar-info span:last-child { display: none; }
  .gc-grid--2, .gc-grid--3, .gc-grid--4, .gc-source-list, .gc-posts, .gc-ways, .gc-contact-grid, .gc-donate-grid { grid-template-columns: 1fr; }
  .gc-stats__grid { grid-template-columns: 1fr; gap: 14px; }
  .gc-stats { margin-top: -40px; }
  .gc-footer__grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 480px) {
  .gc-hero__meta { gap: 18px 26px; }
  .gc-stat { padding: 24px 20px; }
  .gc-btn + .gc-btn { margin-left: 0; }
  .gc-btn { width: 100%; }
  p:has(> .gc-btn + .gc-btn) { display: flex; flex-direction: column; gap: 10px; }
}

/* ==========================================================================
   WhatsApp floating button
   ========================================================================== */
.gc-whatsapp {
  position: fixed; right: 22px; bottom: 22px; z-index: 999;
  display: inline-flex; align-items: center; gap: 10px;
  background: #25d366; color: #fff; text-decoration: none;
  padding: 12px 20px 12px 15px; border-radius: var(--gc-radius-pill);
  box-shadow: 0 12px 30px rgba(37, 211, 102, .45);
  font-family: var(--gc-display); font-weight: 600; font-size: .95rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.gc-whatsapp svg { width: 28px; height: 28px; display: block; }
.gc-whatsapp__tip { white-space: nowrap; }
.gc-whatsapp:hover { background: #1ebe5d; color: #fff; transform: translateY(-3px); box-shadow: 0 16px 38px rgba(37, 211, 102, .55); }
.gc-whatsapp::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); animation: gc-wa-pulse 2.4s infinite;
  pointer-events: none;
}
@keyframes gc-wa-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); }
  70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (max-width: 600px) {
  .gc-whatsapp { right: 16px; bottom: 16px; padding: 13px; gap: 0; }
  .gc-whatsapp__tip { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .gc-whatsapp::before { animation: none; }
}

/* ==========================================================================
   School profile page
   ========================================================================== */
.gc-hero--school { padding-bottom: clamp(96px, 14vw, 168px); }
.gc-school-motto {
  font-family: var(--gc-display); font-weight: 600;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  color: var(--gc-gold-500); margin: 6px 0 16px;
}
.gc-hero--school .gc-pill { color: var(--gc-green-900); }

/* ==========================================================================
   Financial management policy page
   ========================================================================== */
.gc-hero--policy { padding-bottom: clamp(96px, 14vw, 168px); }
.gc-policy-sub {
  font-family: var(--gc-display); font-weight: 600;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: var(--gc-gold-500); margin: 4px 0 14px;
}
.gc-btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.gc-check-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 26px;
}
.gc-check-list li { position: relative; padding-left: 36px; line-height: 1.55; }
.gc-check-list li::before {
  content: "\2713"; position: absolute; left: 0; top: 1px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--gc-green-100); color: var(--gc-green-700);
  display: grid; place-items: center; font-size: .85rem; font-weight: 700;
}
.gc-sign { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gc-sign__box {
  background: var(--gc-white); border: 1px solid var(--gc-line);
  border-radius: var(--gc-radius); padding: 22px 20px; text-align: center;
  box-shadow: var(--gc-shadow-sm);
}
.gc-sign__box span {
  display: block; font-size: .74rem; text-transform: uppercase;
  letter-spacing: .1em; color: var(--gc-muted); margin-bottom: 8px;
}
.gc-sign__box b { font-family: var(--gc-display); color: var(--gc-ink); font-size: .98rem; }
@media (max-width: 760px) {
  .gc-check-list { grid-template-columns: 1fr; }
  .gc-sign { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Distinct inner-page heroes — every menu page looks like its own page
   ========================================================================== */
.gc-hero--about {
  background:
    linear-gradient(120deg, rgba(9,44,28,.94) 0%, rgba(23,107,69,.88) 55%, rgba(42,147,96,.62) 100%),
    radial-gradient(circle at 82% 18%, #2a9360 0%, #0b2e1e 70%);
}
.gc-hero--about h1 .gc-hl { color: #7ee0a8; }
.gc-hero--about .gc-hero__eyebrow { color: #c9f5dd; background: rgba(126,224,168,.14); border-color: rgba(126,224,168,.42); }

.gc-hero--education {
  background:
    linear-gradient(120deg, rgba(6,40,52,.94) 0%, rgba(13,102,120,.88) 55%, rgba(28,158,175,.6) 100%),
    radial-gradient(circle at 82% 18%, #17a3ba 0%, #062833 70%);
}
.gc-hero--education h1 .gc-hl { color: #6fe3da; }
.gc-hero--education .gc-hero__eyebrow { color: #c2f4f1; background: rgba(111,227,218,.14); border-color: rgba(111,227,218,.42); }
.gc-hero--education .gc-hero__meta-item b,
.gc-hero--education .gc-hero__meta-item span { color: #6fe3da; }

.gc-hero--finances {
  background:
    linear-gradient(120deg, rgba(48,32,8,.95) 0%, rgba(140,96,16,.9) 55%, rgba(217,139,18,.6) 100%),
    radial-gradient(circle at 82% 18%, #d98b12 0%, #2c1e06 72%);
}
.gc-hero--finances h1 .gc-hl { color: #ffe1a3; }
.gc-hero--finances .gc-hero__eyebrow { color: #ffe9c4; background: rgba(255,225,163,.14); border-color: rgba(255,225,163,.42); }
.gc-hero--finances .gc-hero__meta-item b { color: #ffe1a3; }

.gc-hero--children {
  background:
    linear-gradient(120deg, rgba(74,26,14,.94) 0%, rgba(170,74,32,.88) 55%, rgba(224,124,57,.62) 100%),
    radial-gradient(circle at 82% 18%, #e07c39 0%, #43170c 70%);
}
.gc-hero--children h1 .gc-hl { color: #ffd9a8; }
.gc-hero--children .gc-hero__eyebrow { color: #ffe3cb; background: rgba(255,217,168,.14); border-color: rgba(255,217,168,.42); }

.gc-hero--challenges {
  background:
    linear-gradient(120deg, rgba(16,27,38,.95) 0%, rgba(35,68,90,.9) 55%, rgba(66,124,150,.62) 100%),
    radial-gradient(circle at 82% 18%, #3f7f9d 0%, #101b26 72%);
}
.gc-hero--challenges h1 .gc-hl { color: #ffc46b; }
.gc-hero--challenges .gc-hero__eyebrow { color: #cfe8f5; background: rgba(255,196,107,.14); border-color: rgba(255,196,107,.42); }

.gc-hero--help {
  background:
    linear-gradient(120deg, rgba(13,50,35,.94) 0%, rgba(24,114,78,.86) 52%, rgba(217,139,18,.72) 125%),
    radial-gradient(circle at 88% 14%, #f2b134 0%, #0f3d28 68%);
}
.gc-hero--help h1 .gc-hl { color: var(--gc-gold-500); }
.gc-hero--help .gc-hero__eyebrow { color: #ffe6b0; background: rgba(242,177,52,.16); border-color: rgba(242,177,52,.45); }

/* Alternate banner rhythm so pages also differ in shape, not only colour */
.gc-hero--education,
.gc-hero--children { padding-bottom: clamp(96px, 14vw, 168px); }
.gc-hero--finances::after,
.gc-hero--help::after { opacity: .32; }

/* Page identity accents on the section headings below the banners */
body.gc-page-about .gc-section:first-of-type .gc-eyebrow { background: #e2f6ec; color: var(--gc-green-700); }
body.gc-page-education .gc-section:first-of-type .gc-eyebrow { background: #def6f4; color: #0e6e7e; }
body.gc-page-finances .gc-section:first-of-type .gc-eyebrow { background: var(--gc-gold-100); color: var(--gc-gold-600); }
body.gc-page-children .gc-section:first-of-type .gc-eyebrow { background: #fdeade; color: var(--gc-clay); }
body.gc-page-challenges .gc-section:first-of-type .gc-eyebrow { background: #e3edf4; color: #2c5b6e; }
body.gc-page-help .gc-section:first-of-type .gc-eyebrow { background: var(--gc-gold-100); color: var(--gc-gold-600); }

/* ==========================================================================
   Animated photo strip (auto-scrolling gallery)
   ========================================================================== */
.gc-gallery {
  padding: clamp(48px, 7vw, 88px) 0;
  background: linear-gradient(180deg, var(--gc-white) 0%, var(--gc-cream) 100%);
  overflow: hidden;
}
.gc-gallery .gc-section-head { margin-bottom: 36px; }
.gc-marquee {
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
}
.gc-marquee__track {
  display: flex;
  width: max-content;
  animation: gc-marquee-scroll 34s linear infinite;
}
.gc-marquee:hover .gc-marquee__track { animation-play-state: paused; }
.gc-marquee__set { display: flex; flex: 0 0 auto; }
.gc-shot {
  position: relative;
  flex: 0 0 auto;
  width: clamp(270px, 30vw, 430px);
  aspect-ratio: 16 / 10;
  margin: 0 11px 0 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--gc-shadow);
  background: var(--gc-green-100);
  transition: transform .35s ease, box-shadow .35s ease;
}
.gc-shot::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(15,61,40,.35) 100%);
  opacity: 0; transition: opacity .35s ease; pointer-events: none;
}
.gc-shot img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.gc-shot:hover { transform: translateY(-6px); box-shadow: var(--gc-shadow-lg); }
.gc-shot:hover::after { opacity: 1; }
.gc-shot:hover img { transform: scale(1.08); }
@keyframes gc-marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .gc-marquee__track { animation: none; }
}
@media (max-width: 600px) {
  .gc-shot { width: clamp(230px, 74vw, 300px); margin-right: 9px; border-radius: 14px; }
}

/* ==========================================================================
   Home hero photo slideshow (slides into the right-hand space)
   ========================================================================== */
.gc-hero__grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: clamp(26px, 4vw, 54px);
  align-items: center;
}
.gc-hero--split .gc-hero__inner { max-width: none; }

.gc-hero-photos {
  animation: gc-hero-photo-in .9s cubic-bezier(.2,.7,.3,1) .15s both;
}
.gc-hero-photos__frame {
  position: relative;
  aspect-ratio: 4 / 3.4;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.28);
  outline: 6px solid rgba(255,255,255,.08);
  box-shadow: 0 34px 70px rgba(4, 22, 14, .45);
  background: rgba(255,255,255,.06);
}
.gc-hero-photos__frame::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(180deg, transparent 58%, rgba(8,32,20,.55) 100%);
}
.gc-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: gc-slide-cycle 13.5s infinite;
}
.gc-slide:nth-child(1) { animation-delay: 0s; }
.gc-slide:nth-child(2) { animation-delay: 4.5s; }
.gc-slide:nth-child(3) { animation-delay: 9s; }

.gc-hero-photos__tag {
  position: absolute; left: 16px; bottom: 16px; z-index: 4;
  font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: rgba(8, 32, 20, .55);
  border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(6px);
  padding: 8px 14px; border-radius: var(--gc-radius-pill);
}
.gc-hero-photos__dots {
  display: flex; justify-content: center; gap: 8px; margin-top: 18px;
}
.gc-hero-photos__dots span {
  display: block; width: 46px; height: 5px; border-radius: 99px;
  background: rgba(255,255,255,.22); overflow: hidden;
}
.gc-hero-photos__dots i {
  display: block; width: 100%; height: 100%; border-radius: inherit;
  background: var(--gc-gold-500);
  transform: scaleX(0); transform-origin: left center;
  animation: gc-dot-fill 13.5s infinite;
}
.gc-hero-photos__dots span:nth-child(1) i { animation-delay: 0s; }
.gc-hero-photos__dots span:nth-child(2) i { animation-delay: 4.5s; }
.gc-hero-photos__dots span:nth-child(3) i { animation-delay: 9s; }

@keyframes gc-slide-cycle {
  0%   { opacity: 0; transform: translateX(46px) scale(1.04); }
  5%   { opacity: 1; transform: translateX(0) scale(1); }
  31%  { opacity: 1; transform: translateX(0) scale(1); }
  37%  { opacity: 0; transform: translateX(-46px) scale(1.04); }
  100% { opacity: 0; transform: translateX(46px) scale(1.04); }
}
@keyframes gc-dot-fill {
  0%   { transform: scaleX(0); }
  5%   { transform: scaleX(1); }
  31%  { transform: scaleX(1); }
  37%  { transform: scaleX(0); }
  100% { transform: scaleX(0); }
}
@keyframes gc-hero-photo-in {
  from { opacity: 0; transform: translateX(70px); }
  to   { opacity: 1; transform: translateX(0); }
}

@media (max-width: 980px) {
  .gc-hero__grid { grid-template-columns: 1fr; gap: 34px; }
  .gc-hero--split { padding-bottom: clamp(120px, 20vw, 170px); }
  .gc-hero-photos { max-width: 560px; margin: 0 auto; width: 100%; }
  .gc-hero-photos__frame { aspect-ratio: 16 / 10; }
}
@media (prefers-reduced-motion: reduce) {
  .gc-slide { animation: none; }
  .gc-slide:nth-child(1) { opacity: 1; }
  .gc-slide:nth-child(n+2) { display: none; }
  .gc-hero-photos__dots i { animation: none; transform: scaleX(1); }
  .gc-hero-photos { animation: none; }
}

/* ==========================================================================
   Faded sliding photo background (inner page heroes)
   ========================================================================== */
.gc-hero-bg {
  position: absolute; inset: 0; z-index: 1;
  opacity: .2;
  pointer-events: none;
  overflow: hidden;
}
.gc-bg-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.75);
  opacity: 0;
  animation: gc-slide-cycle 18s infinite;
}
.gc-bg-slide:nth-child(1) { animation-delay: 0s; }
.gc-bg-slide:nth-child(2) { animation-delay: 6s; }
.gc-bg-slide:nth-child(3) { animation-delay: 12s; }
@media (prefers-reduced-motion: reduce) {
  .gc-bg-slide { animation: none; }
  .gc-bg-slide:nth-child(1) { opacity: 1; }
  .gc-bg-slide:nth-child(n+2) { display: none; }
}

/* ==========================================================================
   Menu click page-slide transition (wipe out / wipe in)
   ========================================================================== */
.gc-page-wipe {
  position: fixed; inset: 0; z-index: 99999;
  display: grid; place-items: center;
  background: linear-gradient(120deg, #0c3322 0%, #176b45 58%, #1f7a4d 100%);
  transform: translateX(101%);
  pointer-events: none;
}
.gc-page-wipe.is-exiting {
  animation: gc-wipe-in .34s cubic-bezier(.65, 0, .35, 1) both;
  pointer-events: auto;
}
.gc-page-wipe.is-armed { transform: translateX(0); pointer-events: auto; }
.gc-page-wipe.is-entering {
  animation: gc-wipe-out .52s cubic-bezier(.65, 0, .35, 1) both;
  pointer-events: auto;
}
.gc-page-wipe__box { text-align: center; color: #fff; }
.gc-page-wipe__logo {
  width: 62px; height: 62px; margin: 0 auto 14px;
  border-radius: 16px; box-shadow: 0 14px 34px rgba(0,0,0,.35);
}
.gc-page-wipe__box span {
  display: block;
  font-family: var(--gc-display); font-weight: 600;
  font-size: .88rem; letter-spacing: .16em; text-transform: uppercase;
  color: #ffe6b0;
}
@keyframes gc-wipe-in {
  from { transform: translateX(101%); }
  to   { transform: translateX(0); }
}
@keyframes gc-wipe-out {
  from { transform: translateX(0); }
  to   { transform: translateX(-101%); }
}

/* Keep WP core classes usable */.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
