/*
Theme Name: Power Wash and Seal First Pass
Description: The Power Wash and Seal site theme for the block editor, Waukesha service pages and project galleries.
Version: 2.0.2
Author: Minnesota Design Studio
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: power-wash-and-seal
*/
:root {
	--blue: #1834c4;
	--ink: #1b232a;
	--heading: Goldman, sans-serif;
	--body: Lato, sans-serif;
	--nav: "Josefin Sans", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: white; color: #858585; font: 17px/30px var(--body); }
img { max-width: 100%; height: auto; vertical-align: middle; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5rem; color: var(--ink); font-family: var(--heading); line-height: 1.2; }
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
p, figure { margin: 0 0 1rem; }
a { color: var(--blue); text-decoration: none; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid #1560c8; outline-offset: 3px; }
.skip-link, .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip-link:focus { clip-path: none; width: auto; height: auto; padding: .5em 1em; top: .5em; left: .5em; z-index: 100001; background: white; }
:root { --pws-container: 100%; }
.container { width: 100%; max-width: var(--pws-container); padding-inline: 15px; margin-inline: auto; }
@media (min-width: 576px) { :root { --pws-container: 540px; } }
@media (min-width: 768px) { :root { --pws-container: 720px; } }
@media (min-width: 992px) { :root { --pws-container: 960px; } }
@media (min-width: 1200px) {
	:root { --pws-container: min(1500px, calc(100% - 4vw)); }
	.service_page_css .entry-content :where(p, ul:not([class]), ol:not([class])) { max-width: 76ch; }
}

.site-header { position: sticky; top: 0; z-index: 1000; background: white; }
.site-header.is-scrolled { box-shadow: 0 3px 16px #0002; }
.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.contact-bar { padding: 5px 0; background: #edf0ff; }
.contact-row { display: flex; align-items: center; gap: 20px; }
.contact-row a { display: inline-flex; align-items: center; gap: 7px; color: #707070; font: 500 14px/25px var(--nav); }
.contact-row .social-link { margin-left: auto; }
.site-header.is-scrolled .contact-bar { display: none; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; }
.brand { flex: 0 1 262px; }
.brand img { display: block; width: 262px; height: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.primary-menu { display: flex; gap: clamp(12px, 1.45vw, 24px); }
.primary-menu li { position: relative; }
.primary-menu a { display: block; color: #252528; font: 700 16px/1.35 var(--nav); text-transform: uppercase; }
.primary-menu a:hover, .primary-menu a:focus-visible, .primary-menu .current-menu-item > a { color: var(--blue); }
.primary-menu .sub-menu { display: none; }
.nav-toggle, .submenu-toggle, .fallback-nav { display: none; }
@media (min-width: 993px) {
	.primary-menu > li > a { padding: 14px 0; }
	.primary-menu > li > a:hover { text-decoration: underline; text-underline-offset: 5px; }
	.primary-menu .sub-menu { position: absolute; inset: 100% auto auto 0; width: 225px; padding: 10px 0; background: white; box-shadow: 0 8px 14px #0003; }
	.primary-menu .sub-menu .sub-menu { top: 0; left: 100%; }
	.primary-menu .sub-menu a { padding: 8px 14px; font: 400 14px/1.4 var(--body); }
	.primary-menu li:is(:hover, :focus-within) > .sub-menu { display: block; }
}
@media (min-width: 993px) and (max-width: 1199px) {
	.brand { flex-basis: 205px; }
	.primary-menu { gap: 14px; }
	.primary-menu a { font-size: 14px; }
}
@media (max-width: 992px) {
	.contact-bar { display: none; }
	.header-row { justify-content: space-between; }
	.brand { flex: 0 1 min(262px, 64vw); }
	.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; color: white; border: none; border-radius: 8px; background: var(--ink); cursor: pointer; }
	.nav-toggle-icon, .nav-toggle-icon::before, .nav-toggle-icon::after { display: block; width: 24px; height: 3px; border-radius: 3px; background: currentColor; }
	.nav-toggle-icon { position: relative; }
	.nav-toggle-icon::before, .nav-toggle-icon::after { content: ""; position: absolute; left: 0; }
	.nav-toggle-icon::before { top: -8px; }
	.nav-toggle-icon::after { top: 8px; }
	.nav-toggle[aria-expanded="true"] .nav-toggle-icon { background: transparent; }
	.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before { top: 0; transform: rotate(45deg); }
	.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after { top: 0; transform: rotate(-45deg); }
	.nav-open { overflow: hidden; }
	.fallback-nav { display: block; }
	.fallback-nav ul { list-style: none; padding-left: 16px; }
	.fallback-nav .primary-menu { display: block; position: absolute; inset: 100% 0 auto; background: white; padding: 16px; max-height: 65vh; overflow: auto; }
	.fallback-nav .sub-menu { display: block; }
}

.pws-icon { display: inline-block; width: 1em; height: 1em; flex: none; background: currentColor; mask: var(--symbol) center / contain no-repeat; }
.icon-location { --symbol: url("assets/icons/location.svg"); }
.icon-email { --symbol: url("assets/icons/email.svg"); }
.icon-phone { --symbol: url("assets/icons/phone.svg"); }
.icon-facebook { --symbol: url("assets/icons/facebook.svg"); }
.social-link, .contact-row .social-link { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; color: white; background: var(--blue); }
.contact-row .social-link { width: 25px; height: 25px; }
.service_sidebar_social .social-link { background: var(--ink); }
/* The two PDF links in the existing builder content use the former font icon class. */
.special_button .fa-file-pdf-o { display: inline-block; vertical-align: -.1em; width: 1.25em; height: 1em; padding: 0; margin-right: .3em; background: currentColor; mask: url("assets/icons/pdf.svg") left / contain no-repeat; }
.special_button .fa-file-pdf-o::before { content: none; }
.studio-credit a { position: relative; isolation: isolate; display: inline-flex; gap: .65em; align-items: center; padding: .58em 1.15em; overflow: hidden; border: 1px solid #37536d; border-radius: 999px; background: #112438; color: #fff; font: 700 .87rem/1.3 var(--body); letter-spacing: .02em; transition: box-shadow .22s, transform .22s, background-color .22s; }
.studio-credit a::before { content: ''; pointer-events: none; position: absolute; z-index: -1; inset: -45% auto -45% -65%; width: 46%; background: linear-gradient(90deg, transparent,#98efffb8,transparent); transform: skewX(-25deg); }
.studio-credit a:is(:hover,:focus-visible) { background: #10445b; box-shadow: 0 0 0 2px #66d8ef, 0 3px 17px #00799b8c; transform: translateY(-2px); }
.studio-credit a:is(:hover,:focus-visible)::before { animation: studio-shine .65s ease-out both; }
.studio-arrow { color: #9de7ff; transition: transform .22s; }
.studio-credit a:is(:hover,:focus-visible) .studio-arrow { transform: translate(2px,-2px); }
@keyframes studio-shine { to { left: 125%; } }
.service-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2fr); margin-inline: -15px; }
.service-story { min-width: 0; padding-inline: 15px; }
.entry-content { min-width: 0; }
.entry-content :where(ul,ol) { padding-left: 1.2em; }
.entry-content .wpb_wrapper .wpb_wrapper > :last-child { margin-bottom: 0; }
.alignleft { float: left; margin: 0 1rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1rem; }
.aligncenter { display: block; margin-inline: auto; }
.home-content { overflow-x: clip; }
.posts-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 32px; }
.posts-grid img { width: 100%; margin-bottom: 16px; }
.posts-grid h2 { font-size: 25px; }
.post-meta { font-size: 14px; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-block: 2rem; }
/* Native block layouts follow the existing theme containers and gutters. */
.pws-block-section .container { margin-inline: auto; }
.pws-block-row { margin-block: 0; gap: 30px; }
.pws-block-row > .wp-block-column { min-width: 0; }
.pws-block-section .wp-block-image { margin-block: 0; }
.pws-block-section .wp-block-image img { height: auto; }
.pws-block-section .top_box_3x3_box .wp-block-image { flex: 0 0 auto; }
.pws-block-section .top_box_3x3_box img { max-width: 83px; }
.pws-block-section .wp-block-buttons { margin: 1rem 0 0; }
.pws-block-section .text-center > .wp-block-buttons { justify-content: center; }
.pws-block-section .pws-services-row { margin: 0 15px; gap: 15px; }
.pws-services-row .services_box .wp-block-image img { width: 100%; }
.pws-services-row .services_box_content .wp-block-buttons { justify-content: center; margin: 0; }
.pws-block-section .wp-block-button__link { font: 400 20px/1.4 var(--heading); }
.pws-about_btn .wp-block-button__link, .pws-special_button .wp-block-button__link { padding: 10px 30px; border: 2px solid transparent; border-radius: 50px; background: var(--ink); color: white; }
.pws-about_btn .wp-block-button__link:hover, .pws-special_button .wp-block-button__link { background: var(--blue); }
.pws-special_button .wp-block-button__link:hover { background: white; color: var(--blue); }
.pws-special_button .wp-block-button__link::before { display: inline-block; content: ""; width: 1em; height: 1em; margin-right: .4em; vertical-align: -.1em; background: currentColor; mask: url("assets/icons/pdf.svg") center / contain no-repeat; }
.pws-services_btn .wp-block-button__link { padding: 0; background: white; color: var(--ink); border-radius: 0; }
.pws-services_btn .wp-block-button__link:hover { color: var(--blue); }
.pws-block-section .quick_address_text h5 { margin-block-start: 0; }
.pws-block-section .quick_address_text h5 a { color: inherit; }
@media (min-width: 782px) and (max-width: 1100px) {
	.pws-block-section .pws-services-row { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 781px) {
	.pws-block-row { gap: 18px; }
	.pws-block-section .pws-services-row { margin-inline: 15px; }
}
.entry-content .text-center { text-align: center; }
.entry-content .p-3 { padding: 1rem; }
.entry-content .mt-4 { margin-top: 1.5rem; }
.entry-content .mr-3 { margin-right: 1rem; }
.quick_address a { text-decoration: none; }
a.ug-tab { margin-bottom: 10px; }
.nf-form-fields-required { display: flex; }
.nf-error-msg, .ninja-forms-req-symbol { color: #e80000 !important; padding: 3px !important; }
.top_box_3x3_box_inner > h4 { display: none; }
.top_box_3x3_box { display: flex; align-items: center; gap: 15px; min-height: 115px; }
.top_box_3x3_box_inner { margin: 0; padding: 0; }
@media (max-width: 991px) {
	.posts-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.service-layout { display: flex; flex-direction: column-reverse; }
	.about_outer, .form_outer { text-align: center; }
	.about_outer h2::after, .form_outer h2::after { margin-inline: auto; }
	.about_outer .mr-3 { margin-right: 0; }
	.quick_address { margin-left: 20px; }
	.custom_w { max-width: none; }
}
@media (max-width: 767px) {
	.bradcam_area { padding: 150px 0 55px; }
	.bradcam_area h1 { font-size: 29px; line-height: 30px; }
	.posts-grid { grid-template-columns: 1fr; }
	.top_box_3x3_box { min-height: 95px; }
	.services_box_content { min-height: 0; height: auto; }
	.home-content :is(.about_outer,.services_outer,.gallery_outer,.testimonial_outer,.form_outer) h2 { font-size: clamp(30px,8vw,50px); }
}

/* The logo can extend over the photo without making the header or hero taller. */
:root { --pws-brand-size: 224px; --pws-brand-slot: 100px; --pws-compact-brand: 64px; --pws-header-pad: 8px; --pws-contact-height: 35px; --pws-open-header: calc(var(--pws-brand-slot) + 2 * var(--pws-header-pad) + var(--pws-contact-height)); }
.site-header .header-row { padding-block: var(--pws-header-pad); }
.site-header .brand { position: relative; display: block; flex: none; align-self: flex-start; width: var(--pws-brand-size); height: var(--pws-brand-size); margin-bottom: calc(var(--pws-brand-slot) - var(--pws-brand-size)); }
.site-header .brand-logo { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 3px 4px #081a2940); }
.site-header.menu-is-open .brand { width: var(--pws-brand-slot); height: var(--pws-brand-slot); margin-bottom: 0; }
.site-header.is-scrolled .header-row { padding-block: 4px; }
.site-header.is-scrolled .brand { width: var(--pws-compact-brand); height: var(--pws-compact-brand); margin-bottom: 0; }
.site-header.is-scrolled + .header-reserve { height: max(0px, calc(var(--pws-open-header) - var(--pws-compact-brand) - 8px)); }
@media (max-width: 1199px) { :root { --pws-brand-size: 194px; } }
@media (max-width: 992px) { :root { --pws-brand-size: 174px; --pws-brand-slot: 86px; --pws-compact-brand: 56px; --pws-header-pad: 6px; --pws-contact-height: 0px; } }
@media (max-width: 767px) { :root { --pws-brand-size: 158px; } }
@media (max-width: 412px) { :root { --pws-brand-size: 146px; --pws-brand-slot: 77px; } }
@media (max-height: 500px) and (orientation: landscape) { :root { --pws-brand-slot: 68px; --pws-brand-size: 86px; } }
@media (prefers-reduced-motion: reduce) {
	.studio-credit a, .studio-arrow { transition: none; }
	.studio-credit a:is(:hover,:focus-visible), .studio-credit a:is(:hover,:focus-visible) .studio-arrow { transform: none; }
	.studio-credit a:is(:hover,:focus-visible)::before { animation: none; }
}

.pws-footer { background: #091f2c; color: #d9e6eb; font: 400 16px/1.5 var(--body); }
.pws-footer p, .pws-footer h2 { margin: 0; }
.pws-footer a:focus-visible { outline: 3px solid #70ddf5; outline-offset: 3px; }
.pws-footer-intro { background: linear-gradient(110deg,#e3eef3,#f5fafd 45%,#fff); color: #0a293b; border-top: 1px solid #c5d6dd; }
.pws-footer-mast { display: grid; grid-template-columns: 320px minmax(0,1fr); gap: clamp(38px,6vw,96px); align-items: center; padding-block: clamp(28px,4vw,60px); }
.pws-footer .footer-brand { display: block; width: 100%; }
.pws-footer .footer-logo { display: block; width: 100%; height: auto; }
.pws-footer .pws-footer-place { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; color: #006589; text-transform: uppercase; font: 700 12px/1.5 var(--body); letter-spacing: .16em; }
.pws-footer-place::before { content: ""; width: 28px; height: 3px; background: #0086aa; }
.pws-footer-story h2 { font: 700 clamp(36px,4.2vw,60px)/1.04 var(--heading); color: #0a293b; letter-spacing: -.045em; }
.pws-footer-story h2 span { display: block; color: #006889; }
.pws-footer-story h2 + p { max-width: 43ch; margin-block: 14px 20px; font-size: 17px; color: #375365; }
.pws-footer-estimate { display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 11px 19px 13px; min-height: 46px; border-radius: 5px; background: #0a354e; box-shadow: inset 0 -3px #0084a9; color: white; font-weight: 700; }
.pws-footer-estimate span { color: #a3e9f7; font-size: 20px; line-height: 1; }
.pws-footer-estimate:is(:hover,:focus-visible) { background: #104763; }
.pws-footer .pws-footer-estimate:focus-visible, .pws-footer .footer-brand:focus-visible { outline-color: #006889; }
.pws-footer-directory { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(0,1fr) minmax(0,.75fr); gap: clamp(24px,5vw,78px); padding-block: clamp(32px,4vw,56px); }
.pws-footer-directory h2 { color: white; font: 700 19px/1.3 var(--body); margin-bottom: 12px; }
.pws-footer-directory ul { list-style: none; padding: 0; margin: 0; }
.pws-footer-directory a { display: inline-flex; align-items: center; min-height: 32px; color: inherit; }
.pws-footer-directory a:is(:hover,:focus-visible) { color: #96e6f4; text-decoration: underline; text-underline-offset: .2em; }
.pws-footer .pws-footer-phone { color: white; font: 700 clamp(25px,3vw,38px)/1.2 var(--body); letter-spacing: -.035em; margin-bottom: 8px; }
.pws-footer-contact address { display: grid; justify-items: start; font-style: normal; }
.pws-footer-contact address a, .pws-footer-social { gap: 9px; }
.pws-footer-contact address span:not(.pws-icon) { overflow-wrap: anywhere; }
.pws-footer-contact .pws-icon { width: 16px; color: #8bd5e9; }
.pws-footer-baseline { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 24px; border-top: 1px solid #395260; padding-block: 16px; font-size: 14px; color: #c5d7df; }
@media (max-width: 991px) {
	.pws-footer-mast { grid-template-columns: 280px minmax(0,1fr); gap: 32px; }
	.pws-footer-directory { grid-template-columns: 1.25fr 1fr .7fr; gap: 22px; }
}
@media (max-width: 767px) {
	.pws-footer-mast { grid-template-columns: 240px minmax(0,1fr); gap: 22px; }
	.pws-footer-directory { grid-template-columns: 1.3fr 1fr; }
	.pws-footer-contact { grid-column: 1 / -1; padding-bottom: 18px; border-bottom: 1px solid #395260; }
	.pws-footer-directory a { min-height: 40px; }
}
@media (max-width: 575px) {
	.pws-footer-mast { grid-template-columns: minmax(0,1fr); gap: 20px; padding-block: 30px; text-align: center; }
	.pws-footer .footer-brand { max-width: 304px; margin-inline: auto; }
	.pws-footer .pws-footer-place { justify-content: center; }
	.pws-footer-place::before { display: none; }
	.pws-footer-story h2 + p { margin-inline: auto; }
	.pws-footer-directory { gap: 22px 18px; }
	.pws-footer-baseline { flex-direction: column; align-items: flex-start; }
}
.pws-reveal { transition: opacity .8s ease, translate .9s cubic-bezier(.2,.65,.25,1); }
.pws-reveal:not(.pws-revealed) { opacity: 0; translate: 0 26px; }
.pws-reveal:focus-within { opacity: 1; translate: none; }
@keyframes pws-load-up { from { opacity: 0; translate: 0 26px; } to { opacity: 1; translate: none; } }
@media (prefers-reduced-motion:no-preference) { .pws-load-up { animation: pws-load-up .9s cubic-bezier(.2,.65,.25,1) both; } }
@media (max-width:767px) { .pws-reveal:not(.pws-revealed) { translate: 0 16px; } }
@media print, (prefers-reduced-motion:reduce) { .pws-reveal { opacity: 1 !important; translate: none !important; transition: none !important; } .pws-load-up { animation: none !important; } }
