/* G. Jeff White Realty Group — site styles */

:root {
	--ink: #17171a;
	--charcoal: #2a2a2e;
	--red: #a6141d;
	--red-dark: #850f16;
	--paper: #f8f5f0;
	--stone: #ede7dd;
	--line: #ddd5c8;
	--muted: #625d56;
	--white: #fff;
	--serif: 'Libre Caslon Text', Georgia, 'Times New Roman', serif;
	--sans: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--gutter: clamp(1rem, 4vw, 2.5rem);
	--section: clamp(4rem, 9vw, 7.5rem);
	--radius: 2px;
	--shadow: 0 1px 2px rgba(23, 23, 26, .06), 0 12px 32px -12px rgba(23, 23, 26, .22);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--red); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--red-dark); }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

h1, h2, h3, h4 {
	font-family: var(--serif);
	font-weight: 400;
	line-height: 1.12;
	letter-spacing: -.01em;
	color: inherit;
	margin: 0 0 .5em;
	text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.45rem); line-height: 1.25; }
p { margin: 0 0 1em; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

.gjw-skip {
	position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: .6rem 1rem;
}
.gjw-skip:focus { top: 1rem; color: #fff; }

/* ---------- Shared type ---------- */

.gjw-eyebrow {
	font-family: var(--sans);
	font-size: .78rem !important;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--red);
	margin-bottom: 1rem !important;
	display: flex;
	align-items: center;
	gap: .75rem;
}
.gjw-eyebrow::before {
	content: "";
	width: 28px;
	height: 1px;
	background: currentColor;
	flex: none;
}

.gjw-lede { font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--muted); max-width: 42em; }
.gjw-note { font-size: .92rem; color: var(--muted); }

/* ---------- Buttons ---------- */

.gjw-btn,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	font-family: var(--sans);
	font-size: .95rem;
	font-weight: 600;
	letter-spacing: .01em;
	line-height: 1.2;
	padding: 1rem 1.6rem;
	border-radius: var(--radius);
	border: 1px solid var(--red);
	background: var(--red);
	color: #fff;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s, border-color .2s, color .2s;
}
.gjw-btn:hover,
.wp-block-button__link:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }

.is-style-outline > .wp-block-button__link,
.gjw-btn--ghost {
	background: transparent;
	color: var(--ink);
	border-color: var(--ink);
}
.is-style-outline > .wp-block-button__link:hover,
.gjw-btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

.gjw-btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.gjw-btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.is-style-text > .wp-block-button__link {
	background: none;
	border: 0;
	padding: .25rem 0;
	color: var(--ink);
	border-bottom: 1px solid var(--red);
	border-radius: 0;
}
.is-style-text > .wp-block-button__link::after {
	content: "\2192";
	color: var(--red);
	transition: transform .2s;
}
.is-style-text > .wp-block-button__link:hover { background: none; color: var(--red); }
.is-style-text > .wp-block-button__link:hover::after { transform: translateX(4px); }

.wp-block-buttons { gap: .75rem; margin-top: 2rem; }

/* ---------- Header ---------- */

.gjw-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, .97);
	border-bottom: 1px solid var(--line);
	backdrop-filter: saturate(1.4) blur(8px);
}
.admin-bar .gjw-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .gjw-header { top: 0; } }

.gjw-header__inner {
	max-width: 1320px;
	margin: 0 auto;
	padding: .8rem var(--gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}

.gjw-brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; color: var(--ink); flex: none; }
.gjw-brand:hover { color: var(--ink); }
.gjw-brand__mark { width: 66px; height: auto; }
.gjw-brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.gjw-brand__name { font-family: var(--serif); font-size: 1.45rem; letter-spacing: -.01em; }
.gjw-brand__sub {
	font-size: .66rem;
	font-weight: 600;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--red);
	margin-top: .3rem;
}

.gjw-nav { display: flex; align-items: center; gap: 1.75rem; }
.gjw-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.6rem; }
.gjw-menu li { position: relative; }
.gjw-menu a {
	display: block;
	padding: .6rem 0;
	color: var(--ink);
	text-decoration: none;
	font-size: .93rem;
	font-weight: 500;
	white-space: nowrap;
	border-bottom: 1px solid transparent;
}
.gjw-menu a:hover,
.gjw-menu .current-menu-item > a,
.gjw-menu .current-menu-ancestor > a { color: var(--red); }
.gjw-menu .current-menu-item > a { border-bottom-color: var(--red); }

.gjw-menu .menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-left: .45rem;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-3px) rotate(45deg);
}
.gjw-menu .sub-menu {
	list-style: none;
	margin: 0;
	padding: .5rem 0;
	position: absolute;
	top: 100%;
	left: -1rem;
	min-width: 230px;
	background: #fff;
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .18s, transform .18s, visibility .18s;
}
.gjw-menu li:hover > .sub-menu,
.gjw-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.gjw-menu .sub-menu a { padding: .55rem 1rem; border: 0; }
.gjw-menu .sub-menu a:hover { background: var(--paper); }

.gjw-header__phone {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .7rem 1.1rem;
	background: var(--ink);
	color: #fff;
	text-decoration: none;
	font-size: .9rem;
	font-weight: 600;
	border-radius: var(--radius);
	white-space: nowrap;
}
.gjw-header__phone:hover { background: var(--red); color: #fff; }

.gjw-nav-toggle { display: none; }

@media (max-width: 1080px) {
	.gjw-nav-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 46px;
		height: 46px;
		background: none;
		border: 1px solid var(--line);
		border-radius: var(--radius);
		cursor: pointer;
	}
	.gjw-nav-toggle__bars,
	.gjw-nav-toggle__bars::before,
	.gjw-nav-toggle__bars::after {
		display: block;
		width: 20px;
		height: 1.5px;
		background: var(--ink);
		position: relative;
		transition: transform .2s, background-color .2s;
	}
	.gjw-nav-toggle__bars::before,
	.gjw-nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
	.gjw-nav-toggle__bars::before { top: -6px; }
	.gjw-nav-toggle__bars::after { top: 6px; }
	.gjw-nav-toggle[aria-expanded="true"] .gjw-nav-toggle__bars { background: transparent; }
	.gjw-nav-toggle[aria-expanded="true"] .gjw-nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
	.gjw-nav-toggle[aria-expanded="true"] .gjw-nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

	.gjw-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: .5rem var(--gutter) 1.5rem;
		background: #fff;
		border-bottom: 1px solid var(--line);
		box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .25);
		display: none;
		max-height: calc(100vh - 80px);
		overflow-y: auto;
	}
	.gjw-nav.is-open { display: flex; }
	.gjw-menu { flex-direction: column; gap: 0; }
	.gjw-menu > li { border-bottom: 1px solid var(--line); }
	.gjw-menu a { padding: 1rem 0; font-size: 1.05rem; }
	.gjw-menu .current-menu-item > a { border-bottom-color: transparent; }
	.gjw-menu .menu-item-has-children > a::after { display: none; }
	.gjw-menu .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		border: 0;
		box-shadow: none;
		padding: 0 0 .75rem 1rem;
		min-width: 0;
	}
	.gjw-menu .sub-menu a { padding: .5rem 0; font-size: .98rem; color: var(--muted); }
	.gjw-header__phone { margin-top: 1.25rem; justify-content: center; padding: 1rem; }
}

@media (max-width: 480px) {
	.gjw-brand__mark { width: 52px; }
	.gjw-brand__name { font-size: 1.2rem; }
	.gjw-brand__sub { font-size: .58rem; letter-spacing: .18em; }
}

/* ---------- Page content scaffolding ---------- */

.gjw-content > .alignfull { margin-top: 0 !important; margin-bottom: 0 !important; }
.gjw-content > :last-child { margin-bottom: 0; }

section.wp-block-group.alignfull,
.gjw-content > .wp-block-group.alignfull {
	padding-top: var(--section);
	padding-bottom: var(--section);
}

.wp-block-columns { gap: clamp(1.5rem, 4vw, 4rem); margin-bottom: 0; }

/* Page header band */
.gjw-pagehead {
	background: var(--ink);
	color: #fff;
	position: relative;
	overflow: hidden;
	padding-top: clamp(4rem, 9vw, 7rem) !important;
	padding-bottom: clamp(3.5rem, 7vw, 5.5rem) !important;
}
.gjw-pagehead::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 4px;
	background: var(--red);
}
.gjw-pagehead::before {
	content: "";
	position: absolute;
	right: -60px;
	bottom: -40px;
	width: 420px;
	height: 360px;
	background: url(../img/logo-mark-white.png) no-repeat center / contain;
	opacity: .045;
	pointer-events: none;
}
.gjw-content > .gjw-pagehead,
.gjw-content > .gjw-prose {
	/* Line up with the 1180px content column used by every other section. */
	padding-left: max(var(--gutter), calc((100% + 2 * var(--gutter) - 1180px) / 2)) !important;
	padding-right: max(var(--gutter), calc((100% + 2 * var(--gutter) - 1180px) / 2)) !important;
}
.gjw-pagehead > *,
.gjw-prose > * { position: relative; z-index: 1; }
.gjw-pagehead h1 { color: #fff; max-width: 13.5em; }
.gjw-pagehead .gjw-lede { color: rgba(255, 255, 255, .78); margin-bottom: 0; max-width: 44rem; }
.gjw-pagehead .gjw-eyebrow { color: #f0b7ba; }
.gjw-pagehead--auto { padding-left: var(--gutter); padding-right: var(--gutter); }
.gjw-pagehead__inner { max-width: 1180px; margin: 0 auto; position: relative; z-index: 1; }
.gjw-pagehead .gjw-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Home: hero ---------- */

.gjw-hero {
	background: var(--paper);
	position: relative;
	overflow: hidden;
	padding-top: clamp(3.5rem, 8vw, 6.5rem) !important;
	padding-bottom: clamp(3.5rem, 8vw, 6.5rem) !important;
}
.gjw-hero::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 38%;
	height: 100%;
	background: var(--stone);
}
.gjw-hero > * { position: relative; }
.gjw-hero__cols { align-items: center !important; }
.gjw-hero h1 { margin-bottom: 1.5rem; max-width: 12.5em; }
.gjw-hero .gjw-lede { color: var(--charcoal); }

.gjw-hero__media { position: relative; }
.gjw-portrait { margin: 0; position: relative; }
.gjw-hero .gjw-portrait { max-width: 440px; margin-left: auto; }
.gjw-portrait img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: 50% 20%;
	box-shadow: var(--shadow);
}
.gjw-hero .gjw-portrait::before {
	content: "";
	position: absolute;
	inset: 18px -18px -18px 18px;
	border: 1px solid var(--red);
	z-index: -1;
}
.gjw-hero__badge {
	position: absolute;
	left: clamp(-2rem, -2vw, 0rem);
	bottom: 2.25rem;
	background: var(--ink);
	color: rgba(255, 255, 255, .78);
	padding: 1.1rem 1.35rem;
	font-size: .8rem;
	line-height: 1.45;
	letter-spacing: .02em;
	max-width: 260px;
	margin: 0 !important;
	box-shadow: var(--shadow);
}
.gjw-hero__badge strong {
	display: block;
	font-family: var(--serif);
	font-weight: 400;
	font-size: 1.3rem;
	color: #fff;
	margin-bottom: .2rem;
	letter-spacing: 0;
}

@media (max-width: 781px) {
	.gjw-hero::before { width: 100%; height: 34%; top: auto; bottom: 0; }
	.gjw-hero .gjw-portrait { margin: 1rem auto 0; max-width: 360px; }
	.gjw-hero__badge { left: 0; bottom: 1rem; }
}

/* ---------- Home: stats ---------- */

.gjw-stats {
	background: var(--ink);
	color: #fff;
	padding-top: clamp(2.5rem, 5vw, 3.5rem) !important;
	padding-bottom: clamp(2.5rem, 5vw, 3.5rem) !important;
}
.gjw-stats__cols { gap: 0 !important; }
.gjw-stat { padding: .5rem clamp(1rem, 2.5vw, 2rem); border-left: 1px solid rgba(255, 255, 255, .14); }
.gjw-stat:first-child { border-left: 0; padding-left: 0; }
.gjw-stat__num { font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1; margin-bottom: .6rem !important; }
.gjw-stat__label { font-size: .85rem; color: rgba(255, 255, 255, .68); line-height: 1.45; margin: 0 !important; max-width: 16em; }

@media (max-width: 781px) {
	.gjw-stats__cols { display: grid !important; grid-template-columns: 1fr 1fr; gap: 1.75rem 0 !important; }
	.gjw-stat { border-left: 0; padding: 0 1rem 0 0; }
}

/* ---------- Home: intro ---------- */

.gjw-intro h2 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); margin-bottom: 0; }
.gjw-intro p { font-size: 1.12rem; color: var(--charcoal); }
.gjw-intro p:first-child::first-letter {
	font-family: var(--serif);
	float: left;
	font-size: 3.6em;
	line-height: .85;
	padding: .08em .12em 0 0;
	color: var(--red);
}

/* ---------- Home: services ---------- */

.gjw-services { background: var(--paper); }
.gjw-services > h2 { margin-bottom: 3rem; }
.gjw-services__cols { gap: 0 !important; border-top: 1px solid var(--line); }
.gjw-service {
	padding: 2rem clamp(1rem, 2vw, 1.75rem) 0;
	border-left: 1px solid var(--line);
}
.gjw-service:first-child { border-left: 0; padding-left: 0; }
.gjw-service__num { font-family: var(--serif); font-style: italic; color: var(--red); font-size: 1.1rem; margin-bottom: 1.25rem !important; }
.gjw-service p:last-child { font-size: .98rem; color: var(--muted); margin: 0; }

@media (max-width: 781px) {
	.gjw-service { border-left: 0; padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
}
@media (min-width: 782px) and (max-width: 1080px) {
	.gjw-services__cols { flex-wrap: wrap !important; }
	.gjw-services__cols > .gjw-service { flex-basis: 50% !important; padding-bottom: 2rem; }
	.gjw-service:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* Section heading row */
.gjw-sectionhead { align-items: flex-end !important; margin-bottom: 2.5rem !important; }
.gjw-sectionhead p:not(.gjw-eyebrow) { color: var(--muted); max-width: 36em; margin-bottom: 0; }
.gjw-sectionhead h2 { margin-bottom: .4em; }
.gjw-sectionhead__action .wp-block-buttons { justify-content: flex-end; margin-top: 0; }
@media (max-width: 781px) { .gjw-sectionhead__action .wp-block-buttons { justify-content: flex-start; } }

/* ---------- Quote band ---------- */

.gjw-quoteband {
	background: var(--ink) url(../img/area-pensacola.jpg) center / cover no-repeat;
	position: relative;
	color: #fff;
}
.gjw-quoteband::before { content: ""; position: absolute; inset: 0; background: rgba(23, 23, 26, .86); }
.gjw-quoteband > * { position: relative; }
.gjw-quote {
	border: 0 !important;
	margin: 0 auto !important;
	padding: 0 !important;
	max-width: 900px !important;
	text-align: center;
}
.gjw-quote::before {
	content: "\201C";
	display: block;
	font-family: var(--serif);
	font-size: 5rem;
	line-height: .6;
	color: var(--red);
	margin-bottom: 1.25rem;
}
.gjw-quote p {
	font-family: var(--serif);
	font-style: italic;
	font-size: clamp(1.4rem, 2.6vw, 2.05rem);
	line-height: 1.42;
	margin-bottom: 1.75rem;
}
.gjw-quote cite {
	font-style: normal;
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .7);
}

/* ---------- Property cards ---------- */

.gjw-sold { background: var(--paper); }

.gjw-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1.25rem, 2.5vw, 2rem);
}
@media (max-width: 1000px) { .gjw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .gjw-grid { grid-template-columns: 1fr; } }

.gjw-card { background: #fff; border: 1px solid var(--line); transition: box-shadow .25s, transform .25s; }
.gjw-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.gjw-card[hidden] { display: none; }
.gjw-card__link { display: block; color: inherit; text-decoration: none; height: 100%; }
.gjw-card__link:hover { color: inherit; }
.gjw-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); }
.gjw-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gjw-card:hover .gjw-card__media img { transform: scale(1.04); }
.gjw-card__noimg {
	display: flex; align-items: center; justify-content: center; height: 100%;
	font-family: var(--serif); font-size: 1.3rem; color: var(--muted);
}
.gjw-card__body { padding: 1.35rem 1.4rem 1.5rem; }
.gjw-card__price { font-family: var(--serif); font-size: 1.55rem; line-height: 1.1; margin-bottom: .55rem !important; }
.gjw-card__title { font-family: var(--sans); font-size: 1rem; font-weight: 600; letter-spacing: 0; margin-bottom: .2rem; line-height: 1.35; }
.gjw-card__addr { font-size: .9rem; color: var(--muted); margin-bottom: 0 !important; }
.gjw-card__specs {
	list-style: none;
	margin: 1rem 0 0;
	padding: .9rem 0 0;
	border-top: 1px solid var(--line);
	display: flex;
	flex-wrap: wrap;
	gap: .35rem 1.1rem;
	font-size: .82rem;
	color: var(--charcoal);
}
.gjw-card__specs li { position: relative; }
.gjw-card__specs li + li::before {
	content: "";
	position: absolute;
	left: -.6rem;
	top: 50%;
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: var(--red);
}

.gjw-pill {
	position: absolute;
	top: 1rem;
	left: 1rem;
	padding: .38rem .7rem;
	font-size: .68rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	background: #fff;
	color: var(--ink);
}
.gjw-pill--sale,
.gjw-pill--lease { background: var(--red); color: #fff; }
.gjw-pill--pending { background: var(--charcoal); color: #fff; }
.gjw-pill--sold,
.gjw-pill--leased { background: var(--ink); color: #fff; }

.gjw-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.gjw-filters button {
	font: 500 .88rem var(--sans);
	padding: .6rem 1.1rem;
	border: 1px solid var(--line);
	background: #fff;
	color: var(--ink);
	border-radius: 999px;
	cursor: pointer;
}
.gjw-filters button:hover { border-color: var(--ink); }
.gjw-filters button.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.gjw-empty { padding: 2.5rem; background: var(--paper); border: 1px dashed var(--line); text-align: center; color: var(--muted); }

.gjw-listing-page { padding-top: clamp(3rem, 6vw, 4.5rem) !important; }

/* ---------- Areas (home cards) ---------- */

.gjw-areas > h2 { margin-bottom: 2.5rem; }
.gjw-areas__cols { gap: clamp(1rem, 2vw, 1.5rem) !important; }
.gjw-area-card { position: relative; overflow: hidden; }
.gjw-area-card figure { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; }
.gjw-area-card figure a,
.gjw-area-card figure img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gjw-area-card figure img { transition: transform .7s ease; }
.gjw-area-card:hover figure img { transform: scale(1.05); }
.gjw-area-card figure::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(23, 23, 26, 0) 45%, rgba(23, 23, 26, .82) 100%);
	pointer-events: none;
}
.gjw-area-card h3 {
	position: absolute;
	left: 1.4rem;
	right: 1.4rem;
	bottom: 1.2rem;
	margin: 0 !important;
	font-size: 1.55rem;
	z-index: 1;
}
.gjw-area-card h3 a { color: #fff; text-decoration: none; }
.gjw-area-card h3 a::after { content: " \2192"; font-family: var(--sans); font-size: .9em; color: #f0b7ba; }
@media (max-width: 781px) {
	.gjw-areas__cols { display: grid !important; grid-template-columns: 1fr 1fr; }
	.gjw-area-card h3 { font-size: 1.2rem; left: 1rem; bottom: .9rem; }
}

/* ---------- CTA band ---------- */

.gjw-cta { background: var(--red); color: #fff; text-align: center; }
.gjw-cta h2 { color: #fff; }
.gjw-cta .gjw-lede { color: rgba(255, 255, 255, .85); margin-left: auto; margin-right: auto; }
.gjw-cta .wp-block-buttons { justify-content: center; }
.gjw-cta .wp-block-button__link { background: #fff; border-color: #fff; color: var(--red); }
.gjw-cta .wp-block-button__link:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.gjw-cta .is-style-outline > .wp-block-button__link { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.gjw-cta .is-style-outline > .wp-block-button__link:hover { background: #fff; color: var(--red); border-color: #fff; }

/* ---------- About ---------- */

.gjw-about__cols { align-items: flex-start !important; }
.gjw-about__side { position: sticky; top: 110px; }
.gjw-about .gjw-portrait img { aspect-ratio: 1; }
.gjw-factcard { background: var(--paper); border-top: 3px solid var(--red); padding: 1.6rem 1.6rem 1.2rem; margin-top: 0 !important; }
.gjw-factcard h3 { font-size: 1.2rem; margin-bottom: 1rem; }
.gjw-facts { list-style: none; margin: 0; padding: 0; font-size: .93rem; }
.gjw-facts li { display: grid; grid-template-columns: 6.5rem 1fr; gap: .75rem; padding: .6rem 0; border-top: 1px solid var(--line); }
.gjw-facts li strong { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding-top: .15rem; }
.gjw-about__main h2 { margin-bottom: 1.25rem; }
.gjw-about__main .gjw-lede { color: var(--charcoal); font-family: var(--serif); font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.6; }
.gjw-about__main h3 { margin-top: 2.5rem; }
@media (max-width: 781px) { .gjw-about__side { position: static; } }

.gjw-checks { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.gjw-checks li { position: relative; padding: .45rem 0 .45rem 1.6rem; border-bottom: 1px solid var(--line); font-size: .98rem; }
.gjw-checks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1.02rem;
	width: 9px;
	height: 5px;
	border-left: 1.5px solid var(--red);
	border-bottom: 1.5px solid var(--red);
	transform: rotate(-45deg);
}
.gjw-checks--2col { columns: 2; column-gap: 2.5rem; }
.gjw-checks--2col li { break-inside: avoid; }
@media (max-width: 600px) { .gjw-checks--2col { columns: 1; } }

.gjw-milestones { background: var(--ink); color: #fff; }
.gjw-milestones .gjw-eyebrow { color: #f0b7ba; }
.gjw-timeline {
	list-style: none;
	margin: 2.5rem 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 0;
	border-top: 1px solid rgba(255, 255, 255, .2);
}
.gjw-timeline li { padding: 1.75rem 1.75rem 0 0; position: relative; color: rgba(255, 255, 255, .75); font-size: .98rem; }
.gjw-timeline li::before {
	content: "";
	position: absolute;
	top: -5px;
	left: 0;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--red);
	box-shadow: 0 0 0 4px var(--ink);
}
.gjw-timeline strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 2rem; color: #fff; margin-bottom: .5rem; }

.gjw-edu { background: var(--paper); }
.gjw-edu h3 { margin-top: 0; margin-bottom: 1rem; }
.gjw-edu h3:not(:first-child) { margin-top: 2.5rem; }
.gjw-edu p { color: var(--charcoal); }

/* ---------- Areas page ---------- */

.gjw-area:nth-of-type(odd) { background: #fff; }
.gjw-area:nth-of-type(even) { background: var(--paper); }
.gjw-area__cols { align-items: center !important; }
.gjw-area__img { margin: 0; }
.gjw-area__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); }
.gjw-area__copy p:not(.gjw-eyebrow) { color: var(--charcoal); }
.gjw-area__copy .wp-block-buttons { margin-top: 1rem; }
@media (min-width: 782px) {
	.gjw-area--flip .gjw-area__cols { flex-direction: row-reverse; }
}
.gjw-alsoserving { text-align: center; padding-top: clamp(2.5rem, 5vw, 4rem) !important; padding-bottom: clamp(2.5rem, 5vw, 4rem) !important; border-top: 1px solid var(--line); }
.gjw-alsoserving .gjw-lede { margin: 0 auto; font-family: var(--serif); font-style: italic; }

/* ---------- Forms ---------- */

.gjw-formsection__cols { align-items: flex-start !important; }
.gjw-formsection h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }

.gjw-form {
	background: var(--paper);
	border-top: 3px solid var(--red);
	padding: clamp(1.5rem, 3.5vw, 2.5rem);
}
.gjw-form form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.gjw-field { display: flex; flex-direction: column; gap: .4rem; }
.gjw-field--full { grid-column: 1 / -1; }
@media (max-width: 560px) { .gjw-form form { grid-template-columns: 1fr; } }

.gjw-field label { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--charcoal); }
.gjw-field input,
.gjw-field select,
.gjw-field textarea {
	font: 400 1rem/1.4 var(--sans);
	color: var(--ink);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: .85rem .9rem;
	width: 100%;
	transition: border-color .15s, box-shadow .15s;
}
.gjw-field select {
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
	background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
	background-size: 5px 5px;
	background-repeat: no-repeat;
	padding-right: 2.5rem;
}
.gjw-field input:focus,
.gjw-field select:focus,
.gjw-field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(166, 20, 29, .12); }
.gjw-field textarea { resize: vertical; min-height: 110px; }

.gjw-consent label { display: flex; gap: .7rem; align-items: flex-start; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: .78rem; line-height: 1.5; color: var(--muted); }
.gjw-consent input { width: 18px; height: 18px; flex: none; margin-top: .1rem; accent-color: var(--red); padding: 0; }
.gjw-form .gjw-btn { width: 100%; padding: 1.1rem; font-size: 1rem; }

.gjw-hp { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }
.gjw-form__error { background: #fbeaea; color: var(--red-dark); padding: .9rem 1rem; border-left: 3px solid var(--red); font-size: .95rem; }
.gjw-form--sent { text-align: left; }
.gjw-form__thanks { font-family: var(--serif); font-size: 1.5rem; line-height: 1.35; }

.gjw-steps { list-style: none; counter-reset: step; margin: 1.5rem 0 1.5rem; padding: 0; }
.gjw-steps li { counter-increment: step; position: relative; padding: 0 0 1.5rem 3.5rem; color: var(--charcoal); }
.gjw-steps li::before {
	content: counter(step);
	position: absolute;
	left: 0;
	top: -.15rem;
	width: 2.3rem;
	height: 2.3rem;
	border: 1px solid var(--red);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--serif);
	color: var(--red);
}
.gjw-steps li strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: .15rem; }

.gjw-contact__item { padding: 1.25rem 0; border-top: 1px solid var(--line); margin-top: 0 !important; }
.gjw-contact__item p { margin: 0 0 .25rem; }
.gjw-contact__label { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.gjw-contact__value { font-family: var(--serif); font-size: 1.4rem; line-height: 1.35; }
.gjw-contact__value a { color: var(--ink); text-decoration: none; }
.gjw-contact__value a:hover { color: var(--red); }

/* ---------- Single property ---------- */

.gjw-property__top { max-width: 1320px; margin: 0 auto; padding: 2rem var(--gutter) clamp(3rem, 6vw, 5rem); }
.gjw-back { display: inline-block; font-size: .9rem; color: var(--muted); text-decoration: none; margin-bottom: 1.5rem; }
.gjw-back:hover { color: var(--red); }
.gjw-property__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 900px) { .gjw-property__grid { grid-template-columns: 1fr; } }
.gjw-property__media { position: relative; background: var(--stone); }
.gjw-property__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.gjw-property__facts h1 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin-bottom: .35rem; }
.gjw-property__addr { color: var(--muted); }
.gjw-property__price { font-family: var(--serif); font-size: 2.1rem; margin: 1.25rem 0 0; }
.gjw-property__price span { font-family: var(--sans); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red); vertical-align: middle; margin-left: .5rem; }
.gjw-property__specs { margin-bottom: 2rem; font-size: .92rem; }
.gjw-property__facts .gjw-btn { width: 100%; margin-bottom: .75rem; }
.gjw-property__desc { padding-top: 0; padding-bottom: var(--section); }

/* ---------- Prose pages ---------- */

.gjw-prose { max-width: 100%; }
.gjw-prose > * { max-width: 760px; }
.gjw-prose h2 { font-size: 1.6rem; margin-top: 2.25rem; }

/* ---------- Footer ---------- */

.gjw-footer { background: var(--ink); color: rgba(255, 255, 255, .72); font-size: .93rem; }
.gjw-footer a { color: rgba(255, 255, 255, .88); text-decoration: none; }
.gjw-footer a:hover { color: #fff; text-decoration: underline; }
.gjw-footer__inner {
	max-width: 1320px;
	margin: 0 auto;
	padding: clamp(3.5rem, 7vw, 5rem) var(--gutter) 3rem;
	display: grid;
	grid-template-columns: 1.3fr 1.1fr .9fr 1.1fr;
	gap: 2.5rem;
}
@media (max-width: 980px) { .gjw-footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .gjw-footer__inner { grid-template-columns: 1fr; } }
.gjw-footer__brand img { width: 200px; margin-bottom: 1.25rem; }
.gjw-footer__tag { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: rgba(255, 255, 255, .8); max-width: 17em; }
.gjw-footer__h {
	font-family: var(--sans);
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: #f0b7ba;
	margin-bottom: 1.25rem;
}
.gjw-footer__list,
.gjw-footer__nav,
.gjw-footer__creds,
.gjw-social { list-style: none; margin: 0; padding: 0; }
.gjw-footer__list li { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .85rem; }
.gjw-footer__list .gjw-icon { flex: none; margin-top: .2rem; color: var(--red); filter: brightness(1.5); }
.gjw-footer__nav li { margin-bottom: .6rem; }
.gjw-footer__creds li { margin-bottom: .9rem; line-height: 1.45; color: rgba(255, 255, 255, .88); }
.gjw-footer__creds span { color: rgba(255, 255, 255, .55); font-size: .85rem; }
.gjw-social { display: flex; gap: .5rem; margin-top: 1.25rem; }
.gjw-social a {
	display: inline-flex;
	width: 38px;
	height: 38px;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 50%;
}
.gjw-social a:hover { background: var(--red); border-color: var(--red); }
.gjw-footer__legal { border-top: 1px solid rgba(255, 255, 255, .1); }
.gjw-footer__legal-inner {
	max-width: 1320px;
	margin: 0 auto;
	padding: 1.5rem var(--gutter);
	display: flex;
	gap: 1.5rem;
	align-items: center;
	font-size: .8rem;
	color: rgba(255, 255, 255, .5);
}
.gjw-footer__legal-inner img { width: 72px; flex: none; opacity: .7; }
.gjw-footer__legal-inner p { margin: 0; }
.gjw-footer__legal a { color: rgba(255, 255, 255, .7); text-decoration: underline; }

/* ---------- Editor niceties ---------- */

.editor-styles-wrapper .gjw-hero::before,
.editor-styles-wrapper .gjw-pagehead::before { display: none; }

/* =========================================================================
   v1.1: price tiers, galleries, filters, newsletter
   ========================================================================= */

/* Every price point */
.gjw-tiers { background: #fff; border-top: 1px solid var(--line); }
.gjw-tiers > .gjw-lede { margin-bottom: 2.5rem; }
.gjw-tiers__cols { gap: clamp(1rem, 2vw, 1.5rem) !important; }
.gjw-tier {
	background: var(--paper);
	padding: 2rem 1.75rem 1.75rem;
	border-top: 3px solid var(--line);
	display: flex;
	flex-direction: column;
	transition: border-color .2s;
}
.gjw-tier:hover { border-top-color: var(--red); }
.gjw-tier:nth-child(3) { background: var(--ink); color: rgba(255, 255, 255, .8); border-top-color: var(--red); }
.gjw-tier:nth-child(3) h3 { color: #fff; }
.gjw-tier__label { font-size: .72rem !important; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 1rem !important; }
.gjw-tier:nth-child(3) .gjw-tier__label { color: #f0b7ba; }
.gjw-tier p:not([class]) { font-size: .97rem; color: var(--muted); }
.gjw-tier:nth-child(3) p:not([class]) { color: rgba(255, 255, 255, .72); }
.gjw-tier__example {
	margin-top: auto !important;
	padding-top: 1rem;
	border-top: 1px solid var(--line);
	font-size: .82rem;
	color: var(--charcoal);
	line-height: 1.5;
}
.gjw-tier:nth-child(3) .gjw-tier__example { border-top-color: rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .85); }
.gjw-tiers .wp-block-buttons { margin-top: 2rem; }

/* Cards: photo count */
.gjw-card__count {
	position: absolute;
	right: 1rem;
	bottom: 1rem;
	padding: .3rem .6rem;
	font-size: .72rem;
	font-weight: 600;
	background: rgba(23, 23, 26, .78);
	color: #fff;
}

/* Filter bar */
.gjw-filterbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.gjw-filterbar .gjw-filters { margin-bottom: 0; }
.gjw-pricefilter select {
	font: 500 .88rem var(--sans);
	padding: .6rem 2.4rem .6rem 1.1rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff linear-gradient(45deg, transparent 50%, var(--muted) 50%) no-repeat calc(100% - 18px) 52% / 5px 5px;
	appearance: none;
	color: var(--ink);
	cursor: pointer;
}
.gjw-grid__empty { grid-column: 1 / -1; padding: 2.5rem; text-align: center; background: var(--paper); color: var(--muted); }

/* Property gallery */
.gjw-gallery__main { position: relative; background: var(--stone); overflow: hidden; }
.gjw-gallery__main img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: opacity .25s; }
.gjw-gallery__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .9);
	color: var(--ink);
	font-size: 1.8rem;
	line-height: 1;
	cursor: pointer;
	box-shadow: var(--shadow);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 0 .2rem;
}
.gjw-gallery__nav:hover { background: #fff; color: var(--red); }
.gjw-gallery__nav--prev { left: 1rem; }
.gjw-gallery__nav--next { right: 1rem; }
.gjw-gallery__counter { position: absolute; right: 1rem; bottom: 1rem; background: rgba(23, 23, 26, .78); color: #fff; font-size: .78rem; font-weight: 600; padding: .3rem .65rem; }
.gjw-gallery__thumbs { list-style: none; margin: .6rem 0 0; padding: 0 0 .25rem; display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: thin; }
.gjw-gallery__thumbs button { display: block; padding: 0; border: 2px solid transparent; background: none; cursor: pointer; opacity: .65; transition: opacity .15s, border-color .15s; }
.gjw-gallery__thumbs button:hover { opacity: 1; }
.gjw-gallery__thumbs button.is-active { border-color: var(--red); opacity: 1; }
.gjw-gallery__thumbs img { width: 92px; height: 64px; object-fit: cover; }

/* Property description + details */
.gjw-property__body { background: var(--paper); border-top: 1px solid var(--line); }
.gjw-property__body-inner {
	max-width: 1320px;
	margin: 0 auto;
	padding: clamp(3rem, 6vw, 5rem) var(--gutter);
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: start;
}
@media (max-width: 900px) { .gjw-property__body-inner { grid-template-columns: 1fr; } }
.gjw-property__desc h2,
.gjw-property__details h2 { font-size: 1.6rem; margin-bottom: 1.25rem; }
.gjw-property__desc p { color: var(--charcoal); max-width: 44em; }
.gjw-property__details { background: #fff; border-top: 3px solid var(--red); padding: 1.6rem 1.6rem 1rem; }
.gjw-property__details dl { margin: 0; display: grid; grid-template-columns: auto 1fr; font-size: .93rem; }
.gjw-property__details dt,
.gjw-property__details dd { margin: 0; padding: .6rem 0; border-top: 1px solid var(--line); }
.gjw-property__details dt { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-right: 1.25rem; padding-top: .75rem; }

/* Newsletter band (above footer, every page) */
.gjw-newsband { background: var(--stone); border-top: 1px solid var(--line); }
.gjw-newsband__inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: clamp(2.75rem, 6vw, 4rem) var(--gutter);
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
	gap: clamp(1.5rem, 4vw, 4rem);
	align-items: center;
}
@media (max-width: 900px) { .gjw-newsband__inner { grid-template-columns: 1fr; } }
.gjw-newsband h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: .5rem; }
.gjw-newsband p:not(.gjw-eyebrow) { color: var(--charcoal); margin: 0; }
.gjw-newsband .gjw-eyebrow { margin-bottom: .75rem !important; }

.gjw-newsletter__fields { display: flex; gap: .6rem; flex-wrap: wrap; }
.gjw-newsletter__field { display: flex; flex-direction: column; gap: .35rem; flex: 1 1 160px; }
.gjw-newsletter__field--email { flex-basis: 220px; }
.gjw-newsletter__field span { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--charcoal); }
.gjw-newsletter input[type="text"],
.gjw-newsletter input[type="email"] {
	font: 400 1rem/1.4 var(--sans);
	padding: .85rem .9rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	width: 100%;
}
.gjw-newsletter input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(166, 20, 29, .12); }
.gjw-newsletter--band .gjw-btn { align-self: flex-end; padding: .95rem 1.5rem; }
.gjw-newsletter__fine { font-size: .78rem; color: var(--muted); margin: .75rem 0 0 !important; }
.gjw-newsletter--full { background: var(--paper); border-top: 3px solid var(--red); padding: clamp(1.5rem, 3.5vw, 2.5rem); }
.gjw-newsletter--full .gjw-btn { width: 100%; margin-top: 1.25rem; padding: 1.1rem; }
.gjw-newsletter__interests { border: 0; margin: 1.25rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1rem; }
.gjw-newsletter__interests legend { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--charcoal); margin-bottom: .6rem; }
.gjw-newsletter__interests legend span { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); }
.gjw-newsletter__interests label { display: flex; gap: .5rem; align-items: center; font-size: .95rem; }
.gjw-newsletter__interests input { accent-color: var(--red); width: 17px; height: 17px; }
@media (max-width: 480px) { .gjw-newsletter__interests { grid-template-columns: 1fr; } }
.gjw-newsletter--done { background: #fff; border-left: 3px solid var(--red); padding: 1.25rem 1.5rem; }
.gjw-newsletter__thanks { font-family: var(--serif); font-size: 1.4rem; margin-bottom: .25rem !important; }

/* Header: fit six menu items */
@media (min-width: 1081px) and (max-width: 1260px) {
	.gjw-menu { gap: 1.1rem; }
	.gjw-nav { gap: 1.1rem; }
	.gjw-menu a { font-size: .88rem; }
	.gjw-header__phone span { display: none; }
	.gjw-header__phone { padding: .7rem .8rem; }
}
.gjw-gallery__thumbs li { flex: none; }
.gjw-tiers > .gjw-lede { max-width: var(--wp--style--global--content-size) !important; padding-right: max(0px, calc(min(100%, 1180px) - 44rem)); }

/* Property previous / next */
.gjw-pager { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.gjw-pager .gjw-back { margin-bottom: 0; }
.gjw-pager__steps { display: flex; align-items: center; gap: .5rem; }
.gjw-pager__btn {
	display: inline-flex; align-items: center; gap: .35rem;
	padding: .5rem .95rem; border: 1px solid var(--line); border-radius: 999px;
	font-size: .88rem; font-weight: 500; color: var(--ink); text-decoration: none; background: #fff;
}
.gjw-pager__btn span { font-size: 1.2rem; line-height: 1; margin-top: -.1rem; }
.gjw-pager__btn:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.gjw-pager__count { font-size: .82rem; color: var(--muted); padding: 0 .35rem; white-space: nowrap; }

.gjw-nextprev { border-top: 1px solid var(--line); background: #fff; }
.gjw-nextprev__inner { max-width: 1320px; margin: 0 auto; padding: 1.5rem var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.gjw-nextprev__item { display: flex; align-items: center; gap: 1rem; padding: 1rem; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.gjw-nextprev__item:hover { border-color: var(--ink); box-shadow: var(--shadow); color: var(--ink); }
.gjw-nextprev__item--next { flex-direction: row-reverse; text-align: right; }
.gjw-nextprev__item img { width: 96px; height: 72px; object-fit: cover; flex: none; }
.gjw-nextprev__text { display: flex; flex-direction: column; min-width: 0; }
.gjw-nextprev__dir { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.gjw-nextprev__title { font-family: var(--serif); font-size: 1.15rem; line-height: 1.25; margin: .25rem 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gjw-nextprev__price { font-size: .88rem; color: var(--muted); }
@media (max-width: 640px) {
	.gjw-nextprev__inner { grid-template-columns: 1fr; }
	.gjw-nextprev__item img { width: 72px; height: 54px; }
	.gjw-pager__count { display: none; }
}

/* PARMLS disclosure */
.gjw-mls { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: .78rem; line-height: 1.55; color: var(--muted); }
.gjw-mls p { margin: 0 0 .6rem; max-width: 72em; }
.gjw-mls__source { font-size: .85rem; color: var(--charcoal); }
.gjw-property__mls { background: var(--paper); }
.gjw-property__mls .gjw-mls { max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter) 2.5rem; border-top: 0; }
.gjw-property__mls .gjw-mls::before { content: ""; display: block; border-top: 1px solid var(--line); padding-top: 1.5rem; }

/* Home page residential row: Buying Buddy widgets for Jeff's listings, then the newest listings. */
.gjw-mls__row { display: flex; gap: 24px; align-items: flex-start; opacity: 0; transition: opacity .3s; }
.gjw-mls__row.is-ready { opacity: 1; }
.gjw-mls__own { flex: var(--gjw-own, 0) 1 0; min-width: 0; }
.gjw-mls__fill { flex: var(--gjw-fill, 3) 1 0; min-width: 0; }
.gjw-mls__row:not(.has-own) .gjw-mls__own,
.gjw-mls__row.is-ready:not(.has-fill) .gjw-mls__fill { display: none; }
@media (max-width: 781px) { .gjw-mls__row { flex-direction: column; } .gjw-mls__own, .gjw-mls__fill { flex: none; width: 100%; } }
/* Residential and commercial listings read as one area: tighten the space between them. */
.gjw-mls { padding-bottom: 0 !important; }
.gjw-mls + .gjw-featured { padding-top: clamp(56px, 7vw, 88px) !important; }
/* Stats band: keep each figure on one line. On phones the sales range gets its own row. */
.gjw-stat__num { white-space: nowrap; }
@media (max-width: 781px) { .gjw-stat:last-child { grid-column: 1 / -1; } }
/* Services: keep each heading on one line. */
.gjw-service h3 { white-space: nowrap; }
/* Areas Served: three homes for sale under each town. */
.gjw-area__listings-title { margin-top: clamp(2.5rem, 5vw, 4rem) !important; margin-bottom: 1.25rem !important; }
/* Areas Served: "See listings" link at the end of a neighborhood line. */
.gjw-checks li:has(.gjw-see-listings) { display: flex; align-items: baseline; gap: 1rem; }
.gjw-see-listings { margin-left: auto; white-space: nowrap; font-size: .85rem; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--red); }
.gjw-see-listings::after { content: " \2192"; color: var(--red); display: inline-block; transition: transform .2s; }
.gjw-see-listings:hover { color: var(--red); }
.gjw-see-listings:hover::after { transform: translateX(3px); }
