/* HPR Voter Lookup. Values match the live hpr1.com computed styles (2026-10-03).
   Every rule is scoped under .hpr-vl so Divi/Extra article styles don't win.
   The markup uses div, not p/ul/li: the child theme forces story p and li to 20px !important on phones. */
.hpr-vl {
  --vl-ink: #000;
  --vl-head: rgb(62, 80, 98);
  --vl-muted: rgb(95, 111, 127);
  --vl-band: rgb(43, 56, 67);
  --vl-band-dark: rgb(29, 38, 46);
  --vl-link: rgb(30, 115, 190);
  --vl-line: rgb(226, 232, 238);
  --vl-field: rgb(154, 167, 180);
  box-sizing: border-box;
  max-width: 100%;
  margin: 0 0 32px;
  padding: 20px 16px;
  background: #fff;
  border-top: 4px solid var(--vl-band);
  color: var(--vl-ink);
  font-family: Abel, Helvetica, Arial, Lucida, sans-serif;
  font-size: 18px;
  line-height: 1.5;
}
.hpr-vl *, .hpr-vl *::before, .hpr-vl *::after { box-sizing: inherit; }
.hpr-vl [hidden] { display: none !important; }

.hpr-vl .hpr-vl__nd-hint { position: relative; margin: -20px -16px 16px; padding: 10px 44px 10px 16px; background: var(--vl-band); color: #fff; font-size: 16px; }
.hpr-vl .hpr-vl__nd-hint a { color: #fff; font-weight: 700; }
.hpr-vl .hpr-vl__dismiss { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); padding: 6px 12px; background: none; border: 0; color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }

.hpr-vl .hpr-vl__title { margin: 0 0 8px; padding: 0; color: var(--vl-head); font-family: "Stint Ultra Expanded", display; font-size: 20px; font-weight: 700; line-height: 24px; letter-spacing: .5px; text-transform: uppercase; }
.hpr-vl .hpr-vl__intro { margin: 0 0 16px; padding: 0; }
.hpr-vl .hpr-vl__label { display: block; margin: 0 0 6px; color: var(--vl-muted); font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }

.hpr-vl .hpr-vl__combo { position: relative; }
.hpr-vl .hpr-vl__input { width: 100%; margin: 0; padding: 12px 14px; background: #fff; border: 1px solid var(--vl-field); border-radius: 3px; color: var(--vl-ink); font: inherit; font-size: 18px; letter-spacing: normal; text-transform: none; }
.hpr-vl .hpr-vl__input:focus { outline: 3px solid var(--vl-link); outline-offset: 1px; }
.hpr-vl .hpr-vl__list { position: absolute; z-index: 20; top: 100%; left: 0; right: 0; max-height: 320px; overflow-y: auto; margin: 2px 0 0 !important; padding: 0 !important; list-style: none !important; background: #fff; border: 1px solid var(--vl-field); border-radius: 3px; box-shadow: 0 6px 18px rgba(0, 0, 0, .15); }
.hpr-vl .hpr-vl__opt { margin: 0 !important; padding: 10px 14px; list-style: none !important; line-height: 1.3; cursor: pointer; }
.hpr-vl .hpr-vl__opt::before { content: none !important; }
.hpr-vl .hpr-vl__opt.is-active, .hpr-vl .hpr-vl__opt:hover { background: var(--vl-line); }

/* Buttons follow the site's own button style (Extra customizer: black, Stint Ultra Expanded).
   #page-container is repeated because the customizer styles every button under that id. */
.hpr-vl .hpr-vl__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.hpr-vl .hpr-vl__go, .hpr-vl .hpr-vl__locate, .hpr-vl .hpr-vl__btn,
#page-container .hpr-vl .hpr-vl__go, #page-container .hpr-vl .hpr-vl__locate, #page-container .hpr-vl .hpr-vl__btn {
  display: inline-block; margin: 0; padding: 12px 18px; border: 2px solid #000; border-radius: 1px;
  font-family: "Stint Ultra Expanded", display; font-size: 15px; font-weight: 700; line-height: 1.2;
  letter-spacing: .5px; text-decoration: none; text-transform: uppercase; cursor: pointer;
}
.hpr-vl .hpr-vl__go, .hpr-vl .hpr-vl__btn,
#page-container .hpr-vl .hpr-vl__go, #page-container .hpr-vl .hpr-vl__btn { background: #000; color: #fff; }
.hpr-vl .hpr-vl__go:hover, .hpr-vl .hpr-vl__btn:hover,
#page-container .hpr-vl .hpr-vl__go:hover, #page-container .hpr-vl .hpr-vl__btn:hover { background: var(--vl-band); border-color: var(--vl-band); color: #fff; }
.hpr-vl .hpr-vl__locate, #page-container .hpr-vl .hpr-vl__locate { background: #fff; color: #000; }
.hpr-vl .hpr-vl__locate:hover, #page-container .hpr-vl .hpr-vl__locate:hover { background: var(--vl-line); color: #000; }
.hpr-vl .hpr-vl__input::placeholder { color: rgb(120, 130, 140); letter-spacing: normal; text-transform: none; }
#page-container .hpr-vl .hpr-vl__dismiss { background: none; border: 0; color: #fff; font-family: inherit; }

.hpr-vl .hpr-vl__result { margin-top: 20px; }
.hpr-vl .hpr-vl__result:empty { display: none; }
.hpr-vl .hpr-vl__msg { margin: 0; padding: 14px 16px; background: var(--vl-line); }
.hpr-vl .hpr-vl__card { padding: 16px; border: 1px solid var(--vl-line); border-left: 4px solid var(--vl-link); }
.hpr-vl .hpr-vl__for { margin: 0 0 4px; color: var(--vl-muted); font-size: 15px; letter-spacing: 1px; text-transform: uppercase; }
.hpr-vl .hpr-vl__where { margin: 0 0 12px; padding: 0; color: var(--vl-head); font-family: "Stint Ultra Expanded", display; font-size: 22px; font-weight: 700; line-height: 1.2; text-transform: uppercase; }
.hpr-vl .hpr-vl__ask { margin: 0 0 8px; font-weight: 700; }
.hpr-vl .hpr-vl__choices { margin: 0 0 8px !important; padding: 0 !important; list-style: none !important; }
.hpr-vl .hpr-vl__choices > div { margin: 0 0 6px; }
.hpr-vl .hpr-vl__choice, #page-container .hpr-vl .hpr-vl__choice { display: block; width: 100%; margin: 0; padding: 10px 14px; background: #fff; border: 1px solid var(--vl-field); border-radius: 3px; color: var(--vl-ink); font-family: Abel, Helvetica, Arial, Lucida, sans-serif; font-size: 18px; font-weight: 400; letter-spacing: normal; text-align: left; text-transform: none; cursor: pointer; }
.hpr-vl .hpr-vl__choice:hover, #page-container .hpr-vl .hpr-vl__choice:hover { background: var(--vl-line); }
.hpr-vl .hpr-vl__ask-none { margin: 0; font-size: 15px; }
.hpr-vl .hpr-vl__approx { margin: 0 0 12px; padding: 10px 12px; background: rgb(255, 246, 214); font-size: 16px; }
.hpr-vl .hpr-vl__place { margin: 0 0 12px; font-size: 20px; line-height: 1.4; }
.hpr-vl .hpr-vl__facts { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 16px 0; font-size: 16px; }
.hpr-vl .hpr-vl__facts dt { padding-top: 3px; color: var(--vl-muted); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
.hpr-vl .hpr-vl__facts dd { margin: 0; }
.hpr-vl a:not(.hpr-vl__btn) { color: var(--vl-link); }
.hpr-vl .hpr-vl__nd-hint a { color: #fff; }
.hpr-vl .hpr-vl__links, .hpr-vl .hpr-vl__source { margin: 12px 0 0; padding: 0; font-size: 15px; }
.hpr-vl .hpr-vl__source { color: var(--vl-muted); }

@media (max-width: 480px) {
  .hpr-vl .hpr-vl__go, .hpr-vl .hpr-vl__locate { flex: 1 1 100%; text-align: center; }
  .hpr-vl .hpr-vl__facts { grid-template-columns: 1fr; gap: 0; }
  .hpr-vl .hpr-vl__facts dd { margin-bottom: 8px; }
}

/* North Dakota results */
.hpr-vl .hpr-vl__sub { margin: 16px 0 6px; color: var(--vl-muted); font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }
.hpr-vl .hpr-vl__site { padding: 10px 0; border-top: 1px solid var(--vl-line); font-size: 17px; line-height: 1.4; }
.hpr-vl .hpr-vl__site-name { font-size: 19px; font-weight: 700; }
.hpr-vl .hpr-vl__site-meta { color: var(--vl-muted); font-size: 15px; }
.hpr-vl .hpr-vl__note { margin-top: 4px; font-size: 15px; font-style: italic; }
.hpr-vl .hpr-vl__dir { display: inline-block; margin-top: 4px; font-size: 15px; }
.hpr-vl .hpr-vl__showall, #page-container .hpr-vl .hpr-vl__showall { display: block; width: 100%; margin: 8px 0 0; padding: 10px 14px; background: #fff; border: 2px solid #000; border-radius: 1px; color: #000; font-family: "Stint Ultra Expanded", display; font-size: 14px; font-weight: 700; text-transform: uppercase; cursor: pointer; }

/* Election essentials (server-rendered under the box) */
.hpr-vl .hpr-vl-ess { margin-top: 28px; padding-top: 16px; border-top: 4px solid var(--vl-band); }
.hpr-vl .hpr-vl-ess__title { margin: 0 0 4px; padding: 0; color: var(--vl-head); font-family: "Stint Ultra Expanded", display; font-size: 20px; font-weight: 700; line-height: 1.2; text-transform: uppercase; }
.hpr-vl .hpr-vl-ess__date { margin: 0 0 12px; color: var(--vl-muted); font-size: 15px; letter-spacing: 1px; text-transform: uppercase; }
.hpr-vl .hpr-vl-ess__block { margin: 0 0 16px; font-size: 17px; line-height: 1.45; }
.hpr-vl .hpr-vl-ess__h { margin: 0 0 6px; font-weight: 700; font-size: 18px; }
.hpr-vl .hpr-vl-ess__sub { margin: 10px 0 4px; color: var(--vl-muted); font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }
.hpr-vl .hpr-vl-ess__item { position: relative; margin: 0 0 4px; padding-left: 14px; }
.hpr-vl .hpr-vl-ess__item::before { content: ""; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; background: var(--vl-band); }
.hpr-vl .hpr-vl-ess__site { padding: 8px 0; border-top: 1px solid var(--vl-line); }
.hpr-vl .hpr-vl-ess__site-name { font-weight: 700; }
.hpr-vl .hpr-vl-ess__time { color: var(--vl-muted); font-size: 15px; }
.hpr-vl .hpr-vl-ess__links a { font-size: 16px; }
.hpr-vl .hpr-vl__county { margin: 4px 0 16px; padding: 12px 14px; background: var(--vl-line); }

/* Polling-place directory (server-rendered, for search) */
.hpr-vl .hpr-vl-dir { margin-top: 28px; padding-top: 16px; border-top: 4px solid var(--vl-band); font-size: 17px; line-height: 1.45; }
.hpr-vl .hpr-vl-dir__title { margin: 0 0 6px; padding: 0; color: var(--vl-head); font-family: "Stint Ultra Expanded", display; font-size: 20px; font-weight: 700; line-height: 1.2; text-transform: uppercase; }
.hpr-vl .hpr-vl-dir__intro { margin: 0 0 12px; color: var(--vl-muted); font-size: 16px; }
.hpr-vl .hpr-vl-dir__county { border-top: 1px solid var(--vl-line); }
.hpr-vl .hpr-vl-dir__county summary { padding: 10px 0; font-weight: 700; cursor: pointer; }
.hpr-vl .hpr-vl-dir__county[open] { padding-bottom: 10px; }
.hpr-vl .hpr-vl-dir__row { padding: 4px 0; }
.hpr-vl .hpr-vl-dir__name { font-weight: 700; }
.hpr-vl .hpr-vl-dir__meta, .hpr-vl .hpr-vl-dir__note { color: var(--vl-muted); font-size: 15px; }
.hpr-vl .hpr-vl__mail { margin: 0 0 12px; font-size: 18px; line-height: 1.45; }
