/*!
Theme Name: Signature Driveways and Patios
Author: Signature Driveways And Paving
Description: Custom theme converted from the original static HTML site. Content is managed with ACF Pro (Global Settings + Home page fields), the Services and Testimonials post types, and Contact Form 7.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: signature-driveways-and-patios
Tags: one-column, custom-menu, featured-images, translation-ready

The front-end design lives in assets/css/main.css (ported from the HTML site).
This file only holds WordPress-specific additions.
*/

/* ---------- Admin bar offset for the fixed header ---------- */
.admin-bar .premium-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .premium-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .premium-header { top: 0; } }

/* Was an inline style on each kicker in the HTML. */
.section-heading .section-kicker { color: var(--orange); }

/* ---------- Contact Form 7 inside the quote card ---------- */
.quote-card .wpcf7-form-control-wrap { display: block; }
.quote-card .wpcf7-not-valid-tip {
	font-size: 11px;
	line-height: 1.3;
	margin-top: 4px;
	color: #c62828;
}
.quote-card .field-wrap .wpcf7-not-valid {
	border-color: #c62828;
}
/* Keep the icon centred on the input when an error message makes the wrapper taller. */
.quote-card .field-wrap:has(.wpcf7-not-valid-tip):not(.textarea-wrap) > i {
	top: clamp(21.5px, 2.25vh, 27px);
}
.quote-card .wpcf7 form .wpcf7-response-output {
	font-size: 11px;
	line-height: 1.4;
	margin: 8px 0 0;
	padding: 0;
	border: 0;
	color: #444;
}
.quote-card .wpcf7 form.invalid .wpcf7-response-output,
.quote-card .wpcf7 form.unaccepted .wpcf7-response-output,
.quote-card .wpcf7 form.failed .wpcf7-response-output,
.quote-card .wpcf7 form.aborted .wpcf7-response-output,
.quote-card .wpcf7 form.spam .wpcf7-response-output {
	color: #c62828;
}
.quote-card .wpcf7 form.submitting .wpcf7-submit {
	opacity: .7;
	pointer-events: none;
}

/* ---------- Inner pages (not part of the original one-page design) ---------- */
body:not(.home) .premium-header {
	background: #1d1d1d !important;
}
.inner-page {
	padding-top: 105px;
	min-height: 70vh;
}
.inner-page .section {
	padding-top: 60px;
}
.inner-page .section-heading h1 {
	font-size: clamp(30px, 3vw, 48px);
	margin: 0 0 7px;
}
.inner-page .entry-content,
.inner-page .entry-summary {
	max-width: 860px;
}
.inner-page .entry-image {
	margin-bottom: 30px;
}
.inner-page .entry-image img {
	height: auto;
	border-radius: 18px;
}
.inner-page .entry-content a,
.inner-page .entry-title a:hover {
	color: var(--orange);
}
.inner-page .entry-title a {
	color: inherit;
}
.inner-page .post-entry + .post-entry {
	margin-top: 40px;
	padding-top: 40px;
	border-top: 1px solid #e9e9e9;
}
.inner-page .navigation.pagination {
	margin-top: 40px;
}
.inner-page .nav-links {
	display: flex;
	gap: 14px;
}
@media (max-width: 991px) {
	.inner-page {
		padding-top: 80px;
	}
}
