:root{
--brand-primary: #012169;
--brand-accent: #00539B;
--brand-light: #ffffff;
--text-dark: #2F2F2F;
--text-light: #2F2F2F;
--card-bg: #ffffff;
--card-border: #BFBBBB;
--card-shadow: rgba(215, 215, 215, 0.8);

--input-focus-border: var(--brand-accent);
--input-focus-shadow: rgba(0, 83, 155, 0.25);

--success-color: #228B22;
--error-color: #DC143C;
--highlight-color: #FFD700;
}

/* =========================
BASE
========================= */
body {
font-family: 'Inter', sans-serif;
color: var(--text-dark);
background-color: #f8f9fa;
line-height: 1.6;
padding-bottom: 2rem;
}

h1, h2, h3, h4, h5, h6 {
font-family: 'Inter Tight', sans-serif;
color: var(--brand-primary);
margin-top: 1rem;
margin-bottom: 0.5rem;
font-weight: 700;
}

p { margin-bottom: 0.5rem; }

/* =========================
NAVBAR
========================= */
.navbar {
background-color: var(--brand-primary) !important;
position: sticky !important;
top: 0;
z-index: 1030;
min-height: 72px;
}

.navbar .nav-link,
.navbar .navbar-brand {
color: var(--brand-light) !important;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
border-bottom: 2px solid var(--brand-accent);
}

.navbar-nav {
gap: 1rem;
align-items: center;
}

.brand-logo {
height: 60px;
display: block;
}

/* =========================
CARDS
========================= */
.card {
background-color: var(--card-bg);
border: 1px solid var(--card-border);
border-radius: 0.5rem;
box-shadow: 0 4px 12px var(--card-shadow);
margin-bottom: 2rem;
}

.card-header {
font-weight: 700;
color: var(--brand-primary);
display: flex;
align-items: center;
}

.card-body { padding: 1.5rem; }

/* =========================
STICKY HERO
========================= */
.sticky-hero-container {
position: sticky;
top: 72px;
z-index: 1000;
background-color: white;
padding: 1.5rem 0;
border-bottom: 2px solid var(--brand-primary);
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* =========================
FLOATING BUTTONS
========================= */
.floating-reset-btn {
position: fixed;
bottom: 28px;
right: 28px;
z-index: 99999;
width: 52px;
height: 52px;
border-radius: 50%;
}

.floating-filter-status {
position: fixed;
bottom: 28px;
left: 28px;
z-index: 99999;
}

/* =========================
   ABOUT PAGE (QUARTO)
   ========================= */

.about-body {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: transparent;
  padding-bottom: 3rem;
  overflow-x: hidden;
}

.about-body main {
  margin: 0 auto;
}

.about-body h2 {
  font-size: 1.75rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #eee;
  padding-bottom: 0.5rem;
}

.about-body h3 {
  font-size: 1.4rem;
  margin-top: 1.75rem;
}

.about-body p {
  margin-bottom: 1rem;
}

.about-body ul {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

/* Quarto callout shell */
.about-body .callout {
  border: 1px solid var(--card-border) !important;
  border-left-width: 5px !important;
  border-radius: 0.5rem !important;
  background-color: var(--card-bg) !important;
  box-shadow: 0 4px 12px var(--card-shadow) !important;
  margin: 1.5rem 0 !important;
  overflow: hidden;
}

/* Color strips */
.about-body .callout.callout-note {
  border-left-color: var(--brand-primary) !important;
}

.about-body .callout.callout-tip {
  border-left-color: var(--success-color) !important;
}

.about-body .callout.callout-warning {
  border-left-color: var(--highlight-color) !important;
}

.about-body .callout.callout-important {
  border-left-color: var(--error-color) !important;
}

/* Header */
.about-body .callout-header {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem !important;
  min-height: 56px;
  cursor: pointer;
  background-color: var(--card-bg) !important;
}

/* Hide the accessibility label only visually */
.about-body .callout-title-container .screen-reader-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Title */
.about-body .callout-title-container {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--brand-primary);
  line-height: 1.3;
  flex: 1 1 auto;
}

/* Icon */
.about-body .callout-icon-container {
  margin-right: 0.25rem;
  color: inherit;
  flex: 0 0 auto;
}

/* Toggle */
.about-body .callout-btn-toggle {
  margin-left: auto;
  flex: 0 0 auto;
}

.about-body .callout-toggle {
  transition: transform 0.2s ease;
}

.about-body .callout-header[aria-expanded="true"] .callout-toggle {
  transform: rotate(180deg);
}

/* Body wrapper */
.about-body .callout-body-container.callout-body {
  padding: 1.25rem 1.1rem 1.25rem 1.1rem !important;
}

/* Links */
.about-body a {
  color: var(--brand-accent);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-bottom 0.2s ease;
}

.about-body a:hover {
  border-bottom: 1px solid var(--brand-accent);
}

/* Tables */
.about-body table {
  width: 100%;
  margin: 1.5rem 0;
  border-collapse: collapse;
}

.about-body th {
  background-color: #f1f3f5;
  color: var(--brand-primary);
  font-weight: 700;
  padding: 0.75rem;
  border-bottom: 2px solid var(--card-border);
}

.about-body td {
  padding: 0.75rem;
  border-bottom: 1px solid #eee;
}

/* Metadata */
.about-meta {
  font-size: 0.95rem;
  color: var(--text-dark);
  opacity: 0.8;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.about-body img,
.about-body iframe {
  max-width: 100%;
}

.about-body hr {
  border-top: 1px solid var(--card-border);
  margin: 1.5rem 0;
}