/* ---------- Results container ---------- */

.vot-resolve-results__inner {
  margin-top: 16px;
}

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

.vot-resolve-section {
  margin-top: 32px;
}

.vot-resolve-section__title {
  margin: 0 0 16px 0;
  font-weight: 800;
  font-size: 1.1rem;
}

.vot-resolve-subsection {
  margin-top: 50px;
}

/* ---------- Grid ---------- */

.vot-resolve-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

@media (min-width: 900px) {
  .vot-resolve-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Card ---------- */

.vot-resolve-card {
  display: block;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: #f8f8f8;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
  transition: all .15s ease;
}

.vot-resolve-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
  color: #018fe2;
  background: #e7f0fe;
}

.vot-resolve-card--na {
  background: rgba(0,0,0,.03);
}

/* ---------- Card text ---------- */

.vot-resolve-card__title {
  font-weight: 700;
  margin-bottom: 14px;
  font-size: 20px;
  color: #48358c;
}

.vot-resolve-card__name {
  font-size: 15px;
  margin-bottom: 10px;
}

.vot-resolve-card__cta {
  font-weight: 600;
  font-size: 14px;
  margin-top: 6px;
  color: #0d6efd;
}

.pol-card-list__media {
  align-self: start;
}

.pol-card-list__summary-icon {
  text-align: center;
  font-size: 60px;
}

/* ---------- Header ---------- */

.vot-state-header {
  margin: 28px 0 80px;
}

.vot-state-header__title {
  margin: 0 0 26px;
  font-size: 2.5rem;
  font-weight: 700;
}

/*.vot-state-header__subtitle {
  display: block;
  width: max-content;
  margin: 0 auto 20px auto;
  font-size: 1.5rem;
  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;
}*/

/* ---------- Chips ---------- */

.vot-chip {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

/* ---------- Status ---------- */

.vot-resolve-loading,
.vot-resolve-error,
.vot-resolve-empty {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(0,0,0,.03);
}

.v-hero__search {
  max-width: 1100px;
  margin: 32px auto 24px auto;

  padding: 36px 40px 32px;

  border-radius: 20px;

  background: linear-gradient(135deg, #5b3fd6 0%, #6c4cf1 100%);

  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.25),
    0 6px 16px rgba(0, 0, 0, 0.15);

  position: relative;
  overflow: hidden;
}

.article-meta { 
  font-size: 15px;
  margin: 30px 0 0 0;
  font-weight: 800;
  color: #34527a;
}

/* ======================================================
   SEARCH FORM (CLEAN + FIXED)
   ====================================================== */



.vot-search-label-wrap,
.vot-search-help-wrap {
  max-width: 820px;
}

.vot-search-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  max-width: 820px;
}

.vot-search-input-wrap {
  min-width: 0;
}

.vot-search-input-wrap .form-item-address {
  margin-bottom: 0 !important;
}

#votality-address {
  width: 100%;
  height: 64px;
  padding: 18px 20px;
  font-size: 1.25rem;
  line-height: 1.4;
  background: #fff !important;
  border-radius: 12px 0 0 12px;
  border-right: none;
  box-sizing: border-box;
  margin: 0;
  border:2px solid #007bff;

}

#votality-address:focus {
  outline: none;
  box-shadow: none;
  border-color: #86b7fe;
  background: #eef5ff !important;
}

.vot-search-actions {
  display: flex;
  align-items: stretch;
  margin: 0;
}

#votality-locator-search-form .vot-search-actions #edit-submit.vot-find-electorate-btn.form-submit.btn.btn-primary {
  min-width: 260px;
  height: 64px;
  padding: 0 26px;
  margin: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;

  color: #fff !important;
  background-color: #007bff !important;
  border: 1px solid #007bff !important;
  border-left: none !important;
  border-radius: 0 12px 12px 0 !important;
  box-shadow: none !important;
}

#votality-locator-search-form .vot-search-actions #edit-submit.vot-find-electorate-btn.form-submit.btn.btn-primary:hover {
  color: #e4f1ff !important;
  background-color: #0052aa !important;
  border-color: #0058b7 !important;
}

.vot-search-help {
  font-size: 0.7em;
}

.vot-search-label-wrap,
.vot-search-bar,
.vot-search-help-wrap {
  max-width: 100%;
}

.vot-search-help-wrap {
  max-width: 820px;
  margin-top: 6px;     /* tight to field */
}

.vot-search-help {
  display: block;
  font-size: 1rem;
  color: #6c757d;
  line-height: 1.4;
}

.vot-search-shell .mb-3 {

}

.vot-search-bar {
  margin-bottom: 4px;
}

.vot-search-supporting {
font-size: 1rem;
  color: #555d64;
  margin-bottom: -10px;
  max-width: 100%;
  font-weight: 700;
}

.vot-search-kicker {
margin: 0 0 -2px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #dbef22;
  font-weight: 800;
}

h1.vot-search-title   {
font-size: clamp(1.5rem, 4vw, 3.7rem);
  font-weight: 900;
  margin: 0;
	color: #fff;
}

.form-control::placeholder {
  color: #b5babe!important;
  opacity: 1;
}
.vot-search-help { 
color: #fff;
  font-size: .9rem;
}
.vot-search-supporting {
	color: #c9d1ef;
}
.vot-search-trust a {
	color: #5aaee0;
}

.vot-search-trust a:hover {
	color: #9acceb;
}
/*.vot-search-kicker {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2d0841;
  margin-bottom: 0px;
}*/
/*.vot-search-shell::before {
/*background: linear-gradient( 180deg, #6a6fb3 0%, #f9f8ff 100% );*/
	/*background: radial-gradient(125% 125% at 50% 90%, rgb(255, 255, 255) 20%, rgb(0, 5, 255) 100%);
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  z-index: -1;
	opacity: 50%;
	border-bottom: 1px solid #999;
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.13);
}*/

.vot-search-shell {
  position: relative;
  padding: 48px 15px 35px 5px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 350px;
	
  background: radial-gradient(circle at top left, rgba(72, 187, 120, 0.18), transparent 34%), linear-gradient(135deg, #5931e7 0%, #3b209b 58%, #5931e7 100%);
  color: #fff;
  border-radius: 28px;
  padding: 42px;
  box-shadow: 0 24px 70px rgba(15, 36, 56, 0.22);
	margin-top
	
}
.vot-search-shell .mb-3 {
  margin-bottom: 0!important;
}

.vot-search-supporting-wrap {
  margin-bottom: 14px;
}

.vot-search-help-wrap {
  margin-top: 0px;
}

.vot-search-trust-wrap {
  margin-top: auto;
  padding-top: 16px;
}

.vot-search-trust {
  font-size: 0.75rem;
  line-height: 1.4;
margin: 40px 0 0 0;
	text-align: center;
}

.votality-locator-search-form.vot-geocoder-ui {
	padding: 48px 0 72px;
}
.vot-search-intro {
/*background: linear-gradient(181deg, rgba(255, 255, 255, 0.45) 0%, rgba(199, 207, 255, 0.25) 100%);
	 margin-bottom:50px!important;
  border: 1px solid #acacac;*/
  padding: 9px;
  border-radius: 20px;

}
.vot-data-source a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.vot-resolve-grid--upper-featured {
  margin-bottom: 16px;
}

.vot-local-explainer-wrap--upper {
  opacity: 0.9;
}

.vot-data-source a:hover {
  color: #0b74ee;
}
.mb-3 {
  margin-bottom: 0px !important;
}
#edit-bar {
	margin-bottom: 0!important;
}
#edit-intro {
	margin-bottom: 20px!important;
}

.pol-card-list__role {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: #4b5563;
}

.vot-resolve-grid--federal-lower-featured,
.vot-resolve-grid--federal-upper-featured,
.vot-resolve-grid--upper-featured {
  margin-bottom: 16px;
}


/* Mobile */
@media (max-width: 768px) {
  .vot-search-label-wrap,
  .vot-search-bar,
  .vot-search-help-wrap {
    max-width: none;
  }

  .vot-search-bar {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  #votality-address {
    height: 56px;
    min-height: 56px;
    font-size: 1rem;
    padding: 14px 16px;
    border-radius: 12px !important;
    border-right: 1px solid #ced4da;
  }

  #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: 56px !important;
    border-radius: 12px !important;
    border-left: 1px solid #007bff !important;
  }
}


/* =========================
   MOBILE FIX
   ========================= */

@media (max-width: 768px) {

  .vot-search-controls {
    grid-template-columns: 1fr;
    row-gap: 12px;
  }

  .vot-search-actions {
    width: 100%;
    margin-top: 0;
  }

  #votality-address {
    border-radius: 12px !important;
    height: auto;
    min-height: 56px;
    font-size: 1rem;
  }

  #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: 56px !important;

    border-radius: 12px !important;
  }
}

/* =========================
   SMALL MOBILE (iPhone)
   ========================= */

@media (max-width: 480px) {

  .vot-state-header__title {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
    line-height: 0.95;
  }

  .pol-card-list__link {
    grid-template-columns: 1fr;
  }

  .pol-card-list__media-image {
    width: 72px;
    height: 72px;
  }

  .pol-card-list__name {
    font-size: 1.05rem;
  }

  .vot-chip {
    font-size: 10px;
    padding: 4px 7px;
  }
	
	#edit-intro {
  margin-bottom: 0!important;
		
}
.vot-search-intro { 
	padding: clamp(.9rem, 1.5vw, 2rem);
	margin: 0;
	background: #ffffff5e;
  border: 1px solid #acacac;
  border-radius: 10px;
	}
	.vot-search-shell {
  position: relative;
  padding: 15px 0 15px;
	}
	.vot-search-supporting {
  font-size: clamp(.9rem, 1vw, 1.3rem);
		text-align:center;
	}
	.vot-search-kicker {
  font-size: 0.7rem;
	}
	
	#edit-address--description {
		display: none;
	}
	
	.vot-search-trust {
  font-size: 0.6rem;
  line-height: 1.4;
  margin: 40px 0 0 0;
  text-align: center;
}
	
}

.vot-search-hero {
  position: relative;
  transition: padding .22s ease, background-color .22s ease, box-shadow .22s ease;
}

.vot-search-hero__inner {
  position: relative;
}

.vot-search-hero__intro {
  overflow: hidden;
  max-height: 420px;
  opacity: 1;
  transform: translateY(0);
  transition:
    max-height .28s ease,
    opacity .22s ease,
    transform .22s ease,
    margin .22s ease,
    padding .22s ease;
}

.vot-search-hero__tools {
  position: relative;
}

.vot-search-hero__toggle {
  position: absolute;
  top: 50%;
  right: -46px;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 999px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
  transition: transform .18s ease, opacity .18s ease;
  z-index: 4;
}

.vot-search-hero__toggle i {
  transition: transform .2s ease;
}

.vot-search-hero--collapsed .vot-search-hero__intro {
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  pointer-events: none;
}

.vot-search-hero--collapsed .vot-search-hero__toggle i {
  transform: rotate(180deg);
}

.vot-search-hero--collapsed {
  padding-top: 0;
}

.vot-search-hero--collapsed .vot-search-hero__tools {
  margin-top: 30px;
}

.vot-search-shell.vot-search-hero--collapsed {
  min-height: 0;
	padding: 40px;
}

/* Optional: make the collapsed state feel tighter */
.vot-search-hero--collapsed .form-control,
.vot-search-hero--collapsed input[type="text"] {
  min-height: 56px;
}

@media (max-width: 991px) {
  .vot-search-hero__toggle {
    right: 8px;
  }
}

.pol-card-list__name {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin: 0;
  line-height: 1.1;
}

.pol-card-list__name::before {
  content: none;
  display: none;
}

.pol-card-list__name::after {
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  margin-left: 0.15rem;
}

/* Greens */
.pol-card-list__name.party-greens::after {
  content: "Gr";
  color: #337851;
}

/* Labor */
.pol-card-list__name.party-labor::after {
  content: "ALP";
  color: #c20000;
}

/* Liberal */
.pol-card-list__name.party-liberal::after {
  content: "Lib";
  color: #175cd3;
}

/* National */
.pol-card-list__name.party-national::after {
  content: "Nat";
  color: #b54708;
}

/* Independent */
.pol-card-list__name.party-independent::after {
  content: "Ind";
  color: #7455ba;
}

/* Generic fallback */
.pol-card-list__name.party-generic::after {
  content: "";
}

.pol-card-list__name::after {
  content: "";
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border-radius: 25%;
  margin-left: 0.2rem;
  vertical-align: middle;
  font-size: 0;
  line-height: 0;
}

/* Greens */
.pol-card-list__name.party-greens::after {
  background: #337851;
}

/* Labor */
.pol-card-list__name.party-labor::after {
  background: #c20000;
}

/* Liberal */
.pol-card-list__name.party-liberal::after {
  background: #2e6cf6;
}

/* National */
.pol-card-list__name.party-national::after {
  background: #008000;
}

/* Independent */
.pol-card-list__name.party-independent::after {
  background: #7455ba;
}

/* Generic fallback */
.pol-card-list__name.party-generic::after {
  display: none;
}


.pol-card-list__name::after {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1rem;
  padding: 0 0.22rem;
  border-radius: 15%;
  margin-left: 0.2rem;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  vertical-align: middle;
  letter-spacing: 0.01rem;
}

/* Greens */
.pol-card-list__name.party-greens::after {
  content: "Gr";
   color: #fff;
}

/* Labor */
.pol-card-list__name.party-labor::after {
  content: "ALP";
   color: #fff;
}

/* Liberal */
.pol-card-list__name.party-liberal::after {
  content: "Lib";
 color: #fff;
}

/* National */
.pol-card-list__name.party-national::after {
  content: "Nat";
   color: #fff;
}

/* Independent */
.pol-card-list__name.party-independent::after {
  content: "Ind";
   color: #fff;
}

/* Generic fallback */
.pol-card-list__name.party-generic::after {
  content: "";
  display: none;
}