/* PAGE 2795 — Approved homepage: existing working rules, unchanged */
body.page-id-2795 .entry-title {
	display: none !important;
}

body.page-id-2795 .main-navigation {
	display: none !important;
}

body.page-id-2795 .entry-header {
	display: none !important;
}

body.page-id-2795 .site-main {
	padding-top: 0 !important;
	margin-top: 0 !important;
}

body.page-id-2795 .entry-content {
	margin-top: 0 !important;
}

body.page-id-2795 #masthead {
	display: none !important;
}

/* PAGE 2844 — Editable Capital Campaign, matching the uploaded V43 design. */
body.page-id-2844 #masthead,
body.page-id-2844 .entry-header {
	display: none !important;
}

body.page-id-2844 .site-main {
	padding-top: 0 !important;
	margin-top: 0 !important;
}

body.page-id-2844 .entry-content {
	margin-top: 0 !important;
}

/* Allow full-width editable Groups even with Alves/Gutenberg content constraints. */
body.page-id-2844 .ofd-editable-campaign {
	width: min(1400px,calc(100vw - 32px)) !important;
	max-width: none !important;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	box-sizing: border-box !important;
	padding: 16px 20px 28px !important;
	margin: 0 !important;
	background: #f0f0f0 !important;
	color: #222 !important;
	font-family: Georgia, serif !important;
}

body.page-id-2844 .ofd-editable-campaign.is-layout-constrained > *,
body.page-id-2844 .ofd-editable-campaign > .wp-block-group,
body.page-id-2844 .ofd-editable-campaign .ofd-campaign-columns,
body.page-id-2844 .ofd-editable-campaign .ofd-supporters-table {
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

body.page-id-2844 .ofd-editable-campaign.is-layout-constrained > * + * {
	margin-block-start: 0 !important;
}

/* V43: heading and campaign summary form ONE compact gray panel. */
body.page-id-2844 .ofd-editable-campaign .ofd-campaign-intro,
body.page-id-2844 .ofd-editable-campaign .ofd-campaign-band {
	background: #e9e9e9 !important;
	border-left: 4px solid #a00018 !important;
	color: #222 !important;
	box-sizing: border-box !important;
	margin: 0 !important;
}

body.page-id-2844 .ofd-editable-campaign .ofd-campaign-intro {
	padding: 18px 24px 8px !important;
	border-top: 1px solid #dedede !important;
	border-right: 1px solid #dedede !important;
	text-align: left !important;
}

body.page-id-2844 .ofd-editable-campaign .ofd-campaign-intro h2 {
	text-align: left !important;
	font: 700 clamp(31px,3.3vw,40px)/1.2 Georgia, serif !important;
	color: #222 !important;
	margin: 0 0 4px !important;
}

body.page-id-2844 .ofd-editable-campaign .ofd-campaign-intro p {
	color: #444 !important;
	text-align: left !important;
	font: 400 16px/1.55 Georgia, serif !important;
	max-width: none !important;
	margin: 0 !important;
}

body.page-id-2844 .ofd-editable-campaign .ofd-campaign-band {
	padding: 0 24px 15px !important;
	border-bottom: 1px solid #dedede !important;
	border-right: 1px solid #dedede !important;
}

body.page-id-2844 .ofd-editable-campaign .ofd-campaign-columns {
	border-top: 1px solid #ccc !important;
	padding-top: 12px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 24px !important;
	margin: 0 !important;
}

body.page-id-2844 .ofd-editable-campaign .ofd-campaign-columns > .wp-block-column {
	min-width: 0 !important;
	text-align: left !important;
}

body.page-id-2844 .ofd-editable-campaign .ofd-campaign-columns > .wp-block-column:first-child {
	display: flex !important;
	flex: 1 1 auto !important;
	flex-wrap: wrap !important;
	align-items: baseline !important;
	column-gap: 14px !important;
}

body.page-id-2844 .ofd-editable-campaign .ofd-campaign-eyebrow {
	font: 700 11px/1.4 Arial, sans-serif !important;
	letter-spacing: .5px !important;
	color: #666 !important;
	margin: 0 !important;
}

body.page-id-2844 .ofd-editable-campaign .ofd-campaign-total {
	font: 700 27px/1.2 Georgia, serif !important;
	color: #860014 !important;
	white-space: nowrap !important;
	word-break: normal !important;
	overflow-wrap: normal !important;
	margin: 0 !important;
}

body.page-id-2844 .ofd-editable-campaign .ofd-campaign-date {
	font: 400 12px/1.5 Arial, sans-serif !important;
	color: #666 !important;
	margin: 0 !important;
}

body.page-id-2844 .ofd-editable-campaign .ofd-campaign-columns > .wp-block-column:last-child {
	flex: 0 0 auto !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-end !important;
	gap: 7px !important;
}

body.page-id-2844 .ofd-editable-campaign .ofd-donate-btn {
	justify-content: flex-end !important;
	margin: 0 !important;
}

/* V43 has a RED main donation button and a quiet underlined project link. */
body.page-id-2844 .ofd-editable-campaign .ofd-donate-btn .wp-block-button__link {
	background: #a00015 !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 3px !important;
	padding: 11px 17px !important;
	font: 700 12px/1.4 Arial, sans-serif !important;
	text-decoration: none !important;
	white-space: nowrap !important;
}

body.page-id-2844 .ofd-editable-campaign .ofd-explore-pending {
	display: block !important;
	width: auto !important;
	max-width: 350px !important;
	background: transparent !important;
	border: 0 !important;
	padding: 2px 0 !important;
	color: #8b0018 !important;
	text-align: right !important;
	text-decoration: underline !important;
	text-underline-offset: 3px !important;
	font: 700 11px/1.4 Arial, sans-serif !important;
	letter-spacing: .2px !important;
	border-radius: 0 !important;
	margin: 0 !important;
}

/* V43: immediately following white supporter table panel. */
body.page-id-2844 .ofd-editable-campaign .ofd-campaign-supporters {
	background: #fff !important;
	color: #222 !important;
	border: 1px solid #ddd !important;
	box-sizing: border-box !important;
	padding: 20px 22px !important;
	margin: 0 0 18px !important;
}

body.page-id-2844 .ofd-editable-campaign .ofd-supporters-eyebrow {
	color: #a00018 !important;
	font: 700 14px/1.4 Arial, sans-serif !important;
	letter-spacing: .7px !important;
	margin: 0 !important;
}

body.page-id-2844 .ofd-editable-campaign .ofd-campaign-supporters h3 {
	font: 700 24px/1.3 Georgia, serif !important;
	color: #1e1e1e !important;
	margin: 6px 0 !important;
}

body.page-id-2844 .ofd-editable-campaign .ofd-campaign-supporters p:not(.ofd-supporters-eyebrow) {
	color: #343434 !important;
	font: 400 16px/1.55 Georgia, serif !important;
	margin: 0 0 14px !important;
}

body.page-id-2844 .ofd-editable-campaign .ofd-supporters-table {
	overflow-x: auto !important;
	margin: 0 !important;
}

body.page-id-2844 .ofd-editable-campaign .ofd-supporters-table table {
	width: 100% !important;
	min-width: 630px !important;
	border-collapse: collapse !important;
	color: #222 !important;
	background: #fff !important;
	font: 400 14px/1.45 Arial, sans-serif !important;
}

body.page-id-2844 .ofd-editable-campaign .ofd-supporters-table th {
	background: #262626 !important;
	color: #fff !important;
	text-align: left !important;
	padding: 12px 13px !important;
	border: 0 !important;
}

body.page-id-2844 .ofd-editable-campaign .ofd-supporters-table td {
	color: #262626 !important;
	padding: 10px 13px !important;
	vertical-align: top !important;
	border: 0 !important;
	border-bottom: 1px solid #e3e3e3 !important;
	background: #fff !important;
}

body.page-id-2844 .ofd-editable-campaign .ofd-supporters-table tbody tr:nth-child(even) td {
	background: #f6f6f6 !important;
}

body.page-id-2844 .ofd-editable-campaign .ofd-supporters-table th:nth-child(2),
body.page-id-2844 .ofd-editable-campaign .ofd-supporters-table td:nth-child(2) {
	white-space: nowrap !important;
	text-align: left !important;
}

body.page-id-2844 .ofd-editable-campaign .ofd-supporters-table td:nth-child(2) {
	font-weight: 700 !important;
}

body.page-id-2844 .ofd-editable-campaign .ofd-campaign-bottom {
	background: #f0f0f0 !important;
	padding: 0 0 10px !important;
	margin: 0 !important;
	text-align: center !important;
}

body.page-id-2844 .ofd-editable-campaign .ofd-explore-pending-bottom {
	display: inline-block !important;
	background: transparent !important;
	color: #8b0018 !important;
	border: 1px solid #8b0018 !important;
	border-radius: 3px !important;
	padding: 11px 17px !important;
	font: 700 12px/1.4 Arial, sans-serif !important;
}

@media(max-width:780px) {
	body.page-id-2844 .ofd-editable-campaign {
		width: calc(100vw - 16px) !important;
		padding: 10px !important;
	}
	
	body.page-id-2844 .ofd-editable-campaign .ofd-campaign-columns {
		flex-wrap: wrap !important;
	}
	
	body.page-id-2844 .ofd-editable-campaign .ofd-campaign-columns > .wp-block-column:first-child {
		flex-basis: 100% !important;
	}
	
	body.page-id-2844 .ofd-editable-campaign .ofd-campaign-columns > .wp-block-column:last-child {
		align-items: flex-start !important;
	}
	
	body.page-id-2844 .ofd-editable-campaign .ofd-explore-pending {
		text-align: left !important;
	}
	
	body.page-id-2844 .ofd-editable-campaign .ofd-campaign-intro {
		padding: 16px 15px 8px !important;
	}
	
	body.page-id-2844 .ofd-editable-campaign .ofd-campaign-band {
		padding: 0 15px 15px !important;
	}
	
	body.page-id-2844 .ofd-editable-campaign .ofd-campaign-supporters {
		padding: 15px 10px !important;
	}
}

/* PAGE 2844: Fix Gutenberg's 659px inner Group constraint.
   This overrides only the inner wrapper; approved V43 colors and spacing above remain intact. */
body.page-id-2844 .entry-content > .ofd-editable-campaign > .wp-block-group__inner-container {
	display: block !important;
	width: 100% !important;
	min-width: 0 !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding: 0 !important;
	box-sizing: border-box !important;
}

body.page-id-2844 .entry-content > .ofd-editable-campaign > .wp-block-group__inner-container > .wp-block-group {
	display: block !important;
	width: 100% !important;
	min-width: 0 !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	box-sizing: border-box !important;
}

/* Avoid built-in content/max-width constraints on nested group wrappers. */
body.page-id-2844 .ofd-editable-campaign .ofd-campaign-intro > .wp-block-group__inner-container,
body.page-id-2844 .ofd-editable-campaign .ofd-campaign-band > .wp-block-group__inner-container,
body.page-id-2844 .ofd-editable-campaign .ofd-campaign-supporters > .wp-block-group__inner-container {
	width: 100% !important;
	max-width: none !important;
	box-sizing: border-box !important;
}

/* STATION PREVIEW ONLY — uses the approved V43 appearance and the
   full-width Gutenberg inner-container solution from Capital CSS 6.
   The :has selector limits this to the page containing the station Group. */
body:has(.ofd-station-editable) #masthead,
body:has(.ofd-station-editable) .entry-header {
	display: none !important;
}

body:has(.ofd-station-editable) .site-main {
	padding-top: 0 !important;
	margin-top: 0 !important;
}

body:has(.ofd-station-editable) .entry-content {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

body:has(.ofd-station-editable) .entry-content > #ofd-preview-header {
	width: min(1400px,100%) !important;
	max-width: 1400px !important;
}

body:has(.ofd-station-editable) .entry-content > .ofd-station-editable {
	width: min(1400px,calc(100vw - 32px)) !important;
	max-width: none !important;
	min-width: 0 !important;
	margin: 0 auto !important;
	padding: 22px 20px 48px !important;
	box-sizing: border-box !important;
	background: #000 !important;
	color: #fff !important;
	font-family: Georgia, serif !important;
}

body:has(.ofd-station-editable) .ofd-station-editable > .wp-block-group__inner-container {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	box-sizing: border-box !important;
}

body:has(.ofd-station-editable) .ofd-station-editable .wp-block-group,
body:has(.ofd-station-editable) .ofd-station-editable .wp-block-columns {
	max-width: none !important;
	box-sizing: border-box !important;
}

body:has(.ofd-station-editable) .ofd-station-editable .wp-block-group__inner-container {
	width: 100% !important;
	max-width: none !important;
	box-sizing: border-box !important;
}

body:has(.ofd-station-editable) .ofd-station-editable .ofd-station-heading {
	text-align: center !important;
	margin: 0 auto 18px !important;
}

body:has(.ofd-station-editable) .ofd-station-editable .ofd-station-heading h2 {
	color: #fff !important;
	font: normal clamp(30px,3vw,42px)/1.15 Georgia, serif !important;
	margin: 0 0 6px !important;
	text-align: center !important;
}

body:has(.ofd-station-editable) .ofd-station-editable .ofd-station-heading p {
	color: #fff !important;
	font: 17px/1.5 Georgia, serif !important;
	margin: 0 !important;
	text-align: center !important;
}

body:has(.ofd-station-editable) .ofd-station-editable .ofd-station-front {
	display: block !important;
	width: min(50%,700px) !important;
	max-width: none !important;
	margin: 18px auto 24px !important;
}

body:has(.ofd-station-editable) .ofd-station-editable figure img {
	display: block;
	width: 100% !important;
	height: auto !important;
	object-fit: contain !important;
}

body:has(.ofd-station-editable) .ofd-station-editable .ofd-station-milestones {
	display: flex !important;
	flex-wrap: nowrap !important;
	align-items: stretch !important;
	gap: 10px !important;
	margin: 15px 0 20px !important;
	width: 100% !important;
}

body:has(.ofd-station-editable) .ofd-station-editable .ofd-station-milestones > .wp-block-column {
	flex: 1 1 0 !important;
	width: 25% !important;
	min-width: 0 !important;
	margin: 0 !important;
}

body:has(.ofd-station-editable) .ofd-station-editable .ofd-station-step {
	background: #343434 !important;
	border-top: 3px solid #a00018 !important;
	color: #fff !important;
	padding: 15px !important;
	height: 100% !important;
	margin: 0 !important;
}

body:has(.ofd-station-editable) .ofd-station-editable .ofd-station-step h3 {
	font: 700 17px/1.3 Georgia, serif !important;
	color: #fff !important;
	margin: 0 0 8px !important;
	overflow-wrap: normal;
}

body:has(.ofd-station-editable) .ofd-station-editable .ofd-station-step p {
	font: 14px/1.5 Arial, sans-serif !important;
	color: #eee !important;
	margin: 5px 0 !important;
}

body:has(.ofd-station-editable) .ofd-station-editable .ofd-station-step a {
	color: #fff !important;
	text-decoration: underline !important;
}

body:has(.ofd-station-editable) .ofd-station-editable .ofd-station-vision-row {
	display: flex !important;
	flex-wrap: nowrap !important;
	gap: 18px !important;
	align-items: stretch !important;
	width: 100% !important;
	margin: 20px 0 !important;
}

body:has(.ofd-station-editable) .ofd-station-editable .ofd-station-vision-row > .wp-block-column {
	flex: 1 1 0 !important;
	width: 50% !important;
	min-width: 0 !important;
	margin: 0 !important;
}

body:has(.ofd-station-editable) .ofd-station-editable .ofd-station-panel {
	background: #f5f5f5 !important;
	color: #242424 !important;
	padding: 24px !important;
	border: 1px solid #ddd !important;
	height: 100% !important;
	margin: 0 !important;
}

body:has(.ofd-station-editable) .ofd-station-editable .ofd-station-panel h2 {
	font: 700 27px/1.2 Georgia, serif !important;
	color: #920018 !important;
	margin: 0 0 13px !important;
}

body:has(.ofd-station-editable) .ofd-station-editable .ofd-station-panel p {
	font: 16px/1.55 Georgia, serif !important;
	color: #242424 !important;
	margin: 8px 0 14px !important;
}

body:has(.ofd-station-editable) .ofd-station-editable .ofd-station-view {
	width: 100% !important;
	margin: 8px 0 0 !important;
}

body:has(.ofd-station-editable) .ofd-station-editable .ofd-station-plans {
	background: #000 !important;
	margin: 25px 0 0 !important;
	color: #fff !important;
}

body:has(.ofd-station-editable) .ofd-station-editable .ofd-station-plans > .wp-block-group__inner-container > h2 {
	color: #fff !important;
	text-align: center !important;
	font: 700 30px Georgia, serif !important;
	margin: 0 0 9px !important;
}

body:has(.ofd-station-editable) .ofd-station-editable .ofd-station-plans > .wp-block-group__inner-container > p {
	color: #eee !important;
	text-align: center !important;
	font: 15px/1.5 Arial, sans-serif !important;
	margin: 0 0 18px !important;
}

body:has(.ofd-station-editable) .ofd-station-editable .ofd-station-plan {
	background: #f5f5f5 !important;
	padding: 18px !important;
	border: 1px solid #ddd !important;
	color: #222 !important;
	margin: 12px 0 !important;
}

body:has(.ofd-station-editable) .ofd-station-editable .ofd-station-plan h3 {
	font: 700 21px Georgia, serif !important;
	color: #970018 !important;
	margin: 0 0 12px !important;
	text-align: center !important;
}

body:has(.ofd-station-editable) .ofd-station-editable .ofd-station-plan figure {
	margin: 0 auto !important;
	width: 100% !important;
	max-width: 100% !important;
}

body:has(.ofd-station-editable) .ofd-station-editable #ofd-floor-plans {
	scroll-margin-top: 90px;
}

@media(max-width:760px) {
	body:has(.ofd-station-editable) .entry-content > .ofd-station-editable {
		padding: 16px 12px 30px !important;
		width: calc(100vw - 16px) !important;
	}
	
	body:has(.ofd-station-editable) .ofd-station-editable .ofd-station-front {
		width: 100% !important;
	}
	
	body:has(.ofd-station-editable) .ofd-station-editable .ofd-station-milestones {
		flex-wrap: wrap !important;
	}
	
	body:has(.ofd-station-editable) .ofd-station-editable .ofd-station-milestones > .wp-block-column {
		flex: 1 1 calc(50% - 10px) !important;
		width: calc(50% - 10px) !important;
	}
	
	body:has(.ofd-station-editable) .ofd-station-editable .ofd-station-vision-row {
		flex-wrap: wrap !important;
	}
	
	body:has(.ofd-station-editable) .ofd-station-editable .ofd-station-vision-row > .wp-block-column {
		flex: 1 1 100% !important;
		width: 100% !important;
	}
}

@media(max-width:420px) {
	body:has(.ofd-station-editable) .ofd-station-editable .ofd-station-milestones > .wp-block-column {
		flex: 1 1 100% !important;
		width: 100% !important;
	}
}

/* Station preview: V43 two-column floor-plan cards. Add AFTER Station CSS 1. */
body:has(.ofd-station-editable) .ofd-station-editable .ofd-station-plans > .wp-block-group__inner-container {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 16px 18px !important;
	align-items: start !important;
}

body:has(.ofd-station-editable) .ofd-station-editable .ofd-station-plans > .wp-block-group__inner-container > h2,
body:has(.ofd-station-editable) .ofd-station-editable .ofd-station-plans > .wp-block-group__inner-container > p {
	grid-column: 1 / -1 !important;
}

body:has(.ofd-station-editable) .ofd-station-editable .ofd-station-plans .ofd-station-plan {
	width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 10px !important;
	border-radius: 4px !important;
}

body:has(.ofd-station-editable) .ofd-station-editable .ofd-station-plans .ofd-station-plan figure {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
}

body:has(.ofd-station-editable) .ofd-station-editable .ofd-station-plans .ofd-station-plan img {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	object-fit: contain !important;
}

@media (max-width: 760px) {
	body:has(.ofd-station-editable) .ofd-station-editable .ofd-station-plans > .wp-block-group__inner-container {
		grid-template-columns: 1fr !important;
	}
}

/* NEWS PAGE ONLY. Retain all previous working Homepage, Capital & Station CSS. */
body:has(.ofd-news-editable) #masthead,
body:has(.ofd-news-editable) .entry-header {
	display: none !important;
}

body:has(.ofd-news-editable) .site-main {
	padding-top: 0 !important;
	margin-top: 0 !important;
}

body:has(.ofd-news-editable) .entry-content {
	margin-top: 0 !important;
}

body:has(.ofd-news-editable) .entry-content > .ofd-news-editable {
	width: min(1400px,calc(100vw - 32px)) !important;
	max-width: none !important;
	margin: 0 auto !important;
	padding: 26px 20px 42px !important;
	color: #fff !important;
	background: #000 !important;
	box-sizing: border-box !important;
	position: static !important;
	left: auto !important;
	transform: none !important;
	font-family: Georgia, serif !important;
}

body:has(.ofd-news-editable) .ofd-news-editable > .wp-block-group__inner-container {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	box-sizing: border-box !important;
}

body:has(.ofd-news-editable) .ofd-news-editable .wp-block-group,
body:has(.ofd-news-editable) .ofd-news-editable .wp-block-group__inner-container,
body:has(.ofd-news-editable) .ofd-news-editable.is-layout-constrained > * {
	width: 100% !important;
	max-width: none !important;
	box-sizing: border-box !important;
}

body:has(.ofd-news-editable) .ofd-news-editable .ofd-news-heading {
	text-align: center !important;
	background: transparent !important;
	margin: 0 0 20px !important;
}

body:has(.ofd-news-editable) .ofd-news-editable .ofd-news-heading h2 {
	font: 400 clamp(31px,3.4vw,44px)/1.2 Georgia, serif !important;
	color: #fff !important;
	margin: 0 !important;
}

body:has(.ofd-news-editable) .ofd-news-editable .ofd-news-article,
body:has(.ofd-news-editable) .ofd-news-editable .ofd-news-feed,
body:has(.ofd-news-editable) .ofd-news-editable .ofd-news-newsletter {
	background: #f5f5f5 !important;
	border: 1px solid #ddd !important;
	color: #242424 !important;
	padding: 24px 28px !important;
	margin: 0 0 14px !important;
}

body:has(.ofd-news-editable) .ofd-news-editable .ofd-news-article h2,
body:has(.ofd-news-editable) .ofd-news-editable .ofd-news-feed h2,
body:has(.ofd-news-editable) .ofd-news-editable .ofd-news-newsletter h2 {
	font: 700 clamp(24px,2.6vw,34px)/1.2 Georgia, serif !important;
	color: #171717 !important;
	margin: 6px 0 12px !important;
}

body:has(.ofd-news-editable) .ofd-news-editable p {
	font: 16px/1.55 Georgia, serif !important;
	color: #242424 !important;
	margin: 8px 0 13px !important;
}

body:has(.ofd-news-editable) .ofd-news-editable .ofd-news-kicker {
	font: 700 12px/1.5 Arial, sans-serif !important;
	letter-spacing: .7px;
	color: #a00018 !important;
	margin: 0 0 6px !important;
}

body:has(.ofd-news-editable) .ofd-news-editable .ofd-news-story {
	border-left: 4px solid #a00018 !important;
	padding: 2px 0 2px 18px !important;
	margin: 12px 0 !important;
}

body:has(.ofd-news-editable) .ofd-news-editable .ofd-news-draft-note {
	background: #ebe5e7 !important;
	border-left: 3px solid #a00018 !important;
	padding: 12px 15px !important;
	font: 13px/1.5 Arial, sans-serif !important;
	color: #424242 !important;
}

body:has(.ofd-news-editable) .ofd-news-editable .ofd-news-recent-posts {
	padding: 0 !important;
	margin: 16px 0 0 !important;
	list-style: none !important;
	display: grid !important;
	grid-template-columns: repeat(2,minmax(0,1fr)) !important;
	gap: 14px !important;
}

body:has(.ofd-news-editable) .ofd-news-editable .ofd-news-recent-posts li {
	padding: 16px 18px !important;
	background: #fff !important;
	border-top: 3px solid #a00018 !important;
	margin: 0 !important;
	min-width: 0 !important;
}

body:has(.ofd-news-editable) .ofd-news-editable .ofd-news-recent-posts a {
	font: 700 20px/1.25 Georgia, serif !important;
	color: #960016 !important;
	text-decoration: none !important;
}

body:has(.ofd-news-editable) .ofd-news-editable .ofd-news-recent-posts .wp-block-latest-posts__post-date,
body:has(.ofd-news-editable) .ofd-news-editable .ofd-news-recent-posts .wp-block-latest-posts__post-excerpt {
	color: #3b3b3b !important;
	font: 14px/1.5 Arial, sans-serif !important;
	margin: 8px 0 0 !important;
}

@media(max-width:780px) {
	body:has(.ofd-news-editable) .entry-content > .ofd-news-editable {
		padding: 15px 10px 30px !important;
	}
	
	body:has(.ofd-news-editable) .ofd-news-editable .ofd-news-recent-posts {
		grid-template-columns: 1fr !important;
	}
	
	body:has(.ofd-news-editable) .ofd-news-editable .ofd-news-article,
									  body:has(.ofd-news-editable) .ofd-news-editable .ofd-news-feed,
									  body:has(.ofd-news-editable) .ofd-news-editable .ofd-news-newsletter {
		padding: 18px 15px !important;
	}
}

/* NEWS CSS 2: Match the already-working station page container behavior. */
body:has(.ofd-news-editable) .entry-content > .ofd-news-editable {
	position: static !important;
	left: auto !important;
	right: auto !important;
	transform: none !important;
	float: none !important;
	clear: both !important;
	margin-left: auto !important;
	margin-right: auto !important;
	width: min(1400px,calc(100vw - 32px)) !important;
}

body:has(.ofd-news-editable) .entry-content > .ofd-news-editable > .wp-block-group__inner-container {
	display: block !important;
	width: 100% !important;
	min-width: 0 !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body:has(.ofd-news-editable) .ofd-news-editable > .wp-block-group__inner-container > .wp-block-group {
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

/* ABOUT / HISTORY — V43 design on editable WordPress blocks; keep previous CSS unchanged. */
body:has(.ofd-history-editable) #masthead,
body:has(.ofd-history-editable) .entry-header,
body:has(.ofd-history-editable) .main-navigation {
	display: none !important;
}

body:has(.ofd-history-editable) .site-main {
	padding-top: 0 !important;
	margin-top: 0 !important;
}

body:has(.ofd-history-editable) .entry-content {
	margin-top: 0 !important;
}

body:has(.ofd-history-editable) .entry-title {
	display: none !important;
}

body:has(.ofd-history-editable) .entry-content > .ofd-history-editable {
	position: static !important;
	left: auto !important;
	transform: none !important;
	float: none !important;
	clear: both !important;
	box-sizing: border-box !important;
	width: min(1400px,calc(100vw - 32px)) !important;
	max-width: 1400px !important;
	margin: 0 auto !important;
	padding: 20px 16px 40px !important;
	background: #000 !important;
	color: #fff !important;
}

body:has(.ofd-history-editable) .entry-content > .ofd-history-editable > .wp-block-group__inner-container,
body:has(.ofd-history-editable) .ofd-history-editable .wp-block-group__inner-container,
body:has(.ofd-history-editable) .ofd-history-editable > .wp-block-group {
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	box-sizing: border-box !important;
}

body:has(.ofd-history-editable) .ofd-history-editable .ofd-history-heading {
	text-align: center !important;
	background: transparent !important;
	margin: 0 0 20px !important;
}

body:has(.ofd-history-editable) .ofd-history-editable .ofd-history-heading h2 {
	font: 400 clamp(30px,3.2vw,43px)/1.2 Georgia, serif !important;
	color: #fff !important;
	margin: 0 0 6px !important;
}

body:has(.ofd-history-editable) .ofd-history-editable .ofd-history-heading p {
	color: #eee !important;
	text-align: center !important;
	font: 17px/1.5 Georgia, serif !important;
	margin: 0 !important;
}

body:has(.ofd-history-editable) .ofd-history-editable .ofd-history-panel {
	background: #f6f6f6 !important;
	color: #242424 !important;
	border: 1px solid #ddd !important;
	padding: 22px 24px !important;
	margin: 0 0 16px !important;
}

body:has(.ofd-history-editable) .ofd-history-editable .ofd-history-panel h3 {
	color: #970018 !important;
	font: 700 25px/1.24 Georgia, serif !important;
	margin: 0 0 10px !important;
}

body:has(.ofd-history-editable) .ofd-history-editable .ofd-history-panel p {
	color: #292929 !important;
	font: 16px/1.55 Georgia, serif !important;
	margin: 8px 0 13px !important;
}

body:has(.ofd-history-editable) .ofd-history-editable .ofd-history-legacy > .wp-block-group__inner-container > h3,
body:has(.ofd-history-editable) .ofd-history-editable .ofd-history-legacy > .wp-block-group__inner-container > p:first-of-type {
	text-align: center !important;
}

body:has(.ofd-history-editable) .ofd-history-editable .ofd-history-timeline {
	display: grid !important;
	grid-template-columns: repeat(5,minmax(0,1fr)) !important;
	gap: 12px !important;
	margin: 18px 0 22px !important;
	align-items: stretch !important;
}

body:has(.ofd-history-editable) .ofd-history-editable .ofd-history-timeline > .wp-block-column {
	width: auto !important;
	max-width: none !important;
	min-width: 0 !important;
	margin: 0 !important;
	flex: none !important;
}

body:has(.ofd-history-editable) .ofd-history-editable .ofd-history-year-card {
	height: 100% !important;
	box-sizing: border-box !important;
	background: #f2f2f2 !important;
	border-top: 4px solid #a0001a !important;
	text-align: center !important;
	padding: 13px 10px !important;
}

body:has(.ofd-history-editable) .ofd-history-editable h3.ofd-history-year {
	color: #970019 !important;
	font: 700 24px Georgia, serif !important;
	margin: 0 0 8px !important;
}

body:has(.ofd-history-editable) .ofd-history-editable .ofd-history-year-card p {
	color: #242424 !important;
	font: 14px/1.5 Arial, sans-serif !important;
	margin: 0 !important;
}

body:has(.ofd-history-editable) .ofd-history-editable .ofd-history-photo {
	width: min(100%,980px) !important;
	max-width: 980px !important;
	margin: 14px auto !important;
}

body:has(.ofd-history-editable) .ofd-history-editable .ofd-history-photo img {
	width: 100% !important;
	height: auto !important;
	max-height: 560px !important;
	object-fit: contain !important;
	display: block !important;
}

body:has(.ofd-history-editable) .ofd-history-editable .ofd-history-video-link a {
	display: inline-block !important;
	padding: 12px 17px !important;
	color: #fff !important;
	background: #a00018 !important;
	text-decoration: none !important;
	border-radius: 3px !important;
	font: 700 13px Arial, sans-serif !important;
}

body:has(.ofd-history-editable) .ofd-history-editable .ofd-history-video {
	text-align: center !important;
}

@media(max-width:900px) {
	body:has(.ofd-history-editable) .ofd-history-editable .ofd-history-timeline {
		grid-template-columns: repeat(3,minmax(0,1fr)) !important;
	}
}

@media(max-width:650px) {
	body:has(.ofd-history-editable) .entry-content > .ofd-history-editable {
		padding: 14px 8px 26px !important;
	}
	
	body:has(.ofd-history-editable) .ofd-history-editable .ofd-history-timeline {
		grid-template-columns: repeat(2,minmax(0,1fr)) !important;
	}
	
	body:has(.ofd-history-editable) .ofd-history-editable .ofd-history-panel {
		padding: 16px !important;
	}
}

/* HISTORY 2 — width fix built into the COMPLETE existing stylesheet.
   Only affects the History preview and preserves History CSS 1 panels. */
body:has(.ofd-history-editable) .entry-content > .ofd-history-editable {
	width: min(1400px,calc(100vw - 32px)) !important;
	max-width: none !important;
	min-width: 0 !important;
	margin-left: auto !important;
	margin-right: auto !important;
	position: static !important;
	left: auto !important;
	transform: none !important;
	display: block !important;
	box-sizing: border-box !important;
	background: #000 !important;
	color: #fff !important;
}

body:has(.ofd-history-editable) .entry-content > .ofd-history-editable > .wp-block-group__inner-container {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	box-sizing: border-box !important;
}

body:has(.ofd-history-editable) .ofd-history-editable > .wp-block-group__inner-container > .wp-block-group {
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	box-sizing: border-box !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

body:has(.ofd-history-editable) .ofd-history-editable .ofd-history-panel > .wp-block-group__inner-container,
body:has(.ofd-history-editable) .ofd-history-editable .ofd-history-year-card > .wp-block-group__inner-container {
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	box-sizing: border-box !important;
}

body:has(.ofd-history-editable) .ofd-history-editable .ofd-history-timeline {
	display: grid !important;
	grid-template-columns: repeat(5,minmax(0,1fr)) !important;
	gap: 12px !important;
	width: 100% !important;
	max-width: none !important;
}

body:has(.ofd-history-editable) .ofd-history-editable .ofd-history-timeline > .wp-block-column {
	width: auto !important;
	min-width: 0 !important;
	max-width: none !important;
}

@media(max-width:900px) {
	body:has(.ofd-history-editable) .ofd-history-editable .ofd-history-timeline {
		grid-template-columns: repeat(3,minmax(0,1fr)) !important;
	}
}

@media(max-width:650px) {
	body:has(.ofd-history-editable) .ofd-history-editable .ofd-history-timeline {
		grid-template-columns: repeat(2,minmax(0,1fr)) !important;
	}
}

/* Apparatus Preview: editable blocks, approved V43 layout. Scoped to this page only. */
body:has(.ofd-apparatus-editable) #masthead,
body:has(.ofd-apparatus-editable) .main-navigation,
body:has(.ofd-apparatus-editable) .entry-header {
	display: none !important;
}

body:has(.ofd-apparatus-editable) .site-main,
body:has(.ofd-apparatus-editable) .entry-content {
	padding-top: 0 !important;
	margin-top: 0 !important;
}

body:has(.ofd-apparatus-editable) .entry-content,
body:has(.ofd-apparatus-editable) .entry-content > .wp-block-group,
body:has(.ofd-apparatus-editable) .entry-content > .ofd-apparatus-editable {
	width: 100% !important;
	max-width: 1400px !important;
	min-width: 0 !important;
	margin-left: auto !important;
	margin-right: auto !important;
	box-sizing: border-box !important;
}

body:has(.ofd-apparatus-editable) .ofd-apparatus-editable {
	position: static !important;
	left: auto !important;
	transform: none !important;
	width: 100% !important;
	max-width: 1400px !important;
	min-width: 0 !important;
	padding: 24px 20px 50px !important;
	margin: 0 auto !important;
	box-sizing: border-box !important;
	background: #000 !important;
	color: #fff !important;
	font-family: Arial, Helvetica, sans-serif;
}

body:has(.ofd-apparatus-editable) .ofd-apparatus-editable > .wp-block-group__inner-container,
body:has(.ofd-apparatus-editable) .ofd-apparatus-editable > .wp-block-group__inner-container > .wp-block-group {
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	box-sizing: border-box !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

body:has(.ofd-apparatus-editable) .ofd-apparatus-page-title {
	text-align: center !important;
	margin: 0 auto 22px !important;
}

body:has(.ofd-apparatus-editable) .ofd-apparatus-page-title h2 {
	color: #fff !important;
	font: 700 clamp(30px,3vw,43px)/1.2 Georgia, serif !important;
	margin: 0 0 7px !important;
	text-align: center !important;
}

body:has(.ofd-apparatus-editable) .ofd-apparatus-page-title p {
	color: #eee !important;
	text-align: center !important;
	font-size: 17px;
	margin: 0 !important;
}

/* Outer group stays one full-width block; ONLY its immediate inner container is a grid. */
body:has(.ofd-apparatus-editable) .ofd-apparatus-overview {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 0 27px !important;
	padding: 0 !important;
	box-sizing: border-box !important;
}

body:has(.ofd-apparatus-editable) .ofd-apparatus-overview > .wp-block-group__inner-container {
	display: grid !important;
	grid-template-columns: repeat(5,minmax(0,1fr)) !important;
	gap: 12px !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	box-sizing: border-box !important;
}

body:has(.ofd-apparatus-editable) .ofd-apparatus-tile {
	background: #f5f5f5 !important;
	color: #232323 !important;
	border-top: 4px solid #a00018 !important;
	padding: 11px !important;
	text-align: center !important;
	margin: 0 !important;
	min-width: 0 !important;
	max-width: none !important;
	width: auto !important;
	box-sizing: border-box !important;
}

body:has(.ofd-apparatus-editable) .ofd-apparatus-tile > .wp-block-group__inner-container {
	display: flex !important;
	flex-direction: column !important;
	gap: 8px !important;
	height: 100% !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
}

body:has(.ofd-apparatus-editable) .ofd-apparatus-tile-image {
	margin: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
}

body:has(.ofd-apparatus-editable) .ofd-apparatus-tile-image img {
	width: 100% !important;
	height: 135px !important;
	object-fit: contain !important;
	background: #fff;
	display: block !important;
}

body:has(.ofd-apparatus-editable) .ofd-apparatus-tile-name {
	font: 700 17px/1.3 Georgia, serif !important;
	color: #990019 !important;
	margin: 0 !important;
	text-align: center !important;
}

body:has(.ofd-apparatus-editable) .ofd-apparatus-jump {
	margin: auto 0 0 !important;
	text-align: center !important;
}

body:has(.ofd-apparatus-editable) .ofd-apparatus-jump a {
	font: 700 12px Arial, sans-serif !important;
	color: #303030 !important;
	text-decoration: underline !important;
}

body:has(.ofd-apparatus-editable) .ofd-apparatus-detail {
	background: #f5f5f5 !important;
	color: #222 !important;
	border: 1px solid #dadada !important;
	padding: 24px !important;
	margin: 18px 0 !important;
	width: 100% !important;
	max-width: none !important;
	box-sizing: border-box !important;
	scroll-margin-top: 40px;
}

body:has(.ofd-apparatus-editable) .ofd-apparatus-detail > .wp-block-group__inner-container {
	width: 100% !important;
	max-width: none !important;
}

body:has(.ofd-apparatus-editable) .ofd-apparatus-detail h2,
body:has(.ofd-apparatus-editable) .ofd-apparatus-detail h3 {
	color: #980018 !important;
	text-align: center !important;
	font: 700 clamp(24px,2.5vw,31px)/1.25 Georgia, serif !important;
	margin: 0 0 7px !important;
}

body:has(.ofd-apparatus-editable) .ofd-apparatus-detail p,
body:has(.ofd-apparatus-editable) .ofd-apparatus-detail li {
	color: #282828 !important;
	font: 15px/1.6 Arial, sans-serif !important;
}

body:has(.ofd-apparatus-editable) .ofd-fleet-subtitle {
	text-align: center !important;
	margin: 0 0 15px !important;
}

body:has(.ofd-apparatus-editable) .ofd-apparatus-detail p:not(.ofd-fleet-subtitle),
body:has(.ofd-apparatus-editable) .ofd-apparatus-detail ul,
body:has(.ofd-apparatus-editable) .ofd-apparatus-detail ol,
body:has(.ofd-apparatus-editable) .ofd-apparatus-detail li {
	text-align: left !important;
}

body:has(.ofd-apparatus-editable) .ofd-apparatus-detail ul,
body:has(.ofd-apparatus-editable) .ofd-apparatus-detail ol {
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 25px !important;
	max-width: none !important;
}

body:has(.ofd-apparatus-editable) .ofd-fleet-gallery {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	margin: 12px 0 18px !important;
}

body:has(.ofd-apparatus-editable) .ofd-fleet-gallery > .wp-block-group__inner-container {
	display: grid !important;
	grid-template-columns: repeat(auto-fit,minmax(170px,1fr)) !important;
	gap: 10px !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}

body:has(.ofd-apparatus-editable) .ofd-fleet-photo {
	margin: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
}

body:has(.ofd-apparatus-editable) .ofd-fleet-photo img {
	width: 100% !important;
	height: 175px !important;
	object-fit: contain !important;
	background: #fff !important;
	border: 1px solid #ddd !important;
	display: block !important;
}

@media(max-width:1000px) {
	body:has(.ofd-apparatus-editable) .ofd-apparatus-overview,body:has(.ofd-apparatus-editable) .ofd-apparatus-overview > .wp-block-group__inner-container {
		grid-template-columns: repeat(3,minmax(0,1fr)) !important;
	}
}

@media(max-width:650px) {
	body:has(.ofd-apparatus-editable) .ofd-apparatus-overview,body:has(.ofd-apparatus-editable) .ofd-apparatus-overview > .wp-block-group__inner-container {
		grid-template-columns: repeat(2,minmax(0,1fr)) !important;
	}
	
	body:has(.ofd-apparatus-editable) .ofd-apparatus-detail {
		padding: 15px !important;
	}
	
	body:has(.ofd-apparatus-editable) .ofd-fleet-gallery,body:has(.ofd-apparatus-editable) .ofd-fleet-gallery > .wp-block-group__inner-container {
		grid-template-columns: repeat(2,minmax(0,1fr)) !important;
	}
}

/* Apparatus ONLY — center section titles; left-align all copy below galleries.
   Append after Apparatus_CSS_2. Does not alter gallery or overview grids. */
body:has(.ofd-apparatus-editable) .ofd-apparatus-detail > .wp-block-group__inner-container > h2,
body:has(.ofd-apparatus-editable) .ofd-apparatus-detail > .wp-block-group__inner-container > h3,
body:has(.ofd-apparatus-editable) .ofd-apparatus-detail > .wp-block-group__inner-container > .ofd-fleet-subtitle {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	text-align: center !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

body:has(.ofd-apparatus-editable) .ofd-apparatus-detail > .wp-block-group__inner-container > p:not(.ofd-fleet-subtitle),
body:has(.ofd-apparatus-editable) .ofd-apparatus-detail > .wp-block-group__inner-container > ul,
body:has(.ofd-apparatus-editable) .ofd-apparatus-detail > .wp-block-group__inner-container > ol {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	text-align: left !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	box-sizing: border-box !important;
}

body:has(.ofd-apparatus-editable) .ofd-apparatus-detail > .wp-block-group__inner-container > ul,
body:has(.ofd-apparatus-editable) .ofd-apparatus-detail > .wp-block-group__inner-container > ol {
	padding-left: 26px !important;
}

body:has(.ofd-apparatus-editable) .ofd-apparatus-detail > .wp-block-group__inner-container > p:not(.ofd-fleet-subtitle) *,
body:has(.ofd-apparatus-editable) .ofd-apparatus-detail li {
	text-align: left !important;
}

/* OFD Apparel Store Preview — V43 layout, editable native WordPress blocks.
   Only active on a page containing .ofd-apparel-editable. */
body:has(.ofd-apparel-editable) #masthead,
body:has(.ofd-apparel-editable) .entry-header {
	display: none !important;
}

body:has(.ofd-apparel-editable) .site-main,
body:has(.ofd-apparel-editable) .entry-content {
	padding-top: 0 !important;
	margin-top: 0 !important;
}

body:has(.ofd-apparel-editable) .entry-content {
	width: 100% !important;
	max-width: 1400px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	box-sizing: border-box !important;
}

body:has(.ofd-apparel-editable) .entry-content > .wp-block-html,
body:has(.ofd-apparel-editable) .entry-content > #ofd-preview-header {
	width: 100% !important;
	max-width: 1400px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

body:has(.ofd-apparel-editable) .ofd-apparel-editable {
	position: static !important;
	left: auto !important;
	transform: none !important;
	display: block !important;
	width: 100% !important;
	max-width: 1400px !important;
	min-width: 0 !important;
	margin: 0 auto !important;
	padding: 25px 20px 35px !important;
	background: #000 !important;
	color: #fff !important;
	box-sizing: border-box !important;
	font-family: Arial, Helvetica, sans-serif !important;
}

body:has(.ofd-apparel-editable) .ofd-apparel-editable > .wp-block-group__inner-container {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	box-sizing: border-box !important;
}

body:has(.ofd-apparel-editable) .ofd-apparel-editable .ofd-apparel-page-title {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	text-align: center !important;
	margin: 0 auto 18px !important;
	padding: 0 !important;
}

body:has(.ofd-apparel-editable) .ofd-apparel-page-title > .wp-block-group__inner-container {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	text-align: center !important;
}

body:has(.ofd-apparel-editable) .ofd-apparel-page-title h2 {
	text-align: center !important;
	color: #fff !important;
	font: 700 clamp(30px,3vw,44px)/1.2 Georgia, serif !important;
	margin: 0 0 8px !important;
}

body:has(.ofd-apparel-editable) .ofd-apparel-page-title p,
body:has(.ofd-apparel-editable) .ofd-apparel-lead {
	text-align: center !important;
	color: #eee !important;
	font: 16px/1.5 Arial, sans-serif !important;
	max-width: none !important;
	margin: 6px auto 14px !important;
}

/* The outside Group is NOT a grid; grid applies exactly once to its inner container. */
body:has(.ofd-apparel-editable) .ofd-apparel-products {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	margin: 18px 0 0 !important;
	padding: 0 !important;
}

body:has(.ofd-apparel-editable) .ofd-apparel-products > .wp-block-group__inner-container {
	display: grid !important;
	grid-template-columns: repeat(3,minmax(0,1fr)) !important;
	gap: 18px !important;
	align-items: stretch !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	box-sizing: border-box !important;
}

body:has(.ofd-apparel-editable) .ofd-apparel-products .ofd-apparel-product {
	display: block !important;
	width: auto !important;
	max-width: none !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 16px 16px 20px !important;
	background: #f6f6f6 !important;
	color: #242424 !important;
	border-top: 4px solid #a00018 !important;
	box-sizing: border-box !important;
}

body:has(.ofd-apparel-editable) .ofd-apparel-product > .wp-block-group__inner-container {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	height: 100% !important;
	min-height: 0 !important;
	gap: 0 !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}

body:has(.ofd-apparel-editable) .ofd-apparel-product-image {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	width: 100% !important;
	max-width: 100% !important;
	height: 245px !important;
	margin: 0 0 12px !important;
	padding: 12px !important;
	background: white !important;
	border: 1px solid #e2e2e2 !important;
	box-sizing: border-box !important;
	overflow: hidden !important;
}

body:has(.ofd-apparel-editable) .ofd-apparel-product-image img {
	width: auto !important;
	max-width: 100% !important;
	height: auto !important;
	max-height: 100% !important;
	object-fit: contain !important;
	display: block !important;
	margin: auto !important;
}

body:has(.ofd-apparel-editable) .ofd-apparel-product h3 {
	color: #970018 !important;
	font: 700 23px/1.25 Georgia, serif !important;
	text-align: center !important;
	margin: 3px 0 9px !important;
}

body:has(.ofd-apparel-editable) .ofd-apparel-product p {
	color: #303030 !important;
	font: 15px/1.5 Arial, sans-serif !important;
	text-align: center !important;
	margin: 0 0 16px !important;
}

body:has(.ofd-apparel-editable) .ofd-apparel-product .wp-block-buttons {
	justify-content: center !important;
	margin: auto 0 0 !important;
	width: 100% !important;
}

body:has(.ofd-apparel-editable) .ofd-apparel-product .wp-block-button__link {
	display: inline-block !important;
	background: #a00018 !important;
	color: #fff !important;
	border-radius: 3px !important;
	border: 0 !important;
	text-decoration: none !important;
	padding: 12px 16px !important;
	font: 700 12px/1.4 Arial, sans-serif !important;
}

body:has(.ofd-apparel-editable) .ofd-apparel-footer {
	color: #ddd !important;
	text-align: center !important;
	font: 14px/1.5 Arial, sans-serif !important;
	margin: 25px auto 5px !important;
	max-width: none !important;
}

@media(max-width:850px) {
	body:has(.ofd-apparel-editable) .ofd-apparel-products > .wp-block-group__inner-container {
		grid-template-columns: repeat(2,minmax(0,1fr)) !important;
	}
}

@media(max-width:600px) {
	body:has(.ofd-apparel-editable) .ofd-apparel-products > .wp-block-group__inner-container {
		grid-template-columns: 1fr !important;
	}
	
	body:has(.ofd-apparel-editable) .ofd-apparel-editable {
		padding: 18px 12px 30px !important;
	}
	
	body:has(.ofd-apparel-editable) .ofd-apparel-product-image {
		height: 235px !important;
	}
}

/* CONTACT / JOIN US PREVIEW — appended to approved Apparel CSS 1.
   Only applies to the preview that contains .ofd-contact-editable. */
body:has(.ofd-contact-editable) #masthead,
body:has(.ofd-contact-editable) .entry-header {
	display: none !important;
}

body:has(.ofd-contact-editable) .site-main,
body:has(.ofd-contact-editable) .entry-content {
	padding-top: 0 !important;
	margin-top: 0 !important;
}

body:has(.ofd-contact-editable) .entry-content {
	width: 100% !important;
	max-width: 1400px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	box-sizing: border-box !important;
}

body:has(.ofd-contact-editable) .entry-content > .wp-block-html,
body:has(.ofd-contact-editable) .entry-content > #ofd-preview-header {
	width: 100% !important;
	max-width: 1400px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

body:has(.ofd-contact-editable) .ofd-contact-editable {
	position: static !important;
	left: auto !important;
	transform: none !important;
	display: block !important;
	width: 100% !important;
	max-width: 1400px !important;
	min-width: 0 !important;
	margin: 0 auto !important;
	padding: 24px 20px 32px !important;
	background: #000 !important;
	color: #fff !important;
	box-sizing: border-box !important;
	font-family: Arial, Helvetica, sans-serif !important;
}

body:has(.ofd-contact-editable) .ofd-contact-editable > .wp-block-group__inner-container {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	box-sizing: border-box !important;
}

body:has(.ofd-contact-editable) .ofd-contact-page-title,
body:has(.ofd-contact-editable) .ofd-contact-page-title > .wp-block-group__inner-container {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 auto 13px !important;
	text-align: center !important;
}

body:has(.ofd-contact-editable) .ofd-contact-page-title h2 {
	color: #fff !important;
	text-align: center !important;
	font: 700 clamp(30px,3vw,43px)/1.2 Georgia, serif !important;
	margin: 0 0 5px !important;
}

body:has(.ofd-contact-editable) .ofd-contact-page-title p {
	color: #e9e9e9 !important;
	text-align: center !important;
	font: 16px/1.45 Arial, sans-serif !important;
	margin: 0 auto !important;
}

body:has(.ofd-contact-editable) .ofd-contact-top,
body:has(.ofd-contact-editable) .ofd-contact-membership {
	display: flex !important;
	flex-wrap: nowrap !important;
	align-items: stretch !important;
	gap: 18px !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	margin: 0 !important;
	box-sizing: border-box !important;
}

body:has(.ofd-contact-editable) .ofd-contact-top > .wp-block-column,
body:has(.ofd-contact-editable) .ofd-contact-membership > .wp-block-column {
	flex: 1 1 0 !important;
	width: 0 !important;
	min-width: 0 !important;
	max-width: none !important;
	margin: 0 !important;
	box-sizing: border-box !important;
}

body:has(.ofd-contact-editable) .ofd-contact-top > .wp-block-column > .ofd-contact-card {
	height: 100% !important;
}

body:has(.ofd-contact-editable) .ofd-contact-card {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	padding: 20px 24px !important;
	margin: 0 !important;
	box-sizing: border-box !important;
	background: #f4f4f4 !important;
	color: #232323 !important;
	border: 1px solid #dedede !important;
}

body:has(.ofd-contact-editable) .ofd-contact-card > .wp-block-group__inner-container {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}

body:has(.ofd-contact-editable) .ofd-contact-card h3 {
	font: 700 24px/1.25 Georgia, serif !important;
	color: #990019 !important;
	margin: 0 0 10px !important;
}

body:has(.ofd-contact-editable) .ofd-contact-card p,
body:has(.ofd-contact-editable) .ofd-contact-card li {
	color: #282828 !important;
	font: 15px/1.5 Arial, sans-serif !important;
	text-align: left !important;
}

body:has(.ofd-contact-editable) .ofd-contact-card p {
	margin: 8px 0 12px !important;
}

body:has(.ofd-contact-editable) .ofd-contact-card a:not(.wp-block-button__link) {
	color: #930018 !important;
	text-decoration: underline !important;
}

body:has(.ofd-contact-editable) .ofd-contact-emergency,
body:has(.ofd-contact-editable) .ofd-contact-emergency strong {
	color: #a00018 !important;
}

body:has(.ofd-contact-editable) .ofd-form-setup-note {
	background: #fff !important;
	padding: 12px 14px !important;
	border-left: 3px solid #a00018 !important;
	font-size: 14px !important;
}

body:has(.ofd-contact-editable) .ofd-contact-volunteer {
	margin: 16px 0 0 !important;
}

body:has(.ofd-contact-editable) .ofd-contact-membership {
	gap: 22px !important;
	margin: 16px 0 0 !important;
}

body:has(.ofd-contact-editable) .ofd-contact-membership > .wp-block-column {
	padding: 14px 16px !important;
	background: #fff !important;
	border-top: 3px solid #a00018 !important;
}

body:has(.ofd-contact-editable) .ofd-contact-membership h4,
body:has(.ofd-contact-editable) .ofd-contact-membership h3 {
	color: #990019 !important;
	font: 700 20px Georgia, serif !important;
}

body:has(.ofd-contact-editable) .ofd-contact-membership .wp-block-buttons {
	justify-content: flex-start !important;
	margin: 15px 0 2px !important;
}

body:has(.ofd-contact-editable) .ofd-contact-membership .wp-block-button__link {
	display: inline-block !important;
	background: #a00018 !important;
	color: #fff !important;
	border-radius: 3px !important;
	text-decoration: none !important;
	padding: 12px 15px !important;
	font: 700 12px/1.5 Arial, sans-serif !important;
}

body:has(.ofd-contact-editable) .ofd-contact-mailing {
	margin-top: 15px !important;
}

@media(max-width:760px) {
	body:has(.ofd-contact-editable) .ofd-contact-editable {
		padding: 18px 12px 28px !important;
	}
	
	body:has(.ofd-contact-editable) .ofd-contact-top,
									 body:has(.ofd-contact-editable) .ofd-contact-membership {
		flex-direction: column !important;
		gap: 14px !important;
	}
	
	body:has(.ofd-contact-editable) .ofd-contact-top > .wp-block-column,
									 body:has(.ofd-contact-editable) .ofd-contact-membership > .wp-block-column {
		width: 100% !important;
		flex: 1 1 auto !important;
	}
	
	body:has(.ofd-contact-editable) .ofd-contact-card {
		padding: 17px !important;
	}
}

/* =====================================================
   HOME EDITABLE V1 — V43 homepage reconstruction
   Only applies to the new editable homepage.
   ===================================================== */
body:has(.ofd-home-editable) .entry-content,
body:has(.ofd-home-editable) .post-content,
body:has(.ofd-home-editable) .wp-block-post-content,
body:has(.ofd-home-editable) .entry-content > .wp-block-group,
body:has(.ofd-home-editable) .site-main,
body:has(.ofd-home-editable) .hentry {
	max-width: none !important;
	width: 100% !important;
}

body:has(.ofd-home-editable) .ofd-home-editable,
body:has(.ofd-home-editable) .ofd-home-editable > .wp-block-group__inner-container {
	display: block !important;
	width: 100% !important;
	max-width: 1400px !important;
	min-width: 0 !important;
	margin: 0 auto !important;
	box-sizing: border-box !important;
}

body:has(.ofd-home-editable) .ofd-home-editable {
	background: #0b0b0b !important;
	color: #fff !important;
	padding: 0 18px 25px !important;
}

body:has(.ofd-home-editable) .ofd-home-hero {
	position: relative !important;
	width: calc(100% + 36px) !important;
	max-width: none !important;
	margin: 0 -18px 16px !important;
	min-height: 300px !important;
	box-sizing: border-box !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

body:has(.ofd-home-editable) .ofd-home-hero > .wp-block-cover__inner-container {
	width: 100% !important;
	max-width: 1050px !important;
	padding: 25px 0 !important;
	margin: 0 auto !important;
	box-sizing: border-box !important;
	text-align: left !important;
}

body:has(.ofd-home-editable) .ofd-home-hero h2 {
	color: #fff !important;
	font: 700 clamp(32px,3.7vw,50px)/1.12 Georgia, serif !important;
	margin: 0 0 10px !important;
	text-align: left !important;
}

body:has(.ofd-home-editable) .ofd-home-hero p {
	color: #fff !important;
	font: 18px/1.3 Arial, sans-serif !important;
	margin: 0 0 14px !important;
}

body:has(.ofd-home-editable) .wp-block-buttons {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
	justify-content: flex-start !important;
}

body:has(.ofd-home-editable) .wp-block-button {
	margin: 0 !important;
}

body:has(.ofd-home-editable) .wp-block-button__link {
	display: inline-block !important;
	background: #a9001a !important;
	color: #fff !important;
	border-radius: 3px !important;
	border: 0 !important;
	text-decoration: none !important;
	padding: 13px 16px !important;
	font: 700 12px/1.3 Arial, sans-serif !important;
	box-sizing: border-box !important;
}

body:has(.ofd-home-editable) .ofd-home-mainrow,
body:has(.ofd-home-editable) .ofd-home-news-columns,
body:has(.ofd-home-editable) .ofd-home-features,
body:has(.ofd-home-editable) .ofd-home-steps {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: stretch !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	box-sizing: border-box !important;
	margin: 0 !important;
}

body:has(.ofd-home-editable) .ofd-home-mainrow {
	gap: 16px !important;
}

body:has(.ofd-home-editable) .ofd-home-mainrow > .wp-block-column {
	flex: 1 1 0 !important;
	width: 0 !important;
	min-width: 0 !important;
	max-width: none !important;
	margin: 0 !important;
}

body:has(.ofd-home-editable) .ofd-home-mainrow > .wp-block-column:first-child {
	flex: 1.15 1 0 !important;
}

body:has(.ofd-home-editable) .ofd-home-progress,
body:has(.ofd-home-editable) .ofd-home-campaign {
	display: block !important;
	width: 100% !important;
	min-width: 0 !important;
	max-width: none !important;
	min-height: 100% !important;
	box-sizing: border-box !important;
	padding: 22px 24px !important;
	margin: 0 !important;
}

body:has(.ofd-home-editable) .ofd-home-progress {
	background: #f3f3f3 !important;
	color: #222 !important;
}

body:has(.ofd-home-editable) .ofd-home-campaign {
	background: #960011 !important;
	color: #fff !important;
}

body:has(.ofd-home-editable) .ofd-home-progress > .wp-block-group__inner-container,
body:has(.ofd-home-editable) .ofd-home-campaign > .wp-block-group__inner-container,
body:has(.ofd-home-editable) .ofd-home-news > .wp-block-group__inner-container,
body:has(.ofd-home-editable) .ofd-home-feature > .wp-block-group__inner-container,
body:has(.ofd-home-editable) .ofd-home-step > .wp-block-group__inner-container {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}

body:has(.ofd-home-editable) .ofd-home-progress h2,
body:has(.ofd-home-editable) .ofd-home-news h2 {
	font: 700 27px/1.2 Georgia, serif !important;
	color: #222 !important;
	margin: 7px 0 10px !important;
	text-align: left !important;
}

body:has(.ofd-home-editable) .ofd-home-progress p,
body:has(.ofd-home-editable) .ofd-home-news p {
	color: #222 !important;
	font: 15px/1.5 Arial, sans-serif !important;
	margin: 8px 0 15px !important;
	text-align: left !important;
}

body:has(.ofd-home-editable) .ofd-home-progress > :is(p,.wp-block-group__inner-container) > p:first-child strong,
body:has(.ofd-home-editable) .ofd-home-news p strong {
	color: #990018 !important;
	font: 700 12px/1.4 Arial, sans-serif !important;
	letter-spacing: .4px !important;
}

body:has(.ofd-home-editable) .ofd-home-steps {
	gap: 9px !important;
	margin: 20px 0 !important;
	text-align: center !important;
}

body:has(.ofd-home-editable) .ofd-home-steps > .wp-block-column {
	flex: 1 1 0 !important;
	width: 0 !important;
	min-width: 0 !important;
	margin: 0 !important;
}

body:has(.ofd-home-editable) .ofd-home-step {
	width: 100% !important;
	min-width: 0 !important;
	text-align: center !important;
}

body:has(.ofd-home-editable) .ofd-home-step h3 {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 50px !important;
	height: 50px !important;
	border-radius: 50% !important;
	border: 2px solid #555 !important;
	margin: 0 auto 8px !important;
	color: #990019 !important;
	font: 700 16px Arial, sans-serif !important;
}

body:has(.ofd-home-editable) .ofd-home-step p {
	text-align: center !important;
	color: #333 !important;
	font: 12px/1.4 Arial, sans-serif !important;
	margin: 3px 0 !important;
	overflow-wrap: normal !important;
	word-break: normal !important;
}

body:has(.ofd-home-editable) .ofd-home-concept {
	margin: 16px 0 0 !important;
	max-width: 320px !important;
}

body:has(.ofd-home-editable) .ofd-home-concept img {
	display: block !important;
	width: 100% !important;
	max-height: 180px !important;
	object-fit: contain !important;
	background: white !important;
}

body:has(.ofd-home-editable) .ofd-home-campaign h2 {
	font: 700 32px/1.2 Georgia, serif !important;
	color: #fff !important;
	text-align: left !important;
	margin: 10px 0 !important;
}

body:has(.ofd-home-editable) .ofd-home-campaign h3 {
	color: #fff !important;
	font: 700 21px/1.25 Georgia, serif !important;
	margin: 20px 0 8px !important;
	border-top: 1px solid #c98690 !important;
	padding-top: 16px !important;
}

body:has(.ofd-home-editable) .ofd-home-campaign p {
	color: #fff !important;
	font: 16px/1.5 Arial, sans-serif !important;
	text-align: left !important;
}

body:has(.ofd-home-editable) .ofd-home-campaign .wp-block-button__link {
	background: #fff !important;
	color: #900016 !important;
}

body:has(.ofd-home-editable) .ofd-home-news {
	display: block !important;
	background: #f3f3f3 !important;
	color: #222 !important;
	margin: 16px 0 !important;
	padding: 20px !important;
	box-sizing: border-box !important;
}

body:has(.ofd-home-editable) .ofd-home-news-columns {
	gap: 24px !important;
	align-items: center !important;
}

body:has(.ofd-home-editable) .ofd-home-news-columns > .wp-block-column:first-child {
	flex: 1 1 65% !important;
	width: auto !important;
	min-width: 0 !important;
}

body:has(.ofd-home-editable) .ofd-home-news-columns > .wp-block-column:last-child {
	flex: 0 1 290px !important;
	width: 290px !important;
	min-width: 0 !important;
}

body:has(.ofd-home-editable) .ofd-home-news-photo {
	width: 100% !important;
	margin: 0 !important;
}

body:has(.ofd-home-editable) .ofd-home-news-photo img {
	display: block !important;
	width: 100% !important;
	height: 160px !important;
	object-fit: cover !important;
}

body:has(.ofd-home-editable) .ofd-home-features {
	gap: 16px !important;
	margin-top: 16px !important;
}

body:has(.ofd-home-editable) .ofd-home-features > .wp-block-column {
	flex: 1 1 0 !important;
	width: 0 !important;
	min-width: 0 !important;
	margin: 0 !important;
}

body:has(.ofd-home-editable) .ofd-home-feature {
	display: block !important;
	background: #fff !important;
	color: #222 !important;
	width: 100% !important;
	height: 100% !important;
	box-sizing: border-box !important;
	text-align: center !important;
	padding: 0 0 14px !important;
}

body:has(.ofd-home-editable) .ofd-home-feature figure {
	margin: 0 !important;
	width: 100% !important;
}

body:has(.ofd-home-editable) .ofd-home-feature img {
	display: block !important;
	width: 100% !important;
	height: 155px !important;
	object-fit: contain !important;
	background: #f5f5f5 !important;
}

body:has(.ofd-home-editable) .ofd-home-feature h3 {
	font: 700 16px/1.35 Georgia, serif !important;
	margin: 11px 8px 4px !important;
	text-align: center !important;
}

body:has(.ofd-home-editable) .ofd-home-feature h3 a {
	color: #980018 !important;
	text-decoration: none !important;
}

body:has(.ofd-home-editable) .ofd-home-feature p {
	font: 14px/1.45 Arial, sans-serif !important;
	color: #333 !important;
	text-align: center !important;
	padding: 0 12px !important;
	margin: 0 !important;
}

@media(max-width:760px) {
	body:has(.ofd-home-editable) .ofd-home-editable {
		padding: 0 12px 18px !important;
	}
	
	body:has(.ofd-home-editable) .ofd-home-hero {
		width: calc(100% + 24px) !important;
		margin: 0 -12px 14px !important;
	}
	
	body:has(.ofd-home-editable) .ofd-home-mainrow,
									 body:has(.ofd-home-editable) .ofd-home-news-columns {
		flex-direction: column !important;
	}
	
	body:has(.ofd-home-editable) .ofd-home-mainrow > .wp-block-column,
									 body:has(.ofd-home-editable) .ofd-home-news-columns > .wp-block-column {
		width: 100% !important;
		flex: 1 1 auto !important;
	}
	
	body:has(.ofd-home-editable) .ofd-home-features {
		display: grid !important;
		grid-template-columns: repeat(2,minmax(0,1fr)) !important;
	}
	
	body:has(.ofd-home-editable) .ofd-home-features > .wp-block-column {
		width: 100% !important;
	}
	
	body:has(.ofd-home-editable) .ofd-home-steps {
		flex-wrap: wrap !important;
	}
	
	body:has(.ofd-home-editable) .ofd-home-steps > .wp-block-column {
		flex: 1 1 42% !important;
		width: auto !important;
	}
}

@media(max-width:480px) {
	body:has(.ofd-home-editable) .ofd-home-features {
		grid-template-columns: 1fr !important;
	}
}

/* =====================================================
   HOME EDITABLE V2 — progress action/image + full news row
   Scoped to the editable homepage only.
   ===================================================== */
/* Place the button and station rendering alongside each other.
   Covers both classic and modern Gutenberg Group wrappers. */
body:has(.ofd-home-editable) .ofd-home-progress,
body:has(.ofd-home-editable) .ofd-home-progress > .wp-block-group__inner-container {
	display: grid !important;
	grid-template-columns: minmax(0,1fr) minmax(180px,280px) !important;
	column-gap: 16px !important;
	align-items: center !important;
}

body:has(.ofd-home-editable) .ofd-home-progress > :not(.wp-block-buttons):not(.ofd-home-concept),
body:has(.ofd-home-editable) .ofd-home-progress > .wp-block-group__inner-container > :not(.wp-block-buttons):not(.ofd-home-concept) {
	grid-column: 1 / -1 !important;
}

body:has(.ofd-home-editable) .ofd-home-progress > .wp-block-buttons,
body:has(.ofd-home-editable) .ofd-home-progress > .wp-block-group__inner-container > .wp-block-buttons {
	grid-column: 1 !important;
	grid-row: auto !important;
	align-self: center !important;
	margin: 0 !important;
	min-width: 0 !important;
}

body:has(.ofd-home-editable) .ofd-home-progress > .ofd-home-concept,
body:has(.ofd-home-editable) .ofd-home-progress > .wp-block-group__inner-container > .ofd-home-concept {
	grid-column: 2 !important;
	grid-row: auto !important;
	margin: 0 !important;
	width: 100% !important;
	max-width: none !important;
	align-self: center !important;
	min-width: 0 !important;
}

body:has(.ofd-home-editable) .ofd-home-concept img {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	max-height: 175px !important;
	object-fit: contain !important;
}

/* Make Latest News occupy the same full content width as the row above. */
body:has(.ofd-home-editable) .ofd-home-news,
body:has(.ofd-home-editable) .ofd-home-news > .wp-block-group__inner-container,
body:has(.ofd-home-editable) .ofd-home-news-columns {
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	box-sizing: border-box !important;
}

body:has(.ofd-home-editable) .ofd-home-news-columns {
	display: flex !important;
	flex-direction: row !important;
	justify-content: space-between !important;
	align-items: center !important;
}

body:has(.ofd-home-editable) .ofd-home-news-columns > .wp-block-column:first-child {
	flex: 1 1 0 !important;
	width: auto !important;
	max-width: none !important;
	min-width: 0 !important;
}

body:has(.ofd-home-editable) .ofd-home-news-columns > .wp-block-column:last-child {
	flex: 0 0 290px !important;
	width: 290px !important;
	min-width: 0 !important;
}

@media(max-width:760px) {
	body:has(.ofd-home-editable) .ofd-home-progress,
									  body:has(.ofd-home-editable) .ofd-home-progress > .wp-block-group__inner-container {
		grid-template-columns: minmax(0,1fr) !important;
	}
	
	body:has(.ofd-home-editable) .ofd-home-progress > .wp-block-buttons,
									  body:has(.ofd-home-editable) .ofd-home-progress > .ofd-home-concept,
									  body:has(.ofd-home-editable) .ofd-home-progress > .wp-block-group__inner-container > .wp-block-buttons,
									  body:has(.ofd-home-editable) .ofd-home-progress > .wp-block-group__inner-container > .ofd-home-concept {
		grid-column: 1 !important;
	}
	
	body:has(.ofd-home-editable) .ofd-home-news-columns {
		flex-direction: column !important;
	}
	
	body:has(.ofd-home-editable) .ofd-home-news-columns > .wp-block-column:last-child {
		flex: 1 1 auto !important;
		width: 100% !important;
	}
}

/* ===============================================================
   DONATION OPTIONS PREVIEW V1 — scoped to editable Donation page.
   Keeps Home CSS 2 and all earlier approved page styling intact.
   =============================================================== */
body:has(.ofd-donation-page) .entry-header {
	display: none !important;
}

body:has(.ofd-donation-page) .site-main {
	padding-top: 0 !important;
	margin-top: 0 !important;
}

body:has(.ofd-donation-page) .entry-content {
	margin-top: 0 !important;
	max-width: none !important;
}

body:has(.ofd-donation-page) .ofd-donation-page {
	position: relative !important;
	left: 50% !important;
	transform: translateX(-50%) !important;
	width: min(1400px,calc(100vw - 32px)) !important;
	max-width: none !important;
	box-sizing: border-box !important;
	margin: 0 !important;
	padding: 18px 20px 30px !important;
	background: #f2f2f2 !important;
	color: #242424 !important;
	font: 16px/1.55 Arial, Helvetica, sans-serif !important;
}

body:has(.ofd-donation-page) .ofd-donation-page > .wp-block-group__inner-container,
body:has(.ofd-donation-page) .ofd-donation-page > .wp-block-group__inner-container > .wp-block-group,
body:has(.ofd-donation-page) .ofd-donation-page > .wp-block-group {
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	box-sizing: border-box !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

body:has(.ofd-donation-page) .ofd-donation-page .wp-block-group__inner-container {
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	box-sizing: border-box !important;
}

body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-intro,
body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-naming,
body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-levels,
body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-contact {
	width: 100% !important;
	max-width: none !important;
	box-sizing: border-box !important;
	padding: 23px 27px !important;
	margin: 0 0 17px !important;
	background: #fff !important;
	color: #242424 !important;
	border: 1px solid #dedede !important;
	border-radius: 2px !important;
}

body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-intro {
	background: #e9e9e9 !important;
	text-align: center !important;
	padding: 29px 34px !important;
}

body:has(.ofd-donation-page) .ofd-donation-page h2 {
	color: #212121 !important;
	font: 700 clamp(24px,2.7vw,32px)/1.22 Georgia, serif !important;
	margin: 0 0 13px !important;
}

body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-intro h2 {
	font-size: clamp(30px,3.3vw,42px) !important;
	text-align: center !important;
}

body:has(.ofd-donation-page) .ofd-donation-page p {
	color: #292929 !important;
	max-width: none !important;
	font: 16px/1.58 Arial, Helvetica, sans-serif !important;
	margin: 0 0 13px !important;
}

body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-intro p {
	text-align: center !important;
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: 880px !important;
}

body:has(.ofd-donation-page) .ofd-donation-page .wp-block-buttons {
	display: flex !important;
	justify-content: flex-start !important;
	margin: 17px 0 !important;
	gap: 10px !important;
}

body:has(.ofd-donation-page) .ofd-donation-page .wp-block-button__link {
	background: #a9001b !important;
	color: #fff !important;
	border: 1px solid #a9001b !important;
	border-radius: 3px !important;
	padding: 12px 18px !important;
	text-decoration: none !important;
	font: 700 13px/1.25 Arial, sans-serif !important;
	white-space: normal !important;
}

body:has(.ofd-donation-page) .ofd-donation-page .wp-block-button__link:hover {
	background: #820014 !important;
	color: #fff !important;
}

body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-table {
	width: 100% !important;
	max-width: none !important;
	overflow-x: auto !important;
	margin: 17px 0 4px !important;
}

body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-table table {
	width: 100% !important;
	border-collapse: collapse !important;
	font: 15px/1.4 Arial, Helvetica, sans-serif !important;
	color: #252525 !important;
}

body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-table th {
	background: #292929 !important;
	color: #fff !important;
	font-weight: 700 !important;
	text-align: left !important;
	padding: 12px 13px !important;
	border: 1px solid #d8d8d8 !important;
}

body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-table td {
	padding: 11px 13px !important;
	text-align: left !important;
	vertical-align: top !important;
	border: 1px solid #d9d9d9 !important;
}

body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-table tbody tr:nth-child(even) td {
	background: #f2f2f2 !important;
}

body:has(.ofd-donation-page) .ofd-donation-page a:not(.wp-block-button__link) {
	color: #990018 !important;
	text-decoration: underline !important;
}

@media(max-width:650px) {
	body:has(.ofd-donation-page) .ofd-donation-page {
		padding: 12px !important;
	}
	
	body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-intro,
									  body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-naming,
									  body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-levels,
									  body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-contact {
		padding: 17px 14px !important;
	}
	
	body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-table table {
		font-size: 13px !important;
	}
	
	body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-table td,
									  body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-table th {
		padding: 8px !important;
	}
}

/* ==============================================================
   DONATION CSS 2 — shared-header correction ONLY on Donation page.
   The synced header is a separate top-level block; keep it outside
   the gray donation content group. Do not edit the synced pattern.
   ============================================================== */
body:has(.ofd-donation-page) #ofd-preview-header {
	display: block !important;
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: 1400px !important;
	margin: 0 auto !important;
	padding: 0 !important;
	position: static !important;
	left: auto !important;
	transform: none !important;
	font-family: Arial, Helvetica, sans-serif !important;
}

/* Let the pattern's own approved white header and dark nav span
   the same available content width as the Donation page. */
body:has(.ofd-donation-page) .entry-content > .wp-block-block:has(#ofd-preview-header),
body:has(.ofd-donation-page) .entry-content > .wp-block-pattern:has(#ofd-preview-header),
body:has(.ofd-donation-page) .entry-content > .wp-block-html:has(#ofd-preview-header),
body:has(.ofd-donation-page) .entry-content > #ofd-preview-header {
	width: 100% !important;
	max-width: 1400px !important;
	box-sizing: border-box !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

body:has(.ofd-donation-page) #ofd-preview-header > div:first-child {
	background: #fff !important;
	color: #181818 !important;
	box-sizing: border-box !important;
}

body:has(.ofd-donation-page) #ofd-preview-header > div:nth-child(2) {
	background: #282828 !important;
	box-sizing: border-box !important;
}

body:has(.ofd-donation-page) #ofd-preview-header > div:nth-child(2) a,
body:has(.ofd-donation-page) #ofd-preview-header > div:nth-child(2) a:link,
body:has(.ofd-donation-page) #ofd-preview-header > div:nth-child(2) a:visited {
	color: #fff !important;
	text-decoration: none !important;
	background: transparent !important;
}

body:has(.ofd-donation-page) #ofd-preview-header > div:nth-child(2) a:hover,
body:has(.ofd-donation-page) #ofd-preview-header > div:nth-child(2) a:focus {
	color: #fff !important;
	text-decoration: underline !important;
}

/* DONATION CSS 3 — original live donation graphics in their exact table rows.
   Scoped to the Donation Options preview; preserves all existing styles. */
body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-cell {
	display: flex !important;
	flex-direction: row !important;
	justify-content: flex-start !important;
	align-items: center !important;
	gap: 12px !important;
	text-align: left !important;
	min-height: 60px;
}

body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-row-img {
	box-sizing: border-box !important;
	display: block !important;
	width: 58px !important;
	height: 58px !important;
	max-width: 58px !important;
	min-width: 58px !important;
	object-fit: contain !important;
	flex: 0 0 58px !important;
	margin: 0 !important;
	padding: 2px !important;
	border: 0 !important;
	background: transparent !important;
}

body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-table td {
	vertical-align: middle !important;
}

@media(max-width:620px) {
	body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-cell {
		gap: 6px !important;
		min-height: 43px;
	}
	
	body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-row-img {
		width: 40px !important;
		height: 40px !important;
		min-width: 40px !important;
		max-width: 40px !important;
		flex-basis: 40px !important;
	}
}

/* DONATION CSS 4 — updated editable tables and download-button placement.
   Only targets the Donation Options content; preserves synced header and other pages. */
body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-hero,
body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-section {
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 0 16px !important;
	padding: 22px 24px !important;
	border: 1px solid #ddd !important;
	background: #f4f4f4 !important;
	color: #222 !important;
}

body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-section {
	background: #fff !important;
}

body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-hero h1,
body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-intro h1 {
	text-align: center !important;
	color: #171717 !important;
	font: 400 clamp(34px,3.1vw,47px)/1.16 Georgia, serif !important;
	margin: 0 0 18px !important;
}

body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-section h2 {
	text-align: left !important;
	color: #171717 !important;
	font: 700 clamp(26px,2.5vw,34px)/1.2 Georgia, serif !important;
	margin: 0 0 10px !important;
}

body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-hero p {
	text-align: center !important;
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: 880px !important;
}

body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-hero .ofd-donation-action-buttons {
	justify-content: center !important;
	align-items: center !important;
	gap: 10px !important;
	flex-wrap: wrap !important;
}

body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-section .ofd-donation-action-buttons {
	justify-content: flex-start !important;
	margin: 16px 0 0 !important;
}

body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-table {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	overflow-x: auto !important;
	margin: 14px 0 10px !important;
}

body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-table table {
	width: 100% !important;
	table-layout: auto !important;
	border-collapse: collapse !important;
	font: 14px/1.45 Arial, Helvetica, sans-serif !important;
}

body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-table th,
body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-table td {
	vertical-align: middle !important;
	padding: 9px 11px !important;
	overflow-wrap: normal !important;
}

body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-table th:first-child,
body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-table td:first-child {
	width: 84px !important;
	min-width: 72px !important;
	max-width: 90px !important;
	text-align: center !important;
}

body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-table td:first-child img {
	display: block !important;
	width: 52px !important;
	height: 52px !important;
	max-width: 52px !important;
	max-height: 52px !important;
	margin: 0 auto !important;
	object-fit: contain !important;
	border: 0 !important;
}

body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-table th:nth-child(3),
body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-table td:nth-child(3) {
	white-space: nowrap !important;
}

@media(max-width:650px) {
	body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-hero,
									  body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-section {
		padding: 16px 12px !important;
	}
	
	body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-table th:first-child,
									  body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-table td:first-child {
		width: 58px !important;
		min-width: 54px !important;
	}
	
	body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-table td:first-child img {
		width: 42px !important;
		height: 42px !important;
		max-width: 42px !important;
		max-height: 42px !important;
	}
}

/* DONATION CSS 5 — restore current editable-block layout; no content changes. */
body:has(.ofd-donation-page) .entry-title,
body:has(.ofd-donation-page) .entry-header,
body:has(.ofd-donation-page) header.entry-header {
	display: none !important;
}

body:has(.ofd-donation-page) .site-main,
body:has(.ofd-donation-page) .entry-content {
	padding-top: 0 !important;
	margin-top: 0 !important;
}

body:has(.ofd-donation-page) .ofd-donation-page {
	display: block !important;
	position: relative !important;
	left: 50% !important;
	transform: translateX(-50%) !important;
	width: min(1400px,calc(100vw - 32px)) !important;
	max-width: none !important;
	min-width: 0 !important;
	box-sizing: border-box !important;
	margin: 0 !important;
	padding: 18px !important;
	background: #f2f2f2 !important;
	color: #222 !important;
	font: 16px/1.5 Arial, Helvetica, sans-serif !important;
}

body:has(.ofd-donation-page) .ofd-donation-page > .wp-block-group__inner-container,
body:has(.ofd-donation-page) .ofd-donation-page > .wp-block-group__inner-container > .wp-block-group,
body:has(.ofd-donation-page) .ofd-donation-page > .wp-block-group,
body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-hero,
body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-section,
body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-hero > .wp-block-group__inner-container,
body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-section > .wp-block-group__inner-container {
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	box-sizing: border-box !important;
}

body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-hero,
body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-section {
	display: block !important;
	clear: both !important;
	margin: 0 0 16px !important;
	padding: 24px 26px !important;
	background: #fff !important;
	border: 1px solid #d9d9d9 !important;
	border-radius: 2px !important;
	color: #222 !important;
}

body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-hero {
	background: #e9e9e9 !important;
	text-align: center !important;
}

body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-hero h1 {
	color: #191919 !important;
	text-align: center !important;
	font: 400 clamp(32px,3vw,46px)/1.14 Georgia, serif !important;
	margin: 0 0 18px !important;
}

body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-section h2 {
	text-align: left !important;
	color: #191919 !important;
	font: 700 clamp(25px,2.6vw,34px)/1.2 Georgia, serif !important;
	margin: 0 0 12px !important;
}

body:has(.ofd-donation-page) .ofd-donation-page p,
body:has(.ofd-donation-page) .ofd-donation-page li {
	color: #242424 !important;
	font: 15px/1.55 Arial, sans-serif !important;
}

body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-hero p {
	text-align: center !important;
	max-width: 880px !important;
	margin: 0 auto 13px !important;
}

body:has(.ofd-donation-page) .ofd-donation-page .wp-block-buttons,
body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-action-buttons {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 10px !important;
	margin: 16px 0 !important;
}

body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-hero .wp-block-buttons {
	justify-content: center !important;
}

body:has(.ofd-donation-page) .ofd-donation-page .wp-block-button__link,
body:has(.ofd-donation-page) .ofd-donation-page a.wp-block-button__link {
	display: inline-block !important;
	background: #a9001b !important;
	color: #fff !important;
	border: 1px solid #a9001b !important;
	border-radius: 3px !important;
	padding: 12px 16px !important;
	font: 700 12px/1.2 Arial, sans-serif !important;
	text-decoration: none !important;
	white-space: normal !important;
}

body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-table {
	display: block !important;
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 14px 0 !important;
	overflow-x: auto !important;
}

body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-table table {
	width: 100% !important;
	max-width: none !important;
	border-collapse: collapse !important;
	background: #fff !important;
	color: #222 !important;
	font: 14px/1.4 Arial, sans-serif !important;
}

body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-table th {
	background: #292929 !important;
	color: #fff !important;
	text-align: left !important;
	border: 1px solid #d6d6d6 !important;
	padding: 11px 10px !important;
}

body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-table td {
	background: #fff !important;
	color: #222 !important;
	border: 1px solid #d6d6d6 !important;
	padding: 8px 10px !important;
	text-align: left !important;
	vertical-align: middle !important;
}

body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-table tbody tr:nth-child(even) td {
	background: #f2f2f2 !important;
}

body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-table th:first-child,
body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-table td:first-child {
	width: 76px !important;
	min-width: 65px !important;
	max-width: 86px !important;
	text-align: center !important;
}

body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-table td:first-child img {
	display: block !important;
	width: 52px !important;
	height: 52px !important;
	max-width: 52px !important;
	max-height: 52px !important;
	object-fit: contain !important;
	margin: 0 auto !important;
	border: 0 !important;
}

body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-table th:nth-child(3),
body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-table td:nth-child(3) {
	white-space: nowrap !important;
}

@media(max-width:650px) {
	body:has(.ofd-donation-page) .ofd-donation-page {
		padding: 10px !important;
	}
	
	body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-hero,
									 body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-section {
		padding: 16px 12px !important;
	}
	
	body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-table td:first-child img {
		width: 40px !important;
		height: 40px !important;
	}
}

/* Capital Campaign heading alignment */
body.page-id-2844 .ofd-editable-campaign .ofd-campaign-intro,
body.page-id-2844 .ofd-editable-campaign .ofd-campaign-intro > .wp-block-group__inner-container {
	text-align: center !important;
}

body.page-id-2844 .ofd-editable-campaign .ofd-campaign-intro h2,
body.page-id-2844 .ofd-editable-campaign .ofd-campaign-intro p {
	text-align: center !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* OFD page introduction alignment */
.ofd-donation-hero h1,
.ofd-donation-hero .wp-block-heading,
.ofd-donation-top-buttons {
	text-align: center !important;
}

/* Donation Options — center introductory heading and buttons */
.ofd-donation-hero > .wp-block-group__inner-container > h1,
.ofd-donation-hero h1.wp-block-heading,
.ofd-donation-hero h1.has-text-align-center {
	width: 100% !important;
	max-width: none !important;
	text-align: center !important;
	margin-left: auto !important;
	margin-right: auto !important;
	position: static !important;
	transform: none !important;
}

/* Donation Options — center the two chart buttons */
.ofd-donation-hero .ofd-donation-top-buttons,
.ofd-donation-hero .wp-block-buttons {
	display: flex !important;
	flex-direction: row !important;
	justify-content: center !important;
	align-items: center !important;
	gap: 12px !important;
	width: 100% !important;
	max-width: none !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Override WordPress button alignment */
.ofd-donation-hero .wp-block-buttons > .wp-block-button {
	margin: 0 !important;
}

/* OFD FINAL INTRO ALIGNMENT — OCT 2026
   Page title and introductory subtitle ONLY. Preserve section/body alignment. */
body:has(.ofd-station-editable) .ofd-station-heading,
body:has(.ofd-news-editable) .ofd-news-heading,
body:has(.ofd-history-editable) .ofd-history-heading,
body:has(.ofd-apparatus-editable) .ofd-apparatus-page-title,
body:has(.ofd-apparel-editable) .ofd-apparel-page-title,
body:has(.ofd-contact-editable) .ofd-contact-page-title {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	margin-left: auto !important;
	margin-right: auto !important;
	text-align: center !important;
	box-sizing: border-box !important;
}

body:has(.ofd-station-editable) .ofd-station-heading > .wp-block-group__inner-container,
body:has(.ofd-news-editable) .ofd-news-heading > .wp-block-group__inner-container,
body:has(.ofd-history-editable) .ofd-history-heading > .wp-block-group__inner-container,
body:has(.ofd-apparatus-editable) .ofd-apparatus-page-title > .wp-block-group__inner-container,
body:has(.ofd-apparel-editable) .ofd-apparel-page-title > .wp-block-group__inner-container,
body:has(.ofd-contact-editable) .ofd-contact-page-title > .wp-block-group__inner-container {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	margin-left: auto !important;
	margin-right: auto !important;
	text-align: center !important;
	box-sizing: border-box !important;
}

body:has(.ofd-station-editable) .ofd-station-heading :is(h1,h2,p),
body:has(.ofd-news-editable) .ofd-news-heading :is(h1,h2,p),
body:has(.ofd-history-editable) .ofd-history-heading :is(h1,h2,p),
body:has(.ofd-apparatus-editable) .ofd-apparatus-page-title :is(h1,h2,p),
body:has(.ofd-apparel-editable) .ofd-apparel-page-title :is(h1,h2,p),
body:has(.ofd-contact-editable) .ofd-contact-page-title :is(h1,h2,p) {
	position: static !important;
	left: auto !important;
	right: auto !important;
	transform: none !important;
	width: 100% !important;
	max-width: none !important;
	margin-left: auto !important;
	margin-right: auto !important;
	text-align: center !important;
	box-sizing: border-box !important;
}

/* OFD MASTER 2 — full-width News content and consistent top-page typography.
   Target only the requested pages. Prior approved rules above are retained. */
body:has(.ofd-news-editable) .ofd-news-article > .wp-block-group__inner-container,
body:has(.ofd-news-editable) .ofd-news-feed > .wp-block-group__inner-container,
body:has(.ofd-news-editable) .ofd-news-newsletter > .wp-block-group__inner-container {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	box-sizing: border-box !important;
}

body:has(.ofd-news-editable) .ofd-news-article .ofd-news-story,
body:has(.ofd-news-editable) .ofd-news-article .ofd-news-draft-note,
body:has(.ofd-news-editable) .ofd-news-feed .ofd-news-recent-posts,
body:has(.ofd-news-editable) .ofd-news-feed .wp-block-latest-posts,
body:has(.ofd-news-editable) .ofd-news-editable .ofd-news-article > .wp-block-group__inner-container > :is(h2,p),
body:has(.ofd-news-editable) .ofd-news-editable .ofd-news-feed > .wp-block-group__inner-container > :is(h2,p) {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	box-sizing: border-box !important;
}

body:has(.ofd-news-editable) .ofd-news-article .ofd-news-story > .wp-block-group__inner-container,
body:has(.ofd-news-editable) .ofd-news-article .ofd-news-story > .wp-block-group__inner-container > :is(h2,h3,p),
body:has(.ofd-news-editable) .ofd-news-feed .ofd-news-recent-posts > li {
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	box-sizing: border-box !important;
}

body:has(.ofd-news-editable) .ofd-news-article .ofd-news-story :is(h2,h3,p),
body:has(.ofd-news-editable) .ofd-news-article .ofd-news-draft-note {
	text-align: left !important;
}

/* Restore grid layout for the full-width recent-posts list. */
body:has(.ofd-news-editable) .ofd-news-feed .ofd-news-recent-posts,
body:has(.ofd-news-editable) .ofd-news-feed .wp-block-latest-posts.ofd-news-recent-posts {
	display: grid !important;
	grid-template-columns: repeat(2,minmax(0,1fr)) !important;
	gap: 14px !important;
}

/* Match the News & Updates title typeface on the three remaining top headings. */
body:has(.ofd-apparatus-editable) .ofd-apparatus-page-title :is(h1,h2),
body:has(.ofd-apparel-editable) .ofd-apparel-page-title :is(h1,h2),
body:has(.ofd-contact-editable) .ofd-contact-page-title :is(h1,h2) {
	font-family: Georgia, 'Times New Roman', serif !important;
	font-size: clamp(31px,3.4vw,44px) !important;
	font-style: normal !important;
	font-weight: 400 !important;
	line-height: 1.2 !important;
	letter-spacing: normal !important;
}

@media (max-width: 780px) {
	body:has(.ofd-news-editable) .ofd-news-feed .ofd-news-recent-posts,
							    body:has(.ofd-news-editable) .ofd-news-feed .wp-block-latest-posts.ofd-news-recent-posts {
		grid-template-columns: 1fr !important;
	}
}

/* Respect WordPress Visual Editor text alignment */
.ofd-contact-editable .has-text-align-center,
.ofd-apparel-editable .has-text-align-center,
.ofd-apparatus-editable .has-text-align-center,
.ofd-news-editable .has-text-align-center,
.ofd-history-editable .has-text-align-center,
.ofd-station-editable .has-text-align-center,
.ofd-editable-campaign .has-text-align-center {
	text-align: center !important;
}

/* Contact page: membership mailing instructions */
.ofd-contact-editable .ofd-contact-mailing.has-text-align-center {
	text-align: center !important;
	width: 100% !important;
	max-width: none !important;
}

/* OFD MASTER 3 — Consistent light-gray backgrounds for redesigned interior pages.
   Leaves the synced white department header, dark navigation, homepage hero,
   all inner cards, tables, gallery grids and WordPress alignment classes alone. */
body:has(.ofd-station-editable) .ofd-station-editable,
body:has(.ofd-news-editable) .ofd-news-editable,
body:has(.ofd-history-editable) .ofd-history-editable,
body:has(.ofd-apparatus-editable) .ofd-apparatus-editable,
body:has(.ofd-apparel-editable) .ofd-apparel-editable,
body:has(.ofd-contact-editable) .ofd-contact-editable {
	background: #ebebeb !important;
	color: #242424 !important;
}

/* Existing dark-page title lettering needs contrast against the new gray. */
body:has(.ofd-station-editable) .ofd-station-heading :is(h1,h2,p),
body:has(.ofd-news-editable) .ofd-news-heading :is(h1,h2,p),
body:has(.ofd-history-editable) .ofd-history-heading :is(h1,h2,p),
body:has(.ofd-apparatus-editable) .ofd-apparatus-page-title :is(h1,h2,p),
body:has(.ofd-apparel-editable) .ofd-apparel-page-title :is(h1,h2,p),
body:has(.ofd-contact-editable) .ofd-contact-page-title :is(h1,h2,p) {
	color: #222 !important;
}

/* Station floor-plan introduction no longer sits on a black section. */
body:has(.ofd-station-editable) .ofd-station-editable .ofd-station-plans {
	background: #ebebeb !important;
	color: #242424 !important;
}

body:has(.ofd-station-editable) .ofd-station-editable .ofd-station-plans > .wp-block-group__inner-container > :is(h2,p) {
	color: #242424 !important;
}

/* Preserve visual-editor paragraph alignment choices on each redesigned page. */
body:has(.ofd-station-editable) .ofd-station-editable .has-text-align-center,
body:has(.ofd-news-editable) .ofd-news-editable .has-text-align-center,
body:has(.ofd-history-editable) .ofd-history-editable .has-text-align-center,
body:has(.ofd-apparatus-editable) .ofd-apparatus-editable .has-text-align-center,
body:has(.ofd-apparel-editable) .ofd-apparel-editable .has-text-align-center,
body:has(.ofd-contact-editable) .ofd-contact-editable .has-text-align-center {
	text-align: center !important;
}

/* OFD GRAY 2 — Correct the surrounding page canvas as well as page Groups.
   Scope to redesigned interior pages, never the existing public pages or homepage hero. */
body:has(.ofd-station-editable),
body:has(.ofd-news-editable),
body:has(.ofd-history-editable),
body:has(.ofd-apparatus-editable),
body:has(.ofd-apparel-editable),
body:has(.ofd-contact-editable) {
	background-color: #ebebeb !important;
}

body:has(.ofd-station-editable) :is(.site, .site-content, .content-area, .site-main, article, .entry-content),
body:has(.ofd-news-editable) :is(.site, .site-content, .content-area, .site-main, article, .entry-content),
body:has(.ofd-history-editable) :is(.site, .site-content, .content-area, .site-main, article, .entry-content),
body:has(.ofd-apparatus-editable) :is(.site, .site-content, .content-area, .site-main, article, .entry-content),
body:has(.ofd-apparel-editable) :is(.site, .site-content, .content-area, .site-main, article, .entry-content),
body:has(.ofd-contact-editable) :is(.site, .site-content, .content-area, .site-main, article, .entry-content) {
	background-color: #ebebeb !important;
}

/* Explicitly override the individual original black page Groups. */
body:has(.ofd-station-editable) .entry-content .ofd-station-editable,
body:has(.ofd-news-editable) .entry-content .ofd-news-editable,
body:has(.ofd-history-editable) .entry-content .ofd-history-editable,
body:has(.ofd-apparatus-editable) .entry-content .ofd-apparatus-editable,
body:has(.ofd-apparel-editable) .entry-content .ofd-apparel-editable,
body:has(.ofd-contact-editable) .entry-content .ofd-contact-editable {
	background-color: #ebebeb !important;
	color: #242424 !important;
}

/* Preserve the explicit white shared header and dark navigation despite canvas changes. */
body:has(.ofd-station-editable) #ofd-preview-header,
body:has(.ofd-news-editable) #ofd-preview-header,
body:has(.ofd-history-editable) #ofd-preview-header,
body:has(.ofd-apparatus-editable) #ofd-preview-header,
body:has(.ofd-apparel-editable) #ofd-preview-header,
body:has(.ofd-contact-editable) #ofd-preview-header {
	background-color: #fff !important;
}

/* OFD GRAY 3 — Readability refinement on light-gray page canvases.
   Target introductory typography only; keep white text on dark/red cards and buttons. */
body:has(.ofd-station-editable) .ofd-station-heading :is(h1,h2,h3,p),
body:has(.ofd-news-editable) .ofd-news-heading :is(h1,h2,h3,p),
body:has(.ofd-history-editable) .ofd-history-heading :is(h1,h2,h3,p),
body:has(.ofd-apparatus-editable) .ofd-apparatus-page-title :is(h1,h2,h3,p),
body:has(.ofd-apparel-editable) .ofd-apparel-page-title :is(h1,h2,h3,p),
body:has(.ofd-apparel-editable) .ofd-apparel-lead,
body:has(.ofd-contact-editable) .ofd-contact-page-title :is(h1,h2,h3,p) {
	color: #202020 !important;
}

/* Keep the text in gray section introductions readable and respect intentional centering. */
body:has(.ofd-station-editable) .ofd-station-plans > .wp-block-group__inner-container > :is(h2,p),
body:has(.ofd-history-editable) .ofd-history-heading > .wp-block-group__inner-container > :is(h2,p),
body:has(.ofd-news-editable) .ofd-news-heading > .wp-block-group__inner-container > :is(h2,p),
body:has(.ofd-apparatus-editable) .ofd-apparatus-page-title > .wp-block-group__inner-container > :is(h2,p),
body:has(.ofd-contact-editable) .ofd-contact-page-title > .wp-block-group__inner-container > :is(h2,p) {
	color: #202020 !important;
}

/* Gray background for the EDITABLE homepage. Preserve photo hero, red campaign panel,
   white news and feature cards and the shared header/nav. */
body:has(.ofd-home-editable) {
	background-color: #ebebeb !important;
}

body:has(.ofd-home-editable) :is(.site,.site-content,.content-area,.site-main,article,.entry-content) {
	background-color: #ebebeb !important;
}

body:has(.ofd-home-editable) .entry-content .ofd-home-editable {
	background-color: #ebebeb !important;
	color: #242424 !important;
}

/* Honor Visual editor alignment on paragraph blocks. */
body:has(.ofd-home-editable) .has-text-align-center,
body:has(.ofd-station-editable) .has-text-align-center,
body:has(.ofd-news-editable) .has-text-align-center,
body:has(.ofd-history-editable) .has-text-align-center,
body:has(.ofd-apparatus-editable) .has-text-align-center,
body:has(.ofd-apparel-editable) .has-text-align-center,
body:has(.ofd-contact-editable) .has-text-align-center {
	text-align: center !important;
}

/* OFD BLACK FRAME + LIGHT CONTENT PANELS — APPROVED DESIGN.
   This final section overrides the earlier experimental gray-canvas rules.
   Do not modify the shared header, content grids, photos or navigation. */
/* Black outer canvas around the redesigned pages; maintain the editable
   homepage image hero and its own content cards. */
body:has(.ofd-home-editable),
body:has(.ofd-station-editable),
body:has(.ofd-news-editable),
body:has(.ofd-history-editable),
body:has(.ofd-apparatus-editable),
body:has(.ofd-apparel-editable),
body:has(.ofd-contact-editable) {
	background-color: #1b1b1b !important;
}

body:has(.ofd-home-editable) :is(.site,.site-content,.content-area,.site-main,article,.entry-content),
body:has(.ofd-station-editable) :is(.site,.site-content,.content-area,.site-main,article,.entry-content),
body:has(.ofd-news-editable) :is(.site,.site-content,.content-area,.site-main,article,.entry-content),
body:has(.ofd-history-editable) :is(.site,.site-content,.content-area,.site-main,article,.entry-content),
body:has(.ofd-apparatus-editable) :is(.site,.site-content,.content-area,.site-main,article,.entry-content),
body:has(.ofd-apparel-editable) :is(.site,.site-content,.content-area,.site-main,article,.entry-content),
body:has(.ofd-contact-editable) :is(.site,.site-content,.content-area,.site-main,article,.entry-content) {
	background-color: #1b1b1b !important;
}

/* Interior page groups create the black framing around pale content cards. */
body:has(.ofd-station-editable) .entry-content .ofd-station-editable,
body:has(.ofd-news-editable) .entry-content .ofd-news-editable,
body:has(.ofd-history-editable) .entry-content .ofd-history-editable,
body:has(.ofd-apparatus-editable) .entry-content .ofd-apparatus-editable,
body:has(.ofd-apparel-editable) .entry-content .ofd-apparel-editable,
body:has(.ofd-contact-editable) .entry-content .ofd-contact-editable {
	background-color: #000 !important;
	color: #fff !important;
}

/* Page introductions sit on black, so their titles/subtitles must be white. */
body:has(.ofd-station-editable) .ofd-station-heading :is(h1,h2,h3,p),
body:has(.ofd-news-editable) .ofd-news-heading :is(h1,h2,h3,p),
body:has(.ofd-history-editable) .ofd-history-heading :is(h1,h2,h3,p),
body:has(.ofd-apparatus-editable) .ofd-apparatus-page-title :is(h1,h2,h3,p),
body:has(.ofd-apparel-editable) .ofd-apparel-page-title :is(h1,h2,h3,p),
body:has(.ofd-contact-editable) .ofd-contact-page-title :is(h1,h2,h3,p),
body:has(.ofd-apparel-editable) .ofd-apparel-lead {
	color: #fff !important;
}

/* Floor-plan section is black between the light-gray blueprint cards. */
body:has(.ofd-station-editable) .ofd-station-editable .ofd-station-plans {
	background-color: #000 !important;
	color: #fff !important;
}

body:has(.ofd-station-editable) .ofd-station-editable .ofd-station-plans > .wp-block-group__inner-container > :is(h2,p) {
	color: #fff !important;
}

/* Editable homepage: retain hero photography and colored section cards,
   but show a dark outer frame instead of the experimental all-gray canvas. */
body:has(.ofd-home-editable) .entry-content .ofd-home-editable {
	background-color: #000 !important;
	color: #fff !important;
}

/* Do NOT override the background or text colors of white/gray content panels,
   charcoal step cards, burgundy campaign panels or buttons: their existing
   approved styles remain earlier in this complete master CSS. */
/* BLACK/GRAY DESIGN FIX 2 — White titles on black page-introduction strips.
   More specific than earlier light-gray canvas title rules.
   Does not affect text in pale content cards or the shared header. */
body:has(.ofd-station-editable) .ofd-station-editable .ofd-station-heading :is(h1,h2,h3,p),
body:has(.ofd-news-editable) .ofd-news-editable .ofd-news-heading :is(h1,h2,h3,p),
body:has(.ofd-history-editable) .ofd-history-editable .ofd-history-heading :is(h1,h2,h3,p),
body:has(.ofd-apparatus-editable) .ofd-apparatus-editable .ofd-apparatus-page-title :is(h1,h2,h3,p),
body:has(.ofd-apparel-editable) .ofd-apparel-editable .ofd-apparel-page-title :is(h1,h2,h3,p),
body:has(.ofd-contact-editable) .ofd-contact-editable .ofd-contact-page-title :is(h1,h2,h3,p),
body:has(.ofd-station-editable) .ofd-station-heading > .wp-block-group__inner-container > :is(h1,h2,h3,p),
body:has(.ofd-news-editable) .ofd-news-heading > .wp-block-group__inner-container > :is(h1,h2,h3,p),
body:has(.ofd-history-editable) .ofd-history-heading > .wp-block-group__inner-container > :is(h1,h2,h3,p),
body:has(.ofd-apparatus-editable) .ofd-apparatus-page-title > .wp-block-group__inner-container > :is(h1,h2,h3,p),
body:has(.ofd-apparel-editable) .ofd-apparel-page-title > .wp-block-group__inner-container > :is(h1,h2,h3,p),
body:has(.ofd-contact-editable) .ofd-contact-page-title > .wp-block-group__inner-container > :is(h1,h2,h3,p) {
	color: #fff !important;
}

/* OFD CONFIRMED FIX — white main page headings against black background. */
body:has(.ofd-news-editable) .ofd-news-editable .ofd-news-heading > .wp-block-group__inner-container > h2,
body:has(.ofd-history-editable) .ofd-history-editable .ofd-history-heading > .wp-block-group__inner-container > h2,
body:has(.ofd-apparatus-editable) .ofd-apparatus-editable .ofd-apparatus-page-title > .wp-block-group__inner-container > h2,
body:has(.ofd-apparel-editable) .ofd-apparel-editable .ofd-apparel-page-title > .wp-block-group__inner-container > h2,
body:has(.ofd-contact-editable) .ofd-contact-editable .ofd-contact-page-title > .wp-block-group__inner-container > h2,
body:has(.ofd-station-editable) .ofd-station-editable .ofd-station-heading > .wp-block-group__inner-container > h2 {
	color: #fff !important;
}

/* HOMEPAGE COVER POSITION — use the existing confirmed Gutenberg Cover structure.
   The desktop hero's inner content area is 1050px centered by earlier CSS.
   Shift heading/paragraph via margin (not font size); keep buttons' X position.
   The earlier transform experiment is removed from this version. */
@media (min-width: 651px) {
	body:has(.ofd-home-editable) .wp-block-cover.ofd-home-hero > .wp-block-cover__inner-container > h2.wp-block-heading,
							  body:has(.ofd-home-editable) .wp-block-cover.ofd-home-hero > .wp-block-cover__inner-container > p.wp-block-paragraph {
		margin-left: -140px !important;
		transform: none !important;
		position: relative !important;
		top: 24px !important;
	}
	
	body:has(.ofd-home-editable) .wp-block-cover.ofd-home-hero > .wp-block-cover__inner-container > .wp-block-buttons.ofd-home-hero-buttons {
		margin-top: 0 !important;
		transform: none !important;
		position: relative !important;
		top: 50px !important;
	}
}

/* DONATION OPTIONS — five-column Naming Rights table only.
   Give the Donate column usable space without changing the four-column
   Donation Levels table or any other page. Horizontal scrolling on
   smaller screens avoids squeezing the labels and images. */
@media (min-width: 651px) {
	body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-table table:has(tr > :nth-child(5)) {
		width: 100% !important;
		min-width: 930px !important;
		table-layout: fixed !important;
	}
	
	body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-table table:has(tr > :nth-child(5)) tr > :nth-child(1) {
		width: 76px !important;
	}
	
	body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-table table:has(tr > :nth-child(5)) tr > :nth-child(2) {
		width: 26% !important;
	}
	
	body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-table table:has(tr > :nth-child(5)) tr > :nth-child(3) {
		width: 17% !important;
	}
	
	body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-table table:has(tr > :nth-child(5)) tr > :nth-child(5) {
		width: 160px !important;
		min-width: 160px !important;
		text-align: center !important;
	}
}

body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-table:has(tr > :nth-child(5)) {
	width: 100% !important;
	max-width: none !important;
	overflow-x: auto !important;
}

@media (max-width: 650px) {
	body:has(.ofd-donation-page) .ofd-donation-page .ofd-donation-table table:has(tr > :nth-child(5)) {
		min-width: 880px !important;
		table-layout: auto !important;
	}
}

/* Donation Options — PayPal buttons in fifth column */
body:has(.ofd-donation-page) .ofd-donation-table td:nth-child(5) a {
	display: inline-block !important;
	background: #ffc439 !important;
	color: #003087 !important;
	font: bold 13px Arial, sans-serif !important;
	padding: 9px 12px !important;
	border-radius: 20px !important;
	text-align: center !important;
	text-decoration: none !important;
	white-space: nowrap !important;
}

/* CONTACT V43 COMPACT — Contact / Join Us top two panels only.
   Keeps the native WordPress Form, existing column widths, and other pages intact. */
body:has(.ofd-contact-editable) .ofd-contact-top {
	gap: 16px !important;
	margin-bottom: 14px !important;
}

body:has(.ofd-contact-editable) .ofd-contact-top .ofd-contact-card {
	padding: 16px 20px !important;
}

body:has(.ofd-contact-editable) .ofd-contact-top .ofd-contact-card h3 {
	margin: 0 0 8px !important;
}

body:has(.ofd-contact-editable) .ofd-contact-top .ofd-contact-card p {
	margin: 7px 0 10px !important;
	line-height: 1.37 !important;
}

/* Jetpack/WordPress Form: reduce vertical field spacing, not field widths. */
body:has(.ofd-contact-editable) .ofd-contact-top :is(.wp-block-jetpack-contact-form, .contact-form) {
	margin: 3px 0 0 !important;
}

body:has(.ofd-contact-editable) .ofd-contact-top :is(.wp-block-jetpack-contact-form, .contact-form) :is(.wp-block-jetpack-field-name, .wp-block-jetpack-field-email, .wp-block-jetpack-field-textarea, .wp-block-jetpack-field-telephone, .wp-block-jetpack-field-url, .wp-block-jetpack-field-text, .grunion-field-wrap) {
	margin-top: 0 !important;
	margin-bottom: 8px !important;
}

body:has(.ofd-contact-editable) .ofd-contact-top :is(.wp-block-jetpack-contact-form, .contact-form) label {
	display: block;
	margin: 0 0 3px !important;
	line-height: 1.3 !important;
}

body:has(.ofd-contact-editable) .ofd-contact-top :is(.wp-block-jetpack-contact-form, .contact-form) :is(input[type="text"],input[type="email"],input[type="tel"]) {
	min-height: 0 !important;
	padding: 7px 9px !important;
	line-height: 1.4 !important;
}

body:has(.ofd-contact-editable) .ofd-contact-top :is(.wp-block-jetpack-contact-form, .contact-form) textarea {
	height: 76px !important;
	min-height: 76px !important;
	padding: 7px 9px !important;
	line-height: 1.4 !important;
	resize: vertical !important;
}

body:has(.ofd-contact-editable) .ofd-contact-top :is(.wp-block-jetpack-contact-form, .contact-form) :is(.wp-block-button, .wp-block-jetpack-button, .wp-block-jetpack-field-submit) {
	margin-top: 7px !important;
	margin-bottom: 0 !important;
}

body:has(.ofd-contact-editable) .ofd-contact-top :is(.wp-block-jetpack-contact-form, .contact-form) :is(button[type="submit"],input[type="submit"],.wp-block-button__link) {
	padding: 10px 15px !important;
	border-radius: 3px !important;
	background: #a00018 !important;
	color: #fff !important;
	font: 700 12px/1.4 Arial, sans-serif !important;
}

@media (max-width: 760px) {
	body:has(.ofd-contact-editable) .ofd-contact-top .ofd-contact-card {
		padding: 16px !important;
	}
}

/* CONTACT V43 — tighter type and form sizing, October 10.
   Scoped to the two top contact panels only. Keeps the page heading,
   volunteer section, other pages and working form behavior unchanged. */
body:has(.ofd-contact-editable) .ofd-contact-top .ofd-contact-card {
	padding: 12px 18px !important;
}

body:has(.ofd-contact-editable) .ofd-contact-top .ofd-contact-card h3 {
	font: 700 21px/1.2 Georgia, serif !important;
	margin: 0 0 6px !important;
}

body:has(.ofd-contact-editable) .ofd-contact-top .ofd-contact-card p,
body:has(.ofd-contact-editable) .ofd-contact-top .ofd-contact-card li {
	font: 13px/1.35 Arial, sans-serif !important;
	margin: 5px 0 8px !important;
}

body:has(.ofd-contact-editable) .ofd-contact-top :is(.wp-block-jetpack-contact-form, .contact-form) {
	margin: 0 !important;
	font-size: 13px !important;
}

body:has(.ofd-contact-editable) .ofd-contact-top :is(.wp-block-jetpack-contact-form, .contact-form) :is(.wp-block-jetpack-field-name, .wp-block-jetpack-field-email, .wp-block-jetpack-field-textarea, .wp-block-jetpack-field-telephone, .wp-block-jetpack-field-url, .wp-block-jetpack-field-text, .grunion-field-wrap) {
	margin: 0 0 5px !important;
}

body:has(.ofd-contact-editable) .ofd-contact-top :is(.wp-block-jetpack-contact-form, .contact-form) label {
	font: 700 13px/1.25 Arial, sans-serif !important;
	margin: 0 0 2px !important;
}

body:has(.ofd-contact-editable) .ofd-contact-top :is(.wp-block-jetpack-contact-form, .contact-form) :is(input[type="text"], input[type="email"], input[type="tel"]) {
	font: 13px/1.3 Arial, sans-serif !important;
	min-height: 0 !important;
	height: 34px !important;
	padding: 5px 8px !important;
}

body:has(.ofd-contact-editable) .ofd-contact-top :is(.wp-block-jetpack-contact-form, .contact-form) textarea {
	font: 13px/1.35 Arial, sans-serif !important;
	height: 62px !important;
	min-height: 62px !important;
	padding: 5px 8px !important;
	resize: vertical !important;
}

body:has(.ofd-contact-editable) .ofd-contact-top :is(.wp-block-jetpack-contact-form, .contact-form) :is(button[type="submit"], input[type="submit"], .wp-block-button__link) {
	font: 700 11px/1.35 Arial, sans-serif !important;
	padding: 8px 12px !important;
}

/* CONTACT ALIGNMENT V3 — only the Contact / Join Us preview.
   The WordPress blocks remain editable; this corrects inherited theme constraints. */
/* Left gray panel: center department heading and details, slightly larger body copy. */
body:has(.ofd-contact-editable) .ofd-contact-top > .wp-block-column:first-child .ofd-contact-card,
body:has(.ofd-contact-editable) .ofd-contact-top > .wp-block-column:first-child .ofd-contact-card > .wp-block-group__inner-container {
	text-align: center !important;
}

body:has(.ofd-contact-editable) .ofd-contact-top > .wp-block-column:first-child .ofd-contact-card :is(h2,h3,p,li),
body:has(.ofd-contact-editable) .ofd-contact-top > .wp-block-column:first-child .ofd-contact-card p * {
	text-align: center !important;
}

body:has(.ofd-contact-editable) .ofd-contact-top > .wp-block-column:first-child .ofd-contact-card :is(p,li) {
	font-size: 14px !important;
	line-height: 1.45 !important;
}

/* Volunteer heading and introduction span entire panel, above two membership columns. */
body:has(.ofd-contact-editable) .ofd-contact-volunteer,
body:has(.ofd-contact-editable) .ofd-contact-volunteer > .wp-block-group__inner-container {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	box-sizing: border-box !important;
	text-align: center !important;
}

body:has(.ofd-contact-editable) .ofd-contact-volunteer :is(h2,h3,p) {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	margin-left: auto !important;
	margin-right: auto !important;
	text-align: center !important;
}

/* CONTACT BALANCE V4 — fuller department details and smaller message form.
   Only the Contact / Join Us two top panels are affected.
   The volunteer section, WordPress form submission settings, and other pages are unchanged. */
body:has(.ofd-contact-editable) .ofd-contact-top > .wp-block-column:first-child .ofd-contact-card :is(h2,h3) {
	font: 700 26px/1.22 Georgia, serif !important;
	text-align: center !important;
	margin: 0 0 14px !important;
}

body:has(.ofd-contact-editable) .ofd-contact-top > .wp-block-column:first-child .ofd-contact-card :is(p,li) {
	font: 400 17px/1.48 Arial, sans-serif !important;
	text-align: center !important;
	margin: 8px 0 12px !important;
}

body:has(.ofd-contact-editable) .ofd-contact-top > .wp-block-column:first-child .ofd-contact-card :is(p,li) strong,
body:has(.ofd-contact-editable) .ofd-contact-top > .wp-block-column:first-child .ofd-contact-card :is(p,li) b {
	font-weight: 700 !important;
}

/* Form remains accessible but takes less vertical room. */
body:has(.ofd-contact-editable) .ofd-contact-top :is(.wp-block-jetpack-contact-form, .contact-form) :is(.wp-block-jetpack-field-name, .wp-block-jetpack-field-email, .wp-block-jetpack-field-textarea, .wp-block-jetpack-field-telephone, .wp-block-jetpack-field-url, .wp-block-jetpack-field-text, .grunion-field-wrap) {
	margin: 0 0 3px !important;
}

body:has(.ofd-contact-editable) .ofd-contact-top :is(.wp-block-jetpack-contact-form, .contact-form) label {
	margin: 0 0 1px !important;
}

body:has(.ofd-contact-editable) .ofd-contact-top :is(.wp-block-jetpack-contact-form, .contact-form) :is(input[type="text"],input[type="email"],input[type="tel"]) {
	height: 32px !important;
	padding: 4px 8px !important;
}

body:has(.ofd-contact-editable) .ofd-contact-top :is(.wp-block-jetpack-contact-form, .contact-form) textarea {
	height: 54px !important;
	min-height: 54px !important;
	padding: 5px 8px !important;
}

body:has(.ofd-contact-editable) .ofd-contact-top :is(.wp-block-jetpack-contact-form, .contact-form) :is(.wp-block-button, .wp-block-jetpack-button, .wp-block-jetpack-field-submit) {
	margin-top: 4px !important;
}

/* Donation Options Preview ONLY — hide old theme navigation */
body.page-id-3001 .main-navigation,
body.page-id-3001 #site-navigation {
	display: none !important;
}

/* OFD TOP ALIGNMENT V5 — Capital Campaign and Donation Options previews ONLY.
   Remove Alves outer top spacing; preserve the internal page-card padding,
   the shared header, the tables, and all other preview pages. */
body.page-id-2844 :is(.site-content, .content-area, .site-main, article, .entry-content),
body.page-id-3001 :is(.site-content, .content-area, .site-main, article, .entry-content) {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
/* Clear spacing applied by the theme's article/content wrapper before the synced header. */
body.page-id-2844 .entry-content > :first-child,
body.page-id-3001 .entry-content > :first-child {
    margin-top: 0 !important;
}

/* TOP GAP V6 — move only these two preview page contents upward.
   V5 removed inner padding, but Alves still left an outer gap before the
   shared header. These offsets match the actual remaining screenshot gaps.
   Do not apply this to other preview pages or to the inner donation cards. */
body.page-id-2844 .site-main .entry-content {
    position: relative !important;
    top: -28px !important;
}
body.page-id-3001 .site-main .entry-content {
    position: relative !important;
    top: -54px !important;
}

/* NEWS QUERY LOOP V9 — layout only. All visual styling stays in the WordPress editor.
   Equal-height cards per row; edit colors, borders, padding, fonts and images in Gutenberg. */
body.page-id-2890 .ofd-news-editable .wp-block-query .wp-block-post-template {
    align-items: stretch !important;
}
body.page-id-2890 .ofd-news-editable .wp-block-query .wp-block-post-template > li.wp-block-post {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
}
body.page-id-2890 .ofd-news-editable .wp-block-query .wp-block-post-template > li.wp-block-post > .ofd-news-card {
    flex: 1 1 auto !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

/* NEWS QUERY LOOP V10 — spacing between article cards ONLY.
   Gutenberg retains control of card padding, font, color, border and images. */
body.page-id-2890 .ofd-news-editable .wp-block-query .wp-block-post-template {
    row-gap: 10px !important;
    column-gap: 12px !important;
}
body.page-id-2890 .ofd-news-editable .wp-block-query .wp-block-post-template > li.wp-block-post {
    margin-block: 0 !important;
}


/* NEWS QUERY LOOP V11 — positioning only: Read More row at the bottom.
   Gutenberg still owns every visual setting (colors, type, borders, padding).
   Works with a Stack card and nested Row/Stack containing Post Read More. */
body.page-id-2890 .ofd-news-editable .wp-block-query .wp-block-post-template > li.wp-block-post > .ofd-news-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}
/* Support older WordPress themes that create an inner Group wrapper. */
body.page-id-2890 .ofd-news-editable .wp-block-query .ofd-news-card > .wp-block-group__inner-container {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    width: 100% !important;
}
body.page-id-2890 .ofd-news-editable .wp-block-query .ofd-news-card > .wp-block-group:last-child,
body.page-id-2890 .ofd-news-editable .wp-block-query .ofd-news-card > .wp-block-group__inner-container > .wp-block-group:last-child {
    margin-top: auto !important;
}
