/* ==========================================================================
   unTRAPPED V1 Campaign Stylesheet - Visual Refresh
   Design Concept Implementation
   Color Palette: Forest Green, Coastal Teal, Sandy Beige, Light Grays.
   Typography: Georgia Serif (headings), System Sans-serif (controls/body).
   ========================================================================== */

/* --- CSS Variables & Tokens --- */
:root {
  /* Tonal Colors */
  --bg-primary: #fdfdfb;       /* Soft warm off-white */
  --bg-secondary: #f4f8f7;     /* Light soft teal-gray (stats/sections) */
  --bg-card: #ffffff;          /* Pure white for cards */
  --text-primary: #1a2e2c;     /* Deep charcoal with a touch of dark green */
  --text-secondary: #4a5c5a;   /* Slate gray for secondary text */
  --text-muted: #657775;

  /* Brand Colors */
  --brand-forest: #2b504c;     /* Primary Dark Forest Green */
  --brand-forest-hover: #1e3936;
  --brand-teal: #0f766e;       /* Coastal Teal */
  --brand-gold: #d97706;       /* Wayfinding Gold/Yellow */
  --brand-red: #d92727;        /* Danger/Warning Red */
  --brand-blue: #005eb6;       /* Accessibility Blue */
  --brand-purple: #7c3aed;     /* Venue Purple */
  --brand-green: #15803d;      /* Success Green */

  /* Layout & Styling */
  --container-width: 1200px;
  --container-width-narrow: 800px;
  --border-thin: 1px solid #d1dcdb;
  --border-thick: 2px solid var(--brand-forest);
  --border-radius-large: 16px;
  --border-radius-card: 12px;
  --border-radius-pill: 50px;
  --card-shadow: 0 4px 20px rgba(43, 80, 76, 0.05);
  --card-shadow-hover: 0 8px 30px rgba(43, 80, 76, 0.1);
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* --- Keyboard Accessibility & Focus States --- */
*:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--brand-forest);
  color: #ffffff;
  padding: 12px 24px;
  font-weight: bold;
  border-radius: 0 0 8px 8px;
  z-index: 9999;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

.inline-link {
  color: var(--brand-blue);
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.2s ease;
}

.inline-link:hover,
.inline-link:focus {
  color: var(--brand-forest-hover);
}

/* --- Typography Helpers --- */
h1, h2, h3, h4, blockquote p {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-weight: 700;
  color: var(--brand-forest);
  line-height: 1.25;
}

/* --- Layout Containers --- */
.section-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 100px 24px;
}

.section-badge {
  display: inline-block;
  color: var(--brand-teal);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-badge.center {
  display: block;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* --- Header & Navigation --- */
.main-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e2eceb;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.header-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.logo-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}

.logo {
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--brand-forest);
  letter-spacing: -1px;
}

.logo-un {
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: normal;
  color: var(--brand-teal);
  margin-right: 1px;
}

.logo-tagline {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 2.5px;
  margin-top: 0;
}

.main-nav ul {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus {
  color: var(--brand-forest);
}

.main-nav .nav-cta {
  background-color: var(--brand-forest);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: var(--border-radius-pill);
  transition: background-color 0.2s ease;
}

.main-nav .nav-cta:hover,
.main-nav .nav-cta:focus {
  background-color: var(--brand-forest-hover);
  color: #ffffff;
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  background-image: url('assets/hero-background.png');
  background-size: cover;
  background-position: center;
  border-bottom: var(--border-thin);
  min-height: 550px;
  display: flex;
  align-items: center;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(253, 253, 251, 0.98) 35%, rgba(253, 253, 251, 0.9) 50%, rgba(253, 253, 251, 0.1) 85%, transparent 100%);
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 650px;
  padding: 80px 24px;
  margin-left: max(24px, calc((100vw - var(--container-width)) / 2));
}

.hero-tag {
  display: inline-block;
  color: var(--brand-teal);
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1.5px;
}

.hero-divider {
  width: 60px;
  height: 4px;
  background-color: var(--brand-teal);
  margin-bottom: 24px;
  border-radius: 2px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 36px;
  line-height: 1.5;
  background-color: rgba(253, 253, 251, 0.92);
  padding: 14px 20px;
  border-radius: 8px;
  border-left: 4px solid var(--brand-teal);
  box-shadow: 0 4px 15px rgba(43, 80, 76, 0.03);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--border-radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-icon {
  width: 18px;
  height: 18px;
  margin-right: 8px;
}

.btn-icon-right {
  width: 16px;
  height: 16px;
  margin-left: 8px;
}

.btn-primary {
  background-color: var(--brand-forest);
  color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--brand-forest-hover);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--brand-forest);
  border: 1.5px solid var(--brand-forest);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: var(--bg-secondary);
}

/* --- Map Section & Grid --- */
.map-section {
  background-color: #ffffff;
  border-bottom: var(--border-thin);
}

.map-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.map-wrapper {
  border: var(--border-thin);
  border-radius: var(--border-radius-large);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  position: relative;
  padding-bottom: 60%; /* Aspect ratio */
  height: 0;
}

.map-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- Symbols Key --- */
.symbols-key {
  border-top: var(--border-thin);
  padding-top: 80px;
}

.key-section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 8px;
}

.key-section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 48px;
}

.key-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
}

.key-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.key-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.key-circle svg {
  width: 32px;
  height: 32px;
  color: #ffffff;
}

.key-img-asset {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

/* Circle Color Mappings */
.circle-toilet { background-color: var(--brand-blue); }
.circle-parking { background-color: var(--brand-green); }
.circle-pathways { background-color: var(--brand-teal); }
.circle-venues { background-color: var(--brand-purple); }
.circle-amenities { background-color: var(--brand-gold); }
.circle-hazards { background-color: var(--brand-red); }

.key-item h4 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-forest);
  margin-bottom: 2px;
}

.key-status {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.key-status-original {
  color: var(--brand-green);
}

.key-status-placeholder {
  color: var(--text-muted);
  font-style: italic;
}

.key-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
  padding: 0 8px;
}

/* --- Accessible Text Directory (Accordions) --- */
.accessible-text-alternative {
  border-top: var(--border-thin);
  padding-top: 80px;
  margin-top: 80px;
}

.accessible-text-alternative h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.alternative-intro {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
}

/* Details/Summary Accordions */
.category-accordion {
  border: var(--border-thin);
  background-color: var(--bg-card);
  border-radius: var(--border-radius-card);
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: box-shadow 0.2s ease;
}

.category-accordion:hover {
  box-shadow: var(--card-shadow-hover);
}

.category-accordion summary {
  padding: 22px 28px;
  font-weight: 700;
  font-size: 1.15rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  list-style: none;
}

.category-accordion summary::-webkit-details-marker {
  display: none;
}

.category-accordion summary::after {
  content: "+";
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--brand-teal);
  line-height: 1;
}

.category-accordion[open] summary::after {
  content: "−";
}

.category-accordion summary:hover,
.category-accordion summary:focus {
  background-color: var(--bg-secondary);
}

.category-content {
  border-top: 1px solid #edf4f3;
  background-color: var(--bg-primary);
}

.category-title {
  color: var(--brand-forest);
  font-family: Georgia, serif;
}

.category-count {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 12px;
}

.location-list {
  list-style: none;
}

.location-item {
  padding: 22px 28px;
  border-bottom: 1px solid #edf4f3;
  background-color: #ffffff;
}

.location-item:last-child {
  border-bottom: none;
}

.location-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
  gap: 16px;
}

.location-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--brand-forest);
}

.location-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Rating Badge Color System (High Contrast Tints) */
.badge {
  display: inline-block;
  font-weight: 800;
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid transparent;
  width: fit-content;
  letter-spacing: 0.5px;
}

.rating-excellent {
  background-color: #dcfce7;
  color: #15803d;
  border-color: #bbf7d0;
}

.rating-good {
  background-color: #f0fdf4;
  color: #166534;
  border-color: #dcfce7;
}

.rating-standard {
  background-color: #f0f9ff;
  color: #0369a1;
  border-color: #e0f2fe;
}

.rating-okay {
  background-color: #fefce8;
  color: #854d0e;
  border-color: #fef9c3;
}

.rating-passable {
  background-color: #fff7ed;
  color: #c2410c;
  border-color: #ffedd5;
}

.rating-poor {
  background-color: #fef2f2;
  color: #b91c1c;
  border-color: #fee2e2;
}

.rating-very-poor {
  background-color: #fff1f2;
  color: #be123c;
  border-color: #ffe4e6;
}

.rating-missing {
  background-color: #1a2e2c;
  color: #ffffff;
  border-color: #000000;
}

/* --- Stats/What We've Found Section --- */
.stats-section {
  background-color: var(--bg-secondary);
  border-bottom: var(--border-thin);
}

.stats-section-title {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 8px;
}

.stats-section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 56px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.stats-card {
  background-color: var(--bg-card);
  border: var(--border-thin);
  border-radius: var(--border-radius-card);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stats-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.stats-number {
  font-family: Georgia, serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--brand-forest);
  line-height: 1;
  margin-bottom: 8px;
}

.stats-label {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--brand-teal);
  margin-bottom: 12px;
}

.stats-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* --- Findings Section --- */
.findings-section {
  background-color: #ffffff;
  border-bottom: var(--border-thin);
}

.findings-section .section-header {
  margin-bottom: 48px;
}

@media (max-width: 768px) {
  .findings-section .section-header {
    margin-bottom: 32px;
  }
}

.findings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.finding-card {
  background-color: var(--bg-card);
  border: var(--border-thin);
  border-radius: var(--border-radius-card);
  padding: 36px;
  box-shadow: var(--card-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.finding-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.card-badge-row {
  margin-bottom: 16px;
}

.finding-card h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.finding-meta {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.finding-body {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Subtle accent highlights for findings cards */
.card-missing { border-top: 6px solid var(--text-primary); }
.card-very-poor { border-top: 6px solid var(--brand-red); }
.card-excellent { border-top: 6px solid var(--brand-green); }

/* --- Bio/About Section --- */
.bio-section {
  background-color: var(--bg-secondary);
  border-bottom: var(--border-thin);
}

.bio-section-title {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 56px;
}

.bio-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}

.bio-intro-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brand-forest);
  margin-bottom: 20px;
  line-height: 1.4;
}

.bio-paragraph {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.bio-actions {
  margin-top: 32px;
}

.bio-images-col {
  display: flex;
  justify-content: center;
}

.bio-avatar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  max-width: 440px;
}

.bio-avatar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.bio-avatar-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffffff;
  box-shadow: 0 4px 15px rgba(43, 80, 76, 0.08);
  margin-bottom: 12px;
  transition: transform 0.2s ease;
}

.bio-avatar-img:hover {
  transform: scale(1.05);
}

.bio-avatar-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-forest);
  line-height: 1.3;
  padding: 0 8px;
}

/* --- Report Section --- */
.report-section {
  background-color: #ffffff;
  border-bottom: var(--border-thin);
}

.report-box {
  background-color: #edf4f3; /* Very soft campaign green alert box */
  border: var(--border-thin);
  border-radius: var(--border-radius-large);
  padding: 60px 48px;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: center;
  box-shadow: var(--card-shadow);
}

.report-phone-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid #d1dcdb;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.report-phone-circle svg {
  width: 36px;
  height: 36px;
  color: var(--brand-teal);
}

.report-text-col h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.report-text-col p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 700px;
}

.report-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.report-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 20px;
  font-style: italic;
}

/* --- Footer --- */
.main-footer {
  background-color: #ffffff;
  border-top: var(--border-thin);
  padding: 80px 0 60px;
}

.footer-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-logo {
  font-size: 2rem;
}

.footer-menu {
  display: flex;
  list-style: none;
  gap: 32px;
}

.footer-menu a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-menu a:hover {
  color: var(--brand-forest);
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #d1dcdb;
  color: var(--brand-forest);
  transition: all 0.2s ease;
}

.social-links a:hover {
  background-color: var(--brand-forest);
  color: #ffffff;
  border-color: var(--brand-forest);
}

.social-links svg {
  width: 20px;
  height: 20px;
}

.footer-divider {
  height: 1px;
  background-color: #edf4f3;
  margin: 48px 0;
}

.footer-bottom-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.acknowledgement {
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--text-secondary);
  border-left: 3px solid var(--brand-gold);
  padding-left: 16px;
}

.copyright {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-forest);
  margin-bottom: 6px;
}

.copyright-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Screen Reader Only Utility --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
  .map-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .bio-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .footer-bottom-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .header-container {
    padding: 12px 16px;
    gap: 12px;
  }

  .main-nav ul {
    gap: 8px 16px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .main-nav a {
    font-size: 0.85rem;
  }

  .main-nav .nav-cta {
    padding: 6px 12px;
  }

  .hero-container {
    margin-left: 0;
    padding: 60px 24px;
    text-align: center;
  }

  .hero-divider {
    margin: 0 auto 24px;
  }

  .hero-actions {
    justify-content: center;
  }

  .report-box {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 24px;
  }

  .report-phone-circle {
    margin: 0 auto;
  }

  .report-actions {
    justify-content: center;
  }

  .footer-top-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-menu {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.5rem;
  }

  .logo-tagline {
    font-size: 0.52rem;
    letter-spacing: 1.5px;
  }

  .logo-wrapper {
    gap: 8px;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .bio-avatar-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ==========================================================================
   Campaign Enhancements V1.1
   ========================================================================== */

/* Incidents Section */
.incidents-section {
  background-color: #ffffff;
  border-bottom: var(--border-thin);
}

.incidents-section .section-container {
  padding: 48px 24px;
}

.incidents-section .section-title {
  font-size: 1.8rem;
  margin-bottom: 24px;
}

.incidents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.incident-card {
  background-color: var(--bg-card);
  border: var(--border-thin);
  border-left: 4px solid var(--brand-red);
  border-radius: var(--border-radius-card);
  padding: 20px 24px;
  box-shadow: 0 2px 8px rgba(43, 80, 76, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.incident-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(43, 80, 76, 0.06);
}

.incident-date {
  font-family: Georgia, serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--brand-red);
  margin-bottom: 6px;
}

.incident-body {
  font-size: 0.9rem;
  color: var(--text-primary);
  line-height: 1.5;
}

/* TRAPPED Section */
.trapped-section {
  background-color: var(--bg-secondary);
  border-bottom: var(--border-thin);
}

.trapped-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.trapped-card {
  background-color: var(--bg-card);
  border: var(--border-thin);
  border-radius: var(--border-radius-card);
  padding: 28px 24px;
  box-shadow: var(--card-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.trapped-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.trapped-badge {
  background-color: var(--brand-teal);
  color: #ffffff;
  font-family: Georgia, serif;
  font-size: 1.8rem;
  font-weight: 800;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(15, 118, 110, 0.15);
}

/* Assign unique backgrounds to acronym letters */
.trapped-card:nth-child(1) .trapped-badge { background-color: var(--brand-teal); }
.trapped-card:nth-child(2) .trapped-badge { background-color: var(--brand-forest); }
.trapped-card:nth-child(3) .trapped-badge { background-color: var(--brand-blue); }
.trapped-card:nth-child(4) .trapped-badge { background-color: var(--brand-purple); }
.trapped-card:nth-child(5) .trapped-badge { background-color: var(--brand-gold); }
.trapped-card:nth-child(6) .trapped-badge { background-color: var(--brand-red); }
.trapped-card:nth-child(7) .trapped-badge { background-color: var(--brand-green); }

.trapped-info h3 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-forest);
  margin-bottom: 6px;
}

.trapped-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Map Layout Overrides */
.map-vertical-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* Redesign map wrapper for full-width and proper height */
.map-section .map-wrapper {
  position: relative;
  width: 100%;
  max-width: var(--container-width);
  height: 600px;
  padding-bottom: 0; /* Remove percentage-based height */
  margin: 0 auto;
}

@media (max-width: 768px) {
  .map-section .map-wrapper {
    height: 360px; /* Mobile height as requested */
  }

  .trapped-intro, .trapped-outro {
    text-align: center;
  }
}

/* New Key circle styles with light backgrounds */
.circle-toilet-new {
  background-color: #fee2e2;
  border: 1px solid #fecaca;
}

.circle-parking-new {
  background-color: #e0f2fe;
  border: 1px solid #bae6fd;
}

.circle-accessible-new {
  background-color: #dcfce7;
  border: 1px solid #bbf7d0;
}

.circle-risk-new {
  background-color: #fee2e2;
  border: 1px solid #fecaca;
}

.circle-hazard-new {
  background-color: #ffe4e6;
  border: 1px solid #fecdd3;
}

/* Ensure images inside new key circles display correctly */
.key-circle[class*="-new"] {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.key-circle[class*="-new"] img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* Print Styles */
@media print {
  body {
    background-color: #ffffff;
    color: #000000;
  }

  .main-header,
  .hero-section,
  .map-wrapper,
  .map-actions,
  .report-section,
  .skip-link,
  .stats-section,
  .bio-images-col {
    display: none !important;
  }

  .category-accordion {
    border: none;
    margin-bottom: 30px;
    box-shadow: none;
  }

  .category-accordion summary {
    font-size: 1.3rem;
    border-bottom: 2px solid #000000;
    padding: 10px 0;
  }

  .category-accordion summary::after {
    display: none;
  }

  .category-content {
    border: none;
  }
}
