:root {
  --gkl-purple: #6426a8;
  --gkl-green: #79aa41;
  --gkl-navy: #1e3062;
  --gkl-text: #3f414a;
  --gkl-soft: #f6f4f8;
}

.gkl-vi,
.gkl-vi * { box-sizing: border-box; }

.gkl-vi {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px 64px;
  color: var(--gkl-text);
}

.gkl-vi-hero {
  margin: 0 -22px 34px;
  padding: clamp(38px, 6vw, 72px) 24px;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, var(--gkl-purple), #4c1b84);
}

.gkl-vi-kicker,
.gkl-vi-eyebrow,
.gkl-vi-home-banner__eyebrow {
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.gkl-vi-kicker { color: #dff0ca; font-size: .84rem; }
.gkl-vi-hero h1 { margin: 8px 0 10px; color: #fff !important; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.03; }
.gkl-vi-lead { max-width: 760px; margin: 0 auto; color: #fff !important; font-size: clamp(1.05rem, 2vw, 1.28rem); }

.gkl-vi-hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}
.gkl-vi-hero-badges span {
  display: inline-flex;
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.1);
  font-weight: 700;
}

.gkl-vi-notice {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 18px;
  margin: 0 0 36px;
  padding: 18px 20px;
  color: var(--gkl-navy);
  background: #eef6e5;
  border-left: 5px solid var(--gkl-green);
  border-radius: 8px;
}

.gkl-vi-section { margin-top: 48px; }
.gkl-vi-section-heading { max-width: 780px; margin-bottom: 20px; }
.gkl-vi-eyebrow { color: var(--gkl-green); font-size: .78rem; }
.gkl-vi-section-heading h2,
.gkl-vi-help h2 { margin: 5px 0 6px; color: var(--gkl-purple) !important; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.gkl-vi-section-heading p { margin: 0; }

.gkl-vi-schedule { display: grid; gap: 14px; }
.gkl-vi-date-card {
  padding: 20px;
  background: #fff;
  border: 1px solid #e5e0e8;
  border-radius: 12px;
  box-shadow: 0 5px 18px rgba(30,48,98,.06);
}
.gkl-vi-date-card.is-today { border: 2px solid var(--gkl-green); box-shadow: 0 8px 26px rgba(121,170,65,.18); }
.gkl-vi-date-card.is-past { opacity: .64; }
.gkl-vi-date-card__top { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.gkl-vi-date-card h3 { margin: 0; color: var(--gkl-navy) !important; font-size: 1.25rem; }
.gkl-vi-status { flex: 0 0 auto; padding: 6px 10px; border-radius: 999px; background: #f1eef6; color: var(--gkl-purple); font-weight: 800; font-size: .83rem; }
.gkl-vi-date-card.is-today .gkl-vi-status { background: var(--gkl-green); color: #fff; }
.gkl-vi-date-card.is-past .gkl-vi-status { background: #ececec; color: #666; }
.gkl-vi-date-card__places { display: grid; gap: 9px; margin-top: 14px; }
.gkl-vi-place-link { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 8px; text-decoration: none !important; background: var(--gkl-soft); color: var(--gkl-text) !important; }
.gkl-vi-place-link strong { color: var(--gkl-purple); }
.gkl-vi-place-link span { font-size: .93rem; }
.gkl-vi-place-link:hover { background: #eee7f7; }

.gkl-vi-map-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.gkl-vi-map-card { overflow: hidden; background: #fff; border: 1px solid #e5e0e8; border-radius: 14px; box-shadow: 0 8px 24px rgba(30,48,98,.08); }
.gkl-vi-map-frame { aspect-ratio: 4 / 3; background: #eee; }
.gkl-vi-map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.gkl-vi-map-card__body { padding: 18px; }
.gkl-vi-map-card h3 { margin: 0 0 7px; color: var(--gkl-purple) !important; font-size: 1.18rem; }
.gkl-vi-map-card p { margin: 0 0 16px; }

.gkl-vi-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  padding: 10px 16px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: var(--gkl-purple) !important;
  color: #fff !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  white-space: normal !important;
  line-height: 1.2 !important;
}
.gkl-vi-button:hover,
.gkl-vi-button:focus { background: var(--gkl-navy) !important; color: #fff !important; }
.gkl-vi-button--green { background: var(--gkl-green) !important; }
.gkl-vi-button--green:hover,
.gkl-vi-button--green:focus { background: var(--gkl-navy) !important; }

.gkl-vi-help { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: stretch; }
.gkl-vi-help__main,
.gkl-vi-election-day { padding: clamp(22px, 4vw, 34px); border-radius: 14px; }
.gkl-vi-help__main { background: #f7f5f9; }
.gkl-vi-text-link { color: var(--gkl-purple) !important; font-weight: 800; }
.gkl-vi-election-day { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; color: #fff; background: var(--gkl-navy); }
.gkl-vi-election-day * { color: #fff !important; }
.gkl-vi-election-day__label { color: #dff0ca !important; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; }
.gkl-vi-election-day strong { margin-top: 6px; font-size: clamp(1.25rem, 2vw, 1.55rem); }
.gkl-vi-election-day > span:not(.gkl-vi-election-day__label) { margin-top: 4px; font-weight: 800; }
.gkl-vi-election-day p { margin: 12px 0 18px; }

.gkl-vi-source { display: flex; flex-wrap: wrap; gap: 5px 9px; margin-top: 40px; padding-top: 20px; border-top: 1px solid #e4e0e7; font-size: .9rem; }
.gkl-vi-source a { color: var(--gkl-purple) !important; }

.gkl-vi-home-banner {
  width: 100%;
  margin: 0 !important;
  padding: 0 22px;
  color: #fff;
  background: var(--gkl-navy);
}
.gkl-vi-home-banner__inner {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.gkl-vi-home-banner__inner > div { display: grid; gap: 2px; }
.gkl-vi-home-banner__eyebrow { color: #cde5ac; font-size: .74rem; }
.gkl-vi-home-banner strong { color: #fff !important; font-size: clamp(1rem, 2vw, 1.2rem); }
.gkl-vi-home-banner span:not(.gkl-vi-home-banner__eyebrow) { color: #fff; font-size: .93rem; }
.gkl-vi-home-banner a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 8px;
  color: #fff !important;
  background: var(--gkl-purple);
  font-weight: 800;
  text-decoration: none !important;
}
.gkl-vi-home-banner a:hover,
.gkl-vi-home-banner a:focus { background: var(--gkl-green); color: #fff !important; }

@media (max-width: 900px) {
  .gkl-vi-map-grid { grid-template-columns: 1fr; }
  .gkl-vi-map-frame { aspect-ratio: 16 / 8; }
  .gkl-vi-help { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .gkl-vi { padding-left: 16px; padding-right: 16px; }
  .gkl-vi-hero { margin-left: -16px; margin-right: -16px; padding-left: 18px; padding-right: 18px; }
  .gkl-vi-notice { display: grid; }
  .gkl-vi-date-card { padding: 17px; }
  .gkl-vi-date-card__top { align-items: flex-start; flex-direction: column; }
  .gkl-vi-status { align-self: flex-start; }
  .gkl-vi-map-frame { aspect-ratio: 4 / 3; }
  .gkl-vi-home-banner { padding: 0 16px; }
  .gkl-vi-home-banner__inner { align-items: stretch; flex-direction: column; }
  .gkl-vi-home-banner a { width: 100%; }
}

/* v1.0.1: isolate plugin foregrounds from campaign theme surface rules.
   Reset text fill as well as colour; changing colour alone is insufficient. */
#gkl-voting-information,
#gkl-voting-home-banner {
  --gv-surface-text: #3f414a;
  --gv-surface-heading: #6426a8;
  --gv-surface-link: #6426a8;
  --gv-eyebrow-color: #1e3062;
}
#gkl-voting-information,
#gkl-voting-information *,
#gkl-voting-home-banner,
#gkl-voting-home-banner * {
  -webkit-text-fill-color: currentColor !important;
}
#gkl-voting-information .gkl-vi-hero,
#gkl-voting-information .gkl-vi-election-day,
#gkl-voting-home-banner {
  --gv-surface-text: #ffffff;
  --gv-surface-heading: #ffffff;
  --gv-surface-link: #ffffff;
  --gv-eyebrow-color: #dff0ca;
  color: #ffffff !important;
}
#gkl-voting-information .gkl-vi-hero *,
#gkl-voting-information .gkl-vi-election-day *,
#gkl-voting-home-banner * {
  color: #ffffff !important;
}
#gkl-voting-information .gkl-vi-kicker,
#gkl-voting-information .gkl-vi-election-day__label,
#gkl-voting-home-banner .gkl-vi-home-banner__eyebrow {
  color: #dff0ca !important;
}
#gkl-voting-information .gkl-vi-notice {
  --gv-surface-text: #1e3062;
  color: #1e3062 !important;
}
#gkl-voting-information .gkl-vi-section-heading h2,
#gkl-voting-information .gkl-vi-help__main h2,
#gkl-voting-information .gkl-vi-map-card h3,
#gkl-voting-information .gkl-vi-place-link strong,
#gkl-voting-information .gkl-vi-text-link,
#gkl-voting-information .gkl-vi-source a {
  color: #6426a8 !important;
}
#gkl-voting-information .gkl-vi-date-card h3,
#gkl-voting-information .gkl-vi-eyebrow {
  color: #1e3062 !important;
}
#gkl-voting-information .gkl-vi-place-link,
#gkl-voting-information .gkl-vi-place-link span {
  color: #3f414a !important;
}
#gkl-voting-information .gkl-vi-status {
  color: #6426a8 !important;
}
#gkl-voting-information .is-past .gkl-vi-status {
  color: #666666 !important;
}
#gkl-voting-information .is-today .gkl-vi-status {
  color: #1e3062 !important;
}
#gkl-voting-information .gkl-vi-button,
#gkl-voting-home-banner a {
  color: #ffffff !important;
  background: #6426a8 !important;
}
#gkl-voting-information .gkl-vi-button--green {
  color: #1e3062 !important;
  background: #79aa41 !important;
}
#gkl-voting-information .gkl-vi-button:hover,
#gkl-voting-information .gkl-vi-button:focus,
#gkl-voting-home-banner a:hover,
#gkl-voting-home-banner a:focus {
  color: #ffffff !important;
  background: #1e3062 !important;
}
#gkl-voting-information .gkl-vi-button:focus-visible,
#gkl-voting-home-banner a:focus-visible {
  outline: 3px solid #1e3062;
  outline-offset: 3px;
}
#gkl-voting-information .gkl-vi-election-day .gkl-vi-button:focus-visible,
#gkl-voting-home-banner a:focus-visible {
  outline-color: #ffffff;
}