/*
Theme Name: election_s Child
Version: 1.0.0
Template: election_s
*/

/* ============================================================
   Site Header / Drawer / Footer — shared across all pages
   (markup lives in header.php / footer.php)
   ============================================================ */

#site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	height: 60px;
	background: #1A4F8A;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
	height: 100%;
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.header-left {
	display: flex;
	align-items: center;
	min-width: 0;
}

.header-logo-link { text-decoration: none; }

.header-logo {
	height: 38px;
	width: auto;
	display: block;
}

.header-logo-text {
	display: block;
	font-size: 0.8rem;
	font-weight: 700;
	color: #ffffff;
	letter-spacing: 0.04em;
	line-height: 1;
}

.header-right {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.header-cta {
	display: inline-block;
	background: #E86A00;
	color: #ffffff;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	padding: 8px 18px;
	border-radius: 2px;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.2s;
}

.header-cta:hover { background: #C75C00; }

.hamburger {
	background: none;
	border: none;
	cursor: pointer;
	padding: 6px;
	display: flex;
	flex-direction: column;
	gap: 5px;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.hamburger span {
	display: block;
	width: 22px;
	height: 2px;
	background: #ffffff;
	border-radius: 1px;
	transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 999;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s;
}

.drawer-overlay.active {
	opacity: 1;
	pointer-events: all;
}

#drawer-menu {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: 280px;
	background: #0F2A4A;
	z-index: 1001;
	transform: translateX(100%);
	transition: transform 0.3s ease;
	overflow-y: auto;
	padding: 72px 0 40px;
}

#drawer-menu.active { transform: translateX(0); }

#drawer-menu ul { list-style: none; margin: 0; padding: 0; }

#drawer-menu li { border-bottom: 1px solid rgba(255, 255, 255, 0.07); }

#drawer-menu a {
	display: block;
	padding: 14px 28px;
	color: #a0a0bc;
	font-size: 0.82rem;
	letter-spacing: 0.03em;
	text-decoration: none;
	line-height: 1.5;
	transition: color 0.2s, background 0.2s;
}

#drawer-menu a:hover {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.05);
}

.drawer-cta-item {
	margin-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
	border-bottom: none !important;
}

.drawer-cta-item a {
	color: #ffffff !important;
	background: #E86A00;
	margin: 16px 20px;
	padding: 14px 20px !important;
	text-align: center;
	font-weight: 700;
	border-radius: 2px;
}

.drawer-cta-item a:hover { background: #C75C00 !important; }

/* ----------------------------------------------------------
   Footer
   ---------------------------------------------------------- */
.site-footer {
	background: #0F2A4A;
	padding: 48px 24px 32px;
}

.footer-inner {
	max-width: 1100px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
}

.footer-nav {
	width: 100%;
	padding-bottom: 24px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 24px;
}

.footer-nav a {
	color: rgba(255,255,255,0.65);
	font-size: 0.8rem;
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 0.2s;
}

.footer-nav a:hover { color: #ffffff; }

.footer-logo { display: block; }

.footer-logo img {
	height: 32px;
	width: auto;
	display: block;
	margin: 0 auto;
}

.copyright {
	color: rgba(255,255,255,0.4);
	font-size: 0.78rem;
	margin: 0;
}
