/* ==========================================================================
   Spokane Boxer Brigade - Main Theme Stylesheet
   Dark automotive theme with Subaru blue & gold accents
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
  --color-primary: #3B82F6;
  --color-primary-hover: #2563EB;
  --color-primary-dark: #1D4ED8;
  --color-primary-900: #1E3A8A;
  --color-gold: #FACC15;
  --color-gold-dark: #EAB308;
  --color-purple: #7C3AED;
  --color-purple-dark: #6D28D9;
  --color-orange: #FB923C;
  --color-orange-dark: #F97316;

  --color-bg: #000000;
  --color-bg-secondary: #0F172A;
  --color-bg-card: rgba(255, 255, 255, 0.05);
  --color-bg-card-hover: rgba(255, 255, 255, 0.08);
  --color-border: rgba(255, 255, 255, 0.1);
  --color-border-hover: rgba(255, 255, 255, 0.2);

  --color-text: #FFFFFF;
  --color-text-secondary: #D1D5DB;
  --color-text-muted: #9CA3AF;
  --color-text-dark: #6B7280;

  --font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container-max: 1280px;
  --container-padding: 1rem;
  --header-height: 72px;
  --radius: 1rem;
  --radius-sm: 0.75rem;
  --radius-lg: 1.5rem;
  --transition: 0.3s ease;
}

/* --------------------------------------------------------------------------
   2. Reset & Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

body.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-gold);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

@media (min-width: 768px) {
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.5rem; }
  h3 { font-size: 1.75rem; }
}

@media (min-width: 1024px) {
  h1 { font-size: 4.5rem; }
  h2 { font-size: 3rem; }
}

p {
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.gradient-text {
  background: linear-gradient(to right, #3B82F6, #60A5FA, #FACC15);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-light {
  font-weight: 300;
}

/* --------------------------------------------------------------------------
   4. Layout & Container
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.site-content {
  padding-top: var(--header-height);
  min-height: 100vh;
}

.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.125rem;
}

/* --------------------------------------------------------------------------
   5. Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-text);
  font-weight: 700;
  font-size: 1.125rem;
  transition: transform var(--transition);
}

.site-logo:hover {
  color: var(--color-text);
}

.site-logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: transform 0.5s ease;
}

.site-logo:hover img {
  transform: rotate(15deg);
}

.site-logo .logo-text .logo-sub {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
}

.main-navigation {
  display: none;
}

.main-navigation ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-navigation a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a,
.main-navigation .current_page_item a {
  color: var(--color-text);
}

.main-navigation .current-menu-item a::after,
.main-navigation .current_page_item a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
}

.header-actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .main-navigation {
    display: block;
  }
  .header-actions {
    display: flex;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  cursor: pointer;
  transition: all var(--transition);
}

.mobile-menu-toggle:hover {
  background: var(--color-bg-card);
  border-color: var(--color-border-hover);
}

.mobile-menu-toggle .bar {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: all var(--transition);
  position: relative;
}

.mobile-menu-toggle .bar::before,
.mobile-menu-toggle .bar::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: all var(--transition);
}

.mobile-menu-toggle .bar::before {
  top: -6px;
}

.mobile-menu-toggle .bar::after {
  top: 6px;
}

.mobile-menu-toggle.active .bar {
  background: transparent;
}

.mobile-menu-toggle.active .bar::before {
  top: 0;
  transform: rotate(45deg);
}

.mobile-menu-toggle.active .bar::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 2rem 1rem;
  z-index: 49;
  overflow-y: auto;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-menu a {
  display: block;
  padding: 0.875rem 1rem;
  color: var(--color-text-secondary);
  font-size: 1.125rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.mobile-menu a:hover,
.mobile-menu .current-menu-item a {
  color: var(--color-text);
  background: var(--color-bg-card);
}

.mobile-menu .mobile-auth {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.4;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(to right, #2563EB, #1D4ED8);
  color: white;
  box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.4);
  transform: translateY(-2px);
  color: white;
}

.btn-gold {
  background: linear-gradient(to right, var(--color-gold), var(--color-gold-dark));
  color: #000;
  box-shadow: 0 10px 15px -3px rgba(250, 204, 21, 0.3);
}

.btn-gold:hover {
  box-shadow: 0 20px 25px -5px rgba(250, 204, 21, 0.4);
  transform: translateY(-2px);
  color: #000;
}

.btn-outline {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-secondary);
  padding: 0.5rem 1rem;
}

.btn-ghost:hover {
  background: var(--color-bg-card);
  color: var(--color-text);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
}

/* --------------------------------------------------------------------------
   7. Forms
   -------------------------------------------------------------------------- */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-secondary);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: 0.9375rem;
  transition: all var(--transition);
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-dark);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-input-icon {
  position: relative;
}

.form-input-icon .icon {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-dark);
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.form-input-icon .form-input {
  padding-left: 2.75rem;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  accent-color: var(--color-primary);
}

.form-checkbox label {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  cursor: pointer;
}

.form-error {
  color: #EF4444;
  font-size: 0.8125rem;
  margin-top: 0.25rem;
}

.form-success {
  color: #22C55E;
  font-size: 0.875rem;
  padding: 1rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius-sm);
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  cursor: pointer;
  transition: all var(--transition);
}

.toggle-slider::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: transform var(--transition);
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--color-primary);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(22px);
}

/* --------------------------------------------------------------------------
   8. Cards
   -------------------------------------------------------------------------- */
.sbb-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.sbb-card:hover {
  border-color: rgba(59, 130, 246, 0.5);
}

.sbb-card-gold:hover {
  border-color: rgba(250, 204, 21, 0.5);
}

.sbb-card-purple:hover {
  border-color: rgba(124, 58, 237, 0.5);
}

/* --------------------------------------------------------------------------
   9. Hero Section (Homepage)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 2rem 1rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 9999px;
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero h1 {
  margin-bottom: 1.5rem;
  font-size: 3rem;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .hero h1 { font-size: 4.5rem; }
}

@media (min-width: 1024px) {
  .hero h1 { font-size: 5.5rem; }
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 9999px;
  position: relative;
}

.scroll-indicator span::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 9999px;
  animation: scroll-dot 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-12px); }
  60% { transform: translateX(-50%) translateY(-6px); }
}

@keyframes scroll-dot {
  0% { opacity: 1; top: 8px; }
  100% { opacity: 0; top: 20px; }
}

/* --------------------------------------------------------------------------
   10. About / Features Section (Homepage)
   -------------------------------------------------------------------------- */
.features-section {
  background: linear-gradient(to bottom, #000000, var(--color-bg-secondary));
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  text-align: center;
  padding: 2.5rem 2rem;
}

.feature-card .feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  border-radius: var(--radius-sm);
  background: rgba(59, 130, 246, 0.15);
  color: var(--color-primary);
  font-size: 1.5rem;
  transition: transform var(--transition);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.feature-card p {
  font-size: 0.9375rem;
}

/* --------------------------------------------------------------------------
   11. CTA Section (Homepage)
   -------------------------------------------------------------------------- */
.cta-section {
  background: linear-gradient(135deg, var(--color-bg-secondary) 0%, rgba(30, 58, 138, 0.3) 50%, var(--color-bg-secondary) 100%);
}

.cta-card {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.cta-card h2 {
  position: relative;
  margin-bottom: 1rem;
}

.cta-card p {
  position: relative;
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   12. Featured Events (Homepage)
   -------------------------------------------------------------------------- */
.events-section {
  background: var(--color-bg);
}

.events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .events-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.event-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.event-card:hover {
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-4px);
}

.event-card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.event-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.event-card:hover .event-card-image img {
  transform: scale(1.1);
}

.event-card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  background: rgba(250, 204, 21, 0.9);
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.event-card-body {
  padding: 1.5rem;
}

.event-card-body h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.event-card-body .event-excerpt {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.event-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.event-meta-item svg,
.event-meta-item .fa {
  width: 14px;
  color: var(--color-primary);
  flex-shrink: 0;
}

/* Featured event (large card) */
.featured-event {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 3rem;
}

.featured-event-image {
  aspect-ratio: 21 / 9;
  min-height: 350px;
}

.featured-event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-event-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.4), transparent);
  display: flex;
  align-items: flex-end;
  padding: 2.5rem;
}

.featured-event-content {
  max-width: 600px;
}

.featured-event-content .featured-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  background: var(--color-primary);
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.featured-event-content h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.featured-event-content p {
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   13. Gallery
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--color-border);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-overlay .gallery-category {
  font-size: 0.75rem;
  color: var(--color-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.gallery-item-overlay h4 {
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

.gallery-item-overlay p {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
}

/* Gallery Filter Tabs */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.filter-tab {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-tab:hover {
  background: var(--color-bg-card);
  color: var(--color-text);
  border-color: var(--color-border-hover);
}

.filter-tab.active {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.active {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.25rem;
  cursor: pointer;
  transition: background var(--transition);
  z-index: 101;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-content {
  max-width: 900px;
  max-height: 80vh;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.25rem;
  cursor: pointer;
  transition: background var(--transition);
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
  left: -60px;
}

.lightbox-next {
  right: -60px;
}

.lightbox-meta {
  text-align: center;
  margin-top: 1rem;
}

.lightbox-meta h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.lightbox-meta p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   14. Members
   -------------------------------------------------------------------------- */
.members-search {
  max-width: 500px;
  margin: 0 auto 2rem;
}

.members-count {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.members-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .members-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .members-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.member-card {
  text-align: center;
  padding: 2rem;
}

.member-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  overflow: hidden;
}

.member-avatar.blue { background: linear-gradient(135deg, #2563EB, #1D4ED8); }
.member-avatar.gold { background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark)); }
.member-avatar.purple { background: linear-gradient(135deg, var(--color-purple), var(--color-purple-dark)); }

.member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.member-card .member-since {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.member-card .member-bio {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.member-car-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
}

.member-car-info .car-icon {
  color: var(--color-gold);
  flex-shrink: 0;
}

.club-admin-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.125rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: 9999px;
  background: rgba(250, 204, 21, 0.15);
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

/* --------------------------------------------------------------------------
   15. Contact Page
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
}

.contact-info-card .info-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(59, 130, 246, 0.15);
  color: var(--color-primary);
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: 0.875rem;
  margin-bottom: 0.125rem;
}

.contact-info-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.contact-map {
  margin-top: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
}

/* --------------------------------------------------------------------------
   16. Login & Signup Pages
   -------------------------------------------------------------------------- */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: linear-gradient(135deg, #000 0%, var(--color-bg-secondary) 50%, #000 100%);
}

.auth-card {
  max-width: 420px;
  width: 100%;
  padding: 2.5rem;
  text-align: center;
}

.auth-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: white;
  font-size: 1.5rem;
}

.auth-card h1 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.auth-card .auth-subtitle {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  margin-bottom: 2rem;
}

.auth-card .form-group {
  text-align: left;
}

.auth-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.auth-form-footer a {
  font-size: 0.875rem;
}

.auth-alt-link {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.auth-alt-link a {
  color: var(--color-primary);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   17. Dashboard
   -------------------------------------------------------------------------- */
.dashboard-header {
  margin-bottom: 2rem;
}

.dashboard-header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.dashboard-header p {
  color: var(--color-text-muted);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  text-align: center;
  padding: 1.5rem;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.stat-value.blue { color: var(--color-primary); }
.stat-value.gold { color: var(--color-gold); }
.stat-value.purple { color: var(--color-purple); }
.stat-value.green { color: #22C55E; }

.stat-label {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .dashboard-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.dashboard-action-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  cursor: pointer;
  text-decoration: none;
  color: var(--color-text);
}

.dashboard-action-card:hover {
  color: var(--color-text);
}

.dashboard-action-card .action-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-size: 1.25rem;
  transition: transform var(--transition);
}

.dashboard-action-card:hover .action-icon {
  transform: scale(1.1);
}

.action-icon.blue { background: rgba(59, 130, 246, 0.15); color: var(--color-primary); }
.action-icon.gold { background: rgba(250, 204, 21, 0.15); color: var(--color-gold); }
.action-icon.purple { background: rgba(124, 58, 237, 0.15); color: var(--color-purple); }
.action-icon.green { background: rgba(34, 197, 94, 0.15); color: #22C55E; }

.dashboard-action-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.dashboard-action-card p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* Quick Actions */
.quick-actions {
  margin-top: 2rem;
}

.quick-actions h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.quick-action-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .quick-action-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.quick-action-card .event-info h4 {
  margin-bottom: 0.25rem;
}

.quick-action-card .event-info p {
  font-size: 0.875rem;
}

.quick-action-buttons {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   18. Profile Page
   -------------------------------------------------------------------------- */
.profile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.profile-header h1 {
  font-size: 2rem;
}

.profile-header-actions {
  display: flex;
  gap: 0.5rem;
}

.profile-photo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

.profile-large-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, #2563EB, #1D4ED8);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.profile-large-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-sections {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.profile-section {
  padding: 2rem;
}

.profile-section h2 {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}

.profile-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .profile-fields {
    grid-template-columns: repeat(2, 1fr);
  }
}

.profile-field-full {
  grid-column: 1 / -1;
}

.privacy-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.privacy-info h4 {
  margin-bottom: 0.25rem;
}

.privacy-info p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.privacy-note {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(250, 204, 21, 0.1);
  border: 1px solid rgba(250, 204, 21, 0.2);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  color: var(--color-gold);
}

/* --------------------------------------------------------------------------
   19. Page Header (Shared)
   -------------------------------------------------------------------------- */
.page-header {
  text-align: center;
  padding: 6rem 0 3rem;
  background: linear-gradient(to bottom, var(--color-bg-secondary), var(--color-bg));
}

.page-header h1 {
  margin-bottom: 1rem;
}

.page-header p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.125rem;
}

/* --------------------------------------------------------------------------
   20. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--color-text);
  font-weight: 700;
  font-size: 1.125rem;
}

.footer-brand .footer-logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.footer-social {
  display: flex;
  gap: 0.5rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

.footer-column h4 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-column a {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.footer-column a:hover {
  color: var(--color-text);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom .motto {
  color: var(--color-primary);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   21. WordPress-Specific Styles
   -------------------------------------------------------------------------- */

/* WordPress alignment classes */
.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignwide {
  max-width: calc(var(--container-max) + 4rem);
  margin-left: auto;
  margin-right: auto;
}

.alignfull {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

/* WordPress caption */
.wp-caption {
  max-width: 100%;
  margin-bottom: 1rem;
}

.wp-caption-text {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  text-align: center;
  padding: 0.5rem 0;
}

/* WordPress gallery */
.wp-block-gallery,
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.wp-block-gallery .wp-block-image,
.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
}

/* WordPress post content */
.entry-content {
  max-width: 800px;
  margin: 0 auto;
}

.entry-content p {
  margin-bottom: 1.25rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin: 2rem 0 1rem;
}

.entry-content ul,
.entry-content ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

.entry-content ul {
  list-style: disc;
}

.entry-content ol {
  list-style: decimal;
}

.entry-content li {
  margin-bottom: 0.5rem;
  color: var(--color-text-secondary);
}

.entry-content blockquote {
  border-left: 4px solid var(--color-primary);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--color-bg-card);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.entry-content blockquote p {
  font-size: 1.125rem;
  font-style: italic;
}

.entry-content pre,
.entry-content code {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

.entry-content code {
  padding: 0.125rem 0.375rem;
  font-size: 0.875rem;
}

.entry-content pre {
  padding: 1.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.entry-content pre code {
  padding: 0;
  border: none;
  background: none;
}

.entry-content img {
  border-radius: var(--radius-sm);
}

.entry-content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.entry-content a:hover {
  color: var(--color-gold);
}

/* Single Post */
.single-post-header {
  padding: 6rem 0 2rem;
  text-align: center;
  background: linear-gradient(to bottom, var(--color-bg-secondary), var(--color-bg));
}

.post-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.post-meta a {
  color: var(--color-text-muted);
}

.post-meta a:hover {
  color: var(--color-primary);
}

.post-featured-image {
  max-width: 900px;
  margin: 2rem auto;
  border-radius: var(--radius);
  overflow: hidden;
}

/* Post Navigation */
.post-navigation {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.post-navigation a {
  padding: 0.75rem 1.25rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  transition: all var(--transition);
}

.post-navigation a:hover {
  border-color: var(--color-primary);
  color: var(--color-text);
}

/* Comments */
.comments-area {
  max-width: 800px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.comments-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.comment-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.comment {
  padding: 1.5rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.comment-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.comment-meta .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.comment-author {
  font-weight: 600;
  color: var(--color-text);
}

.comment-date {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.comment-content p {
  font-size: 0.9375rem;
}

.comment-reply-link {
  font-size: 0.8125rem;
  color: var(--color-primary);
  margin-top: 0.5rem;
  display: inline-block;
}

.comment-respond {
  margin-top: 2rem;
}

.comment-respond .comment-reply-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   22. The Events Calendar Plugin Overrides
   -------------------------------------------------------------------------- */
.tribe-events .tribe-events-calendar-month__header-column h3,
.tribe-events .tribe-events-calendar-list__event-title a,
.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-title {
  color: var(--color-text) !important;
}

.tribe-events .tribe-events-calendar-list__event-date-tag-daynum,
.tribe-events .tribe-common-h6--min-medium {
  color: var(--color-text-secondary) !important;
}

.tribe-events .tribe-events-c-nav__prev,
.tribe-events .tribe-events-c-nav__next {
  color: var(--color-primary) !important;
}

.tribe-events .tribe-events-header__title {
  color: var(--color-text) !important;
}

body .tribe-common {
  --tec-color-background: var(--color-bg) !important;
  --tec-color-text-primary: var(--color-text) !important;
  --tec-color-text-secondary: var(--color-text-secondary) !important;
}

/* --------------------------------------------------------------------------
   23. Contact Form 7 Plugin Overrides
   -------------------------------------------------------------------------- */
.wpcf7 .wpcf7-form-control-wrap input,
.wpcf7 .wpcf7-form-control-wrap textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  transition: all var(--transition);
}

.wpcf7 .wpcf7-form-control-wrap input:focus,
.wpcf7 .wpcf7-form-control-wrap textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
  outline: none;
}

.wpcf7 .wpcf7-submit {
  background: linear-gradient(to right, #2563EB, #1D4ED8);
  color: white;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.wpcf7 .wpcf7-submit:hover {
  box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
  transform: translateY(-2px);
}

.wpcf7 .wpcf7-response-output {
  border-color: var(--color-border) !important;
  color: var(--color-text-secondary);
  border-radius: var(--radius-sm);
}

/* --------------------------------------------------------------------------
   24. Utilities
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }

.hidden { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Login required message */
.login-required {
  text-align: center;
  padding: 4rem 2rem;
}

.login-required h2 {
  margin-bottom: 1rem;
}

.login-required p {
  margin-bottom: 2rem;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
}

.empty-state .empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.empty-state h3 {
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--color-text-muted);
}

/* Loading spinner */
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 2rem auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  transition: all var(--transition);
}

.pagination a:hover {
  border-color: var(--color-primary);
  color: var(--color-text);
}

.pagination .current {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

/* 404 Page */
.error-404 {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.error-404 .error-code {
  font-size: 8rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 1rem;
}

.error-404 h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.error-404 p {
  margin-bottom: 2rem;
  max-width: 500px;
}

/* --------------------------------------------------------------------------
   25. Animations
   -------------------------------------------------------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* --------------------------------------------------------------------------
   26. Responsive Print Styles
   -------------------------------------------------------------------------- */
@media print {
  .site-header,
  .site-footer,
  .mobile-menu-toggle,
  .mobile-menu,
  .scroll-indicator {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .site-content {
    padding-top: 0;
  }

  a {
    color: black;
    text-decoration: underline;
  }
}
