/* =====================================================
   Votality Theme Tokens + Light/Dark Framework
   Default = Light. Dark enabled via .vot-theme--dark
   ===================================================== */ :root {
  --vot-font-body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --vot-font-heading: Public Sans, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  /* Light defaults */
  --vot-page-bg: #ffffff;
  --vot-panel-bg: transparent;
  --vot-text: #111827;
  --vot-muted: rgba(17, 24, 39, .75);
  /* UI surfaces */
  --vot-card-bg: rgba(0, 0, 0, 0.08);
  --vot-card-border: rgba(0, 0, 0, .12);
  --vot-shadow: 0 10px 26px rgba(0, 0, 0, .12);
  /* Divider */
  --vot-divider: rgba(0, 0, 0, .15);
  /* Chips */
  --vot-chip-border: rgba(0, 0, 0, .08);
  --vot-chip-icon-bg: rgba(255, 255, 255, .65);
  --vot-chip-icon-border: rgba(0, 0, 0, .06);
  --vot-chip-level-bg: rgba(124, 58, 237, .10);
  --vot-chip-level-bd: rgba(124, 58, 237, .16);
  --vot-chip-state-bg: rgba(37, 99, 235, .10);
  --vot-chip-state-bd: rgba(37, 99, 235, .16);
  --vot-chip-group-bg: rgba(16, 185, 129, .10);
  --vot-chip-group-bd: rgba(16, 185, 129, .16);
}
/* =====================================================
   Header logo sizing (Barrio-safe)
   ===================================================== */
.navbar-brand, .navbar-brand img, .site-logo img, .region-header img {
  max-height: 110px;
  height: auto;
  width: auto;
}

tr {
	background: rgba(0, 0, 0, 0.02);
}
#navbar-top.navbar {
  --bs-navbar-padding-y: 0;
	font-size:14px;
}
.nav-find-rep  { 
font-weight: 700;
  background: #5931e7;
  border-radius: 10px;
  margin: 0 10px;
	}
.nav-find-rep .nav-link:hover { 
font-weight: 700;
  background: #5931e7;
  border-radius: 10px;
background: #7e5df3;
}
	
.node__content {
	margin-top: 0;
}
/* Page title block (kept as-is) */
#block-votality-barrio-page-title h1.title {
  color: #FFF;
  z-index: 1000;
  right: 20px;
  position: absolute;
  background: #777;
  padding: 5px;
  top: -5px;
  border-radius: 5px;
  font-size: 2rem !important;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  width: max-content;
}
/* If the logo is inside an <a> with fixed width, cap it too */
.navbar-brand {
  display: flex;
  align-items: center;
  max-width: 280px;
  margin: 0;
}
/* Typography */
body {
  font-family: var(--vot-font-body);
  color: var(--vot-text);
  background: var(--vot-page-bg);
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--vot-font-heading);
   letter-spacing: -0.05em;
}
/* =====================================================
   Dark mode (matches your screenshot)
   Apply by adding: <body class="vot-theme--dark">
   ===================================================== */
.vot-theme--dark {
  --vot-page-bg: #0f1216;
  --vot-panel-bg: #12161c;
  --vot-text: rgba(255, 255, 255, .92);
  --vot-muted: rgba(255, 255, 255, .74);
  --vot-card-bg: #ffffff;
  --vot-card-border: rgba(0, 0, 0, .08);
  --vot-shadow: 0 12px 34px rgba(0, 0, 0, .35);
  --vot-divider: rgba(255, 255, 255, .14);
}
/* Outer canvas */
.vot-theme--dark body, body.vot-theme--dark {
  background: var(--vot-page-bg);
}
/* Inner panel wrappers */
.vot-theme--dark .dialog-off-canvas-main-canvas main, .vot-theme--dark .dialog-off-canvas-main-canvas .main-content, .vot-theme--dark .dialog-off-canvas-main-canvas .layout-content, .vot-theme--dark .dialog-off-canvas-main-canvas #main-wrapper, .vot-theme--dark .dialog-off-canvas-main-canvas .region-content {
  background: var(--vot-panel-bg);
}
.vot-theme--dark .vot-electorate-title {
  color: var(--vot-text);
}
.vot-theme--dark .vot-electorate-subtitle {
  color: var(--vot-muted);
}
/* =====================================================
   Global content width rules (kept)
   ===================================================== */
.region-content .block, .region-content article, .region-content .node__content, .region-content .views-element-container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
.region-sidebar-first, .region-sidebar-second {
  padding-left: 1rem;
  padding-right: 1rem;
}
#block-votality-barrio-page-title h1.title {
  display: none;
}
/* =====================================================
   Electorate header typography (kept)
   ===================================================== */
.vot-electorate-header {
  padding: 1.25rem 0 0.75rem;
}
.vot-electorate-title {
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  line-height: 1.15;
  margin: 0 0 2rem;
  font-weight: 400;
}
.vot-electorate-subtitle {
  margin: 0;
  font-size: 1.2rem;
  opacity: 0.85;
  max-width: 70ch;
}
/* =====================================================
   Electorate meta chips (CONSOLIDATED)
   ===================================================== */
/* Chip base */
.block-field-blocktaxonomy-termelectoratesfield-level, .block-field-blocktaxonomy-termelectoratesfield-state-territory, .block-field-blocktaxonomy-termelectoratesfield-electorate-group {
  display: inline-flex !important;
  align-items: center;
  gap: .5rem;
  padding: .4rem .75rem;
  border-radius: 999px;
  border: 1px solid var(--vot-chip-border);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .06);
  margin: 0 .5rem .5rem 0;
  background: #fff;
}
.vot-theme--dark .block-field-blocktaxonomy-termelectoratesfield-level, .vot-theme--dark .block-field-blocktaxonomy-termelectoratesfield-state-territory, .vot-theme--dark .block-field-blocktaxonomy-termelectoratesfield-electorate-group {
  box-shadow: 0 12px 34px rgba(0, 0, 0, .25);
}
/* Make field internals inline */
.block-field-blocktaxonomy-termelectoratesfield-level .field, .block-field-blocktaxonomy-termelectoratesfield-state-territory .field, .block-field-blocktaxonomy-termelectoratesfield-electorate-group .field {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
/* Remove default spacing/line-height issues */
.block-field-blocktaxonomy-termelectoratesfield-level *, .block-field-blocktaxonomy-termelectoratesfield-state-territory *, .block-field-blocktaxonomy-termelectoratesfield-electorate-group * {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.1;
}
/* Labels */
.block-field-blocktaxonomy-termelectoratesfield-level .field__label, .block-field-blocktaxonomy-termelectoratesfield-state-territory .field__label, .block-field-blocktaxonomy-termelectoratesfield-electorate-group .field__label {
  font-size: .82rem;
  opacity: .7;
  font-weight: 500;
}
/* Values */
.block-field-blocktaxonomy-termelectoratesfield-level .field__item, .block-field-blocktaxonomy-termelectoratesfield-state-territory .field__item, .block-field-blocktaxonomy-termelectoratesfield-electorate-group .field__item {
  font-family: var(--vot-font-heading);
  font-weight: 700;
  letter-spacing: -0.01em;
}
/* Group link */
.block-field-blocktaxonomy-termelectoratesfield-electorate-group .field__item a {
  color: inherit;
  text-decoration: none;
}
.block-field-blocktaxonomy-termelectoratesfield-electorate-group .field__item a:hover {
  text-decoration: underline;
}
/* Icon bubble (FA5 pseudo) */
.block-field-blocktaxonomy-termelectoratesfield-level::before, .block-field-blocktaxonomy-termelectoratesfield-state-territory::before, .block-field-blocktaxonomy-termelectoratesfield-electorate-group::before {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--vot-chip-icon-bg);
  border: 1px solid var(--vot-chip-icon-border);
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 13px;
  opacity: .9;
  content: "";
}
.block-field-blocktaxonomy-termelectoratesfield-level::before {
  content: "\f19c";
}
.block-field-blocktaxonomy-termelectoratesfield-state-territory::before {
  content: "\f3c5";
}
.block-field-blocktaxonomy-termelectoratesfield-electorate-group::before {
  content: "\f5fd";
}
/* Per-chip colours */
.block-field-blocktaxonomy-termelectoratesfield-level {
  background: var(--vot-chip-level-bg);
  border-color: var(--vot-chip-level-bd);
}
.block-field-blocktaxonomy-termelectoratesfield-state-territory {
  background: var(--vot-chip-state-bg);
  border-color: var(--vot-chip-state-bd);
}
.block-field-blocktaxonomy-termelectoratesfield-electorate-group {
  background: var(--vot-chip-group-bg);
  border-color: var(--vot-chip-group-bd);
}
/* =====================================================
   Map spacing + rounding (kept)
   ===================================================== */
.vot-electorate-map, .leaflet-container {
  margin-bottom: 2rem;
  border-radius: 12px;
  overflow: hidden;
}
/* Divider before map (dark-safe) */
.vot-map-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--vot-divider), transparent);
  margin: 1.75rem 0 1.25rem;
}
/* ============================
   Map styling: Greyscale tiles, coloured boundary
   ============================ */
.leaflet-pane.leaflet-tile-pane {
  filter: grayscale(1) contrast(1.05) brightness(1.03);
  transition: filter 180ms ease;
}
.leaflet-container:hover .leaflet-pane.leaflet-tile-pane {
  filter: grayscale(.15) contrast(1.02) brightness(1.0);
}
.leaflet-overlay-pane path.leaflet-interactive {
  stroke-width: 3;
  fill-opacity: .10;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .25));
}
/* =====================================================
   Party chip colourisation
   ===================================================== */
/* Labor */
.pol-card__badge--party[data-party="Labor"] {
  background: rgba(220, 53, 69, .12);
  border: 1px solid rgba(220, 53, 69, .35);
  color: #b02a37;
}
/* Liberal */
.pol-card__badge--party[data-party="Liberal"] {
  background: rgba(13, 110, 253, .12);
  border: 1px solid rgba(13, 110, 253, .35);
  color: #0a58ca;
}
/* Independent */
.pol-card__badge--party[data-party="Independent"] {
  background: rgba(0, 148, 194, 0.2);
  border: 1px solid rgba(108, 117, 125, .35);
  color: #166a7e;
}

}
@media (max-width: 390px) {
  /* iPhone 12 / 13 / 14 (standard & Pro) */
  #block-votality-barrio-page-title h1.title {
    top: 60px;
    font-size: 1.5rem !important;
  }
	.navbar-brand, .navbar-brand img, .site-logo img, .region-header img {
  max-height: 57px;
  height: auto;
  width: auto;
}
}
/* Tablets & general mobile */
@media (max-width: 768px) {
  /* stack columns, reduce padding */
	
	.v-hero__inner { 
	grid-template-columns: 1fr 520px;
	}
}
/* Tight phones (iPhone 12/13/14 standard & Pro) */
@media (max-width: 390px) {
  /* card refinements */
}
.navbar-toggler-icon {
  background-image: none !important;
}
.navbar-toggler .fa-bars {
  font-size: 2rem;
  line-height: 1;
  color: #c7d64d;
}
@media (max-width: 991.98px) {
  .navbar-collapse.show .navbar-nav {
    justify-content: space-around;
    width: 100%;
  }
}
@media (max-width: 991.98px) {
  .navbar-collapse.show .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
  }
}
/* Force mobile expanded navbar items to run horizontally */
@media (max-width: 991.98px) {
  /* Target the exact UL you have: <ul class="nav navbar-nav ..."> */
  .navbar .navbar-collapse.show ul.nav.navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    padding: 0.75rem 0;
    margin: 0;
  }
  .navbar .navbar-collapse.show ul.nav.navbar-nav > li.nav-item {
    width: auto !important;
    margin: 0;
  }
  .navbar .navbar-collapse.show ul.nav.navbar-nav > li.nav-item > a.nav-link {
    white-space: nowrap;
    padding: 0.25rem 0.5rem;
  }
}
/*////////////////// HERO bHomepage banner ////////////////// */
/* /////////////////////////////////////////////////////////// */
.v-hero {
  padding: clamp(28px, 4vw, 56px) 16px;
  /*background: radial-gradient(1200px 500px at 20% 10%, rgba(59, 115, 246, 0.97), #d1d4ff6e 60%), radial-gradient(900px 420px at 80% 0%, rgba(31, 14, 233, 0.96), #aba5f2a3 60%), #bcd9ff;
	background: radial-gradient(farthest-corner at 68% 31%, #fbfaffff 0%, #0505ffff 100%), 0% 0% / auto 25px repeat-y linear-gradient(to top, #ff000000 0% 48%, #ffffff26 48% 52%, #0000ff00 52%), 0% 0% / 25px auto repeat-x linear-gradient(to right, #ff000000 0% 48%, #ffffff26 48% 52%, #0000ff00 52%), radial-gradient(farthest-corner at 100% 100%, #f2e5ff21 0%, #b280f5ff 60%, #6e66ffff 100%);background-blend-mode: overlay;*/
	background: radial-gradient(farthest-corner at 68% 31%, #fbfaff 0%, #0505ff 100%), 0% 0% / auto 25px repeat-y linear-gradient(to top, #f000 0% 48%, #ffffff26 48% 52%, #00f0 52%), 0% 0% / 25px auto repeat-x linear-gradient(to right, #f000 0% 48%, #ffffff26 48% 52%, #00f0 52%), radial-gradient(farthest-corner at 100% 100%, #f2e5ff21 0%, #b1cfff 60%, #6e66ff 100%);
	background-blend-mode: overlay;
	
}
.v-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: 480px; /* baseline hero presence */
  padding: clamp(48px, 8vw, 96px) 16px;
  display: flex;
  align-items: center; /* vertically centers content */
}
/* Ensure hero content sits above the background */
.v-hero__inner {
  position: relative;
  z-index: 1;
}
.v-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}
@media (min-width: 900px) {
  .v-hero__inner {
    grid-template-columns: 1.05fr .95fr;
    align-items: start;
    gap: 28px;
  }
}
.v-hero__title {
  font-family: var(--vot-font-heading, system-ui);
  font-weight: 700;
  line-height: 1.1;
  font-size: clamp(30px, 3.4vw, 48px);
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: var(--bb-secondary-dark: #1b1042;
  );
}
.v-hero__lead {
  margin: 0;
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--vot-muted, rgba(17, 24, 39, .75));
  max-width: 49ch;
  font-weight: 700;
}

.v-trust {
  margin-top: 12px;
  font-size: 13px;
  color: rgba(17, 24, 39, .65);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.v-trust a {
  color: rgba(17, 24, 39, .78);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.v-trust__label {
  font-weight: 700;
  color: rgba(17, 24, 39, .70);
}
.v-trust__dot {
  opacity: .7;
}
.v-hero__value {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}
.v-pill {
  border: 1px solid rgba(0, 0, 0, .10);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  background: rgba(255, 255, 255, .75);
  color: rgba(17, 24, 39, .75);
}

 /*  Credibility panel (Homepage)
   ============================== */
.v-cred {
  padding: clamp(18px, 3vw, 34px) 0;
  background: #fff;
}
.v-cred__inner {
  max-width: var(--bs-container-width, 1140px);
  margin: 0 auto;
  padding: 0 16px;
}
.v-cred__card {
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(0, 0, 0, .10);
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, .05);
  overflow: hidden;
}
.v-cred__head {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  background: rgba(17, 24, 39, .02);
}
.v-cred__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(17, 24, 39, .02);
  border: 1px solid;
  border-color: rgba(0, 0, 0, .06);
  color: rgba(17, 24, 39, .88);
}
.v-cred__icon svg {
  width: 24px;
  height: 24px;
  display: block;
}
.v-cred__title {
  font-family: var(--vot-font-heading, inherit);
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 850;
  letter-spacing: -0.01em;
  color: #111827;
}
.v-cred__sub {
  margin: 0;
  color: rgba(17, 24, 39, .75);
  font-size: 13.5px;
  line-height: 1.5;
  max-width: 70ch;
}
.v-cred__cta-wrap {
  padding-top: 2px;
}
.v-cred__cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, .12);
  background: rgba(17, 24, 39, .03);
  text-decoration: none;
  font-weight: 400;
  color: #111827;
  transition: background .12s ease, border-color .12s ease, transform .12s ease;
}
.v-cred__cta:hover {
  background: rgba(17, 24, 39, .05);
  border-color: rgba(0, 0, 0, .18);
  transform: translateY(-1px);
}
.v-cred__body {
  padding: 16px 20px 18px;
}
.v-cred__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.v-cred__item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: rgba(17, 24, 39, .78);
  font-size: 13.5px;
  line-height: 1.5;
}
.v-cred__tick {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 12px;
  background: rgba(17, 24, 39, .06);
  border: 1px solid rgba(0, 0, 0, .10);
  color: rgba(17, 24, 39, .85);
}
.v-cred__text strong {
  color: #111827;
}
.v-cred__note {
  margin: 14px 0 0;
  color: rgba(17, 24, 39, .70);
  font-size: 13px;
  line-height: 1.5;
}
/* Responsive */
@media (max-width: 720px) {
  .v-cred__head {
    grid-template-columns: 56px minmax(0, 1fr);
  }
  .v-cred__cta-wrap {
    grid-column: 1 / -1;
    padding-top: 10px;
  }
}
/* ==============================
   Corrections / Report an issue
   ============================== */
.v-corrections {
  padding: clamp(18px, 3vw, 32px) 0;
  background: #fff;
}
.v-corrections__inner {
  max-width: var(--bs-container-width, 1140px);
  margin: 0 auto;
  padding: 0 16px;
}
.v-corrections__card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px 20px;
  background: rgba(17, 24, 39, .015);
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 16px;
}
.v-corrections__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(17, 24, 39, .03);
  border: 1px solid rgba(0, 0, 0, .08);
  color: rgba(17, 24, 39, .85);
}
.v-corrections__icon svg {
  width: 24px;
  height: 24px;
}
.v-corrections__title {
  margin: 0 0 6px;
  font-family: var(--vot-font-heading, inherit);
  font-size: 17px;
  font-weight: 850;
  letter-spacing: -0.01em;
  color: #111827;
}
.v-corrections__text {
  margin: 0 0 14px;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(17, 24, 39, .75);
  max-width: 70ch;
}
.v-corrections__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.v-corrections__cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, .12);
  background: rgba(17, 24, 39, .03);
  font-weight: 800;
  text-decoration: none;
  color: #111827;
  transition: background .12s ease, border-color .12s ease;
}
.v-corrections__cta:hover {
  background: rgba(17, 24, 39, .05);
  border-color: rgba(0, 0, 0, .18);
}
.v-corrections__note {
  font-size: 12.5px;
  color: rgba(17, 24, 39, .65);
}
/* Mobile */
@media (max-width: 720px) {
  .v-corrections__card {
    grid-template-columns: 1fr;
  }
}
/* ==============================
  dont code past here 
   ============================== */
.v-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
/* Keep content nicely centered */
.v-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
}
/* Safety: prevent accidental horizontal scrollbars */
html, body {
  overflow-x: clip;
}


/* ==============================
   Votality Sticky Footer Layout
   ============================== */
html, body {
  height: 100%;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
/* Drupal wrapper */
.dialog-off-canvas-main-canvas {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
/* Main content grows */
#main-wrapper, .main-container, main {
  flex: 1;
}
/* Footer always pushed down */
.region-footer-first, .region-footer-second, .region-footer-third, .region-footer-fourth, .region-footer-fifth {
  margin-top: auto;
}
/* Give the main content area a minimum height and bottom padding */
.path-federal-senate .main-container, .path-federal-senate .main-content, .path-federal-senate main {
  min-height: 70vh;
  padding-bottom: 64px;
}
/* Space out the cards and keep them centered */
.views-view-grid .pol-card {
  padding: 18px; /* space around each card */
  display: flex;
  justify-content: center;
}
/* =========================================================
   Senate listing grid + Politician Card (pol-card-list)
   Works even with Blazy/Media wrappers.
   ========================================================= */
/* Drupal often wraps everything in this */
.dialog-off-canvas-main-canvas {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
/* Main content should expand to push footer down */
.dialog-off-canvas-main-canvas > .page, .dialog-off-canvas-main-canvas > #page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main, main#content, .page__content, #main-wrapper {
  flex: 1 0 auto;
}
/* Add breathing room below the listing */
.path-federal-senate .region-content, .path-federal-senate main, .path-federal-senate #content {
  padding-bottom: 64px;
}
/ /* ==============================
   Chamber switch
   ============================== */
.vot-chamber-switch {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .06);
  border: 1px solid rgba(0, 0, 0, .10);
  margin-top: 12px;
}
.vot-chamber-switch__tab {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  color: inherit;
  opacity: .85;
}
.vot-chamber-switch__tab.is-active {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .14);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .10);
  opacity: 1;
}
html, body {
  height: 100%;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main, #main-wrapper, #content, #block-votality-barrio-content {
  flex: 1;
}
/* -----------------------------------------
   Sticky footer (BARRIO/Drupal-safe)
   Use the Drupal wrapper, not body
----------------------------------------- */
html, body {
  height: 100%;
}
.dialog-off-canvas-main-canvas {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
/* The page wrapper (varies by theme, cover both) */
#page {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
/* Main content area grows to push footer down */
#main-wrapper, .main-container, main, #content {
  flex: 1 0 auto;
}
/* Footer stays at bottom */
footer, .region-footer, .region-footer-first, .region-footer-second, .region-footer-third, .region-footer-fourth, .region-footer-fifth {
  margin-top: auto;
}
/* =========================================
   Votality Info Strip
   ========================================= */
.vot-info-strip {
  margin: 18px 0 34px;
}
.vot-info-strip .vot-container {
  max-width: 1296px;
  margin: 0 auto;
  padding: 0;
}
.vot-info-strip__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(0, 0, 0, .04);
  border: 1px solid rgba(0, 0, 0, .14);
}
.vot-info {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .70);
  border: 1px solid rgba(0, 0, 0, .04);
}
.vot-info__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  opacity: .70;
  margin-bottom: 6px;
}
.vot-info__value {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}
@media (max-width: 768px) {
  .vot-info-strip {
    margin: 14px 0 26px;
  }
  .vot-info-strip__grid {
    padding: 12px;
    gap: 10px;
  }
}
.vot-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.vot-header-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  align-self: start;
}
.vot-action-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(111, 111, 111, 0.32);
  background: rgba(238, 238, 238, 0.92);
  text-decoration: none;
  color: rgba(0, 0, 0, .78);
  font-size: 14px;
  cursor: pointer;
}
.vot-action-chip:hover {
  background: #f7f7f7;
}
@media (max-width:768px) {
  .vot-header-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .view--pol-cards .view-content {
    grid-template-columns: 1fr;
  }
  .view--pol-cards .view-content h2 {
    text-align: center;
  }
}
.vot-map-card__body {
  margin-top: 10px;
}
.vot-map-body {}
.vot-map-body .leaflet-container, .vot-map-body .geofield-map, .vot-map-body .field--name-field-boundary {
  min-height: 320px;
  width: 100%;
}
.nav-link::before {
  margin-right: 8px;
  font-size: 1rem;
}

.nav-link--user::before {
  margin-right: 0px;
  font-size: 1rem;
}

.page-view-state-lower-by-electorate .view-content {
	margin-top: 10px;
}

/* =====================================================
   Responsive: stack grid + tune for small phones (iPhone 13 = 390px)
   ===================================================== */
/* Stack politician cards on mobile */
@media (max-width: 768px) {
  .navbar-brand, .navbar-brand img, .site-logo img, .region-header img {
    max-height: 67px;
    height: auto;
    width: auto;
  }
  #navbar-main.navbar.navbar-expand-lg div.container {
    padding: 5px 0 5px 10px;
  }
}
/* Responsive: collapse to stacked layout on small screens */
@media (max-width: 640px) {
  .node--type-politician .node__content .field {
    grid-template-columns: 1fr;
    row-gap: 4px;
  }
  .node--type-politician .node__content .field__label {
    opacity: .7;
  }
}
.node--type-politician .node__content .field--name-field-photo, .node--type-politician .node__content .field--type-image, .node--type-politician .node__content .field--type-entity-reference {
  display: block;
  border-bottom: 0;
  padding: 0;
}
/* =====================================================
   Politician Profile (FINAL)
   Scope: only politician nodes
   ===================================================== */
/* Container */
.node--type-politician .pol-profile {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
/* HERO */
.node--type-politician .pol-hero {
  display: grid;
  grid-template-columns: 320px 1fr;
  column-gap: 24px;
  row-gap: 14px;
  padding: 28px 0 18px;
  position: relative;
}
/* =========================================
   Trust Strip — Full Bleed
   ========================================= */
.v-trust-strip {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #f5f5f5;
  border-top: 1px solid rgba(0, 0, 0, .06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 18px 16px;
  margin-bottom: 30px;
}
.v-trust-strip__inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
  justify-content: center;
}
.v-trust-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(17, 24, 39, .75);
  white-space: nowrap;
  position: relative;
  padding-left: 22px; /* space for icon */
}
/* Shared icon styling */
.v-trust-strip__item::before {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 14px;
  opacity: .55;
}
/* Specific icons */
.v-trust-strip__item--independent::before {
  content: "\f24e"; /* balance-scale */
}
.v-trust-strip__item--official::before {
  content: "\f66f"; /* landmark */
}
.v-trust-strip__item--noads::before {
  content: "\f05e"; /* ban */
}
.v-trust-strip__item--link a {
  text-decoration: none;
  font-weight: 600;
  color: rgba(17, 24, 39, .85);
}
.v-trust-strip__item--link a:hover {
  text-decoration: underline;
}
/* Info icon for link */
.v-trust-strip__item--link::before {
  content: "\f05a"; /* info-circle */
}
@media (min-width: 900px) {
  .v-hero__inner {
    grid-template-columns: 1fr 620px;
    align-items: start;
    gap: 32px;
  }
}
.v-hero__copy {
  max-width: none;
}
.v-hero__title {
  max-width: none;
}
/* Photo column */
.node--type-politician .pol-hero__media {
  grid-column: 1;
}
/* Identity column */
.node--type-politician .pol-hero__identity {
  grid-column: 2;
  min-width: 0; /* prevents wrapping weirdness */
}
/* Actions row sits top-right inside identity */
.node--type-politician .pol-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin: 0 0 10px;
}
.node--type-politician .pol-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(111, 111, 111, 0.32);
  background: rgba(238, 238, 238, 0.92);
  text-decoration: none;
  color: rgba(0, 0, 0, .78);
  font-size: 14px;
}
.node--type-politician .pol-btn:hover {
  border-color: rgba(0, 0, 0, .18);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .07);
}
/* Name */
.node--type-politician .pol-name {
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.08;
  margin: 0;
  color: #4a3064;
}
/* Role line: keep single line */
.node--type-politician .pol-role {
  margin-top: 0;
	margin-bottom: 30px;
  font-size: 17px;
  color: rgba(72, 24, 143, 0.68);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
	font-weight: 600;
}
.node--type-politician .pol-role a {
  text-decoration: none;
}
.node--type-politician .pol-role a:hover {
  text-decoration: underline;
}
/* Meta line */
.node--type-politician .pol-meta {
  margin-top: 5px;
  font-size: 14px;
  color: rgba(0, 0, 0, .62);
  margin-bottom: 40px;
}
/* Badges */
.node--type-politician .pol-badges {
display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: -20px;
  margin-bottom: 30px;
}
.node--type-politician .pol-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 14px;
  border: 1px solid rgba(0, 0, 0, .12);
  background: #f5f6f8;
  color: rgba(0, 0, 0, .78);
}
.node--type-politician .pol-badge--party {
  background: rgba(0, 83, 242, 0.16);
  border-color: rgba(99, 128, 241, 0.45);
}
.node--type-politician .pol-badge--status {
  background: rgba(0, 0, 0, .04);
}
/* Trust strip */
.node--type-politician .pol-trust {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, .10);
  font-size: 14px;
  color: rgba(0, 0, 0, .62);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
}
.node--type-politician .pol-trust__label {
  font-weight: 600;
  color: rgba(0, 0, 0, .72);
}
.node--type-politician .pol-trust a {
  text-decoration: none;
}
.node--type-politician .pol-trust a:hover {
  text-decoration: underline;
}
.node--type-politician .pol-trust__dot {
  opacity: .6;
}
/* Full-width divider under hero (HR effect) */
.node--type-politician .pol-hero::after {
  content: "";
  grid-column: 1 / -1;
  height: 1px;
  background: rgba(0, 0, 0, .10);
  margin-top: 10px;
}
/* Make both columns equal-height */
.node--type-politician, .node--type-politician .pol-sidebar {
  display: flex;
}
.node--type-politician .pol-main .pol-card, .node--type-politician .pol-sidebar .pol-card {
  width: 100%;
}
/* Premium cards (slightly darker border/shadow) */
.node--type-politician .pol-card {
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  border: 1px solid rgba(0, 0, 0, .14);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .08);
}
.node--type-politician .pol-card__title {
  font-size: 22px;
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, .07);
}
/* Definition lists */
.node--type-politician .pol-dl {
  display: grid;
  grid-template-columns: 160px 1fr;
  column-gap: 18px;
  row-gap: 12px;
  margin: 0;
}
.node--type-politician .pol-dl dt {
  font-weight: 600;
  color: rgba(0, 0, 0, .72);
}
.node--type-politician .pol-dl dd {
  margin: 0;
  color: rgba(0, 0, 0, .92);
}
.node--type-politician .pol-dl--compact {
  grid-template-columns: 140px 1fr;
}
/* Responsive */
@media (max-width: 900px) {
  .node--type-politician .pol-hero {
    grid-template-columns: 220px 1fr;
  }
  .node--type-politician .pol-layout {
    grid-template-columns: 1fr;
  }
  .node--type-politician .pol-role {
    white-space: normal;
    overflow: visible;
    text-overflow: initial;
  }
}
@media (max-width: 640px) {
  .node--type-politician .pol-hero {
    grid-template-columns: 1fr;
  }
  .node--type-politician .pol-hero__media, .node--type-politician .pol-hero__identity {
    grid-column: 1;
  }
  .node--type-politician .pol-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .node--type-politician .pol-dl {
    grid-template-columns: 1fr;
    grid-template-columns: 120px 1fr; /* keep 2 cols */
    column-gap: 14px;
    row-gap: 10px;
  }
  .node--type-politician .pol-dl dt {
    font-size: 19px;
  }
  .node--type-politician .pol-dl dd {
    font-size: 18px;
  }
  .node--type-politician .pol-dl dt {
    margin-top: unset;
  }
}
.nav.primary.nav-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.nav.primary.nav-tabs .local-tasks-toggle {
  display: list-item;
}

.nav.primary.nav-tabs.tabs-is-collapsed > li:not(.local-tasks-toggle) {
  display: none !important;
}

.nav.primary.nav-tabs.tabs-is-collapsed > li.local-tasks-toggle {
  display: list-item !important;
}

.nav.primary.nav-tabs .local-tasks-toggle .nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
}
.highlighted-is-collapsed {
  display: none !important;
}
/* ///////////////////  Politician Profile — final overrides ////////////////// */
/* /////////////////////////////////////////////////////////////////////////// */

.node--type-politician .pol-hero {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, .10);
  padding: 24px 0 14px;
}

.node--type-politician .pol-hero__identity {
  min-width: 0;
}

.node--type-politician .pol-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) 320px;
  gap: 28px;
  padding: 16px 0 36px;
  align-items: start;
}

.node--type-politician .pol-main,
.node--type-politician .pol-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
}

.node--type-politician .pol-main > .pol-card,
.node--type-politician .pol-sidebar > .pol-card {
  width: 100%;
}

.node--type-politician .pol-card {
  border: 1px solid rgba(0, 0, 0, .14);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .08);
}

.node--type-politician .pol-btn i {
  font-size: 14px;
  opacity: .85;
  line-height: 1;
}

.node--type-politician .pol-btn span {
  line-height: 1;
}

.node--type-politician .pol-badge--electorate {
  text-decoration: none;
  background: rgba(17, 24, 39, .04);
  border-color: rgba(17, 24, 39, .16);
  font-weight: 700;
}

.node--type-politician .pol-badge--electorate:hover {
  border-color: rgba(17, 24, 39, .24);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .06);
  text-decoration: none;
}

@media (max-width: 991.98px) {
  .node--type-politician .pol-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .node--type-politician .pol-hero {
    grid-template-columns: 1fr;
  }
}

/* Core Information – Electorate chip only */
.node--type-politician .pol-electorate a {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  background: rgba(17, 24, 39, .04);
  border: 1px solid rgba(17, 24, 39, .16);
  color: rgba(17, 24, 39, .92);
  transition: all .15s ease;
}
.node--type-politician .pol-electorate a:hover {
  border-color: rgba(17, 24, 39, .28);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .06);
}
/* Politician pages: widen content without changing Bootstrap containers */
.node--type-politician #block-votality-barrio-content > .content {
  max-width: 1280px; /* try 1240 / 1320 if you want */
  margin-left: auto;
  margin-right: auto;
  padding-left: 0px;
  padding-right: 0px;
}
.node--type-politician article.pol-profile {
  max-width: none; /* let the parent control width */
}
:root {
  --bs-gutter-x: 0.5rem;
} /* default 1.5rem */
@media (max-width: 576px) {
  :root {
    --bs-gutter-x: 1rem;
  }
  .node--type-politician .pol-profile {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
  }
  .node--type-politician .pol-name {
    font-size: clamp(40px, 3vw, 42px);
    text-align: center;
  }
  .node--type-politician .pol-meta {
    text-align: center;
    font-size: 16px;
  }
  .node--type-politician .pol-badges {
    justify-content: center;
  }
}

  .node--type-politician .pol-layout {
    /*grid-template-columns: 1fr;*/
  }
  .node--type-politician .pol-hero__media img {
    width: auto;
    height: auto;
  }
}
@media (max-width: 640px) {
  .node--type-politician .pol-hero {
    grid-template-columns: 1fr;
  }
  .node--type-politician .pol-actions {
    justify-content: center;
    flex-wrap: wrap;
  }
  .node--type-politician .pol-hero__media img {
    width: auto;
    height: auto;
  }
  .node--type-politician h1.title {
    display: none;
  }
}
@media (max-width: 767.98px) {
  .vot-resolve-grid--upper-featured {
    display: grid;
    grid-template-columns: 1fr;
  }

  .vot-resolve-grid--upper-featured .vot-local-explainer-wrap--upper {
    order: -1;
  }
}
	
/* ==============================
   State header (canonical)
   ============================== */

/* Header should be simple, aligned, no big grey panel
.vot-state-header{
  margin:28px 0 80px;
} */

.vot-state-header .vot-container{
  max-width:1296px;
  margin:0 auto;
         
  border:0;
  background:transparent;
  border-radius:0;
}

.vot-state-header__kicker{ margin-bottom:6px; }

.vot-state-header__kicker{
font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #776c7d;
  margin-bottom: 0px;
}

.vot-state-header__title{
  margin:0 0 40px;
  font-size:clamp(1.7rem, 7vw, 2.8rem);
  font-weight:700;
  color: #1b1042bf;
}

.vot-state-header__subtitle{
   display: block;
  width: max-content;
  margin: 30px 0 30px;
  font-size: 1.5rem;
  opacity: 1;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 999px;
  background: rgba(63, 22, 177, 0.47);
  border: 1px solid rgba(0,0,0,.06);
  font-weight: 700;
  white-space: nowrap;
  color: white;
}

.vot-state-header__subtitle i.fas.fa-landmark.vot-chip-icon{
	font-size:22px;
}

	
.vot-state-header__subtitle i.fas.fa-users.vot-chip-icon {
	font-size: 18px;
}

.vot-reps-subsection__title {
  text-align: center;
  background: #fff;
  line-height: 1.4;
  border-radius: 8px;
  border: 1px solid #3333334d;
  font-size: 1.5rem;
  padding: 12px 16px;
  margin-bottom: 30px;
}

.vot-reps-subsection__meta {
	text-align: center;
  margin: -30px 0 40px 0;
}

.vot-state-header .vot-container {
  margin-top: 24px; /* space from nav/header */
}

.vot-reps-subsection--upper{
	margin-top: 3rem;
}
/*.vot-resolve-section--federal .vot-state-header__subtitle,
.vot-resolve-section--state .vot-state-header__subtitle {
  display: block;
  width: max-content;
  margin: 0 0 30px;
  font-size: 1.5rem;
  opacity: 1;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 999px;
  background: rgba(63, 22, 177, 0.47);
  border: 1px solid rgba(0,0,0,.06);
  font-weight: 700;
  white-space: nowrap;
  color: white;


.page-view-state-lower-by-electorate .vot-state-header__subtitle {
	margin: 0 0 40px;
}
}*/
.vot-state-header__subtitle {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  font-size: 20.5px;
  font-weight: 600;

  padding: 6px 12px;
  border-radius: 999px;

  color: #4c3f91;

  background: rgba(124, 92, 255, 0.14);
  border: 1px solid rgba(124, 92, 255, 0.25);

  margin-bottom: 30px;
	letter-spacing: 0.01em;
	
}


label.js-form-required.form-required {
	font-weight: 900;
  font-size: 20px;
}

.vot-chamber-explainer{
  opacity: 0.85;
  font-size: 0.8rem;
  line-height: 1.5;
  border: 1px dashed rgba(0, 0, 0, 0.50);
  background: #f1f1f1;
  border-radius: 18px;
  padding: 20px;
	margin-bottom: 50px;
}
.vot-chamber-explainer h2, h3.vot-explainer-card__title {
font-size: clamp(1.2rem, 4vw, 1.5rem);
  opacity: 0.7;
  font-family: inter;
}

.vot-chamber-explainer p, .vot-explainer-card__body p {
	font-size: clamp(0.8rem, 4vw, 1rem);
	margin-left: 10px;
}
.vot-chamber-explainer__header,.vot-explainer-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.vot-reps-section .vot-section-title {
	margin-bottom: 0;
}

.vot-chamber-explainer__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
	 font-size: 30px;
	margin-bottom: 6px;
}

.vot-local-explainer-wrap .vot-chamber-explainer__icon {
	float: left;
}
.vot-local-explainer-wrap p {
	clear:both;
	max-width: 120ch;
}

/* Ensure results sit below the form */
#votality-resolve-results{
  display: block;
  width: 100%;
  clear: both;
  margin-top: 20px;
}


.vot-container {
  max-width: 100%;
  margin: 0 auto;

}
@media (max-width: 768px) {

}

.region-secondary-menu .nav {
  display: flex;
  align-items: center;
}
.region-secondary-menu .nav-link {
  display: flex;
  align-items: center;
  height: 100%;
}

.navbar .nav-link--user::before {
  background-position: 0 0.1rem;
}

.container-fluid {
	padding: 0!important;
}

.vot-find-electorate-btn.button {
	margin-top: 7px;
}


.vot-search-preview {
  max-width: 1296px;
  margin: 2rem auto 2.5rem;
  padding: 1.4rem 1.4rem 1.2rem;
  border: 1px solid rgba(43, 30, 86, 0.10);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.88) 0%, rgba(248,246,255,0.94) 100%);
  box-shadow: 0 14px 36px rgba(32, 23, 70, 0.06);
}

.vot-search-preview__header {
  max-width: 960px;
  margin-bottom: 1.15rem;
}

.vot-search-preview__kicker {
font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #776c7d;
  margin-bottom: 0px;
}

.vot-search-preview__title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
  line-height: 1.08;
  font-weight:600;
  color: #2a1f5e;
}

.vot-search-preview__intro {
  margin: 0;
  max-width: 100ch;
  font-size: 1.2rem;
  line-height: 1.55;
  color: #5f6280;
	 font-weight:600;
}

.vot-search-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.vot-search-preview__card {
  position: relative;
  min-height: 100%;
  padding: 1.1rem 1.05rem 1rem;
  border: 1px solid rgba(43, 30, 86, 0.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(32, 23, 70, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.vot-search-preview__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(32, 23, 70, 0.08);
  border-color: rgba(86, 54, 196, 0.18);
}

.vot-search-preview__icon {
  width: 46px;
  height: 46px;
  margin-bottom: 0.9rem;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #6e41ff 0%, #8a6cff 100%);
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 10px 20px rgba(110, 65, 255, 0.22);
}

.vot-search-preview__eyebrow {
  margin-bottom: 0.35rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a72a1;
}

.vot-search-preview__card-title {
  margin: 0 0 0.65rem;
  font-size: 1.3rem;
  line-height: 1.2;
  font-weight: 800;
  color: #241a53;
}

.vot-search-preview__text {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
  color: #5c6078;
}

.vot-search-preview__trust {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: 999px;
  background: rgba(98, 67, 225, 0.08);
  color: #4b3c8f;
  font-size: 0.9rem;
  font-weight: 600;
}

.vot-search-preview__trust i {
  font-size: 0.92rem;
}

.vot-search-results-context {
  max-width: 1296px;
  margin: 0 auto;
  margin-bottom: 0px;
  padding: 1rem 0 0;
  font-size: 0.95rem;
  line-height: 1.4;
  color: #5f6280;
  margin-bottom: -20px;
}

.vot-search-results-context strong {
  color: #2a1f5e;
  font-weight: 700;
}

/* Optional: soften or hide once the search hero is collapsed
.vot-search-shell.vot-search-hero--collapsed + .vot-search-preview {
  opacity: 0.45;
  transform: scale(0.99);
  transition: opacity 180ms ease, transform 180ms ease;
}*/

.vot-search-shell.vot-search-hero--collapsed + .vot-search-preview {
  display: none;
}


/* Optional stronger behaviour: fully hide after successful search
.vot-search-shell.vot-search-hero--collapsed + .vot-search-preview {
  display: none;
}
*/

@media (max-width: 991px) {
  .vot-search-preview {
    padding: 1.15rem 1rem 1rem;
  }

  .vot-search-preview__grid {
    grid-template-columns: 1fr;
  }

  .vot-search-preview__trust {
    display: flex;
    border-radius: 14px;

  }
}
.vot-search-shell.vot-search-hero--collapsed + .vot-search-preview {
  opacity: 0.45;
  transform: scale(0.99);
}


/* ============================================================
   Small-screen card tuning - Break point 768 max
   ========================= */

@media (max-width: 768px) {
	
#block-votality-barrio-topheadermenu {
		display: none;
	}
.nav-find-rep {
	margin:0;
	margin-right: 10px;
	width: fit-content;
  padding-right: 10px;
	margin: 10px 0;
	}

	 a.nav-link i.bi.bi-search {
		 margin-left: 5px;
	}
	
	#block-votality-barrio-main-menu { 
	border-top:1px solid #6d6d6d61;
		margin-left: 10px;
	}
	#main-wrapper {
	}
	
	.vot-container {
    padding:0;
    }
	.container-fluid {
		padding: 0;
	}
	.navbar-brand img { 
    margin: 0 0 10px;
	}
	.page-view-federal-senators-by-state .view-content {
		 padding:0;
	}
	.vot-reps-section .vot-section-title {
	text-align: center;
  color: #0000009e;
  margin-bottom: 10px;
  font-size: 23px;
  font-weight: 847;
	}
}
@media (max-width: 992px) {
  .container,
  .container-md,
  .container-sm {
    max-width: 100%;
  }
}

.vot-locator-page-intro {
  margin-bottom: 1rem;
}

.vot-page-title {
  margin: 0 0 0.35rem;
}

.vot-page-subtitle {
  margin: 0;
}

#votality-locator-search-form > .vot-locator-page-intro {
  flex: 0 0 100%;
  max-width: 100%;
  width: 100%;
}

/* Autocomplete dropdown */
.ui-autocomplete {
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  padding: 6px 0 !important;
  margin-top: 4px !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
  background: #fff !important;
  overflow: hidden !important;
}

/* Reset default jQuery UI menu spacing */
.ui-menu {
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

/* Each row */
.ui-menu-item {
  margin: 0 !important;
  padding: 0 !important;
}

/* Divider between rows */
.ui-menu-item:not(:last-child) {
  border-bottom: 1px solid #f1f1f1 !important;
}

/* The actual clickable wrapper */
.ui-menu-item-wrapper {
  display: block !important;
  padding: 12px 16px !important;
  line-height: 1.45 !important;
  margin: 0 !important;
  border: 0 !important;
  white-space: nowrap;
}

/* Active / hovered row */
.ui-state-active,
.ui-menu-item-wrapper.ui-state-active {
  background: #f3f4f6 !important;
  color: inherit !important;
  border: 0 !important;
  margin: 0 !important;
}

/* Custom label split */
.vot-ac-rest {
  color: #6b7280;
  font-weight: 400;
}

.vot-ac-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.vot-ac-street {
  font-weight: 700;
  color: #1a1a1a;
}

.vot-ac-rest {
  color: #6b7280;
  font-weight: 400;
}

/* /state/upper/{state} */
div.view-content.vot-card-grid{
  display: grid;
 grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

/* /state/upper/{state}/{region} */
.page-view-state-upper-region .vot-reps-section .view-content {
	  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
	
}

.vot-upper-by-state-page .vot-reps-section .view-content > .views-row,
.vot-state-upper-region-page .vot-reps-section .view-content > .views-row {
  margin: 0;
  min-width: 0;
}

.vot-upper-by-state-page .vot-reps-section .view-content > .views-row .pol-card-list,
.vot-state-upper-region-page .vot-reps-section .view-content > .views-row .pol-card-list {
  height: 100%;
}

@media (max-width: 991.98px) {
  .vot-upper-by-state-page .vot-reps-section .view-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991.98px) {
  .vot-upper-by-state-page .vot-reps-section .view-content {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 991.98px) {
  .page-view-state-upper-region .vot-reps-section .view-content {
    grid-template-columns: 1fr;
  }
}




/* ============================================================
   Nvigation Styles
   ========================= */



.vot-nav-browse {
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  background: #171b24;
  border-top: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 20px 40px rgba(0,0,0,0.45);
  z-index: 50;
}

.vot-nav-browse__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.2rem 1.5rem 2.5rem;
}

.vot-nav-browse__header {
  margin-bottom: 1.8rem;
}

.vot-nav-browse__title {
  margin: 0 0 0.45rem;
  font-size: 1.9rem;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.97);
}

.vot-nav-browse__intro {
  margin: 0;
  max-width: 52ch;
  font-size: 0.98rem;
  line-height: 1.65;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.62);
  opacity: 1;
}

.vot-nav-browse__col-title {
  font-size: 0.76rem;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  opacity: 1;
}
.vot-nav-browse__grid {
   display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.1fr;
  gap: 1.75rem;
  align-items: start;
}


.vot-nav-browse__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vot-nav-browse__col li {
  margin-bottom: 0.7rem;
}

.vot-nav-browse__col a,
.vot-nav-browse__coming {
  display: inline-block;
  font-size: 1.05rem;
  line-height: 1.45;
  font-weight: 500;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
}

.vot-nav-browse__col a:hover,
.vot-nav-browse__col a:focus {
  color: rgba(255, 255, 255, 1);
  opacity: 1;
}

.vot-nav-browse__coming {
  color: rgba(255, 255, 255, 0.56);
}

.vot-nav-browse__cta-title {
  margin-bottom: 0.65rem;
  font-size: 1.2rem;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.96);
}

.vot-nav-browse__cta p {
  margin: 0.8rem .5rem;
  font-size: 0.98rem;
  line-height: 1.7;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.64);
}

.vot-nav-browse__pill {
  margin-left: 0.45rem;
  vertical-align: middle;
  font-size: 0.68rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.22rem 0.48rem;
  border-radius: 999px;
  background: rgba(255, 108, 92, 0.31);
  color: #ff8f82;
}
.vot-nav-browse__cta {
  padding-left: 1.5rem;
  border-left: 1px solid rgba(255,255,255,0.08);
  margin-top: -5.1rem;
  padding-top: 0.2rem;
}

.nav-item--browse {
  position: relative;
}

.vot-nav-browse {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 980px;
  max-width: min(980px, calc(100vw - 2rem));
  background: #0c0f14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  border-radius: 1rem;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s ease;
  z-index: 1000;
}

.nav-item--browse:hover .vot-nav-browse,
.nav-item--browse:focus-within .vot-nav-browse {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-item--browse > .nav-link {
  position: relative;
  z-index: 1001;
}





.vot-nav-browse__header {
  margin-bottom: 1.7rem;
}
.vot-nav-browse__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr;
  gap: 2rem;
  align-items: start;
}
/*.vot-nav-browse__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.1fr;
  gap: 2rem;
  align-items: stretch;
}*/

.vot-nav-browse__col,
.vot-nav-browse__cta-col {
  min-width: 0;
}

.vot-nav-browse__cta-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-left: 1.35rem;
  border-left: 1px solid rgba(255,255,255,0.08);
  min-width: 0;
}
.vot-nav-browse__col--divided {
 padding-right: 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.32);
}

.vot-nav-browse__cta-title {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0 0 0.8rem;
 
  line-height: 1.2;
  font-weight: 700;
  color: rgba(255,255,255,0.96);
  font-family: Public Sans;
  font-size: 1.4rem;
}

.vot-nav-browse__cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  line-height: 1;
  color: rgba(255,255,255,0.72);
  margin-left: -50px;
   margin-top: -5px;
	background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.32);
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 999px;
}

.vot-nav-browse__cta-col p {
  margin: 0 0 0.9rem;
  font-size: 0.96rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.66);
}
.vot-nav-browse__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.35rem 1.5rem 2.15rem;
}
.vot-nav-browse__header {
  margin-bottom: 1.45rem;
}

.vot-nav-browse__cta-subtext {
  color: rgba(255,255,255,0.48);
}

.vot-nav-browse__cta-col .vot-btn {
  margin-top: auto;
  align-self: flex-start;
}
.vot-nav-browse__col a,
.vot-nav-browse__coming {
  display: inline-block;
  transition:
    color 0.18s ease,
    opacity 0.18s ease,
    transform 0.18s ease;
}

.vot-nav-browse__col a:hover,
.vot-nav-browse__col a:focus {
  color: rgba(255, 255, 255, 1);
  transform: translateX(3px);
}

.vot-nav-browse__coming:hover,
.vot-nav-browse__coming:focus {
  transform: translateX(3px);
}

.vot-nav-browse__col a:focus-visible,
.vot-nav-browse__cta .vot-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 3px;
  border-radius: 0.25rem;
}
 .vot-nav-browse__col {
  display: flex;
  flex-direction: column;
}

.vot-nav-browse__col-title {
  display: block;
  min-height: 1.8rem;
}


@media (max-width:900px) {
  .navbar-toggler {
    border: 1px solid rgba(214, 255, 31, 0.22);
    border-radius: 12px;
    padding: 0.45rem 0.6rem;
    background: transparent;
    box-shadow: none;
	margin-right: 10px;
  }

  .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(214, 255, 31, 0.18);
  }

  .navbar-toggler-icon {
    display: inline-block !important;
    width: 1.5em !important;
    height: 1.5em !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 100% !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28214,255,31,0.98%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.6' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
  }
}
@media (max-width: 991.98px) {
  /* Make desktop dropdowns behave like normal mobile submenus */
  .navbar .dropdown-menu,
  .navbar .dropdown-menu.show {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    float: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 10px 0 0 !important;
    padding: 12px 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
    box-shadow: none !important;
    background: rgba(255, 255, 255, 0.04) !important;
  }

  /* Kill desktop mega-menu layout on mobile */
  .navbar .dropdown-menu .row,
  .navbar .dropdown-menu .container,
  .navbar .dropdown-menu .col,
  .navbar .dropdown-menu [class*="col-"] {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    flex: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Stack inner groups cleanly */
  .navbar .dropdown-menu > *,
  .navbar .dropdown-menu .dropdown-item,
  .navbar .dropdown-menu a {
    display: block !important;
    width: 100% !important;
  }

  /* Better spacing inside the mobile submenu */
  .navbar .dropdown-menu a,
  .navbar .dropdown-menu .dropdown-item {
    padding: 8px 0 !important;
    white-space: normal !important;
    line-height: 1.45 !important;
  }

  /* Remove desktop promo-panel feel */
  .navbar .dropdown-menu h2,
  .navbar .dropdown-menu h3,
  .navbar .dropdown-menu h4,
  .navbar .dropdown-menu p {
    margin-bottom: 10px !important;
  }

  /* Keep the collapsed navbar content vertical */
  .navbar-collapse {
    align-items: stretch !important;
  }

  .navbar-nav {
    width: 100% !important;
  }



@media (max-width: 991.98px) {
  /* Mobile nav should stack vertically */
  .navbar-collapse {
    align-items: stretch !important;
  }

  .navbar-nav {
    width: 100% !important;
  }

 

  .navbar-nav .nav-link {
    display: block !important;
  }

  /* Kill desktop mega-menu positioning on mobile */
  .navbar-nav .dropdown-menu,
  .navbar-nav .dropdown-menu.show {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    float: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 10px 0 0 !important;
    padding: 14px 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
    box-shadow: none !important;
    background: rgba(255, 255, 255, 0.04) !important;
  }

  /* Flatten desktop column/grid layout */
  .navbar-nav .dropdown-menu .row,
  .navbar-nav .dropdown-menu .container,
  .navbar-nav .dropdown-menu .col,
  .navbar-nav .dropdown-menu [class*="col-"] {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    flex: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Make all menu content stack cleanly */
  .navbar-nav .dropdown-menu > *,
  .navbar-nav .dropdown-menu a,
  .navbar-nav .dropdown-menu .dropdown-item {
    display: block !important;
    width: 100% !important;
  }

  .navbar-nav .dropdown-menu a,
  .navbar-nav .dropdown-menu .dropdown-item {
    padding: 8px 0 !important;
    white-space: normal !important;
    line-height: 1.45 !important;
  }

  /* Tone down the desktop promo-panel look */
  .navbar-nav .dropdown-menu h2,
  .navbar-nav .dropdown-menu h3,
  .navbar-nav .dropdown-menu h4,
  .navbar-nav .dropdown-menu p {
    margin-bottom: 10px !important;
  }
}

@media (max-width: 991.98px) {
  /* Mobile nav items should stack cleanly */
  #CollapsingNavbar .nav-item {
    position: relative;
  }

  #CollapsingNavbar .nav-link {
    display: block;
  }

  /* Kill desktop mega-panel behavior */
  #CollapsingNavbar .vot-nav-browse {
    display: none !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    inset: auto !important;
    transform: none !important;
    float: none !important;
    min-width: 0 !important;
    max-width: none !important;
    width: 100% !important;
    margin: 10px 0 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    background: none!important;
    box-shadow: none !important;
    overflow: hidden !important;
    z-index: auto !important;
  }

  /* Open state from the JS toggle */
  #CollapsingNavbar .vot-nav-browse.is-mobile-open {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  /* Flatten the desktop multi-column layout into a mobile stack */
  #CollapsingNavbar .vot-nav-browse__inner {
    padding: 16px !important;
  }

  #CollapsingNavbar .vot-nav-browse__header {
    margin-bottom: 14px !important;
  }

  #CollapsingNavbar .vot-nav-browse__title {
    margin: 0 0 8px !important;
    font-size: 1.8rem !important;
    line-height: 1.05 !important;
  }

  #CollapsingNavbar .vot-nav-browse__intro {
    margin: 0 !important;
    line-height: 1.5 !important;
  }

  #CollapsingNavbar .vot-nav-browse__grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  #CollapsingNavbar .vot-nav-browse__col,
  #CollapsingNavbar .vot-nav-browse__cta {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }

  #CollapsingNavbar .vot-nav-browse__col + .vot-nav-browse__col,
  #CollapsingNavbar .vot-nav-browse__cta {
    margin-top: 14px !important;
    padding-top: 14px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  #CollapsingNavbar .vot-nav-browse__col--divided {
    border-right: 0 !important;
  }

  #CollapsingNavbar .vot-nav-browse__list {
    margin: 0 !important;
    padding: 0 !important;
  }

  #CollapsingNavbar .vot-nav-browse__list li {
    margin: 0 !important;
  }

  #CollapsingNavbar .vot-nav-browse__list li + li {
    margin-top: 8px !important;
  }

  #CollapsingNavbar .vot-nav-browse__cta-title {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  /* Visual state for the Browse trigger */
  #CollapsingNavbar .nav-link.is-mobile-open {
    color: #edff24 !important;
  }
}




@media (max-width: 991.98px) {
  #CollapsingNavbar .vot-nav-browse {
    margin: 8px 0 0 !important;
    border-radius: 12px !important;
  }

  #CollapsingNavbar .vot-nav-browse__inner {
    padding: 0px !important;
	  padding-right: 20px;
  }

  #CollapsingNavbar .vot-nav-browse__header {
    margin-bottom: 10px !important;
  }

  #CollapsingNavbar .vot-nav-browse__title {
    font-size: 1rem !important;
    line-height: 1.15 !important;
    margin: 0 0 6px !important;
  }

  #CollapsingNavbar .vot-nav-browse__intro {
    font-size: 0.75rem !important;
    line-height: 1.45 !important;
  }

  #CollapsingNavbar .vot-nav-browse__grid {
    gap: 12px !important;
  }

  #CollapsingNavbar .vot-nav-browse__col-title {
    font-size: 0.9rem !important;
    letter-spacing: 0em !important;
    margin-bottom: 5px !important;
	  margin-top: 10px !important;
  }
	
 .vot-nav-browse__col-title {
  display: block;
  min-height: 0;
	}
	
.vot-nav-browse__cta-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
	line-height: 1;
	color: rgba(255,255,255,0.72);
	margin-left: 4px;
	margin-top: -7px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.32);
	width: 2rem;
	height: 2rem;
	border-radius: 999px;
}	
	
  #CollapsingNavbar .vot-nav-browse__col + .vot-nav-browse__col,
  #CollapsingNavbar .vot-nav-browse__cta {
	  margin-top: 0 !important;}

  #CollapsingNavbar .vot-nav-browse__list li + li {
    margin-top: 6px !important;
  }

  #CollapsingNavbar .vot-nav-browse__list a,
  #CollapsingNavbar .vot-nav-browse__coming {
    font-size: 0.96rem !important;
    line-height: 1.45 !important;
  }

  #CollapsingNavbar .vot-nav-browse__cta {
    margin-top: 0 !important;
  }

  #CollapsingNavbar .vot-nav-browse__cta-title {
    font-size: 1rem !important;
    line-height: 1 !important;
    margin-bottom: 8px !important;
  }

  #CollapsingNavbar .vot-nav-browse__cta p {
    font-size: 0.8rem !important;
      line-height: 1.5 !important;
	  margin-bottom: 0;
  }

  #CollapsingNavbar .vot-nav-browse .vot-btn,
  #CollapsingNavbar .vot-nav-browse__cta a {
    display: inline-flex !important;
    width: auto !important;
    min-height: 40px !important;
    font-size: 0.8rem !important;
    border-radius: none !important;
	  padding: 0 0 0 5px;
  }
}

@media (max-width: 991.98px) {
  /* Browse trigger should look expandable on mobile */
#CollapsingNavbar .nav-link[data-vot-browse-bound="1"],
#CollapsingNavbar .nav-link.is-mobile-open {
  position: relative;
  padding-right: 40px !important;
}

#CollapsingNavbar .nav-link[data-vot-browse-bound="1"]::after,
#CollapsingNavbar .nav-link.is-mobile-open::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.22s ease;
  opacity: 0.9;
}

  #CollapsingNavbar .nav-link.is-mobile-open::after {
    transform: translateY(-30%) rotate(-135deg);
  }
	
	.vot-nav-browse__cta p {
  margin: 0.8rem .5rem;
	}

  /* Accordion panel instead of pop-in panel */
 
  
@media (max-width: 991.98px) {
  #CollapsingNavbar .nav-item--browse,
  #CollapsingNavbar .nav-item--browse > .nav-link,
  #CollapsingNavbar .nav-item--browse > .vot-nav-browse {
    box-sizing: border-box !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  #CollapsingNavbar .nav-item--browse {
    width: 100% !important;
  }

  #CollapsingNavbar .vot-nav-browse {
    display: block !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    inset: auto !important;
    transform: none !important;
    float: none !important;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;

    max-height: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;

    margin: 8px 0 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius:  none !important;
    background: none;
    box-shadow: none !important;
	  transform-origin: top;

    transition:
     max-height 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 1s ease,
    border-color 1s ease;
  }

  #CollapsingNavbar .vot-nav-browse.is-mobile-open {
    max-height: 900px !important;
    opacity: 1 !important;
    pointer-events: auto !important;
	  transform-origin: top;
  }
		
	
	  #votality-address {
		  border-right: 2px solid #007bff;
	}
	
	  #votality-locator-search-form .vot-search-actions #edit-submit.vot-find-electorate-btn.form-submit.btn.btn-primary {
    width: 100% !important;
    min-width: 0 !important;
    height: 43px !important;
    border-radius: 12px !important;
	}
	
	.vot-search-hero--collapsed .form-control, .vot-search-hero--collapsed input[type="text"] {
  min-height: 43px;
}
	.v-hero__inner { 
	grid-template-columns: 1fr 520px;
	}
}
	

	
