/* === 1. Hide Page Titles Only (not section headings) === */
.page h1.entry-title,
.page .page-title {
	display: none !important;
}

/* === 2. Center All Page Content on Non-Homepage Pages === */
body:not(.home) .site-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 2rem;
	box-sizing: border-box;
}

/* === 3. Keep Entry Content Centered with Max Width === */
body:not(.home) .entry-content {
	max-width: 900px;
	width: 100%;
	box-sizing: border-box;
	text-align: center;
}

/* === 4. Gutenberg Block Column Fix === */
body:not(.home) .wp-block-columns {
	justify-content: center !important;
}

body:not(.home) .wp-block-column {
	margin-left: auto !important;
	margin-right: auto !important;
	float: none !important;
}

/* === 5. Keep Paragraphs Centered and Constrained === */
body:not(.home) .entry-content p {
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

/* === 6. Fix Buttons Alignment === */
body:not(.home) .wp-block-button {
	display: flex;
	justify-content: center;
}

/* === 7. Fix Image Layout in Gutenberg === */
body:not(.home) .entry-content img {
	display: block;
	height: auto;
	width: 100% !important;
	max-width: 100% !important;
	margin-left: auto !important;
	margin-right: auto !important;
	box-sizing: border-box;
}

/* === 8. Set Site and Footer Background White === */
body, html, #page, .site, .site-footer, #colophon {
	background-color: #ffffff !important;
	box-shadow: none !important;
	border: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* === Hide Only Page Titles (H1 or H2) === */
.page h1.entry-title,
.page h2.entry-title,
.page .page-title {
	display: none !important;
}

/* === Left-align all bullet lists inside page content === */
body .entry-content ul {
	text-align: left;
	padding-left: 2em;
/* Adds indentation */
	margin: 0 auto;
/* Keeps the list centered in the column */
	list-style-position: outside;
}

/* Optional: fine-tune list items themselves */
body .entry-content ul li {
	margin-bottom: .5em;
/* Adds spacing between bullets */
}

/* === Reduce Top Space Above Cover Blocks (Gateway theme) === */
.page .wp-block-cover {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

/* === Move Cover Block Contents Up Without Affecting Page Layout === */
.wp-block-cover__inner-container {
	margin-top: -40px !important;
/* Raise content inside the cover block */
}

.wp-block-cover {
	padding-top: 0 !important;
}

/* Bold and center Site Title */
.site-title {
	font-weight: 600 !important;
	text-align: center;
	display: block;
	width: 100%;
}

/* Center Tagline below Title */
.site-description {
	text-align: center;
	display: block;
	width: 100%;
	font-size: 1px rem;
/* Optional: Slightly larger if needed */
}

.site-footer a {
	text-decoration: none;
}

@media (max-width: 768px) {
	.wp-block-button.fix-button-wrap,
															  .wp-block-button.fix-button-wrap .wp-block-button__link {
		display: inline-block !important;
		white-space: nowrap !important;
		min-width: 160px !important;
		max-width: 90% !important;
		text-align: center !important;
		font-size: 1rem !important;
		line-height: 1.2 !important;
		word-break: normal !important;
	}
}

/* Fix buttons breaking into vertical text on mobile */
.wp-block-button__link {
	white-space: nowrap !important;
	text-align: center !important;
}

/* === Reset and clean up all footer widgets === */
.footer-widgets {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	background: none !important;
	margin: 0 auto !important;
	padding: 0 !important;
	width: 100% !important;
}

/* === Make all widget areas equal and centered === */
.footer-widgets .widget-area {
	flex: 1;
	min-height: 1px;
	background: none !important;
	text-align: center;
}

/* === Hide Footer 1 spacer visually without removing it === */
.footer-widgets .widget-area:nth-child(1) .wp-block-spacer {
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	display: none !important;
/* Prevent unwanted center alignment on Service Areas page */
	margin-right: auto !important;
	text-align: left !important;
}

/* Fix any centered sections inside service areas */
.page-id-77 .wp-block-group,
.page-id-77 .wp-block-columns,
.page-id-77 .wp-block-column {
	text-align: left !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	align-items: flex-start !important;
	justify-content: flex-start !important;
}

.header-bg {
	padding-top: 100px;
	padding-bottom: 100px;
	background-size: cover;
	background-position: center;
}

/* Kill the specific black Group block and Spacer inside Footer 1 */
.footer-widgets .widget-area:nth-child(1) {
	display: none !important;
}

/* Keep footer layout clean and centered */
.footer-widgets {
	justify-content: center !important;
	gap: 2rem;
}

.page-id-123 ul {
	text-align: center;
/* Centers the bullet content */
	list-style-position: inside;
/* Keeps bullets visible and aligned */
	padding-left: 0;
/* Removes extra left padding */
}