/*
 * VetOnIt CE Past Events - Styles
 * Based on VetOnIt branding: clean, professional, medical
 * Fonts: Domine (serif headings), Inter (sans body)
 * Palette: Warm Paper + Clinical Teal
 */

:root {
  --bg-page: #FDFBF7;
  --bg-surface: #FFFFFF;
  --bg-footer: #1A202C;
  --text-primary: #1A1A1A;
  --text-secondary: #4A5568;
  --text-muted: #718096;
  --text-light: #F7FAFC;
  --accent-primary: #0d9488;
  --accent-hover: #0f766e;
  --border-subtle: #E2E8F0;
  --border-accent: #CBD5E0;
  --bg-subtle: #F7FAFC;
  --bg-contrast: #F1F5F9;
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.08);
  --font-serif: 'Domine', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
}

/* ── Reset & Base ─────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: color 0.2s ease; }
img { max-width: 100%; height: auto; }

/* ── Typography ───────────────────────────────────────────────── */

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }

.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }

/* ── Layout ───────────────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  max-width: 860px;
}

/* ── Header / Navigation ─────────────────────────────────────── */

.site-header {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.logo-img { height: 36px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-links a:hover { color: var(--accent-primary); }

/* ── Page Hero ────────────────────────────────────────────────── */

.page-hero {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  display: block;
}

.hero-title { margin-bottom: 0.5rem; }

.hero-description {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 640px;
  line-height: 1.6;
}

/* ── Breadcrumbs ──────────────────────────────────────────────── */

.breadcrumbs {
  padding: 1rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumbs a { color: var(--accent-primary); }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumb-sep { margin: 0 0.5rem; color: var(--border-accent); }

/* ── Event Cards ──────────────────────────────────────────────── */

.events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
}

@media (min-width: 640px) {
  .events-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .events-grid { grid-template-columns: repeat(3, 1fr); }
}

.event-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.event-card-body { padding: 1.5rem; }

.event-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.event-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.event-title a { color: var(--text-primary); }
.event-title a:hover { color: var(--accent-primary); }

.event-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-presenter {
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

/* ── Badges & Tags ────────────────────────────────────────────── */

.race-badge {
  display: inline-block;
  padding: 3px 8px;
  font-size: 0.7rem;
  font-weight: 600;
  background: #059669;
  color: white;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ce-credits {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.725rem;
  font-weight: 500;
  background: rgba(13, 148, 136, 0.08);
  color: var(--accent-primary);
  border-radius: 100px;
}

.focus-tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.725rem;
  font-weight: 500;
  background: var(--bg-contrast);
  color: var(--text-secondary);
  border-radius: 100px;
}

/* ── Status Badges ────────────────────────────────────────────── */

.status-badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-badge.upcoming {
  background: #EF4444;
  color: white;
}

.status-badge.ondemand {
  background: #10B981;
  color: white;
}

.status-badge.related {
  background: #F59E0B;
  color: white;
}

.status-badge.archived {
  background: var(--bg-contrast);
  color: var(--text-muted);
}

/* ── Event Detail Layout ─────────────────────────────────────── */

.event-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding: 2rem 0 3rem;
}

@media (min-width: 1024px) {
  .event-detail {
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
  }
}

.event-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
}

.event-content h2:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

/* ── Event Sidebar ───────────────────────────────────────────── */

.event-sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
}

.sidebar-section {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.sidebar-section h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.presenter-bio {
  line-height: 1.6;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.presenter-credentials {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

/* ── CTA Button ───────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 6px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent-primary);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.2);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-accent);
}

.btn-secondary:hover {
  border-color: var(--text-primary);
}

.btn-full {
  width: 100%;
}

/* ── Prominent CTAs ───────────────────────────────────────────── */

.btn-prominent {
  font-size: 1rem;
  font-weight: 600;
  padding: 16px 32px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-ondemand {
  background: linear-gradient(135deg, #10B981, #059669);
  color: white;
  border: none;
}

.btn-ondemand:hover {
  background: linear-gradient(135deg, #059669, #047857);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.btn-upcoming {
  background: linear-gradient(135deg, #EF4444, #DC2626);
  color: white;
  border: none;
}

.btn-upcoming:hover {
  background: linear-gradient(135deg, #DC2626, #B91C1C);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.3);
}

.btn-related {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: white;
  border: none;
}

.btn-related:hover {
  background: linear-gradient(135deg, #D97706, #B45309);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
}

/* ── CTA Section ──────────────────────────────────────────────── */

.event-cta-section {
  background: var(--bg-subtle);
  border: 2px solid var(--border-subtle);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  margin: 2rem 0;
}

.event-cta-section h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.event-cta-section p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.cta-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* ── Related Events ───────────────────────────────────────────── */

.related-events {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border-subtle);
}

.related-events h2 {
  margin-bottom: 1.5rem;
  border: none;
  padding: 0;
}

/* ── Filter Controls ──────────────────────────────────────────── */

.filter-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem 0;
  margin-bottom: 1rem;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.filter-select {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  background: var(--bg-surface);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.9rem;
}

.search-box {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  background: var(--bg-surface);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  width: 100%;
  max-width: 300px;
}

/* ── FAQ Section ──────────────────────────────────────────────── */

.faq-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.faq-item {
  margin-bottom: 1.5rem;
}

.faq-question {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.faq-answer {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Specialty Content ────────────────────────────────────────── */

.specialty-intro {
  background: var(--bg-subtle);
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.specialty-intro h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}

/* ── Footer ───────────────────────────────────────────────────── */

.site-footer {
  background: var(--bg-footer);
  color: rgba(255, 255, 255, 0.6);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand h3 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-tagline {
  font-style: italic;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-race {
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.footer-section h4 {
  color: white;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  line-height: 1.8;
}

.footer-links a:hover { color: white; }

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
}

/* ── Responsive ───────────────────────────────────────────────── */

@media (max-width: 768px) {
  .container { padding: 0 1rem; }
  .header-content { padding: 0 1rem; }
  .nav-links { gap: 1rem; }
  .nav-links .hide-mobile { display: none; }
  .event-detail { gap: 2rem; }
  .filter-controls { 
    flex-direction: column; 
    gap: 1rem;
  }
  .search-box { max-width: 100%; }
}

/* ── Loading & Empty States ───────────────────────────────────── */

.loading {
  text-align: center;
  padding: 4rem 0;
  color: var(--text-muted);
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
}

.empty-state h2 { margin-bottom: 0.5rem; }
.empty-state p { margin-bottom: 1.5rem; }

/* ── Blog Sidebar ─────────────────────────────────────────────── */

.blog-sidebar {
  position: fixed;
  top: 120px;
  left: 20px;
  width: 280px;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 1rem;
  box-shadow: var(--shadow-card);
  z-index: 10;
}

.blog-sidebar-header {
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.blog-sidebar-header h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--accent-primary);
  margin: 0;
}

.blog-posts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.blog-post-tile {
  background: linear-gradient(135deg, #FFF8E1, #FFF3C4);
  border: 1px solid #F4E4A6;
  border-radius: 6px;
  padding: 0.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-post-tile:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.blog-post-tile h4 {
  font-size: 0.85rem;
  line-height: 1.3;
  margin: 0 0 0.4rem 0;
  font-family: var(--font-sans);
  font-weight: 600;
}

.blog-post-tile h4 a {
  color: #D97706;
  text-decoration: none;
}

.blog-post-tile h4 a:hover {
  color: #B45309;
  text-decoration: underline;
}

.blog-post-tile .specialty-tag {
  display: inline-block;
  font-size: 0.7rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.6);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-weight: 500;
}

/* Hide sidebar on smaller screens */
@media (max-width: 1400px) {
  .blog-sidebar {
    display: none;
  }
}/* ── State CE Requirements Styles ──────────────────────────────── */

.disclaimer-banner {
  background-color: #fef3c7;
  border: 1px solid #f59e0b;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.disclaimer-banner h3 {
  color: #92400e;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.disclaimer-banner p {
  color: #78350f;
  font-size: 0.9rem;
  line-height: 1.6;
}

.disclaimer-banner a {
  color: #1d4ed8;
  text-decoration: underline;
}

.footer-disclaimer {
  background-color: #f3f4f6;
  border-top: 1px solid var(--border-subtle);
  padding: 1rem 0;
  margin-top: 2rem;
}

.footer-disclaimer p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-align: center;
}

.states-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.state-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-card);
}

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

.state-card.green {
  border-left: 4px solid #10b981;
}

.state-card.yellow {
  border-left: 4px solid #f59e0b;
}

.state-card.orange {
  border-left: 4px solid #f97316;
}

.state-header {
  display: flex;
  justify-content: between;
  align-items: center;
  margin-bottom: 1rem;
}

.state-header h3 {
  margin: 0;
  font-size: 1.3rem;
}

.state-header h3 a {
  color: var(--text-primary);
}

.state-header h3 a:hover {
  color: var(--accent-primary);
}

.tier-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tier-badge.green {
  background-color: #d1fae5;
  color: #065f46;
}

.tier-badge.yellow {
  background-color: #fef3c7;
  color: #92400e;
}

.tier-badge.orange {
  background-color: #fed7aa;
  color: #c2410c;
}

.state-facts {
  margin-bottom: 1.5rem;
}

.fact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f3f4f6;
}

.fact:last-child {
  border-bottom: none;
}

.fact.special {
  background-color: #f8fafc;
  padding: 0.75rem;
  border-radius: 4px;
  margin-top: 0.5rem;
  border-bottom: none;
}

.fact-label {
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.fact-value {
  font-weight: 500;
  color: var(--text-primary);
}

.state-card-footer {
  margin-top: 1rem;
}

.search-section {
  margin-bottom: 2rem;
}

.search-box {
  margin-bottom: 1rem;
}

.filter-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-secondary);
  border-radius: 20px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent-primary);
  color: white;
  border-color: var(--accent-primary);
}

.filter-btn.green.active {
  background: #10b981;
  border-color: #10b981;
}

.filter-btn.yellow.active {
  background: #f59e0b;
  border-color: #f59e0b;
}

.filter-btn.orange.active {
  background: #f97316;
  border-color: #f97316;
}

.summary-stats {
  margin: 3rem 0;
  padding: 2rem;
  background: var(--bg-subtle);
  border-radius: 8px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  text-align: center;
  padding: 1.5rem;
  border-radius: 8px;
  background: var(--bg-surface);
}

.stat-card.green {
  border-top: 4px solid #10b981;
}

.stat-card.yellow {
  border-top: 4px solid #f59e0b;
}

.stat-card.orange {
  border-top: 4px solid #f97316;
}

.stat-card h3 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.quick-facts {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-card);
}

.quick-facts h2 {
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.fact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-subtle);
  border-radius: 6px;
}

.fact-item.special {
  background: #fef3c7;
  border: 1px solid #f59e0b;
}

.fact-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.fact-content {
  display: flex;
  flex-direction: column;
}

.fact-content strong {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.fact-content span {
  font-size: 1.1rem;
  color: var(--text-primary);
  font-weight: 500;
}

.course-recommendations {
  margin: 3rem 0;
}

.marketing-message {
  background: var(--bg-subtle);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  border-left: 4px solid var(--accent-primary);
}

.marketing-message .tagline {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.marketing-message .calculation {
  font-size: 1rem;
  color: var(--accent-primary);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.course-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.2s ease;
  position: relative;
}

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

.course-card.featured {
  border: 2px solid var(--accent-primary);
  box-shadow: 0 4px 20px rgba(13, 148, 136, 0.1);
}

.course-card.highlight {
  background: linear-gradient(135deg, #f0fdfa, #ffffff);
  border: 2px solid #10b981;
}

.course-badge {
  position: absolute;
  top: -8px;
  right: 1rem;
  background: var(--accent-primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  text-transform: uppercase;
}

.course-card.featured .course-badge {
  background: #dc2626;
}

.course-card.highlight .course-badge {
  background: #10b981;
}

.course-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0.75rem 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.course-options {
  margin: 1rem 0;
}

.course-options .option {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.detailed-requirements {
  margin: 3rem 0;
  padding: 2rem;
  background: var(--bg-surface);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
}

.ce-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.ce-type {
  background: var(--bg-subtle);
  padding: 1.5rem;
  border-radius: 6px;
}

.ce-type h4 {
  color: var(--accent-primary);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.ce-type ul {
  list-style-type: none;
  padding: 0;
}

.ce-type li {
  padding: 0.25rem 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.ce-type li::before {
  content: "✓ ";
  color: var(--accent-primary);
  font-weight: 600;
  margin-right: 0.5rem;
}

.board-contact {
  background: var(--bg-subtle);
  padding: 1.5rem;
  border-radius: 6px;
  margin-top: 1rem;
}

.faq-section {
  margin: 3rem 0;
}

.faq-list {
  margin-top: 1.5rem;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  margin-bottom: 1rem;
  padding: 1.5rem;
}

.faq-item h3 {
  color: var(--accent-primary);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.faq-item p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.related-links {
  margin: 3rem 0;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.link-group h3 {
  color: var(--accent-primary);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.link-group ul {
  list-style: none;
  padding: 0;
}

.link-group li {
  margin-bottom: 0.5rem;
}

.link-group a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.link-group a:hover {
  color: var(--accent-primary);
  text-decoration: underline;
}

.cta-section {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-hover));
  color: white;
  padding: 3rem 2rem;
  border-radius: 8px;
  text-align: center;
  margin: 3rem 0;
}

.cta-content h2 {
  margin-bottom: 1rem;
  color: white;
}

.cta-content p {
  margin-bottom: 2rem;
  opacity: 0.9;
  font-size: 1.1rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.key-info {
  margin: 3rem 0;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.info-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 1.5rem;
  border-radius: 8px;
}

.info-card h3 {
  color: var(--accent-primary);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.info-card ul {
  list-style: none;
  padding: 0;
}

.info-card li {
  padding: 0.25rem 0;
  color: var(--text-secondary);
}

.info-card li::before {
  content: "✓ ";
  color: var(--accent-primary);
  font-weight: 600;
  margin-right: 0.5rem;
}

/* ── Mobile Responsiveness ───────────────────────────────────── */

@media (max-width: 768px) {
  .states-grid {
    grid-template-columns: 1fr;
  }
  
  .facts-grid {
    grid-template-columns: 1fr;
  }
  
  .courses-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .ce-types {
    grid-template-columns: 1fr;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .links-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .filter-tags {
    justify-content: center;
  }
}