:root {
	--section-border-color: #0b2f6b;
	--campaign-gold-color: #ffc918;
	--campaign-blue-dark: #071f47;
	--campaign-blue-light: #e8f1fd;
	--campaign-text: #101828;
	--section-border-width: 0.4rem;
	--section-border-gap: 0.4rem;
}

html {
	scroll-behavior: smooth;
}

body {
	color: var(--campaign-text);
	overflow-x: hidden;
	background-color: #fff;
}

.min-w-0 {
	min-width: 0;
	overflow: hidden;
}

.text-wrap-clean {
	overflow-wrap: break-word;
	word-break: normal;
	hyphens: auto;
}

#hersey-image {
	position: relative;
	background: linear-gradient(160deg, var(--navy-light), var(--navy-mid));
	overflow: hidden;
	grid-template-columns: 1fr;
}

#hersey-image ::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, var(--navy) 0%, transparent 30%);
	z-index: 1;
}

.hero-strip {
	height: 1rem;
	background: linear-gradient(
		90deg,
		transparent,
		var(--section-border-color),
		var(--campaign-gold-color),
		var(--section-border-color),
		transparent
	);
	border-radius: 0 0 0.5rem 0.5rem;
	z-index: 1029;
}

.campaign-nav {
	background: linear-gradient(90deg, var(--campaign-blue-dark), #0b3f7b);
	padding-bottom: 1.25rem;
	margin-bottom: 0;
	z-index: 1030;
}

.brand-mark {
	width: 0.85rem;
	height: 0.85rem;
	border-radius: 999px;
	background: var(--campaign-gold-color);
	box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
	flex: 0 0 auto;
	margin-right: 0.5rem;
	margin-left: 0.5rem;
}

.navbar .nav-link {
	color: rgba(255, 255, 255, 0.92);
	font-weight: 600;
	transition:
		background-color 0.2s ease,
		color 0.2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
	background-color: rgba(255, 255, 255, 0.12);
	color: #fff;
}

.hero {
	background: #fff;
	margin-top: 0;
}

#steve-name {
	font-size: clamp(1rem, 6vw, 5rem) !important;
	line-height: 1.1;
	word-break: break-word;
	overflow-wrap: break-word;
	hyphens: auto;
	max-width: 100%;
	padding: 0 10px;
}

.section-border-blue-gold {
	position: relative;
	padding-top: calc(var(--section-border-width) * 3);
	padding-bottom: calc(var(--section-border-width) * 3);
	background: linear-gradient(
		to bottom,
		var(--section-border-color) 0,
		var(--section-border-color) var(--section-border-width),
		var(--campaign-gold-color) var(--section-border-width),
		var(--campaign-gold-color) calc(var(--section-border-width) * 2),
		var(--section-border-color) calc(var(--section-border-width) * 2),
		var(--section-border-color) calc(var(--section-border-width) * 3),
		transparent calc(var(--section-border-width) * 3),
		transparent calc(100% - calc(var(--section-border-width) * 3)),
		var(--section-border-color) calc(100% - calc(var(--section-border-width) * 3)),
		var(--section-border-color) calc(100% - calc(var(--section-border-width) * 2)),
		var(--campaign-gold-color) calc(100% - calc(var(--section-border-width) * 2)),
		var(--campaign-gold-color) calc(100% - var(--section-border-width)),
		var(--section-border-color) calc(100% - var(--section-border-width)),
		var(--section-border-color) 100%
	);
	background-repeat: no-repeat;
}

.section-panel {
	background: var(--campaign-gold-color);
	border-top: 0.35rem solid var(--section-border-color);
	border-bottom: 0.35rem solid var(--section-border-color);
}

.content-card-square {
	border: 0.35rem solid var(--section-border-color) !important;
	border-radius: 1rem;
	background: #fff;
	width: 12rem;
	height: 12rem;
	margin-left: auto;
	margin-right: auto;
}

.content-card {
	background: #fff;
	border-radius: 1rem;
	border: 2px solid rgba(11, 47, 107, 0.12);
	box-shadow: 0 0.5rem 1.5rem rgba(16, 24, 40, 0.08);
}

.section-rule {
	border-color: rgba(11, 47, 107, 0.2);
	opacity: 1;
}

.callout {
	background: #fff;
	border: 0.35rem solid var(--campaign-gold-color);
	max-width: 60rem;
	width: 100%;
	border-radius: 1rem;
	box-shadow: 0 0.5rem 1.5rem rgba(16, 24, 40, 0.08);
}

.footer-overlay {
	background: transparent;
}

.footer-hero {
	min-height: 280px;
	background: linear-gradient(rgba(7, 31, 71, 0.18), rgba(7, 31, 71, 0.18)), url("../images/wavingflagwgold.jpg");
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem 0.75rem;
	border: 0.35rem solid var(--campaign-gold-color);
}

.footer-card {
	max-width: 42rem;
	width: 100%;
	background: #fff;
	border-radius: 1rem;
	border: 1px solid rgba(11, 47, 107, 0.12);
	box-shadow: 0 0.5rem 1.5rem rgba(16, 24, 40, 0.08);
}

h1 {
	font-size: clamp(1.125rem, 4vw + 1rem, 4.5rem);
	line-height: 1.1;
}

h2 {
	font-size: clamp(1rem, 3.5vw + 0.75rem, 3rem);
	line-height: 1.2;
}

h3 {
	font-size: clamp(0.95rem, 3vw + 0.5rem, 2.25rem);
	line-height: 1.3;
}

.btn-warning {
	--bs-btn-bg: var(--campaign-gold-color);
	--bs-btn-border-color: var(--campaign-gold-color);
	--bs-btn-hover-bg: #e6c14f;
	--bs-btn-hover-border-color: #e6c14f;
	--bs-btn-focus-shadow-rgb: 212, 175, 55;
	--bs-btn-disabled-bg: #f9e9a7;
	--bs-btn-disabled-border-color: #f9e9a7;
}

@media (max-width: 575.98px) {
	.navbar-brand {
		font-size: 1rem;
	}

	.campaign-nav {
		padding-bottom: 0.75rem;
	}

	.hero {
		padding-bottom: 1.75rem !important;
	}

	.hero-strip {
		height: 0.4rem;
		margin-left: 1rem;
		margin-right: 1rem;
		border-radius: 0 0 0.375rem 0.375rem;
	}

	.display-5 {
		font-size: 1.5rem;
	}

	.lead {
		font-size: 0.95rem;
		line-height: 1.5;
	}

	.section-panel {
		border-radius: 0.85rem;
	}

	.section-panel h2 {
		font-size: 1.25rem;
	}

	.section-panel .h4 {
		font-size: 0.95rem;
	}

	.content-card,
	.callout,
	.footer-card {
		border-radius: 0.85rem;
	}

	.content-card {
		padding: 1rem !important;
	}

	.callout {
		padding: 1rem !important;
	}

	.footer-card {
		padding: 1rem !important;
	}

	.footer-hero {
		min-height: auto;
		padding: 1rem 0;
	}
}

@media (max-width: 575.98px) {
	.hero {
		padding-bottom: 2rem !important;
	}
	.hero .display-5 {
		font-size: 1.75rem;
	}
	.hero .lead {
		font-size: 1rem;
		line-height: 1.6;
	}
	.hero img {
		margin-top: 1rem;
	}
}
