/* Styles copied from previous bundle (see earlier message) */

/* Basic Reset & Variables */
* { box-sizing: border-box; }
:root {
  --navy: #1A2341;
  --red: #930012;
  --light: #f8fafc;
  --ink: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
}

html, body { margin: 0; padding: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; color: var(--ink); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.topbar {
  background-image: url("/img/headingbackground.png");
  background-repeat: repeat-x;
  background-position: top left;
  background-size: auto;
/*  background: #1A2341; color: #fff; font-size: .9rem;
*/}
.contact{
  display:flex;
  flex-direction:column;      /* stack email + phone */
  align-items:flex-end;       /* right-align text */
  gap:0.25rem;
  margin-top:0;               /* ensure it sits at the top */
}
.topbar-inner{
  display:flex;
  gap:1rem;
  justify-content:space-between;
  align-items:flex-start;     /* was center, this is the main fix */
  padding:0.5rem 0;           /* give the bar some height */
}
.container { max-width: 1100px; margin: 0 auto; padding: 0; }

/* Topbar */
.topbar a { color: #fff; opacity: .9; }
.topbar a:hover { opacity: 1; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95); border-bottom: 1px solid var(--border); backdrop-filter: blur(8px); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: .75rem 0; }
.logo { font-weight: 900; letter-spacing: .5px; color: var(--navy); }
.menu-btn { display: none; background: #fff; border: 1px solid var(--border); padding: .4rem .6rem; border-radius: .5rem; }
.menu { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; }
.menu li a { padding: .5rem .75rem; border-radius: .5rem; font-weight: 600; color: #334155; }
.menu li a:hover, .menu li a.active { background: var(--navy); color: #fff; }

/* Hero */
.hero { position: relative; }
.hero-img { width: 100%; aspect-ratio: 16/7; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.3); }
.hero-content { position: absolute; inset: 0; display: flex; align-items: center; }
.hero-card { background: rgba(255,255,255,.95); border-radius: 1rem; padding: 1.25rem; max-width: 450px; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.hero-card h1 { margin: 0; color: var(--navy); font-size: clamp(1.4rem, 2.2vw + 1rem, 2rem); }
.hero-card p { color: #334155; margin: .6rem 0 1rem; }

/* Buttons & Inputs */
.btn { display: inline-block; padding: .8rem 1rem; border-radius: .8rem; font-weight: 800; text-align: center; border: 1px solid transparent; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-red { background: var(--red); color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn-white { background: #fff; color: #111827; font-weight: 800; }
.btn-ghost { background: #fff; border: 1px solid var(--border); }
.block { display: block; width: 100%; }

.input { width: 100%; padding: .75rem .9rem; border: 1px solid var(--border); border-radius: .8rem; }
.checkbox { display: flex; gap: .5rem; align-items: center; }
.note { color: var(--muted); font-size: .9rem; }

/* Layout helpers */
.section { padding: 3rem 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); }
.gap { gap: 1rem; }
.mt { margin-top: 1rem; }
.full { grid-column: 1 / -1; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card { border: 1px solid var(--border); border-radius: 1rem; padding: 1rem; transition: box-shadow .2s ease; }
.card:hover { box-shadow: 0 10px 18px rgba(0,0,0,.08); }
.card h3 { color: var(--navy); margin: 0 0 .25rem; }

.card.soft { background: #fff; }

/* News strip */
.news-strip { background: var(--navy); color: #fff; padding: 1.2rem 0; }
.news-inner { display: grid; gap: 1rem; grid-template-columns: 1fr auto; align-items: center; }
.news-text { font-weight: 800; font-size: 1.25rem; }

/* About */
.img-frame { border: 1px solid var(--border); border-radius: 1rem; overflow: hidden; }
.limitedheightframe { height: 326px; }
.limitedheightframe2 { height: 810px; }
.lead { font-size: 1.1rem; color: #334155; }
.checklist { list-style: none; padding-left: 0; }
.checklist li { padding-left: 1.1rem; position: relative; margin:.4rem 0; }
.checklist li::before { content: "✓"; color: var(--red); position: absolute; left: 0; }
.bullets { margin: .5rem 0 0 1rem; }
.bullets li { margin: .25rem 0; }

.issue h3 { color: var(--navy); margin-bottom: .25rem; }
/* Issues layout */
.issues-grid .issues-list { 
  display: flex; 
  flex-direction: column; 
  gap: 1rem;            /* space between blurbs */
}

/* Optional: tighter spacing for issue headings/paragraphs */
.issue h3 { margin: 0 0 .25rem; color: var(--navy); }
.issue p { margin: 0 0 .75rem; color: #334155; }

/* CTA triple */
.cta-triple { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }

/* Forms */
.form { margin-top: .5rem; }
.donate-grid { align-items: start; }

/* Footer */
.footer { background: #f8fafc; border-top: 1px solid var(--border); margin-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding: 2rem 0; }
.logo-large { color: var(--navy); font-weight: 900; font-size: 1.6rem; }
.logo-sub { color: var(--red); font-weight: 700; margin-top: .25rem; }
.links { list-style: none; padding: 0; margin: .5rem 0 0 0; }
.links li { margin: .2rem 0; }
.links a { color: #334155; }
.socials { display: flex; gap: .5rem; margin-top: .5rem; }
.socials a { display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px; border:1px solid var(--border); border-radius:.5rem; }

.paidfor { background: var(--navy); color: #fff; text-align: center; font-size: .82rem; padding: .8rem; }

/* Responsive */
@media (max-width: 980px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr; }
  .cta-triple { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .news-inner { grid-template-columns: 1fr; }
  .menu-btn { display: inline-block; }
  .menu { display: none; position: absolute; right: 1rem; top: 60px; background: #fff; border: 1px solid var(--border); border-radius: .75rem; padding: .5rem; width: min(92vw, 360px); flex-direction: column; }
  .menu.open { display: flex; }
}
/* --- Mobile fix for hero image being pushed left --- */
@media (max-width: 768px) {
  .hero {
    position: relative;
  }

  .hero-slide,
  .hero-img {
    width: 100%;
    display: block;
  }

  .hero-img {
    object-fit: cover;
    object-position: center center;
    height: auto;
  }

  /* Prevent the overlay/text container from squeezing the image */
  .hero-content {
    position: static;
    margin-top: 1rem;
  }

  .hero-overlay {
    display: none;
  }
  .brand-sub img {
  max-height: 60px;
  width: auto;
}
}
.facts-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.fact-card {
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.25rem;
  background: #fff;
}

.fact-card h3 {
  margin: 0 0 0.5rem;
  color: var(--navy);
}

.fact-label {
  font-weight: 800;
  color: var(--red);
  margin: 0 0 0.25rem;
}

.fact-card p:last-child {
  margin-bottom: 0;
}

/* Better link styling inside fact cards */
.fact-card a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
  word-break: break-word;
}

/* Hover state */
.fact-card a:hover {
  color: var(--red);
  text-decoration-thickness: 3px;
}

/* Visited links (optional, keeps consistency instead of purple) */
.fact-card a:visited {
  color: var(--navy);
}

/* Optional: make statute citations look extra clean */
.fact-card a.citation {
  font-family: monospace;
  font-size: 0.95em;
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
}
@media (max-width: 980px) {
  .menu {
    gap: 0.35rem;
  }

  .menu li {
    margin: 0;
  }

  .menu li a {
    display: block;
    padding: 0.7rem 0.9rem;
    line-height: 1.2;
    border-radius: 0.65rem;
  }

  .menu li a.active,
  .menu li a:hover {
    padding: 0.7rem 0.9rem;
  }
}