/*
Theme Name: Lawnscal Custom
Theme URI: https://lawnscal.co.uk
Author: Lawnscal
Description: Lightweight custom theme for lawnscal.co.uk. Keeps all existing Elementor/ElementsKit page content, header and footer working exactly as before, while giving the site a leaner base theme (faster, no page-builder/FSE overhead from the base theme itself) and a fixed, theme-level slot for the billboard ad placement.
Version: 1.0
Requires at least: 5.9
Requires PHP: 7.4
Text Domain: lawnscal-custom
*/

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
}

img {
	max-width: 100%;
	height: auto;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Billboard ad (unit 31): centered box, max 970px wide */
[id="143172-31"] {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	max-width: 970px !important;
	margin: 10px auto !important;
	overflow: hidden;
}
[id="143172-31"] > * {
	max-width: 100%;
}

/* Plain (non-Elementor) pages: readable centered content column */
body:not(.elementor-page) .site-main {
	max-width: 900px;
	margin: 0 auto;
	padding: 40px 20px 60px;
	box-sizing: border-box;
}
body:not(.elementor-page) .site-main h1 { margin-top: 0; }
body:not(.elementor-page) .site-main a { color: #15803d; }
