/* Website author: Anna Nicole Mercer */

.voter-page-body{background:#eef3f8}

.voter-hero{
  position:relative;
  overflow:hidden;
  color:#fff;
  background:#07162d;
  border-bottom:6px solid #4a90d9;
}

.voter-hero::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.28;
  background:
    linear-gradient(112deg,transparent 0 62%,rgba(100,149,237,.42) 62% 63%,transparent 63% 100%),
    repeating-linear-gradient(90deg,transparent 0 69px,rgba(255,255,255,.04) 69px 70px);
}

.voter-hero-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,1.4fr) minmax(280px,.65fr);
  gap:54px;
  align-items:center;
  padding-top:58px;
  padding-bottom:58px;
}

.voter-kicker{
  color:#87ceeb;
  font:700 .76rem/1.3 "Oswald",Impact,sans-serif;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.voter-kicker.dark{color:#226fb8}

.voter-hero h1{
  margin:11px 0 18px;
  color:#fff;
  font:700 clamp(3.3rem,7vw,6.6rem)/.9 "Oswald",Impact,sans-serif;
  letter-spacing:-.025em;
  text-transform:uppercase;
}

.voter-hero h1 span{color:#6495ed}

.voter-hero > .container > div > p{
  max-width:790px;
  margin:0;
  color:#d9e4f0;
  font-size:clamp(1rem,1.7vw,1.2rem);
  line-height:1.6;
}

.voter-privacy-note{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:14px;
  padding:22px;
  background:rgba(3,14,31,.72);
  border:1px solid rgba(255,255,255,.24);
  border-left:5px solid #87ceeb;
  box-shadow:0 18px 45px rgba(0,0,0,.2);
}

.voter-shield{
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  color:#07162d;
  background:#87ceeb;
  border-radius:50%;
  font-weight:900;
}

.voter-privacy-note strong{
  display:block;
  color:#fff;
  font-size:.95rem;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.voter-privacy-note p{
  margin:7px 0 0;
  color:#bfcddd;
  font-size:.88rem;
  line-height:1.52;
}

.voter-map-section{
  padding:48px 0 42px;
  background:#fff;
  border-bottom:1px solid #d5dfe9;
}

.voter-map-heading{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:28px;
  margin-bottom:24px;
}

.voter-map-heading h2{
  margin:7px 0 0;
  color:#07162d;
  font:700 clamp(2rem,4vw,3rem)/1 "Oswald",Impact,sans-serif;
  text-transform:uppercase;
}

.voter-map-heading > p{
  max-width:420px;
  margin:0;
  color:#607085;
  font-size:.88rem;
  line-height:1.5;
  text-align:right;
}

.voter-map-shell{
  overflow-x:auto;
  padding:22px;
  background:#e8eff6;
  border:1px solid #ccd8e4;
  box-shadow:inset 0 0 0 4px rgba(255,255,255,.45);
}

.voter-map-shell:focus-visible{
  outline:3px solid rgba(74,144,217,.42);
  outline-offset:3px;
}

.voter-map{
  display:grid;
  grid-template-columns:repeat(13,64px);
  grid-template-rows:repeat(7,64px);
  gap:5px;
  justify-content:center;
  min-width:890px;
}

.voter-map-state{
  position:relative;
  display:grid;
  place-items:center;
  min-width:0;
  padding:3px;
  color:#fff;
  background:#244a78;
  border:1px solid #173455;
  border-radius:4px;
  box-shadow:0 2px 0 rgba(7,22,45,.2);
  cursor:pointer;
  transition:transform .14s ease,background .14s ease,box-shadow .14s ease;
}

.voter-map-state span{
  font:700 1.08rem/1 "Oswald",Impact,sans-serif;
  letter-spacing:.06em;
}

.voter-map-state small{
  position:absolute;
  z-index:5;
  left:50%;
  bottom:calc(100% + 8px);
  width:max-content;
  max-width:170px;
  padding:6px 8px;
  color:#fff;
  background:#07162d;
  border-radius:3px;
  font-size:.72rem;
  font-weight:700;
  opacity:0;
  pointer-events:none;
  transform:translate(-50%,5px);
  transition:opacity .14s ease,transform .14s ease;
}

.voter-map-state:hover,
.voter-map-state:focus-visible{
  z-index:4;
  color:#07162d;
  background:#87ceeb;
  box-shadow:0 5px 14px rgba(7,22,45,.22);
  transform:translateY(-2px);
}

.voter-map-state:hover small,
.voter-map-state:focus-visible small{
  opacity:1;
  transform:translate(-50%,0);
}

.voter-map-state:focus-visible{outline:3px solid #e51d2a;outline-offset:2px}

.voter-map-note{
  margin:10px 0 0;
  color:#68788b;
  font-size:.77rem;
}

.voter-check-section{padding:54px 0}

.voter-check-layout{
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(280px,.55fr);
  gap:22px;
  align-items:stretch;
}

.voter-check-card,
.voter-help-card{
  background:#fff;
  border:1px solid #d0dae5;
  box-shadow:0 14px 36px rgba(7,22,45,.09);
}

.voter-check-card{padding:34px}

.voter-step,
.voter-help-label{
  color:#226fb8;
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase;
}

.voter-check-card h2,
.voter-help-card h2,
.voter-directory h2{
  margin:7px 0 10px;
  color:#07162d;
  font:700 clamp(2rem,4vw,3rem)/1 "Oswald",Impact,sans-serif;
  text-transform:uppercase;
}

.voter-check-card > p{
  max-width:760px;
  margin:0;
  color:#536277;
  line-height:1.6;
}

.voter-state-form{margin-top:26px}

.voter-state-form label{
  display:block;
  margin-bottom:8px;
  color:#15263d;
  font-size:.82rem;
  font-weight:900;
  letter-spacing:.04em;
}

.voter-select-row{display:flex}

.voter-select-row select{
  flex:1 1 auto;
  min-width:0;
  min-height:52px;
  padding:10px 13px;
  border:1px solid #9facba;
  border-right:0;
  border-radius:3px 0 0 3px;
  background:#fff;
  color:#07162d;
  font:700 1rem/1.3 Inter,Arial,sans-serif;
}

.voter-select-row select:focus{
  position:relative;
  z-index:1;
  outline:0;
  border-color:#226fb8;
  box-shadow:0 0 0 3px rgba(74,144,217,.2);
}

.voter-check-button{
  flex:0 0 auto;
  min-height:52px;
  border-radius:0 3px 3px 0!important;
}

.voter-form-status{
  min-height:21px;
  margin:8px 0 0;
  color:#a10d17;
  font-size:.84rem;
  font-weight:700;
}

.voter-next-step{
  display:grid;
  gap:4px;
  margin-top:18px;
  padding:14px 16px;
  color:#536277;
  background:#f0f4f8;
  border-left:4px solid #4a90d9;
  font-size:.86rem;
  line-height:1.5;
}

.voter-next-step strong{color:#07162d}

.voter-privacy-pledge{
  margin-top:18px;
  padding:17px 18px;
  color:#27465e;
  background:#e8f7fc;
  border:1px solid #9fd9ec;
  border-left:5px solid #4a90d9;
}

.voter-privacy-pledge strong{
  display:block;
  margin-bottom:5px;
  color:#07162d;
  font-size:.8rem;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.voter-privacy-pledge p{
  margin:0;
  font-size:.86rem;
  line-height:1.58;
}

.voter-help-card{
  padding:31px 28px;
  color:#dce7f3;
  background:#132f57;
  border-color:#132f57;
}

.voter-help-card .voter-help-label{color:#87ceeb}
.voter-help-card h2{color:#fff;font-size:2rem}

.voter-help-card ul{
  display:grid;
  gap:12px;
  margin:22px 0 26px;
  padding:0;
  list-style:none;
}

.voter-help-card li{
  position:relative;
  padding-left:24px;
  line-height:1.45;
}

.voter-help-card li::before{
  content:"✓";
  position:absolute;
  left:0;
  color:#87ceeb;
  font-weight:900;
}

.voter-help-card a{
  color:#87ceeb;
  font-weight:800;
  text-decoration:underline;
  text-underline-offset:3px;
}

.voter-directory{
  padding:52px 0 62px;
  background:#fff;
  border-top:1px solid #d5dfe9;
}

.voter-directory-heading{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:28px;
  margin-bottom:25px;
}

.voter-directory-heading h2{margin-bottom:0}

.voter-directory-heading > p{
  max-width:340px;
  margin:0;
  color:#607085;
  font-size:.88rem;
  text-align:right;
}

.voter-state-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  border-top:1px solid #d7e0e9;
  border-left:1px solid #d7e0e9;
}

.voter-state-grid a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:50px;
  padding:10px 14px;
  color:#173b68;
  background:#fff;
  border-right:1px solid #d7e0e9;
  border-bottom:1px solid #d7e0e9;
  font-size:.88rem;
  font-weight:800;
}

.voter-state-grid a::after{content:"↗";color:#4a90d9}

.voter-state-grid a:hover,
.voter-state-grid a:focus-visible{
  color:#07162d;
  background:#eaf3fc;
}

.voter-disclaimer{
  padding:24px 0;
  color:#526278;
  background:#e4ebf2;
  font-size:.85rem;
}

.voter-disclaimer .container{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:18px;
  align-items:start;
}

.voter-disclaimer strong{
  color:#07162d;
  text-transform:uppercase;
}

.voter-disclaimer p{margin:0;line-height:1.55}

.home-voter-check{
  color:#fff;
  background:#132f57;
  border-top:1px solid rgba(255,255,255,.08);
  border-bottom:5px solid #4a90d9;
}

.home-voter-check-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  padding-top:30px;
  padding-bottom:30px;
}

.home-voter-check .kicker{margin-bottom:8px;color:#87ceeb}

.home-voter-check h2{
  margin:0;
  color:#fff;
  font:700 clamp(1.8rem,4vw,2.8rem)/1 "Oswald",Impact,sans-serif;
  text-transform:uppercase;
}

.home-voter-check p{margin:8px 0 0;color:#d4e0ec}
.home-voter-check .btn{flex:0 0 auto;background:#6495ed;border-color:#6495ed}

@media(max-width:900px){
  .voter-hero-grid,
  .voter-check-layout{grid-template-columns:1fr}
  .voter-hero-grid{gap:30px}
  .voter-state-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media(max-width:700px){
  .voter-hero-grid{padding-top:42px;padding-bottom:42px}
  .voter-hero h1{font-size:clamp(3rem,15vw,4.5rem)}
  .voter-check-card{padding:25px 20px}
  .voter-select-row{display:grid;gap:10px}
  .voter-select-row select{border-right:1px solid #9facba;border-radius:3px}
  .voter-check-button{width:100%;border-radius:3px!important}
  .voter-directory-heading{align-items:start;flex-direction:column}
  .voter-directory-heading > p{text-align:left}
  .voter-map-heading{align-items:start;flex-direction:column}
  .voter-map-heading > p{text-align:left}
  .voter-map-shell{padding:16px 10px}
  .voter-state-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .voter-disclaimer .container{grid-template-columns:1fr;gap:6px}
  .home-voter-check-inner{align-items:flex-start;flex-direction:column}
}

@media(max-width:430px){
  .voter-state-grid{grid-template-columns:1fr}
}
