/* ============================================
   FEPICOL DESIGN SYSTEM v1.0
   ============================================ */

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

/* --- TOKENS --- */
:root {
  --navy-900: #0A1628;
  --navy-800: #0F1D32;
  --navy-700: #162544;
  --navy-600: #1E3156;
  --gold-500: #D4A843;
  --gold-400: #E0BC5E;
  --gold-300: #EACF7A;
  --gold-200: #F2E0A0;
  --gold-100: #FBF3D4;
  --green-600: #1A7A4C;
  --green-500: #22A366;
  --green-400: #34C980;
  --green-100: #E6F7EE;
  --red-500: #DC2626;
  --red-100: #FEE2E2;
  --g50: #FAFAF9;
  --g100: #F5F4F2;
  --g200: #E8E6E3;
  --g300: #D4D1CC;
  --g400: #A8A29E;
  --g500: #78716C;
  --g600: #57534E;
  --g700: #44403C;
  --g800: #292524;
  --g900: #1C1917;
  --white: #FFFFFF;
  --font-h: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-b: 'Inter', system-ui, sans-serif;
  --max-w: 1200px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --transition: 0.2s ease;
}

/* --- BASE --- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.6;
  color: var(--g900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-500); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-400); }
::selection { background: rgba(212,168,67,0.3); color: var(--navy-900); }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-h);
  font-weight: 700;
  line-height: 1.15;
  color: var(--g900);
}
h1 { font-size: clamp(1.875rem, 4vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 1.875rem); }
h3 { font-size: 1rem; font-weight: 600; }
p { color: var(--g600); }

/* --- LAYOUT --- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: 4rem 0; }
.section-sm { padding: 3rem 0; }

@media (max-width: 767px) {
  .section { padding: 2.5rem 0; }
  .container { padding: 0 1rem; }
}

/* --- GRIDS --- */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
.grid-5 { grid-template-columns: repeat(2, 1fr); }
.grid-6 { grid-template-columns: repeat(2, 1fr); }

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-5 { grid-template-columns: repeat(5, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .grid-6 { grid-template-columns: repeat(6, 1fr); }
}

/* --- FLEX --- */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.text-center { text-align: center; }

/* --- BACKGROUNDS --- */
.bg-white { background: var(--white); }
.bg-warm { background: var(--g50); }
.bg-secondary { background: var(--g100); }
.bg-navy {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: var(--white);
}
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }
.bg-navy p { color: rgba(255,255,255,0.6); }
.bg-navy a { color: var(--gold-500); }

/* --- TEXT UTILITIES --- */
.text-muted { color: var(--g500); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }
.text-white { color: var(--white); }
.text-white-60 { color: rgba(255,255,255,0.6); }
.text-white-70 { color: rgba(255,255,255,0.7); }
.text-gold { color: var(--gold-500); }
.font-heading { font-family: var(--font-h); }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.leading-relaxed { line-height: 1.6; }

.text-gradient-gold {
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-300) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-h);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  line-height: 1.5;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400), var(--gold-300));
  color: var(--navy-900);
}
.btn-gold:hover { opacity: 0.9; color: var(--navy-900); }
.btn-outline {
  background: transparent;
  border: 1px solid var(--g200);
  color: var(--g900);
}
.btn-outline:hover { background: var(--g100); color: var(--g900); }
.btn-outline-light {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.05); color: var(--white); }
.btn-lg { padding: 0.75rem 1.5rem; }
.btn-sm { padding: 0.375rem 0.75rem; font-size: 0.8125rem; }

/* --- CARDS --- */
.card {
  background: var(--white);
  border: 1px solid var(--g200);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
  display: block;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--g300);
  transform: translateY(-2px);
  color: inherit;
}
.card h3 { transition: color var(--transition); }
.card:hover h3 { color: var(--gold-500); }

/* --- BADGES --- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.1875rem 0.625rem;
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.5;
}
.badge-gold { background: rgba(212,168,67,0.15); color: var(--navy-800); }
.badge-green { background: var(--green-100); color: var(--green-600); }
.badge-muted { background: var(--g100); color: var(--g500); }
.badge-navy { background: rgba(10,22,40,0.1); color: var(--navy-700); }

/* --- ICON BOXES --- */
.icon-box {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-box svg { width: 20px; height: 20px; }
.icon-box-gold { background: rgba(212,168,67,0.15); color: var(--gold-500); }
.icon-box-green { background: var(--green-100); color: var(--green-500); }
.icon-box-navy { background: rgba(10,22,40,0.1); color: var(--navy-700); }

/* --- VERIFIED BADGE --- */
.verified {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.6875rem;
  color: var(--green-600);
  font-weight: 500;
}
.verified svg { width: 14px; height: 14px; }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--g200);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.site-logo img { height: 36px; width: auto; }
.site-logo span {
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--navy-900);
}

/* Main Nav */
.main-nav { display: none; }
.main-nav ul { list-style: none; display: flex; gap: 0.25rem; }
.main-nav a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--g600);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.main-nav a:hover,
.main-nav .current-menu-item a,
.main-nav .current_page_item a {
  color: var(--g900);
  background: var(--g100);
}
.header-cta { display: none; }

@media (min-width: 1024px) {
  .main-nav { display: block; }
  .header-cta { display: flex; }
  .mobile-toggle { display: none; }
}

/* Mobile Menu Toggle */
.mobile-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--g700);
}
.mobile-toggle svg { width: 24px; height: 24px; }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--white);
  padding: 1.5rem;
  overflow-y: auto;
}
.mobile-menu.is-open { display: block; }
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.mobile-menu-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--g700);
}
.mobile-menu ul { list-style: none; }
.mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--g700);
  border-bottom: 1px solid var(--g100);
}
.mobile-menu a:hover { color: var(--gold-500); }

@media (min-width: 1024px) {
  .mobile-menu { display: none !important; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: radial-gradient(circle at 1px 1px, white 1px, transparent 0);
  background-size: 40px 40px;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 48rem; margin: 0 auto; text-align: center; }
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.hero-pill svg { width: 12px; height: 12px; }
.hero h1 { color: var(--white); margin-bottom: 1.5rem; }
.hero p { color: rgba(255,255,255,0.6); max-width: 40rem; margin: 0 auto 2.5rem; font-size: 1rem; }

/* Search Bar */
.hero-search {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 0.25rem;
  max-width: 36rem;
  margin: 0 auto 2rem;
}
.hero-search input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.75rem 1rem;
  color: var(--white);
  font-size: 0.875rem;
  font-family: var(--font-b);
  outline: none;
}
.hero-search input::placeholder { color: rgba(255,255,255,0.3); }
.hero-search button {
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-sm);
}

.hero-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }

@media (min-width: 768px) {
  .hero { padding: 7rem 0; }
  .hero p { font-size: 1.125rem; }
}
@media (min-width: 1024px) {
  .hero { padding: 9rem 0; }
}

/* ============================================
   USER SHORTCUTS BAR
   ============================================ */
.shortcuts-bar {
  border-bottom: 1px solid var(--g200);
  background: var(--white);
  padding: 0.75rem 0;
}
.shortcuts-bar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}
.shortcut-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--g500);
  transition: all var(--transition);
}
.shortcut-link:hover { color: var(--g900); background: var(--g100); }
.shortcut-link svg { width: 14px; height: 14px; }

/* ============================================
   QUICK ACTIONS
   ============================================ */
.action-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--g200);
  background: var(--white);
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
}
.action-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--g300);
  transform: translateY(-2px);
  color: inherit;
}
.action-card .icon-box { margin-bottom: 0.75rem; }
.action-card span {
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--transition);
}
.action-card:hover span { color: var(--gold-500); }

/* ============================================
   STATS
   ============================================ */
.stat { text-align: center; }
.stat-icon { font-size: 1.5rem; margin-bottom: 0.25rem; }
.stat-value {
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--g900);
}
.stat-label {
  font-size: 0.75rem;
  color: var(--g500);
  margin-top: 0.25rem;
}
@media (min-width: 768px) {
  .stat-value { font-size: 1.875rem; }
}

/* ============================================
   SECTOR CARD
   ============================================ */
.sector-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
}
.sector-icon { font-size: 1.5rem; flex-shrink: 0; }
.sector-card h3 { margin-bottom: 0; }
.sector-count { font-size: 0.75rem; color: var(--g500); }

/* ============================================
   MEMBER CARD
   ============================================ */
.member-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.member-logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--g100);
}
.member-desc {
  font-size: 0.8125rem;
  color: var(--g500);
  line-height: 1.5;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.member-tags { display: flex; flex-wrap: wrap; gap: 0.375rem; }

/* ============================================
   OPPORTUNITY CARD
   ============================================ */
.opp-tags { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-bottom: 0.75rem; }
.opp-title {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
}
.opp-excerpt {
  font-size: 0.8125rem;
  color: var(--g500);
  line-height: 1.5;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.opp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--g500);
}
.opp-meta svg { width: 12px; height: 12px; }

/* ============================================
   SUPPORT SECTION
   ============================================ */
.support-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .support-grid { grid-template-columns: 1.2fr 1fr; }
}

.checklist { list-style: none; }
.checklist li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.375rem 0;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
}
.checklist li svg { width: 16px; height: 16px; color: var(--gold-500); flex-shrink: 0; }

.support-stat-box {
  padding: 1.25rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
}
.support-stat-value {
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--gold-500);
}
.support-stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.5); margin-top: 0.25rem; }

@media (min-width: 768px) {
  .support-stat-value { font-size: 1.5rem; }
}

/* ============================================
   TRAINING CARDS
   ============================================ */
.training-card { text-align: center; }
.training-card .icon-box { margin: 0 auto 1rem; }
.training-card p { font-size: 0.875rem; }

/* ============================================
   EVENT CARD
   ============================================ */
.event-type { margin-bottom: 0.75rem; }
.event-title {
  font-family: var(--font-h);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}
.event-excerpt {
  font-size: 0.75rem;
  color: var(--g500);
  line-height: 1.5;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.event-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--g500);
}
.event-meta svg { width: 12px; height: 12px; }

/* ============================================
   SUCCESS STORIES
   ============================================ */
.story-tags { display: flex; gap: 0.5rem; margin-bottom: 0.75rem; }
.story-company { font-size: 0.75rem; font-weight: 500; color: var(--gold-500); margin-top: 0.75rem; }

/* ============================================
   PARTNERS
   ============================================ */
.partners-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}
.partners-bar span {
  font-family: var(--font-h);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--g300);
  transition: color var(--transition);
}
.partners-bar span:hover { color: var(--g500); }

@media (min-width: 768px) {
  .partners-bar { gap: 3rem; }
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 32rem;
  margin: 0 auto;
}
.newsletter-form input[type="email"] {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 0.875rem;
  font-family: var(--font-b);
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.3); }
.newsletter-form input:focus { border-color: var(--gold-500); box-shadow: 0 0 0 2px rgba(212,168,67,0.2); }

@media (min-width: 640px) {
  .newsletter-form { flex-direction: row; }
}

/* ============================================
   SECTION HEADER
   ============================================ */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.section-header p { margin-top: 0.25rem; }
.view-all {
  display: none;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gold-500);
  white-space: nowrap;
}
.view-all:hover { text-decoration: underline; color: var(--gold-400); }
.view-all svg { width: 16px; height: 16px; }

@media (min-width: 768px) {
  .view-all { display: inline-flex; }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer { padding: 4rem 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.875rem; margin-top: 1rem; line-height: 1.6; }
.footer-heading {
  font-family: var(--font-h);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
}

/* ============================================
   DIRECTORY PAGE
   ============================================ */
.directory-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--g50);
  border-radius: var(--radius);
  border: 1px solid var(--g200);
}
.filter-select {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--g200);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-family: var(--font-b);
  color: var(--g700);
  background: var(--white);
  cursor: pointer;
  outline: none;
}
.filter-select:focus { border-color: var(--gold-500); box-shadow: 0 0 0 2px rgba(212,168,67,0.2); }
.filter-search {
  flex: 1;
  min-width: 200px;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--g200);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-family: var(--font-b);
  outline: none;
}
.filter-search:focus { border-color: var(--gold-500); box-shadow: 0 0 0 2px rgba(212,168,67,0.2); }

/* ============================================
   SINGLE MEMBER PAGE
   ============================================ */
.member-single-header {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.member-single-logo {
  width: 80px;
  height: 80px;
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--g100);
  flex-shrink: 0;
}
.member-single-badges { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.member-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .member-detail-grid { grid-template-columns: 2fr 1fr; }
}
.member-sidebar {
  padding: 1.5rem;
  background: var(--g50);
  border-radius: var(--radius);
  border: 1px solid var(--g200);
}
.member-sidebar-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--g200);
}
.member-sidebar-item:last-child { border-bottom: none; }
.member-sidebar-label { font-size: 0.75rem; color: var(--g500); margin-bottom: 0.25rem; }
.member-sidebar-value { font-size: 0.875rem; font-weight: 500; }

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--g200);
  color: var(--g600);
  transition: all var(--transition);
}
.pagination a:hover { background: var(--g100); color: var(--g900); }
.pagination .current {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
}

/* ============================================
   PAGE HEADER (for archive pages)
   ============================================ */
.page-header-section {
  padding: 3rem 0;
}
.page-header-section h1 {
  color: var(--white);
  margin-bottom: 0.5rem;
}
.page-header-section p {
  color: rgba(255,255,255,0.6);
  max-width: 36rem;
}

/* ============================================
   FORMS (contact, membership)
   ============================================ */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--g700);
  margin-bottom: 0.375rem;
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--g200);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-family: var(--font-b);
  color: var(--g900);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 2px rgba(212,168,67,0.2);
}
.form-textarea { resize: vertical; min-height: 120px; }

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   UTILITIES
   ============================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.border-y { border-top: 1px solid var(--g200); border-bottom: 1px solid var(--g200); }
.border-b { border-bottom: 1px solid var(--g200); }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-2xl { max-width: 42rem; }
.w-full { width: 100%; }
.hidden { display: none; }

@media (min-width: 768px) {
  .md-show { display: block; }
  .md-flex { display: flex; }
}

/* --- FORMS --- */
.fepicol-form { max-width: 600px; }
.form-group { margin-bottom: 1rem; }
.form-label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--g700); margin-bottom: 0.35rem; }
.form-input, .form-select, .form-textarea {
  display: block; width: 100%; padding: 0.6rem 0.75rem;
  font-size: 0.875rem; line-height: 1.5;
  color: var(--g800); background: var(--white);
  border: 1px solid var(--g300); border-radius: var(--radius-sm);
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.15);
}
.form-select { appearance: auto; cursor: pointer; }
.form-textarea { resize: vertical; min-height: 80px; }

/* --- FILTER DROPDOWNS --- */
.fd { position: relative; }
.fb {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.4rem 0.75rem; font-size: 0.8rem; font-weight: 500;
  color: var(--g700); background: var(--white);
  border: 1px solid var(--g300); border-radius: var(--radius-sm);
  cursor: pointer; white-space: nowrap; transition: all 0.15s;
}
.fb:hover { border-color: var(--gold-400); background: var(--gold-50); }
.fba { background: var(--gold-100); border-color: var(--gold-400); color: var(--gold-700); font-weight: 600; }
.fc {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; font-size: 0.65rem; font-weight: 700;
  background: var(--gold-500); color: white; border-radius: 99px;
}
.fp {
  display: none; position: absolute; top: calc(100% + 4px); left: 0; z-index: 100;
  min-width: 220px; max-height: 320px; overflow-y: auto;
  background: var(--white); border: 1px solid var(--g200);
  border-radius: var(--radius-sm); box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  padding: 0.35rem 0;
}
.fp.show { display: block; }
.fp-lg { min-width: 280px; max-height: 400px; }
.fo {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.35rem 0.75rem; font-size: 0.8rem; color: var(--g700);
  text-decoration: none; cursor: pointer; transition: background 0.1s;
}
.fo:hover { background: var(--gold-50); }
.fon { background: var(--gold-100); color: var(--gold-700); font-weight: 600; }
.fod { opacity: 0.35; pointer-events: none; }
.fop { border-bottom: 1px solid var(--g100); }
