/* ==========================================================================
   CCPC DESIGN SYSTEM
   Community Chorus of Palm Coast — GeneratePress Child Theme
   All values extracted from ccpc-all-pages.html mockup.
   ========================================================================== */


/* ==========================================================================
   1. :ROOT VARIABLES — Design Tokens
   ========================================================================== */
:root {
  /* ---- Colors ---- */
  --navy:        #0f2040;
  --navy2:       #1a3560;
  --gold:        #c9933a;
  --gold-light:  #f0c97a;
  --cream:       #faf6ef;
  --warm:        #fffdf9;
  --charcoal:    #2c2c2c;
  --muted:       #7a7268;
  --border:      rgba(0, 0, 0, 0.08);
  --shadow:      0 4px 24px rgba(0, 0, 0, 0.08);
  --sponsors-bg: #f0ece5;

  /* Semantic aliases */
  --color-primary:   var(--navy);
  --color-accent:    var(--gold);
  --color-body-text: var(--charcoal);
  --color-muted:     var(--muted);
  --color-bg:        var(--warm);
  --color-bg-alt:    var(--cream);

  /* ---- Fonts ---- */
  --font-heading: 'Playfair Display', serif;
  --font-body:    'DM Sans', sans-serif;

  /* ---- Spacing ---- */
  --section-pad-y:  80px;
  --section-pad-x:  48px;
  --gap-sm:         10px;
  --gap-md:         20px;
  --gap-lg:         32px;
  --gap-xl:         48px;
  --gap-xxl:        56px;

  /* ---- Radii ---- */
  --radius-sm:  7px;
  --radius-md:  10px;
  --radius-lg:  14px;
  --radius-xl:  16px;
  --radius-pill: 40px;
  --radius-circle: 50%;

  /* ---- Transitions ---- */
  --ease: 0.2s ease;
}


/* ==========================================================================
   2. CSS RESET / BASE OVERRIDES
   ========================================================================== */
body {
  font-family: var(--font-body);
  color: var(--color-body-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy);
  font-weight: 400;
  line-height: 1.15;
}

/* Mockup sizes — hero h1 uses clamp(36px,6vw,60px); page h1 uses clamp(32px,5vw,52px).
   GeneratePress applies h1 site-wide so we use the page-hero range as the default.
   Hero-specific sizing is handled in the .hero-title class below. */
h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.1;  }
h2 { font-size: clamp(26px, 4vw, 40px); line-height: 1.15; margin-bottom: 14px; }
h3 { font-size: 22px; }
h4 { font-size: 17px; }
h5 { font-size: 14px; font-weight: 600; }
h6 { font-size: 12px; font-weight: 600; }

p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--ease);
}

a:hover {
  color: var(--navy);
}

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


/* ==========================================================================
   3. NAVIGATION
   ========================================================================== */

/* --- 3a. Site header wrapper (GeneratePress selectors) --- */
.site-header {
  background: var(--navy) !important;
}

.main-navigation,
.site-header .inside-header {
  background: var(--navy);
}

.inside-header {
  padding: 0 var(--section-pad-x);
  height: 72px;
  display: flex;
  align-items: center;
}

/* --- 3b. Logo / site-title --- */
.site-header .site-logo img {
  max-height: 40px;
  width: auto;
}

/* GP uses .main-title (not .site-title) for the site name */
.site-header .main-title,
.site-header .site-title {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 15px;
  line-height: 1.25;
}

.site-header .main-title a,
.site-header .site-title a {
  color: #fff;
}

.site-header .main-title a:hover,
.site-header .site-title a:hover {
  color: #fff;
}

.site-header .site-description {
  font-family: var(--font-body);
  font-size: 10px;
  color: var(--gold-light);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 300;
}

/* --- 3c. Desktop nav links --- */
.main-navigation a,
.main-navigation .main-nav ul li a {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 13px;
  letter-spacing: 0.3px;
  font-family: var(--font-body);
  padding: 0;
  line-height: 72px;
  transition: color var(--ease);
}

.main-navigation a:hover,
.main-navigation .main-nav ul li a:hover {
  color: #fff !important;
}

.main-navigation .main-nav ul li.current-menu-item > a,
.main-navigation .main-nav ul li.current_page_item > a,
.main-navigation .main-nav ul li.current-menu-ancestor > a {
  color: #fff !important;
}

.main-navigation .main-nav ul li {
  margin: 0 16px;
}

/* --- 3d. Dropdown submenus --- */
.main-navigation .main-nav ul ul {
  background: var(--navy2);
  border: none;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 8px 0;
}

.main-navigation .main-nav ul ul li a {
  line-height: normal !important;
  padding: 10px 20px !important;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7) !important;
}

.main-navigation .main-nav ul ul li a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
}

/* --- 3e. CTA button in nav --- */
/* Add CSS class "nav-cta" to the menu item in Appearance > Menus
   (enable CSS Classes in Screen Options). */
.main-navigation .nav-cta > a {
  background: var(--gold) !important;
  color: #fff !important;
  padding: 9px 20px !important;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 13px;
  line-height: normal !important;
}

.main-navigation .nav-cta > a:hover {
  opacity: 0.88;
}

/* --- 3f. Mobile hamburger --- */
/* --- 3f. Mobile hamburger toggle --- */
.menu-toggle,
.menu-toggle:hover,
.menu-toggle:focus {
  color: #fff !important;
  background: transparent !important;
  padding: 6px !important;
  border: none !important;
  line-height: 1;
}

/* GP sets rgba(0,0,0,0.02) background on the toggle wrapper — override */
.mobile-menu-control-wrapper .menu-toggle,
.mobile-menu-control-wrapper .menu-toggle:hover,
.mobile-menu-control-wrapper .menu-toggle:focus,
.has-inline-mobile-toggle #site-navigation.toggled {
  background: transparent !important;
}

.menu-toggle .gp-icon svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.menu-toggle .mobile-menu {
  display: none; /* hide "Menu" text label */
}

/* Mobile control wrapper */
#mobile-menu-control-wrapper {
  display: flex;
  align-items: center;
  background: transparent !important;
}

/* Mobile slide-down nav panel */
.main-navigation .main-nav ul {
  background: var(--navy);
}


/* ==========================================================================
   4. BUTTONS
   ========================================================================== */

/* --- 4a. Primary — Gold filled --- */
.btn-primary,
a.btn-primary,
.wp-block-button .wp-block-button__link,
a.btn-gold,
.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: #fff !important;
  padding: 13px 28px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity var(--ease);
  line-height: normal;
}

.btn-primary:hover,
a.btn-primary:hover,
.wp-block-button .wp-block-button__link:hover,
a.btn-gold:hover,
.btn-gold:hover {
  opacity: 0.88;
  color: #fff !important;
}

.btn-primary:focus-visible,
a.btn-primary:focus-visible,
.wp-block-button .wp-block-button__link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.btn-primary:active,
a.btn-primary:active {
  opacity: 0.8;
}

/* --- 4b. Secondary — Navy outline --- */
.btn-secondary,
a.btn-secondary,
a.btn-outline,
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--navy);
  padding: 13px 28px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  border: 1.5px solid var(--navy);
  cursor: pointer;
  transition: all var(--ease);
  line-height: normal;
}

.btn-secondary:hover,
a.btn-secondary:hover,
a.btn-outline:hover,
.btn-outline:hover {
  background: var(--navy);
  color: #fff;
}

.btn-secondary:focus-visible,
a.btn-secondary:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.btn-secondary:active,
a.btn-secondary:active {
  opacity: 0.9;
}

/* --- 4c. Outline White (for dark backgrounds) --- */
.btn-outline-white,
a.btn-outline-white {
  display: inline-block;
  background: transparent;
  color: #fff;
  padding: 13px 28px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all var(--ease);
  line-height: normal;
}

.btn-outline-white:hover,
a.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* --- 4d. Small card button (ghost on colored cards) --- */
.btn-card,
a.btn-card {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--ease);
}

.btn-card:hover,
a.btn-card:hover {
  background: rgba(255, 255, 255, 0.28);
}

/* --- 4e. WP Block Button — outline style variant --- */
.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  padding: 13px 28px;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: var(--navy);
  color: #fff;
  opacity: 1;
}


/* ==========================================================================
   5. HEADER
   ========================================================================== */

/* Sticky header — stays at top on scroll.
   Uses sticky (not fixed) to avoid the white-gap padding issue.
   Above all page sections (max z-index 50), but below the WP admin
   bar dropdowns (99999) and the gallery lightbox (9999). */
header.site-header,
header#masthead {
  position: sticky !important;
  top: 0 !important;
  z-index: 999 !important;
  border-bottom: none !important;
  background: var(--navy) !important;
}

/* WP admin bar pushes sticky header down when logged in */
.admin-bar header.site-header,
.admin-bar header#masthead {
  top: 32px !important;
}

@media (max-width: 782px) {
  .admin-bar header.site-header,
  .admin-bar header#masthead {
    top: 46px !important;
  }
}

/* IMPORTANT: Do NOT set overflow on <body> or <html> — it breaks position:sticky.
   Instead, clip horizontal overflow on the page wrapper below the header. */
#page {
  overflow-x: clip; /* clip (not hidden) — doesn't break sticky on ancestors */
  position: relative;
  z-index: 1;
}


/* ==========================================================================
   6. FOOTER — Custom child theme footer.php
   Matches mockup .site-footer / .footer-grid / .footer-bottom exactly.
   ========================================================================== */

/* Hide GP's native footer elements (we replaced the entire footer.php) */
.site-footer:not(.ccpc-footer) {
  display: none !important;
}

/* ── Footer container ──────────────────────────────────────────────── */
.ccpc-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.65);
  padding: 56px var(--section-pad-x) 28px;
}

/* ── 3-column grid: 2fr 1fr 1fr ────────────────────────────────────── */
.ccpc-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

/* ── Brand column (left, wide) ─────────────────────────────────────── */
.ccpc-footer__brand-title {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 12px;
}

.ccpc-footer__brand p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 18px;
}

.ccpc-footer__fb-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-light) !important;
  font-size: 13px;
  text-decoration: none;
  transition: opacity var(--ease);
}

.ccpc-footer__fb-link:hover {
  opacity: 0.8;
  color: var(--gold-light) !important;
}

/* ── Navigate / Contact columns ────────────────────────────────────── */
.ccpc-footer__col-title {
  font-family: var(--font-body);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--gold-light);
  font-weight: 400;
  margin-bottom: 16px;
}

.ccpc-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ccpc-footer__links li {
  margin-bottom: 10px;
}

.ccpc-footer__links li a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 13px;
  transition: color var(--ease);
}

.ccpc-footer__links li a:hover {
  color: #fff;
}

/* Spacer for "Bylaws" link group in contact column */
.ccpc-footer__links-spacer {
  margin-top: 18px;
}

/* Neutralize the nav-cta button style in the footer — render as plain link */
.ccpc-footer__links .nav-cta > a {
  background: none !important;
  color: rgba(255, 255, 255, 0.55) !important;
  padding: 0 !important;
  border-radius: 0 !important;
  font-weight: normal !important;
}

.ccpc-footer__links .nav-cta > a:hover {
  color: #fff !important;
  opacity: 1 !important;
}

/* ── Footer bottom bar ─────────────────────────────────────────────── */
.ccpc-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

/* ── Footer responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .ccpc-footer {
    padding: 40px 20px 20px;
  }

  .ccpc-footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
  }

  .ccpc-footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}


/* ==========================================================================
   7. SECTION UTILITY CLASSES
   Apply via Group block > Advanced > Additional CSS Classes
   ========================================================================== */

/* --- Dark (navy) background --- */
.section-dark,
.section-navy {
  background: var(--navy) !important;
  padding: var(--section-pad-y) var(--section-pad-x);
}

.section-dark h1, .section-dark h2, .section-dark h3,
.section-dark h4, .section-dark h5, .section-dark h6,
.section-navy h1, .section-navy h2, .section-navy h3,
.section-navy h4, .section-navy h5, .section-navy h6 {
  color: #fff;
}

.section-dark p, .section-navy p {
  color: rgba(255, 255, 255, 0.65);
}

.section-dark a:not(.btn-primary):not(.btn-secondary):not(.btn-outline-white):not(.btn-gold):not(.btn-card),
.section-navy a:not(.btn-primary):not(.btn-secondary):not(.btn-outline-white):not(.btn-gold):not(.btn-card) {
  color: var(--gold-light);
}

/* --- Light (warm white) background --- */
.section-light {
  background: var(--warm) !important;
  padding: var(--section-pad-y) var(--section-pad-x);
}

/* --- Accent (cream) background --- */
.section-accent,
.section-cream {
  background: var(--cream) !important;
  padding: var(--section-pad-y) var(--section-pad-x);
}

/* --- Sponsors strip --- */
.section-sponsors {
  background: var(--sponsors-bg);
  padding: 44px var(--section-pad-x);
  text-align: center;
}

/* --- CTA banner (gold background, like stats bar) --- */
.cta-banner,
.section-gold {
  background: var(--gold);
  padding: var(--section-pad-y) var(--section-pad-x);
}

.cta-banner h1, .cta-banner h2, .cta-banner h3,
.cta-banner h4, .cta-banner h5, .cta-banner h6 {
  color: var(--navy);
}

.cta-banner p {
  color: rgba(15, 32, 64, 0.65);
}

/* --- Hero gradient (home page) --- */
.hero-gradient {
  background: linear-gradient(135deg, #0a1a33 0%, #0f2040 45%, #1e3d6b 100%);
  position: relative;
  overflow: hidden;
}

/* Decorative radial glow overlay — add a pseudo via a wrapper if desired */
.hero-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 75% 40%, rgba(201, 147, 58, 0.18) 0%, transparent 55%);
  pointer-events: none;
}

/* Hero title (home) — larger than standard h1 */
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 6vw, 60px);
  color: #fff;
  line-height: 1.08;
  margin-bottom: 22px;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

/* Hero subtitle */
.hero-sub {
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 38px;
  max-width: 480px;
}

/* Hero buttons row */
.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}


/* ==========================================================================
   8. COMPONENT CLASSES — Reusable across pages
   ========================================================================== */

/* --- 8a. Eyebrow label (small uppercase text above headings) --- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
}

.eyebrow-light {
  color: var(--gold-light);
}

/* --- 8b. Section heading + description (used in every section) --- */
.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(26px, 4vw, 40px);
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-desc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  max-width: 580px;
}

/* --- 8c. Generic card --- */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}

.card-bordered {
  border: 2px solid var(--gold);
}

/* --- 8d. Action cards (colored gradient cards on Home) --- */
.action-card {
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.action-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.action-card-navy   { background: linear-gradient(145deg, #0f2040, #1e3d6b); }
.action-card-gold   { background: linear-gradient(145deg, #8b6520, #c9933a); }
.action-card-green  { background: linear-gradient(145deg, #1a4a2e, #2d7a4e); }

.action-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  margin-bottom: 10px;
  position: relative;
  color: #fff;
}

.action-card p {
  font-size: 13px;
  opacity: 0.82;
  line-height: 1.6;
  margin-bottom: 22px;
  position: relative;
  color: #fff;
}

.action-card-icon {
  font-size: 40px;
  margin-bottom: 16px;
  display: block;
  position: relative;
}

/* --- 8e. Staff / leader card --- */
.staff-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow);
}

.staff-card-avatar {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-circle);
  background: linear-gradient(135deg, var(--navy), var(--navy2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 16px;
}

.staff-card h4 {
  font-family: var(--font-heading);
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 4px;
}

.staff-card .role {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
}

.staff-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* --- 8f. Event card (large, with date side-panel) --- */
.event-card {
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr;
  box-shadow: var(--shadow);
  margin-bottom: var(--gap-md);
  border: 1px solid var(--border);
}

.event-card-date {
  background: var(--navy);
  color: #fff;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  text-align: center;
}

.event-card-date .month {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-light);
}

.event-card-date .day {
  font-family: var(--font-heading);
  font-size: 44px;
  line-height: 1;
}

.event-card-date .year {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.event-card-body {
  padding: 28px 32px;
}

.event-card-body h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 8px;
}

.event-card-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 18px;
}

.event-card-meta {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 12px;
  display: flex;
  gap: var(--gap-md);
  flex-wrap: wrap;
}

/* --- 8g. Concert card (featured, with gold border) --- */
.concert-card {
  background: #fff;
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  align-items: center;
  gap: var(--gap-lg);
  box-shadow: var(--shadow);
}

.concert-card .date-badge {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 18px 26px;
  text-align: center;
  flex-shrink: 0;
  min-width: 88px;
}

.concert-card .date-badge .month {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-light);
  display: block;
  margin-bottom: 4px;
}

.concert-card .date-badge .day {
  font-family: var(--font-heading);
  font-size: 40px;
  line-height: 1;
  display: block;
}

/* --- 8h. Pricing / sponsor tier card --- */
.pricing-card {
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  text-align: center;
  border: 2px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
  position: relative;
}

.pricing-card.featured {
  border-color: var(--gold);
  background: linear-gradient(to bottom, rgba(201, 147, 58, 0.04), #fff);
}

.pricing-card .badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-card .tier-name {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px;
}

.pricing-card .tier-price {
  font-family: var(--font-heading);
  font-size: 36px;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-card .tier-label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
}

.pricing-card .tier-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.pricing-card .tier-features li {
  font-size: 13px;
  color: var(--charcoal);
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-card .tier-features li::before {
  content: '\2713';
  color: var(--gold);
  font-weight: 700;
}

.pricing-card .tier-features li:last-child {
  border-bottom: none;
}

/* --- 8i. Program / past concert card --- */
.program-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
  border-left: 3px solid var(--gold);
}

.program-card .year {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 6px;
}

.program-card h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 6px;
}

.program-card p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

/* Clickable program cards (past TEC events link to detail page) */
a.program-card--link {
  text-decoration: none;
  display: block;
  transition: transform var(--ease), box-shadow var(--ease);
}

a.program-card--link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

a.program-card--link h4 {
  color: var(--navy);
}

a.program-card--link:hover h4 {
  color: var(--gold);
}

/* --- 8j. Testimonial card --- */
.testimonial-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 64px;
  color: var(--gold);
  opacity: 0.3;
  position: absolute;
  top: 12px;
  left: 20px;
  line-height: 1;
}

.testimonial-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--charcoal);
  margin-bottom: 18px;
  padding-top: 24px;
}

.testimonial-card .author {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.5px;
}

.testimonial-card .role {
  font-size: 11px;
  color: var(--muted);
}

/* --- 8k. FAQ item --- */
.faq-item {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin-bottom: 12px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
}

.faq-item h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.faq-item h4::before {
  content: '\266A';  /* ♩ music note */
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 1px;
}

.faq-item p {
  font-size: 14px;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.7;
}

/* --- 8l. Stats bar (gold background with counters) --- */
.stats-bar {
  background: var(--gold);
  display: flex;
  justify-content: center;
}

.stats-bar .stat {
  padding: 20px 48px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.stats-bar .stat:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(15, 32, 64, 0.65);
  margin-top: 5px;
}

/* --- 8m. Tag / pill --- */
.tag-gold {
  display: inline-block;
  background: rgba(201, 147, 58, 0.12);
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}

/* --- 8n. Sponsor logo placeholder --- */
.sponsor-logo {
  background: #fff;
  border-radius: 8px;
  padding: 12px 22px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  display: inline-block;
}

.sponsor-logo.become {
  border: 1.5px dashed var(--gold);
  color: var(--gold);
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
}

/* Linked sponsor (with URL) */
a.sponsor-logo--linked {
  text-decoration: none;
  transition: transform var(--ease), box-shadow var(--ease);
}

a.sponsor-logo--linked:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Sponsor logo image inside the pill */
.sponsor-logo__img {
  max-height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Text fallback when no logo is uploaded */
.sponsor-logo__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

/* --- 8o. Timeline --- */
.ccpc-timeline {
  position: relative;
  padding-left: 32px;
}

.ccpc-timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

.ccpc-timeline .timeline-item {
  position: relative;
  margin-bottom: 32px;
}

.ccpc-timeline .timeline-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: var(--radius-circle);
  background: var(--gold);
  border: 2px solid #fff;
  box-shadow: 0 0 0 3px var(--gold);
}

.ccpc-timeline .timeline-year {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 4px;
}

.ccpc-timeline .timeline-item h4 {
  font-family: var(--font-heading);
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 4px;
}

.ccpc-timeline .timeline-item p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* --- 8p. Impact item (Donate page) --- */
.impact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.impact-icon {
  width: 36px;
  height: 36px;
  background: var(--navy);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.impact-item h5 {
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 2px;
  font-weight: 600;
}

.impact-item p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

/* --- 8q. Donation amount buttons --- */
button.amount-btn,
.amount-btn {
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  width: 100%;
  padding: 14px;
  border: 2px solid var(--border);
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  background: #fff;
  transition: all var(--ease);
  display: block;
}

.amount-btn:hover {
  border-color: var(--gold);
}

.amount-btn.selected {
  border-color: var(--gold);
  background: rgba(201, 147, 58, 0.08);
}

.amount-btn .amount {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--navy);
  display: block;
}

.amount-btn .amount-label {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

/* --- 8r. Gallery item --- */
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--cream);
  aspect-ratio: 4 / 3;
  position: relative;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  padding: 24px 16px 14px;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}

/* --- 8s. Filter pill buttons (Gallery page) --- */
.filter-btn {
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--muted);
  transition: all var(--ease);
  font-family: var(--font-body);
}

.filter-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.filter-btn.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* --- 8t. Text color utilities --- */
.text-gold       { color: var(--gold) !important; }
.text-gold-light { color: var(--gold-light) !important; }
.text-navy       { color: var(--navy) !important; }
.text-muted      { color: var(--muted) !important; }
.text-white      { color: #fff !important; }


/* ==========================================================================
   9. FORM STYLING — WPForms overrides to match mockup
   ========================================================================== */

/* Container */
div.wpforms-container-full .wpforms-form {
  font-family: var(--font-body);
}

/* Labels */
div.wpforms-container-full .wpforms-form .wpforms-field-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.3px;
  margin-bottom: 6px;
}

/* Inputs, selects, textareas */
div.wpforms-container-full .wpforms-form input[type="text"],
div.wpforms-container-full .wpforms-form input[type="email"],
div.wpforms-container-full .wpforms-form input[type="tel"],
div.wpforms-container-full .wpforms-form input[type="url"],
div.wpforms-container-full .wpforms-form input[type="number"],
div.wpforms-container-full .wpforms-form input[type="password"],
div.wpforms-container-full .wpforms-form select,
div.wpforms-container-full .wpforms-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--charcoal);
  background: var(--warm);
  outline: none;
  transition: border-color var(--ease);
}

div.wpforms-container-full .wpforms-form input:focus,
div.wpforms-container-full .wpforms-form select:focus,
div.wpforms-container-full .wpforms-form textarea:focus {
  border-color: var(--gold);
  box-shadow: none;
}

div.wpforms-container-full .wpforms-form textarea {
  min-height: 80px;
  resize: vertical;
}

/* Textarea — smaller height to match mockup */
div.wpforms-container-full .wpforms-form textarea {
  min-height: 80px;
  max-height: 120px;
  resize: vertical;
}

/* Submit button — gold, full-width, matching mockup exactly */
div.wpforms-container-full .wpforms-form .wpforms-submit-container button[type="submit"],
div.wpforms-container-full .wpforms-form button.wpforms-submit {
  background: var(--gold) !important;
  color: #fff !important;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: opacity var(--ease);
  width: 100%;
}

div.wpforms-container-full .wpforms-form button[type="submit"]:hover {
  opacity: 0.88;
  background: var(--gold) !important;
  color: #fff !important;
}

/* Form card wrapper — use on a Group block wrapping the WPForms shortcode */
.form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.form-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-card .form-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}

/* ── WPForms inside .form-card — fine-tuning to match mockup ────── */

/* Field spacing */
.form-card .wpforms-field {
  margin-bottom: 16px;
}

/* Name field: hide main "Name" legend, show sublabels as primary labels */
.form-card .wpforms-field-name > fieldset > legend {
  clip: rect(0 0 0 0);
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Move sublabels above inputs and style as primary labels */
.form-card .wpforms-field-name .wpforms-field-row-block {
  display: flex;
  flex-direction: column;
}

.form-card .wpforms-field-name .wpforms-field-sublabel.after {
  order: -1;
  font-size: 12px;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.3px;
  margin-bottom: 6px;
  margin-top: 0;
}

/* Replace "First" with "First Name" and "Last" with "Last Name" */
.form-card .wpforms-field-name .wpforms-first .wpforms-field-sublabel {
  font-size: 0;
  line-height: 0;
}
.form-card .wpforms-field-name .wpforms-first .wpforms-field-sublabel::after {
  content: 'First Name';
  font-size: 12px;
  line-height: normal;
}

.form-card .wpforms-field-name .wpforms-field-row-block:not(.wpforms-first) .wpforms-field-sublabel {
  font-size: 0;
  line-height: 0;
}
.form-card .wpforms-field-name .wpforms-field-row-block:not(.wpforms-first) .wpforms-field-sublabel::after {
  content: 'Last Name';
  font-size: 12px;
  line-height: normal;
}

/* Name field two-column gap */
.form-card .wpforms-field-name .wpforms-field-row {
  display: flex;
  gap: 14px;
}

.form-card .wpforms-field-name .wpforms-field-row-block {
  flex: 1;
}

/* Placeholder color */
.form-card .wpforms-form input::placeholder,
.form-card .wpforms-form textarea::placeholder {
  color: #bbb;
  opacity: 1;
}

/* Phone field — add placeholder via CSS since WPForms Lite uses input mask */
.form-card .wpforms-field-phone input:not(:focus):placeholder-shown {
  color: #bbb;
}

/* Submit button — full width, taller padding */
.form-card .wpforms-submit-container {
  margin-top: 8px;
  padding: 0;
}

.form-card .wpforms-submit-container button[type="submit"] {
  padding: 14px 28px;
  font-size: 15px;
}

/* Remove WPForms default recaptcha/info bar spacing */
.form-card .wpforms-recaptcha-container {
  margin-bottom: 0;
}


/* ==========================================================================
   10. RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* --- Tablet (1024px) --- */
@media (max-width: 1024px) {
  :root {
    --section-pad-x: 32px;
  }

  .concert-card {
    padding: 28px;
    gap: 24px;
  }
}

/* --- Mobile (768px) — matches GeneratePress default breakpoint --- */
@media (max-width: 768px) {
  :root {
    --section-pad-x: 20px;
    --section-pad-y: 56px;
  }

  /* ── Mobile header ─────────────────────────────────────── *
   *
   * GP default mobile CSS: .inside-header { flex-direction: column }
   * This stacks branding above the hamburger, causing a visible "line"
   * between the branding row and the hidden #site-navigation.
   *
   * Fix: force row layout, use min-height, and hide nav properly.
   */

  .inside-header,
  .has-inline-mobile-toggle .inside-header {
    padding: 0 20px !important;
    height: auto !important;
    min-height: 60px;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    text-align: left !important;
  }

  /* GP adds margin-top to stacked children — remove all */
  .inside-header > * {
    margin-top: 0 !important;
  }

  .site-branding {
    flex: 1;
    margin: 0 !important;
    padding: 12px 0;
  }

  /* Hamburger — compact, right-aligned */
  #mobile-menu-control-wrapper {
    flex-basis: auto !important;
    flex-grow: 0 !important;
    justify-content: flex-end !important;
    margin: 0 !important;
  }

  #mobile-menu-control-wrapper .menu-toggle {
    padding: 6px !important;
  }

  #mobile-menu-control-wrapper .menu-toggle .gp-icon svg {
    width: 22px;
    height: 22px;
  }

  /* The full #site-navigation sits inside .inside-header and is hidden
     on mobile until toggled. Ensure it takes no vertical space when hidden. */
  #site-navigation:not(.toggled) {
    display: none !important;
  }

  #site-navigation.toggled,
  .has-inline-mobile-toggle #site-navigation.toggled {
    display: block !important;
    flex-basis: 100% !important;
    order: 10;
  }

  /* Kill ALL borders inside the header — the "line" is from one of these */
  .site-header,
  .site-header *:not(.main-nav ul li a) {
    border: none !important;
    box-shadow: none !important;
  }

  /* Re-add only the separator on the expanded menu */
  #site-navigation.toggled .main-nav > ul {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  .main-navigation .main-nav ul {
    background: var(--navy);
  }

  .main-navigation .main-nav ul li {
    margin: 0; /* reset desktop margins */
  }

  .main-navigation .main-nav ul li a {
    line-height: normal !important;
    padding: 14px 24px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  }

  .main-navigation .main-nav ul li a:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.05);
  }

  .main-navigation .main-nav ul li.current-menu-item > a {
    color: #fff !important;
  }

  /* Headings */
  h1 { font-size: clamp(28px, 7vw, 40px); }
  h2 { font-size: clamp(24px, 5vw, 32px); }

  .hero-title {
    font-size: clamp(30px, 8vw, 44px);
  }

  /* Sections */
  .section-dark,
  .section-navy,
  .section-light,
  .section-accent,
  .section-cream,
  .section-sponsors,
  .cta-banner,
  .section-gold {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Stats bar */
  .stats-bar {
    flex-wrap: wrap;
  }

  .stats-bar .stat {
    width: 50%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  /* Concert card stacks vertically */
  .concert-card {
    flex-direction: column;
  }

  /* Event cards — date on top, body below */
  .event-card {
    grid-template-columns: 1fr;
  }

  .event-card-date {
    flex-direction: row;
    gap: 8px;
    padding: 16px 20px;
    min-width: auto;
  }

  .event-card-date .month {
    font-size: 12px;
  }

  .event-card-date .day {
    font-size: 28px;
  }

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

  .event-card-meta {
    flex-direction: column;
    gap: 6px;
  }

  /* Nav CTA in mobile menu — gold button aligned with other links */
  .main-navigation .main-nav ul li.nav-cta {
    padding: 12px 24px 16px;
    margin: 0;
  }

  .main-navigation .main-nav ul li.nav-cta > a {
    display: block;
    text-align: center;
    padding: 10px 20px !important;
    border-radius: var(--radius-sm);
    background: var(--gold) !important;
    color: #fff !important;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    border-bottom: none !important;
  }

  .main-navigation .main-nav ul li.nav-cta > a:hover {
    background: var(--gold-hover) !important;
  }

  /* Footer */
  .site-footer {
    padding: 40px 20px 0;
  }

  .site-info {
    padding: 20px;
    text-align: center;
    flex-direction: column;
    gap: 8px;
  }

  /* Form card */
  .form-card {
    padding: 24px 20px;
  }

  /* Sponsor strip */
  .section-sponsors {
    padding: 32px 20px;
  }

  /* Pricing cards stack — full width */
  .pricing-card {
    padding: 28px 20px;
  }

  /* Timeline */
  .ccpc-timeline .timeline-item p {
    font-size: 12px;
  }

  /* Leadership cards */
  .staff-card {
    padding: 24px 20px;
  }
}


/* =====================================================================
   LOGIN FORM — /login page
   ===================================================================== */

/* Wrapper */
.ccpc-login-form-wrap {
  max-width: 420px;
  margin: 40px auto 60px;
  padding: 40px 36px;
  background: #fff;
  border-radius: var(--radius, 12px);
  box-shadow: var(--shadow);
}

/* Error alert */
.ccpc-login-error {
  background: #fef2f2;
  border-left: 4px solid #dc2626;
  color: #991b1b;
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

/* Info notice (logged-out confirmation) */
.ccpc-login-info {
  background: var(--cream, #faf6ef);
  border-left: 4px solid var(--gold, #c9933a);
  color: var(--charcoal, #2c2c2c);
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

/* Already-logged-in notice */
.ccpc-login-notice {
  max-width: 420px;
  margin: 40px auto 60px;
  padding: 40px 36px;
  background: #fff;
  border-radius: var(--radius, 12px);
  box-shadow: var(--shadow);
  text-align: center;
}
.ccpc-login-notice .btn-primary {
  display: inline-block;
  margin-top: 8px;
}

/* Form labels */
.ccpc-login-form-wrap label {
  display: block;
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--charcoal, #2c2c2c);
  margin-bottom: 6px;
}

/* Inputs */
.ccpc-login-form-wrap input[type="text"],
.ccpc-login-form-wrap input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border, rgba(0,0,0,0.15));
  border-radius: 8px;
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 1rem;
  color: var(--charcoal, #2c2c2c);
  background: var(--warm, #fffdf9);
  transition: border-color 0.2s, box-shadow 0.2s;
  margin-bottom: 16px;
  box-sizing: border-box;
}
.ccpc-login-form-wrap input[type="text"]:focus,
.ccpc-login-form-wrap input[type="password"]:focus {
  outline: none;
  border-color: var(--gold, #c9933a);
  box-shadow: 0 0 0 3px rgba(201, 147, 58, 0.15);
}

/* Remember-me row */
.ccpc-login-form-wrap .login-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}
.ccpc-login-form-wrap .login-remember label {
  display: inline;
  margin-bottom: 0;
}

/* Submit button — matches .btn-primary from the design system */
.ccpc-login-form-wrap input[type="submit"] {
  width: 100%;
  padding: 14px 20px;
  background: var(--gold, #c9933a);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.ccpc-login-form-wrap input[type="submit"]:hover {
  background: var(--gold-light, #f0c97a);
  color: var(--navy, #0f2040);
}
.ccpc-login-form-wrap input[type="submit"]:active {
  transform: scale(0.98);
}

/* Forgot password + links */
.ccpc-login-links {
  text-align: center;
  margin-top: 20px;
}
.ccpc-login-links a {
  color: var(--gold, #c9933a);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s;
}
.ccpc-login-links a:hover {
  color: var(--navy, #0f2040);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 480px) {
  .ccpc-login-form-wrap,
  .ccpc-login-notice {
    margin: 20px 16px 40px;
    padding: 28px 20px;
  }
}


/* =====================================================================
   FULL-WIDTH TEMPLATE OVERRIDES
   GeneratePress wraps content in .site-content .grid-container which
   constrains max-width. Our custom page templates (Homepage, About, etc.)
   need full-width sections, so we remove the container constraints when
   these templates are active.
   ===================================================================== */

/*
 * GP wraps everything in:
 *   <div id="page" class="site grid-container container">
 *     <div id="content" class="site-content">
 *       <main class="ccpc-home / ccpc-about">
 *
 * The .grid-container on #page constrains max-width (default 1200px).
 * For our full-width templates we bust out of that constraint while
 * keeping the container intact for the header/footer (which use their
 * own inner containers).
 *
 * WP generates body classes from the template filename, e.g.:
 *   page-template-template-home
 *   page-template-template-about
 *   page-template-templates  (directory-based)
 *
 * We match on the directory class which is always present.
 */

/* Make the outer #page container full-width on our templates */
body.page-template-templates #page.grid-container {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

/* Remove GP's separate-containers article padding */
body.page-template-templates .inside-article {
  padding: 0;
}

/* Remove any content-area width constraints */
body.page-template-templates .site-content .content-area {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Ensure our <main> fills full width */
.ccpc-home,
.ccpc-about,
.ccpc-events,
.ccpc-gallery,
.ccpc-gi {
  width: 100%;
  max-width: 100%;
}

/* Also bust TEC single event pages out of GP container */
.single-tribe_events #page.grid-container {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}
.single-tribe_events .inside-article {
  padding: 0;
}
.single-tribe_events .site-content .content-area {
  width: 100%;
  margin: 0;
  padding: 0;
}


/* =====================================================================
   HOMEPAGE — template-home.php
   Matches mockup PAGE 1 — HOME exactly.
   BEM-prefixed: ccpc-home__*
   ===================================================================== */

/* ── Shared inner container ───────────────────────────────────────── */
.ccpc-home__section-inner {
  max-width: 1140px;
  margin: 0 auto;
}

/* ── 1. Hero — uses .hero-gradient, .hero-title, .hero-sub, .hero-btns
        from the design system (section 7). Only additions here. ────── */
.ccpc-home__hero {
  background: linear-gradient(135deg, #0a1a33 0%, #0f2040 45%, #1e3d6b 100%);
  background-size: cover;
  background-position: center;
  min-height: 560px;
  display: flex;
  align-items: center;
  padding: 80px var(--section-pad-x);
  position: relative;
  overflow: hidden;
}

.ccpc-home__hero-inner {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

/* Hero eyebrow — gold-light small caps above the title */
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 18px;
  font-weight: 500;
}

/* Decorative music note background */
.hero-music-bg {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 200px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.03);
  font-family: var(--font-heading);
  letter-spacing: -20px;
  user-select: none;
  pointer-events: none;
}

/* ── 2. Stats Bar — uses .stats-bar from design system (section 8l) ── */
/* Already styled globally. */

/* ── 3. Three Action Cards — .three-cards grid ────────────────────── */
.three-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-md);
  margin-top: var(--gap-xl);
}

/* .action-card already in design system (section 8d) */

/* ── 4. Upcoming Concert — uses .concert-card from design system (8g) */
.concert-info h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 8px;
}

.concert-info p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 16px;
  line-height: 1.6;
}

/* ── 5. Testimonials grid ─────────────────────────────────────────── */
.ccpc-home__testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-md);
  margin-top: var(--gap-xl);
}

/* .testimonial-card already in design system (section 8j) */

/* ── 6. Sponsors — uses .section-sponsors, .sponsor-logo from DS ──── */
.sponsors-eyebrow {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}

.sponsors-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}


/* ── Homepage Responsive — Tablet (768px) ─────────────────────────── */
@media (max-width: 768px) {
  .ccpc-home__hero {
    min-height: 420px;
    padding: 64px var(--section-pad-x) 48px;
  }

  .three-cards,
  .ccpc-home__testimonials-grid {
    grid-template-columns: 1fr;
  }

  .concert-card {
    flex-direction: column;
  }

  .hero-music-bg {
    display: none;
  }
}

/* ── Homepage Responsive — Small mobile (480px) ───────────────────── */
@media (max-width: 480px) {
  .ccpc-home__hero {
    min-height: 380px;
    padding: 48px 20px;
  }

  .ccpc-home__hero .hero-btns {
    flex-direction: column;
    width: 100%;
  }

  .ccpc-home__hero .hero-btns a {
    text-align: center;
  }
}


/* =====================================================================
   PAGE HERO — template-parts/page-hero.php (reusable on all pages)
   ===================================================================== */

.ccpc-page-hero {
  background: linear-gradient(135deg, #0a1a33 0%, #0f2040 45%, #1e3d6b 100%);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 280px;
  padding: 80px var(--section-pad-x) 60px;
}

/* Gold radial glow — same as homepage hero */
.ccpc-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(201, 147, 58, 0.12) 0%, transparent 55%);
  pointer-events: none;
}

.ccpc-page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.ccpc-page-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 48px);
  color: #fff;
  line-height: 1.1;
  margin: 0;
}

.ccpc-page-hero__subtitle {
  color: rgba(255, 255, 255, 0.65);
  font-size: 16px;
  line-height: 1.7;
  margin-top: 14px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .ccpc-page-hero {
    min-height: 220px;
    padding: 64px var(--section-pad-x) 48px;
  }
}


/* =====================================================================
   ABOUT PAGE — template-about.php
   Matches mockup PAGE 2 — ABOUT exactly.
   BEM-prefixed: ccpc-about__*
   ===================================================================== */

/* ── Shared section inner ─────────────────────────────────────────── */
.ccpc-about__section-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.ccpc-about__leadership-header {
  margin-bottom: var(--gap-xl);
}


/* ── 1. About Hero — left-aligned, gradient + optional image ──────── */
.ccpc-about__hero {
  background: linear-gradient(to right, var(--navy) 55%, transparent 100%),
              linear-gradient(135deg, #0a1a33, #0f2040 45%, #1e3d6b);
  background-size: cover;
  background-position: center;
  min-height: 380px;
  display: flex;
  align-items: center;
  padding: var(--section-pad-y) var(--section-pad-x);
}

.ccpc-about__hero-content {
  max-width: 520px;
}

.ccpc-about__hero-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 50px);
  color: #fff;
  line-height: 1.1;
  margin-bottom: 16px;
}

.ccpc-about__hero-sub {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 1.7;
}


/* ── 2. Who We Are — two-col with timeline ────────────────────────── */
.ccpc-about__two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-xxl);
  align-items: start;
}

.ccpc-about__two-col-text .eyebrow {
  display: block;
}

.ccpc-about__wwa-body p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.ccpc-about__wwa-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* Timeline cream box — matches mockup right column */
.ccpc-about__timeline-box {
  background: var(--cream);
  border-radius: 16px;
  padding: 36px;
}

.ccpc-about__timeline-eyebrow {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 20px;
}

/* Timeline component already styled in design system (section 8o) */


/* ── 3. Leadership — 3-card grid ──────────────────────────────────── */
.ccpc-about__leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-md);
  margin-top: var(--gap-xl);
}

/* Uses .staff-card from design system (section 8e) */


/* ── 4. FAQ — list of items ───────────────────────────────────────── */
.ccpc-about__faq-list {
  margin-top: var(--gap-xl);
}

/* Uses .faq-item from design system (section 8k) */


/* ── About Responsive — Tablet (1024px) ───────────────────────────── */
@media (max-width: 1024px) {
  .ccpc-about__two-col {
    gap: var(--gap-lg);
  }
}

/* ── About Responsive — Tablet-small (768px) ──────────────────────── */
@media (max-width: 768px) {
  .ccpc-about__hero {
    min-height: 280px;
    padding: 64px var(--section-pad-x);
  }

  .ccpc-about__two-col {
    grid-template-columns: 1fr;
  }

  .ccpc-about__leadership-grid {
    grid-template-columns: 1fr;
  }
}

/* ── About Responsive — Mobile (480px) ────────────────────────────── */
@media (max-width: 480px) {
  .ccpc-about__hero {
    min-height: 240px;
    padding: 48px 20px;
  }

  .ccpc-about__timeline-box {
    padding: 24px 20px;
  }
}


/* =====================================================================
   EVENTS PAGE — template-events.php
   Matches mockup PAGE 3 — EVENTS.
   BEM-prefixed: ccpc-events__*
   ===================================================================== */

/* ── Shared inner container ───────────────────────────────────────── */
.ccpc-events__section-inner {
  max-width: 1140px;
  margin: 0 auto;
}

/* ── 1. Events Hero — centered, navy bg ───────────────────────────── */
.ccpc-events__hero {
  background: var(--navy);
  padding: 72px var(--section-pad-x);
  text-align: center;
}

.ccpc-events__hero-inner {
  max-width: 600px;
  margin: 0 auto;
}

.ccpc-events__hero-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 52px);
  color: #fff;
  margin-bottom: 16px;
}

.ccpc-events__hero-sub {
  color: rgba(255, 255, 255, 0.65);
  font-size: 16px;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── 2. Upcoming Concerts list ────────────────────────────────────── */
.ccpc-events__list {
  margin-top: var(--gap-xl);
}

.ccpc-events__empty {
  text-align: center;
  padding: var(--gap-xl) 0;
}

.ccpc-events__empty p {
  font-size: 16px;
  color: var(--muted);
  font-style: italic;
}

/* Event card body link — title is plain text, not linked in this card */
.ccpc-events__list .event-card-body h3 {
  margin-bottom: 8px;
}

/* Tag badge spacing inside card */
.ccpc-events__list .tag-gold {
  margin-bottom: 10px;
}

/* ── Rehearsal Schedule box ───────────────────────────────────────── */
.ccpc-events__rehearsal {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-top: var(--gap-xl);
}

.ccpc-events__rehearsal h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 6px;
}

.ccpc-events__rehearsal > p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.ccpc-events__rehearsal-badges {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.ccpc-events__rehearsal-badge {
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  padding: 12px 18px;
  font-size: 13px;
}

.ccpc-events__rehearsal-season {
  font-size: 13px;
  color: var(--muted);
}

/* ── 3. Past Programs grid ────────────────────────────────────────── */
.ccpc-events__programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

/* .program-card already styled in design system section 8i */


/* ── Events Responsive — Tablet (768px) ───────────────────────────── */
@media (max-width: 768px) {
  .ccpc-events__hero {
    padding: 56px var(--section-pad-x);
  }

  .ccpc-events__programs-grid {
    grid-template-columns: 1fr;
  }

  .ccpc-events__rehearsal-badges {
    flex-direction: column;
    align-items: stretch;
  }

  /* Event card stacks */
  .ccpc-events__list .event-card {
    grid-template-columns: 1fr;
  }
}


/* =====================================================================
   SINGLE EVENT — tribe-events/single-event.php
   BEM-prefixed: ccpc-single-event__*
   ===================================================================== */

/* ── Hero ──────────────────────────────────────────────────────────── */
.ccpc-single-event__hero {
  background: var(--navy);
  padding: 60px var(--section-pad-x) 48px;
  text-align: center;
}

.ccpc-single-event__hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.ccpc-single-event__back {
  display: inline-block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  text-decoration: none;
  margin-bottom: 16px;
  transition: color var(--ease);
}

.ccpc-single-event__back:hover {
  color: #fff;
}

.ccpc-single-event__hero .tag-gold {
  margin-bottom: 12px;
}

.ccpc-single-event__title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 44px);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 12px;
}

.ccpc-single-event__date-hero {
  color: rgba(255, 255, 255, 0.65);
  font-size: 16px;
}

/* ── Content grid (main + sidebar) ────────────────────────────────── */
.ccpc-single-event__inner {
  max-width: 1140px;
  margin: 0 auto;
}

.ccpc-single-event__grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--gap-xxl);
  align-items: start;
}

.ccpc-single-event__description p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 20px;
}

/* ── Info card sidebar ────────────────────────────────────────────── */
.ccpc-single-event__info-card {
  position: sticky;
  top: 100px;
}

.ccpc-single-event__date-badge {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 18px 26px;
  text-align: center;
  margin-bottom: 24px;
}

.ccpc-single-event__date-badge .month {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-light);
  display: block;
  margin-bottom: 4px;
}

.ccpc-single-event__date-badge .day {
  font-family: var(--font-heading);
  font-size: 40px;
  line-height: 1;
  display: block;
}

.ccpc-single-event__date-badge .year {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  display: block;
}

.ccpc-single-event__detail-row {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.ccpc-single-event__detail-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.ccpc-single-event__detail-row strong {
  display: block;
  font-size: 13px;
  color: var(--navy);
  margin-bottom: 2px;
}

.ccpc-single-event__detail-row span {
  font-size: 13px;
  color: var(--muted);
}

.ccpc-single-event__cal-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.ccpc-single-event__cal-links a {
  text-align: center;
  font-size: 13px;
  padding: 10px 20px;
}

/* ── Event navigation ─────────────────────────────────────────────── */
.ccpc-single-event__nav {
  display: flex;
  justify-content: space-between;
  margin-top: var(--gap-xxl);
  padding-top: var(--gap-lg);
  border-top: 1px solid var(--border);
}

.ccpc-single-event__nav-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 4px;
}

.ccpc-single-event__nav a {
  color: var(--navy);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--ease);
}

.ccpc-single-event__nav a:hover {
  color: var(--gold);
}

.ccpc-single-event__nav-next {
  text-align: right;
}

/* ── Single Event Responsive ──────────────────────────────────────── */
@media (max-width: 768px) {
  .ccpc-single-event__grid {
    grid-template-columns: 1fr;
  }

  .ccpc-single-event__info-card {
    position: static;
  }

  .ccpc-single-event__hero {
    padding: 48px var(--section-pad-x) 36px;
  }

  .ccpc-single-event__nav {
    flex-direction: column;
    gap: 20px;
  }

  .ccpc-single-event__nav-next {
    text-align: left;
  }
}

/* ── Hide TEC default styles we've replaced ───────────────────────── */
.single-tribe_events .tribe-events-schedule,
.single-tribe_events .tribe-events-back,
.single-tribe_events .tribe-events-nav-pagination {
  display: none;
}


/* =====================================================================
   GALLERY PAGE — template-gallery.php
   Matches mockup PAGE 4 — GALLERY.
   BEM-prefixed: ccpc-gallery__*
   ===================================================================== */

/* ── 1. Gallery Hero — charcoal bg, centered ──────────────────────── */
.ccpc-gallery__hero {
  background: var(--charcoal);
  padding: 72px var(--section-pad-x);
  text-align: center;
}

.ccpc-gallery__hero-inner {
  max-width: 600px;
  margin: 0 auto;
}

.ccpc-gallery__hero-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 52px);
  color: #fff;
  margin-bottom: 14px;
}

.ccpc-gallery__hero-sub {
  color: rgba(255, 255, 255, 0.55);
  font-size: 15px;
  line-height: 1.7;
}

/* ── 2. Filter pill buttons ───────────────────────────────────────── */
.ccpc-gallery__filters {
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 32px var(--section-pad-x) 0;
  flex-wrap: wrap;
  background: var(--warm);
}

/* .filter-btn already styled in design system section 8s */

/* ── 3. Gallery grid — 3-col masonry-style ────────────────────────── */
.ccpc-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 32px var(--section-pad-x) 64px;
  background: var(--warm);
}

/* gallery-item, gallery-caption, gallery-placeholder already in
   design system section 8r — the grid items, captions, and
   color variations are all handled there. */

/* Make actual images fill their gallery-item containers */
.ccpc-gallery__grid .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Gallery Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .ccpc-gallery__hero {
    padding: 56px var(--section-pad-x);
  }

  .ccpc-gallery__grid {
    padding: 20px;
    grid-template-columns: 1fr 1fr;
  }

  .ccpc-gallery__grid .gallery-item.wide {
    grid-column: span 1;
  }

  .ccpc-gallery__grid .gallery-item.tall {
    grid-row: span 1;
  }

  .ccpc-gallery__filters {
    padding: 24px 20px 0;
  }
}

@media (max-width: 480px) {
  .ccpc-gallery__grid {
    grid-template-columns: 1fr;
  }
}


/* ── Gallery Lightbox ─────────────────────────────────────────────── */
.ccpc-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ccpc-lightbox[hidden] {
  display: none;
}

.ccpc-lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
}

.ccpc-lightbox__content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ccpc-lightbox__img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.4);
}

.ccpc-lightbox__caption {
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-body);
  font-size: 14px;
  margin-top: 14px;
  text-align: center;
  max-width: 600px;
}

.ccpc-lightbox__caption:empty {
  display: none;
}

.ccpc-lightbox__counter {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
  font-family: var(--font-body);
  z-index: 2;
}

/* ── Lightbox buttons ─────────────────────────────────────────────── */
.ccpc-lightbox__close,
.ccpc-lightbox__prev,
.ccpc-lightbox__next {
  position: absolute;
  z-index: 2;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  transition: opacity var(--ease), transform var(--ease);
  padding: 0;
  line-height: 1;
}

.ccpc-lightbox__close:hover,
.ccpc-lightbox__prev:hover,
.ccpc-lightbox__next:hover {
  opacity: 0.7;
}

.ccpc-lightbox__close {
  top: 16px;
  right: 20px;
  font-size: 36px;
  font-weight: 300;
}

.ccpc-lightbox__prev,
.ccpc-lightbox__next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 56px;
  font-weight: 300;
}

.ccpc-lightbox__prev {
  left: 16px;
}

.ccpc-lightbox__next {
  right: 16px;
}

.ccpc-lightbox__prev:hover {
  transform: translateY(-50%) translateX(-3px);
}

.ccpc-lightbox__next:hover {
  transform: translateY(-50%) translateX(3px);
}

/* ── Lightbox responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .ccpc-lightbox__prev,
  .ccpc-lightbox__next {
    font-size: 40px;
  }

  .ccpc-lightbox__prev {
    left: 8px;
  }

  .ccpc-lightbox__next {
    right: 8px;
  }

  .ccpc-lightbox__content {
    max-width: 95vw;
  }
}


/* =====================================================================
   GET INVOLVED PAGE — template-getinvolved.php
   Matches mockup PAGE 5 — GET INVOLVED.
   BEM-prefixed: ccpc-gi__*
   ===================================================================== */

/* ── Shared inner container ───────────────────────────────────────── */
.ccpc-gi__section-inner {
  max-width: 1140px;
  margin: 0 auto;
}

/* ── 1. Hero — gradient navy, centered ────────────────────────────── */
.ccpc-gi__hero {
  background: linear-gradient(135deg, #0a1a33 0%, #1a3560 100%);
  padding: 80px var(--section-pad-x);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Decorative music notes (matches mockup .gi-hero::after) */
.ccpc-gi__hero::after {
  content: '\266A \266B \2669 \266C';
  position: absolute;
  bottom: -20px;
  right: 20px;
  font-size: 80px;
  color: rgba(255, 255, 255, 0.04);
  font-family: serif;
  pointer-events: none;
}

.ccpc-gi__hero-inner {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.ccpc-gi__hero-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 52px);
  color: #fff;
  margin-bottom: 16px;
}

.ccpc-gi__hero-sub {
  color: rgba(255, 255, 255, 0.65);
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── 2. Tab bar — sticky below header ─────────────────────────────── */
.ccpc-gi__tabs {
  display: flex;
  border-bottom: 2px solid var(--border);
  background: #fff;
  padding: 0 var(--section-pad-x);
  position: sticky !important;
  top: 72px !important; /* below the 72px header */
  z-index: 50;
}

/* Admin bar offset for the sticky tabs */
.admin-bar .ccpc-gi__tabs {
  top: 104px !important; /* 72px header + 32px admin bar */
}

@media (max-width: 782px) {
  .admin-bar .ccpc-gi__tabs {
    top: 118px !important; /* 72px header + 46px mobile admin bar */
  }
}

.ccpc-gi__tab {
  padding: 18px 28px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  border: none;
  background: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: all var(--ease);
}

.ccpc-gi__tab:hover {
  color: var(--navy);
}

.ccpc-gi__tab.active {
  color: var(--navy);
  border-bottom-color: var(--gold);
  font-weight: 600;
}

/* ── Tab panels ───────────────────────────────────────────────────── */
.ccpc-gi__panel[hidden] {
  display: none;
}

/* ── 3. Donate tab ────────────────────────────────────────────────── */
.ccpc-gi__donate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: var(--gap-xl);
}

.ccpc-gi__donate-body {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.7;
}

.ccpc-gi__donate-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 20px 0;
}

/* .amount-btn already styled in design system section 8q */

.ccpc-gi__donate-cta {
  margin-top: 20px;
}

.ccpc-gi__donate-check {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}

/* .donate-impact, .impact-item already in design system section 8p */

.donate-impact {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.donate-impact h4 {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 20px;
}

/* ── 4. Sponsor tab ───────────────────────────────────────────────── */
.ccpc-gi__sponsor-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: var(--gap-xl);
}

/* .pricing-card / .tier-card already in design system section 8h */

.ccpc-gi__sponsor-custom {
  text-align: center;
  margin-top: 40px;
  padding: 32px;
  background: var(--cream);
  border-radius: var(--radius-lg);
}

.ccpc-gi__sponsor-custom p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 16px;
}

/* ── 5. Join tab ──────────────────────────────────────────────────── */
.ccpc-gi__join-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-xl);
  margin-top: var(--gap-xl);
}

.ccpc-gi__join-body p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.ccpc-gi__join-highlights {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.ccpc-gi__join-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--charcoal);
  line-height: 1.5;
}

.ccpc-gi__join-highlights .jhi {
  width: 28px;
  height: 28px;
  background: rgba(201, 147, 58, 0.12);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

.ccpc-gi__join-contact-box {
  background: var(--cream);
  border-radius: 12px;
  padding: 20px 24px;
  margin-top: 8px;
}

.ccpc-gi__join-contact-box p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.ccpc-gi__join-contact-box strong a {
  color: var(--navy);
  text-decoration: none;
}

/* .form-card already in design system section 9 */


/* ── Get Involved Responsive — Tablet (768px) ─────────────────────── */
@media (max-width: 768px) {

  /* Hero */
  .ccpc-gi__hero {
    padding: 48px 20px;
  }

  .ccpc-gi__hero-title {
    font-size: clamp(28px, 7vw, 40px);
  }

  .ccpc-gi__hero-sub {
    font-size: 14px;
  }

  /* Tab bar — scrollable, offset for 60px mobile header */
  .ccpc-gi__tabs {
    padding: 0 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    top: 60px !important; /* mobile header is 60px */
  }
  .ccpc-gi__tabs::-webkit-scrollbar { display: none; }

  .admin-bar .ccpc-gi__tabs {
    top: 106px !important; /* 60px header + 46px mobile admin bar */
  }

  .ccpc-gi__tab {
    padding: 14px 18px;
    font-size: 13px;
    white-space: nowrap;
  }

  /* All grids → single column */
  .ccpc-gi__donate-grid,
  .ccpc-gi__join-grid,
  .ccpc-gi__sponsor-tiers {
    grid-template-columns: 1fr;
  }

  /* Donate amounts → 2 columns on tablet */
  .ccpc-gi__donate-amounts {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Sponsor tier cards — center the badge */
  .ccpc-gi__sponsor-tiers .pricing-card {
    max-width: 400px;
    margin: 0 auto;
  }

  /* Sponsor custom CTA */
  .ccpc-gi__sponsor-custom {
    padding: 24px 20px;
  }

  /* Join highlights — tighter spacing */
  .ccpc-gi__join-highlights li {
    font-size: 13px;
  }

  /* Form card */
  .ccpc-gi__join-grid .form-card {
    padding: 28px 20px;
  }

  /* Join contact box */
  .ccpc-gi__join-contact-box {
    padding: 16px 20px;
  }

  /* Section inner padding */
  .ccpc-gi__section-inner {
    padding: 0;
  }
}

/* ── Get Involved Responsive — Small mobile (480px) ───────────────── */
@media (max-width: 480px) {

  .ccpc-gi__hero {
    padding: 40px 16px;
  }

  .ccpc-gi__tab {
    padding: 12px 14px;
    font-size: 12px;
  }

  .ccpc-gi__donate-amounts {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .amount-btn {
    padding: 10px;
  }

  .amount-btn .amount {
    font-size: 18px;
  }

  /* Impact items stack tighter */
  .donate-impact {
    padding: 20px;
  }

  .impact-item {
    gap: 10px;
  }

  /* Pricing card full width */
  .ccpc-gi__sponsor-tiers .pricing-card {
    max-width: 100%;
  }
}


/* =================================================================
   14. MEMBERS AREA
   ================================================================= */

/* Full-bleed: break out of GP's grid-container */
.ccpc-ma {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

/* ── 14a. Welcome Banner ─────────────────────────────────────── */
.ccpc-ma__welcome {
  background: var(--navy);
  color: #fff;
  padding: var(--gap-xl) var(--section-pad-x);
  text-align: center;
}

.ccpc-ma__inner {
  max-width: 720px;
  margin: 0 auto;
}

.ccpc-ma__greeting {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin: 8px 0 0;
}

.ccpc-ma__welcome-msg {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  margin-top: 12px;
  line-height: 1.6;
}

.ccpc-ma__welcome-msg p {
  margin: 0;
}

/* ── 14b. Layout: main + sidebar ─────────────────────────────── */
.ccpc-ma__layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--gap-lg);
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--gap-xl) var(--section-pad-x);
}

.ccpc-ma__main {
  min-width: 0;
}

/* ── 14c. Section titles ─────────────────────────────────────── */
.ccpc-ma__section {
  margin-bottom: var(--gap-xl);
}

.ccpc-ma__section-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 var(--gap-md);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ccpc-ma__section-icon {
  font-size: 20px;
}

/* ── 14d. Announcements ──────────────────────────────────────── */
.ccpc-ma__announcement-card {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 12px;
  transition: box-shadow var(--ease);
}

.ccpc-ma__announcement-card:hover {
  box-shadow: var(--shadow);
}

.ccpc-ma__announcement-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.ccpc-ma__announcement-meta time {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ccpc-ma__edit-link {
  font-size: 11px;
  color: var(--gold);
  text-decoration: none;
}

.ccpc-ma__edit-link:hover {
  text-decoration: underline;
}

.ccpc-ma__announcement-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 4px;
}

.ccpc-ma__announcement-body {
  font-size: 14px;
  color: var(--charcoal);
  line-height: 1.6;
}

.ccpc-ma__announcement-body p {
  margin: 0 0 8px;
}

.ccpc-ma__announcement-body p:last-child {
  margin-bottom: 0;
}

/* ── 14e. Practice Schedule ──────────────────────────────────── */
.ccpc-ma__schedule-note {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 var(--gap-md);
  line-height: 1.5;
}

.ccpc-ma__session-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 8px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 8px;
  align-items: center;
}

.ccpc-ma__session-card.cancelled {
  opacity: 0.6;
  text-decoration: line-through;
}

.ccpc-ma__session-date {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.ccpc-ma__session-details {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--charcoal);
}

.ccpc-ma__session-note {
  grid-column: 1 / -1;
  font-size: 12px;
  color: var(--gold);
  font-style: italic;
}

.ccpc-ma__empty {
  color: var(--muted);
  font-size: 14px;
  font-style: italic;
  padding: 20px 0;
}

/* ── 14f. Member Resources ───────────────────────────────────── */
.ccpc-ma__resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.ccpc-ma__resource-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  text-decoration: none;
  color: var(--charcoal);
  transition: all var(--ease);
}

.ccpc-ma__resource-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.ccpc-ma__resource-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.ccpc-ma__resource-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
}

.ccpc-ma__resource-desc {
  font-size: 12px;
  color: var(--muted);
  margin: 2px 0 0;
}

/* ── 14g. Sidebar ────────────────────────────────────────────── */
.ccpc-ma__sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

.ccpc-ma__quicklinks-card,
.ccpc-ma__admin-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
}

.ccpc-ma__quicklinks-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 12px;
}

.ccpc-ma__quicklinks-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ccpc-ma__quicklinks-list li {
  margin-bottom: 8px;
}

.ccpc-ma__quicklinks-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--navy);
  text-decoration: none;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  transition: background var(--ease);
}

.ccpc-ma__quicklinks-list a:hover {
  background: var(--cream);
  color: var(--gold);
}

.ccpc-ma__ql-icon {
  font-size: 16px;
}

.ccpc-ma__admin-card {
  background: var(--cream);
  border-color: var(--gold-light);
}

.ccpc-ma__admin-card h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 10px;
}

.ccpc-ma__admin-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ccpc-ma__admin-card li {
  margin-bottom: 6px;
}

.ccpc-ma__admin-card a {
  font-size: 13px;
  color: var(--navy);
  text-decoration: none;
}

.ccpc-ma__admin-card a:hover {
  color: var(--gold);
}

/* ── 14h. Members Area Responsive ────────────────────────────── */
@media (max-width: 1024px) {
  .ccpc-ma__layout {
    grid-template-columns: 1fr 260px;
  }
}

@media (max-width: 768px) {
  .ccpc-ma__greeting {
    font-size: 24px;
  }

  .ccpc-ma__layout {
    grid-template-columns: 1fr;
    padding: var(--gap-lg) var(--section-pad-x);
  }

  .ccpc-ma__sidebar {
    position: static;
  }

  .ccpc-ma__session-card {
    grid-template-columns: 1fr;
  }

  .ccpc-ma__session-details {
    flex-direction: column;
    gap: 4px;
  }

  .ccpc-ma__resource-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   NAV LOGIN BUTTON (added by ccpc-login-hotfix mu-plugin)
   Outline variant so the gold "Get Involved" CTA stays primary.
   ========================================================================== */
.main-navigation .nav-login > a {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: rgba(255, 255, 255, 0.85) !important;
}

.main-navigation .nav-login > a:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: #fff;
  color: #fff !important;
  opacity: 1;
}

/* ==========================================================================
   GALLERY — COMING SOON (shown when no photos are in the library yet)
   ========================================================================== */
.ccpc-gallery__coming-soon {
  max-width: 560px;
  margin: 0 auto;
  padding: 80px 24px 110px;
  text-align: center;
}

.ccpc-gallery__coming-soon-icon {
  display: block;
  font-size: 3rem;
  margin-bottom: 18px;
}

.ccpc-gallery__coming-soon-title {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 14px;
}

.ccpc-gallery__coming-soon-text {
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--muted, #7a7268);
  margin: 0;
}
