@charset "UTF-8";
/* 1. VARIABLES & RESET */
:root {
	--primary-blue: #003366;
	--accent-red: #cc0000;
	--light-bg: #f4f4f4;
	--text-dark: #333;
	--shadow: 0 4px 20px rgba(0,0,0,0.1);
	--radius: 12px;
	font-size: 18px;
	font-weight:400;
}

#backToTop {
  display: none; /* Hidden by default */
  position: fixed; 
  bottom: 20px; 
  right: 20px; 
  border: none;
  outline: none;
  background-color: #007bff; /* Campaign blue */
  color: white;
  cursor: pointer;
  padding: 12px 18px;
  border-radius: 50px; /* Rounded pill shape */
  font-size: 16px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: opacity 0.3s;
	
	  z-index: 9999; 
  -webkit-transform: translate3d(0,0,0); /* Forces iOS to render it on top */
  transform: translate3d(0,0,0);
}

#backToTop:hover {
  background-color: #0056b3;
}


@media screen and (max-width: 480px) {
  #backToTop {
    bottom: 80px; /* Moves it higher to clear the Safari bottom bar */
    padding: 15px;
    font-size: 20px; /* Larger tap target for thumbs */
  }
}

body {
	font-family: 'Avenir Next', Avenir, 'Montserrat', 'Segoe UI', Roboto, sans-serif;
	line-height: 1.7;
	margin: 0;
	background-color: var(--light-bg);
	color: var(--text-dark);
	-webkit-font-smoothing: antialiased;
}
/* 2. SLIMMED HEADER */
header {
	background-color: var(--primary-blue);
	color: white;
	padding: 1.5rem 1rem;
	/* Significantly reduced from 4rem */
	text-align: center;
	border-bottom: 5px solid var(--accent-red);
}
header h1 {
	margin: 0;
	font-size: 2rem;
	/* Reduced from 3.2rem */
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 800;
}
.header-sub {
	font-size: 1.1rem;
	margin-top: 5px;
	font-weight: 500;
	opacity: 0.9;
}
/* 3. LAYOUT CONTAINERS */
.container {
	max-width: 950px;
	margin: 2rem auto;
	background: white;
	padding: 3.5rem;
	box-shadow: var(--shadow);
	border-radius: var(--radius);
}
section {
	margin-bottom: 4.5rem;
}
hr {
	border: 0;
	border-top: 1px solid #eee;
	margin: 4rem 0;
}
/* 4. TYPOGRAPHY */
h2 {
	color: var(--primary-blue);
	border-bottom: 3px solid var(--accent-red);
	padding-bottom: 12px;
	margin-top: 2.5rem;
	font-size: 2.2rem;
	font-weight: 700;
}
h3 {
	color: var(--primary-blue);
	margin-top: 1.8rem;
	font-size: 1.7rem;
	font-weight: 600;
}
/* 5. BIO GRID (Integrated Banner Info) */
.bio-row {
	display: grid;
	grid-template-columns: 200px 1fr 200px;
	gap: 35px;
	align-items: start;
	margin-bottom: 3.5rem;
}
.bio-img {
	width: 100%;
	border-radius: var(--radius);
	border: 1px solid #ddd;
	box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.bio-text p {
	font-size: 1.15rem;
	margin-bottom: 1rem;
}
/* The "Banner" box now lives inside the bio-row */
.election-info-box {
	background: #f9f9f9;
	border-left: 6px solid var(--accent-red);
	padding: 1.2rem;
	margin-bottom: 1.5rem;
	font-size: 1.1rem;
	color: var(--primary-blue);
	line-height: 1.4;
}
.election-info-box strong {
	color: var(--accent-red);
}
.leadership-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 15px;
	list-style: none;
	padding: 0;
}
.leadership-list li {
	background: #f9f9f9;
	padding: 15px;
	border-left: 5px solid var(--primary-blue);
	font-size: 1.05rem;
	font-weight: 500;
}
/* 6. POLICY SECTIONS */
.policy-entry {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2.5rem;
}
.sign-graphic {
	width: 45%;
	max-width: 320px;
	height: auto;
}
.plan-card {
	background-color: #f0f4f8;
	border-left: 10px solid var(--primary-blue);
	padding: 35px;
	border-radius: 6px;
	margin-top: 2rem;
}
.plan-card h4 {
	margin: 0 0 12px 0;
	color: var(--accent-red);
	text-transform: uppercase;
	font-size: 1.1rem;
	letter-spacing: 1px;
}
.plan-text {
	font-size: 1.4rem;
	color: var(--primary-blue);
	margin: 0;
	font-weight: 700;
	line-height: 1.4;
}
/* 7. VIDEO & FOOTER */
.video-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 2rem 0;
}
.video-frame {
	width: 280px;
	border: 5px solid #333;
	border-radius: 12px;
	overflow: hidden;
	background: #000;
	position: relative;
}
.video-overlay {
	background: rgba(0,0,0,0.85);
	color: #0f0;
	font-family: 'Courier New', Courier, monospace;
	font-size: 12px;
	padding: 6px 10px;
	position: absolute;
	bottom: 0;
	width: 100%;
}
footer {
	text-align: center;
	padding: 4rem 2rem;
	color: #555;
	background: #eee;
}
.disclaimer {
	border: 2px solid #888;
	padding: 12px 20px;
	display: inline-block;
	margin-top: 1.5rem;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 0.85rem;
	letter-spacing: 1px;
}
/* 9. ACTION BUTTONS & NAV */
.action-nav {
	display: flex;
	justify-content: center;
	gap: 15px;
	margin: 1.5rem 0;
}
.btn {
	display: inline-block;
	padding: 12px 25px;
	border-radius: 50px;
	text-decoration: none;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: transform 0.2s, background 0.3s;
	text-align: center;
	min-width: 160px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.15);
	font-size: 0.9rem;
}
.btn-volunteer {
	background-color: white;
	color: var(--primary-blue);
	border: 3px solid var(--primary-blue);
}
.btn-donate {
	background-color: var(--accent-red);
	color: white;
	border: 3px solid var(--accent-red);
}
.bio-row {
	display: grid;
	/* This creates two equal columns;
	adjust '1fr 1fr' if you want the text wider */
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
	margin-bottom: 3.5rem;
}
.bio-img {
	width: 100%;
	/* This ensures all images maintain a consistent look regardless of original size */
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--radius);
	border: 1px solid #ddd;
	box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.bio-text p {
	font-size: 1.2rem;
	line-height: 1.8;
	margin-bottom: 1.5rem;
}
/* STYLES FOR THE ISOLATED ELECTION BOX */
.election-info-box-standalone {
	background-color: #f8f9fa;
	border-top: 4px solid var(--accent-red);
	border-bottom: 1px solid #e9ecef;
	padding: 1.5rem;
	text-align: center;
	margin-bottom: 2rem;
	border-radius: 4px;
}
.election-title {
	color: var(--primary-blue);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 1.1rem;
	margin-bottom: 0.5rem;
}
.election-details {
	color: var(--text-dark);
	font-size: 1.2rem;
}
.detail-divider {
	margin: 0 15px;
	color: #ccc;
	font-weight: 300;
}
/* UNIFIED CAMPAIGN BANNER */
.campaign-banner {
	background-color: var(--primary-blue);
	color: white;
	padding: 1.5rem 2rem;
	border-bottom: 6px solid var(--accent-red);
	display: flex;
	justify-content: center;
}
.banner-content {
	display: flex;
	align-items: center;
	gap: 3rem;
	max-width: 1100px;
	width: 100%;
}
.candidate-identity h1 {
	font-size: 2.5rem;
	margin: 0;
	line-height: 1;
	letter-spacing: 1px;
}
.office-title {
	margin: 5px 0 0 0;
	font-size: 1.1rem;
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 2px;
	color: #cbd5e0;
}
.vertical-divider {
	width: 2px;
	height: 80px;
	/* Adjusted height to match the new 3-line text height */
	background-color: rgba(255, 255, 255, 0.3);
	margin: 0 1rem;
	/* Adds 4rem (approx 64px) of padding/space on both sides */
	flex-shrink: 0;
	/* Prevents the line from getting squeezed on smaller screens */
}
.election-alert {
	text-align: left;
	padding: 0px 40px;
	width: 60%;
}
.alert-label {
	margin: 0;
	text-transform: uppercase;
	font-size: 0.8rem;
	font-weight: 800;
	color: #fca5a5;
	/* Light red/pink for "Alert" feel */
	letter-spacing: 1px;
}
.alert-date {
	margin: 0;
	font-size: 1.6rem;
	font-weight: 800;
}
.early-voting {
	margin: 0;
	font-size: 1rem;
	opacity: 0.9;
}
/* MOBILE RESPONSIVENESS */
@media (max-width: 850px) {
	.banner-content {
		flex-direction: column;
		text-align: center;
		gap: 1rem;
	}
	.vertical-divider {
		display: none;
	}
	.election-alert {
		text-align: center;
		background: rgba(0,0,0,0.2);
		padding: 0px 10px;
		border-radius: 8px;
	}
}
/* 8. MOBILE OPTIMIZATION */
@media (max-width: 768px) {
	.container {
		padding: 2rem 1.5rem;
		margin: 0;
		border-radius: 0;
	}
	.bio-row {
		grid-template-columns: 1fr;
		text-align: center;
	}
	.bio-img {
		width: 60%;
		margin: 0 auto;
	}
	.action-nav {
		flex-direction: column;
		align-items: stretch;
		padding: 0 20px;
	}
}
/* Ensure it stacks nicely on small screens */
@media (max-width: 600px) {
	.detail-divider {
		display: none;
	}
	.detail-item {
		display: block;
		margin-bottom: 5px;
	}
	.election-details {
		font-size: 1.1rem;
	}
}
/* Mobile Fix */
@media (max-width: 768px) {
	.bio-row {
		grid-template-columns: 1fr;
		text-align: left;
	}
	.bio-img {
		width: 100%;
		max-width: 400px;
		margin: 0 auto;
	}
}
body {
	font-family: 'Avenir Next', Avenir, 'Montserrat', 'Segoe UI', Roboto, sans-serif;
	line-height: 1.7;
	margin: 0;
	background-color: var(--light-bg);
	color: var(--text-dark);
	-webkit-font-smoothing: antialiased;
}
/* 2. SLIMMED HEADER */
header {
	background-color: var(--primary-blue);
	color: white;
	padding: 1.5rem 1rem;
	/* Significantly reduced from 4rem */
	text-align: center;
	border-bottom: 5px solid var(--accent-red);
}
header h1 {
	margin: 0;
	font-size: 2rem;
	/* Reduced from 3.2rem */
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 800;
}
.header-sub {
	font-size: 1.1rem;
	margin-top: 5px;
	font-weight: 500;
	opacity: 0.9;
}
/* 3. LAYOUT CONTAINERS */
.container {
	max-width: 950px;
	margin: 2rem auto;
	background: white;
	padding: 3.5rem;
	box-shadow: var(--shadow);
	border-radius: var(--radius);
}
section {
	margin-bottom: 4.5rem;
}
hr {
	border: 0;
	border-top: 1px solid #eee;
	margin: 4rem 0;
}
/* 4. TYPOGRAPHY */
h2 {
	color: var(--primary-blue);
	border-bottom: 3px solid var(--accent-red);
	padding-bottom: 12px;
	margin-top: 2.5rem;
	font-size: 2.2rem;
	font-weight: 700;
}
h3 {
	color: var(--primary-blue);
	margin-top: 1.8rem;
	font-size: 1.7rem;
	font-weight: 600;
}
/* 5. BIO GRID (Integrated Banner Info) */
.bio-row {
	display: grid;
	grid-template-columns: 200px 1fr 200px;
	gap: 35px;
	align-items: start;
	margin-bottom: 3.5rem;
}
.bio-img {
	width: 100%;
	border-radius: var(--radius);
	border: 1px solid #ddd;
	box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.bio-text p {
	font-size: 1.15rem;
	margin-bottom: 1rem;
}
/* The "Banner" box now lives inside the bio-row */
.election-info-box {
	background: #f9f9f9;
	border-left: 6px solid var(--accent-red);
	padding: 1.2rem;
	margin-bottom: 1.5rem;
	font-size: 1.1rem;
	color: var(--primary-blue);
	line-height: 1.4;
}
.election-info-box strong {
	color: var(--accent-red);
}
.leadership-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 15px;
	list-style: none;
	padding: 0;
}
.leadership-list li {
	background: #f9f9f9;
	padding: 15px;
	border-left: 5px solid var(--primary-blue);
	font-size: 1.05rem;
	font-weight: 500;
}
/* 6. POLICY SECTIONS */
.policy-entry {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2.5rem;
}
.sign-graphic {
	width: 45%;
	max-width: 320px;
	height: auto;
}
.plan-card {
	background-color: #f0f4f8;
	border-left: 10px solid var(--primary-blue);
	padding: 35px;
	border-radius: 6px;
	margin-top: 2rem;
}
.plan-card h4 {
	margin: 0 0 12px 0;
	color: var(--accent-red);
	text-transform: uppercase;
	font-size: 1.1rem;
	letter-spacing: 1px;
}
.plan-text {
	font-size: 1.4rem;
	color: var(--primary-blue);
	margin: 0;
	font-weight: 700;
	line-height: 1.4;
}
/* 7. VIDEO & FOOTER */
.video-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 2rem 0;
}
.video-frame {
	width: 280px;
	border: 5px solid #333;
	border-radius: 12px;
	overflow: hidden;
	background: #000;
	position: relative;
}
.video-overlay {
	background: rgba(0,0,0,0.85);
	color: #0f0;
	font-family: 'Courier New', Courier, monospace;
	font-size: 12px;
	padding: 6px 10px;
	position: absolute;
	bottom: 0;
	width: 100%;
}
footer {
	text-align: center;
	padding: 4rem 2rem;
	color: #555;
	background: #eee;
}
.disclaimer {
	border: 2px solid #888;
	padding: 12px 20px;
	display: inline-block;
	margin-top: 1.5rem;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 0.85rem;
	letter-spacing: 1px;
}
/* 9. ACTION BUTTONS & NAV */
.action-nav {
	display: flex;
	justify-content: center;
	gap: 15px;
	margin: 1.5rem 0;
}
.btn {
	display: inline-block;
	padding: 12px 25px;
	border-radius: 50px;
	text-decoration: none;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: transform 0.2s, background 0.3s;
	text-align: center;
	min-width: 160px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.15);
	font-size: 0.9rem;
}
.btn-volunteer {
	background-color: white;
	color: var(--primary-blue);
	border: 3px solid var(--primary-blue);
}
.btn-donate {
	background-color: var(--accent-red);
	color: white;
	border: 3px solid var(--accent-red);
}
/* 8. MOBILE OPTIMIZATION */
@media (max-width: 768px) {
	.container {
		padding: 2rem 1.5rem;
		margin: 0;
		border-radius: 0;
	}
	.bio-row {
		grid-template-columns: 1fr;
		text-align: center;
	}
	.bio-img {
		width: 60%;
		margin: 0 auto;
	}
	.action-nav {
		flex-direction: column;
		align-items: stretch;
		padding: 0 20px;
	}
}
</style>/* 1. VARIABLES & RESET */
:root {
	--primary-blue: #003366;
	--accent-red: #cc0000;
	--light-bg: #f4f4f4;
	--text-dark: #333;
	--shadow: 0 4px 20px rgba(0,0,0,0.1);
	--radius: 12px;
	font-size: 18px;
	/* Base size for 'Larger' look */
	font-weight:400;
}
.centeredText {
	text-align:center;
}
/* 2. LAYOUT CONTAINERS */
.container {
	max-width: 950px;
	margin: 3rem auto;
	background: white;
	padding: 3.5rem;
	box-shadow: var(--shadow);
	border-radius: var(--radius);
}
header {
	background-color: var(--primary-blue);
	color: white;
	padding: 4rem 1rem;
	text-align: center;
	border-bottom: 8px solid var(--accent-red);
}
section {
	margin-bottom: 4.5rem;
}
hr {
	border: 0;
	border-top: 1px solid #eee;
	margin: 4rem 0;
}
/* 3. TYPOGRAPHY */
h1 {
	margin: 0;
	font-size: 3.2rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 800;
}
h2 {
	color: var(--primary-blue);
	border-bottom: 3px solid var(--accent-red);
	padding-bottom: 12px;
	margin-top: 2.5rem;
	font-size: 2.2rem;
	font-weight: 700;
}
h3 {
	color: var(--primary-blue);
	margin-top: 1.8rem;
	font-size: 1.7rem;
	font-weight: 600;
}
.quote-box {
	font-size: 1.5rem;
	font-weight: 500;
	color: var(--primary-blue);
	border-left: 8px solid var(--accent-red);
	padding: 1.8rem 2.5rem;
	background: #f9f9f9;
	margin: 2.5rem 0;
	line-height: 1.4;
}
/* 4. BIO GRID */
.bio-row {
	display: grid;
	grid-template-columns: 200px 1fr 200px;
	gap: 35px;
	align-items: center;
	margin-bottom: 3.5rem;
	text-align: center;
}
.bio-img {
	width: 100%;
	border-radius: var(--radius);
	border: 1px solid #ddd;
	box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.bio-text p {
	font-size: 1.25rem;
	margin-bottom: 1.2rem;
}
.leadership-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 15px;
	list-style: none;
	padding: 0;
}
.leadership-list li {
	background: #f9f9f9;
	padding: 15px;
	border-left: 5px solid var(--primary-blue);
	font-size: 1.05rem;
	font-weight: 500;
}
/* 5. POLICY SECTIONS */
.policy-entry {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2.5rem;
}
.sign-graphic {
	width: 45%;
	max-width: 320px;
	height: auto;
}
.plan-card {
	background-color: #f0f4f8;
	border-left: 10px solid var(--primary-blue);
	padding: 35px;
	border-radius: 6px;
	margin-top: 2rem;
}
.plan-card h4 {
	margin: 0 0 12px 0;
	color: var(--accent-red);
	text-transform: uppercase;
	font-size: 1.1rem;
	letter-spacing: 1px;
}
.plan-text {
	font-size: 1.4rem;
	color: var(--primary-blue);
	margin: 0;
	font-weight: 700;
	line-height: 1.4;
}
/* 6. VIDEO */
.video-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 2rem 0;
}
.video-frame {
	width: 280px;
	border: 5px solid #333;
	border-radius: 12px;
	overflow: hidden;
	background: #000;
	position: relative;
}
.video-overlay {
	background: rgba(0,0,0,0.85);
	color: #0f0;
	font-family: 'Courier New', Courier, monospace;
	font-size: 12px;
	padding: 6px 10px;
	position: absolute;
	bottom: 0;
	width: 100%;
}
/* 7. FOOTER */
footer {
	text-align: center;
	padding: 4rem 2rem;
	color: #555;
	background: #eee;
}
.disclaimer {
	border: 2px solid #888;
	padding: 12px 20px;
	display: inline-block;
	margin-top: 1.5rem;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 0.85rem;
	letter-spacing: 1px;
}
html {
	scroll-behavior: smooth;
}
/* Enables smooth scrolling for all anchor links */
.back-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	background-color: var(--primary-blue);
	color: white;
	padding: 12px 18px;
	border-radius: 50px;
	text-decoration: none;
	font-weight: bold;
	font-size: 0.9rem;
	box-shadow: 0 4px 10px rgba(0,0,0,0.3);
	z-index: 1000;
	transition: background 0.3s;
}
.back-to-top:hover {
	background-color: var(--accent-red);
}
/* 9. ACTION BUTTONS & NAV */
.action-nav {
	display: flex;
	justify-content: center;
	gap: 15px;
	margin: 2rem 0;
}
.btn {
	display: inline-block;
	padding: 15px 30px;
	border-radius: 50px;
	text-decoration: none;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: transform 0.2s, background 0.3s;
	text-align: center;
	min-width: 180px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.btn:hover {
	transform: translateY(-3px);
}
.btn-volunteer {
	background-color: white;
	color: var(--primary-blue);
	border: 3px solid var(--primary-blue);
}
.btn-volunteer:hover {
	background-color: var(--primary-blue);
	color: white;
}
.btn-donate {
	background-color: var(--accent-red);
	color: white;
	border: 3px solid var(--accent-red);
}
.btn-donate:hover {
	background-color: #a30000;
	border-color: #a30000;
}
/* Mobile stacking for buttons */
@media (max-width: 600px) {
	.action-nav {
		flex-direction: column;
		align-items: stretch;
	}
}
/* 8. MOBILE OPTIMIZATION */
@media (max-width: 768px) {
	:root {
		font-size: 16px;
	}
	.container {
		margin: 0;
		border-radius: 0;
		padding: 2rem 1.5rem;
	}
	.bio-row {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.bio-row div:nth-child(1) {
		order: 2;
	}
	.bio-row div:nth-child(2) {
		order: 1;
	}
	.bio-row div:nth-child(3) {
		order: 3;
	}
	.bio-img {
		width: 80%;
		margin: 0 auto;
	}
	.sign-graphic {
		width: 75%;
	}
	h1 {
		font-size: clamp(1.8rem, 5vw, 2.5rem); 
		line-height: 1.2;
	}
}
