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

.bg-primary {
    background-color: #0056b3 !important;
}

.text-primary {
    color: #0056b3 !important;
}

.btn-primary {
    background-color: #0056b3;
    border-color: #0056b3;
    color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
    background-color: #004494;
    border-color: #004494;
    color: #ffffff;
    box-shadow: none;
}

.btn-outline-primary {
    color: #0056b3;
    border-color: #0056b3;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background-color: #0056b3;
    color: #ffffff;
    border-color: #0056b3;
}

.bg-dark {
    background-color: #0a2540 !important;
}

.hero-section {
    background-color: #e6f2ff;
    color: #0a2540;
}

.hero-section .btn-light {
    color: #0a2540;
}

.hero-section .btn-light:hover {
    background-color: #ffffff;
    color: #0a2540;
}

.card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

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

.text-white-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}

.text-white-50:hover {
    color: #ffffff !important;
}

footer a {
    transition: color 0.2s;
}

footer a:hover {
    color: #ffffff !important;
}

.form-control:focus {
    border-color: #0056b3;
    box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.25);
}

.border-primary {
    border-color: #0056b3 !important;
}

.badge.bg-primary {
    background-color: #0056b3 !important;
}

.alert-primary {
    background-color: #e6f2ff;
    border-color: #b3d7ff;
    color: #0a2540;
}

.alert-primary strong {
    color: #0056b3;
}

.hero-section img,
section img {
    object-fit: cover;
    max-height: 400px;
    width: 100%;
}

#cookie-banner {
    border-top: 2px solid #0056b3;
}

#cookie-banner p {
    font-size: 0.9rem;
}

#cookie-banner .btn {
    min-width: 100px;
}

#cookie-banner .btn-primary {
    background-color: #0056b3;
    border-color: #0056b3;
}

#cookie-banner .btn-primary:hover {
    background-color: #004494;
    border-color: #004494;
}

#cookie-banner .btn-outline-secondary {
    color: #0a2540;
    border-color: #6c757d;
}

#cookie-banner .btn-outline-secondary:hover {
    background-color: #6c757d;
    color: #ffffff;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: #0056b3;
        padding: 1rem;
        border-radius: 0.25rem;
    }
}
.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);
}
/* 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);
}

