body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.bg-dark-gray {
    background-color: #1f2937;
}

.bg-medium-gray {
    background-color: #374151;
}

.bg-darker-gray {
    background-color: #111827;
}

.text-primary {
    color: #3b82f6 !important;
}

.btn-primary {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #0ea5e9;
    border-color: #0ea5e9;
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    background-color: #f9fafb;
    color: #1f2937;
}

.navbar-dark .navbar-nav .nav-link {
    color: #f9fafb;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: #3b82f6;
}

.cookie-banner {
    z-index: 9999;
}

.min-vh-75 {
    min-height: 75vh;
}

.card:hover {
    transform: translateY(-2px);
    transition: transform 0.2s ease-in-out;
}

img {
    max-width: 100%;
    height: auto;
    background-color: #374151;
}
.card img,
.bg-light img,
.container img {
  display: block;
  width: 100%;
  height: auto;
}
/* Font safety overrides */
:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}
body,
h1,
h2,
h3,
h4,
h5,
h6,
.navbar,
.btn,
input,
textarea,
select {
  font-family: var(--font-sans);
}

/* Contrast safety overrides (auto-generated) */
.bg-dark, .bg-dark *, [class*="bg-dark"] * { color: #f8f9fa; }
.bg-light, .bg-light *, [class*="bg-light"] * { color: #212529; }
.text-white { color: #ffffff !important; }
.text-dark { color: #212529 !important; }
section[class*="dark"] h1, section[class*="dark"] h2, section[class*="dark"] h3,
section[class*="dark"] h4, section[class*="dark"] h5, section[class*="dark"] h6,
section[class*="dark"] p, section[class*="dark"] li, section[class*="dark"] span,
section[class*="dark"] a:not(.btn) { color: #f0f0f0; }
.card { color: #212529; }
.card p, .card h1, .card h2, .card h3, .card h4, .card h5, .card h6,
.card li, .card span { color: inherit; }
/* WP Generator feature helpers */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, #0ea5e9, #22c55e);
  z-index: 9999;
  transition: width 120ms ease-out;
}
.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: none;
  background: #111827;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 200ms ease, transform 200ms ease;
  z-index: 9998;
}
.scroll-top.is-visible {
  opacity: 0.95;
  transform: translateY(0);
}
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

