/*
Theme Name: Pressure Washing Marketing Pros Child
Theme URI: https://pwmarketingpros.com/
Description: Home Bright Exterior Lighting child theme for Hello Elementor.
Template: hello-elementor
Author: PW Marketing Pros
Author URI: https://pwmarketingpros.com/
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 4.0.0
Text Domain: pw-marketing-pros-child
*/

/*
 * Hello Elementor's reset.css / theme.css are disabled (see functions.php) so
 * they don't override Tailwind. These rules give non-Elementor pages (posts,
 * archives, search, 404) readable defaults. Everything is scoped to Hello's
 * content wrappers so the front page and Elementor layouts are untouched.
 */

body:not([class*=elementor-page-]) .site-main {
	width: 100%;
	max-width: 1140px;
	margin-inline: auto;
	padding: 3rem 1rem;
}

.page-header .entry-title {
	font-family: "Roboto", sans-serif;
	font-weight: 900;
	text-transform: uppercase;
	color: #02232b;
	margin-bottom: 1.5rem;
}

body:not([class*=elementor-page-]) .page-content {
	line-height: 1.75;
}

body:not([class*=elementor-page-]) .page-content > * + * {
	margin-top: 1rem;
}

body:not([class*=elementor-page-]) .page-content h2,
body:not([class*=elementor-page-]) .page-content h3,
body:not([class*=elementor-page-]) .page-content h4 {
	font-weight: 700;
	color: #02232b;
	margin-top: 2rem;
	line-height: 1.2;
}

body:not([class*=elementor-page-]) .page-content a {
	color: #145b68;
	text-decoration: underline;
}

body:not([class*=elementor-page-]) .page-content ul {
	list-style: disc;
	padding-left: 1.5rem;
}

body:not([class*=elementor-page-]) .page-content ol {
	list-style: decimal;
	padding-left: 1.5rem;
}

body:not([class*=elementor-page-]) .page-content blockquote {
	border-left: 4px solid #ffc00f;
	padding-left: 1rem;
	font-style: italic;
}

.pagination {
	display: flex;
	justify-content: space-between;
	margin: 20px auto;
}

/* WordPress core alignment / caption classes */
.alignleft {
	float: left;
	margin-right: 1rem;
}

.alignright {
	float: right;
	margin-left: 1rem;
}

.aligncenter {
	clear: both;
	display: block;
	margin-inline: auto;
}

.wp-caption {
	max-width: 100%;
	margin-bottom: 1.25rem;
}

.wp-caption-text {
	font-size: 0.8125rem;
	margin: 0;
}

/* Accessibility */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #eee;
	clip: auto !important;
	clip-path: none;
	color: #333;
	display: block;
	font-size: 1rem;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 12px 24px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Spacing between paragraphs in ACF WYSIWYG output on the front page */
.hb-content > * + * {
	margin-top: 1.5em;
}

/*
 * Star-bullet lists written in a WYSIWYG field (Res & Comm, Lighting Plan,
 * Proudly Serving). A paragraph in the same field is the teal list heading.
 */
.hb-bullets p {
	font-weight: 700;
	color: #145b68;
	text-decoration: underline;
}

.hb-bullets ul {
	font-family: "Teko", sans-serif;
	text-transform: uppercase;
	margin-top: 0.5rem;
}

.hb-bullets li {
	display: flex;
	gap: 0.5rem;
	font-size: 1.25rem;
	line-height: 1.75rem;
	margin: 1rem 0;
}

.hb-bullets li::before {
	content: "";
	flex: 0 0 1.25rem;
	height: 1.25rem;
	margin-top: 0.25rem;
	background: url("assets/images/list-bullet.svg") no-repeat center / contain;
}

.hb-bullets--lg li {
	font-size: 1.25rem;
}

@media (min-width: 1024px) {
	.hb-bullets--lg li {
		font-size: 1.5rem;
		line-height: 2rem;
	}
}

@media (min-width: 1280px) {
	.hb-bullets li {
		font-size: 1.5rem;
		line-height: 2rem;
	}

	.hb-bullets--lg li {
		font-size: 1.875rem;
		line-height: 2.25rem;
	}
}

/* Bulleted / numbered lists typed into WYSIWYG fields */
.hb-content ul {
	list-style: disc;
	padding-left: 1.5rem;
}

.hb-content ol {
	list-style: decimal;
	padding-left: 1.5rem;
}

/* Closed mobile drawer: hidden from keyboard/screen readers after it slides out. */
#drawer-navigation {
	transition: transform 0.3s ease, visibility 0s linear 0s;
}

#drawer-navigation.-translate-x-full {
	visibility: hidden;
	transition: transform 0.3s ease, visibility 0s linear 0.3s;
}
