/*
Theme Name: Winchester Letting Guide
Theme URI: https://winchesterletting.co.uk/
Description: A bespoke Genesis child theme for the independent Winchester Letting Guide.
Author: Richard Bartholomew
Version: 1.0.0
Template: genesis
Text Domain: winchester-letting-guide
Requires at least: 6.4
Requires PHP: 7.4
*/

:root {
	--navy: #102c3a;
	--navy-deep: #091e28;
	--sage: #718878;
	--sage-pale: #e9efea;
	--stone: #f5f1e9;
	--cream: #fcfaf6;
	--gold: #c49a52;
	--ink: #17242a;
	--muted: #58676e;
	--line: #d9ddd8;
	--white: #fff;
	--danger: #8f2f2f;
	--radius: 14px;
	--shadow: 0 16px 45px rgba(9, 30, 40, .10);
	--content: 1180px;
	--serif: Georgia, "Times New Roman", serif;
	--sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 18px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
body.admin-bar .site-header { top: 32px; }
a { color: #245a70; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
img { display: block; height: auto; max-width: 100%; }
h1, h2, h3, h4 {
	color: var(--navy);
	font-family: var(--serif);
	font-weight: 500;
	line-height: 1.12;
	margin: 0 0 .6em;
}
h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); letter-spacing: -.04em; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -.025em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
p { margin: 0 0 1.3em; }
.wrap, .wlg-wrap { margin-inline: auto; max-width: var(--content); padding-inline: 28px; width: 100%; }
.screen-reader-text,
.genesis-skip-link a {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}
.screen-reader-text:focus,
.genesis-skip-link a:focus {
	background: var(--white);
	clip: auto !important;
	clip-path: none;
	color: var(--navy);
	display: block;
	font-size: 16px;
	font-weight: 700;
	height: auto;
	left: 12px;
	padding: 14px 18px;
	top: 12px;
	width: auto;
	z-index: 100000;
}

/* Sticky two-level header */
.site-header {
	background: rgba(255, 255, 255, .98);
	border-bottom: 1px solid rgba(16, 44, 58, .12);
	left: 0;
	position: sticky;
	right: 0;
	top: 0;
	z-index: 999;
}
.wlg-utility { background: var(--navy-deep); color: #dfe8e9; font-size: 13px; letter-spacing: .015em; }
.wlg-utility .wlg-wrap { align-items: center; display: flex; justify-content: space-between; min-height: 34px; }
.wlg-utility-links { display: flex; flex-wrap: wrap; gap: 22px; list-style: none; margin: 0; padding: 0; }
.wlg-utility a { color: #edf3f3; text-decoration: none; }
.wlg-utility a:hover, .wlg-utility a:focus { color: #fff; text-decoration: underline; }
.wlg-independent { color: #bfcdd0; font-size: 12px; margin-left: 24px; }
.wlg-main-header .wlg-wrap { align-items: center; display: flex; gap: 30px; justify-content: space-between; min-height: 86px; }
.wlg-brand { align-items: center; color: var(--navy); display: inline-flex; gap: 13px; text-decoration: none; }
.wlg-brand-mark {
	align-items: center;
	background: var(--navy);
	border-radius: 50% 50% 6px 6px;
	color: var(--white);
	display: inline-flex;
	font-family: var(--serif);
	font-size: 26px;
	height: 46px;
	justify-content: center;
	width: 46px;
}
.wlg-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.wlg-brand-name { font-family: var(--serif); font-size: 24px; }
.wlg-brand-tagline { color: var(--muted); font-size: 11px; letter-spacing: .08em; margin-top: 5px; text-transform: uppercase; }
.wlg-nav-row { align-items: center; display: flex; gap: 22px; }
.wlg-nav .menu { align-items: center; display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.wlg-nav a { color: var(--ink); font-size: 15px; font-weight: 650; text-decoration: none; }
.wlg-nav a:hover, .wlg-nav .current-menu-item > a { color: #376957; }
.wlg-header-cta, .wlg-button {
	background: var(--gold);
	border: 2px solid var(--gold);
	border-radius: 999px;
	color: var(--navy-deep);
	display: inline-flex;
	font-size: 15px;
	font-weight: 750;
	justify-content: center;
	padding: 12px 20px;
	text-decoration: none;
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.wlg-header-cta:hover, .wlg-button:hover {
	background: #d3ab65;
	box-shadow: 0 8px 20px rgba(9, 30, 40, .16);
	color: var(--navy-deep);
	transform: translateY(-1px);
}
.wlg-button--light { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.wlg-button--light:hover { background: #fff; border-color: #fff; color: var(--navy); }
.wlg-menu-toggle {
	background: none;
	border: 0;
	color: var(--navy);
	cursor: pointer;
	display: none;
	font: inherit;
	font-size: 14px;
	font-weight: 750;
	padding: 10px;
}

/* Homepage */
.wlg-hero {
	background-color: var(--navy-deep);
	background-image: linear-gradient(90deg, rgba(6,25,34,.97) 0%, rgba(6,25,34,.84) 39%, rgba(6,25,34,.22) 70%, rgba(6,25,34,.12) 100%), url("assets/images/winchester-landlord-guide-hero.jpg");
	background-position: center;
	background-size: cover;
	color: #fff;
	min-height: min(720px, 78vh);
	position: relative;
}
.wlg-hero .wlg-wrap { display: flex; align-items: center; min-height: inherit; }
.wlg-hero-content { max-width: 720px; padding: 80px 0 90px; }
.wlg-eyebrow {
	color: var(--gold);
	display: block;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .14em;
	margin-bottom: 22px;
	text-transform: uppercase;
}
.wlg-hero h1 { color: #fff; margin-bottom: 22px; }
.wlg-hero-lede { color: #eef2f1; font-size: clamp(1.1rem, 2vw, 1.35rem); max-width: 650px; }
.wlg-actions { display: flex; flex-wrap: wrap; gap: 13px; margin: 30px 0 22px; }
.wlg-hero-note { color: #cad6d7; font-size: 13px; max-width: 620px; }
.wlg-trust-strip { background: #fff; border-bottom: 1px solid var(--line); }
.wlg-trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.wlg-trust-item { padding: 26px 34px; position: relative; }
.wlg-trust-item + .wlg-trust-item { border-left: 1px solid var(--line); }
.wlg-trust-item strong { color: var(--navy); display: block; font-family: var(--serif); font-size: 19px; font-weight: 600; }
.wlg-trust-item span { color: var(--muted); font-size: 14px; }
.wlg-section { padding: 100px 0; }
.wlg-section--stone { background: var(--stone); }
.wlg-section--sage { background: var(--sage-pale); }
.wlg-section--navy { background: var(--navy); color: #eaf0ef; }
.wlg-section--navy h2, .wlg-section--navy h3 { color: #fff; }
.wlg-section-heading { margin-bottom: 48px; max-width: 760px; }
.wlg-section-heading p { color: var(--muted); font-size: 1.1rem; }
.wlg-section--navy .wlg-section-heading p { color: #c8d5d4; }
.wlg-card-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.wlg-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: 0 4px 14px rgba(9,30,40,.035);
	padding: 34px;
}
.wlg-card-number {
	align-items: center;
	background: var(--sage-pale);
	border-radius: 50%;
	color: var(--navy);
	display: flex;
	font-family: var(--serif);
	font-size: 20px;
	height: 46px;
	justify-content: center;
	margin-bottom: 22px;
	width: 46px;
}
.wlg-card p { color: var(--muted); font-size: 16px; margin: 0; }
.wlg-split { align-items: center; display: grid; gap: clamp(45px, 7vw, 90px); grid-template-columns: 1fr 1fr; }
.wlg-split-image { border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.wlg-split-image img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.wlg-tick-list { list-style: none; margin: 28px 0; padding: 0; }
.wlg-tick-list li { margin: 12px 0; padding-left: 30px; position: relative; }
.wlg-tick-list li::before { color: #47725f; content: "✓"; font-weight: 900; left: 0; position: absolute; }
.wlg-area-grid { display: grid; gap: 12px; grid-template-columns: repeat(4, 1fr); }
.wlg-area { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 10px; padding: 18px; }
.wlg-area strong { color: #fff; display: block; font-family: var(--serif); font-size: 19px; }
.wlg-area span { color: #c8d5d4; font-size: 13px; }
.wlg-faq { border-top: 1px solid var(--line); }
.wlg-faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.wlg-faq summary { color: var(--navy); cursor: pointer; font-family: var(--serif); font-size: 21px; font-weight: 600; }
.wlg-faq details p { color: var(--muted); margin: 16px 0 0; max-width: 860px; }

/* Enquiry form */
.wlg-form-shell { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(28px, 5vw, 54px); }
.wlg-form-grid { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
.wlg-field--full { grid-column: 1 / -1; }
.wlg-field label { color: var(--navy); display: block; font-size: 14px; font-weight: 750; margin-bottom: 7px; }
.wlg-field input, .wlg-field select, .wlg-field textarea {
	background: #fff;
	border: 1px solid #aeb8b7;
	border-radius: 8px;
	color: var(--ink);
	font: inherit;
	padding: 13px 14px;
	width: 100%;
}
.wlg-field textarea { min-height: 135px; resize: vertical; }
.wlg-field input:focus, .wlg-field select:focus, .wlg-field textarea:focus { border-color: var(--navy); outline: 3px solid rgba(113,136,120,.24); }
.wlg-consent { align-items: flex-start; display: flex; gap: 10px; font-size: 14px; }
.wlg-consent input { margin-top: 6px; width: auto; }
.wlg-form-notice { border-radius: 8px; margin-bottom: 22px; padding: 14px 18px; }
.wlg-form-notice--success { background: #e3f1e9; color: #1c5b39; }
.wlg-form-notice--error { background: #f8e4e4; color: var(--danger); }
.wlg-hp { left: -9999px; position: absolute; }

/* Standard Genesis pages */
.site-inner { margin: 0 auto; max-width: var(--content); padding: 75px 28px 90px; }
.content-sidebar-wrap { display: block; }
.content { width: 100%; }
.entry { margin-bottom: 55px; }
.entry-title { font-size: clamp(2.4rem, 5vw, 4.3rem); }
.entry-content { max-width: 820px; }
.entry-content > * { max-width: 820px; }
.entry-content h2 { margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content ul, .entry-content ol { margin-bottom: 1.5em; }
.entry-meta { color: var(--muted); font-size: 14px; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #bac8ca; font-size: 14px; padding: 58px 0 28px; text-align: left; }
.wlg-footer-grid { display: grid; gap: 45px; grid-template-columns: 1.5fr 1fr 1fr; }
.wlg-footer-title { color: #fff; font-family: var(--serif); font-size: 23px; margin-bottom: 14px; }
.wlg-footer h3 { color: #fff; font-family: var(--sans); font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.wlg-footer ul { list-style: none; margin: 0; padding: 0; }
.wlg-footer li { margin: 7px 0; }
.wlg-footer a { color: #e7eded; text-decoration: none; }
.wlg-footer a:hover { text-decoration: underline; }
.wlg-footer-bottom { border-top: 1px solid rgba(255,255,255,.13); margin-top: 45px; padding-top: 24px; }
.wlg-footer-bottom p { margin: 0 0 8px; }
.wlg-legal { color: #93a7aa; font-size: 12px; max-width: 920px; }

@media (max-width: 980px) {
	.wlg-independent { display: none; }
	.wlg-menu-toggle { display: block; }
	.wlg-header-cta { display: none; }
	.wlg-nav {
		background: #fff;
		border-top: 1px solid var(--line);
		box-shadow: 0 15px 24px rgba(9,30,40,.10);
		display: none;
		left: 0;
		padding: 12px 28px 24px;
		position: absolute;
		right: 0;
		top: 100%;
	}
	.wlg-nav.is-open { display: block; }
	.wlg-nav .menu { align-items: stretch; flex-direction: column; gap: 0; }
	.wlg-nav a { border-bottom: 1px solid var(--line); display: block; padding: 13px 0; }
	.wlg-card-grid { grid-template-columns: 1fr; }
	.wlg-area-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
@media (max-width: 720px) {
	body { font-size: 17px; }
	.wrap, .wlg-wrap { padding-inline: 20px; }
	.wlg-utility .wlg-wrap { justify-content: flex-start; overflow-x: auto; }
	.wlg-utility-links { flex-wrap: nowrap; gap: 17px; white-space: nowrap; }
	.wlg-main-header .wlg-wrap { min-height: 72px; }
	.wlg-brand-mark { height: 40px; width: 40px; }
	.wlg-brand-name { font-size: 20px; }
	.wlg-brand-tagline { display: none; }
	.wlg-hero { background-position: 61% center; min-height: 660px; }
	.wlg-hero-content { padding: 65px 0; }
	.wlg-trust-grid { grid-template-columns: 1fr; padding-block: 8px; }
	.wlg-trust-item { padding: 17px 20px; }
	.wlg-trust-item + .wlg-trust-item { border-left: 0; border-top: 1px solid var(--line); }
	.wlg-section { padding: 72px 0; }
	.wlg-split { grid-template-columns: 1fr; }
	.wlg-split-image { order: -1; }
	.wlg-area-grid, .wlg-form-grid, .wlg-footer-grid { grid-template-columns: 1fr; }
	.wlg-field--full { grid-column: auto; }
	.site-inner { padding: 55px 20px 70px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
