/* 2026 Local Voter Guide — scoped so theme header/footer styles stay intact. */
.voter-guide{
    --bg:#ffffff;
    --bg-soft:#f6f3f1;
    --ink:#0c0a0a;
    --ink-soft:#17100f;
    --card:#141010;
    --card-soft:#1c1414;
    --line:rgba(12,10,10,0.12);
    --line-soft:rgba(12,10,10,0.08);
    --line-dark:rgba(255,255,255,0.14);
    --line-dark-soft:rgba(255,255,255,0.09);
    --text:#141010;
    --text-dim:rgba(20,15,15,0.62);
    --text-dimmer:rgba(20,15,15,0.42);
    --on-dark:#faf8f7;
    --on-dark-dim:rgba(250,248,247,0.68);
    --on-dark-dimmer:rgba(250,248,247,0.45);
    --accent:#E64B4B;
    --accent-2:#C5322F;
    --accent-soft:#FF8A7A;
    --radius-xl:32px;
    --radius-lg:24px;
    --radius-md:18px;
    --radius-sm:12px;
    --ease:cubic-bezier(.19,1,.22,1);
    --ease-snap:cubic-bezier(.34,1.56,.64,1);
  }

  .voter-guide, .voter-guide *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  .voter-guide{
    background:var(--bg);
    color:var(--text);
    font-family:'Inter',system-ui,-apple-system,sans-serif;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
  }
  .voter-guide img{display:block; max-width:100%;}
  .voter-guide a{color:inherit; text-decoration:none;}
  .voter-guide ul{list-style:none;}
  .voter-guide button{font-family:inherit; cursor:pointer; background:none; border:none;}
  .voter-guide h1,
  .voter-guide h2,
  .voter-guide h3{
    font-family:'Inter',system-ui,-apple-system,sans-serif;
    letter-spacing:-.02em;
    line-height:1.15;
  }

  .voter-guide .wrap{max-width:1240px; margin:0 auto; padding:0 40px;}

  .voter-guide ::selection{background:var(--accent); color:#fff;}

  /* ---------- scroll reveal ---------- */
  .voter-guide .reveal{opacity:0; transform:translateY(26px); transition:opacity .6s var(--ease), transform .6s var(--ease);}
  .voter-guide .reveal.in{opacity:1; transform:translateY(0);}
  .voter-guide .stagger > *{transition-delay:calc(var(--i,0) * 80ms);}

  
.voter-guide .hero-eyebrow{
    display:inline-flex; align-items:center; gap:8px;
    font-size:12.5px; font-weight:700; letter-spacing:.16em; text-transform:uppercase;
    color:var(--accent-soft); margin-bottom:18px;
    opacity:0; transform:translateY(16px);
    animation:heroUp .7s var(--ease) .1s forwards;
  }
  .voter-guide .hero-eyebrow::before{
    content:''; width:7px; height:7px; border-radius:50%; background:var(--accent);
    animation:pulseDot 1.8s ease-in-out infinite;
  }
  @keyframes pulseDot{ 0%,100%{ transform:scale(1); opacity:1; } 50%{ transform:scale(1.6); opacity:.5; } }
  
@keyframes heroUp{ to{opacity:1; transform:translateY(0);} }

  
/* ================= SECTION HEAD (shared) ================= */
  .voter-guide .section-head{ text-align:center; max-width:640px; margin:0 auto 56px; }
  .voter-guide .section-head .eyebrow{
    display:inline-flex; align-items:center; gap:9px;
    font-size:12.5px; font-weight:700; letter-spacing:.16em; text-transform:uppercase;
    color:var(--accent); margin-bottom:14px;
  }
  .voter-guide .section-head .eyebrow::before{
    content:''; width:7px; height:7px; border-radius:50%; background:var(--accent);
    animation:pulseDot 1.8s ease-in-out infinite;
  }
  .voter-guide .section-head .eyebrow::after{
    content:''; width:20px; height:2px; border-radius:2px; background:var(--accent); opacity:.4;
  }
  .voter-guide .section-head h2{
    font-family:'Inter',system-ui,-apple-system,sans-serif;
    font-weight:800; font-size:clamp(32px,4.6vw,50px); line-height:1.08; letter-spacing:-.02em;
    color:var(--text);
  }
  .voter-guide .section-head p{ margin-top:14px; color:var(--text-dim); font-size:15px; line-height:1.6; }

  
/* ================= VOTER GUIDE PAGE ================= */
  .voter-guide .vg-hero-section{ padding:0; }
  .voter-guide .vg-hero-frame{
    position:relative; min-height:760px; border-radius:var(--radius-xl); overflow:hidden;
    margin:0 40px; background:var(--card);
    box-shadow:0 18px 40px -22px rgba(20,10,10,0.28);
    display:flex; align-items:flex-end; justify-content:center; text-align:center;
  }
  .voter-guide .vg-hero-frame .bg-photo{ position:absolute; inset:0; z-index:0; }
  .voter-guide .vg-hero-frame .bg-photo img{ width:100%; height:100%; object-fit:cover; object-position:60% 40%; }
  .voter-guide .vg-hero-frame .glow{
    position:absolute; inset:0; z-index:1;
    background:
      linear-gradient(0deg, rgba(8,6,6,0.9) 0%, rgba(8,6,6,0.72) 32%, rgba(8,6,6,0.32) 62%, rgba(8,6,6,0.06) 100%);
    pointer-events:none;
  }
  .voter-guide .vg-hero-frame::after{
    content:''; position:absolute; inset:0; z-index:1;
    background-image:repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0 2px, transparent 2px 14px);
    pointer-events:none;
  }
  .voter-guide .vg-hero-content{ position:relative; z-index:2; max-width:760px; padding:0 48px 72px; text-shadow:0 2px 18px rgba(0,0,0,0.45); }
  .voter-guide .vg-hero-content .hero-eyebrow{ justify-content:center; }
  .voter-guide .vg-hero-content h1{
    font-weight:800; font-size:clamp(38px,6vw,66px); line-height:1.06; letter-spacing:-.02em;
    color:#fff; margin-bottom:0;
  }
  .voter-guide .vg-hero-content h1 em{ font-style:italic; font-weight:600; color:var(--accent-soft); }

  .voter-guide .vg-section{ padding:96px 0; }
  .voter-guide .vg-section.alt{ background:var(--bg-soft); }
  .voter-guide .vg-section .section-head{ max-width:720px; }
  .voter-guide .vg-note-inline{
    display:inline-flex; align-items:center; gap:8px; margin-top:16px;
    font-size:12.5px; font-weight:700; color:var(--text-dim);
    background:var(--bg-soft); border:1px solid var(--line); border-radius:999px; padding:8px 16px 8px 12px;
  }
  .voter-guide .vg-note-inline .ico{
    flex:none; width:18px; height:18px; border-radius:50%; background:rgba(230,75,75,0.12);
    display:flex; align-items:center; justify-content:center; color:var(--accent); font-weight:800; font-size:11px;
  }

  .voter-guide .vg-jurisdiction{ margin-bottom:56px; }
  .voter-guide .vg-jurisdiction:last-child{ margin-bottom:0; }
  .voter-guide .vg-jurisdiction-title{
    display:flex; align-items:center; gap:14px;
    font-size:12.5px; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
    color:var(--accent); margin-bottom:18px;
  }
  .voter-guide .vg-jurisdiction-title::after{ content:''; flex:1; height:1px; background:var(--line); }

  .voter-guide .pdf-list{ display:flex; flex-direction:column; border-top:1px solid var(--line); }
  .voter-guide .pdf-item{ border-bottom:1px solid var(--line); }
  .voter-guide .pdf-q{
    width:100%; display:flex; align-items:center; justify-content:space-between; gap:20px;
    padding:22px 2px; background:none; border:none; text-align:left; cursor:pointer; font-family:inherit;
  }
  .voter-guide .pdf-q-main{ display:flex; flex-direction:column; gap:5px; }
  .voter-guide .pdf-q-title{ font-size:16px; font-weight:700; color:var(--text); letter-spacing:-.005em; }
  .voter-guide .pdf-q-cands{ font-size:13px; color:var(--text-dim); }
  .voter-guide .pdf-q .plus{
    flex:none; width:28px; height:28px; border-radius:50%; border:1.5px solid var(--line);
    position:relative; transition:transform .35s var(--ease), border-color .35s var(--ease);
  }
  .voter-guide .pdf-q .plus::before, .voter-guide .pdf-q .plus::after{
    content:''; position:absolute; left:50%; top:50%; background:var(--text);
    transform:translate(-50%,-50%);
  }
  .voter-guide .pdf-q .plus::before{ width:11px; height:1.5px; }
  .voter-guide .pdf-q .plus::after{ width:1.5px; height:11px; transition:opacity .3s var(--ease); }
  .voter-guide .pdf-item.open .pdf-q .plus{ transform:rotate(90deg); border-color:var(--accent); }
  .voter-guide .pdf-item.open .pdf-q .plus::after{ opacity:0; }
  .voter-guide .pdf-a{ max-height:0; overflow:hidden; transition:max-height .45s var(--ease); }
  .voter-guide .pdf-a-inner{ padding:0 2px 28px; }
  .voter-guide .pdf-actions{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:16px; }
  .voter-guide .pdf-actions a{
    display:inline-flex; align-items:center; gap:7px;
    padding:10px 18px; border-radius:999px; font-size:12.5px; font-weight:700;
    border:1px solid var(--line); color:var(--text);
    transition:border-color .25s var(--ease), color .25s var(--ease), background .25s var(--ease);
  }
  .voter-guide .pdf-actions a:hover{ border-color:var(--accent); color:var(--accent); background:rgba(230,75,75,0.06); }
  .voter-guide .pdf-frame-wrap{
    border-radius:var(--radius-md); overflow:hidden; border:1px solid var(--line);
    background:var(--bg-soft); height:720px;
  }
  .voter-guide .pdf-frame-wrap iframe{ width:100%; height:100%; border:none; display:block; }

  .voter-guide .ag-note{
    background:var(--bg); border:1px solid var(--line); border-radius:var(--radius-lg);
    padding:28px 30px; margin-bottom:28px; font-size:13.5px; line-height:1.7; color:var(--text-dim);
  }
  .voter-guide .ag-note strong{ color:var(--text); }

  .voter-guide .ag-letter{
    background:var(--card); color:var(--on-dark); border-radius:var(--radius-lg);
    padding:42px 44px; margin-bottom:28px; position:relative; overflow:hidden;
  }
  .voter-guide .ag-letter::after{
    content:''; position:absolute; inset:0;
    background:radial-gradient(60% 70% at 90% 0%, rgba(230,75,75,0.18) 0%, transparent 60%);
    pointer-events:none;
  }
  .voter-guide .ag-letter-inner{ position:relative; z-index:1; }
  .voter-guide .ag-letter .tag{ color:var(--accent-soft); }
  .voter-guide .ag-letter h3{ font-size:24px; font-weight:800; margin-bottom:6px; }
  .voter-guide .ag-letter .ag-role{ font-size:13px; color:var(--on-dark-dim); margin-bottom:24px; }
  .voter-guide .ag-quote{
    border-left:3px solid var(--accent); padding:4px 0 4px 20px; margin-bottom:24px;
    font-size:17px; line-height:1.6; font-style:italic; color:#fff; font-weight:500;
  }
  .voter-guide .ag-quote cite{ display:block; font-style:normal; font-size:12.5px; font-weight:700; color:var(--accent-soft); margin-top:10px; letter-spacing:.02em; }
  .voter-guide .ag-letter p.bio{ font-size:14px; line-height:1.75; color:var(--on-dark-dim); margin-bottom:22px; max-width:680px; }
  .voter-guide .ag-letter .pdf-actions a{ border-color:rgba(255,255,255,0.22); color:#fff; }
  .voter-guide .ag-letter .pdf-actions a:hover{ border-color:var(--accent-soft); color:var(--accent-soft); background:rgba(255,255,255,0.08); }
  .voter-guide .ag-letter .pdf-frame-wrap{ border-color:rgba(255,255,255,0.16); background:rgba(255,255,255,0.04); }

  .voter-guide .ri-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
  .voter-guide .ri-btn{
    display:flex; flex-direction:column; gap:4px;
    padding:18px 22px; border-radius:var(--radius-md); border:1px solid var(--line);
    background:var(--bg); transition:border-color .25s var(--ease), transform .25s var(--ease-snap), box-shadow .25s var(--ease);
  }
  .voter-guide .ri-btn:hover{ border-color:var(--accent); transform:translateY(-2px); box-shadow:0 14px 30px -18px rgba(20,10,10,0.22); }
  .voter-guide .ri-btn .ri-office{ font-size:14.5px; font-weight:700; color:var(--text); display:flex; align-items:center; justify-content:space-between; gap:10px; }
  .voter-guide .ri-btn .ri-office svg{ flex:none; width:14px; height:14px; color:var(--accent); opacity:.7; }
  .voter-guide .ri-btn .ri-cands{ font-size:12.5px; color:var(--text-dim); line-height:1.5; }
  .voter-guide .ri-btn .ri-flag{
    display:inline-block; margin-top:4px; font-size:10.5px; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
    color:var(--accent-2); background:rgba(230,75,75,0.1); padding:3px 9px; border-radius:999px; width:fit-content;
  }
  .voter-guide .ri-callout{
    display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap;
    background:var(--card); color:#fff; border-radius:var(--radius-lg); padding:30px 34px; margin-bottom:28px;
  }
  .voter-guide .ri-callout p{ font-size:13.5px; color:var(--on-dark-dim); max-width:480px; line-height:1.6; }
  .voter-guide .ri-callout h3{ font-size:19px; font-weight:800; margin-bottom:6px; }
  .voter-guide .btn{
    display:inline-flex; align-items:center; gap:6px;
    padding:14px 28px; border-radius:999px;
    font-size:13.5px; font-weight:700; line-height:1.2;
    border:1px solid var(--accent); background:var(--accent); color:#fff;
    text-decoration:none; white-space:nowrap;
    transition:background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease-snap), border-color .3s var(--ease), box-shadow .3s var(--ease);
  }
  .voter-guide .btn:hover,
  .voter-guide .btn:focus{
    background:var(--accent-2); border-color:var(--accent-2); color:#fff;
    transform:translateY(-2px) scale(1.02);
    box-shadow:0 14px 28px -10px rgba(230,75,75,0.55);
  }
  .voter-guide .judicial-source .m-link{
    font-size:12.5px; font-weight:700; color:var(--text-dim); display:inline-flex; align-items:center; gap:5px;
  }
  .voter-guide .judicial-source .m-link:hover{ color:var(--accent); }

  .voter-guide .measures-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
  .voter-guide .measure-card{
    background:var(--bg); border:1px solid var(--line); border-radius:var(--radius-md);
    padding:22px 24px; transition:border-color .25s var(--ease), transform .25s var(--ease-snap);
  }
  .voter-guide .measure-card:hover{ border-color:var(--accent); transform:translateY(-2px); }
  .voter-guide .measure-card .m-id{ font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--accent); margin-bottom:6px; }
  .voter-guide .measure-card .m-juris{ font-size:14.5px; font-weight:700; color:var(--text); margin-bottom:10px; }
  .voter-guide .measure-card .m-link{ font-size:12.5px; font-weight:700; color:var(--text-dim); display:inline-flex; align-items:center; gap:5px; }
  .voter-guide .measure-card .m-link:hover{ color:var(--accent); }
  .voter-guide .measure-card .m-docs{ margin-top:10px; padding-top:10px; border-top:1px solid var(--line); display:flex; flex-direction:column; gap:5px; }
  .voter-guide .measure-card .m-docs a{ font-size:11.5px; color:var(--text-dim); }
  .voter-guide .measure-card .m-docs a:hover{ color:var(--accent); }

  .voter-guide .judicial-wrap{
    background:var(--bg); border:1px solid var(--line); border-radius:var(--radius-lg); padding:36px 40px;
  }
  .voter-guide .judicial-wrap > p{ font-size:13.5px; color:var(--text-dim); margin-bottom:24px; max-width:640px; line-height:1.65; }
  .voter-guide .judicial-list{ display:grid; grid-template-columns:repeat(2,1fr); gap:12px 32px; }
  .voter-guide .judicial-list li{ display:flex; justify-content:space-between; gap:14px; padding:12px 0; border-bottom:1px solid var(--line-soft); font-size:13.5px; }
  .voter-guide .judicial-list .j-name{ font-weight:700; color:var(--text); flex:none; }
  .voter-guide .judicial-list .j-title{ color:var(--text-dim); text-align:right; }
  .voter-guide .judicial-source{ margin-top:22px; display:flex; flex-direction:column; align-items:flex-start; gap:10px; }

  .voter-guide .vg-intro{ margin-top:18px; font-size:15.5px; line-height:1.7; color:var(--text); max-width:640px; margin-left:auto; margin-right:auto; }
  .voter-guide .vg-scripture{
    margin:20px auto 0; max-width:560px; padding:14px 20px;
    border-left:3px solid var(--accent); background:var(--bg-soft); border-radius:0 var(--radius-sm) var(--radius-sm) 0;
    font-size:15px; line-height:1.6; font-style:italic; font-weight:500; color:var(--text); text-align:left;
  }
  .voter-guide .vg-scripture cite{ display:block; margin-top:6px; font-style:normal; font-size:12.5px; font-weight:700; color:var(--accent); }

  .voter-guide .ri-btn a.ri-office:hover{ color:var(--accent); }
  .voter-guide .ri-cands a.ri-cand{ color:var(--text); font-weight:600; text-decoration:underline; text-decoration-color:rgba(230,75,75,0.45); text-underline-offset:3px; }
  .voter-guide .ri-cands a.ri-cand:hover{ color:var(--accent); text-decoration-color:var(--accent); }
  .voter-guide .judicial-list a.j-name{ text-decoration:underline; text-decoration-color:rgba(230,75,75,0.45); text-underline-offset:3px; }
  .voter-guide .judicial-list a.j-name:hover{ color:var(--accent); }
  .voter-guide .measure-card .m-docs span{ font-size:11.5px; color:var(--text-dim); }
  .voter-guide .link-card svg,
  .voter-guide .m-link svg{ flex:none; width:13px; height:13px; }

  .voter-guide .links-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
  .voter-guide .link-card{
    display:flex; align-items:center; justify-content:space-between; gap:12px;
    background:var(--bg); border:1px solid var(--line); border-radius:var(--radius-md);
    padding:20px 22px; font-size:14px; font-weight:700; color:var(--text);
    transition:border-color .25s var(--ease), transform .25s var(--ease-snap);
  }
  .voter-guide .link-card:hover{ border-color:var(--accent); color:var(--accent); transform:translateY(-2px); }

  @media (max-width: 900px){
    .voter-guide .vg-hero-frame{ margin:0 16px; min-height:420px; }
    .voter-guide .vg-disclaimer{ margin:-28px 16px 0; flex-direction:column; }
    .voter-guide .ri-grid{ grid-template-columns:1fr; }
    .voter-guide .measures-grid{ grid-template-columns:1fr; }
    .voter-guide .judicial-list{ grid-template-columns:1fr; }
    .voter-guide .judicial-list li{ flex-direction:column; gap:3px; }
    .voter-guide .judicial-list .j-title{ text-align:left; }
    .voter-guide .links-grid{ grid-template-columns:1fr; }
    .voter-guide .wrap{ padding:0 20px; }
    .voter-guide .ag-letter{ padding:30px 24px; }
    .voter-guide .pdf-frame-wrap{ height:520px; }
    .voter-guide .btn{ white-space:normal; text-align:center; }
  }


body.page-template-page-voter-guide-php {
  background: #ffffff;
}
.voter-guide {
  position: relative;
  z-index: 1;
}