/*
Theme Name: GurgaonFirst — Warm Civic
Theme URI: https://gurgaonfirst.org
Description: Astra child theme for GurgaonFirst.org — Option A: Warm Civic palette. Cream base, amber-led, forest green as sustainability accent.
Author: GurgaonFirst
Author URI: https://gurgaonfirst.org
Template: astra
Version: 12.7.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gurgaonfirst-child
Tags: civic, community, astra-child
*/

/* ═══════════════════════════════════════════════════════════════
   1. CSS CUSTOM PROPERTIES — OPTION A: Warm Civic
   ═══════════════════════════════════════════════════════════════ */
:root {
  --base:         #FAFAF6;
  --surface:      #F2EEE6;
  --surface2:     #EAE5DC;
  --border:       #E0D9CE;
  --amber:        #E8830A;
  --amber-light:  #FEF3DC;
  --amber-dark:   #B8620A;
  --forest:       #1B5E35;
  --forest-mid:   #2D8653;
  --forest-light: #EAF3DE;
  --ink:          #1A1A1A;
  --ink-mid:      #3A3A3A;
  --muted:        #5A6A60;
  --muted-light:  #8A9A90;
  --card-bg:      #FFFFFF;
  --card-border:  #E0D9CE;
  --section-alt:  #F2EEE6;
  --tag-bg:       #EAF3DE;
  --tag-text:     #1B5E35;
  --footer-bg:    #1A2820;
  --footer-text:  #C8D4CC;
  --white:        #FFFFFF;
  --danger:       #C0392B;
  --info:         #1755A0;
}

/* ═══════════════════════════════════════════════════════════════
   2. TYPOGRAPHY
   ═══════════════════════════════════════════════════════════════ */
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--base);
  font-size: 16px;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--ink);
  line-height: 1.2;
}

h1 { font-size: clamp(28px, 5vw, 48px); font-weight: 700; }
h2 { font-size: clamp(22px, 3.5vw, 36px); font-weight: 700; }
h3 { font-size: clamp(18px, 2.5vw, 26px); font-weight: 600; }
h4 { font-size: clamp(16px, 2vw, 20px); font-weight: 600; }
h5 { font-size: 16px; font-weight: 600; }
h6 { font-size: 14px; font-weight: 600; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--amber); text-decoration: none; transition: color .2s; }
a:hover { color: var(--amber-dark); }

strong, b { font-weight: 600; }

/* ═══════════════════════════════════════════════════════════════
   3. ASTRA HEADER OVERRIDE
   ═══════════════════════════════════════════════════════════════ */
.site-header,
#masthead,
.ast-primary-header-bar,
.main-header-bar {
  background: #ffffff !important;
  border-bottom: 1px solid var(--border) !important;
}

.ast-above-header-bar {
  background: var(--ink) !important;
}
/* Body white — override any Astra Customiser dark body/page background */
body { background-color: var(--footer-bg, #1A2820) !important; }
.ast-site-content-wrap,
.ast-container { background-color: #ffffff !important; }

.site-title a,
.ast-site-name {
  font-family: 'Playfair Display', serif !important;
  color: #1A1A1A !important;
  font-weight: 700 !important;
  text-shadow: none !important;
}

.site-title a:hover,
.ast-site-name:hover {
  color: #1A1A1A !important;
  opacity: .85;
}

.main-header-menu .menu-item > a,
.main-header-menu .menu-item > .ast-menu-toggle {
  color: #1A1A1A !important;
  font-weight: 500 !important;
  font-family: 'Inter', sans-serif !important;
}

.main-header-menu .menu-item > a:hover,
.main-header-menu .menu-item:hover > a {
  color: var(--forest) !important;
}

.main-header-menu .current-menu-item > a,
.main-header-menu .current-menu-ancestor > a {
  color: var(--forest) !important;
  font-weight: 600 !important;
}

.main-header-menu .sub-menu {
  background: var(--white) !important;
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.12) !important;
}

.main-header-menu .sub-menu .menu-item > a {
  color: var(--ink) !important;
  font-weight: 400 !important;
}

.main-header-menu .sub-menu .menu-item > a:hover {
  color: var(--amber) !important;
  background: var(--amber-light) !important;
}

.ast-mobile-menu-trigger,
.ast-menu-toggle {
  color: #1A1A1A !important;
}

/* ═══════════════════════════════════════════════════════════════
   4. TICKER BAR
   ═══════════════════════════════════════════════════════════════ */
#gf-ticker-bar {
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  white-space: nowrap;
  padding: 9px 0;
  font-size: 13px;
  font-weight: 500;
  width: 100%;
  position: relative;
}

.gf-ticker-label {
  display: inline-block;
  background: var(--amber);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 2px 10px;
  margin-right: 16px;
  vertical-align: middle;
}

.gf-ticker-track {
  display: inline-flex;
  animation: gf-ticker-scroll 40s linear infinite;
}

.gf-ticker-track:hover {
  animation-play-state: paused;
}

.gf-ticker-item {
  padding: 0 28px;
  display: inline-block;
}

.gf-ticker-sep {
  color: var(--amber);
  margin-right: 8px;
}

@keyframes gf-ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════════════════════
   5. BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.ast-button,
.wp-block-button__link,
.button,
.gf-btn {
  background: var(--amber);
  color: var(--white) !important;
  border-radius: 50px;
  padding: 12px 28px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .02em;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .1s, box-shadow .2s;
  display: inline-block;
  text-decoration: none;
  line-height: 1.4;
  text-align: center;
}

.ast-button:hover,
.wp-block-button__link:hover,
.button:hover,
.gf-btn:hover {
  background: var(--amber-dark) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232,131,10,.35);
}

.ast-button:active,
.gf-btn:active {
  transform: translateY(0);
}

.gf-btn-outline {
  background: transparent;
  color: var(--amber);
  border: 2px solid var(--amber);
  border-radius: 50px;
  padding: 10px 26px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  display: inline-block;
  text-decoration: none;
  transition: all .2s;
  cursor: pointer;
  line-height: 1.4;
  text-align: center;
}

.gf-btn-outline:hover {
  background: var(--amber);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(232,131,10,.35);
}

.gf-btn-ghost {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50px;
  padding: 10px 26px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  display: inline-block;
  text-decoration: none;
  transition: all .2s;
  cursor: pointer;
}

.gf-btn-ghost:hover {
  background: rgba(255,255,255,.22);
  color: var(--white);
}

.gf-btn-sm { padding: 7px 18px; font-size: 12px; }

/* ═══════════════════════════════════════════════════════════════
   6. CARDS
   ═══════════════════════════════════════════════════════════════ */
.gf-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}

.gf-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.10);
  transform: translateY(-2px);
}

.gf-card-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.gf-card-body { padding: 20px; }

.gf-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.3;
}

.gf-card-meta {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 10px;
}

.gf-card-excerpt {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.6;
  margin-bottom: 16px;
}

.gf-card-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ═══════════════════════════════════════════════════════════════
   7. SECTION PATTERNS
   ═══════════════════════════════════════════════════════════════ */
.gf-section { padding: 72px 0; }
.gf-section-sm { padding: 48px 0; }
.gf-section-alt { background: var(--surface); }

.gf-section-dark { background: var(--ink); }
.gf-section-dark,
.gf-section-dark h1,
.gf-section-dark h2,
.gf-section-dark h3,
.gf-section-dark h4,
.gf-section-dark h5,
.gf-section-dark h6,
.gf-section-dark p,
.gf-section-dark li,
.gf-section-dark span { color: var(--white); }

.gf-section-forest { background: var(--forest); }
.gf-section-forest,
.gf-section-forest h1,
.gf-section-forest h2,
.gf-section-forest h3,
.gf-section-forest p { color: var(--white); }

.gf-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.gf-container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.gf-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber);
  display: block;
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
}

.gf-section-heading {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

.gf-section-sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 0;
}

.gf-section-header { margin-bottom: 40px; }
.gf-section-header.centered { text-align: center; }
.gf-section-header.centered .gf-section-sub { margin-left: auto; margin-right: auto; }

/* ═══════════════════════════════════════════════════════════════
   8. BADGES / TAGS
   ═══════════════════════════════════════════════════════════════ */
.gf-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--amber-light);
  color: var(--amber-dark);
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
}

.gf-badge-green { background: var(--forest-light); color: var(--forest); }
.gf-badge-dark  { background: var(--ink); color: var(--white); }
.gf-badge-outline { background: transparent; border: 1px solid var(--border); color: var(--muted); }

/* ═══════════════════════════════════════════════════════════════
   9. GRID UTILITIES
   ═══════════════════════════════════════════════════════════════ */
.gf-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.gf-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gf-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.gf-grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.gf-grid-1-2 { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }

@media (max-width: 1024px) { .gf-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .gf-grid-3  { grid-template-columns: repeat(2, 1fr); }
  .gf-grid-2-1 { grid-template-columns: 1fr; }
  .gf-grid-1-2 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .gf-grid-2  { grid-template-columns: 1fr; }
  .gf-grid-3  { grid-template-columns: 1fr; }
  .gf-grid-4  { grid-template-columns: 1fr; }
}

.gf-flex         { display: flex; }
.gf-flex-center  { display: flex; align-items: center; }
.gf-flex-between { display: flex; align-items: center; justify-content: space-between; }
.gf-flex-wrap    { display: flex; flex-wrap: wrap; gap: 12px; }

/* ═══════════════════════════════════════════════════════════════
   10. FOOTER
   ═══════════════════════════════════════════════════════════════ */
.gf-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 64px 0 0;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
}

.gf-footer-grid {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.gf-footer-heading {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 16px;
}

.gf-footer-links { list-style: none; padding: 0; margin: 0; }
.gf-footer-links li { margin-bottom: 10px; }
.gf-footer-links a {
  color: var(--footer-text);
  text-decoration: none;
  font-size: 14px;
  transition: color .15s;
}
.gf-footer-links a:hover { color: var(--white); }

.gf-footer-desc {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,.5);
  margin-bottom: 20px;
  max-width: 280px;
}

.gf-footer-social { display: flex; gap: 10px; flex-wrap: wrap; }

.gf-social-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--footer-text);
  text-decoration: none;
  transition: background .2s, color .2s;
  flex-shrink: 0;
}
.gf-social-btn:hover { background: var(--amber); color: #ffffff; }

.gf-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 24px;
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,.3);
  flex-wrap: wrap;
  gap: 8px;
}

/* Suppress Astra default footer chrome */
.site-footer .ast-row,
.footer-widget-area,
.ast-footer-copyright,
.ast-small-footer,
.ast-small-footer-wrap,
#colophon .ast-footer-overlay { display: none !important; }
#colophon { padding: 0 !important; background: var(--footer-bg) !important; }

@media (max-width: 900px) {
  .gf-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .gf-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .gf-footer-bottom { flex-direction: column; text-align: center; }
}

/* ═══════════════════════════════════════════════════════════════
   11. CPT ARCHIVE PAGES
   ═══════════════════════════════════════════════════════════════ */

/* Handbook */
.gf-handbook-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 32px 0;
}

.gf-handbook-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}

.gf-handbook-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.10);
  transform: translateY(-2px);
}

.gf-handbook-card-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.gf-handbook-card-body { padding: 20px; }

.gf-handbook-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.3;
}

.gf-handbook-card-meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 14px;
}

.gf-handbook-card-excerpt {
  font-size: 13px;
  color: var(--ink-mid);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* Change Makers */
.gf-changemaker-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 32px 0;
}

.gf-changemaker-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding: 24px 16px;
  transition: box-shadow .2s, transform .2s;
}

.gf-changemaker-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.10);
  transform: translateY(-2px);
}

.gf-changemaker-card img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 14px;
  border: 3px solid var(--amber-light);
  display: block;
}

.gf-changemaker-card .gf-cm-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.gf-changemaker-card .gf-cm-role {
  font-size: 12px;
  color: var(--amber);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
}

.gf-changemaker-card .gf-cm-quote {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  line-height: 1.5;
}

/* Organisations */
.gf-org-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 32px 0;
}

.gf-org-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow .2s, transform .2s;
}

.gf-org-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.10);
  transform: translateY(-2px);
}

.gf-org-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--border);
  padding: 6px;
  background: var(--white);
}

.gf-org-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.gf-org-type {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--amber);
}

/* Music */
.gf-music-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 32px 0;
}

.gf-music-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}

.gf-music-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.10);
  transform: translateY(-2px);
}

.gf-music-thumb { position: relative; background: var(--ink); }
.gf-music-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  opacity: .85;
}

.gf-music-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(232,131,10,.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
}

.gf-music-body { padding: 18px; }
.gf-music-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.gf-music-artist { font-size: 13px; color: var(--muted); margin-bottom: 8px; }

/* Responsive archive grids */
@media (max-width: 900px) {
  .gf-handbook-grid    { grid-template-columns: repeat(2, 1fr); }
  .gf-changemaker-grid { grid-template-columns: repeat(2, 1fr); }
  .gf-org-grid         { grid-template-columns: repeat(2, 1fr); }
  .gf-music-grid       { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .gf-handbook-grid    { grid-template-columns: 1fr; }
  .gf-changemaker-grid { grid-template-columns: 1fr; }
  .gf-org-grid         { grid-template-columns: 1fr; }
  .gf-music-grid       { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   12. ELEMENTOR WIDGET OVERRIDES
   ═══════════════════════════════════════════════════════════════ */
.elementor-widget-heading .elementor-heading-title { font-family: 'Playfair Display', serif !important; }
.elementor-widget-button .elementor-button {
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: .02em !important;
  border-radius: 50px !important;
}
.elementor-widget-divider .elementor-divider-separator { border-color: var(--border) !important; }
.elementor-widget-counter .elementor-counter-number-wrapper {
  font-family: 'Playfair Display', serif !important;
  color: var(--amber) !important;
}
.elementor-widget-image-box .elementor-image-box-title {
  font-family: 'Playfair Display', serif !important;
  color: var(--ink) !important;
}
.elementor-widget-shortcode { width: 100%; }
.elementor-widget-icon-box .elementor-icon-box-title {
  font-family: 'Playfair Display', serif !important;
  color: var(--ink) !important;
}
.elementor-widget-text-editor { font-family: 'Inter', sans-serif; color: var(--ink); line-height: 1.7; }
.elementor-widget-testimonial .elementor-testimonial-content { font-style: italic; color: var(--muted); }

/* ═══════════════════════════════════════════════════════════════
   13. SINGLE CPT — SHARED STYLES
   ═══════════════════════════════════════════════════════════════ */
.gf-single-hero {
  background: var(--footer-bg, #1A2820);
  padding: 48px 0 40px;
}
.gf-single-hero .gf-breadcrumb,
.gf-single-hero .gf-breadcrumb a,
.gf-single-hero .gf-breadcrumb span { color: rgba(255,255,255,.6); font-size: 12px; }
.gf-single-hero .gf-breadcrumb a:hover { color: var(--amber, #E8830A); }
.gf-single-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3.5vw, 38px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin: 12px 0 10px;
}
.gf-single-hero .gf-hero-sub { font-size: 14px; color: rgba(255,255,255,.7); margin: 0; }
.gf-single-hero .gf-eyebrow { margin-top: 16px; }

/* Meta label/value pairs in single left columns */
.gf-single-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin: 0 0 2px;
  font-family: 'Inter', sans-serif;
}
.gf-single-value {
  font-size: 14px;
  color: var(--ink-mid, #2C2C2C);
  margin: 0 0 14px;
  font-family: 'Inter', sans-serif;
}

.gf-single-featured-img {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 32px;
}

.gf-single-featured-img img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  display: block;
}

.gf-single-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.gf-single-content { padding: 48px 0 64px; }

.gf-single-content .entry-content h2,
.gf-single-content .gf-story h2 { font-size: 1.5rem; margin-top: 2em; margin-bottom: .75em; }
.gf-single-content .entry-content h3,
.gf-single-content .gf-story h3 { font-size: 1.2rem; margin-top: 1.5em; margin-bottom: .5em; }
.gf-single-content .entry-content p,
.gf-single-content .gf-story p { font-size: 16px; line-height: 1.8; color: var(--ink-mid); margin-bottom: 1.25em; }

.gf-blockquote,
blockquote.gf-quote {
  border-left: 4px solid var(--amber);
  padding: 16px 24px;
  margin: 28px 0;
  background: var(--amber-light);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-mid);
  line-height: 1.7;
}

.gf-pdf-embed {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin: 24px 0;
}
.gf-pdf-embed iframe {
  width: 100%;
  min-height: 560px;
  display: block;
  border: none;
}

.gf-portrait-wrap {
  float: right;
  margin: 0 0 24px 32px;
  border-radius: 12px;
  overflow: hidden;
  border: 3px solid var(--amber-light);
  max-width: 260px;
}
.gf-portrait-wrap img { width: 100%; display: block; }

@media (max-width: 600px) {
  .gf-portrait-wrap { float: none; margin: 0 0 24px; max-width: 100%; }
}

.gf-link-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* ═══════════════════════════════════════════════════════════════
   14. MISC UI COMPONENTS
   ═══════════════════════════════════════════════════════════════ */
.gf-stat { text-align: center; padding: 24px 16px; }
.gf-stat-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.gf-stat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-family: 'Inter', sans-serif;
}

.gf-divider { border: none; border-top: 1px solid var(--border); margin: 40px 0; }
.gf-divider-amber { border-color: var(--amber); opacity: .35; }

.gf-notice {
  padding: 14px 18px;
  border-radius: 8px;
  border-left: 4px solid var(--amber);
  background: var(--amber-light);
  font-size: 14px;
  color: var(--ink-mid);
  margin: 20px 0;
}
.gf-notice-green { border-color: var(--forest); background: var(--forest-light); color: var(--forest); }
.gf-notice-danger { border-color: var(--danger); background: #FDECEA; color: var(--danger); }

.gf-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.gf-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  border: 1px solid var(--border);
  text-decoration: none;
  transition: all .2s;
  font-family: 'Inter', sans-serif;
}
.gf-tag:hover { background: var(--amber-light); color: var(--amber-dark); border-color: var(--amber); }

/* Pagination */
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: all .2s;
}
.page-numbers.current,
.page-numbers:hover { background: var(--amber); border-color: var(--amber); color: var(--white); }

/* ═══════════════════════════════════════════════════════════════
   15. ASTRA LAYOUT OVERRIDES
   ═══════════════════════════════════════════════════════════════ */
.ast-page-builder-template .entry-content,
.elementor-page .entry-content { padding: 0 !important; margin: 0 !important; }

.secondary .widget-title {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.1rem;
  color: var(--ink);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--amber);
  margin-bottom: 16px;
}

.search-form .search-field {
  border: 1px solid var(--border);
  border-radius: 8px 0 0 8px;
  padding: 10px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  background: var(--white);
  color: var(--ink);
}
.search-form .search-submit {
  background: var(--amber);
  color: var(--white);
  border: none;
  padding: 10px 16px;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}
.search-form .search-submit:hover { background: var(--amber-dark); }

/* ═══════════════════════════════════════════════════════════════
   16. ACCESSIBILITY & FOCUS
   ═══════════════════════════════════════════════════════════════ */
*:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 2px; }
:focus:not(:focus-visible) { outline: none; }

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--amber);
  color: var(--white);
  padding: 8px 16px;
  font-weight: 600;
  text-decoration: none;
  z-index: 9999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { top: 0; }

/* ═══════════════════════════════════════════════════════════════
   17. PRINT
   ═══════════════════════════════════════════════════════════════ */
@media print {
  .gf-footer, .site-header, #gf-ticker-bar, .gf-btn, .gf-btn-outline { display: none !important; }
  body { font-size: 12pt; color: #000; background: #fff; }
  h1, h2, h3, h4, h5, h6 { color: #000; page-break-after: avoid; }
  a { color: #000; text-decoration: underline; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 10pt; }
}

/* ═══════════════════════════════════════════════════════════════
   vX COMPONENT STYLES — ported from GurgaonFirst_Homepage_vX.html
   All colours via CSS custom properties set above.
   ═══════════════════════════════════════════════════════════════ */

/* ── Container ─────────────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Section utilities ──────────────────────────────────── */
.section { padding: 72px 0; }
.section-alt { background: var(--section-alt); }

.section-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 10px;
  display: block;
}

.section-heading {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ink);
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
}

.section-sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 4px;
}

.section-view-all {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--amber);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  padding-bottom: 4px;
  transition: color .15s;
  text-decoration: none;
}
.section-view-all:hover { color: var(--amber-dark); }
.section-view-all::after { content: '→'; }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: 5px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all .18s;
  border: none;
  text-decoration: none;
}
.btn-amber { background: var(--amber); color: #fff; }
.btn-amber:hover { background: var(--amber-dark); color: #fff; }
.btn-forest { background: var(--forest); color: #fff; }
.btn-forest:hover { background: var(--forest-mid); color: #fff; }
.btn-sm {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  background: var(--amber);
  color: #fff;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background .15s;
}
.btn-sm:hover { background: var(--amber-dark); color: #fff; }

/* ── Announcement Bar ───────────────────────────────────── */
.announcement-bar {
  background: var(--amber);
  color: #fff;
  padding: 9px 24px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow: hidden;
  white-space: nowrap;
}
.announcement-bar a { color: #fff; text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.ann-icon {
  width: 18px; height: 18px;
  background: rgba(255,255,255,.25);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
}

/* ── Civic Data Bar ─────────────────────────────────────── */
.civic-data-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.civic-data-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 768px) { .civic-data-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .civic-data-grid { grid-template-columns: 1fr; } }

.civic-data-card {
  padding: 20px 28px;
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
}
.civic-data-card:last-child { border-right: none; }

.civic-data-icon {
  width: 44px; height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.civic-data-icon.air   { background: #FFF3E0; }
.civic-data-icon.water { background: #E3F2FD; }
.civic-data-icon.waste { background: #E8F5E9; }
.civic-data-icon.reach { background: var(--amber-light); }

.civic-data-label { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.civic-data-value { font-family: 'Playfair Display', Georgia, serif; font-size: 24px; font-weight: 700; line-height: 1; color: var(--ink); }
.civic-data-value.amber  { color: var(--amber); }
.civic-data-value.danger { color: var(--danger); }
.civic-data-value.forest { color: var(--forest); }
.civic-data-sub { font-size: 11px; color: var(--muted-light); margin-top: 2px; }

/* ── Vision Section ─────────────────────────────────────── */
.vision-section {
  background: var(--forest);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.vision-section::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 320px; height: 320px; border: 1px solid rgba(255,255,255,.06); border-radius: 50%;
}
.vision-section::after {
  content: ''; position: absolute; bottom: -80px; left: -40px;
  width: 240px; height: 240px; border: 1px solid rgba(255,255,255,.04); border-radius: 50%;
}
.vision-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 768px) { .vision-inner { grid-template-columns: 1fr; gap: 40px; } }

.vision-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--amber); margin-bottom: 16px; display: block; }
.vision-statement { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(22px, 3.5vw, 34px); font-weight: 700; color: #fff; line-height: 1.25; margin-bottom: 20px; }
.vision-statement em { font-style: italic; color: var(--amber); }
.vision-body { font-size: 15px; color: rgba(255,255,255,.72); line-height: 1.75; }

.missions-grid { display: flex; flex-direction: column; gap: 20px; }
.mission-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: 22px 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: background .2s;
}
.mission-card:hover { background: rgba(255,255,255,.1); }
.mission-number { font-family: 'Playfair Display', Georgia, serif; font-size: 28px; font-weight: 700; color: var(--amber); line-height: 1; flex-shrink: 0; width: 32px; opacity: .8; }
.mission-title { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 5px; }
.mission-body { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.65; }

/* ── Civic Priorities ───────────────────────────────────── */
.priorities-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 40px;
}
@media (max-width: 900px) { .priorities-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .priorities-grid { grid-template-columns: repeat(2, 1fr); } }

.priority-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.priority-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.priority-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,.09); }
.priority-card:hover::after { transform: scaleX(1); }

.priority-icon { font-size: 28px; line-height: 1; }
.priority-title { font-size: 15px; font-weight: 700; color: var(--ink); font-family: 'Playfair Display', Georgia, serif; }
.priority-body { font-size: 12.5px; color: var(--muted); line-height: 1.6; flex: 1; }
.priority-stat { display: inline-block; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 20px; background: var(--amber-light); color: var(--amber-dark); align-self: flex-start; }

/* ── AQI Section ────────────────────────────────────────── */
.aqi-section { background: var(--white); padding: 48px 0; border-bottom: 1px solid var(--border); }
.aqi-inner { display: flex; align-items: center; gap: 48px; flex-wrap: wrap; }

.aqi-live-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 260px;
}
.aqi-live-dot { width: 10px; height: 10px; background: #F59E0B; border-radius: 50%; animation: gf-aqi-pulse 2s infinite; flex-shrink: 0; }
@keyframes gf-aqi-pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.8)} }

.aqi-live-label { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; display: flex; align-items: center; gap: 6px; }
.aqi-live-value { font-family: 'Playfair Display', Georgia, serif; font-size: 48px; font-weight: 700; color: #D97706; line-height: 1; }
.aqi-live-cat { font-size: 13px; font-weight: 600; color: #D97706; margin-top: 4px; }
.aqi-live-loc { font-size: 11px; color: var(--muted-light); margin-top: 2px; }

.aqi-scale { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; }
.aqi-level { padding: 6px 12px; border-radius: 4px; font-size: 11px; font-weight: 600; text-align: center; }
.aqi-level.good      { background: #D1FAE5; color: #065F46; }
.aqi-level.moderate  { background: #FEF3C7; color: #92600A; border: 1px solid #F59E0B; }
.aqi-level.uh-sg     { background: #FFEDD5; color: #9A3412; }
.aqi-level.unhealthy { background: #FEE2E2; color: #991B1B; }
.aqi-level.v-unhealthy { background: #EDE9FE; color: #4C1D95; }
.aqi-level.hazardous { background: #4A1215; color: #FCA5A5; }
.aqi-level.current   { box-shadow: 0 0 0 2px #F59E0B; }
.aqi-note { font-size: 11px; color: var(--muted-light); margin-top: 8px; }

/* ── Events ─────────────────────────────────────────────── */
.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
@media (max-width: 768px) { .events-grid { grid-template-columns: 1fr; } }

.event-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.event-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,.09); }

.event-date-strip { background: var(--forest); color: #fff; display: flex; align-items: center; }
.event-date-block { padding: 14px 20px; text-align: center; border-right: 1px solid rgba(255,255,255,.1); }
.event-date-day   { font-family: 'Playfair Display', Georgia, serif; font-size: 26px; font-weight: 700; line-height: 1; color: var(--amber); }
.event-date-month { font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-top: 2px; }
.event-meta-strip { padding: 8px 16px; font-size: 12px; color: rgba(255,255,255,.75); display: flex; flex-direction: column; gap: 3px; }

.event-body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.event-cat   { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
.event-title { font-family: 'Playfair Display', Georgia, serif; font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.event-desc  { font-size: 13px; color: var(--muted); line-height: 1.6; flex: 1; }

.event-footer { padding: 14px 20px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.event-fee      { font-size: 13px; font-weight: 600; color: var(--forest); }
.event-fee.free { background: var(--forest-light); color: var(--forest); padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.events-cta { text-align: center; margin-top: 36px; }

/* ── Insights / Knowledge Hub ───────────────────────────── */
.insights-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
@media (max-width: 640px) { .insights-grid { grid-template-columns: 1fr; } }

.insight-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  gap: 20px;
  transition: transform .2s, box-shadow .2s;
}
.insight-card:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,0,0,.08); }
.insight-card a { text-decoration: none; color: inherit; }
.insight-card a:hover { color: var(--amber); }

.insight-num { font-family: 'Playfair Display', Georgia, serif; font-size: 42px; font-weight: 700; color: var(--border); line-height: 1; flex-shrink: 0; width: 44px; text-align: right; margin-top: -4px; }
.insight-tag { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 2px 9px; border-radius: 20px; background: var(--tag-bg); color: var(--tag-text); margin-bottom: 8px; }
.insight-title  { font-family: 'Playfair Display', Georgia, serif; font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.3; margin-bottom: 8px; }
.insight-excerpt { font-size: 13px; color: var(--muted); line-height: 1.65; margin-bottom: 12px; }
.insight-meta { font-size: 11px; color: var(--muted-light); display: flex; align-items: center; gap: 8px; }
.insight-meta a { color: var(--amber); font-weight: 600; }
.insight-meta a:hover { text-decoration: underline; }

/* ── Three Streams ──────────────────────────────────────── */
.streams-section { background: #1A4A35; padding: 72px 0; }
.streams-heading { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(24px, 3.5vw, 36px); font-weight: 700; color: #fff; margin-bottom: 8px; }
.streams-sub { font-size: 15px; color: rgba(255,255,255,.75); max-width: 520px; line-height: 1.7; margin-bottom: 48px; }

.streams-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 768px) { .streams-grid { grid-template-columns: 1fr; } }

.stream-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  padding: 32px 28px;
  transition: background .2s, border-color .2s;
}
.stream-card:hover { background: rgba(255,255,255,.07); border-color: var(--amber); }
.stream-icon { font-size: 32px; margin-bottom: 18px; }
.stream-name { font-family: 'Playfair Display', Georgia, serif; font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.stream-body { font-size: 13.5px; color: rgba(255,255,255,.55); line-height: 1.7; margin-bottom: 20px; }
.stream-link { font-size: 12px; font-weight: 600; color: var(--amber); letter-spacing: .05em; text-transform: uppercase; display: flex; align-items: center; gap: 5px; text-decoration: none; }
.stream-link::after { content: '→'; transition: transform .2s; }
.stream-card:hover .stream-link::after { transform: translateX(4px); }

/* ── Change Makers ──────────────────────────────────────── */
.changemakers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
@media (max-width: 768px) { .changemakers-grid { grid-template-columns: 1fr; } }

.cm-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 10px; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.cm-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,.09); }

.cm-photo { height: 180px; background: var(--surface); display: flex; align-items: center; justify-content: center; font-size: 48px; position: relative; overflow: hidden; }
.cm-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cm-area-badge { position: absolute; top: 12px; left: 12px; font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--amber); color: #fff; padding: 3px 9px; border-radius: 2px; z-index: 2; }

.cm-body    { padding: 20px; }
.cm-name    { font-family: 'Playfair Display', Georgia, serif; font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.cm-role    { font-size: 12px; color: var(--amber); font-weight: 600; margin-bottom: 10px; }
.cm-quote   { font-size: 13px; color: var(--muted); line-height: 1.65; font-style: italic; border-left: 2px solid var(--amber); padding-left: 12px; margin-bottom: 14px; }
.cm-tag     { font-size: 11px; font-weight: 600; color: var(--tag-text); background: var(--tag-bg); padding: 2px 9px; border-radius: 20px; }

/* ── Music for a Cause ──────────────────────────────────── */
.music-section { background: var(--section-alt); }
.music-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
@media (max-width: 768px) { .music-grid { grid-template-columns: 1fr; } }

.music-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 10px; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.music-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,.09); }

.music-thumb { height: 160px; background: var(--forest); position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.music-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.music-play {
  width: 52px; height: 52px;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: #fff; cursor: pointer; transition: all .2s; z-index: 2;
  text-decoration: none;
}
.music-play:hover { background: var(--amber); border-color: var(--amber); transform: scale(1.1); }
.music-play::after { content: '▶'; font-size: 16px; margin-left: 2px; }

/* ── Music facade (YouTube thumbnail → iframe on click) ─ */
.music-card-link { display: block; text-decoration: none; }
.music-thumb-wrap { height: 180px; position: relative; overflow: hidden; border-radius: 10px 10px 0 0; display: flex; align-items: center; justify-content: center; }
/* Homepage music shortcode facade — matches music-thumb-wrap height/layout */
.music-embed-wrap { position: relative; }
.music-facade { position: relative; height: 180px; overflow: hidden; border-radius: 10px 10px 0 0; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.music-facade:hover .music-facade-img { opacity: 1; }
.music-facade:hover .music-play-btn { transform: scale(1.12); }
.music-facade-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s; }
.music-card-link:hover .music-facade-img { opacity: 1; }
/* .music-play-btn defined in v12.5 section below */


.music-body  { padding: 18px 20px; }
.music-theme { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); margin-bottom: 5px; }
.music-title { font-family: 'Playfair Display', Georgia, serif; font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 6px; line-height: 1.3; }
.music-desc  { font-size: 12px; color: var(--muted); line-height: 1.6; }

/* ── Newsletter ─────────────────────────────────────────── */
.newsletter-section { background: var(--surface); padding: 64px 0; }
.newsletter-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 768px) { .newsletter-inner { grid-template-columns: 1fr; gap: 32px; } }

.newsletter-right   { display: flex; flex-direction: column; gap: 12px; }
.newsletter-form-row { display: flex; gap: 0; }
.newsletter-input {
  flex: 1; padding: 12px 16px; font-size: 14px;
  border: 1px solid var(--border); border-right: none;
  border-radius: 5px 0 0 5px; background: var(--white); color: var(--ink);
  font-family: 'Inter', sans-serif; outline: none; transition: border-color .18s;
}
.newsletter-input:focus { border-color: var(--amber); }
.newsletter-input::placeholder { color: var(--muted-light); }
.newsletter-btn { padding: 12px 22px; background: var(--amber); color: #fff; font-size: 14px; font-weight: 600; border: none; border-radius: 0 5px 5px 0; cursor: pointer; transition: background .18s; white-space: nowrap; }
.newsletter-btn:hover { background: var(--amber-dark); }

.newsletter-interests { display: flex; flex-wrap: wrap; gap: 8px; }
.interest-chip { padding: 4px 12px; font-size: 12px; font-weight: 500; border-radius: 20px; border: 1px solid var(--border); color: var(--muted); cursor: pointer; background: var(--white); transition: all .18s; }
.interest-chip:hover, .interest-chip.selected { border-color: var(--amber); color: var(--amber-dark); background: var(--amber-light); }
.newsletter-privacy { font-size: 11px; color: var(--muted-light); }

/* ── Donate Section ─────────────────────────────────────── */
.donate-section { background: var(--amber); padding: 56px 0; }
.donate-inner   { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }

.donate-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 8px; display: block; }
.donate-heading { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(22px, 3vw, 32px); font-weight: 700; color: #fff; margin-bottom: 8px; }
.donate-sub     { font-size: 15px; color: rgba(255,255,255,.8); max-width: 480px; }

.donate-alt-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; flex-shrink: 0; }
.rzp-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: var(--amber-dark);
  padding: 14px 28px; border-radius: 5px; font-size: 15px; font-weight: 700;
  border: none; cursor: pointer; transition: all .18s; text-decoration: none;
}
.rzp-btn:hover { background: var(--ink); color: #fff; }
.rzp-secure { font-size: 10px; color: rgba(255,255,255,.6); text-align: center; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer,
.footer { background: var(--footer-bg); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo-mark { width: 34px; height: 34px; background: var(--amber); border-radius: 5px; display: flex; align-items: center; justify-content: center; color: #fff; font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: 15px; }
.footer-logo-text { font-family: 'Playfair Display', Georgia, serif; font-size: 16px; font-weight: 700; color: #fff; }
.footer-brand-body { font-size: 13px; color: var(--footer-text); line-height: 1.75; margin-bottom: 20px; max-width: 280px; }
.footer-address { font-size: 12px; color: rgba(255,255,255,.4); line-height: 1.7; }

.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.social-btn { width: 34px; height: 34px; border-radius: 5px; background: rgba(255,255,255,.07); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.6); font-size: 13px; font-weight: 600; transition: all .2s; cursor: pointer; text-decoration: none; }
.social-btn:hover { background: var(--amber); color: #fff; }

.footer-col-heading { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; list-style: none; margin: 0; padding: 0; }
.footer-col ul li a { font-size: 13px; color: var(--footer-text); transition: color .15s; text-decoration: none; }
.footer-col ul li a:hover { color: var(--amber); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom-text { font-size: 12px; color: rgba(255,255,255,.3); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 12px; color: rgba(255,255,255,.3); transition: color .15s; text-decoration: none; }
.footer-bottom-links a:hover { color: rgba(255,255,255,.7); }

/* ── Handbook grid (on Handbooks archive page) ──────────── */
.gf-handbook-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 24px 0;
}
@media (max-width: 768px) { .gf-handbook-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .gf-handbook-grid { grid-template-columns: 1fr; } }


/* ═══════════════════════════════════════════════════════════════
   v10 FIXES
   ═══════════════════════════════════════════════════════════════ */

/* 1. Sub-menu item spacing — reduce Astra default ~13px → 6px */
.main-header-menu .sub-menu .menu-item > a {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
  font-size: 14px !important;
}

/* 2. Announcement bar — Inter 13px/500 per v2 HTML design reference */
/* (Ticker font/size is now controlled in gf-platform.php inline CSS) */
.announcement-bar,
.announcement-bar a,
.ann-single,
.ann-scroll-track {
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}

/* 3. Astra header — 64px matching v2 design reference */
.main-header-bar .ast-container,
.main-header-bar {
  min-height: 64px !important;
}
.ast-primary-header-bar .ast-container {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}
.site-logo img,
.custom-logo {
  max-height: 48px !important;
  width: auto !important;
}

/* 3b. Nav link font — Inter 13.5px/500 per v2 design reference */
.main-header-menu .menu-item > a,
.main-header-menu .sub-menu .menu-item > a {
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: var(--ink-mid, #3D4A3E) !important;
}
.main-header-menu .menu-item > a:hover,
.main-header-menu .menu-item.current-menu-item > a,
.main-header-menu .menu-item.current-menu-ancestor > a {
  color: var(--amber, #E8830A) !important;
}



/* Handbook left column */
.gf-handbook-body { min-width: 0; }

/* PDF / EmbedPress viewer */
.gf-pdf-viewer { border-radius: 8px; overflow: hidden; }



/* ─── Share bar (all CPT singles) ─── */
.gf-share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border, #DDD8CC);
}
.gf-share-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted, #5A6A60);
  text-transform: uppercase;
  letter-spacing: .1em;
  flex-shrink: 0;
  margin-right: 4px;
}
.gf-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 6px;
  background: #fff;
  border: 1.5px solid var(--border, #DDD8CC);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink, #1A1A1A);
  text-decoration: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background .15s, color .15s, border-color .15s;
  line-height: 1;
}
.gf-share-btn:hover,
.gf-share-btn:focus {
  background: var(--forest, #1B5E35);
  color: #fff;
  border-color: var(--forest, #1B5E35);
  outline: none;
}

/* 4. Sticky-footer: push #colophon flush with viewport bottom on short pages.
   Do NOT change html/body background — that bleeds through plugin wrappers.
   #page stays white; flex layout fills the gap instead. */
#page,
.site {
  display: flex !important;
  flex-direction: column !important;
  min-height: 100vh !important;
  background-color: var(--footer-bg, #1A2820) !important;
}
#content.site-content {
  flex: 1 !important;
  background-color: #ffffff !important;
}
#colophon,
.ast-footer-copyright {
  background: var(--footer-bg) !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* 5. Handbook single — two-column layout (canonical rule at gf-handbook-layout block below) */
@media (max-width: 900px) {
  .gf-handbook-layout {
    grid-template-columns: 1fr;
  }
  .gf-handbook-sidebar {
    order: -1;
  }
}

/* ═══════════════════════════════════════════════════════════════
   v12.1 ADDITIONS
   ═══════════════════════════════════════════════════════════════ */

/* Prevent any background bleed below footer */


/* Footer logo via Customiser */
.gf-footer-logo-img {
  max-height: 44px;
  width: auto;
  margin-bottom: 14px;
  display: block;
}

/* Footer brand heading/tagline (PHP footer) */
.gf-footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}
.gf-footer-brand-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--amber);
  margin-bottom: 18px;
}

/* Change Makers section — on dark background context */
#changemakers .section-heading {
  color: #ffffff;
}
#changemakers .section-sub {
  color: rgba(255,255,255,.78);
}
#changemakers .section-eyebrow {
  color: var(--amber);
}
#changemakers .section-view-all {
  color: var(--amber);
}
#changemakers .section-view-all:hover {
  color: var(--amber-dark);
}

/* AQI Card shortcode — compact, usable anywhere */
.gf-aqi-card-wrap {
  display: inline-flex;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  font-family: 'Inter', sans-serif;
  min-width: 220px;
}
.gf-aqi-card-main {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-right: 1px solid var(--border);
  min-width: 110px;
}
.gf-aqi-card-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.gf-aqi-card-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #F59E0B;
  animation: gf-aqi-pulse 2s infinite;
  flex-shrink: 0;
}
.gf-aqi-card-value {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  color: #D97706;
}
.gf-aqi-card-cat {
  font-size: 12px;
  font-weight: 600;
  color: #D97706;
}
.gf-aqi-card-params {
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.gf-aqi-param-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.gf-aqi-param-key {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  min-width: 44px;
}
.gf-aqi-param-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.gf-aqi-param-unit {
  font-size: 10px;
  color: var(--muted-light);
  font-weight: 400;
}

/* Floating AQI widget (optional — add class gf-aqi-floating) */
.gf-aqi-card-wrap.gf-aqi-floating {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9000;
  box-shadow: 0 8px 28px rgba(0,0,0,.15);
  max-width: 280px;
}
@media (max-width: 480px) {
  .gf-aqi-card-wrap.gf-aqi-floating {
    bottom: 12px; right: 12px;
    max-width: calc(100vw - 24px);
  }
}

/* ─── Breadcrumb navigation (all CPT singles) ─── */
.gf-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted, #5A6A60);
  margin-bottom: 20px;
  flex-wrap: wrap;
  font-family: 'Inter', sans-serif;
  line-height: 1.4;
}
.gf-breadcrumb a {
  color: var(--muted, #5A6A60);
  text-decoration: none;
}
.gf-breadcrumb a:hover { color: var(--amber, #E8830A); }
.gf-breadcrumb span[aria-hidden] { color: var(--muted-light, #8A9A8E); }



/* ==========================================================
   v12.5 — CPT Single Split Layouts
   ========================================================== */

/* --- Handbook: 25/75 sidebar layout --- */
.gf-handbook-layout {
  display: grid;
  grid-template-columns: 1fr 3fr;
  min-height: 70vh;
  align-items: stretch;
}
.gf-handbook-sidebar {
  background: var(--footer-bg, #1A2820);
  padding: 48px 32px 64px;
  display: flex;
  flex-direction: column;
}
.gf-handbook-sidebar .gf-breadcrumb,
.gf-handbook-sidebar .gf-breadcrumb a,
.gf-handbook-sidebar .gf-breadcrumb span { color: rgba(255,255,255,.55); font-size: 12px; }
.gf-handbook-sidebar .gf-breadcrumb a:hover { color: var(--amber, #E8830A); }
.gf-eyebrow--amber { color: var(--amber, #E8830A); background: rgba(232,131,10,.15); }
.gf-handbook-sidebar-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  margin: 16px 0 20px;
}
.gf-handbook-sidebar-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,.6);
  margin-bottom: 32px;
}
.gf-handbook-sidebar-footer { margin-top: auto; padding-top: 32px; }
.gf-handbook-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 6px;
  padding: 8px 14px;
  transition: color .2s, border-color .2s;
}
.gf-handbook-back:hover { color: #fff; border-color: rgba(255,255,255,.6); }
.gf-handbook-main {
  background: #ffffff;
  padding: 48px 48px 64px;
}
.gf-handbook-description {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-mid, #2C2C2C);
  max-width: 760px;
  margin-bottom: 32px;
}
.gf-pdf-viewer { margin-bottom: 32px; }
.gf-pdf-placeholder {
  background: var(--surface, #F7F5F0);
  border: 1px solid var(--border, #DDD8CC);
  border-radius: 12px;
  padding: 48px 24px;
  text-align: center;
  margin-bottom: 32px;
}
.gf-pdf-placeholder p { font-size: 14px; color: var(--muted); margin: 8px 0 0; }
.gf-handbook-entry { max-width: 760px; margin-bottom: 32px; }
@media (max-width: 900px) {
  .gf-handbook-layout { grid-template-columns: 1fr; min-height: auto; }
  .gf-handbook-sidebar { padding: 32px 24px 40px; }
  .gf-handbook-sidebar-footer { margin-top: 24px; padding-top: 0; }
  .gf-handbook-main { padding: 32px 24px 48px; }
}

/* --- Music single: handbook-style 25/75 sidebar layout --- */
.gf-music-single-layout {
  display: grid;
  grid-template-columns: 1fr 3fr;
  min-height: 70vh;
  align-items: stretch;
}
.gf-music-sidebar {
  background: var(--footer-bg, #1A2820);
  padding: 48px 32px 64px;
  display: flex;
  flex-direction: column;
}
.gf-music-sidebar .gf-breadcrumb,
.gf-music-sidebar .gf-breadcrumb a,
.gf-music-sidebar .gf-breadcrumb span {
  color: rgba(255,255,255,.55);
  font-size: 12px;
}
.gf-music-sidebar-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin: 16px 0 20px;
}
.gf-music-sidebar-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,.6);
  margin-bottom: 32px;
}
.gf-music-sidebar-footer {
  margin-top: auto;
  padding-top: 32px;
}
.gf-music-main {
  background: #ffffff;
  padding: 48px 48px 64px;
}
@media (max-width: 900px) {
  .gf-music-single-layout { grid-template-columns: 1fr; min-height: auto; }
  .gf-music-sidebar { padding: 32px 24px 40px; }
  .gf-music-main { padding: 32px 24px 48px; }
}

/* --- Changemaker: 4fr/8fr split --- */
.gf-changemaker-layout {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}
@media (max-width: 768px) {
  .gf-changemaker-layout { grid-template-columns: 1fr; gap: 24px; }
}
.gf-changemaker-left { position: sticky; top: 80px; }
.gf-changemaker-portrait img.gf-portrait-img {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--border, #DDD8CC);
  display: block;
}
.gf-pull-quote {
  border-left: 4px solid var(--amber, #E8830A);
  padding: 16px 20px;
  margin: 0 0 28px;
  background: var(--surface, #F7F5F0);
  border-radius: 0 8px 8px 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(16px, 2vw, 20px);
  font-style: italic;
  color: var(--ink, #1A1A1A);
  line-height: 1.5;
}
.gf-story-body {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-mid, #2C2C2C);
}

/* --- Organisation: 4fr/8fr split --- */
.gf-org-layout {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}
@media (max-width: 768px) {
  .gf-org-layout { grid-template-columns: 1fr; gap: 24px; }
}
.gf-org-left { position: sticky; top: 80px; }
.gf-tag {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid var(--border, #DDD8CC);
  border-radius: 20px;
  font-size: 12px;
  color: var(--muted, #5A6A60);
  text-decoration: none;
  font-family: "Inter", sans-serif;
}
.gf-tag:hover { border-color: var(--amber, #E8830A); color: var(--amber, #E8830A); }

/* --- Podcast: 5fr/9fr split --- */
.gf-podcast-single-layout {
  display: grid;
  grid-template-columns: 5fr 9fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}
@media (max-width: 768px) {
  .gf-podcast-single-layout { grid-template-columns: 1fr; gap: 24px; }
}
.gf-podcast-single-meta { position: sticky; top: 80px; }

/* --- Shared eyebrow badge --- */
.gf-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--forest, #1B5E35);
  background: rgba(27,94,53,.08);
  border: 1px solid rgba(27,94,53,.2);
  border-radius: 20px;
  padding: 3px 10px;
  font-family: "Inter", sans-serif;
  margin-bottom: 8px;
}

/* --- Shared outline button --- */
.gf-btn-outline {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid var(--border, #DDD8CC);
  border-radius: 6px;
  font-size: 13px;
  font-family: "Inter", sans-serif;
  color: var(--ink, #1A1A1A);
  text-decoration: none;
  background: transparent;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.gf-btn-outline:hover {
  border-color: var(--forest, #1B5E35);
  color: var(--forest, #1B5E35);
}



/* ==========================================================
   v12.5 — Archive card system (handbook / changemaker / org)
   ========================================================== */

/* Force white bg on inner page content — belt & braces */
html { background-color: var(--footer-bg, #1A2820); }
.gf-single-content { background-color: #ffffff; }

/* ── All non-homepage inner pages: white content area ──────────────────── */
body.page .site-main,
body.single .site-main,
body.archive .site-main,
body[class*="tax-"] .site-main,
body.page .entry-content,
body.single .entry-content,
body.page #content,
body.single #content,
body.archive #content,
body.page .ast-article-post,
body.single .ast-article-post { background-color: #ffffff !important; }

/* Astra page title / hero section — white on all inner pages (not homepage) */
body:not(.home) .ast-page-title-wrap,
body:not(.home) .ast-page-title-wrap-row,
body:not(.home) .page-header,
body:not(.home) .entry-header,
body:not(.home) .ast-archive-description { background-color: #ffffff !important; }
/* Above-header bar stays dark ink on all pages */
body:not(.home) .ast-above-header-bar { background: var(--ink) !important; }
/* Page title / heading text must be dark on white bg */
body:not(.home) .ast-page-title-wrap h1,
body:not(.home) .ast-page-title-wrap .page-title,
body:not(.home) .entry-header h1,
body:not(.home) .page-header h1 { color: var(--ink, #1A1A1A) !important; }

/* 3-col card grid */
.gf-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) {
  .gf-archive-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .gf-archive-grid { grid-template-columns: 1fr; }
}

/* Card shell — flex column so footer always at bottom */
.gf-archive-card {
  background: #ffffff;
  border: 1px solid var(--border, #E0D9CE);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.gf-archive-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.09);
  transform: translateY(-2px);
}

/* Card image — fixed ratio */
.gf-archive-card-img-link {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--forest, #1B5E35);
  flex-shrink: 0;
}
.gf-archive-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.gf-archive-card:hover .gf-archive-card-img { transform: scale(1.04); }

.gf-archive-card-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--forest,#1B5E35) 0%, #0f3d22 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Card body — flex:1 pushes footer to bottom */
.gf-archive-card-body {
  padding: 20px 20px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.gf-archive-card-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--forest, #1B5E35);
  background: var(--forest-light, #EAF3DE);
  border: 1px solid rgba(27,94,53,.2);
  border-radius: 20px;
  padding: 2px 9px;
  font-family: "Inter", sans-serif;
  margin-bottom: 10px;
}

.gf-archive-card-title {
  font-family: "Playfair Display", serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink, #1A1A1A);
  line-height: 1.35;
  margin: 0 0 8px;
}
.gf-archive-card-title a {
  color: inherit;
  text-decoration: none;
}
.gf-archive-card-title a:hover { color: var(--amber, #E8830A); }

.gf-archive-card-meta {
  font-size: 12px;
  color: var(--muted, #5A6A60);
  font-family: "Inter", sans-serif;
  margin: 0 0 6px;
}

.gf-archive-card-excerpt {
  font-size: 13.5px;
  color: var(--ink-mid, #3A3A3A);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

/* Footer — always at card bottom */
.gf-archive-card-footer {
  padding: 12px 20px 20px;
}
.gf-archive-card-btn {
  display: inline-block;
  background: var(--amber, #E8830A);
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 6px;
  text-decoration: none;
  transition: background .2s;
}
.gf-archive-card-btn:hover { background: var(--amber-dark, #B8620A); color: #ffffff; }

/* ==========================================================
   v12.5 — Podcast archive card styles (moved from inline)
   ========================================================== */
.gf-podcast-archive { max-width: 1180px; margin: 0 auto; padding: 48px 24px; }
.gf-podcast-archive-header { text-align: center; margin-bottom: 40px; }
.gf-podcast-archive-header h1 { font-family: "Playfair Display", Georgia, serif; font-size: clamp(1.8rem,3vw,2.6rem); color: var(--forest,#1B5E35); margin-bottom: .5rem; }
.gf-podcast-archive-header p { font-size: 1.05rem; color: var(--ink-mid,#3D4A3E); max-width: 600px; margin: 0 auto; }
.gf-podcast-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(300px,1fr)); gap: 28px; }
.gf-podcast-card { background: #fff; border: 1px solid var(--border,#DDD8CC); border-radius: 12px; overflow: hidden; transition: box-shadow .2s; display: flex; flex-direction: column; }
.gf-podcast-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.1); }
.gf-podcast-card-thumb-link { display: block; text-decoration: none; }
.gf-podcast-card-thumb { position: relative; aspect-ratio: 1/1; background: var(--forest,#1B5E35); overflow: hidden; }
.gf-podcast-card-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .85; display: block; }
.gf-podcast-ep-badge { position: absolute; top: 12px; left: 12px; background: var(--amber,#E8830A); color: #fff; font-family: "Inter",sans-serif; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 20px; letter-spacing: .03em; }
.gf-podcast-mic { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.gf-podcast-mic svg { width: 56px; height: 56px; color: rgba(255,255,255,.6); }
.gf-podcast-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.gf-podcast-card-show { font-family: "Inter",sans-serif; font-size: 11px; font-weight: 600; color: var(--amber,#E8830A); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.gf-podcast-card-title { font-family: "Playfair Display",serif; font-size: 1.05rem; font-weight: 700; color: var(--ink,#1A1A1A); margin-bottom: 8px; line-height: 1.35; }
.gf-podcast-card-title a { color: inherit; text-decoration: none; }
.gf-podcast-card-title a:hover { color: var(--amber,#E8830A); }
.gf-podcast-card-meta { display: flex; align-items: center; gap: 12px; font-family: "Inter",sans-serif; font-size: 12px; color: var(--ink-mid,#3D4A3E); margin-bottom: 10px; flex-wrap: wrap; }
.gf-podcast-card-excerpt { font-size: .9rem; color: var(--ink-mid,#3D4A3E); line-height: 1.55; flex: 1; }
.gf-podcast-card-footer { margin-top: 16px; display: flex; gap: 10px; }
.gf-podcast-listen-btn { display: inline-flex; align-items: center; gap: 6px; background: var(--forest,#1B5E35); color: #fff; font-family: "Inter",sans-serif; font-size: 12px; font-weight: 600; padding: 8px 16px; border-radius: 50px; text-decoration: none; transition: background .2s; }
.gf-podcast-listen-btn:hover { background: var(--amber,#E8830A); color: #fff; }
.gf-podcast-more-btn { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--border,#DDD8CC); color: var(--ink,#1A1A1A); font-family: "Inter",sans-serif; font-size: 12px; font-weight: 600; padding: 8px 16px; border-radius: 50px; text-decoration: none; transition: border-color .2s,color .2s; }
.gf-podcast-more-btn:hover { border-color: var(--amber,#E8830A); color: var(--amber,#E8830A); }
.gf-podcast-empty { text-align: center; padding: 80px 24px; color: var(--ink-mid,#3D4A3E); }
.gf-podcast-empty h2 { font-family: "Playfair Display",serif; color: var(--forest,#1B5E35); margin-bottom: 1rem; }

/* ==========================================================
   v12.5 — Music play button (simple white icon, no circle)
   ========================================================== */
.music-play-btn {
  position: relative;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 0;
  border: none;
  background: transparent;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,.7));
  flex-shrink: 0;
}


/* ==========================================================
   v12.5 — Standard page template (page.php)
   ========================================================== */
.gf-page-content-wrap {
  padding-top: 48px;
  padding-bottom: 72px;
}
.gf-page-body {
  max-width: 800px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-mid, #2C2C2C);
}
.gf-page-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  color: var(--ink, #1A1A1A);
  margin: 40px 0 16px;
}
.gf-page-body h3 {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink, #1A1A1A);
  margin: 28px 0 12px;
}
.gf-page-body p { margin: 0 0 18px; }
.gf-page-body ul,
.gf-page-body ol { padding-left: 24px; margin: 0 0 18px; }
.gf-page-body li { margin-bottom: 6px; }
.gf-page-body a { color: var(--forest, #1B5E35); text-decoration: underline; }
.gf-page-body a:hover { color: var(--amber, #E8830A); }

/* Pagination nav wrapper */
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 32px 0 8px;
}

                                                                       
/* ─── Newsletter list grid ─── */
.gf-newsletter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.gf-newsletter-card {
  background: #fff;
  border: 1px solid var(--border, #E0DACE);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s;
}
.gf-newsletter-card:hover { box-shadow: 0 4px 18px rgba(0,0,0,.08); }
.gf-newsletter-thumb { aspect-ratio: 3/4; overflow: hidden; background: var(--surface, #F2EEE6); max-height: 220px; }
.gf-newsletter-thumb--placeholder { display: flex; align-items: center; justify-content: center; }
.gf-newsletter-cover { width: 100%; height: 100%; object-fit: cover; display: block; }
.gf-newsletter-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.gf-newsletter-title { font-family: "Playfair Display", serif; font-size: 16px; font-weight: 700; color: var(--ink, #1A1A1A); margin: 0; line-height: 1.3; }
.gf-newsletter-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--muted, #5A6A60); }
.gf-newsletter-meta span::after { content: " ·"; }
.gf-newsletter-meta span:last-child::after { content: ""; }
.gf-newsletter-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 12px; }

/* ─── Workshops / Training grid ─── */
.gf-workshops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.gf-workshop-card { background: #fff; border: 1px solid var(--border, #E0DACE); border-radius: 12px; overflow: hidden; }
.gf-workshop-card:hover { box-shadow: 0 4px 18px rgba(0,0,0,.08); }
.gf-workshop-thumb-link { display: block; aspect-ratio: 16/9; overflow: hidden; }
.gf-workshop-thumb { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.gf-workshop-thumb-link:hover .gf-workshop-thumb { transform: scale(1.04); }
.gf-workshop-body { padding: 18px 20px 22px; }
.gf-workshop-title { font-size: 15px; font-weight: 700; color: var(--ink, #1A1A1A); margin: 0 0 8px; line-height: 1.35; }
.gf-workshop-excerpt { font-size: 13px; color: var(--muted, #5A6A60); line-height: 1.6; margin: 0; }

/* Hide Astra Copyright Footer Text */

/* Kill white band — Astra native copyright bar + scroll-to-top wrapper */
.ast-footer-copyright,
.ast-footer-overlay,
.ast-below-footer-wrap,
.ast-scroll-to-top-wrap,
.ast-to-top-wrap {
    background-color: transparent !important;
}

/* Astra copyright text row — flatten it */
.ast-footer-copyright {
    padding: 0 !important;
    min-height: 0 !important;
    line-height: 0 !important;
    font-size: 0 !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}
