/*
Theme Name: TLC PTO "Catch a Wave"
Theme URI: https://tlcpto.com
Author: New Concept Studios
Author URL: https://newconceptstudios.com/
Description: A custom, lightweight, and responsive WordPress theme built for The Learning Center PTO.
Version: 1.0.0
Update URI: false
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tlc-pto

TLC PTO WordPress Theme, Copyright 2026 New Concept Studios
TLC PTO is distributed under the terms of the GNU GPL
*/

/* =========================================================
   MASTER STYLESHEET
   ========================================================== */

/* ---------- Design Tokens ---------- */
:root { 
  --primary-blue: #ADDFFF; 
  --primary-yellow: #FFD900; 
  --blue-bg: #E6F5FF; 
  --blue-accent: #1F77EB; 
  --text-secondary: #718096; 
  --text-primary: #2D3748; 
  --brand-blue: #22A6EE; 
  --white-warm: #FDFBF7; 
  --white-beige: #F5EFE6; 
  --teal-accent: #1A5F7A; 
  --teal-light: #57C5B6; 
  --orange-cta: #F2921D; 
  --orange-hover: #D97B0D; 
  --gray-light: #F9FBFC; 
  --gray-medium: #E8EDF4; 
  --font-head: 'Merriweather', serif; 
  --font-body: 'Inter', sans-serif; 

  /* --- Chip Type Color Variants --- */
  --chip-default-bg: #f4f5f7; 
  --chip-default-text: #4b5563; 
  --chip-default-border: #d1d5db; 

  --chip-brand-bg: #e6f0fa; 
  --chip-brand-text: #0056b3; 
  --chip-brand-border: #b3d1f2; 

  --chip-success-bg: #e6f4ea; 
  --chip-success-text: #137333; 
  --chip-success-border: #a8dab5; 

  --chip-warning-bg: #fef7e0; 
  --chip-warning-text: #b06000; 
  --chip-warning-border: #f8e3a1; 

  --chip-purple-bg: #f3e8ff; 
  --chip-purple-text: #6b21a8; 
  --chip-purple-border: #d8b4fe; 

  --chip-teal-bg: #e6f8f6; 
  --chip-teal-text: #00796b; 
  --chip-teal-border: #b2dfdb; 

  /* --- Extended Footer Variables --- */
  --footer-bg: #002347; 
  --footer-text: #ffffff; 
  --footer-text-muted: #cbd5e1; 
  --footer-border: #718096; 
  --footer-hover: #60a5fa; 
}

/* ---------- Reset & Base ---------- */
* { 
  box-sizing: border-box; 
}

html { 
  scroll-behavior: auto; 
  height: 100%; 
}

body { 
  margin: 0; 
  font-family: var(--font-body); 
  color: var(--text-primary); 
  background: var(--blue-bg); 
  line-height: 1.6; 
  display: flex; 
  flex-direction: column; 
  min-height: 100vh; 
}

body.menu-open { 
  overflow: hidden; 
}

main { 
  padding-top: 130px; 
  flex: 1 0 auto; 
}

[id] { 
  scroll-margin-top: 100px; 
}

img,
svg { 
  max-width: 100%; 
}

a { 
  text-decoration: none; 
  color: inherit; 
}

a.hard-link,
a.hard-link:hover,
a.hard-link:focus,
a.hard-link:visited { 
  color: var(--chip-brand-text) !important; 
  text-decoration: underline !important; 
}

a.hard-link:hover { 
  color: var(--brand-blue) !important; 
}

button { 
  font-family: inherit; 
  cursor: pointer; 
}

h1,
h2,
h3,
h4 { 
  font-family: var(--font-head); 
  margin: 0; 
  line-height: 1.25; 
}

p { 
  margin: 0; 
}

.hide { 
  display: none !important; 
}

.bg-none { 
  background: none !important; 
}

.icon { 
  width: 1.6em; 
  height: 1.6em; 
  stroke-width: 2px; 
  vertical-align: -0.15em; 
}

/* ---------- FPO Placeholder ---------- */
.fpo { 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  background: repeating-linear-gradient(45deg, #E2E8F0, #E2E8F0 10px, #EDF2F7 10px, #EDF2F7 20px); 
  color: #94A3B8; 
  font-size: 12px; 
  font-weight: 600; 
  letter-spacing: 0.05em; 
  text-align: center; 
  overflow: hidden; 
}

/* ---------- Section Layout Shells ---------- */
.section-shell { 
  max-width: 1152px; 
  margin: 32px auto; 
  padding: 50px; 
  background: #fff; 
  border: 1px solid var(--gray-medium); 
  border-radius: 20px; 
}

.section-shell.warm { 
  background: var(--white-warm); 
}

.section-shell.no-heading { 
  padding-top: 0; 
}

.section-shell h2.block-title { 
  font-size: 24px; 
  margin-bottom: 6px; 
}

.section-shell .block-desc { 
  color: var(--text-secondary); 
  font-size: 14px; 
  margin-bottom: 28px; 
  max-width: 640px; 
}

.section-transparent { 
  max-width: 1152px; 
  margin: 0 auto; 
  padding: 40px 24px 8px; 
  text-align: center; 
}

.page-banner { 
  max-width: 900px; 
  margin: 20px auto 0; 
  padding: 40px 24px 8px; 
  text-align: center; 
}

.page-banner.compact { 
  margin-top: 0; 
  padding-top: 0; 
}

.page-banner .eyebrow { 
  color: var(--teal-accent); 
}

.page-banner h1 { 
  font-size: clamp(30px, 4vw, 42px); 
  margin-bottom: 14px; 
}

.page-banner p { 
  color: var(--text-secondary); 
  font-size: 16px; 
  max-width: 640px; 
  margin: 0 auto; 
}

.eyebrow { 
  display: block; 
  font-size: 13px; 
  font-weight: 700; 
  letter-spacing: 0.12em; 
  text-transform: uppercase; 
  color: var(--brand-blue); 
  margin-bottom: 12px; 
}

.section-transparent .eyebrow { 
  color: var(--teal-accent); 
}

.section-body-text { 
  max-width: 640px; 
  margin: 16px auto 0; 
  color: var(--text-secondary); 
  font-size: 16px; 
}

.divider-link { 
  border-top: 1px solid var(--gray-medium); 
  margin-top: 40px; 
  padding-top: 20px; 
  text-align: center; 
}

.divider-link a { 
  display: inline-flex; 
  align-items: center; 
  gap: 8px; 
  font-weight: 600; 
  color: var(--blue-accent); 
}

.divider-link a:hover { 
  text-decoration: underline; 
}

.back-link { 
  display: inline-flex; 
  align-items: center; 
  gap: 6px; 
  font-size: 14px; 
  font-weight: 600; 
  color: var(--blue-accent); 
  margin: 110px 0 0 24px; 
}

.back-link:hover { 
  text-decoration: underline; 
}

/* ---------- Typography Samples ---------- */
.type-sample h1,
.type-sample h2,
.type-sample h3,
.type-sample h4 { 
  margin-bottom: 10px; 
}

.type-sample h1 { 
  font-size: 38px; 
}

.type-sample h2 { 
  font-size: 30px; 
}

.type-sample h3 { 
  font-size: 24px; 
}

.type-sample h4 { 
  font-size: 18px; 
}

.type-sample p { 
  margin-bottom: 14px; 
  color: var(--text-secondary); 
  max-width: 640px; 
}

.type-sample a.inline-link { 
  color: var(--blue-accent); 
  font-weight: 600; 
  text-decoration: underline; 
}

.type-sample ul,
.type-sample ol { 
  margin: 0 0 18px; 
  padding-left: 22px; 
  color: var(--text-secondary); 
  max-width: 640px; 
}

.type-sample li { 
  margin-bottom: 6px; 
}

blockquote.styled-quote { 
  margin: 20px 0 0; 
  padding: 20px 24px; 
  border-left: 4px solid var(--teal-light); 
  background: var(--gray-light); 
  border-radius: 0 12px 12px 0; 
  font-style: italic; 
  color: var(--text-primary); 
  max-width: 640px; 
}

blockquote.styled-quote footer { 
  margin-top: 10px; 
  font-size: 13px; 
  font-style: normal; 
  color: var(--text-secondary); 
}

/* ---------- Buttons & CTAs ---------- */
.button-row,
.campaign-ctas { 
  display: flex; 
  gap: 14px; 
  flex-wrap: wrap; 
  align-items: center; 
  margin-bottom: 14px; 
}

.cta { 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  gap: 8px; 
  height: 44px; 
  padding: 0 16px; 
  box-sizing: border-box; 
  border-radius: 8px; 
  font-size: 14px; 
  font-weight: 600; 
  text-decoration: none; 
  line-height: 1; 
  border: 2px solid transparent; 
  transition: transform .15s ease, background-color .2s ease, color .2s ease, border-color .2s ease; 
  cursor: pointer; 
}

.cta:hover { 
  transform: translateY(-1px); 
}

.cta .icon { 
  width: 16px; 
  height: 16px; 
  flex-shrink: 0; 
}

/* Primary Solid Blue */
.cta-solid-blue { 
  background: var(--brand-blue); 
  color: #fff; 
}

.cta-solid-blue:hover { 
  background: var(--blue-accent); 
}

/* Secondary Outlined Blue */
.cta-outline-blue { 
  border-color: var(--brand-blue); 
  color: var(--brand-blue); 
}

.cta-outline-blue:hover { 
  background: var(--brand-blue); 
  color: #fff; 
}

/* Secondary Outlined Teal */
.cta-outline-teal { 
  border-color: var(--teal-accent); 
  color: var(--teal-accent); 
}

.cta-outline-teal:hover { 
  background: var(--teal-accent); 
  color: #fff; 
}

/* Tertiary Subtle Style */
.cta-outline-blue.cta-subtle { 
  border-color: var(--gray-medium); 
  color: var(--text-primary, #64748b); 
}

.cta-outline-blue.cta-subtle:hover { 
  background: var(--gray-light, #f8fafc); 
  border-color: var(--brand-blue); 
  color: var(--brand-blue); 
}

/* Accent Outline Options */
.cta-outline-accent { 
  border-color: var(--blue-accent); 
  color: var(--blue-accent); 
  border-radius: 6px; 
  width: 100%; 
  justify-content: center; 
}

.cta-outline-accent:hover { 
  background: var(--blue-accent); 
  color: #fff; 
}

/* Solid Teal Legacy Support */
.cta-solid-teal { 
  background: var(--teal-accent); 
  color: #fff; 
}

.cta-solid-teal:hover { 
  background: var(--teal-light); 
}

/* Disabled State */
.cta-disabled { 
  background: var(--gray-medium); 
  color: #A0AEC0; 
  cursor: not-allowed; 
}

.cta-disabled:hover { 
  transform: none; 
}
/* ---------- Badges & Alerts ---------- */
.badge-row { 
  display: flex; 
  gap: 10px; 
  flex-wrap: wrap; 
  margin-bottom: 28px; 
}

.badge { 
  display: inline-flex; 
  align-items: center; 
  gap: 6px; 
  padding: 6px 14px; 
  border-radius: 999px; 
  font-size: 13px; 
  font-weight: 700; 
  white-space: nowrap; 
}

.badge-blue { 
  background: var(--blue-bg); 
  color: var(--blue-accent); 
}

.badge-teal { 
  background: #EAFBF8; 
  color: var(--teal-accent); 
}

.badge-orange { 
  background: #FFF9F3; 
  color: var(--orange-cta); 
}

.badge-green { 
  background: #F6FFF9; 
  color: #16A34A; 
}

.badge-gray { 
  background: var(--gray-light); 
  color: var(--text-secondary); 
}

.badge-purple { 
  background-color: var(--chip-purple-bg, rgba(168, 85, 247, 0.12)); 
  color: var(--chip-purple-text, #6b21a8); 
}

.badge-ongoing { background:var(--blue-accent); color:#fff; }

.badge-verified {
  background: none;
  color: var(--blue-accent);
  border: none;
  margin: 0px;
  padding:0px;
  text-transform: capitalize;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.badge-verified::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  background-color: var(--blue-accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") no-repeat center / contain;
}

.alert { 
  display: flex; 
  gap: 14px; 
  padding: 18px 20px; 
  border-radius: 12px; 
  border: 1px solid; 
  margin-bottom: 16px; 
}

.alert .icon { 
  flex-shrink: 0; 
  width: 22px; 
  height: 22px; 
}

.alert-info { 
  background: var(--blue-bg); 
  border-color: var(--brand-blue); 
}

.alert-info .icon { 
  color: var(--brand-blue); 
}

.alert-success { 
  background: #F6FFF9; 
  border-color: #16A34A; 
}

.alert-success .icon { 
  color: #16A34A; 
}

.alert-warning { 
  background: #FFF9F3; 
  border-color: var(--orange-cta); 
}

.alert-warning .icon { 
  color: var(--orange-cta); 
}

.alert h5 { 
  font-size: 14px; 
  margin-bottom: 4px; 
}

.alert p { 
  font-size: 13px; 
  color: var(--text-secondary); 
}

/* ---------- Header / Navigation ---------- */
header.site-header { 
  position: fixed; 
  top: 0; 
  left: 0; 
  right: 0; 
  z-index: 100; 
  transition: background .25s ease, backdrop-filter .25s ease, box-shadow .25s ease; 
}

.utility-bar { 
  background: var(--text-primary); 
  color: #fff; 
}

.utility-bar-inner { 
  max-width: 1280px; 
  margin: 0 auto; 
  display: flex; 
  justify-content: flex-end; 
  gap: 24px; 
  padding: 8px 24px; 
  font-size: 13px; 
}

.utility-bar-inner a { 
  opacity: .85; 
}

.utility-bar-inner a:hover { 
  opacity: 1; 
  text-decoration: underline; 
}

.main-nav { 
  background: transparent; 
  transition: background .25s ease, backdrop-filter .25s ease; 
}

header.site-header.scrolled .main-nav { 
  background: rgba(34, 166, 238, 0.8); 
  backdrop-filter: blur(10px); 
  -webkit-backdrop-filter: blur(10px); 
}

header.site-header.scrolled .utility-bar { 
  display: none; 
}

.main-nav-inner { 
  max-width: 1280px; 
  margin: 0 auto; 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  padding: 0 24px; 
  height: 90px; 
}

.brand { 
  display: flex; 
  align-items: center; 
  gap: 12px; 
}

.brand-logo { 
  width: 46px; 
  height: 46px; 
  border-radius: 10px; 
  flex-shrink: 0; 
}

.brand-name { 
  font-family: var(--font-body); 
  font-weight: 700; 
  color: var(--brand-blue); 
  font-size: 17px; 
}

header.site-header.scrolled .brand-name { 
  color: #fff; 
}

.nav-links { 
  display: flex; 
  gap: 32px; 
  list-style: none; 
  margin: 0; 
  padding: 0; 
}

.nav-links a { 
  font-size: 15px; 
  font-weight: 600; 
  color: var(--text-primary); 
  transition: color .15s ease; 
}

.nav-links a:hover { 
  color: var(--brand-blue); 
}

header.site-header.scrolled .nav-links a { 
  color: #fff; 
}

header.site-header.scrolled .nav-links a:hover { 
  color: var(--text-primary); 
}

.hamburger { 
  display: none; 
  background: none; 
  border: none; 
  color: var(--text-primary); 
  padding: 8px; 
}

header.site-header.scrolled .hamburger { 
  color: #fff; 
}

.mobile-overlay { 
  display: none; 
  position: fixed; 
  inset: 0; 
  background: var(--text-primary); 
  color: var(--white-warm); 
  z-index: 200; 
  flex-direction: column; 
  align-items: center; 
  justify-content: center; 
  gap: 28px; 
}

.mobile-overlay.open { 
  display: flex; 
}

.mobile-overlay a { 
  font-size: 20px; 
  font-weight: 600; 
  color: var(--white-warm); 
}

.mobile-overlay .divider { 
  width: 60px; 
  height: 1px; 
  background: rgba(255, 255, 255, 0.2); 
}

.mobile-overlay-close { 
  position: absolute; 
  top: 20px; 
  right: 24px; 
  background: none; 
  border: none; 
  color: var(--white-warm); 
  padding: 8px; 
}

/* ---------- Hero Section ---------- */
.hero { 
  max-width: 1280px; 
  margin: 24px auto 0; 
  padding: 20px 24px 40px; 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 48px; 
  align-items: center; 
}

.hero-left .eyebrow { 
  color: var(--teal-accent); 
}

.hero-left h1 { 
  font-size: clamp(32px, 4vw, 46px); 
  color: var(--text-primary); 
  margin-bottom: 20px; 
}

.hero-left p.lead { 
  color: var(--text-secondary); 
  font-size: 17px; 
  max-width: 480px; 
  margin-bottom: 28px; 
}

.hero-ctas { 
  display: flex; 
  gap: 16px; 
  flex-wrap: wrap; 
  margin-bottom: 36px; 
}

.hero-below-line { 
  border-top: 1px solid var(--gray-medium); 
  padding-top: 18px; 
}

.hero-below-line a { 
  display: inline-flex; 
  align-items: center; 
  gap: 8px; 
  font-weight: 600; 
  color: var(--teal-accent); 
}

.hero-right .fpo { 
  width: 100%; 
  aspect-ratio: 4 / 5; 
  border-radius: 10px; 
}

/* =========================================================
   ACTION CARDS & EVENT GRID (Unified CSS)
========================================================== */

/* ---------- Container & Layout Modes ---------- */
#eventGrid.action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

/* JS View Toggle: Rows Layout */
#eventGrid.layout-rows {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#eventGrid.layout-rows .action-card {
  width: 100%;
  flex-direction: row;
  align-items: center;
}

#eventGrid.layout-rows .card-img-wrap {
  width: 180px;
  min-width: 180px;
  height: 100%;
  aspect-ratio: auto;
}

/* ---------- Card Shell ---------- */
.action-card {
  width: 100%;
  background: #fff;
  border: 1px solid var(--gray-medium, #e2e8f0);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.action-card:hover {
  box-shadow: 0 8px 24px rgba(45, 55, 72, 0.08);
  transform: translateY(-2px);
}

/* ---------- Image & FPO ---------- */
.action-card .card-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--white-beige, #f7f7f7);
}

.action-card .card-img-wrap .fpo {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary, #718096);
  font-size: 14px;
}

.action-card .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.action-card:hover .card-img-wrap img {
  transform: scale(1.05);
}

/* ---------- Card Body & Typography ---------- */
.action-card .card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.action-card h4 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary, #1a202c);
  margin: 0;
}

.action-card .event-date {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-blue, #2b6cb0);
}

.action-card .action-desc {
  font-size: 13px;
  color: var(--text-secondary, #4a5568);
  line-height: 1.5;
  margin: 0;
}

.action-card .event-location {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-secondary, #718096);
}

.action-card .event-location .icon {
  width: 14px;
  height: 14px;
}

/* ---------- Badges ---------- */
.badge-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 20px;
}

/*
.badge-teal { background-color: #e6fffa; color: #234e52; }
.badge-blue { background-color: #ebf8ff; color: #2b6cb0; }
.badge-orange { background-color: #fffaf0; color: #dd6b20; }
.badge-ongoing_v2 { background-color: #edf2f7; color: #4a5568; }
*/


/* ---------- Action Links (Grid, Row & List View Sync) ---------- */
.action-card .action-links { 
  display: flex; 
  align-items: center;
  gap: 16px; 
  flex-wrap: wrap;
  margin-top: auto; 
  padding-top: 12px; 
  border-top: 1px solid var(--gray-medium, #e2e8f0);
}

/* Force links in Grid/Row cards to match List view typography and strip button formatting */
.action-card .action-links a,
.action-card .action-links a.button,
.action-card .action-links a.button-sm {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  box-shadow: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  color: var(--brand-blue, #2b6cb0) !important;
}

.action-card .action-links a:hover,
.action-card .action-links a.button:hover {
  background: transparent !important;
  text-decoration: underline !important;
  color: var(--brand-blue, #2b6cb0) !important;
}

/* Color Modifier Overrides */
.action-card .action-links a.link-signup,
.event-list-links a.link-signup {
  color: var(--brand-blue, #2b6cb0) !important;
}

.action-card .action-links a.link-donate,
.event-list-links a.link-donate {
  color: var(--teal-accent, #319795) !important;
}

.action-card .action-links a.link-volunteer,
.event-list-links a.link-volunteer {
  color: var(--blue-accent, #3182ce) !important;
}

/* Icon Sizing Alignment */
.action-card .action-links a .icon,
.action-card .action-links a svg,
.event-list-links a .icon,
.event-list-links a svg {
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  stroke-width: 2.25px !important;
  margin: 0 !important;
}

/* ---------- Board & Committee Cards ---------- */
.board-grid { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 28px; 
  justify-content: center; 
  margin-top: 32px; 
}


/* =========================================================
     NEWS
  ========================================================== */
  
  .news-grid { display:flex; gap:24px; justify-content:center; flex-wrap:wrap; margin-top:32px; }
  .news-card { width:320px; }
  .news-thumb { position:relative; width:320px; aspect-ratio:16/9; border-radius:14px; overflow:hidden; margin-bottom:14px; }
  .news-thumb img { width:100%; height:100%; object-fit:cover; object-position:center; display:block; }
  .news-thumb .badge { position:absolute; top:12px; left:12px; }
  .news-card h4 {
    font-size:17px; margin-bottom:6px;
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
  }
  .news-card h4 a:hover { color:var(--blue-accent); }
  .news-card .news-date { font-size:13px; color:var(--text-secondary); }



/* ========================================================= */


.board-card { 
  width: 250px; 
  text-align: center; 
}

.board-card .fpo { 
  width: 100%; 
  aspect-ratio: 1 / 1; 
  border-radius: 16px; 
  margin-bottom: 16px; 
}

.board-card h4 { 
  font-size: 18px; 
  margin-bottom: 2px; 
}

.board-card .role { 
  color: var(--blue-accent); 
  font-weight: 600; 
  font-size: 13px; 
  letter-spacing: .03em; 
  text-transform: uppercase; 
  margin-bottom: 10px; 
  display: block; 
}

.board-card p { 
  font-size: 14px; 
  color: var(--text-secondary); 
  margin-bottom: 14px; 
}

.board-card .contact { 
  display: inline-flex; 
  align-items: center; 
  gap: 6px; 
  font-size: 13px; 
  color: var(--teal-accent); 
  font-weight: 600; 
}

.board-card .contact:hover { 
  text-decoration: underline; 
}

.board-card .contact .icon { 
  width: 1em; 
  height: 1em; 
}

.board-card .contact-row { 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  gap: 10px; 
}

.board-card .contact-btn { 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  width: 34px; 
  height: 34px; 
  border-radius: 50%; 
  background: var(--blue-bg); 
  color: var(--teal-accent); 
  transition: background .15s ease, color .15s ease; 
}

.board-card .contact-btn:hover { 
  background: var(--teal-accent); 
  color: #fff; 
}

.board-card .contact-btn .icon { 
  width: 16px; 
  height: 16px; 
}

.board-card .contact-btn.disabled { 
  background: var(--gray-light); 
  color: #CBD5E1; 
  cursor: not-allowed; 
  pointer-events: none; 
}

.board-grid.committee .board-card .fpo { 
  aspect-ratio: 1 / 1; 
}

/* ---------- Tables ---------- */
.table-wrap { 
  overflow-x: auto; 
  margin-top: 8px; 
  border: 1px solid var(--gray-medium); 
  border-radius: 12px; 
}

table.styled-table { 
  width: 100%; 
  border-collapse: collapse; 
  font-size: 14px; 
  min-width: 560px; 
}

.styled-table th { 
  background: var(--text-primary); 
  color: #fff; 
  text-align: left; 
  padding: 14px 16px; 
  font-weight: 600; 
  font-size: 12px; 
  text-transform: uppercase; 
  letter-spacing: .05em; 
}

.styled-table td { 
  padding: 14px 16px; 
  border-bottom: 1px solid var(--gray-medium); 
  color: var(--text-secondary); 
}

.styled-table tr:last-child td { 
  border-bottom: none; 
}

.styled-table tr:nth-child(even) { 
  background: var(--gray-light); 
}

.styled-table tr.row-hidden { 
  display: none; 
}

.styled-table td.amount { 
  color: var(--text-primary); 
  font-weight: 700; 
}

.styled-table td.doc-title { 
  color: var(--text-primary); 
  font-weight: 600; 
}

.styled-table td.doc-action a { 
  display: inline-flex; 
  align-items: center; 
  gap: 6px; 
  color: var(--blue-accent); 
  font-weight: 600; 
  font-size: 13px; 
}

.styled-table td.doc-action a:hover { 
  text-decoration: underline; 
}

.styled-table td.doc-action .icon { 
  width: 1em; 
  height: 1em; 
}

/* ---------- Accordions ---------- */
.accordion { 
  margin-top: 8px; 
  border: 1px solid var(--gray-medium); 
  border-radius: 14px; 
  overflow: hidden; 
}

.accordion-item { 
  border-bottom: 1px solid var(--gray-medium); 
}

.accordion-item:last-child { 
  border-bottom: none; 
}

.accordion-header { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  width: 100%; 
  padding: 18px 22px; 
  background: #fff; 
  border: none; 
  text-align: left; 
  font-family: var(--font-body); 
  font-size: 15px; 
  font-weight: 600; 
  color: var(--text-primary); 
  cursor: pointer; 
}

.accordion-header:hover { 
  background: var(--gray-light); 
}

.accordion-header .chevron { 
  transition: transform .25s ease; 
  flex-shrink: 0; 
  color: var(--brand-blue); 
  width: 20px; 
  height: 20px; 
}

.accordion-item.open .accordion-header .chevron { 
  transform: rotate(180deg); 
}

.accordion-panel { 
  max-height: 0; 
  overflow: hidden; 
  transition: max-height .3s ease; 
  background: var(--gray-light); 
}

.accordion-panel-inner { 
  padding: 0 22px 20px; 
  font-size: 14px; 
  color: var(--text-secondary); 
}

/* ---------- Year Accordion ---------- */
.year-accordion { 
  margin-top: 8px; 
  border: 1px solid var(--gray-medium); 
  border-radius: 14px; 
  overflow: hidden; 
}

.year-item { 
  border-bottom: 1px solid var(--gray-medium); 
}

.year-item:last-child { 
  border-bottom: none; 
}

.year-header { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  width: 100%; 
  padding: 20px 24px; 
  background: #fff; 
  border: none; 
  text-align: left; 
  font-family: var(--font-head); 
  font-size: 18px; 
  font-weight: 700; 
  color: var(--text-primary); 
  cursor: pointer; 
}

.year-header:hover { 
  background: var(--gray-light); 
}

.year-header .year-meta { 
  font-family: var(--font-body); 
  font-size: 13px; 
  font-weight: 600; 
  color: var(--text-secondary); 
  margin-left: 10px; 
}

.year-header .chevron { 
  transition: transform .25s ease; 
  flex-shrink: 0; 
  color: var(--brand-blue); 
  width: 20px; 
  height: 20px; 
}

.year-item.open .year-header .chevron { 
  transform: rotate(180deg); 
}

.year-panel { 
  max-height: 0; 
  overflow: hidden; 
  transition: max-height .3s ease; 
  background: var(--gray-light); 
}

.year-panel-inner { 
  padding: 4px 24px 26px; 
}

/* ---------- Chip Filter ---------- */
.chip-filter { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 10px;
  margin: 16px 0 24px;
}

.chip-filter button,
.chip-filter .chip { 
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--gray-medium); 
  background: #fff; 
  color: var(--text-secondary); 
  padding: 6px 16px;
  border-radius: 999px; 
  font-size: 13px; 
  font-weight: 600; 
  font-family: var(--font-body); 
  text-decoration: none;
  cursor: pointer; 
  transition: all .2s ease;
}

.chip-filter button:hover,
.chip-filter .chip:hover { 
  border-color: var(--brand-blue); 
  background: var(--gray-medium, #e2e8f0);
}

.chip-filter button.active,
.chip-filter .chip.active { 
  color: #fff; 
  border-color: transparent; 
  background: var(--brand-blue, #0284c7);
}

.chip-filter button.active[data-cat="all"] { 
  background: var(--text-primary); 
}

.chip-filter button.active[data-cat="Governance"] { 
  background: var(--blue-accent); 
}

.chip-filter button.active[data-cat="Meetings"] { 
  background: var(--teal-accent); 
}

.chip-filter button.active[data-cat="Financial"] { 
  background: var(--orange-cta); 
}

.chip-filter button.active[data-cat="Communications"] { 
  background: #16A34A; 
}

.chip-filter button.active[data-cat="participation"] { 
  background: var(--teal-accent); 
}

.chip-filter button.active[data-cat="fundraiser"] { 
  background: var(--orange-cta); 
}

.chip-filter button.active[data-cat="volunteer"] { 
  background: var(--blue-accent); 
}

/* ---------- Forms ---------- */
.form-grid { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 20px; 
  margin-top: 8px; 
}

.form-group { 
  display: flex; 
  flex-direction: column; 
  gap: 6px; 
}

.form-group.full { 
  grid-column: 1 / -1; 
}

.form-group label { 
  font-size: 14px; 
  font-weight: 600; 
  color: var(--text-primary); 
}

.form-group .hint { 
  font-size: 12px; 
  color: #A0AEC0; 
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea { 
  font-family: var(--font-body); 
  font-size: 15px; 
  padding: 12px 14px; 
  border: 1px solid var(--gray-medium); 
  border-radius: 8px; 
  background: #fff; 
  color: var(--text-primary); 
  width: 100%; 
}

.form-group textarea { 
  resize: vertical; 
  min-height: 110px; 
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { 
  outline: none; 
  border-color: var(--brand-blue); 
  box-shadow: 0 0 0 3px rgba(34, 166, 238, .15); 
}

.checkbox-row,
.radio-row { 
  display: flex; 
  align-items: center; 
  gap: 8px; 
  font-size: 14px; 
  color: var(--text-secondary); 
}

.checkbox-row input,
.radio-row input { 
  width: 16px; 
  height: 16px; 
  accent-color: var(--brand-blue); 
}

.radio-group { 
  display: flex; 
  gap: 20px; 
  flex-wrap: wrap; 
}

.checkbox-group { 
  display: flex; 
  flex-direction: column; 
  gap: 10px; 
}

.form-footer { 
  display: flex; 
  align-items: center; 
  gap: 16px; 
  margin-top: 8px; 
  flex-wrap: wrap; 
}

.form-footer .fine-print { 
  font-size: 12px; 
  color: #A0AEC0; 
}

/* ---------- Icon Showcase ---------- */
.icon-showcase { 
  display: grid; 
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); 
  gap: 14px; 
  margin-top: 8px; 
}

.icon-swatch { 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  gap: 8px; 
  padding: 16px 8px; 
  border: 1px solid var(--gray-medium); 
  border-radius: 10px; 
  background: var(--gray-light); 
}

.icon-swatch .icon { 
  width: 22px; 
  height: 22px; 
  color: var(--brand-blue); 
}

.icon-swatch span { 
  font-size: 10.5px; 
  color: var(--text-secondary); 
  text-align: center; 
  word-break: break-word; 
}

/* ---------- Campaign Section ---------- */
.campaign { 
  max-width: 1152px; 
  margin: 24px auto; 
  background: #fff; 
  border: 1px solid var(--gray-medium); 
  border-radius: 20px; 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  overflow: hidden; 
}

.campaign-left { 
  padding: 40px 44px;
}

.campaign-left h3 { 
  font-size: 26px; 
  margin: 8px 0 14px; 
}

.campaign-left > p { 
  color: var(--text-secondary); 
  margin-bottom: 24px; 
}

.progress-wrap { 
  margin-bottom: 24px; 
}

.progress-track { 
  width: 100%; 
  height: 12px; 
  border-radius: 999px; 
  background: var(--gray-light); 
  overflow: hidden; 
  margin-bottom: 10px; 
  border: 1px solid var(--gray-medium); 
}

.progress-fill { 
  height: 100%; 
  background: var(--teal-light); 
  border-radius: 999px; 
  width: 0%; 
  transition: width 1s ease; 
}

.progress-labels { 
  display: flex; 
  justify-content: space-between; 
  font-size: 14px; 
  font-weight: 700; 
}

.progress-labels .raised { 
  color: var(--text-primary); 
}

.progress-labels .goal { 
  color: var(--teal-accent); 
}

.campaign-ctas { 
  display: flex; 
  gap: 14px; 
  flex-wrap: wrap; 
}

.campaign-right { 
  position: relative; 
}

.campaign-right .fpo { 
  width: 100%; 
  height: 100%; 
  min-height: 260px; 
  border-radius: 0 20px 20px 0; 
}

/* ---------- Stat Cards ---------- */
.stat-grid { 
  display: flex; 
  gap: 20px; 
  margin-top: 32px; 
  flex-wrap: wrap; 
}

.stat-card { 
  flex: 1; 
  min-width: 220px; 
  background: var(--blue-bg); 
  border: 1px solid var(--blue-accent); 
  border-radius: 10px; 
  padding: 26px; 
}

.stat-card .stat-number { 
  font-size: 30px; 
  font-weight: 700; 
  color: var(--blue-accent); 
  font-family: var(--font-head); 
}

.stat-card .stat-sub { 
  font-size: 16px; 
  font-weight: 700; 
  color: var(--text-primary); 
  margin: 6px 0 10px; 
}

.stat-card .stat-desc { 
  font-size: 14px; 
  color: var(--blue-accent); 
}

/* ---------- Governance & Trust Panels ---------- */
.trust-grid { 
  display: flex; 
  gap: 20px; 
  margin-top: 32px; 
  flex-wrap: wrap; 
}

.icon-card { 
  flex: 1; 
  min-width: 220px; 
  border-radius: 10px; 
  padding: 26px; 
  border: 1px solid; 
}

.icon-card .icon { 
  width: 28px; 
  height: 28px; 
  margin-bottom: 14px; 
  display: block; 
}

.icon-card .stat-number { 
  font-size: 24px; 
  font-weight: 700; 
  font-family: var(--font-head); 
}

.icon-card .stat-sub { 
  font-size: 16px; 
  font-weight: 700; 
  color: var(--text-primary); 
  margin: 6px 0 10px; 
}

.icon-card .stat-desc { 
  font-size: 14px; 
  color: var(--text-secondary); 
}

/* ---------- Icon Card Themes ---------- */
.icon-card.card-green { 
  border-color: #16A34A; 
  background: #F6FFF9; 
}

.icon-card.card-green .icon,
.icon-card.card-green .stat-number { 
  color: #16A34A; 
}

.icon-card.card-blue { 
  border-color: var(--brand-blue); 
  background: var(--blue-bg); 
}

.icon-card.card-blue .icon,
.icon-card.card-blue .stat-number { 
  color: var(--brand-blue); 
}

.icon-card.card-orange { 
  border-color: var(--orange-cta); 
  background: #FFF9F3; 
}

.icon-card.card-orange .icon,
.icon-card.card-orange .stat-number { 
  color: var(--orange-cta); 
}

.gov-panel { 
  background: var(--gray-light); 
  border: 1px solid var(--gray-medium); 
  border-radius: 20px; 
  padding: 50px; 
  margin-top: 36px; 
}

.gov-panel h3 { 
  font-size: 22px; 
  margin-bottom: 12px; 
}

.gov-panel > p { 
  color: var(--text-secondary); 
  margin-bottom: 24px; 
}

.gov-buttons { 
  display: flex; 
  gap: 16px; 
  flex-wrap: wrap; 
  margin-bottom: 36px; 
}

.gov-buttons .disabled { 
  color: #c5c5c5; 
}

.gov-btnXXX { 
  display: inline-flex; 
  align-items: center; 
  gap: 8px; 
  padding: 12px 18px; 
  border: 1px solid #999999; 
  background: #EBEBE4; 
  border-radius: 8px; 
  font-size: 14px; 
  font-weight: 600; 
  color: var(--text-primary); 
}

.gov-btn {
  display: inline-block;
}

.gov-btn a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid #999999;
  background: #EBEBE4;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
}

.meeting-heading { 
  color: var(--brand-blue); 
  font-weight: 700; 
  font-size: 19px; 
  margin-bottom: 10px; 
}

.gov-panel .membership { 
  color: var(--text-secondary); 
  margin-top: 18px; 
  font-size: 15px; 
}

/* ---------- Get Involved Cards ---------- */
.involved-grid { 
  display: flex; 
  gap: 24px; 
  justify-content: center; 
  flex-wrap: wrap; 
  margin-top: 32px; 
}

.involved-card { 
  width: 320px; 
  text-align: left; 
}

.involved-card .fpo { 
  width: 320px; 
  height: 320px; 
  border-radius: 20px; 
  margin-bottom: 20px; 
}

.involved-card .body { 
  padding: 0 4px; 
}

.involved-card .eyebrow { 
  color: var(--teal-accent); 
}

.involved-card h4 { 
  font-size: 20px; 
  font-weight: 700; 
  margin-bottom: 10px; 
}

.involved-card p { 
  font-size: 14px; 
  color: var(--text-secondary); 
  margin-bottom: 20px; 
}

/* ---------- Wrappable Horizontal Card Grid ---------- */
.card-grid-horizontal { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 20px; 
  width: 100%; 
}

.resource-card { 
  flex: 0 0 calc(50% - 10px); 
  max-width: calc(50% - 10px); 
  background: #fff; 
  border: 1px solid var(--gray-medium); 
  border-radius: 16px; 
  padding: 24px; 
  display: flex; 
  flex-direction: column; 
  box-sizing: border-box; 
  transition: transform .15s ease, box-shadow .15s ease; 
}

.resource-card:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05); 
}

.resource-card .card-header-meta { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  gap: 12px; 
  margin-bottom: 12px; 
}

.resource-card .eyebrow { 
  margin-bottom: 0; 
  font-size: 10px; 
}

/* Base Badge Pill Style (Unified Event & Resource Card Styling) */
.badge-pill,
.resource-card .subcat-chip { 
  display: inline-flex; 
  align-items: center; 
  padding: 4px 12px; 
  border-radius: 999px; 
  font-size: 11px; 
  font-weight: 800; 
  line-height: 1.2; 
  white-space: nowrap; 
  border: none; 
  background-color: var(--gray-light, #f1f5f9); 
  color: var(--text-secondary, #475569);
  text-transform: uppercase; 
}

/* Badge Color Variations */
.badge-pill.chip-financial,
.subcat-chip.chip-financial { 
  background-color: var(--chip-success-bg, rgba(34, 197, 94, 0.12)); 
  color: var(--chip-success-text, #15803d); 
}

.badge-pill.chip-events,
.subcat-chip.chip-events { 
  background-color: var(--chip-warning-bg, rgba(245, 158, 11, 0.12)); 
  color: var(--chip-warning-text, #b45309); 
}

.badge-pill.chip-governance,
.subcat-chip.chip-governance { 
  background-color: var(--chip-purple-bg, rgba(168, 85, 247, 0.12)); 
  color: var(--chip-purple-text, #6b21a8); 
}

.badge-pill.chip-supplies,
.subcat-chip.chip-supplies { 
  background-color: var(--chip-teal-bg, rgba(20, 184, 166, 0.12)); 
  color: var(--chip-teal-text, #0f766e); 
}

.badge-pill.chip-brand,
.subcat-chip.chip-brand { 
  background-color: var(--chip-brand-bg, rgba(14, 165, 233, 0.12)); 
  color: var(--chip-brand-text, #0369a1); 
}

.resource-card h3.card-title { 
  font-size: 18px; 
  color: var(--text-primary); 
  margin-bottom: 10px; 
}

.resource-card .card-desc { 
  font-size: 14px; 
  color: var(--text-secondary); 
  line-height: 1.5; 
  margin-bottom: 24px; 
  flex-grow: 1; 
}

.resource-card .card-cta { 
  width: 100%; 
}

.card-cta-group { 
  display: flex; 
  gap: 10px; 
  width: 100%; 
}

.card-cta-group .card-cta-btn { 
  padding: 0 12px; 
}

.dual-cta-row .card-cta-btn { 
  flex: 1; 
  min-width: 0; 
}

.dual-cta-stacked { 
  flex-direction: column; 
}

.dual-cta-stacked .card-cta-btn { 
  width: 100%; 
}
/* ---------- Legal Documents ---------- */
.legal-toc { 
  background: var(--gray-light); 
  border: 1px solid var(--gray-medium); 
  border-radius: 14px; 
  padding: 24px 28px; 
  margin-bottom: 40px; 
}

.legal-toc h2 { 
  font-size: 15px; 
  margin-bottom: 12px; 
  text-transform: uppercase; 
  letter-spacing: .06em; 
  color: var(--text-secondary); 
}

.legal-toc ol { 
  margin: 0; 
  padding-left: 20px; 
  columns: 2; 
  column-gap: 32px; 
}

.legal-toc li { 
  margin-bottom: 8px; 
  font-size: 14px; 
  break-inside: avoid; 
}

.legal-toc a { 
  color: var(--blue-accent); 
  font-weight: 600; 
}

.legal-toc a:hover { 
  text-decoration: underline; 
}

.legal-content h2 { 
  font-size: 21px; 
  margin: 38px 0 14px; 
  scroll-margin-top: 150px; 
}

.legal-content h2:first-of-type { 
  margin-top: 0; 
}

.legal-content p { 
  color: var(--text-secondary); 
  margin-bottom: 14px; 
  max-width: 760px; 
}

.legal-content ul { 
  margin: 0 0 14px; 
  padding-left: 22px; 
  color: var(--text-secondary); 
  max-width: 760px; 
}

.legal-content li { 
  margin-bottom: 6px; 
}

.legal-content a.inline-link { 
  color: var(--blue-accent); 
  font-weight: 600; 
  text-decoration: underline; 
}

.legal-content strong { 
  color: var(--text-primary); 
}

/* ---------- Visual Separators ---------- */
.image-break { 
  width: 100%; 
  margin: auto; 
  padding: 0; 
  text-align: center; 
}

.image-break img { 
  width: auto; 
  height: 100%; 
  border-radius: 0; 
}

/* ---------- Footer ---------- */
footer.site-footer,
.site-footer { 
  background-color: var(--footer-bg); 
  color: var(--footer-text); 
  margin-top: 40px; 
  padding: 60px 20px 24px 20px; 
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; 
  flex-shrink: 0; 
}

.footer-container,
.footer-inner { 
  max-width: 1200px; 
  margin: 0 auto; 
  display: flex; 
  flex-wrap: wrap; 
  gap: 40px; 
}

.footer-col { 
  flex: 1 1 160px; 
}

.footer-col-wide { 
  flex: 2 1 280px; 
}

.footer-col h5,
.footer-heading { 
  color: var(--footer-text); 
  font-size: 14px; 
  font-weight: 700; 
  margin-bottom: 20px; 
  text-transform: uppercase; 
  letter-spacing: 0.5px; 
}

.footer-logo { 
  font-size: 22px; 
  font-weight: 800; 
  color: var(--footer-text); 
  margin-bottom: 8px; 
  display: flex; 
  align-items: center; 
  gap: 10px; 
}

.footer-logo-badge { 
  background: var(--brand-blue); 
  color: #fff; 
  padding: 4px 8px; 
  border-radius: 6px; 
  font-size: 14px; 
}

.footer-org-name { 
  font-size: 16px; 
  font-weight: 600; 
  color: var(--footer-text); 
  margin-bottom: 6px; 
}

.footer-address { 
  color: var(--footer-text-muted); 
  font-size: 14px; 
  line-height: 1.5; 
  margin-bottom: 20px; 
  font-style: normal; 
}

.footer-socials { 
  display: flex; 
  align-items: center; 
  gap: 12px; 
  margin-bottom: 24px; 
}

.social-icon-link { 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  width: 36px; 
  height: 36px; 
  border-radius: 50%; 
  background-color: rgba(255, 255, 255, 0.1); 
  color: var(--footer-text); 
  transition: background-color 0.2s ease, transform 0.2s ease; 
}

.social-icon-link:hover { 
  background-color: var(--brand-blue); 
  transform: translateY(-2px); 
}

.social-icon-link svg { 
  width: 18px; 
  height: 18px; 
  fill: currentColor; 
}

.footer-contact-list { 
  display: flex; 
  flex-direction: column; 
  gap: 12px; 
}

.contact-item { 
  display: flex; 
  align-items: center; 
  gap: 10px; 
  color: var(--footer-text-muted); 
  font-size: 14px; 
  text-decoration: none; 
  transition: color 0.2s ease; 
}

.contact-item:hover { 
  color: var(--footer-hover); 
}

.contact-item svg { 
  width: 18px; 
  height: 18px; 
  stroke: currentColor; 
  flex-shrink: 0; 
}

.footer-col ul,
.footer-nav-list { 
  list-style: none; 
  padding: 0; 
  margin: 0; 
  display: flex; 
  flex-direction: column; 
  gap: 12px; 
}

.footer-col a,
.footer-nav-list a { 
  color: var(--footer-text-muted); 
  text-decoration: none; 
  font-size: 14px; 
  transition: color 0.2s ease; 
}

.footer-col a:hover,
.footer-nav-list a:hover { 
  color: var(--footer-hover); 
  text-decoration: underline; 
}

.footer-bottom { 
  max-width: 1200px; 
  margin: 40px auto 0 auto; 
  padding-top: 24px; 
  border-top: 1px solid var(--footer-border); 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  flex-wrap: wrap; 
  gap: 12px; 
  font-size: 13px; 
  color: var(--footer-text-muted); 
}

.copyright-strip { 
  background: #000; 
  color: #fff; 
  text-align: center; 
  font-size: 12px; 
  padding: 14px 20px; 
}

.copyright-strip a { 
  opacity: 0.75; 
}

.copyright-strip a:hover { 
  opacity: 1; 
  text-decoration: underline; 
}

/* =========================================================
   CALENDAR & EVENT SYSTEM EXTENSIONS (Unified & Corrected)
   ========================================================== */

/* ---------- Controls: Month Nav + View Toggle ---------- */
.controls-row { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  flex-wrap: wrap; 
  gap: 16px; 
  margin-bottom: 8px; 
}

.month-nav { 
  display: flex; 
  align-items: center; 
  gap: 16px; 
}

.month-nav button,
a.month-nav.button { 
  width: 38px; 
  height: 38px; 
  border-radius: 50%; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  background: var(--gray-light, #f8fafc); 
  border: 1px solid var(--gray-medium, #e2e8f0); 
  color: var(--text-primary, #1a202c); 
  text-decoration: none;
  transition: background .15s ease, color .15s ease; 
}

.month-nav button:hover,
a.month-nav.button:hover { 
  background: var(--brand-blue, #2b6cb0); 
  color: #fff; 
  border-color: var(--brand-blue, #2b6cb0); 
}

.month-nav .icon { 
  width: 18px; 
  height: 18px; 
}

.date-select-group { 
  display: flex; 
  align-items: center; 
  gap: 8px; 
}

.date-select-group select { 
  font-family: var(--font-body, inherit); 
  font-size: 15px; 
  font-weight: 600; 
  color: var(--text-primary, #1a202c); 
  padding: 9px 12px; 
  border: 1px solid var(--gray-medium, #e2e8f0); 
  border-radius: 8px; 
  background: #fff; 
  cursor: pointer; 
}

.date-select-group select:focus { 
  outline: none; 
  border-color: var(--brand-blue, #2b6cb0); 
  box-shadow: 0 0 0 3px rgba(43, 108, 176, .15); 
}

.date-select-group select#monthSelect { 
  min-width: 130px; 
}

.date-select-group select#yearSelect { 
  min-width: 90px; 
}

.view-toggle { 
  display: inline-flex; 
  border: 1px solid var(--gray-medium, #e2e8f0); 
  border-radius: 10px; 
  overflow: hidden; 
}

.view-toggle button { 
  display: flex; 
  align-items: center; 
  gap: 6px; 
  padding: 9px 16px; 
  background: #fff; 
  border: none; 
  font-size: 13px; 
  font-weight: 600; 
  color: var(--text-secondary, #718096); 
  cursor: pointer;
}

.view-toggle button .icon { 
  width: 16px; 
  height: 16px; 
}

.view-toggle button.active { 
  background: var(--text-primary, #1a202c); 
  color: #fff; 
}

.view-toggle button:not(.active):hover { 
  background: var(--gray-light, #f8fafc); 
}

/* ---------- Ongoing Programs ---------- */
.ongoing-header { 
  margin-bottom: 4px; 
}

.ongoing-header h2 { 
  font-size: 22px; 
  margin-bottom: 6px; 
}

.ongoing-header p { 
  color: var(--text-secondary, #718096); 
  font-size: 14px; 
  max-width: 640px; 
}

.ongoing-list { 
  display: flex; 
  flex-direction: column; 
  border: 1px solid var(--gray-medium, #e2e8f0); 
  border-radius: 14px; 
  overflow: hidden; 
  margin-top: 20px; 
}

.ongoing-row { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  gap: 16px; 
  flex-wrap: wrap; 
  padding: 16px 20px; 
  border-bottom: 1px solid var(--gray-medium, #e2e8f0); 
  background: #fff; 
}

.ongoing-row:last-child { 
  border-bottom: none; 
}

.ongoing-row:nth-child(even) { 
  background: var(--gray-light, #f8fafc); 
}

.ongoing-left { 
  display: flex; 
  align-items: center; 
  gap: 12px; 
  flex-wrap: wrap; 
}

.ongoing-row h4 { 
  font-size: 15px; 
  margin: 0;
}

/* ---------- Event Grid Base & View State Toggling ---------- */
#eventGrid { 
  display: none; 
  margin-top: 24px; 
}

#eventGrid.layout-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
  gap: 20px; 
  width: 100%; 
}

#eventGrid.layout-rows { 
  display: flex; 
  flex-direction: column; 
  gap: 20px; 
  width: 100%;
}

/* Action Card Base Styling */
.action-card { 
  display: flex; 
  flex-direction: column; 
  background: #fff; 
  border: 1px solid var(--gray-medium, #e2e8f0); 
  border-radius: 16px; 
  overflow: hidden; 
  transition: box-shadow .2s ease, transform .2s ease; 
}

.action-card:hover { 
  box-shadow: 0 8px 24px rgba(45, 55, 72, .08); 
  transform: translateY(-2px); 
}

.action-card .card-img-wrap { 
  width: 100%; 
  /* aspect-ratio: 16 / 9; */
  aspect-ratio: 1 / 1; /* Makes the image a perfect square */
  overflow: hidden;
  background: var(--white-beige, #f7f7f7);
}

.action-card .card-img-wrap img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover;
  display: block;
}

.action-card .card-body { 
  padding: 20px; 
  display: flex; 
  flex-direction: column; 
  gap: 8px; 
  flex: 1; 
}

.action-card .event-date { 
  font-size: 13px; 
  font-weight: 600; 
  color: var(--brand-blue, #2b6cb0); 
}

.action-card h4 { 
  font-size: 18px; 
  margin: 0; 
  color: var(--text-primary, #1a202c);
}

.action-card .action-desc { 
  font-size: 14px; 
  color: var(--text-secondary, #64748b); 
  display: -webkit-box; 
  -webkit-line-clamp: 3; 
  -webkit-box-orient: vertical; 
  overflow: hidden; 
  margin: 0; 
}

.action-card .event-location { 
  font-size: 13px; 
  color: var(--text-secondary, #64748b); 
  display: flex; 
  align-items: center; 
  gap: 6px; 
}

.action-card .event-location .icon { 
  width: 14px; 
  height: 14px; 
}

.action-card .action-links { 
  display: flex; 
  gap: 12px; 
  flex-wrap: wrap; 
  margin-top: auto; 
  padding-top: 12px; 
  border-top: 1px solid var(--gray-medium, #e2e8f0);
}

/* Rows Layout Modifications */
#eventGrid.layout-rows .action-card { 
  flex-direction: row; 
  width: 100%;
}

#eventGrid.layout-rows .card-img-wrap { 
  width: 240px; 
  min-width: 240px;
  aspect-ratio: auto; 
  flex-shrink: 0; 
}

#eventGrid.layout-rows .card-body { 
  padding: 22px; 
  flex: 1;
}

#eventGrid.layout-rows .action-desc { 
  -webkit-line-clamp: unset; 
  display: block; 
  overflow: visible; 
}

#eventGrid.layout-rows h4 { 
  font-size: 19px; 
}

/* ---------- List View ---------- */
.event-list { 
  display: none; 
  flex-direction: column; 
  margin-top: 24px; 
  border: 1px solid var(--gray-medium, #e2e8f0); 
  border-radius: 14px; 
  overflow: hidden; 
}

.event-list.show { 
  display: flex; 
}

.event-list-row { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  gap: 16px; 
  flex-wrap: wrap; 
  padding: 16px 20px; 
  border-bottom: 1px solid var(--gray-medium, #e2e8f0); 
  background: #fff; 
}

.event-list-row:last-child { 
  border-bottom: none; 
}

.event-list-row:nth-child(even) { 
  background: var(--gray-light, #f8fafc); 
}

.event-list-left { 
  display: flex; 
  align-items: center; 
  gap: 14px; 
  flex-wrap: wrap; 
}

.event-list-row .event-date { 
  font-size: 13px; 
  font-weight: 600; 
  color: var(--brand-blue, #2b6cb0); 
  min-width: 110px; 
}

.event-list-row h4 { 
  font-size: 15px; 
  margin: 0;
}

.event-list-links { 
  display: flex; 
  gap: 16px; 
}

.event-list-links a { 
  font-size: 13px; 
  font-weight: 700; 
  color: var(--brand-blue, #2b6cb0); 
  display: inline-flex; 
  align-items: center; 
  gap: 4px; 
  text-decoration: none;
}

.event-list-links a:hover { 
  text-decoration: underline; 
}

.event-list-links a.link-donate { 
  color: var(--teal-accent, #319795); 
}

/* ---------- Empty State ---------- */
.empty-state { 
  display: none; 
  text-align: center; 
  padding: 50px 20px; 
  color: var(--text-secondary, #718096); 
}

.empty-state.show { 
  display: block; 
}

.empty-state .icon { 
  width: 32px; 
  height: 32px; 
  color: #cbd5e1; 
  margin-bottom: 10px; 
}

/* =========================================================
   RESPONSIVE MEDIA QUERIES (Cleaned & Corrected)
   ========================================================== */

/* Tablet / Desktop Boundary Adjustments */
@media (max-width: 1024px) {
  #eventGrid.layout-grid { 
    grid-template-columns: repeat(2, 1fr); 
  }
}

@media (max-width: 900px) {
  .hero { 
    grid-template-columns: 1fr; 
  }

  .footer-container,
  .footer-inner { 
    gap: 30px; 
  }

  .footer-col { 
    flex: 1 1 40%; 
  }

  .footer-col-wide { 
    flex: 1 1 100%; 
  }
}

@media (max-width: 860px) {
  .campaign { 
    grid-template-columns: 1fr; 
  }

  .campaign-right .fpo { 
    border-radius: 0 0 20px 20px; 
  }
}

/* Side-by-side Row Layout for Desktop/Tablet */
@media (min-width: 769px) {
  #eventGrid.layout-rows .action-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
  }

  #eventGrid.layout-rows .card-img-wrap {
    width: 250px;
    min-width: 250px;
    height: auto;
  }

  #eventGrid.layout-rows .card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* Single Consolidated Mobile Query */
@media (max-width: 768px) {
  /* Navigation & Utility Bar */
  .utility-bar,
  .brand-name,
  .nav-links,
  #gridViewBtn { 
    display: none; 
  }

  .hamburger { 
    display: inline-flex; 
  }

  .main-nav-inner { 
    height: 64px; 
  }

  main { 
    padding-top: 64px; 
  }

  [id] { 
    scroll-margin-top: 84px; 
  }

  /* Structural Shells */
  .section-shell,
  .campaign,
  .gov-panel { 
    width: 90%; 
    max-width: none; 
    margin: 0 auto; 
    padding: 32px 24px; 
  }

  .campaign-left { 
    padding: 28px 20px; 
  }

  .article-header { 
    width: 90%; 
    padding: 0; 
  }

  /* Grid & Cards */
  #eventGrid.layout-grid { 
    grid-template-columns: 1fr; 
  }

  .action-card,
  .involved-card,
  .board-card { 
    width: 100%; 
  }

  .involved-card .fpo { 
    width: 100%; 
  }

  .board-card { 
    max-width: 280px; 
  }

  /* Mobile Overrides for Row View */
  #eventGrid.layout-rows .action-card { 
    flex-direction: column; 
  }

  #eventGrid.layout-rows .card-img-wrap { 
    width: 100%; 
    min-width: 100%;
    height: 200px; 
    aspect-ratio: 16 / 9; 
  }

  #eventGrid.layout-rows .action-desc { 
    display: -webkit-box; 
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical; 
    overflow: hidden; 
  }

  .action-card .card-body { 
    padding: 18px; 
  }

  /* Event List Row Mobile Layout */
  .event-list-row {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 8px;
  }

  .event-list-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: 100%;
    gap: 4px;
  }

  .event-list-left h4 {
    margin: 0;
    text-align: left;
    word-break: break-word;
  }

  .event-list-left .event-date {
    text-align: left;
  }

  .event-list-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    gap: 8px;
  }

  /* Controls & Forms */
  .controls-row { 
    justify-content: center; 
  }

  .date-select-group select#monthSelect { 
    min-width: 100px; 
    font-size: 14px; 
  }

  .date-select-group select#yearSelect { 
    min-width: 76px; 
    font-size: 14px; 
  }

  .form-grid { 
    grid-template-columns: 1fr; 
  }

  .legal-toc ol { 
    columns: 1; 
  }

  /* Comments & Misc */
  .comment-replies { 
    margin-left: 0; 
    padding-left: 14px; 
  }

  .reply-form.open { 
    flex-direction: column; 
  }

  .reply-form button { 
    align-self: flex-end; 
  }

  .comment .avatar { 
    width: 36px; 
    height: 36px; 
  }

  .comment-replies .avatar { 
    width: 30px; 
    height: 30px; 
  }

  .entry-thumb { 
    width: 100%; 
    aspect-ratio: 16 / 9; 
  }

  .back-link { 
    margin-top: 76px; 
  }
}


/* ============================================= */



  /* ---------- article header ---------- */
  .article-header { max-width:1052px; margin:24px auto 0; padding:0 24px; }
  .article-header h1 { font-size:clamp(28px,4vw,40px); margin:10px 0 20px; }
  .article-meta { display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-bottom:24px; }
  .article-meta .avatar { width:38px; height:38px; border-radius:50%; flex-shrink:0; }
  .article-meta .author-name { font-size:14px; font-weight:700; color:var(--text-primary); }
  .article-meta .meta-sub { font-size:13px; color:var(--text-secondary); }
  .article-hero { width:100%; aspect-ratio:16/9; border-radius:16px; margin-bottom:8px; }

  /* ---------- article body ---------- */
  .article-body h2 { font-size:24px; margin:32px 0 12px; }
  .article-body h3 { font-size:19px; margin:26px 0 10px; }
  .article-body p { color:var(--text-secondary); margin-bottom:16px; }
  .article-body ul, .article-body ol { margin:0 0 16px; padding-left:22px; color:var(--text-secondary); }
  .article-body li { margin-bottom:6px; }
  .article-body a.inline-link { color:var(--blue-accent); font-weight:600; text-decoration:underline; }
  blockquote.pull-quote {
    margin:24px 0; padding:20px 24px; border-left:4px solid var(--teal-light);
    background:var(--gray-light); border-radius:0 12px 12px 0; font-style:italic; color:var(--text-primary); font-size:17px;
  }
  blockquote.pull-quote footer { margin-top:10px; font-size:13px; font-style:normal; color:var(--text-secondary); }
  .inline-image { width:100%; border-radius:14px; aspect-ratio:16/9; margin:8px 0 24px; }

  .tag-row { display:flex; flex-wrap:wrap; gap:8px; margin-top:32px; padding-top:24px; border-top:1px solid var(--gray-medium); }

  .share-row { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-top:24px; padding-top:24px; border-top:1px solid var(--gray-medium); }
  .share-row .share-label { font-size:13px; font-weight:700; color:var(--text-secondary); text-transform:uppercase; letter-spacing:.05em; }
  .share-buttons { display:flex; gap:10px; }
  .share-btn {
    width:38px; height:38px; border-radius:50%; display:flex; align-items:center; justify-content:center;
    background:var(--gray-light); border:1px solid var(--gray-medium); color:var(--text-secondary);
    transition:background .15s ease, color .15s ease;
  }
  .share-btn:hover { background:var(--brand-blue); color:#fff; border-color:var(--brand-blue); }
  .share-btn .icon { width:16px; height:16px; }
  .share-btn.copied { background:#16A34A; color:#fff; border-color:#16A34A; }

  /* ---------- comments ---------- */
  .comments-header { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; margin-bottom:24px; }
  .comments-header h3 { font-size:20px; }
  .sort-select {
    font-family:var(--font-body); font-size:13px; padding:8px 12px; border:1px solid var(--gray-medium); border-radius:8px; background:#fff; color:var(--text-primary);
  }

  .comment { display:flex; gap:14px; margin-bottom:24px; }
  .comment .avatar { width:44px; height:44px; border-radius:50%; flex-shrink:0; }
  .comment-body { flex:1; min-width:0; }
  .comment-card { background:var(--gray-light); border:1px solid var(--gray-medium); border-radius:12px; padding:14px 16px; }
  .comment-header { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-bottom:4px; }
  .comment-author { font-weight:700; font-size:14px; color:var(--text-primary); overflow-wrap:break-word; }
  .comment-date { font-size:12px; color:#A0AEC0; }
  .comment-text { font-size:14px; color:var(--text-secondary); overflow-wrap:break-word; word-break:break-word; }
  .comment-actions { display:flex; gap:18px; margin-top:8px; padding-left:4px; }
  .comment-actions button {
    display:inline-flex; align-items:center; gap:5px; background:none; border:none; padding:0;
    font-size:12px; font-weight:600; color:var(--text-secondary); cursor:pointer;
  }
  .comment-actions button:hover { color:var(--blue-accent); }
  .comment-actions button .icon { width:14px; height:14px; }
  .comment-actions button.liked { color:#E53E3E; }
  .comment-actions button.liked .icon { fill:#E53E3E; }

  .comment-replies { margin-left:58px; margin-top:16px; border-left:2px solid var(--gray-medium); padding-left:20px; }
  .comment-replies .comment { margin-bottom:16px; }
  .comment-replies .avatar { width:36px; height:36px; }
  /* Cap visual nesting depth: a reply-to-a-reply stays at this same indent
     instead of compounding 58px per level. WordPress supports up to 5 levels
     of threading by default — without this, level 4-5 would run off the
     screen entirely on mobile. */
  .comment-replies .comment-replies { margin-left:0; padding-left:16px; }

  .reply-form { display:none; margin-top:12px; padding-left:4px; }
  .reply-form.open { display:flex; gap:10px; }
  .reply-form textarea {
    flex:1; font-family:var(--font-body); font-size:13px; padding:10px 12px; border:1px solid var(--gray-medium); border-radius:8px; resize:vertical; min-height:44px;
  }
  .reply-form button {
    align-self:flex-start; background:var(--brand-blue); color:#fff; border:none; border-radius:8px; padding:10px 16px; font-size:13px; font-weight:600;
  }



  /* ===================== COMMENT REPLY FORM ===================== */

.reply-form {
    width: 100%;
    margin-top: 12px;
}

.reply-form form.comment-reply-form {
    width: 100%;
    margin: 0;
}

.reply-form textarea {
    display: block;
    width: 100%;
    min-height: 100px;
    box-sizing: border-box;
    resize: vertical;
}

.reply-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
    margin-top: 12px;
}

.reply-fields .form-group {
    min-width: 0;
}

.reply-fields input {
    width: 100%;
    box-sizing: border-box;
}

.reply-form-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    margin-top: 12px;
}

.reply-submit {
    cursor: pointer;
}

.comment-form-cookies-consent { padding: 10px 0px;}






  /* ---------- comment form ---------- */
  .comment-form-wrap { margin-top:40px; padding-top:32px; border-top:1px solid var(--gray-medium); }
  .comment-form-wrap h3 { font-size:18px; margin-bottom:16px; }
  .form-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
  .form-group { display:flex; flex-direction:column; gap:6px; }
  .form-group.full { grid-column:1 / -1; }
  .form-group label { font-size:13px; font-weight:600; color:var(--text-primary); }
  .form-group input, .form-group textarea {
    font-family:var(--font-body); font-size:14px; padding:11px 13px; border:1px solid var(--gray-medium); border-radius:8px; background:#fff; color:var(--text-primary);
  }
  .form-group textarea { resize:vertical; min-height:100px; }
  .form-group input:focus, .form-group textarea:focus { outline:none; border-color:var(--brand-blue); box-shadow:0 0 0 3px rgba(34,166,238,.15); }
  .form-footer { display:flex; align-items:center; gap:14px; margin-top:14px; flex-wrap:wrap; }
  .form-footer .fine-print { font-size:12px; color:#A0AEC0; }
  .post-confirmation {
    display:none; margin-top:16px; padding:14px 16px; background:#F6FFF9; border:1px solid #16A34A; border-radius:10px;
    font-size:13px; color:var(--text-primary);
  }
  .post-confirmation.show { display:block; }

/* ============================================= */

  /* ---------- archive header (maps to <header class="header"> in tag.php) ---------- */
  .archive-header { max-width:1152px; margin:24px auto 0; padding:0 24px; text-align:center; }
  .archive-header .eyebrow { color:var(--teal-accent); }
  .archive-header h1 { font-size:clamp(28px,4vw,38px); margin-bottom:14px; }
  .archive-meta { color:var(--text-secondary); font-size:15px; max-width:640px; margin:0 auto; }

/* ---------- entry teaser (maps to get_template_part('entry')) ---------- */
  .entry-teaser { display:flex; gap:24px; padding:28px 0; border-bottom:1px solid var(--gray-medium); }
  .entry-teaser:first-child { padding-top:4px; }
  .entry-teaser:last-child { border-bottom:none; padding-bottom:4px; }
  .entry-thumb { width:220px; flex-shrink:0; aspect-ratio:4/3; border-radius:14px; overflow:hidden; }
  .entry-thumb .fpo { width:100%; height:100%; }
  .entry-thumb img { width:100%; height:100%; object-fit:cover; object-position:center; display:block; }
  .entry-body { flex:1; min-width:0; display:flex; flex-direction:column; gap:8px; }
  .entry-top { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
  .entry-body h2 { font-size:20px; }
  .entry-body h2 a:hover { color:var(--blue-accent); }
  .entry-excerpt { font-size:14px; color:var(--text-secondary); }
  .entry-meta { display:flex; align-items:center; gap:10px; font-size:13px; color:var(--text-secondary); flex-wrap:wrap; }
  .entry-meta .avatar { width:26px; height:26px; border-radius:50%; flex-shrink:0; }
  .entry-meta .sep { color:#CBD5E1; }
  .entry-continue { font-size:13px; font-weight:700; color:var(--blue-accent); display:inline-flex; align-items:center; gap:4px; margin-top:2px; }
  .entry-continue:hover { text-decoration:underline; }

  .no-posts { text-align:center; color:var(--text-secondary); padding:40px 20px; }

  /* ---------- Mobile Responsive Fix ---------- */
@media (max-width: 768px) {
  .entry-teaser {
    flex-direction: column;
    gap: 16px; /* Slightly tighter spacing for mobile screens */
  }

  .entry-thumb {
    width: 100%;
    aspect-ratio: 16/9; /* Optional: Adjusts image height ratio for full-width layout */
  }
}

  /* ---------- pagination (maps to get_template_part('nav', 'below')) ---------- */
  .archive-pagination { display:flex; justify-content:space-between; align-items:center; margin-top:8px; padding-top:24px; border-top:1px solid var(--gray-medium); }
  .archive-pagination a { font-size:14px; font-weight:600; color:var(--blue-accent); display:inline-flex; align-items:center; gap:6px; }
  .archive-pagination a:hover { text-decoration:underline; }
  .archive-pagination .disabled { color:#CBD5E1; pointer-events:none; }


/* ============================================= */


@media (max-width: 650px) {
  .resource-card { 
    flex: 0 0 100%; 
    max-width: 100%; 
    padding: 20px; 
  }
}

@media (max-width: 600px) {
  .table-wrap { 
    overflow-x: visible; 
    border: none; 
  }

  table.styled-table { 
    min-width: 0; 
    width: 100%; 
  }

  .styled-table thead { 
    display: none; 
  }

  .styled-table,
  .styled-table tbody,
  .styled-table tr,
  .styled-table td { 
    display: block; 
    width: 100%; 
  }

  .styled-table tr { 
    margin-bottom: 16px; 
    border: 1px solid var(--gray-medium); 
    border-radius: 12px; 
    background: #fff; 
    overflow: hidden; 
  }

  .styled-table tr:nth-child(even) { 
    background: #fff; 
  }

  .styled-table td { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 12px 16px; 
    text-align: right; 
    border-bottom: 1px solid var(--gray-medium); 
  }

  .styled-table td:last-child { 
    border-bottom: none; 
  }

  .styled-table td::before { 
    content: attr(data-label); 
    font-weight: 700; 
    font-size: 10px; 
    text-transform: uppercase; 
    letter-spacing: 0.05em; 
    color: var(--blue-accent); 
    padding-right: 16px; 
    flex-shrink: 0; 
    text-align: left; 
  }

  /* Compact Table Variation */
  .table-wrap.compact-table { 
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch; 
    border: 1px solid var(--gray-medium); 
    border-radius: 8px; 
    margin-top: 8px; 
  }

  .compact-table table.styled-table,
  table.styled-table.compact-table { 
    min-width: 100%; 
    font-size: 13px; 
  }

  .compact-table .styled-table tr { 
    margin-bottom: 6px; 
    border-bottom: 2px solid var(--gray-medium); 
    background: #fff; 
  }

  .compact-table .styled-table tr:last-child { 
    margin-bottom: 0; 
    border-bottom: none; 
  }

  .compact-table .styled-table td { 
    padding: 6px 10px; 
    border-bottom: 1px solid var(--gray-light); 
  }

  .compact-table .styled-table td:last-child { 
    border-bottom: none; 
  }

  .compact-table .styled-table td::before { 
    font-size: 11px; 
    letter-spacing: 0.03em; 
    color: var(--text-secondary); 
    padding-right: 8px; 
  }

    .reply-fields {
        grid-template-columns: 1fr;
    }


    .comment-form-wrap {
        margin-top: 32px;
        padding-top: 24px;
    }

    .comment-form-wrap h3 {
        font-size: 18px;
        margin-bottom: 14px;
    }

    .comment-form-wrap .form-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .comment-form-wrap .form-group.full {
        grid-column: auto;
    }

    .comment-form-wrap .form-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

}




@media (max-width: 550px) {
  .footer-col { 
    flex: 1 1 100%; 
  }

  .footer-bottom { 
    flex-direction: column; 
    align-items: flex-start; 
  }
}

@media (max-width: 400px) {
  .dual-cta-row { 
    flex-direction: column; 
  }
}




.pod-content      { color:var(--text-secondary); padding-bottom: 20px; }
.pod-content .mbw { margin-bottom:14px; max-width:760px; }
.pod-content p    { padding-bottom: 16px;}

.pod-content h4 {
    margin: 0 0 16px;
    font-size: 1.25rem;
    line-height: 1.3;
}

.pod-content p {
    margin: 0 0 16px;
    line-height: 1.6;
}

.pod-content strong {
    font-weight: 700;
}

.pod-content ul,
.pod-content ol {
    margin: 0 0 16px;
    padding-left: 24px;
}

.pod-content a {
    color: var(--teal-accent);
}