/* ===========================
	 VOTE: HERO SECTION
	 =========================== */
.page-vote .vote-hero {
	text-align: center;
  margin-bottom: 2rem;
	padding-top: 0;
}

.page-vote .vote-hero-wrapper{
	position: relative;
  width: 100vw;
  max-width: 100vw;
  height: 360px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
}

.page-vote .vote-hero-wrapper img {
	width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  filter: grayscale(100%);
}

.page-vote .vote-hero-wrapper::after {
	content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 102, 51, 0.55);
  pointer-events: none;
  z-index: 1;
}

.page-vote .vote-hero .vote-hero-text {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}

.page-vote .vote-hero .vote-hero-text h1{
	margin: 0;
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.55);
}

/* ===========================
	 VOTE: VOTING GRID
	 =========================== */
body.page-vote .vote-cards{
	max-width: 1100px;
	margin: 2rem auto 3rem;
	padding: 0 1.5rem;

	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

body.page-vote .vote-card{
	background: #f7fbf7;
	border-radius: 14px;
	border: 1px solid #d6ead6;
	padding: 1.2rem;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	align-items: center;
	text-align: center;
	transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

body.page-vote .vote-card:hover{
	transform: translateY(-3px);
	box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
	border-color: var(--primary);
}

body.page-vote .vote-card h2{
	margin: 0;
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--primary);
}

body.page-vote .vote-card-icon{
	width: 50px;
	height: 50px;
	border-radius: 999px;
	color: var(--primary);
	display: flex;
	align-items: center;
	justify-content: center;
}

@media (max-width: 900px) {
	body.page-vote .vote-cards{
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	body.page-vote .vote-cards{
		grid-template-columns: 1fr;
	}
}

/* ===========================
   VOTE: REGISTRATION SECTION
   =========================== */

body.page-vote .vote-registration{
  text-align: center;
  margin: 2.5rem auto 3rem;
  padding: 0 1.5rem;
}

body.page-vote .vote-registration-inner{
  max-width: 800px;
  margin: 0 auto;
}

body.page-vote .vote-registration-inner h2{
  margin-bottom: 1.25rem;
  color: var(--primary);
  font-size: 1.4rem;
  font-weight: 800;
}

/* Yellow glass button */
body.page-vote .vote-registration-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.75rem 1.6rem;
  border-radius: 999px;

  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;

  color: #111;

  background: rgba(255, 215, 0, 0.6);
  border: 1px solid rgba(255, 215, 0, 0.75);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

body.page-vote .vote-registration-btn:hover{
  transform: translateY(-2px);
  background: rgba(255, 215, 0, 0.8);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

/* ===========================
	 VOTE: EARLY VOTING INFO
	 =========================== */
body.page-vote .voting-info{
	max-width: 800px;
	margin: 0 auto 3rem;
	padding: 0 1.5rem;
	text-align: center;
}

body.page-vote .voting-info h2{
	margin-bottom: 1rem;
	color: var(--primary);
	font-size: 1.4rem;
	font-weight: 800;
}

body.page-vote .voting-info p{
	color: var(--muted);
	line-height: 1.6;
	margin-bottom: 1rem;
}

body.page-vote .voting-info ul{
	list-style: none;
	padding: 0;
	margin: 0 auto;
	max-width: 400px;
	text-align: left;
	color: var(--muted);
}

/* ===========================
	 VOTE: CTA HERO
	 =========================== */

.page-vote .cta-hero{
	text-align: center;
	padding-top: 0;
}

.page-vote .cta-hero-wrapper{
	position: relative;
  width: 100vw;
  max-width: 100vw;
  height: 360px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
}

.page-vote .cta-hero-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 60%;
	display: block;
	filter: grayscale(100%);
}

.page-vote .cta-hero-wrapper::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 102, 51, 0.55);
	pointer-events: none;
	z-index: 1;
}

.page-vote .cta-hero-text {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 1rem;
	gap: 1rem;
}

.page-vote .cta-hero-text h2{
	margin: 0;
	color: #fff;
	font-size: clamp(1.8rem, 4vw, 3rem);
	font-weight: 800;
	line-height: 1.15;
	text-shadow: 0 6px 18px rgba(0, 0, 0, 0.55);
}
/* ===========================
   VOTE: MOBILE OVERRIDES
   =========================== */

@media (max-width: 600px) {

  /* Reduce hero and CTA image heights */
  .page-vote .vote-hero-wrapper,
  .page-vote .cta-hero-wrapper {
    height: 220px;
  }

  /* Registration button — full width on mobile */
  .page-vote .vote-registration-btn {
    width: 100%;
    justify-content: center;
  }

  /* Tighten section padding */
  .page-vote .vote-registration,
  .page-vote .voting-info {
    padding: 0 1rem;
  }
}
/* ============================================================
   ACCESSIBILITY: DARK MODE
   ============================================================ */

html.a11y-dark body.page-vote .vote-card {
  background: #242424;
  border-color: #444;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

html.a11y-dark body.page-vote .vote-card:hover {
  border-color: #4cc97a;
}

html.a11y-dark body.page-vote .vote-card h2 {
  color: #4cc97a;
}

html.a11y-dark body.page-vote .vote-registration-btn {
  background: rgba(255, 215, 0, 0.88);
  border-color: rgba(255, 215, 0, 0.72);
  color: #111;
}

html.a11y-dark body.page-vote .voting-info p {
  color: #a0a0a0;
}

html.a11y-dark body.page-vote .voting-info ul {
  color: #a0a0a0;
}

/* ============================================================
   ACCESSIBILITY: COMFORT MODE
   ============================================================ */

html.a11y-comfort body.page-vote .vote-card {
  background: #faf5ee;
  border-color: #e0d5c5;
}

html.a11y-comfort body.page-vote .vote-card:hover {
  border-color: var(--primary);
}

/* ============================================================
   ACCESSIBILITY: HIGH CONTRAST
   ============================================================ */

html.a11y-highcontrast body.page-vote .vote-card {
  background: #ffffff;
  border: 2px solid #000000;
  box-shadow: none;
}

html.a11y-highcontrast body.page-vote .vote-card:hover {
  border-color: #000000;
  box-shadow: 0 0 0 3px #000000;
}

html.a11y-highcontrast body.page-vote .vote-registration-btn {
  background: #FFD700;
  border: 2px solid #000000;
  color: #000000;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

html.a11y-highcontrast body.page-vote .vote-registration-btn:hover {
  background: #FFE44A;
  box-shadow: none;
}