/*!
Theme Name: Artificial Grass Bristol
Author: Artificial Grass Bristol
Description: Custom theme converted from the original static HTML site. Content is managed with ACF Pro (Global Settings and Home page fields), the Services, Gallery Projects and Testimonials post types, and Contact Form 7.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.1
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: artificial-grass-bristol

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

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

/* Contact Form 7 inside the quote card */
.quote-card .wpcf7 form { margin: 0; }
.field .wpcf7-form-control-wrap { display: block; flex: 1; min-width: 0; }
.field .wpcf7-form-control { display: block; }
.field .wpcf7-not-valid-tip { font-size: 11px; color: #c0272d; padding-bottom: 7px; }
/* Same 9px gap as the original empty .form-feedback element. */
.quote-card .wpcf7 form .btn { margin-bottom: 9px; }
.quote-card .wpcf7 form .wpcf7-response-output {
	font-size: 11px;
	color: var(--yellow);
	margin: 0;
	padding: 0;
	border: 0;
}
.quote-card .wpcf7-spinner { display: none; }
.quote-card .wpcf7 form.submitting button[type="submit"] { opacity: .7; pointer-events: none; }

/* Inner pages (page.php, index.php, 404.php) */
.page-banner { padding: 64px 0; }
.page-banner h1 {
	font-size: clamp(28px, 3vw, 44px);
	font-weight: 800;
	letter-spacing: -1.5px;
	line-height: 1.15;
	margin: 0;
}
.entry-content { line-height: 1.75; color: #52666a; }
.entry-content > * { max-width: 860px; }
.entry-content h2,
.entry-content h3 { color: var(--ink); font-weight: 800; margin: 1.6em 0 .6em; }
.entry-content a:not(.btn) { color: var(--ink); text-decoration: underline; }
.entry-content img { max-width: 100%; height: auto; border-radius: 11px; }
.post-summary + .post-summary { border-top: 1px solid #e4e8e6; margin-top: 28px; padding-top: 4px; }
.pagination .nav-links { display: flex; gap: 12px; margin-top: 32px; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}
