:root {
  --navy: #001b5c;
  --navy-deep: #00123f;
  --navy-darker: #000a26;
  --red: #c8102e;
  --red-bright: #e41b3c;
  --gold: #d4a73a;
  --gold-bright: #e6c057;
  --white: #ffffff;
  --off-white: #f6f7fb;
  --gray: #6b7280;
  --gray-dark: #3f4655;
  --border: #e5e7eb;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--gray-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}
.serif { font-family: 'Playfair Display', Georgia, serif; }

/* ---------- Top announcement bar ---------- */
.top-bar {
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  letter-spacing: .02em;
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  gap: 16px;
}
.top-bar-message {
  flex: 1;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 500;
}
.top-bar-message .star { color: var(--gold-bright); }
.top-socials {
  display: flex;
  gap: 14px;
  align-items: center;
}
.top-socials a {
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  opacity: .9;
  transition: color .2s, opacity .2s;
}
.top-socials a:hover { color: var(--gold-bright); opacity: 1; }
.top-socials svg { width: 14px; height: 14px; fill: currentColor; }

/* ---------- Header / Nav ---------- */
header.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 110px;
  gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 14px;
  align-self: flex-start;
  position: relative;
  z-index: 2;
}
.brand img { height: 176px; width: auto; display: block; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.main-nav a {
  color: var(--navy);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: .04em;
  padding: 10px 2px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
}
.main-nav a .caret {
  width: 7px; height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  display: inline-block;
}
.main-nav a:hover { color: var(--red); }
.main-nav a.active {
  color: var(--red);
}
.main-nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 2px;
  background: var(--red);
}

.donate-btn {
  background: var(--red);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: .06em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .2s, transform .15s;
}
.donate-btn:hover { background: var(--red-bright); transform: translateY(-1px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #0a1224;
}
.hero-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: -2;
  display: block;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 50% 52%, rgba(255,255,255,.88) 0%, rgba(255,255,255,.72) 32%, rgba(255,255,255,.15) 68%, rgba(255,255,255,0) 90%);
  z-index: -1;
}

.hero-content {
  width: 100%;
  text-align: center;
  padding: 56px 24px 64px;
  position: relative;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  font-size: clamp(40px, 6vw, 78px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.01em;
  margin-bottom: 22px;
}
.hero h1 span { display: block; }
.gold-divider {
  display: flex; align-items: center; justify-content: center;
  gap: 14px;
  margin: 18px auto 14px;
}
.gold-divider::before, .gold-divider::after {
  content: '';
  width: 90px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 40%, var(--gold) 60%, transparent);
}
.gold-divider .star { color: var(--gold); font-size: 18px; }
.hero-slogan {
  color: var(--navy);
  letter-spacing: .35em;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 22px;
}
.hero-mission {
  color: #4a4f5b;
  max-width: 720px;
  margin: 0 auto 36px;
  font-size: 17px;
  line-height: 1.65;
}
.hero-ctas {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .14em;
  border-radius: 4px;
  transition: transform .15s, box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-bright); }
.btn-outline-gold {
  background: #fff;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline-gold:hover { background: var(--gold); color: #fff; }
.btn .icon-svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------- Feature strip ---------- */
.feature-strip {
  background: var(--navy);
  color: #fff;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.feature {
  padding: 42px 30px;
  text-align: center;
  position: relative;
}
.feature + .feature::before {
  content: '';
  position: absolute;
  left: 0; top: 22%; bottom: 22%;
  width: 1px;
  background: rgba(255,255,255,.18);
}
.feature .ficon-wrap {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px;
  border: 1.5px solid rgba(212,167,58,.55);
  border-radius: 10px;
  margin: 0 auto 16px;
  background: linear-gradient(180deg, rgba(212,167,58,.08), rgba(212,167,58,0));
}
.feature .ficon {
  color: var(--gold);
  width: 32px; height: 32px;
}
.feature h3 {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: 19px;
  margin-bottom: 8px;
  font-weight: 700;
}
.feature p {
  color: #c8cbd6;
  font-size: 13.5px;
  line-height: 1.55;
}

/* ---------- Content grid ---------- */
.content-grid {
  background: #fff;
  padding: 80px 0;
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 30px 26px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  min-height: 360px;
}
.card .card-icon { color: var(--gold); margin-bottom: 14px; width: 64px; height: 48px; }
.card h3 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
}
.card p { color: #555a66; font-size: 14.5px; line-height: 1.6; }
.card ul { list-style: none; padding: 0; margin: 0 0 16px; }
.card ul li {
  color: #3f4655;
  font-size: 14px;
  line-height: 1.5;
  padding: 6px 0 6px 26px;
  position: relative;
}
.card ul li::before {
  content: '';
  position: absolute;
  left: 2px; top: 10px;
  width: 12px; height: 6px;
  border-left: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(-45deg);
}
.card .more {
  color: var(--red);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .14em;
  margin-top: auto;
  padding-top: 18px;
  transition: color .2s, gap .2s;
  display: inline-flex; align-items: center; gap: 6px;
}
.card .more:hover { color: var(--red-bright); gap: 10px; }

.booklens-logo {
  display: flex; align-items: center; gap: 12px;
  color: #1f3a8a;
  margin-bottom: 14px;
  padding: 10px 14px;
  background: linear-gradient(180deg, #eef3ff 0%, #ffffff 100%);
  border: 1px solid #d6dff5;
  border-radius: 6px;
}
.booklens-logo .bl-mark {
  width: 50px; height: 50px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.booklens-logo .bl-mark svg { width: 50px; height: 50px; }
.booklens-logo .bl-text {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 22px;
  color: #1f3a8a;
  letter-spacing: .12em;
  line-height: 1;
}
.booklens-logo .bl-tag {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: #6b7280;
  letter-spacing: .22em;
  margin-top: 4px;
}

.card.signup {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.card.signup h3 { color: #fff; }
.card.signup p { color: #c8cbd6; margin-bottom: 18px; }
.card.signup form { display: flex; flex-direction: column; gap: 10px; }
.card.signup input {
  width: 100%;
  padding: 11px 12px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 14px;
  font-family: inherit;
}
.card.signup input::placeholder { color: rgba(255,255,255,.55); }
.card.signup input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.card.signup button {
  background: var(--red); color: #fff;
  padding: 12px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: .14em;
  font-size: 13px;
  transition: background .2s;
}
.card.signup button:hover { background: var(--red-bright); }
.card.signup .privacy {
  color: rgba(255,255,255,.6);
  font-size: 11.5px;
  margin-top: 8px;
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy);
  color: #c8cbd6;
  padding: 60px 0 0;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr auto 1fr 1fr 1fr 1.2fr;
  gap: 36px;
}
.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-logo img {
  max-width: 150px;
  width: 100%;
  height: auto;
}
.footer-grid h4 {
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  margin-bottom: 16px;
  font-weight: 700;
}
.footer-grid ul { list-style: none; }
.footer-grid ul li { padding: 5px 0; }
.footer-grid a { color: #c8cbd6; transition: color .2s; }
.footer-grid a:hover { color: var(--gold-bright); }
.footer-grid .more {
  color: var(--red-bright);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .14em;
  margin-top: 14px;
  display: inline-block;
}
.footer-socials {
  display: flex; gap: 12px; margin-bottom: 18px;
}
.footer-socials a {
  width: 34px; height: 34px;
  background: rgba(255,255,255,.08);
  color: #fff;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
}
.footer-socials a:hover { background: var(--gold); color: var(--navy); }
.footer-socials svg { width: 14px; height: 14px; fill: currentColor; }
.footer-contact p { line-height: 1.7; }
.footer-contact a { color: #c8cbd6; }

.copyright {
  margin-top: 50px;
  background: var(--navy-darker);
  color: #a4a9b9;
  font-size: 12.5px;
}
.copyright-inner {
  display: flex; justify-content: space-between; align-items: center;
  height: 50px;
  flex-wrap: wrap; gap: 10px;
}
.copyright a { color: #a4a9b9; padding: 0 10px; }
.copyright a:hover { color: var(--gold-bright); }
.copyright .links a + a { border-left: 1px solid rgba(255,255,255,.15); }

/* ---------- Page sections (About, BookLens, Advocacy, Voter Guide, Admin) ---------- */
.page-section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.page-section.alt { background: var(--off-white); }
.page-section h1 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
}
.page-section h2 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  font-size: 26px;
  font-weight: 700;
  margin: 34px 0 14px;
}
.page-section h3 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  font-size: 19px;
  font-weight: 700;
  margin: 18px 0 10px;
}
.page-section p {
  color: var(--gray-dark);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 14px;
}
.page-section a.inline { color: var(--red); font-weight: 600; }
.page-section a.inline:hover { color: var(--red-bright); }
.cfd-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 26px 28px;
  border-radius: 6px;
  margin: 18px 0;
  box-shadow: 0 1px 3px rgba(0,27,92,.04);
}
.page-section.alt .cfd-card { background: #fff; }
.cfd-card h2, .cfd-card h3 { margin-top: 0; }
.cfd-card ul { list-style: none; padding: 0; margin: 0; }
.cfd-card ul li {
  position: relative;
  padding: 7px 0 7px 26px;
  color: var(--gray-dark);
  font-size: 15px;
  line-height: 1.55;
}
.cfd-card ul li::before {
  content: '';
  position: absolute;
  left: 2px; top: 14px;
  width: 12px; height: 6px;
  border-left: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(-45deg);
}
.cfd-cta {
  background: var(--navy);
  color: #fff;
  padding: 13px 24px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: .12em;
  font-size: 13px;
  display: inline-block;
  margin: 14px 10px 0 0;
  transition: background .2s, transform .15s, color .2s;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}
.cfd-cta:hover { background: var(--red); color: #fff; transform: translateY(-1px); }
.cfd-cta.alt { background: var(--red); }
.cfd-cta.alt:hover { background: var(--navy); }
.voter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 26px;
}
.voter-grid .cfd-cta {
  text-align: center;
  margin: 0;
  padding: 18px 16px;
  letter-spacing: .08em;
}
.voter-grid .cfd-card {
  margin: 0;
  text-align: center;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.admin-textarea {
  width: 100%;
  min-height: 160px;
  margin-top: 10px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: var(--gray-dark);
  resize: vertical;
}
.admin-textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.admin-output {
  margin-top: 20px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  min-height: 120px;
  font-size: 14.5px;
  color: var(--gray-dark);
}
.admin-output pre {
  white-space: pre-wrap;
  background: var(--off-white);
  padding: 14px;
  border-radius: 4px;
  border: 1px solid var(--border);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}
.disclaimer {
  margin-top: 40px;
  font-size: 13.5px;
  color: var(--gray);
  line-height: 1.6;
}

/* ---------- PayPal donation card ---------- */
.paypal-card {
  max-width: 560px;
  border-top: 4px solid #0070ba;
}
.paypal-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.paypal-logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 24px;
  font-style: italic;
  letter-spacing: -.02em;
}
.paypal-logo .pp-pay { color: #003087; }
.paypal-logo .pp-pal { color: #0070ba; }
.paypal-secure {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray);
}
.paypal-card h3 { margin: 6px 0 8px; }
.paypal-card p { margin-bottom: 16px; }
.paypal-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.paypal-amounts a {
  flex: 1 1 80px;
  text-align: center;
  padding: 12px 10px;
  border: 1.5px solid #0070ba;
  border-radius: 6px;
  color: #003087;
  font-weight: 700;
  font-size: 16px;
  transition: background .2s, color .2s;
}
.paypal-amounts a:hover { background: #0070ba; color: #fff; }
.paypal-btn {
  background: #0070ba;
  display: inline-block;
  margin: 0;
}
.paypal-btn:hover { background: #003087; color: #fff; }

/* ---------- Resources: News & Updates ---------- */
.news-intro {
  max-width: 760px;
  margin-bottom: 10px;
}
.news-note {
  max-width: 820px;
  margin: 6px 0 34px;
  padding: 12px 18px;
  background: var(--off-white);
  border-left: 4px solid var(--red);
  border-radius: 0 4px 4px 0;
  font-size: 14px;
  color: var(--gray-dark);
}
.news-content {
  max-width: 820px;
}
.news-content > p,
.news-content > h1,
.news-content > h2,
.news-content > h3,
.news-content > h4,
.news-content > ul,
.news-content > ol,
.news-content > blockquote {
  margin: 0 0 16px;
}
.news-content h1,
.news-content h2 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.25;
  margin-top: 14px;
}
.news-content h1 { font-size: 24px; }
.news-content h2 { font-size: 21px; }
.news-content h3 { font-size: 18px; font-weight: 700; color: var(--navy); }
.news-content p,
.news-content li {
  color: var(--gray-dark);
  font-size: 16px;
  line-height: 1.7;
}
.news-content ul,
.news-content ol { padding-left: 22px; margin-bottom: 16px; }
.news-content li { margin-bottom: 6px; }
.news-content a {
  color: var(--red);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-word;
}
.news-content a:hover { color: var(--red-bright); }
.news-content .sqsrte-large { font-size: 18px; }
/* DCC4D commentary — reprinted articles plain, our comments in red/bold/italic */
.news-content .sqsrte-text-color--accent { color: var(--red); }
.news-content hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}
.news-figure {
  margin: 22px 0 28px;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,27,92,.06);
  background: #fff;
}
.news-figure img { width: 100%; height: auto; }
.news-cta-block {
  max-width: 820px;
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav { gap: 12px; }
  .main-nav a { font-size: 11.5px; }
  .donate-btn { padding-inline: 17px; }
}
@media (max-width: 980px) {
  .main-nav { display: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .top-bar-message { font-size: 11.5px; }
  .top-socials { display: none; }
  .header-inner { height: 86px; }
  .brand img { height: 134px; }
  .hero { min-height: 440px; }
  .feature-grid, .cards, .footer-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 40px 20px 48px; }
  .copyright-inner { justify-content: center; text-align: center; }
  .page-section { padding: 56px 0; }
  .page-section h2 { font-size: 22px; }
}
