/*
Theme Name: Servus
Description: Servus Group brand theme for Cleaning, Painting & Coatings and Junk Removal sites. Navy and orange from the Servus brand guide, with ready-made page sections (hero, why Servus, reasons, steps, call to action, contact, FAQ).
Author: Servus Group
Version: 1.5.0
Requires at least: 6.6
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: servus
*/

/* Most styling lives in theme.json. This file holds the few extras it can't express. */

/* Short orange rule under a heading (block style "Orange underline"). */
.is-style-servus-underline::after {
	content: "";
	display: block;
	width: 64px;
	height: 4px;
	margin-top: 0.4em;
	background: var(--wp--preset--color--orange);
}
.has-text-align-center.is-style-servus-underline::after {
	margin-left: auto;
	margin-right: auto;
}

/* Card with an orange bar on top (group block style "Card"). */
.is-style-servus-card {
	background: var(--wp--preset--color--white);
	border-top: 5px solid var(--wp--preset--color--orange);
	box-shadow: 0 2px 14px rgba(10, 72, 117, 0.1);
	height: 100%;
}

/* Big orange step numbers. */
.servus-step-number {
	font-family: var(--wp--preset--font-family--display);
	color: var(--wp--preset--color--orange);
	font-size: 3rem;
	line-height: 1;
	margin: 0;
}

/* Badges row. */
.servus-badge {
	border: 2px solid var(--wp--preset--color--navy);
	border-radius: 999px;
	padding: 0.35em 1.1em;
	margin: 0;
	font-weight: 600;
}

/* Built-in quote form. */
.servus-form label {
	display: block;
	font-weight: 600;
	color: var(--wp--preset--color--navy);
	margin-bottom: 0.25em;
}
.servus-form input,
.servus-form select,
.servus-form textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 0.6em 0.75em;
	border: 1px solid #c4cfd9;
	border-radius: 4px;
	font: inherit;
}
.servus-form input:focus,
.servus-form select:focus,
.servus-form textarea:focus {
	outline: 2px solid var(--wp--preset--color--orange);
	border-color: var(--wp--preset--color--navy);
}
.servus-form button {
	border: 0;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
}
.servus-hp {
	position: absolute;
	left: -9999px;
}
.servus-form-notice {
	padding: 0.8em 1em;
	border-left: 5px solid var(--wp--preset--color--navy);
	background: var(--wp--preset--color--light);
}
.servus-form-notice.is-error {
	border-left-color: #b3261e;
}

/* Keep the header logo crisp and never stretched. */
.servus-logo img {
	height: auto;
	max-width: 100%;
}

.servus-header-phone {
	white-space: nowrap;
	margin: 0;
}
header .wp-block-button__link {
	white-space: nowrap;
}
/* Mid-size screens: hide the header phone (it's in the footer and contact page)
   and let the menu wrap under the logo instead of squeezing the button. */
@media (max-width: 1100px) {
	.servus-header-phone {
		display: none;
	}
	header .alignwide.is-layout-flex {
		flex-wrap: wrap;
	}
}

/* Footer link lists: no bullets. */
footer .wp-block-list {
	list-style: none;
}

/* Blog page: topics box in the banner. */
.servus-topics h2 {
	margin-top: 0;
}
.servus-topic {
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	padding-top: 0.75em;
	gap: 1em;
}
.servus-topic-number {
	font-family: var(--wp--preset--font-family--display);
	color: var(--wp--preset--color--orange);
	font-size: 1.6rem;
	line-height: 1;
	margin: 0;
	min-width: 2ch;
}
.servus-topic p {
	margin: 0;
}
/* Blog cards: image flush with the card edges, topic label above the title. */
.is-style-servus-card .servus-card-image {
	margin-left: calc(-1 * var(--wp--preset--spacing--30));
	margin-right: calc(-1 * var(--wp--preset--spacing--30));
	margin-bottom: var(--wp--preset--spacing--30);
}
.servus-post-topic {
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 700;
}
.servus-post-topic a {
	color: var(--wp--preset--color--orange);
	text-decoration: none;
}
/* FAQ: questions as tidy rows that open. */
.servus-faq {
	border-bottom: 1px solid #d6dee6;
	padding: 0.9em 0;
}
.servus-faq summary {
	font-weight: 700;
	color: var(--wp--preset--color--navy);
	cursor: pointer;
}
