/* ============================================================
   UNDERSTANDING THE BOND PAGE
   Append to styles_custom.css
   ============================================================ */

/* --- Layout & shared --- */
.bondEduContent {
	width: 90%;
	max-width: 1100px;
}
.bondEduIntro {
	padding: 50px 0 30px;
	text-align: center;
}
.bondEduLead {
	font-size: 20px;
	max-width: 780px;
	margin:30px auto 30px;
	line-height: 1.6em;
	color: #4d4d4d;
	
}
.bondEduPdfCta {
	margin: 0 auto 10px;
	font-size: 16px;
	background: #5b507e;
}

.bondEduSection {
	padding: 60px 0;
}
.bondEduAlt {
	background: #efefef;
}
.bondEduSectionHeader {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 25px;
}
.bondEduSectionHeader h3 {
	font-size: 30px;
	font-weight: 800;
	color: #1e1457;
	margin: 0;
}
.bondEduSectionHeaderLight h3 {
	color: #FFF;
}
.bondEduSectionIcon {
	font-size: 32px;
	line-height: 1;
}
.bondEduSubtitle {
	margin: -15px 0 25px;
	font-size: 18px;
	color: #5b507e;
}


/* --- Two column layout --- */
.bondEduTwoCols {
	display: flex;
	gap: 30px;
	align-items: flex-start;
}
.bondEduColText {
	flex: 1.3;
}
.bondEduColCallout {
	flex: 0.7;
	display: flex;
	flex-direction: column;
	gap: 15px;
}


/* --- Callout boxes --- */
.bondEduCalloutBox {
	border-radius: 15px;
	padding: 20px;
	text-align: center;
}
.bondEduCalloutPurple {
	background: #2c214f;
	color: #FFF;
}
.bondEduCalloutGold {
	background: #f5b941;
	color: #1e1457;
}
.bondEduCalloutLabel {
	font-size: 14px;
	margin: 0 0 5px;
	opacity: 0.85;
}
.bondEduCalloutBig {
	font-size: 22px;
	font-weight: 800;
	margin: 0 0 5px;
}
.bondEduCalloutSub {
	font-size: 13px;
	margin: 0;
	opacity: 0.8;
}

.bondEduList {
	padding-left: 20px;
	line-height: 1.8em;
}
.bondEduAnalogy {
	font-size: 20px;
	color: #2c214f;
}


/* --- Bonds vs Levies compare --- */
.bondEduCompare {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-top: 20px;
}
.bondEduCompareCard {
	flex: 1;
	border-radius: 15px;
	padding: 25px;
	background: #FFF;
	box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.bondEduCompareBond {
	border-top: 5px solid #2c214f;
}
.bondEduCompareLevy {
	border-top: 5px solid #f5b941;
}
.bondEduCompareLabel {
	font-size: 22px;
	font-weight: 900;
	letter-spacing: 1px;
	margin-bottom: 15px;
}
.bondEduCompareBond .bondEduCompareLabel { color: #2c214f; }
.bondEduCompareLevy .bondEduCompareLabel { color: #b8860b; }
.bondEduCompareRow {
	display: flex;
	gap: 10px;
	padding: 8px 0;
	border-bottom: 1px solid #e8e8e8;
	font-size: 15px;
}
.bondEduCompareRow:last-child { border-bottom: none; }
.bondEduCompareKey {
	font-weight: 700;
	min-width: 80px;
	color: #5b507e;
}
.bondEduHighlight {
	font-weight: 700;
	color: #9e00a4;
}
.bondEduCompareVs {
	font-size: 28px;
	font-weight: 900;
	color: #c4c4c4;
	flex-shrink: 0;
}


/* --- Why schools need bonds --- */
.bondEduFundingCols {
	margin: 20px 0;
}
.bondEduFundingCard {
	flex: 1;
	padding: 25px;
	border-radius: 15px;
}
.bondEduFundingState {
	background: #e8f4e8;
	border-left: 5px solid #4a9e4a;
}
.bondEduFundingLocal {
	background: #fdf0d5;
	border-left: 5px solid #f5b941;
}
.bondEduFundingCard h4 {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 10px;
	color: #1e1457;
}
.bondEduFundingLocalNote {
	font-weight: 700;
	color: #2c214f;
	margin: 10px 0 0;
}

.bondEduStatStrip {
	display: flex;
	align-items: center;
	gap: 25px;
	background: #2c214f;
	color: #FFF;
	border-radius: 15px;
	padding: 25px 30px;
	margin-top: 30px;
}
.bondEduStatBig {
	font-size: 64px;
	font-weight: 900;
	color: #f5b941;
	line-height: 1;
	flex-shrink: 0;
}
.bondEduStatDesc {
	font-size: 17px;
	line-height: 1.5em;
}
.bondEduStatSource {
	display: block;
	font-size: 13px;
	opacity: 0.6;
	margin-top: 5px;
}


/* --- Supermajority section --- */
.bondEduSupermajority {
	background: #1e1457;
	color: #FFF;
}
.bondEduSupermajority p {
	color: #d8d4f0;
}
.bondEduMajorityGrid {
	display: flex;
	align-items: center;
	gap: 20px;
	margin: 30px 0;
}
.bondEduMajorityCard {
	flex: 1;
	background: rgba(255,255,255,0.1);
	border: 2px solid rgba(255,255,255,0.25);
	border-radius: 15px;
	padding: 25px;
	text-align: center;
}
.bondEduMajorityNum {
	font-size: 56px;
	font-weight: 900;
	color: #f5b941;
	line-height: 1;
}
.bondEduMajorityLabel {
	font-size: 16px;
	color: #FFF;
	margin-top: 8px;
	line-height: 1.4em;
}
.bondEduMajorityLabel span {
	font-size: 13px;
	opacity: 0.7;
}
.bondEduMajorityPlus {
	font-size: 40px;
	font-weight: 900;
	color: rgba(255,255,255,0.4);
	flex-shrink: 0;
}
.bondEduMajorityEquals {
	font-size: 20px;
	font-weight: 800;
	color: #f5b941;
	flex-shrink: 0;
	white-space: nowrap;
}

.bondEduWarningBoxes {
	display: flex;
	gap: 15px;
	margin: 20px 0 30px;
	flex-wrap: wrap;
}
.bondEduWarningBox {
	flex: 1;
	background: rgba(255,255,255,0.08);
	border: 1px solid rgba(255,255,255,0.2);
	border-radius: 10px;
	padding: 15px 18px;
	font-size: 15px;
	color: #d8d4f0;
	min-width: 220px;
}
.bondEduWarningBoxAccent {
	background: rgba(245,185,65,0.15);
	border-color: rgba(245,185,65,0.5);
	color: #FFF;
}

.bondEduComparisonBar {
	display: flex;
	flex-direction: column;
	gap: 15px;
	margin: 20px 0 10px;
}
.bondEduComparisonBarItem {
	display: flex;
	align-items: center;
	gap: 20px;
}
.bondEduComparisonBarLabel {
	font-size: 15px;
	color: #d8d4f0;
	min-width: 260px;
}
.bondEduComparisonBarTrack {
	flex: 1;
	background: rgba(255,255,255,0.1);
	border-radius: 30px;
	height: 36px;
	overflow: hidden;
}
.bondEduComparisonBarFill {
	height: 100%;
	background: #5b507e;
	border-radius: 30px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding-right: 12px;
	font-weight: 700;
	font-size: 16px;
	color: #FFF;
}
.bondEduComparisonBarFillGold {
	background: #f5b941;
	color: #1e1457;
}
.bondEduComparisonNote {
	font-size: 14px;
	color: rgba(255,255,255,0.5);
	margin: 5px 0 0;
}

/* 65+ voter callout */
.bondEduVoterFact65 {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	background: rgba(255,255,255,0.1);
	border: 1px solid rgba(245,185,65,0.4);
	border-radius: 12px;
	padding: 20px 24px;
	margin-top: 28px;
}
.bondEduVoterFact65Icon {
	font-size: 36px;
	flex-shrink: 0;
	line-height: 1;
	padding-top: 2px;
}
.bondEduVoterFact65Text {
	font-size: 15px;
	color: #d8d4f0;
	line-height: 1.6em;
}
.bondEduVoterFact65Text strong {
	display: block;
	font-size: 17px;
	color: #FFF;
	margin-bottom: 6px;
}
.bondEduVoterFact65Text p {
	margin: 0;
	color: #d8d4f0;
}


/* --- Tax calculation --- */
.bondEduTaxExample {
	display: flex;
	align-items: center;
	gap: 15px;
	margin: 25px 0;
	flex-wrap: wrap;
}
.bondEduTaxStep {
	display: flex;
	align-items: center;
	gap: 12px;
	background: #FFF;
	border-radius: 12px;
	padding: 18px 22px;
	flex: 1;
	min-width: 160px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.bondEduTaxResult {
	background: #2c214f;
	color: #FFF;
}
.bondEduTaxResult strong { color: #FFF; }
.bondEduTaxStepNum {
	font-size: 22px;
	font-weight: 900;
	color: #5b507e;
	flex-shrink: 0;
	width: 32px;
	text-align: center;
}
.bondEduTaxResult .bondEduTaxStepNum { color: #f5b941; }
.bondEduTaxStep div {
	display: flex;
	flex-direction: column;
	gap: 3px;
}
.bondEduTaxVal {
	font-size: 20px;
	font-weight: 800;
	color: #1e1457;
	line-height: 1;
}
.bondEduTaxResult .bondEduTaxVal { color: #f5b941; }
.bondEduTaxValSub {
	font-size: 13px;
	color: rgba(255,255,255,0.7);
}
.bondEduTaxArrow {
	font-size: 24px;
	color: #c4c4c4;
	flex-shrink: 0;
}

.bondEduTaxNotes {
	display: flex;
	gap: 20px;
	margin-top: 15px;
}
.bondEduTaxNote {
	flex: 1;
	background: #FFF;
	border-radius: 10px;
	padding: 15px 18px;
	font-size: 15px;
	box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}


/* --- State matching --- */
.bondEduMatchGrid {
	display: flex;
	gap: 30px;
	align-items: flex-start;
	margin: 20px 0 25px;
}
.bondEduMatchText {
	flex: 1.4;
}
.bondEduMatchCallout {
	flex: 0.6;
}
.bondEduMatchCatch {
	background: #fff8e6;
	border-left: 4px solid #f5b941;
	padding: 12px 15px;
	border-radius: 0 8px 8px 0;
	font-size: 15px;
	margin-top: 15px;
}

.bondEduBigStat {
	background: #2c214f;
	color: #FFF;
	border-radius: 15px;
	padding: 30px;
	text-align: center;
}
.bondEduBigStatNum {
	font-size: 56px;
	font-weight: 900;
	color: #f5b941;
	line-height: 1;
}
.bondEduBigStatLabel {
	font-size: 16px;
	line-height: 1.4em;
	margin: 10px 0 8px;
}
.bondEduBigStatSub {
	font-size: 13px;
	opacity: 0.7;
}


/* --- Why Now cards --- */
.bondEduWhyNowGrid {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin: 25px 0 35px;
}
.bondEduWhyNowCard {
	flex: 1;
	min-width: 220px;
	background: #FFF;
	border-radius: 15px;
	padding: 22px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.06);
	border-top: 4px solid #5b507e;
}
.bondEduWhyNowIcon {
	font-size: 28px;
	margin-bottom: 10px;
}
.bondEduWhyNowCard h4 {
	font-size: 17px;
	font-weight: 700;
	margin: 0 0 8px;
	color: #1e1457;
}
.bondEduWhyNowCard p {
	font-size: 15px;
	margin: 0;
}


/* --- Slideshow --- */
.bondEduSlideshow {
	position: relative;
	background: #000;
	border-radius: 15px;
	overflow: hidden;
	margin-top: 10px;
	outline: none;
	/* fixed height so layout doesn't jump between slides */
	height: 480px;
}
.bondEduSlides {
	position: relative;
	width: 100%;
	height: 100%;
}
.bondEduSlide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.5s ease;
	pointer-events: none;
}
.bondEduSlide.active {
	opacity: 1;
	pointer-events: auto;
}
.bondEduSlide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}
.bondEduSlideCaption {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(transparent, rgba(0,0,0,0.75));
	color: #FFF;
	font-size: 15px;
	padding: 40px 60px 50px 24px;
	line-height: 1.4em;
}

/* Prev / Next buttons */
.bondEduSlidePrev,
.bondEduSlideNext {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0,0,0,0.45);
	color: #FFF;
	border: none;
	border-radius: 50%;
	width: 42px;
	height: 42px;
	font-size: 18px;
	cursor: pointer;
	z-index: 10;
	transition: background 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}
.bondEduSlidePrev { left: 12px; }
.bondEduSlideNext { right: 12px; }
.bondEduSlidePrev:hover,
.bondEduSlideNext:hover {
	background: rgba(0,0,0,0.75);
}

/* Dots */
.bondEduSlideDots {
	position: absolute;
	bottom: 14px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 7px;
	z-index: 10;
}
.bondEduSlideDot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: rgba(255,255,255,0.45);
	border: none;
	cursor: pointer;
	padding: 0;
	transition: background 0.2s, transform 0.2s;
}
.bondEduSlideDot.active {
	background: #f5b941;
	transform: scale(1.25);
}

/* Counter */
.bondEduSlideCount {
	position: absolute;
	top: 12px;
	right: 14px;
	background: rgba(0,0,0,0.5);
	color: #FFF;
	font-size: 13px;
	padding: 3px 9px;
	border-radius: 20px;
	z-index: 10;
}

.bondEduSlideLink {
	font-size: 15px;
	margin: 12px 0 0;
	color: #4d4d4d;
}
.bondEduSlideLink a {
	color: #5b507e;
	font-weight: 600;
}


/* --- Voting process steps --- */
.bondEduSteps {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 25px 0;
	flex-wrap: wrap;
}
.bondEduStep {
	flex: 1;
	min-width: 180px;
	display: flex;
	gap: 12px;
	align-items: flex-start;
	background: #f4f2ff;
	border-radius: 12px;
	padding: 18px;
}
.bondEduStepFinal {
	background: #2c214f;
	color: #FFF;
}
.bondEduStepFinal h4, .bondEduStepFinal p { color: #FFF; }
.bondEduStepNum {
	font-size: 28px;
	font-weight: 900;
	color: #5b507e;
	line-height: 1;
	flex-shrink: 0;
}
.bondEduStepFinal .bondEduStepNum { color: #f5b941; }
.bondEduStepContent h4 {
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 6px;
}
.bondEduStepContent p {
	font-size: 14px;
	margin: 0;
}
.bondEduStepArrow {
	font-size: 22px;
	color: #c4c4c4;
	align-self: center;
	flex-shrink: 0;
}

.bondEduVoterFacts {
	display: flex;
	gap: 20px;
	margin-top: 20px;
}
.bondEduVoterFact {
	flex: 1;
	background: #efefef;
	border-radius: 10px;
	padding: 15px 20px;
	font-size: 15px;
}


/* --- PDF CTA block --- */
.bondEduPdfSection {
	padding: 50px 0;
	background: #5b507e;
}
.bondEduPdfBlock {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
}
.bondEduPdfText h3 {
	color: #FFF;
	font-size: 24px;
	font-weight: 700;
	margin: 0 0 8px;
}
.bondEduPdfText p {
	color: rgba(255,255,255,0.8);
	margin: 0 0 15px 0;;
	font-size: 16px;
}
.bondEduPdfText p a {
	color: rgba(255,255,255,0.8);
}
.bondEduPdfBtn {
	display: inline-block;
	background: #f5b941;
	color: #1e1457;
	font-size: 17px;
	font-weight: 700;
	text-decoration: none;
	padding: 12px 25px;
	border-radius: 10px;
	white-space: nowrap;
	flex-shrink: 0;
	transition: 0.2s all;
}
.bondEduPdfBtn:hover {
	background: #ffcc00;
}


/* --- Responsive --- */
@media (max-width: 768px) {
	.bondEduTwoCols,
	.bondEduCompare,
	.bondEduFundingCols,
	.bondEduMatchGrid,
	.bondEduTaxExample,
	.bondEduTaxNotes,
	.bondEduMajorityGrid,
	.bondEduVoterFacts,
	.bondEduPdfBlock {
		flex-direction: column;
	}
	.bondEduCompareVs,
	.bondEduMajorityPlus,
	.bondEduMajorityEquals,
	.bondEduTaxArrow,
	.bondEduStepArrow {
		display: none;
	}
	.bondEduStatBig,
	.bondEduMajorityNum,
	.bondEduBigStatNum {
		font-size: 42px;
	}
	.bondEduStatStrip {
		flex-direction: column;
		text-align: center;
	}
	.bondEduComparisonBarLabel {
		min-width: 160px;
		font-size: 13px;
	}
	.bondEduSteps {
		flex-direction: column;
	}
	.bondEduWarningBoxes {
		flex-direction: column;
	}
	.bondEduSlideshow {
		height: 300px;
	}
	.bondEduSlideCaption {
		font-size: 13px;
		padding: 30px 50px 40px 16px;
	}
	.bondEduVoterFact65 {
		flex-direction: column;
		gap: 10px;
	}
}
