body {
  margin: 0;
  font-family: sans-serif;
  background-color: #f0f0f0;
  color: #333;
}

/* Header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.3rem 1rem;
  background-color: #f5f5f5;
  height: 64px;
}

.header-left {
  display: flex;
  align-items: center;
}

.site-logo {
  height: 180px;
  margin: 0 0.75rem 0 0;
  display: block;
  
}

.site-title {
  font-size: 1.8rem;
  margin: 0;
  font-family: 'Playfair Display', serif;
  letter-spacing: 1.2px;
  padding-bottom: 2px;
}


/* Nav */
.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-weight: bold;
  color: #333;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #e8cbc2;
}

/* Footer */
.site-footer {
  text-align: center;
  font-size: 0.8rem;
  padding: 2rem 1rem;
  color: #777;
}

/* Main Layout */
.main-content {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 2rem;
}

/* Universal box */
.box {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  padding: 2rem;
  margin-bottom: 2rem;
}

/* Typography */
h2, h3 {
  margin-top: 0;
  color: #111;
}

/* Flex sections */
.flex-four {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 2rem;
}

.flex-four > div {
  flex: 1;
  min-width: 250px;
}

/* Card sections */
.card-section .card-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.card {
  flex: 1 1 48%;
  background: #fff;
  border: 1px solid #ddd;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.card-full {
  margin-top: 2rem;
  background: #fff;
  border: 1px solid #ddd;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Centered CTA box */
.centered-box {
  text-align: center;
}

.cta-button {
  background-color: #111;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  margin-top: 1rem;
}

.cta-button:hover {
  background-color: #222;
}

/* Links */
a {
  color: #0077cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: #e8cbc2;
}

.flex-four {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 2rem;
  padding: 0 1rem; /* Ensures space on left/right inside box */
}

.flex-four {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 0;
}

.flex-four .panel {
  flex: 1;
  min-width: 250px;
  padding: 0 1.25rem;
  border-right: 1px solid #e4e4e4;
  box-sizing: border-box;
}

.flex-four .panel:last-child {
  border-right: none;
}



.flex-four > div {
  flex: 1;
  min-width: 250px;
}

.hero-box {
  background-color: #fefefe;
  border-left: 4px solid #333;
  font-family: Georgia, serif;
  padding: 1.75rem 2rem;
  margin: 2rem auto;
  max-width: 800px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  border-radius: 6px;
}

.hero-box h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111;
  margin-bottom: 0.5rem;
}

.hero-box p {
  font-size: 1rem;
  color: #444;
  margin: 0;
  line-height: 1.6;
}


/* Hero Box */
.hero-box {
  background-color: #fefefe;
  border-left: 4px solid #e8cbc2;
  font-family: Georgia, serif;
  padding: 1.75rem 2rem;
  margin: 2rem auto;
  max-width: 800px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  border-radius: 6px;
}

/* CTA / Centered Box */
.centered-box {
  text-align: center;
}

.cta-button {
  background-color: #111;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  margin-top: 1rem;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #222;
}

/* Contact Box */
.contact-box {
  text-align: center;
}

.contact-box a {
  color: #0077cc;
  text-decoration: none;
}

.contact-box a:hover {
  text-decoration: underline;
}

/* Optional: slight vertical separation between .panel blocks */
.flex-four .panel {
  padding: 0 1rem;
  border-right: 1px solid #e4e4e4;
}

.flex-four .panel:last-child {
  border-right: none;
}


.flex-four > .panel:last-child {
  border-right: none;
}

.card-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.card {
  flex: 1 1 48%;
  background: #fff;
  border: 1px solid #e2e2e2;
  padding: 1.5rem;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card h3 {
  margin-top: 0;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.card p {
  flex-grow: 1;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: #444;
}

.card a {
  font-size: 0.9rem;
  color: #0077cc;
  text-decoration: none;
  font-weight: 500;
}

.card a:hover {
  text-decoration: underline;
}

/* Optional: space between full-width cards too */
.card-full {
  background: #fff;
  border: 1px solid #e2e2e2;
  padding: 1.5rem;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  margin-top: 2rem;
}

.contact-box {
  text-align: center;
}

.contact-box p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
}

.contact-info p {
  margin: 0.4rem 0;
}

.contact-info a {
  color: #0077cc;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.about-section {
  max-width: 800px;
  margin: 0 auto 2rem auto;
  font-family: Georgia, serif;
  line-height: 1.7;
  font-size: 1.05rem;
  color: #222;
  padding: 2rem;
  background-color: #fefefe;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.about-section h2 {
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.about-section ul {
  padding-left: 1.5rem;
  margin: 1.5rem 0;
}

.about-section li {
  margin-bottom: 1rem;
}

.about-section strong {
  font-weight: 600;
}

body::before {
  content: "";
  position: fixed;
  top: -100px;
  right: -202px;
  left: auto;
  width: 700px;
  height: 700px;
  background-image: url('/static/logo_bg_rust.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top left;
  opacity: 0.25;
  z-index: 0;
  pointer-events: none;
}


.main-content,
.about-section {
  position: relative;
  z-index: 1;
}

.logo-background {
  position: relative;
  background-image: url('/static/logo_bg.png'); /* adjust path as needed */
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 220px;
  opacity: 1;
}

.logo-background::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-repeat: inherit;
  background-position: inherit;
  background-size: inherit;
  opacity: 0.04; /* faint and subtle */
  z-index: 0;
  pointer-events: none;
}

.logo-background * {
  position: relative;
  z-index: 1;
}

.callout-left {
  text-align: left;
  padding-left: 2rem;
  padding-right: 2rem;
  max-width: 900px;
  margin: 3rem auto;
}

.callout-left h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.callout-left p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.callout-left {
  padding: 2.5rem;
  background-color: #fefefe;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  font-family: Georgia, serif;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.side-image {
  float: right;
  width: 240px;
  margin-left: 2rem;
  margin-bottom: 1rem;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.callout-left {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  flex-wrap: wrap;
}

.callout-text {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.callout-text h2 {
  margin-top: 0;
}

.callout-text p {
  margin: 1rem 0;
}

.cta-button {
  align-self: flex-start;
  margin-top: 1rem;
}

.side-image {
  max-width: 300px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}


.left-aligned {
  text-align: left;
  padding-left: 2rem;
  padding-right: 2rem;
}

.contact-box h3 {
  margin-top: 0;
  font-size: 1.4rem;
  font-weight: 600;
}

.contact-box p {
  font-size: 1rem;
  margin: 1rem 0;
  color: #333;
  line-height: 1.6;
}

.contact-info p {
  margin: 0.5rem 0;
}

.contact-info a {
  color: #0077cc;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.soft-section {
  background-color: #f0f0f0; /* matches your <body> background */
  box-shadow: none;
  border: none;
  padding: 2rem 0;
}

.card-row.independent-cards {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap; /* prevent wrapping */
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto;
}

.card-row.independent-cards .card {
  flex: 1 1 32%; /* fits 3 with gaps in 100% width */
  background: #fff;
  border: 1px solid #e2e2e2;
  padding: 1.5rem;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-simple {
  max-width: 800px;
  margin: 4rem auto 2rem auto;
  padding: 0 2rem;
  text-align: left;
  font-family: Georgia, serif;
}

.contact-simple h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 0;
}

.contact-simple p {
  font-size: 1rem;
  margin: 1rem 0;
  color: #333;
  line-height: 1.6;
}

.contact-simple a {
  color: #0077cc;
  text-decoration: none;
}

.contact-simple a:hover {
  text-decoration: underline;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin: 2rem 0;
}

.social-links img {
  width: 40px;
  height: 40px;
  transition: opacity 0.2s ease;
}

.social-links img:hover {
  opacity: 0.75;
}

.centered-box {
  text-align: center;
  padding: 2rem;
}

.cta-button {
  background-color: #111;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  margin-top: 1rem;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #222;
}

.conditional-section {
  background-color: #f9f9f9;
  padding: 1rem;
  margin: 1rem 0;
  border-left: 4px solid #ddd;
  border-radius: 6px;
}


form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.report-form input,
.report-form select,
.report-form textarea {
  padding: 0.75rem;
  font-size: 1.05rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);  /* consistent shadow */
  outline: none;
  background-color: #fff;
  appearance: none; /* normalize dropdowns */
}

.report-form input:focus,
.report-form select:focus,
.report-form textarea:focus {
  border-color: #888;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.15);  /* soft glow on focus */
}

.checkbox-inline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-inline input[type="checkbox"] {
  margin: 0;
  transform: scale(1.2); /* optional: make it less tiny */
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
  margin: 0;
  transform: none;
  width: auto;
  height: auto;
}

.report-form select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  background-color: #fff;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23666' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;

  font-size: 1rem;
  padding: 0.75rem 2.5rem 0.75rem 0.75rem; /* top/right/bottom/left */
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  height: 3rem; /* force it */
  line-height: 1.25rem;
}

.report-form input,
.report-form textarea {
  height: 3rem;
  padding: 0.75rem;
  font-size: 1rem;
  box-sizing: border-box;
}

.report-form textarea {
  min-height: 8rem; /* ~130px – taller than default */
  resize: vertical; /* still allows users to resize if they want */
  padding: 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
}

.form-preview {
  border: 1px solid #ccc;
  background: #f9f9f9;
  padding: 1rem;
  margin-top: 1rem;
}
.hidden { display: none; }

.form-helper {
  font-size: 0.9rem;
  color: #666;
  margin: 0.25rem 0 1rem 0;
}

.fill-unknown {
  display: inline-block;
  margin-top: 0.4rem;
  padding: 2px 10px;
  font-size: 0.85rem;
  background-color: #eee;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  color: #333;
}

.fill-unknown:hover {
  background-color: #ddd;
}

.form-group input + .fill-unknown,
.form-group textarea + .fill-unknown {
  display: inline-block;
  margin-left: 0;
}

.site-title a {
  color: inherit;
  text-decoration: none;
}

.callout-left {
  max-width: 710px;
  padding: 1.5rem 1.75rem;
  font-size: 0.90rem;
}






/* --- Mobile Optimizations --- */
@media (max-width: 768px) {

  .site-header {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding: 1rem;
  }

  .site-logo {
    height: 60px;
    margin-bottom: 0.5rem;
  }

  .nav-links {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    padding-top: 1rem;
  }

  .main-content {
    padding: 1rem;
    margin: 1rem auto;
  }

  .hero-box {
    padding: 1.25rem;
    margin: 1rem auto;
    max-width: 100%;
  }

  .flex-four {
    flex-direction: column;
    gap: 1.25rem;
    padding: 0;
  }

  .flex-four .panel {
    border-right: none;
    padding: 0 0.5rem;
  }

  .callout-left {
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.5rem;
  }

  .side-image {
    float: none;
    margin: 0 auto;
    max-width: 100%;
  }

  .cta-button {
    width: 100%;
    text-align: center;
  }

  .card-row.independent-cards {
    flex-direction: column;
  }

  .card {
    flex: 1 1 100%;
  }

  .contact-simple {
    padding: 1rem;
  }

  .social-links {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .social-links img {
    width: 36px;
    height: 36px;
  }

  .site-title {
    font-size: 1.5rem;
  }

  h2, h3 {
    font-size: 1.25rem;
  }

  p, li {
    font-size: 1rem;
  }
}

.cta-button {
  display: block;
  max-width: 100%;
  padding: 0.75rem 1rem;
  box-sizing: border-box;
  text-align: center;
  margin: 1rem auto 0 auto;
}

.cta-button {
  background-color: #111;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  margin-top: 1rem;
  transition: background-color 0.3s ease;
  max-width: 280px;
  text-align: center;
}

/* FOIA Request Status Tags */
.status-tag {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  font-weight: bold;
  font-size: 0.85rem;
  color: #fff;
  text-transform: capitalize;
}

.status-tag.filed {
  background-color: #ffc107; /* Yellow */
}

.status-tag.awaiting-response {
  background-color: #17a2b8; /* Blue */
}

.status-tag.response-received {
  background-color: #28a745; /* Green */
}

.status-tag.closed {
  background-color: #6c757d; /* Gray */
}

.status-tag.denied {
  background-color: #dc3545; /* Red */
}

.status-tag.appealed {
  background-color: #6610f2; /* Purple */
}

.status-tag {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  font-weight: bold;
  font-size: 0.85rem;
  color: #fff;
  text-transform: capitalize;
}

.status-tag.filed { background-color: #ffc107; }
.status-tag.awaiting-response { background-color: #17a2b8; }
.status-tag.response-received { background-color: #28a745; }
.status-tag.closed { background-color: #6c757d; }
.status-tag.denied { background-color: #dc3545; }
.status-tag.appealed { background-color: #6610f2; }


.jurisdiction-bar {
  font-weight: bold;
  font-size: 0.8rem;
  padding: 0.4rem 0.75rem;
  border-radius: 6px 6px 0 0;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: -2rem -2rem 1rem -2rem;
}

.jurisdiction-foia .jurisdiction-bar {
  background-color: #0077cc;
}

.jurisdiction-grama .jurisdiction-bar {
  background-color: #28a745;
}

.jurisdiction-other .jurisdiction-bar {
  background-color: #6c757d;
}

.collapsible-box .collapsible-header {
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.collapsible-content {
  display: none;
  margin-top: 1rem;
}

.collapsible-box.open .collapsible-content {
  display: block;
}

.collapsible-box .collapsible-header::after {
  content: "▼";
  font-size: 1rem;
  margin-left: auto;
  transition: transform 0.2s ease;
}

.collapsible-box.open .collapsible-header::after {
  transform: rotate(180deg);
  content: "▲";
}

.danger-button {
  background-color: #b30000;
  color: white;
  padding: 0.5em 1em;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.danger-button:hover {
  background-color: #ff1a1a;
}
