/*
Theme Name: Fresh Homes
Description: The Fresh Homes website for Fresh 92.7.
Version: 1.0.0
Requires at least: 6.8
Requires PHP: 8.1
Text Domain: fresh-homes
*/

:root {
	color-scheme: light;
	--homes-blue: #0082c8;
	--homes-nav: #006dab;
	--homes-link: #005e94;
	--homes-ink: #142b3a;
	--homes-muted: #435766;
	--homes-rule: #dce7ee;
	--homes-inset: clamp(1rem, 3vw, 2.25rem);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--homes-ink); background: #fff; font: 1rem/1.6 Inter, Helvetica, Arial, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--homes-link); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
h1, h2, h3 { margin: 0 0 .6em; line-height: 1.13; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); letter-spacing: -.055em; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.25rem); letter-spacing: -.035em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.homes-skip { position: absolute; top: .5rem; left: .5rem; z-index: 2; padding: .5rem 1rem; background: #fff; transform: translateY(-200%); }
.homes-skip:focus { transform: translateY(0); }
.homes-header-inner { width: min(100%, 112.5rem); margin-inline: auto; padding-inline: var(--homes-inset); }
.homes-network { background: #111; color: #fff; }
.homes-network ul, .homes-menu ul { display: flex; align-items: center; flex-wrap: wrap; list-style: none; margin: 0; padding-block: 0; }
.homes-network ul { gap: clamp(.65rem, 2.5vw, 1.85rem); }
.homes-network a { display: flex; align-items: center; min-height: 36px; padding-inline: .25rem; color: inherit; font-size: .8125rem; text-decoration: none; }
.homes-network [aria-current] { box-shadow: inset 0 -2px #7bd0ff; font-weight: 700; }
.homes-network a:hover, .homes-menu a:hover { text-decoration: underline; }
.homes-primary { background: var(--homes-nav); color: #fff; }
.homes-primary .homes-header-inner { display: flex; justify-content: space-between; align-items: center; gap: .5rem 1.5rem; min-height: 68px; }
.homes-brand { flex: 0 0 auto; display: block; padding-block: .5rem; }
.homes-brand img { width: 5.6rem; max-height: 3rem; object-fit: contain; }
.homes-menu ul { justify-content: flex-end; gap: 0 clamp(.75rem, 2vw, 1.75rem); padding-inline: 0; }
.homes-menu a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; font-weight: 600; text-decoration: none; }
.homes-menu [aria-current] { text-decoration: underline; text-decoration-thickness: 2px; }
.homes-main { width: min(100%, 72rem); margin-inline: auto; padding: clamp(2.5rem, 6vw, 5.5rem) var(--homes-inset); min-height: 65vh; }
.homes-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block-end: clamp(2.5rem, 6vw, 5rem); }
.homes-hero h1 { margin-bottom: .24em; }
.homes-hero p { color: var(--homes-muted); font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 35ch; }
.homes-hero img { width: 100%; }
.homes-action { display: inline-flex; min-height: 44px; align-items: center; padding: .55rem 1rem; background: var(--homes-link); color: #fff; font-weight: 700; text-decoration: none; }
.homes-content { max-width: 48rem; }
.homes-content h2 { margin-block-start: 1.75em; }
.homes-content h3 { margin-block-start: 1.4em; }
.homes-content li { margin-block: .45em; }
.homes-content iframe { display: block; max-width: 100%; border: 0; }
.homes-home-content { border-top: 1px solid var(--homes-rule); padding-block-start: 1.75rem; }
.homes-home-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.homes-home-links a { font-weight: 700; }
.homes-home-links p { color: var(--homes-muted); margin: .35rem 0 0; }
.homes-footer { border-top: 1px solid var(--homes-rule); }
.homes-footer .homes-header-inner { padding-block: 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .875rem; }
@media (max-width: 48rem) {
	.homes-primary .homes-header-inner { align-items: flex-start; flex-direction: column; padding-block-end: .25rem; }
	.homes-menu ul { justify-content: flex-start; }
	.homes-menu a { font-size: .875rem; }
	.homes-hero, .homes-home-links { grid-template-columns: 1fr; }
	.homes-hero { gap: 1.25rem; }
}
