body {
  font-family: 'Open Sans', sans-serif;
  background-color: #f8f9fa;
  color: #333;
  margin: 0;
}
.navbar {
  background-color: #001f3f;
  margin-bottom: 0;
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}
.navbar .nav-link.active {
  color: #ff0000 !important;
  font-weight: 700;
}
.navbar-brand, .nav-link { color: #fff !important; }
.nav-link:hover { color: #ff0000 !important; }
.navbar .btn-primary { color: #fff !important; }
.logo-section {
  background-color: white;
  padding: 20px 0;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px;
}
.logo-section-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  max-width: 100%;
  padding: 0 20px;
}
.logo-main {
  height: 600px;
  width: auto;
  object-fit: contain;
  display: block;
  max-width: 100%;
}
.hero {
  background-color: #001f3f;
  color: #fff;
  padding: 100px 0;
  text-align: center;
}
.hero h1 { font-size: 3rem; font-weight: bold; }
.hero-video {
  width: 100%;
  max-width: 800px;
  margin: 30px auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.about-photo { width: 100%; height: auto; display: block; margin: 0 auto; }
.contact-headshot {
  width: 100%;
  max-width: 551px;
  height: auto;
  display: block;
  margin: 0;
  border-radius: 8px;
}
.contact-map iframe { width: 100%; max-width: 100%; height: 350px; border: 0; }
.section { padding: 60px 0; }
.btn-primary { background-color: #ff0000; border-color: #ff0000; }
.btn-primary:hover { background-color: #cc0000; border-color: #cc0000; }
.issues-section {
  background-color: #2c2c54;
  color: #ffffff;
  padding: 80px 0;
}
.issue-card {
  background-color: rgba(255, 255, 255, 0.92);
  border: 1px solid #ddd;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  color: #333;
}
.issue-card h3 { color: #001f3f; margin-bottom: 15px; }
.issues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}
.issue-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 40px;
}
.issue-lead {
  color: #f0f0f0;
  font-size: 1.1rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.issue-map-hero {
  margin: 0 auto 28px;
  background: rgba(0,0,0,0.2);
  border-radius: 8px;
  padding: 8px;
}
.issue-map-hero img {
  width: 100%;
  height: auto;
  max-height: 52vh;
  object-fit: contain;
  display: block;
  border-radius: 6px;
  background: #111;
}
.issue-map-hero figcaption {
  color: #f0f0f0;
  font-size: 0.92rem;
  text-align: center;
  padding: 8px 4px 4px;
}
.issue-row {
  display: grid;
  grid-template-columns: minmax(200px, 30%) 1fr 1fr;
  gap: 18px;
  min-height: 25vh;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
  color: #333;
  padding: 16px 18px;
  margin-bottom: 18px;
}
.issue-row.reverse {
  grid-template-columns: 1fr 1fr minmax(200px, 30%);
}
.issue-row.reverse .issue-visual { order: 3; }
.issue-row.reverse .issue-challenge { order: 1; }
.issue-row.reverse .issue-solution { order: 2; }
.issue-challenge,
.issue-solution {
  padding: 12px 14px;
  border-radius: 6px;
}
.issue-challenge {
  background: #f8ecec;
  border-left: 5px solid #ff0000;
}
.issue-solution {
  background: #eaf4ea;
  border-left: 5px solid #2d6a4f;
}
.issue-challenge h4,
.issue-solution h4 {
  margin: 0 0 8px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}
.issue-challenge h4 { color: #9b1c1c; }
.issue-solution h4 { color: #1b4332; }
.issue-challenge h3 {
  color: #001f3f;
  margin: 0 0 10px;
  font-size: 1.15rem;
}
.issue-footnote {
  color: #ddd;
  font-size: 0.9rem;
  text-align: center;
  max-width: 900px;
  margin: 8px auto 0;
}
.issue-visual {
  min-height: 22vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.issue-visual img {
  width: 100%;
  height: 100%;
  max-height: 28vh;
  object-fit: cover;
  object-position: center center;
  border-radius: 6px;
  display: block;
}
.issue-visual img.img-top {
  object-position: top center;
}
.issue-challenge ul,
.issue-solution ul { margin: 0; padding-left: 1.1rem; }
.issue-challenge li,
.issue-solution li { margin-bottom: 0.4rem; }
@media (max-width: 1000px) {
  .issue-row,
  .issue-row.reverse {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .issue-row.reverse .issue-visual,
  .issue-row.reverse .issue-challenge,
  .issue-row.reverse .issue-solution { order: 0; }
  .issue-visual img { max-height: 36vh; }
  .issue-map-hero img { max-height: none; }
}
.footer {
  background-color: #001f3f;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}
.patriotic-accent { border-top: 5px solid #ff0000; }
.com-content-article, .item-page { margin: 0; padding: 0; background: transparent; border: none; box-shadow: none; }
.com-content-article .page-header { display: none; }
.com-users-login input[type="text"],
.com-users-login input[type="password"],
.com-users-login input[type="email"] {
  width: 100%;
  font: inherit;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
}
.calendar-list { max-width: 820px; margin: 0 auto; }
.cal-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  background: #fff;
  border: 1px solid #ddd;
  border-left: 6px solid #ff0000;
  border-radius: 8px;
  padding: 18px 20px;
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.cal-date {
  font-weight: 700;
  color: #001f3f;
  padding-top: 4px;
}
.cal-body h3 { margin: 0; color: #001f3f; }
.cal-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin: 0;
  transition: max-height 0.25s ease, opacity 0.2s ease, margin 0.2s ease;
}
.cal-item:hover .cal-details,
.cal-item:focus-within .cal-details,
.cal-item.is-open .cal-details {
  max-height: 280px;
  opacity: 1;
  margin-top: 10px;
}
.cal-item { cursor: pointer; }
@media (max-width: 700px) {
  .cal-item { grid-template-columns: 1fr; }
}
.com-users-login button[type="submit"],
.com-users-logout button[type="submit"] {
  background-color: #ff0000;
  border: 0;
  color: #fff;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 4px;
}
@media (max-width: 900px) {
  .logo-main { height: auto; max-height: 320px; }
  .hero h1 { font-size: 1.8rem; }
  .logo-section { min-height: 0; }
}


/* === Design-ideals brand + a11y reinforcement (2026-09-17) === */
:root {
  --hurd-navy: #001f3f;
  --hurd-navy-deep: #00152b;
  --hurd-red: #c8102e;
  --hurd-red-hover: #9e0c24;
  --hurd-white: #ffffff;
  --hurd-earth: #8b7355;
  --hurd-earth-light: #f4efe6;
  --hurd-ink: #1a1a1a;
  --hurd-focus: #ffd166;
}

body {
  color: var(--hurd-ink);
  line-height: 1.6;
}

h1, h2, h3, h4, .navbar-brand {
  color: var(--hurd-navy);
  font-weight: 700;
}

.hero h1,
.footer,
.footer a,
.navbar-brand,
.nav-link {
  color: var(--hurd-white) !important;
}

.navbar {
  background-color: var(--hurd-navy);
  border-bottom: 3px solid var(--hurd-red);
}

.navbar .nav-link.active {
  color: #ff6b6b !important;
}

.nav-link:hover {
  color: #ff6b6b !important;
}

.btn-primary,
.navbar .btn-primary,
a.btn-primary {
  background-color: var(--hurd-red) !important;
  border-color: var(--hurd-red) !important;
  color: var(--hurd-white) !important;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.55rem 1.15rem;
  border-radius: 4px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.15);
}

.btn-primary:hover,
.btn-primary:focus,
.navbar .btn-primary:hover,
a.btn-primary:hover {
  background-color: var(--hurd-red-hover) !important;
  border-color: var(--hurd-red-hover) !important;
  color: var(--hurd-white) !important;
}

.btn-cta-secondary,
.navbar .btn-cta-secondary {
  background-color: transparent !important;
  border: 2px solid var(--hurd-white) !important;
  color: var(--hurd-white) !important;
  font-weight: 700;
  padding: 0.45rem 1rem;
  border-radius: 4px;
  margin-left: 0.5rem;
}

.btn-cta-secondary:hover,
.navbar .btn-cta-secondary:hover {
  background-color: var(--hurd-white) !important;
  color: var(--hurd-navy) !important;
}

.hero .btn-light {
  font-weight: 700;
  border: 2px solid var(--hurd-white);
}

.hero .btn-cta-secondary {
  border-color: var(--hurd-white);
  color: var(--hurd-white) !important;
}

.section.bg-light.patriotic-accent,
.patriotic-accent {
  border-top: 5px solid var(--hurd-red);
  background-color: var(--hurd-earth-light) !important;
}

.issue-card h3,
.cal-body h3,
.cal-date {
  color: var(--hurd-navy);
}

.footer {
  background-color: var(--hurd-navy-deep);
  color: var(--hurd-white);
  padding: 28px 0 24px;
  border-top: 4px solid var(--hurd-red);
}

.footer-disclaimer {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 0.75rem;
}

.footer-ctas a {
  display: inline-block;
  margin: 0.25rem 0.4rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-ctas .footer-donate {
  color: #ffb3b3 !important;
}

/* Keyboard / a11y focus */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.nav-link:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--hurd-focus) !important;
  outline-offset: 2px;
  box-shadow: 0 0 0 1px var(--hurd-navy);
}

.navbar .nav-link:focus-visible {
  outline-color: var(--hurd-focus) !important;
}


/* Mark Hurd Issues hover-expand */
.issue-row {
  max-height: 280px;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.issue-row:hover,
.issue-row:focus-within {
  max-height: 2000px;
}
@media (hover: none) {
  .issue-row {
    max-height: none;
    overflow: visible;
  }
}


/* Ensure hover-expand overrides inline row styles */
.issue-row {
  overflow: hidden !important;
}
@media (hover: none) {
  .issue-row {
    max-height: none !important;
    overflow: visible !important;
  }
}
