/*
Theme Name: BLUEPRINT INTERACTIVE Theme
Author: Blueprint Interactive
Author URI: https://blueprintinteractive.com
Description: Blueprint Interactive Custom Theme.
Version: 2.0
License: GNU General Public License
/* -------------------------------------------------------------- */
/* Normalize Reset 
-------------------------------------------------------------- */

* {
  box-sizing: border-box;
}

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

.menu-header-container ul {
  list-style: none;
}

.menu-header-container ul li {
  display: inline-block;
  margin-right: 20px;
}

.menu-header-container ul li:last-child {
  margin-right: 0;
}

/* -------------------------------------------------------------- */
/* Animate CSS
-------------------------------------------------------------- */
.fade-in-from-left {
  opacity: 0;
  animation-timing-function: ease-out;
  -webkit-transform: translateX(-15px);
  -moz-transform: translateX(-15px);
  -o-transform: translateX(-15px);
  -ms-transform: translateX(-15px);
  transform: translateX(-15px);
}

.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.fade-in-from-left.animated {
  animation-name: fade-from-left;
  animation-duration: 0.5s;
  opacity: 1;
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -o-transform: translateX(0);
  -ms-transform: translateX(0);
  transform: translateX(0);
}

@keyframes fade-from-left {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-15px);
    -moz-transform: translateX(-15px);
    -o-transform: translateX(-15px);
    -ms-transform: translateX(-15px);
    transform: translateX(-15px);
  }

  45% {
    opacity: 0.5;
  }

  90% {
    opacity: 1;
  }

  100% {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -o-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
  }
}

.fade-in-from-bottom {
  opacity: 0;
  animation-timing-function: ease-out;
  -webkit-transform: translateY(15px);
  -moz-transform: translateY(15px);
  -o-transform: translateY(15px);
  -ms-transform: translateY(15px);
  transform: translateY(15px);
}

.fade-in-from-bottom.animated {
  animation-name: fade-from-bottom;
  animation-duration: 1s;
  opacity: 1;
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -o-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
}

@keyframes fade-from-bottom {
  0% {
    opacity: 0;
    -webkit-transform: translateY(15px);
    -moz-transform: translateY(15px);
    -o-transform: translateY(15px);
    -ms-transform: translateY(15px);
    transform: translateY(15px);
  }
  90% {
    opacity: 1;
  }
  100% {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -o-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
}

.fade-in-from-right {
  opacity: 0;
  animation-timing-function: ease-out;
  -webkit-transform: translateX(40px);
  -moz-transform: translateX(40px);
  -o-transform: translateX(40px);
  -ms-transform: translateX(40px);
  transform: translateX(40px);
}

.fade-in-from-right.animated {
  animation-name: fade-from-right;
  animation-duration: 0.5s;
  opacity: 1;
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -o-transform: translateX(0);
  -ms-transform: translateX(0);
  transform: translateX(0);
}

@keyframes fade-from-right {
  0% {
    opacity: 0;
    -webkit-transform: translateX(40px);
    -moz-transform: translateX(40px);
    -o-transform: translateX(40px);
    -ms-transform: translateX(40px);
    transform: translateX(40px);
  }

  90% {
    opacity: 1;
  }

  100% {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -o-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
  }
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
  margin: 0;
  padding: 0;
}
img {
  border: 0px;
}
/* Force the vertical scrollbar in FF */
html {
  overflow-y: scroll;
  scroll-behavior: smooth;
}

/* Respect a reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
.clearfix {
  display: inline-block;
}
* html .clearfix {
  height: 1%;
}
.clearfix {
  display: block;
}

* {
  box-sizing: border-box;
}

/* ---------- Vars ---------- */

:root {
  --color-black: #000000;
  --color-cream: #dddad2;
  --color-cream-alt: #dcd9ce;
  --color-green: #327039;
  --color-red: #ab1e1c;
  --color-gold: #d19626;
  --color-gray: #afafaf;

  --font-body: "Inter", sans-serif;
  --font-display: "BBH Bogle", "Inter", sans-serif;

  /* Figma frame is 1440 wide with 80px gutters */
  --page-max: 1440px;
  --page-pad: 80px;
  --content-max: 1440px;
}

body {
  width: 100%;
  font-family: var(--font-body);
  font-weight: 400;
  background-color: var(--color-black);
  color: var(--color-cream);
}

a {
  text-decoration: none;
  color: inherit;
}

.wrap {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 20px;
  line-height: normal;
  color: var(--color-cream-alt);
  padding: 16px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn--primary {
  background-color: var(--color-red);
}

.btn--primary:hover {
  background-color: #730200;
}

.btn--secondary {
  background-color: var(--color-green);
}

.btn--secondary:hover {
  background-color: #264d29;
}

/* ---------- Display heading ---------- */

.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  color: var(--color-cream);
}

.display--accent {
  color: var(--color-green);
}

/* ---------- Site header ---------- */

.site-header {
  position: absolute;
  top: 36px;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  /* max-width: var(--content-max); */
  margin: 0 auto;
  padding: 0 var(--page-pad);
}

.site-header__logo img {
  display: block;
  width: 45px;
  height: 73px;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-header__nav a {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--color-cream);
  white-space: nowrap;
  position: relative;
}

.site-header__nav a:hover {
  position: relative;
}

.site-header__nav a::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  background: var(--color-cream);
  transform: scaleX(0);
  transition: transform 0.25s ease;
  transform-origin: left;
}

.site-header__nav a:hover::after,
.site-header__nav a:focus::after {
  transform: scaleX(1);
}

/* ---------- Hamburger toggle ---------- */
/* Hidden until the mobile breakpoint in layout.css */

.site-header__toggle {
  display: none;
  position: relative;
  z-index: 30;
  width: 44px;
  height: 44px;
  padding: 12px 9px;
  border: none;
  background: none;
  cursor: pointer;
}

.site-header__toggle span {
  display: block;
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background-color: var(--color-cream);
  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
}

.site-header__toggle span + span {
  margin-top: 6px;
}

/* Bars collapse into an X while the panel is open */
.site-header__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg) !important;
}

.site-header__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.site-header__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg) !important;
}

/* ---------- Hero ---------- */
/* The exported hero composite already contains the photo, green splash,
   wordmark and torn-paper edge as one 1440x1027 image, so the headline is
   simply overlaid on top of it. Sizes use vw so the text tracks the image. */

.hero {
  position: relative;
  background-color: var(--color-black);
}

/* height:auto lets the width/height attributes reserve space before load,
   so anchor jumps land correctly and the page doesn't reflow */
.hero__bg {
  display: block;
  width: 100%;
  height: auto;
}

.hero__text {
  position: absolute;
  top: 26.4%;
  left: 5.56%;
  width: 39.1%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.hero__heading {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
}

.hero__heading-line {
  display: block;
}

.hero__heading-line--accent {
  color: var(--color-green);
  font-size: 5.417vw; /* 78px @ 1440 */
  line-height: 0.949; /* 74/78 */
  letter-spacing: -0.03em; /* -2.34px @ 78px */
}

.hero__heading-line--main {
  color: var(--color-cream);
  font-size: 6.806vw; /* 98px @ 1440 */
  line-height: 0.98; /* 96/98 */
}

.hero .btn {
  margin-top: 12px;
}

/* ---------- Intro ---------- */

.intro {
  background-color: var(--color-black);
  padding: 0 var(--page-pad) 120px;
}

.intro__text {
  max-width: 1038px;
  margin: 0 auto;
  font-size: 40px;
  line-height: normal;
  text-align: center;
  color: var(--color-cream);
}

/* ---------- Mission ---------- */

.mission {
  background-color: var(--color-black);
  padding: 0 var(--page-pad) 120px;
  scroll-margin-top: 40px;
}

.mission__inner {
  display: flex;
  gap: 64px;
  align-items: flex-start;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
}

.mission__heading {
  flex: 1 0 0;
  min-width: 0;
  font-size: 78px;
  line-height: 74px;
}

.mission__body {
  width: 768px;
  max-width: 100%;
  font-size: 24px;
  line-height: normal;
  color: var(--color-cream);
}

.mission__body p + p {
  margin-top: 1.2em;
}

/* ---------- Knowledge / Building Black Political Power ---------- */

.knowledge {
  background-color: var(--color-black);
  padding: 0 var(--page-pad) 120px;
}

.knowledge__inner {
  display: flex;
  gap: 80px;
  align-items: center;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
}

.knowledge__media {
  flex: 0 0 472px;
}

.knowledge__photo {
  display: block;
  width: 100%;
  height: auto;
}

.knowledge__body {
  flex: 1 0 0;
  min-width: 0;
}

.knowledge__heading {
  position: relative;
  font-size: 80px;
  line-height: 79px;
  white-space: nowrap;
}

/* "POWER" graffiti overlaps the end of the second heading line */
.knowledge__heading-art {
  position: absolute;
  left: 313px;
  top: 82px;
  width: 298px;
  height: 102px;
  max-width: none;
}

.knowledge__rule {
  display: block;
  width: 100%;
  max-width: 557px;
  margin: 12px 0 24px;
}

.knowledge__body p {
  font-size: 18px;
  line-height: normal;
  color: var(--color-cream);
}

.knowledge__body p + p {
  margin-top: 1.2em;
}

/* ---------- Sign up ---------- */

.signup {
  background-color: var(--color-black);
  padding: 0 var(--page-pad) 120px;
}

.signup__card {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 40px 64px;
  background-image: url("/wp-content/themes/blueprintinteractive/images/signup-bg.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.signup__icon {
  position: absolute;
  left: 117px;
  top: 75px;
  width: 56px;
  height: 67px;
  transform: rotate(-8.92deg) !important;
}

.signup__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.signup__heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 42px;
  line-height: 61px;
  text-transform: uppercase;
  text-align: center;
  color: var(--color-cream);
}

.signup__rule {
  display: block;
  width: 516px;
  max-width: 100%;
}

.signup__form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 880px;
  max-width: 100%;
}

.signup__row {
  display: flex;
  gap: 20px;
  align-items: center;
  width: 100%;
}

.signup__row input {
  flex: 1 0 0;
  min-width: 0;
  background-color: var(--color-cream);
  border: none;
  border-radius: 4px;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  text-transform: uppercase;
  text-align: center;
  color: #000;
}

.signup__row input::placeholder {
  color: rgba(0, 0, 0, 0.4);
  text-transform: uppercase;
}

#menu-header-1 li {
  margin-left: 10px;
  margin-right: 10px;
  text-align: center;
  margin-bottom: 15px;
}
.signup__row input[name="zip_code"] {
  flex: 0 0 260px;
}

.signup__photo {
  position: absolute;
  right: -20px;
  bottom: -30px;
  width: 300px;
  height: auto;
  pointer-events: none;
}

/* ---------- Footer ---------- */

.site-footer {
  background-color: var(--color-black);
  padding: var(--page-pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.site-footer__logo {
  display: block;
  width: 98px;
  height: 160px;
}

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
  padding-top: 20px;
}

.site-footer__rule {
  display: block;
  width: 100%;
}

.site-footer__nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

.site-footer__nav a {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--color-gray);
  white-space: nowrap;
  position: relative;
}

.site-footer__nav a:hover {
  position: relative;
}

.site-footer__nav a::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  background: var(--color-gray);
  transform: scaleX(0) !important;
  transition: transform 0.25s ease;
  transform-origin: left;
}

.site-footer__nav a:hover::after,
.site-footer__nav a:focus::after {
  transform: scaleX(1) !important;
}

.site-footer__info {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-footer__privacy {
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.064px;
  text-decoration: underline;
  color: var(--color-gray);
}

.site-footer__copyright {
  font-size: 14px;
  line-height: 23px;
  letter-spacing: 0.42px;
  color: var(--color-gray);
}

.site-footer__social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
  border-radius: 50%;
}

.site-footer__social a:hover,
.site-footer__social a:focus {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px) scale(1.06) !important;
  outline: none;
}

.site-footer__social img {
  display: block;
  opacity: 0.9;
  width: 45px;
  height: auto;
}

.site-header__logo:hover {
  opacity: 0.9;
  transition: all 0.3s ease;
}
.site-header__logo {
  opacity: 1;
  transition: all 0.3s ease;
}
/* ---------- Static header variant ---------- */
/* relative (not static) so the mobile nav panel anchors to the header */

.site-header--static {
  position: relative;
  top: 0;
  padding-top: 36px;
}

/* ==========================================================================
   Voter Guide (Page 02)
   ========================================================================== */

/* ---------- Hero ---------- */

.vg-hero {
  background-color: var(--color-black);
  padding-bottom: 64px;
}

/* max-width is the full frame; the 80px gutters come from the padding */
.vg-hero__inner {
  display: flex;
  gap: 48px;
  align-items: center;
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 64px var(--page-pad) 0;
}

.vg-hero__text {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.vg-hero__heading {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
}

.vg-hero__year {
  display: block;
  font-size: 164px;
  line-height: 91px;
  letter-spacing: -0.03em;
  color: var(--color-green);
}

.vg-hero__title {
  display: block;
  font-size: 98px;
  line-height: 96px;
  color: var(--color-cream);
}

.vg-hero__intro {
  font-size: 24px;
  line-height: normal;
  color: var(--color-cream);
}

.vg-hero__media {
  flex: 0 0 644px;
}

.vg-hero__media img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Jump-to-section menu ---------- */

.vg-jump {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 0 var(--page-pad);
  background-color: var(--color-black);
  margin-bottom: 40px;
}

.vg-jump__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  margin: 0 auto;
  padding: 14px 22px;
  border: 2px solid var(--color-cream);
  border-radius: 4px;
  background-color: var(--color-black);
  background-image: url("/wp-content/themes/blueprintinteractive/images/vg-sticky-bg.png");
  background-size: cover;
  background-position: center;
}

.vg-jump__label {
  flex: 1 0 0;
  min-width: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 33px;
  line-height: 32px;
  text-transform: uppercase;
  color: var(--color-cream);
}

.vg-jump__label span {
  display: block;
}

.vg-jump__label-accent {
  color: var(--color-green);
}

.vg-jump__links {
  display: flex;
  align-items: center;
  font-size: 16px;
  line-height: 1.2;
  gap: 16px;
}

.vg-jump__links a {
  display: flex;
  align-items: center;
  padding: 12px 24px;
  border: 1px solid var(--color-cream);
  border-radius: 3px;
  background-color: var(--color-black);
  font-weight: 500;

  text-align: center;
  text-transform: capitalize;
  color: var(--color-cream);
  white-space: nowrap;
  font-size: 16px;
  line-height: 1.2;
}

.vg-jump__links a:hover,
.vg-jump__links a.is-active {
  background-color: var(--color-green);
  transition: all 0.3s ease;
  border-color: var(--color-green);
}

.vg-jump__links a {transition: all 0.3s ease;}

/* ---------- Section band ---------- */

.vg-band {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 144px;
  padding: 24px 32px;
  margin-top: 30px;
  margin-bottom: 10px;
  border-radius: 4px;
  background-color: #111;
  background-size: cover;
  background-position: center bottom;
  scroll-margin-top: 180px;
}

.vg-band__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.vg-band__rule {
  display: block;
  flex: 0 1 auto;
  max-width: 388px;
  height: auto;
}

.vg-band__title {
  font-weight: 700;
  font-size: 36px;
  line-height: 32px;
  text-align: center;
  text-transform: uppercase;
  color: var(--color-cream);
  white-space: nowrap;
}

.vg-band__title-accent {
  color: var(--color-gold);
}

/* ---------- Office / accordion sections ---------- */

.vg-section {
  background-color: var(--color-black);
  display: flex;
  flex-direction: column;
  gap: 64px;
  padding: 64px var(--page-pad);
}

.vg-section--endorsements {
  position: relative;
  padding-bottom: 400px;
}

.vg-section--endorsements #endorsements-bg {
  position: absolute;
  bottom: 0;
  display: none;
  left: 6%;
  width: 300px;
  height: auto;
}

.vg-section--tight {
  gap: 40px;
}

.vg-office {
  display: flex;
  gap: 64px;
  align-items: flex-start;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
}

.vg-office__left {
  flex: 0 0 460px;
}

.vg-office__left .vg-office-graphic {
  display: none;
  margin-top: 0;
}

.vg-office:has(.vg-acc.is-revealed) .vg-office__left .vg-office-graphic {
  display: block;
  margin-top: 30px;
}

.vg-office__left .vg-office-graphic svg {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom:30px;
}

.vg-office__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 72px;
  line-height: 69px;
  text-transform: uppercase;
  color: var(--color-cream);
}

.vg-office__title-accent {
  color: var(--color-green);
}

.vg-office__body {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.vg-office__body * {
  outline:none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.vg-office--compact .vg-office__body {
  gap: 16px;
}

/* Accordion */

.vg-acc {
  width: 100%;
}

.vg-acc__label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 28px;
  line-height: normal;
  color: var(--color-cream);
  cursor: pointer;
  list-style: none;
}

.vg-acc__label--sm {
  font-size: 28px;
}

.vg-acc__label::-webkit-details-marker {
  display: none;
}

/* Chevron rotates when the section is open */
.vg-acc__label::after {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background-image: url("/wp-content/themes/blueprintinteractive/images/icon-chevron.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 13px;
  transition: transform 0.2s ease;
}

.vg-acc[open] > .vg-acc__label::after {
  transform: scaleY(-1);
}

.vg-acc[open]:not(.is-revealed) .vg-acc__content {
  display: none;
}

.vg-acc__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  padding-top: 24px;
}

.vg-acc__content p {
  font-size: 18px;
  line-height: 24px;
  color: var(--color-cream);
}

.vg-acc__content a {
  color: #1584f2;
  text-decoration: underline;
}

.vg-acc__content a:hover {
  color: #006ad3;
  text-decoration: underline;
}

.vg-acc__image {
  width: 100%;
}

.vg-acc__image img {
  display: block;
  width: 100%;
  height: auto;
}

.vg-acc__close {
  padding: 8px 4px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-decoration: underline;
  color: var(--color-cream-alt);
}

/* Smaller CTA used throughout the guide */

.btn--sm {
  font-size: 16px;
  letter-spacing: 0.8px;
}

.btn--block {
  width: 100%;
  text-align: center;
}

/* ---------- County cards ---------- */

.vg-counties {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px 40px;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
}
.vg-county__info p {
  font-size: 16px;
  line-height: 1.3;
}

.vg-county {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 48%;
  flex-basis: 48%;
  flex-grow: 1;
  padding: 25px 24px;
  background: url("/wp-content/themes/blueprintinteractive/images/local.png")
    no-repeat center center;
  background-size: 100% 100%;
}

.vg-county__tag {
  position: absolute;
  top: 10px;
  left: 24px;
  font-size: 11px;
  color: var(--color-green);
}

.vg-county__tag::before {
  content: "\25CE\00a0";
}

.vg-county__map {
  /* flex: 0 0 116px; */
  /* height: 116px; */
  /* border-radius: 50%; */
  /* border: 1px solid var(--color-gold); */
  /* background-color: rgba(50,112,57,0.35); */
}
.vg-county__map img {
  width: 100%;
  max-width: 250px;
  min-width: 250px;
  filter: brightness(2);
  height: auto;
}

.vg-county__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vg-county__name {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 45px;
  margin-bottom: 10px;
  text-transform: uppercase;
  color: var(--color-cream);
}

.vg-county__link {
  font-size: 19px;
  line-height: 21px;

  color: var(--color-cream);
  margin-bottom: 5px;
}

.vg-county__link a span {
  text-decoration: underline;
  transition: all 0.3s ease;
}

.vg-county__link a:hover span {
  transition: all 0.3s ease;
  color: #327039;
}

.vg-county__link em {
  font-style: normal;  transition: all 0.3s ease;
  color: var(--color-green);
}
.vg-county__link a:hover em {
  font-style: normal;  transition: all 0.3s ease;
  filter: opacity(0.8);
}

.vg-county__link a {
  display: inline;
}

.vg-county__link a:hover {
  color: #327039;
}

/* ---------- Candidate cards ---------- */

.vg-candidate {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 8px 0;
}

.vg-candidate__photo {
  /* flex: 0 0 76px;
	height: 76px;
	border-radius: 50%;
	background-color: #2a2a2a; */
}

.vg-candidate__photo img {
  display: block;
  width: 100%;
  height: auto;
}

.vg-candidate__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vg-candidate__name {
  font-family: var(--font-display);
  font-size: 35px;
  line-height: 40px;
  text-transform: uppercase;
  color: var(--color-cream);
}

.vg-candidate__role {
  font-size: 16px;
  line-height: 21px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-cream);
  margin-bottom: 15px;
  width: 100%;
}

.vg-candidate__links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 6px;
}

.vg-candidate__links a {
  font-size: 25px;
  margin-bottom: 7px;
  text-decoration: underline;
  color: var(--color-cream);
}

.vg-candidate__links a:hover {
  color: #327039;
}

.vg-candidate__links em {
  font-style: normal;
  color: var(--color-green);
}

/* ---------- Resource library ---------- */

.vg-resources {
  margin-top: -50px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding-top: 8px;
}

.vg-resource {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 150px;
  margin-top: 32px;
  padding: 24px 24px 50px;
  border: none;
  background: none;
  text-align: center;
  background: url("/wp-content/themes/blueprintinteractive/images/resource.png")
    no-repeat center center;
  background-size: 100% 100%;
}

.vg-resource__icon {
  position: absolute;
  top: -28px;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--color-gold);
  background-color: #111;
  font-size: 24px;
  line-height: 1;
  transition: transform 0.25s ease;
}

.vg-resource:hover .vg-resource__icon,
.vg-resource:focus .vg-resource__icon {
  transform: translateX(-50%) translateY(-8px) !important;
}

.vg-resource__label {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 26px;
  text-transform: uppercase;
  color: var(--color-cream);
}

/* ==========================================================================
   Candidates Table (Page 03)
   ========================================================================== */

/* ---------- Hero ---------- */

.ct-hero {
  background-color: var(--color-black);
  padding-bottom: 64px;
}

.ct-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 96px var(--page-pad) 0;
}

.ct-hero__heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 92px;
  text-align: center;
  text-transform: uppercase;
  width: 100%;
}

.ct-hero__eyebrow {
  display: block;
  line-height: 91px;
  letter-spacing: -0.03em;
  color: var(--color-green);
}

.ct-hero__title {
  display: block;
  line-height: 96px;
  color: var(--color-cream);
}

.ct-hero__intro {
  max-width: 937px;
  font-size: 24px;
  line-height: normal;
  text-align: center;
  color: var(--color-cream);
}

/* ---------- Section wrapper ---------- */

.ct-section {
  background-color: var(--color-black);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
  padding: 64px var(--page-pad);
}

/* ---------- Candidates table ---------- */

.ct-table {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1400px;
  height: 646px;
  padding: 23px 15px 25px;
  border: 2px solid var(--color-cream);
  border-radius: 4px;
  background-image: url("/wp-content/themes/blueprintinteractive/images/ct-table-bg.png");
  background-size: cover;
  background-position: center;
}

.ct-table__frame {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: #2f3530 #d9d9d9;
}

.ct-table__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: max(100%, calc(220px + var(--ct-cols, 3) * 110px));
}

.ct-table__scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: scroll;
  scrollbar-width: thin;
  scrollbar-color: #2f3530 #d9d9d9;
}

.ct-table__frame::-webkit-scrollbar,
.ct-table__scroll::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.ct-table__frame::-webkit-scrollbar-track,
.ct-table__scroll::-webkit-scrollbar-track {
  background-color: #d9d9d9;
}

.ct-table__frame::-webkit-scrollbar-thumb,
.ct-table__scroll::-webkit-scrollbar-thumb {
  background-color: #2f3530;
}

.ct-table__grid {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0px 5px;
}

.ct-table__grid--head {
  flex: 0 0 auto;
  padding-right: 8px;
}

.ct-table__grid thead th,
.ct-table__grid tbody td {
  padding: 8px 10px;
  vertical-align: middle;
}

.ct-table__grid thead th:first-child,
.ct-table__grid tbody td:first-child {
  width: calc(100% * 2 / (var(--ct-cols, 2) + 2));
  min-width: 180px;
}

.ct-table__grid thead th:not(:first-child),
.ct-table__grid tbody td:not(:first-child) {
  width: calc(100% / (var(--ct-cols, 2) + 2));
  min-width: 90px;
  text-align: center;
}

.ct-table__head-row th {
  padding-top: 6px;
  padding-bottom: 6px;
}

.ct-table__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 33px;
  line-height: 32px;
  text-align: left;
  text-transform: uppercase;
  color: var(--color-cream);
}

.ct-table__head-label {
  text-align: center;
}

.ct-table__grid thead th button {
  display: block;
  width: 100%;
  padding: 12px 5px;
  border: 1px solid var(--color-cream);
  border-radius: 3px;
  background-color: var(--color-black);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 21px;
  text-align: center;
  text-transform: capitalize;
  color: var(--color-cream);
  white-space: normal;
  cursor: pointer;
}

.ct-table__grid thead th button:hover {
  /* background-color: var(--color-green);
	border-color: var(--color-green); */
}

.ct-table__rule-wrap {
  flex: 0 0 auto;
  padding: 16px 8px 0 0;
}

.ct-table__rule {
  display: block;
  width: 100%;
}

.ct-row {
  background-color: rgba(171, 30, 28, 0.1);
}

.ct-row:nth-child(even) {
  background-color: rgba(50, 112, 57, 0.1);
}

.ct-row__name {
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  text-align: left;
  color: var(--color-cream);
  word-break: break-word;
}

.ct-table__grid tbody td:not(.ct-row__name) {
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  text-align: center;
  text-transform: capitalize;
  color: var(--color-cream);
  word-break: break-word;
}

.ct-table--cols-5 .ct-table__title {
  font-size: 28px;
}

.ct-table--cols-5 .ct-table__grid thead th button,
.ct-table--cols-5 .ct-table__grid tbody td:not(.ct-row__name) {
  font-size: 16px;
  line-height: 22px;
}

.ct-table--cols-6 .ct-table__title,
.ct-table--cols-7 .ct-table__title {
  font-size: 24px;
}

.ct-table--cols-6 .ct-table__grid thead th button,
.ct-table--cols-6 .ct-table__grid tbody td:not(.ct-row__name),
.ct-table--cols-7 .ct-table__grid thead th button,
.ct-table--cols-7 .ct-table__grid tbody td:not(.ct-row__name) {
  font-size: 15px;
  line-height: 20px;
  padding: 8px 6px;
}

.ct-table--cols-6 .ct-table__grid thead th button,
.ct-table--cols-7 .ct-table__grid thead th button {
  padding: 8px 10px;
}

/* ---------- Additional information ---------- */

.ct-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
  width: 100%;
  max-width: 386px;
}

.ct-info__card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 24px;
  border-radius: 7px;
  scroll-margin-top: 40px;
}

.ct-info__heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  line-height: normal;
  color: var(--color-cream);
}

.ct-info__rule {
  display: block;
  width: 100%;
}

.ct-info__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ct-info__list li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 4px;
}

.ct-info__list a {
  display: inline;
}

.ct-info__list img {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: none;
  margin-right: 5px;
}
btn,
.vg-local-btn {
  text-align: center;
}

.ct-info__list span,
.vg-section .vg-office__body span,
.vg-section .vg-office__body li,
.vg-section .vg-office__body span a,
.vg-section .vg-office__body li a,
.vg-section .vg-office__body a,
.ct-info__list a {
  font-size: 18px;
  line-height: normal;
  color: var(--color-cream);
}

.vg-office__body .btn {
  text-align: center;
}

.ct-info__list a {
  text-decoration: underline;
}

/* ==========================================================================
   Interior template — privacy policy and other basic content pages
   ========================================================================== */

/* ---------- Header (logo only, no nav) ---------- */

.int-header {
  background-color: var(--color-black);
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 36px 36px 0 36px;
}

.int-header__logo {
  display: inline-block;
}

.int-header__logo img {
  display: block;
  width: 45px;
  height: 73px;
}

/* ---------- Page title ---------- */

.int-title {
  background-color: var(--color-black);
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 80px var(--page-pad) 0;
}

.int-title__heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 72px;
  line-height: 69px;
  text-transform: uppercase;
  color: var(--color-cream);
}

/* Optional green second line: <span class="int-title__accent">…</span> */
.int-title__accent {
  display: block;
  color: var(--color-green);
}

.int-title__rule {
  display: block;
  width: 100%;
  max-width: 557px;
  margin-top: 16px;
}

/* ---------- Content ---------- */

.int-body {
  background-color: var(--color-black);
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 48px var(--page-pad) 120px;
}

/* Measure is capped for readability rather than filling the 1280 grid */
.int-prose {
  max-width: 820px;
  color: var(--color-cream);
  font-size: 18px;
  line-height: 1.6;
}

.int-prose > * + * {
  margin-top: 1.2em;
}

.int-prose h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 42px;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--color-cream);
  margin-top: 1.8em;
}

.int-prose h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--color-green);
  margin-top: 1.6em;
}

.int-prose a {
  color: var(--color-cream);
  text-decoration: underline;
}

.int-prose a:hover {
  color: var(--color-gold);
}

.int-prose strong {
  font-weight: 700;
}

.int-prose ul,
.int-prose ol {
  padding-left: 1.4em;
}

.int-prose li + li {
  margin-top: 0.5em;
}

.int-prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  padding: 2px 6px;
  border-radius: 3px;
  background-color: rgba(221, 218, 210, 0.12);
}

.inner {
  max-width: 1280px;
  margin: 0 auto;
}

.inner.error-404 {
  text-align: center;
}

.inner.error-404 svg {
  display: block;
  width: 100%;
  height: auto;
}

.vg-local-btn {
  max-width: 400px;
  margin: 0 auto;
}

.vg-section ul {
  font-size: 24px;
  line-height: 30px;
  color: var(--color-cream);
  margin-left: 20px;
}

.vg-jump {
  background-color: transparent;
  top: 20px;
}

.vg-section ul li {
  margin-bottom: 10px;
}

.vg-section ul li:last-child {
  margin-bottom: 0;
}

span a,
li a {
  transition: all 0.3s ease;
}
span a:hover {
  color: var(--color-green);
  transition: all 0.3s ease;
}
li a:hover, li a:hover span {
  color: var(--color-green) !important;
  transition: all 0.3s ease;
}

.vg-acc__content {
  padding-top: 0px;
}

.ct-row__name {
  font-size: 18px;
}

.ct-table__grid thead th {
  font-family: var(--font-display);
  font-size: 25px;
}
.ct-hero {
  padding-bottom: 0px;
}

.ct-table {
  padding: 23px 15px 0px;
}

.vg-resource {
  position: relative;
  display: flex;
  align-items: center;

  margin-top: 32px;
  padding: 24px 24px 8px;
}

.vg-section li ul {
  padding-top: 15px;
}

.layered-hero {
  position: relative;
  aspect-ratio: 1440 / 949;
  height:auto;
  width:100%;

  overflow: hidden;

  isolation: isolate;
}


.layered-hero__background {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-layer {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  animation: hero-layer-in .5s ease-out forwards;
}

/* z-index: 2, enters first */
.hero-layer--second {
  z-index: 4;
  animation-delay: .5s;

}

.layered-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 30%;
  z-index: 2;
  pointer-events: none;

  background: linear-gradient(
      to bottom,
      transparent 0%,
      #000 100%
  );
}

/* z-index: 1, enters second */
.hero-layer--bottom {
  z-index: 1;
  animation-delay: 1.7s;
}

/* z-index: 3, enters third */
.hero-layer--third {
  z-index: 3;
  animation-delay: 2.3s;
}

/* z-index: 4, enters fourth */
.hero-layer--top {
  z-index: 4;
  animation-delay: 2.8s;
}

.layered-hero__content {
  position: relative;
  z-index: 10;
}

@keyframes hero-layer-in {
  from {
      opacity: 0;

  }

  to {
      opacity: 1;

  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-layer {
      opacity: 1;
      animation: none;
      transform: none;
  }
}
.hero-mobile {display:none;}