/*
Theme Name: Internationals Class
Theme URI: https://raborndigital.com
Author: Raborn Digital
Author URI: https://raborndigital.com
Description: A warm, accessible WordPress theme for Internationals Class — a free conversational English program at First Presbyterian Church, Jackson, MS. WCAG 2.1 AA compliant.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
Text Domain: intl-class
*/

/* ─────────────────────────────────────
   TOKENS & RESET
───────────────────────────────────── */
:root {
  --teal:          #1A9E8A;
  --teal-dark:     #0D5C50;
  --teal-mid:      #2BBCA5;
  --teal-light:    #E6F7F4;
  --teal-border:   #B0DDD7;
  --amber:         #F5A623;
  --amber-dark:    #C07A0A;
  --amber-light:   #FEF6E7;
  --amber-border:  #F5D498;
  --navy:          #1B2B3A;
  --navy-mid:      #2D4056;
  --soft-white:    #FAFAF8;
  --off-white:     #F4F6F5;
  --white:         #FFFFFF;
  --body:          #3D4B57;
  --muted:         #6B7C88;
  --border:        #DDE5E3;
  --border-dark:   #C2CFC9;
  --green-ok:      #2E7D52;
  --green-ok-bg:   #E8F5EE;
  --radius-sm:     6px;
  --radius:        10px;
  --radius-lg:     16px;
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.06);
  --shadow:        0 4px 20px rgba(0,0,0,0.09);
  --shadow-lg:     0 8px 40px rgba(0,0,0,0.13);
  --font-display:  'Playfair Display', Georgia, serif;
  --font-body:     'Nunito', 'Segoe UI', system-ui, sans-serif;
  --container:     1100px;
  --nav-h:         70px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--body);
  background: var(--soft-white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }
button { cursor: pointer; }

/* ─────────────────────────────────────
   ACCESSIBILITY
───────────────────────────────────── */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--teal);
  color: #fff;
  padding: 10px 20px;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-to-content:focus { top: 0; outline: 3px solid var(--amber); }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ─────────────────────────────────────
   LAYOUT HELPERS
───────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.page-section { padding: 72px 0; }
.bg-white     { background: var(--white); }
.bg-off       { background: var(--off-white); }
.bg-teal-light{ background: var(--teal-light); }
.bg-navy      { background: var(--navy); }
.text-center  { text-align: center; }
.mb-4         { margin-bottom: 1rem; }
.mb-6         { margin-bottom: 1.5rem; }
.mb-8         { margin-bottom: 2rem; }
.mt-8         { margin-top: 2rem; }
.mt-10        { margin-top: 2.5rem; }
.mx-auto      { margin-left: auto; margin-right: auto; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ─────────────────────────────────────
   TYPOGRAPHY
───────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.section-title.light { color: #fff; }

.section-sub {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 600px;
}

.section-sub.light { color: rgba(255,255,255,0.72); }

/* ─────────────────────────────────────
   BUTTONS
───────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 800;
  border: 2px solid transparent;
  transition: all 0.18s ease;
  text-decoration: none !important;
  white-space: nowrap;
}

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

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

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

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); color: #fff; }

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

/* ─────────────────────────────────────
   NAVIGATION
───────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
  transition: box-shadow 0.2s;
}

.site-nav.scrolled { box-shadow: var(--shadow); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  flex-shrink: 0;
}

.nav-brand-icon {
  width: 40px; height: 40px;
  background: var(--teal);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.nav-brand-icon img { width: 26px; height: 26px; }

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-brand-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy);
  font-weight: 700;
}

.nav-brand-sub {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links li a {
  display: block;
  padding: 6px 13px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--body);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.15s;
}

.nav-links li a:hover,
.nav-links li a.current {
  background: var(--teal-light);
  color: var(--teal);
}

.btn-nav-cta {
  margin-left: 12px;
  padding: 9px 20px;
  background: var(--navy);
  color: #fff !important;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none !important;
  transition: background 0.18s;
  white-space: nowrap;
}

.btn-nav-cta:hover { background: var(--teal-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  border-radius: var(--radius-sm);
}

.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.2s;
}

/* ─────────────────────────────────────
   HERO
───────────────────────────────────── */
.hero-banner {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--teal-dark);
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-bg-img.loaded { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13,92,80,0.92) 0%,
    rgba(26,158,138,0.78) 50%,
    rgba(43,188,165,0.65) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 660px;
  padding: 0 24px;
  margin-left: max(24px, calc((100vw - var(--container)) / 2));
}

.hero-pill {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.25);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: rgba(255,255,255,0.55);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
  z-index: 2;
}

.hero-scroll-hint i { font-size: 1.1rem; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ─────────────────────────────────────
   STATS BAR
───────────────────────────────────── */
.stats-bar {
  background: var(--navy);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: 22px 16px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.stat-item:last-child { border-right: none; }

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--amber);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 4px;
}

/* ─────────────────────────────────────
   FEATURE / WHY US CARDS
───────────────────────────────────── */
.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}

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

.why-icon {
  width: 48px; height: 48px;
  background: var(--teal-light);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--teal);
  margin-bottom: 16px;
}

.why-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.why-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ─────────────────────────────────────
   EVENT CARDS (home preview)
───────────────────────────────────── */
.event-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.event-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: box-shadow 0.2s;
}

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

.event-date-badge {
  flex-shrink: 0;
  background: var(--teal);
  color: #fff;
  border-radius: var(--radius);
  padding: 10px 14px;
  text-align: center;
  min-width: 54px;
}

.event-date-badge.amber { background: var(--amber); color: var(--navy); }

.event-month { font-size: 0.65rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; line-height: 1; }
.event-day   { font-size: 1.5rem; font-weight: 800; line-height: 1.1; }
.event-title { font-size: 0.92rem; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.event-meta  { font-size: 0.8rem; color: var(--muted); line-height: 1.5; }

.event-tag {
  display: inline-block;
  margin-top: 7px;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.event-tag-class  { background: var(--teal-light); color: var(--teal-dark); }
.event-tag-social { background: var(--amber-light); color: var(--amber-dark); }

/* ─────────────────────────────────────
   ABOUT SECTION (two-col)
───────────────────────────────────── */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--teal-light);
}

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

.about-badge {
  position: absolute;
  bottom: 20px; left: 20px;
  background: var(--amber);
  color: var(--navy);
  border-radius: var(--radius);
  padding: 12px 18px;
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.about-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.about-stat {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 14px 10px;
  text-align: center;
  border: 1px solid var(--border);
}

.about-stat-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--teal);
  line-height: 1;
}

.about-stat-lbl {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.check-list { margin: 1.25rem 0 1.75rem; display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; color: var(--body); }
.check-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: var(--green-ok-bg);
  color: var(--green-ok);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  margin-top: 2px;
}

/* ─────────────────────────────────────
   PHOTO GALLERY
───────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 12px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--teal-light);
  position: relative;
  cursor: pointer;
}

.gallery-item:first-child {
  grid-column: span 2;
  aspect-ratio: 2/1;
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img { transform: scale(1.04); }

.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(13,92,80,0.85), transparent);
  color: #fff;
  padding: 20px 14px 12px;
  font-size: 0.82rem;
  font-weight: 700;
}

.gallery-loading {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─────────────────────────────────────
   CTA BAND
───────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  padding: 56px 0;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #fff;
  margin-bottom: 8px;
}

.cta-band p { font-size: 0.95rem; color: rgba(255,255,255,0.78); }
.cta-band-btns { display: flex; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }

/* ─────────────────────────────────────
   CONTACT SECTION
───────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-info-icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  background: var(--teal-light);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  font-size: 1.1rem;
}

.contact-info-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 2px;
}

.contact-info-text {
  font-size: 0.92rem;
  color: var(--body);
  line-height: 1.6;
}

/* ─────────────────────────────────────
   CONTACT FORM
───────────────────────────────────── */
.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.pz-form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}

.pz-form-label span { color: var(--teal); }

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--body);
  background: var(--white);
  transition: border-color 0.15s;
}

.form-control:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(26,158,138,0.18);
}

textarea.form-control { min-height: 130px; resize: vertical; }

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  background: var(--teal);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.18s;
  width: 100%;
  justify-content: center;
}

.btn-submit:hover { background: var(--teal-dark); }

.pz-form-success {
  background: var(--green-ok-bg);
  border: 1px solid #A8D5B8;
  color: var(--green-ok);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

/* ─────────────────────────────────────
   PAGE HEADER (inner pages)
───────────────────────────────────── */
.page-header {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 100%);
  padding: 56px 0 64px;
}

.page-header-inner { position: relative; }

.breadcrumb {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.58);
  font-weight: 700;
  margin-bottom: 14px;
}

.breadcrumb a { color: rgba(255,255,255,0.7); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { margin: 0 6px; color: rgba(255,255,255,0.35); }

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.2;
}

.page-header p {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  line-height: 1.7;
}

/* ─────────────────────────────────────
   EVENTS PAGE — CALENDAR EMBED
───────────────────────────────────── */
.calendar-info-box {
  background: var(--amber-light);
  border: 1px solid var(--amber-border);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 32px;
}

.calendar-info-box i { font-size: 1.6rem; color: var(--amber-dark); flex-shrink: 0; }

.calendar-info-box strong { display: block; font-size: 0.92rem; color: var(--navy); margin-bottom: 4px; }
.calendar-info-box span  { font-size: 0.85rem; color: var(--muted); }

.calendar-embed-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 500px;
}

/* ─────────────────────────────────────
   GALLERY PAGE (full)
───────────────────────────────────── */
.gallery-filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.gallery-filter-btn {
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 800;
  border: 1.5px solid var(--border-dark);
  background: var(--white);
  color: var(--muted);
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.15s;
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.gallery-masonry {
  columns: 3;
  column-gap: 14px;
}

.gallery-masonry .gallery-item {
  break-inside: avoid;
  margin-bottom: 14px;
  aspect-ratio: auto;
  height: auto;
}

/* ─────────────────────────────────────
   MEMBERS / LOGIN PAGE
───────────────────────────────────── */
.members-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.members-info-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.members-info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--body);
}

.members-info-item i { color: var(--teal); margin-top: 3px; flex-shrink: 0; }

.login-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 36px;
  color: #fff;
}

.login-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 8px;
}

.login-card p { font-size: 0.88rem; color: rgba(255,255,255,0.62); margin-bottom: 24px; }

.login-form-group { margin-bottom: 16px; }

.login-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
}

.login-input {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius);
  border: 1.5px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.07);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.15s;
}

.login-input::placeholder { color: rgba(255,255,255,0.3); }
.login-input:focus { outline: none; border-color: var(--teal-mid); }

.btn-login {
  width: 100%;
  padding: 13px;
  background: var(--teal);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.18s;
  margin-top: 4px;
}

.btn-login:hover { background: var(--teal-mid); }

.login-forgot {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-top: 14px;
}

.login-forgot a { color: var(--teal-mid); }

/* ─────────────────────────────────────
   RESOURCES PAGE
───────────────────────────────────── */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.resource-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}

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

.resource-card-icon {
  width: 46px; height: 46px;
  border-radius: var(--radius);
  background: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.resource-card-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}

.resource-card-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.resource-link {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--teal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

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

/* ─────────────────────────────────────
   FOOTER
───────────────────────────────────── */
.site-footer {
  background: var(--navy);
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand-icon {
  width: 34px; height: 34px;
  background: var(--teal);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.footer-brand-text {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
  margin-bottom: 20px;
}

.footer-socials { display: flex; gap: 10px; }

.footer-social-link {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55);
  font-size: 0.95rem;
  text-decoration: none !important;
  transition: all 0.15s;
}

.footer-social-link:hover { background: var(--teal); border-color: var(--teal); color: #fff; }

.footer-col-title {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}

.footer-links li { margin-bottom: 9px; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: #fff; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 10px;
  line-height: 1.5;
}
.footer-contact-item i { color: var(--teal); margin-top: 2px; flex-shrink: 0; }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom-left { font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.footer-bottom-right { display: flex; gap: 10px; align-items: center; }

.footer-badge {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.45);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

/* ─────────────────────────────────────
   LIGHTBOX
───────────────────────────────────── */
.ic-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 9998;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.ic-lightbox.open { display: flex; }
.ic-lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.15s;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-caption {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 700;
  background: rgba(0,0,0,0.5);
  padding: 6px 16px;
  border-radius: 20px;
}

/* ─────────────────────────────────────
   FADE-UP ANIMATION
───────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─────────────────────────────────────
   SPINNER
───────────────────────────────────── */
.spinner {
  width: 32px; height: 32px;
  border: 3px solid var(--teal-light);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─────────────────────────────────────
   WORDPRESS CORE
───────────────────────────────────── */
.wp-caption { max-width: 100%; }
.alignleft  { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter{ display: block; margin: 0 auto 1rem; }
.sticky     {}
.bypostauthor {}

/* ─────────────────────────────────────
   RESPONSIVE
───────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stats-bar .stat-item:nth-child(2) { border-right: none; }
  .gallery-masonry { columns: 2; }
}

@media (max-width: 768px) {
  :root { --nav-h: 62px; }

  .grid-2, .grid-3, .about-layout,
  .contact-layout, .members-layout,
  .event-preview-grid { grid-template-columns: 1fr; }

  .cta-band-inner { flex-direction: column; text-align: center; }
  .cta-band-btns  { justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item:first-child { grid-column: span 2; }
  .gallery-masonry { columns: 2; }
  .resource-grid { grid-template-columns: 1fr; }

  .nav-links-wrap {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 24px 20px;
    gap: 4px;
    box-shadow: var(--shadow);
  }
  .nav-links-wrap.open { display: flex; }
  .nav-links { flex-direction: column; width: 100%; }
  .nav-links li { width: 100%; }
  .nav-links li a { padding: 10px 14px; font-size: 0.95rem; }
  .btn-nav-cta { margin: 8px 0 0; width: 100%; text-align: center; padding: 11px 20px; }
  .nav-toggle { display: flex; }
  .site-nav { position: relative; }

  .hero-banner { min-height: 75vh; }
  .hero-content { margin-left: 0; padding: 0 24px; }

  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
  .contact-form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .gallery-grid, .gallery-masonry { columns: 1; grid-template-columns: 1fr; }
  .gallery-item:first-child { grid-column: span 1; aspect-ratio: 4/3; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
}
