/* ==========================================================================
   Global & Modern Editorial Typography
   ========================================================================== */
:root {
  --primary-color: #1e3a8a;
  --primary-hover: #1d4ed8;
  --accent-red: #dc2626;
  --text-main: #1f2937;
  --text-muted: #6b7280;
  --bg-light: #f9fafb;
  --border-color: #e5e7eb;
  --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

body {
  color: var(--text-main);
  background-color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.prelander {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.125rem;
  line-height: 1.75;
  color: #2b2b2b;
}

/* Headings */
.prelander h1 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
  color: #111827;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.prelander h3 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #1f2937;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.prelander h4 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #111827;
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
}

.prelander small {
  color: var(--text-muted);
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.875rem;
}

/* Links */
a {
  color: #1d4ed8;
  text-decoration-line: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

a:hover {
  color: #092b9e;
  text-decoration-color: transparent;
}

/* Images & Cards */
img {
  max-width: 100%;
  border-radius: 8px;
}

.img-fluid {
  max-width: 100%;
  width: 100%;
  border-radius: 8px;
}

/* ==========================================================================
   Header & Navigation Styling
   ========================================================================== */
#desktop-nav {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid var(--border-color);
}

#desktop-nav hr {
  display: none; /* Removed harsh HR in favor of dynamic shadow */
}

.advert h3 {
  font-size: 11px;
  letter-spacing: 0.05em;
  color: #9ca3af;
  text-align: center;
  margin-bottom: 0.25rem;
}

/* Breadcrumbs */
#breadcrumbs {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 8px;
  align-items: center;
}

#breadcrumbs li.crumb {
  background: none !important;
  padding: 0 !important;
}

#breadcrumbs li.crumb:before,
#breadcrumbs li.crumb:after {
  display: none !important; /* Discard heavy old legacy arrows */
}

#breadcrumbs li h2 {
  font-size: inherit;
  margin: 0;
  display: inline;
}

#breadcrumbs li a {
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-decoration: none;
}

#breadcrumbs li.level-2::before {
  content: "/" !important;
  display: inline-block !important;
  margin-right: 8px;
  color: #d1d5db;
}

/* ==========================================================================
   State Selector Buttons (Call To Action)
   ========================================================================== */
a.statebutton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  background-color: var(--primary-color);
  color: #ffffff !important;
  text-decoration: none !important;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0.35rem 1% 0.35rem 0;
  width: 23%;
  text-align: center;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
}

a.statebutton:hover,
a.statebutton:focus,
a.statebutton:active {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px -2px rgba(30, 58, 138, 0.25);
}

/* ==========================================================================
   Callout Box (.trigger)
   ========================================================================== */
.trigger {
  padding: 1.5rem;
  border-radius: 12px;
  border: 2px solid #fecaca;
  background-color: #fef2f2;
  margin-top: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--box-shadow);
}

.trigger h4.heading {
  color: #991b1b;
  margin-top: 0;
  font-size: 1.35rem;
}

.trigger p {
  color: #374151;
  font-size: 1rem;
}

/* ==========================================================================
   Tables & Comparisons
   ========================================================================== */
.billtable {
  background-color: var(--bg-light);
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-collapse: separate;
  border-spacing: 0.5rem;
}

.billtable h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.billtable td {
  padding: 0.5rem;
}

/* ==========================================================================
   Sidebar & Widgets
   ========================================================================== */
.d-lg-block .mb-3 {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform 0.2s ease;
}

.d-lg-block .mb-3:hover {
  transform: translateY(-2px);
}

iframe {
  border-radius: 12px;
  border: 1px solid var(--border-color) !important;
}

/* ==========================================================================
   Footer & Disclaimers
   ========================================================================== */
.links {
  text-align: center;
  padding: 1rem 0;
  border-top: 1px solid var(--border-color);
}

.links a {
  text-decoration: none;
  color: var(--text-muted);
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0 12px;
}

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

/* ==========================================================================
   Mobile Responsiveness & Overrides
   ========================================================================== */
@media all and (max-width: 768px) {
  .prelander {
    font-size: 1.05rem;
    line-height: 1.65;
  }

  .prelander h1 {
    font-size: 1.75rem;
  }

  a.statebutton {
    width: 48%;
    margin-right: 2%;
    margin-bottom: 0.5rem;
  }

  #container {
    margin-top: 1rem;
  }
}

strong {
  display: inline-block;
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
  color: #111827;
}

p strong {
  margin: 0;
  display: inline;
}
/* ==========================================================================
   Reconstructed Footer Styles
   ========================================================================== */
.site-footer {
  border-top-color: var(--border-color, #e5e7eb) !important;
}

.footer-nav-list {
  margin: 0;
  padding: 0;
}

.footer-nav-list li a {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #4b5563;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav-list li a:hover {
  color: var(--primary-color, #1e3a8a);
  text-decoration: underline;
}

.links a {
  text-decoration: none;
  color: #6b7280;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0 10px;
}

.links a:hover {
  color: #111827;
}

.footer-disclaimer {
  font-size: 0.75rem !important;
  color: #6b7280 !important;
  max-width: 800px;
  line-height: 1.6 !important;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.footer-copyright {
  font-size: 0.85rem !important;
  color: #4b5563 !important;
  font-weight: 500;
}