/* ============================================
   Dave Thompson — Oshawa Ward 4 Campaign
   Colours: Dark Navy / Muted Red / White / Light Grey
   ============================================ */

:root {
  --navy: #1a1a2e;
  --navy-light: #252542;
  --red: #c0392b;
  --red-hover: #a93226;
  --white: #ffffff;
  --light-grey: #f4f4f6;
  --mid-grey: #e0e0e5;
  --text-dark: #1a1a2e;
  --text-mid: #555566;
  --text-light: #888899;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container-width: 1200px;
  --section-padding: 80px;
  --section-padding-mobile: 48px;
}

/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--red);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--red-hover);
}

/* Container */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  gap: 8px;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn-primary:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-outline {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}

.btn-outline:hover {
  background: var(--red);
  color: var(--white);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-navy:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  color: var(--white);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--navy);
  padding: 0;
  transition: background 0.3s;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-brand:hover {
  color: var(--white);
}

.nav-brand .brand-tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  display: block;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

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

.nav-cta {
  margin-left: 8px;
}

.nav-cta .btn {
  padding: 10px 24px;
  font-size: 0.875rem;
}

/* Mobile menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  background: linear-gradient(90deg, rgba(26,26,46,0.88) 0%, rgba(26,26,46,0.55) 45%, rgba(26,26,46,0.25) 100%), url('../images/hero-cityhall.jpg') center/cover no-repeat, var(--navy);
  padding-top: 160px;
  padding-bottom: var(--section-padding);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: -10%;
  width: 60%;
  height: 100%;
  background: linear-gradient(135deg, rgba(192,57,43,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  color: var(--white);
}

.hero-tag {
  display: inline-block;
  background: rgba(192,57,43,0.2);
  color: #e8705e;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 4px;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero h1 span {
  color: #e8705e;
}

.hero-support {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.hero-intro {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
}

.hero-image-placeholder {
  background: var(--navy-light);
  border: 2px dashed rgba(255,255,255,0.2);
  border-radius: 12px;
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  text-align: center;
  padding: 40px;
}

.hero-image-placeholder svg {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  opacity: 0.4;
}

.hero-image-placeholder p {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ============================================
   PRIORITIES SECTION
   ============================================ */
.priorities {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--navy);
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 600px;
  margin: 0 auto;
}

.priorities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.priority-card {
  background: var(--light-grey);
  border-radius: 12px;
  padding: 40px 32px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.priority-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.priority-icon {
  width: 56px;
  height: 56px;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--white);
}

.priority-icon svg {
  width: 28px;
  height: 28px;
}

.priority-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--navy);
}

.priority-card p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.priority-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--red);
}

.priority-link:hover {
  gap: 10px;
}

/* ============================================
   WHY I'M RUNNING
   ============================================ */
.why-running {
  padding: var(--section-padding) 0;
  background: var(--light-grey);
}

.why-running .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.why-content h2 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--navy);
}

.why-content p {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 16px;
}

.why-image-placeholder {
  background: var(--mid-grey);
  border: 2px dashed rgba(0,0,0,0.15);
  border-radius: 12px;
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  text-align: center;
  padding: 40px;
}

.why-image-placeholder svg {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  opacity: 0.4;
}

/* ============================================
   WARD 4 CONNECTION
   ============================================ */
.ward-connection {
  padding: var(--section-padding) 0;
  background: var(--navy);
  color: var(--white);
}

.ward-connection .section-header h2 {
  color: var(--white);
}

.ward-connection .section-header p {
  color: rgba(255,255,255,0.7);
}

.ward-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.ward-stat {
  text-align: center;
  padding: 32px;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
}

.ward-stat .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #e8705e;
  display: block;
  margin-bottom: 8px;
}

.ward-stat .stat-label {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
}

/* ============================================
   EMAIL SIGNUP / CTA
   ============================================ */
.signup-cta {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.signup-box {
  background: var(--light-grey);
  border-radius: 16px;
  padding: 64px;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.signup-box h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.signup-box p {
  color: var(--text-mid);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.signup-form {
  display: flex;
  gap: 12px;
  max-width: 460px;
  margin: 0 auto;
}

.signup-form input[type="email"] {
  flex: 1;
  padding: 14px 18px;
  border: 2px solid var(--mid-grey);
  border-radius: 6px;
  font-size: 1rem;
  font-family: var(--font-main);
  outline: none;
  transition: border-color 0.2s;
}

.signup-form input[type="email"]:focus {
  border-color: var(--red);
}

.signup-form button {
  white-space: nowrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 48px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand .brand-tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  display: block;
  margin-top: 4px;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.5);
}

.footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer ul a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
}

.footer-bottom a:hover {
  color: var(--white);
}

/* ============================================
   PAGE HEADERS (inner pages)
   ============================================ */
.page-header {
  background: var(--navy);
  padding-top: 140px;
  padding-bottom: 56px;
  color: var(--white);
}

.page-header h1 {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.page-header p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-content {
  padding: var(--section-padding) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
}

.about-photo-placeholder {
  background: var(--light-grey);
  border: 2px dashed rgba(0,0,0,0.15);
  border-radius: 12px;
  aspect-ratio: 3/4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  text-align: center;
  padding: 24px;
}

.about-photo-placeholder svg {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  opacity: 0.4;
}

.about-text h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.about-text p {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-text blockquote {
  border-left: 4px solid var(--red);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--light-grey);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text-dark);
  font-size: 1.1rem;
}

/* ============================================
   PRIORITIES PAGE
   ============================================ */
.priorities-page {
  padding: var(--section-padding) 0;
}

.priority-detail {
  margin-bottom: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--mid-grey);
}

.priority-detail:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.priority-detail-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 24px;
}

.priority-detail-icon {
  width: 64px;
  height: 64px;
  background: var(--navy);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
}

.priority-detail-icon svg {
  width: 32px;
  height: 32px;
}

.priority-detail-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
}

.priority-detail-header h2 + p {
  color: var(--red);
  font-weight: 600;
  font-size: 0.95rem;
}

.priority-detail-body {
  margin-left: 88px;
}

.priority-detail-body p {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 16px;
}

.priority-points {
  list-style: none;
  margin-top: 20px;
}

.priority-points li {
  padding: 12px 0;
  padding-left: 28px;
  position: relative;
  font-size: 1rem;
  color: var(--text-mid);
  border-bottom: 1px solid var(--light-grey);
}

.priority-points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

/* ============================================
   WARD 4 PAGE
   ============================================ */
.ward-page {
  padding: var(--section-padding) 0;
}

.ward-map-section {
  margin-bottom: 56px;
}

.ward-map-placeholder {
  background: var(--light-grey);
  border: 2px dashed rgba(0,0,0,0.15);
  border-radius: 12px;
  aspect-ratio: 16/9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  text-align: center;
  padding: 40px;
}

.ward-map-placeholder svg {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  opacity: 0.4;
}

.neighbourhoods-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.neighbourhood-card {
  background: var(--light-grey);
  border-radius: 12px;
  padding: 32px;
}

.neighbourhood-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.neighbourhood-card p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.neighbourhood-card .issues-list {
  margin-top: 16px;
  list-style: none;
}

.neighbourhood-card .issues-list li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--text-mid);
  padding-left: 20px;
  position: relative;
}

.neighbourhood-card .issues-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-page {
  padding: var(--section-padding) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-form {
  max-width: 560px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--mid-grey);
  border-radius: 6px;
  font-size: 1rem;
  font-family: var(--font-main);
  outline: none;
  transition: border-color 0.2s;
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--red);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-info {
  padding-top: 8px;
}

.contact-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info-item .icon {
  width: 44px;
  height: 44px;
  background: var(--light-grey);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--red);
}

.contact-info-item .icon svg {
  width: 20px;
  height: 20px;
}

.contact-info-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 0.9rem;
  color: var(--text-mid);
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 16px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.6rem;
  }

  .priorities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-dave-grid,
  .bio-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .dashboard-shell {
    grid-template-columns: 1fr;
  }

  .issue-category-grid,
  .latest-update-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 56px;
  }

  /* Mobile nav */
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 24px;
    gap: 12px;
    border-top: 1px solid rgba(255,255,255,0.1);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-cta {
    margin-left: 0;
    width: 100%;
  }

  .nav-cta .btn {
    width: 100%;
  }

  /* Hero */
  .hero {
    padding-top: 120px;
    padding-bottom: 48px;
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-image {
    order: -1;
  }

  .hero-image-placeholder {
    aspect-ratio: 16/9;
  }

  /* Priorities */
  .priorities-grid {
    grid-template-columns: 1fr;
  }

  /* Why running */
  .why-running .container {
    grid-template-columns: 1fr;
  }

  /* Ward stats */
  .ward-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Signup */
  .signup-box {
    padding: 40px 24px;
  }

  .signup-form {
    flex-direction: column;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
  }

  /* Priorities detail */
  .priority-detail-header {
    flex-direction: column;
  }

  .priority-detail-body {
    margin-left: 0;
  }

  /* Ward */
  .neighbourhoods-grid {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-hero {
    padding-top: 118px;
    padding-bottom: 52px;
  }

  .dashboard-hero h1 {
    font-size: 2.25rem;
  }

  .dashboard-hero-lead {
    font-size: 1.12rem !important;
  }

  .dashboard-hero-actions,
  .dashboard-hero-actions .btn {
    width: 100%;
  }

  .ward-map-visual {
    min-height: 380px;
  }

  .map-pin strong {
    display: none;
  }

  .dashboard-items-grid,
  .issue-category-grid,
  .latest-update-grid,
  .dashboard-form-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-filter-row {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
  }

  .dashboard-filter {
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .ward-map-card {
    padding: 12px;
  }

  .ward-map-visual {
    min-height: 320px;
  }

  .map-pin span {
    width: 32px;
    height: 32px;
    font-size: 0.86rem;
  }

  .dashboard-detail-panel,
  .dashboard-item,
  .issue-category-card,
  .latest-update-grid article {
    padding: 20px;
  }
}

/* ============================================
   TRANSPARENCY TRACKER
   ============================================ */
.tracker-page {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.tracker-intro {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.tracker-intro p {
  font-size: 1.1rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.tracker-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tracker-card {
  background: var(--white);
  border: 2px solid var(--mid-grey);
  border-radius: 12px;
  padding: 32px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.tracker-card:hover {
  border-color: var(--navy);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.tracker-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.tracker-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.tracker-card .location {
  font-size: 0.9rem;
  color: var(--text-light);
}

.tracker-status {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.status-planning { background: #fff3cd; color: #856404; }
.status-active { background: #d4edda; color: #155724; }
.status-stalled { background: #f8d7da; color: #721c24; }
.status-complete { background: #d1ecf1; color: #0c5460; }
.status-review { background: #e2e3e5; color: #383d41; }

.tracker-card-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--light-grey);
  border-bottom: 1px solid var(--light-grey);
}

.tracker-meta-item label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.tracker-meta-item span {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 500;
}

.tracker-position {
  background: var(--light-grey);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 16px;
}

.tracker-position label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.tracker-position p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.tracker-card-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.tracker-card-actions .btn {
  padding: 10px 20px;
  font-size: 0.875rem;
}

/* ============================================
   NEWS PAGE
   ============================================ */
.news-page {
  padding: var(--section-padding) 0;
}

.news-empty {
  text-align: center;
  padding: 80px 24px;
  max-width: 560px;
  margin: 0 auto;
}

.news-empty svg {
  width: 64px;
  height: 64px;
  color: var(--text-light);
  margin-bottom: 24px;
  opacity: 0.5;
}

.news-empty h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.news-empty p {
  font-size: 1rem;
  color: var(--text-mid);
  margin-bottom: 24px;
  line-height: 1.6;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.news-article {
  background: var(--white);
  border: 2px solid var(--mid-grey);
  border-radius: 12px;
  padding: 32px;
  transition: border-color 0.2s;
}

.news-article:hover {
  border-color: var(--navy);
}

.news-date {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.news-article h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.news-article p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* ============================================
   GET INVOLVED PAGE
   ============================================ */
.involved-page {
  padding: var(--section-padding) 0;
}

.involved-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 56px;
}

.involved-card {
  background: var(--light-grey);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.involved-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.involved-card .icon {
  width: 56px;
  height: 56px;
  background: var(--navy);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--white);
}

.involved-card .icon svg {
  width: 28px;
  height: 28px;
}

.involved-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.involved-card p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.5;
  margin-bottom: 16px;
}

.feedback-form-section {
  background: var(--light-grey);
  border-radius: 16px;
  padding: 56px;
  max-width: 800px;
  margin: 0 auto;
}

.feedback-form-section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  text-align: center;
}

.feedback-form-section > p {
  text-align: center;
  color: var(--text-mid);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--white);
  border-radius: 8px;
  border: 2px solid var(--mid-grey);
  cursor: pointer;
  transition: border-color 0.2s;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.checkbox-item:hover {
  border-color: var(--red);
}

.checkbox-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--red);
  cursor: pointer;
}

/* ============================================
   DONATE PLACEHOLDER
   ============================================ */
.donate-page {
  padding: var(--section-padding) 0;
}

.donate-placeholder {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background: var(--light-grey);
  border-radius: 16px;
  padding: 80px 48px;
}

.donate-placeholder .icon {
  width: 72px;
  height: 72px;
  background: var(--navy);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  color: var(--white);
}

.donate-placeholder .icon svg {
  width: 36px;
  height: 36px;
}

.donate-placeholder h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.donate-placeholder p {
  font-size: 1.1rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 24px;
}

.donate-placeholder .donate-notify {
  max-width: 400px;
  margin: 32px auto 0;
}

/* ============================================
   HERO ENHANCEMENTS
   ============================================ */
.hero-eyebrow {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #e8705e;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.credibility-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  margin-bottom: 8px;
}

.cred-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.cred-badge svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.8;
}

/* ============================================
   COMMUNITY SECTION (Rooted in the Community)
   ============================================ */
.community-section {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.community-section .section-header {
  margin-bottom: 40px;
}

.community-intro {
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
  line-height: 1.7;
}

.community-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.community-card {
  background: var(--white);
  border: 2px solid var(--mid-grey);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.community-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.community-card.featured {
  border-color: var(--navy);
}

.community-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.community-card.featured .community-card-img {
  aspect-ratio: 3/2;
}

.community-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.community-card.featured .community-card-body {
  padding: 32px;
}

.community-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.community-card.featured h3 {
  font-size: 1.35rem;
}

.community-card p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.community-card.featured p {
  font-size: 1rem;
}

/* ============================================
   WHY DAVE THOMPSON
   ============================================ */
.why-dave-section {
  padding: var(--section-padding) 0;
  background:
    linear-gradient(180deg, rgba(244,244,246,0.92), rgba(255,255,255,0.98)),
    var(--light-grey);
}

.why-dave-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-dave-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(26,26,46,0.08);
  border-radius: 14px;
  padding: 30px;
  min-height: 248px;
  box-shadow: 0 14px 34px rgba(26,26,46,0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.why-dave-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 4px solid transparent;
  background: linear-gradient(135deg, rgba(192,57,43,0.08), rgba(26,26,46,0)) no-repeat;
  opacity: 0;
  transition: opacity 0.22s ease, border-color 0.22s ease;
  pointer-events: none;
}

.why-dave-card:hover,
.why-dave-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(192,57,43,0.34);
  box-shadow: 0 20px 44px rgba(26,26,46,0.14);
}

.why-dave-card:hover::before,
.why-dave-card:focus-within::before {
  border-top-color: var(--red);
  opacity: 1;
}

.why-dave-icon {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--red);
  background: rgba(192,57,43,0.08);
  border: 1px solid rgba(192,57,43,0.16);
  border-radius: 12px;
  transition: color 0.22s ease, background-color 0.22s ease, transform 0.22s ease;
}

.why-dave-card:hover .why-dave-icon,
.why-dave-card:focus-within .why-dave-icon {
  color: var(--white);
  background: var(--red);
  transform: scale(1.04);
}

.why-dave-icon svg {
  width: 26px;
  height: 26px;
}

.why-dave-card h3 {
  position: relative;
  z-index: 1;
  font-size: 1.18rem;
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 12px;
}

.why-dave-card p {
  position: relative;
  z-index: 1;
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--text-mid);
}

.why-dave-close {
  max-width: 760px;
  margin: 40px auto 0;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.6;
}

/* ============================================
   TRACKER PREVIEW (homepage project cards)
   ============================================ */
.tracker-preview {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.tracker-preview .section-header {
  margin-bottom: 16px;
}

.tracker-preview-intro {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 700px;
  margin: 0 auto 48px;
  text-align: center;
  line-height: 1.7;
}

.tracker-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.tracker-project-card {
  background: var(--light-grey);
  border-radius: 10px;
  padding: 24px;
  border-left: 4px solid var(--navy);
  transition: transform 0.2s, box-shadow 0.2s;
}

.tracker-project-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.tracker-project-card .tp-status {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.tp-status.in-progress { background: #d4edda; color: #155724; }
.tp-status.planning { background: #fff3cd; color: #856404; }
.tp-status.review { background: #e2e3e5; color: #383d41; }

.tracker-project-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}

.tracker-project-card .tp-meta {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 4px;
}

.tracker-project-card .tp-meta strong {
  color: var(--text-mid);
  font-weight: 600;
}

.tracker-project-card .tp-update {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.5;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--mid-grey);
}

.tracker-project-card .tp-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--red);
}

.tracker-project-card .tp-link:hover {
  gap: 4px;
}

.tracker-cta {
  text-align: center;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================
   ABOUT PAGE: COMMUNITY INVOLVEMENT
   ============================================ */
.community-involvement {
  padding: var(--section-padding) 0;
  background: var(--light-grey);
}

.community-involvement .section-header {
  margin-bottom: 48px;
}

.ci-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.ci-feature-img {
  width: 100%;
  border-radius: 14px;
  aspect-ratio: 21/9;
  object-fit: cover;
}

.ci-feature-body {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.ci-feature-body h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.ci-feature-body p {
  font-size: 1.1rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.ci-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.ci-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.ci-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.ci-card-body {
  padding: 24px;
}

.ci-card-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.ci-card-body p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ============================================
   PHOTO PLACEHOLDER (reusable)
   ============================================ */
.photo-placeholder {
  background: var(--light-grey);
  border: 2px dashed rgba(0,0,0,0.15);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  text-align: center;
  padding: 40px;
}

.photo-placeholder svg {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  opacity: 0.4;
}

.photo-placeholder p {
  font-size: 0.875rem;
  line-height: 1.5;
}

/* ============================================
   DONATE CTA BAR
   ============================================ */
.donate-cta {
  background: var(--navy);
  padding: 56px 0;
  text-align: center;
}

.donate-cta h2 {
  color: var(--white);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.donate-cta p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.cta-button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* ============================================
   ABOUT DAVE LONGFORM PAGE
   ============================================ */
.about-hero {
  background: var(--navy);
  color: var(--white);
  padding-top: 140px;
  padding-bottom: var(--section-padding);
}

.about-hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.about-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 18px;
}

.about-hero p {
  font-size: 1.18rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  max-width: 640px;
}

.about-hero-img {
  width: 100%;
  border-radius: 12px;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.container.narrow {
  max-width: 860px;
}

.story-section,
.bio-section {
  padding: var(--section-padding) 0;
}

.bio-section-alt {
  background: var(--light-grey);
}

.story-section h2,
.two-column-story h2,
.veterans-feature h2 {
  color: var(--navy);
  font-size: 2rem;
  margin-bottom: 18px;
}

.story-section p,
.two-column-story p,
.veterans-feature p,
.feature-copy {
  color: var(--text-mid);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.bio-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.bio-card-grid.compact {
  grid-template-columns: repeat(2, 1fr);
}

.bio-card {
  background: var(--white);
  border: 1px solid var(--mid-grey);
  border-radius: 10px;
  padding: 24px;
}

.bio-section:not(.bio-section-alt) .bio-card {
  background: var(--light-grey);
}

.bio-card h3 {
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.35;
  margin-bottom: 10px;
}

.bio-card p {
  color: var(--text-mid);
  font-size: 0.94rem;
  line-height: 1.6;
}

.community-focus {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
}

.community-focus-img,
.split-feature-img,
.photo-panel img,
.veterans-feature img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.community-focus-img,
.split-feature-img {
  aspect-ratio: 4/3;
}

.bio-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.bio-list-grid div {
  background: var(--light-grey);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  padding: 18px;
  color: var(--navy);
  font-weight: 700;
}

.split-feature,
.two-column-story,
.veterans-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.section-kicker {
  display: inline-block;
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.two-column-story h3 {
  color: var(--navy);
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.photo-panel img {
  aspect-ratio: 4/3;
}

.veterans-feature img {
  aspect-ratio: 16/10;
}

/* ============================================
   UTILITY
   ============================================ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ============================================
   WARD 4 COMMUNITY DASHBOARD
   ============================================ */
.dashboard-hero {
  background: var(--navy);
  color: var(--white);
  padding-top: 140px;
  padding-bottom: 72px;
}

.dashboard-hero h1 {
  font-size: 3.1rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.dashboard-hero p {
  max-width: 760px;
  color: rgba(255,255,255,0.76);
  font-size: 1.08rem;
  line-height: 1.75;
}

.dashboard-hero-lead {
  color: var(--white) !important;
  font-size: 1.32rem !important;
  font-weight: 600;
  margin-bottom: 12px;
}

.dashboard-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.ward-dashboard,
.share-concern-section {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.current-issues,
.latest-dashboard-updates {
  padding: var(--section-padding) 0;
  background: var(--light-grey);
}

.dashboard-filter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}

.dashboard-filter {
  border: 1px solid var(--mid-grey);
  background: var(--white);
  color: var(--navy);
  border-radius: 999px;
  padding: 10px 16px;
  font-family: var(--font-main);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.dashboard-filter:hover,
.dashboard-filter.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.dashboard-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 32px;
}

.ward-map-card,
.dashboard-detail-panel,
.dashboard-item,
.issue-category-card,
.latest-update-grid article {
  border-radius: 10px;
}

.ward-map-card {
  background: var(--light-grey);
  border: 1px solid var(--mid-grey);
  padding: 18px;
}

.ward-map-visual {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.16) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.16) 1px, transparent 1px),
    linear-gradient(135deg, #1a1a2e 0%, #252542 54%, #30304f 100%);
  background-size: 52px 52px, 52px 52px, auto;
}

.ward-map-visual::before {
  content: '';
  position: absolute;
  inset: 34px;
  border: 2px solid rgba(255,255,255,0.22);
  border-radius: 34% 44% 36% 42%;
  transform: rotate(-8deg);
}

.map-grid-label {
  position: absolute;
  color: rgba(255,255,255,0.55);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.label-north { top: 24px; left: 28px; }
.label-west { bottom: 26px; left: 28px; }
.label-east { right: 28px; top: 26px; }

.map-route {
  position: absolute;
  background: rgba(255,255,255,0.22);
  border-radius: 999px;
}

.route-main {
  width: 78%;
  height: 10px;
  top: 54%;
  left: 11%;
  transform: rotate(-13deg);
}

.route-cross {
  width: 10px;
  height: 72%;
  top: 14%;
  left: 51%;
  transform: rotate(18deg);
}

.map-pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: var(--font-main);
  max-width: 112px;
  text-align: center;
}

.map-pin span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--navy);
  border: 3px solid rgba(255,255,255,0.55);
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.map-pin strong {
  color: rgba(255,255,255,0.9);
  font-size: 0.74rem;
  line-height: 1.2;
  text-shadow: 0 1px 6px rgba(0,0,0,0.45);
}

.map-pin:hover span,
.map-pin.active span {
  background: var(--red);
  color: var(--white);
  transform: scale(1.08);
}

.map-note {
  padding: 14px 4px 0;
  color: var(--text-mid);
  font-size: 0.86rem;
  line-height: 1.55;
}

.dashboard-detail-panel {
  background: var(--white);
  border: 2px solid var(--navy);
  padding: 28px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.06);
}

.detail-category,
.item-category,
.latest-update-grid span {
  display: inline-block;
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.dashboard-detail-panel h3 {
  color: var(--navy);
  font-size: 1.45rem;
  line-height: 1.25;
  margin-bottom: 18px;
}

.dashboard-detail-panel dl {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
}

.dashboard-detail-panel dt {
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 3px;
}

.dashboard-detail-panel dd {
  color: var(--text-mid);
  font-size: 0.94rem;
  line-height: 1.55;
}

.dashboard-items-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.dashboard-item {
  background: var(--white);
  border: 1px solid var(--mid-grey);
  padding: 24px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.dashboard-item:hover,
.dashboard-item.active {
  border-color: var(--navy);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.dashboard-item.hidden {
  display: none;
}

.dashboard-item h3 {
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.32;
  margin-bottom: 12px;
}

.dashboard-item p {
  color: var(--text-mid);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 10px;
}

.dashboard-item .btn {
  margin-top: 6px;
  padding: 10px 16px;
  font-size: 0.84rem;
}

.issue-category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.issue-category-card {
  display: block;
  background: var(--white);
  border-left: 4px solid var(--red);
  padding: 22px;
  color: var(--text-dark);
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}

.issue-category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}

.issue-category-card span {
  display: block;
  color: var(--navy);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 10px;
}

.issue-category-card p {
  color: var(--text-mid);
  font-size: 0.9rem;
  line-height: 1.55;
}

.dashboard-form {
  max-width: 900px;
}

.dashboard-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.dashboard-form input[type="file"] {
  padding: 10px;
}

.dashboard-form-alt {
  text-align: center;
  color: var(--text-mid);
  font-size: 0.9rem;
  margin-top: 18px;
}

.latest-update-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.latest-update-grid article {
  background: var(--white);
  padding: 22px;
  border: 1px solid var(--mid-grey);
}

.latest-update-grid h3 {
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.3;
  margin-bottom: 10px;
}

.latest-update-grid p {
  color: var(--text-mid);
  font-size: 0.9rem;
  line-height: 1.55;
}

@media (max-width: 768px) {
  .feedback-form-section {
    padding: 32px 24px;
  }
  .donate-placeholder {
    padding: 48px 24px;
  }
  .tracker-card {
    padding: 24px;
  }
  .tracker-card-body {
    grid-template-columns: 1fr 1fr;
  }
  /* Community section mobile */
  .community-grid {
    grid-template-columns: 1fr;
  }
  .community-card.featured .community-card-img {
    aspect-ratio: 4/3;
  }
  .community-card.featured .community-card-body {
    padding: 24px;
  }
  /* Tracker preview mobile */
  .tracker-projects-grid {
    grid-template-columns: 1fr;
  }
  .why-dave-grid,
  .bio-card-grid,
  .bio-card-grid.compact,
  .community-focus,
  .split-feature,
  .two-column-story,
  .veterans-feature {
    grid-template-columns: 1fr;
  }
  .why-dave-card {
    min-height: auto;
  }
  .about-hero .container {
    grid-template-columns: 1fr;
  }
  .about-hero {
    padding-top: 120px;
  }
  .about-hero h1 {
    font-size: 2.2rem;
  }
  .bio-list-grid {
    grid-template-columns: 1fr;
  }
  /* About community involvement mobile */
  .ci-pair {
    grid-template-columns: 1fr;
  }
  /* Credibility badges wrap on mobile */
  .credibility-badges {
    gap: 8px;
  }
  .cred-badge {
    font-size: 0.75rem;
    padding: 5px 12px;
  }
}

@media (max-width: 1024px) {
  .dashboard-shell {
    grid-template-columns: 1fr;
  }

  .issue-category-grid,
  .latest-update-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .dashboard-hero {
    padding-top: 118px;
    padding-bottom: 52px;
  }

  .dashboard-hero h1 {
    font-size: 2.25rem;
  }

  .dashboard-hero-lead {
    font-size: 1.12rem !important;
  }

  .dashboard-hero-actions,
  .dashboard-hero-actions .btn {
    width: 100%;
  }

  .ward-map-visual {
    min-height: 380px;
  }

  .map-pin strong {
    display: none;
  }

  .dashboard-items-grid,
  .issue-category-grid,
  .latest-update-grid,
  .dashboard-form-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-filter-row {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
  }

  .dashboard-filter {
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .ward-map-card {
    padding: 12px;
  }

  .ward-map-visual {
    min-height: 320px;
  }

  .map-pin span {
    width: 32px;
    height: 32px;
    font-size: 0.86rem;
  }

  .dashboard-detail-panel,
  .dashboard-item,
  .issue-category-card,
  .latest-update-grid article {
    padding: 20px;
  }
}
