/* ==========================================================================
   Ohio Based. marketing pages, blog and legal (pages.css)
   Loads after base.css on every page, so every selector here is scoped to a
   section or component that only the marketing templates print.
   Colours come from the base tokens; nothing here introduces a hex value.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Tokens added for these pages (base.css has no equivalent)
   -------------------------------------------------------------------------- */
:root {
	--pg-hero-pad: clamp(2.5rem, 1.6rem + 3.8vw, 5rem);        /* page hero block padding, 40 to 80 */
	--pg-toc-width: 232px;                                      /* legal and article section list */
	--pg-az-height: 66px;                                       /* sticky A to Z bar, for scroll offsets */
	--pg-fs-page-hero: clamp(2.375rem, 1.7rem + 2.9vw, 3.75rem); /* page hero H1, 38 to 60 */
	--pg-fs-price: clamp(2.5rem, 2.2rem + 1.2vw, 3rem);         /* price numerals */
}

/* --------------------------------------------------------------------------
   Shared pieces
   -------------------------------------------------------------------------- */
.section-action {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--space-3);
	margin-top: var(--space-6);
}

.section-header--center .lead {
	margin-inline: auto;
}

.section-header .lead {
	max-width: 56ch;
}

.split--top {
	align-items: start;
}

@media (min-width: 900px) {
	.split--wide-first {
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	}
}

/* Rich field set as an intro paragraph */
.prose--lead {
	font-size: var(--fs-lead);
	line-height: 1.6;
	color: var(--color-text-secondary);
}

.prose-links a {
	color: var(--color-primary);
	font-weight: var(--fw-semibold);
	text-decoration: underline;
}

.prose-links a:hover {
	color: var(--color-primary-hover);
}

/* Uploaded image in an illustration slot */
.media-frame {
	overflow: hidden;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-card);
}

.media-frame__image {
	width: 100%;
	height: auto;
}

/* --------------------------------------------------------------------------
   Page hero (every template except Home)
   -------------------------------------------------------------------------- */
.page-hero {
	padding-block: calc(var(--pg-hero-pad) * 0.6) var(--pg-hero-pad);
}

.page-hero .hero-content:not(.split) {
	display: grid;
	gap: var(--space-4);
}

.page-hero .hero-title--page {
	font-size: var(--pg-fs-page-hero);
}

.page-hero--center .hero-content {
	justify-items: center;
	text-align: center;
}

.page-hero--center .lead {
	max-width: 58ch;
}

.page-hero--index {
	padding-bottom: calc(var(--pg-hero-pad) * 0.6);
}

.page-hero .lead.prose-links {
	max-width: 58ch;
}

/* --------------------------------------------------------------------------
   Home: hero and search
   -------------------------------------------------------------------------- */
.home-hero {
	padding-block: clamp(3.5rem, 2.2rem + 5.4vw, 6.5rem) clamp(3rem, 2.2rem + 3.4vw, 5rem);
	background:
		radial-gradient(52rem 24rem at 50% -10rem, var(--color-primary-soft), transparent 72%),
		var(--color-surface);
}

.home-hero .hero-content {
	display: grid;
	justify-items: center;
	gap: var(--space-5);
	text-align: center;
}

.home-hero .lead {
	max-width: 60ch;
}

.hero-search {
	display: flex;
	align-items: stretch;
	width: 100%;
	max-width: 860px;
	margin-top: var(--space-3);
	padding: 6px;
	border: 2px solid var(--color-text);
	border-radius: var(--radius-card);
	background: var(--color-surface);
	box-shadow: var(--shadow-lg);
	text-align: left;
}

.hero-search__field {
	display: flex;
	flex: 1 1 0;
	align-items: center;
	gap: var(--space-3);
	min-width: 0;
	padding: var(--space-2) var(--space-4);
	border-radius: var(--radius-btn);
}

.hero-search__field--where {
	flex: 0 1 270px;
	border-left: 1px solid var(--color-border);
	border-radius: 0 var(--radius-btn) var(--radius-btn) 0;
}

.hero-search__field:focus-within {
	border-color: transparent;
	border-radius: var(--radius-btn);
	box-shadow: inset 0 0 0 2px var(--color-text), 0 0 0 5px var(--focus-ring);
}

.hero-search__icon {
	flex: none;
	width: 20px;
	height: 20px;
	color: var(--color-text-secondary);
}

.hero-search__text {
	display: grid;
	flex: 1;
	min-width: 0;
}

.hero-search__label {
	font-size: var(--fs-xs);
	font-weight: var(--fw-semibold);
	line-height: 1.4;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-text-secondary);
}

.hero-search__input {
	width: 100%;
	min-width: 0;
	padding: 2px 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	font-size: 1rem;
	line-height: 1.4;
	appearance: none;
}

.hero-search__input::placeholder {
	color: var(--color-text-secondary);
	opacity: 1;
}

.hero-search__input::-webkit-search-cancel-button {
	display: none;
}

.hero-search__input:focus,
.hero-search__input:focus-visible {
	outline: none;
	box-shadow: none;
}

.hero-search__submit {
	flex: none;
	min-width: 120px;
}

.hero-chips {
	justify-content: center;
}

@media (max-width: 699px) {
	.hero-search {
		flex-direction: column;
	}

	.hero-search__field {
		padding-block: var(--space-3);
	}

	.hero-search__field--where {
		flex: 1 1 auto;
		border-top: 1px solid var(--color-border);
		border-left: 0;
		border-radius: 0;
	}

	.hero-search__submit {
		margin-top: 6px;
	}
}

/* --------------------------------------------------------------------------
   Stats (definition list: label is first in the source, value shows on top)
   -------------------------------------------------------------------------- */
.stats-section .stat,
.review-stats-section .stat {
	display: flex;
	flex-direction: column-reverse;
	justify-content: flex-end;
}

.stats-section .stat__label,
.review-stats-section .stat__label {
	margin-top: var(--space-2);
}

.stat-row--center {
	text-align: center;
}

/* --------------------------------------------------------------------------
   Home: browse toggle panels
   -------------------------------------------------------------------------- */
.browse-panel + .browse-panel {
	margin-top: var(--space-7);
}

.browse-panel__heading {
	margin-bottom: var(--space-5);
	font-size: var(--fs-h2);
	font-weight: var(--fw-black);
	letter-spacing: -0.028em;
}

/* With JavaScript only one panel shows and the section heading names it */
.js .browse-panel__heading {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Home: featured row scroller (only when more than four are featured)
   -------------------------------------------------------------------------- */
.scroller {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: min(280px, 82%);
	gap: var(--space-5);
	padding: 4px 4px var(--space-4);
	margin: -4px;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scroll-behavior: smooth;
}

.scroller > * {
	scroll-snap-align: start;
}

@media (min-width: 1024px) {
	.scroller {
		grid-auto-columns: calc((100% - var(--space-5) * 3) / 4);
	}
}

.scroller-nav {
	display: flex;
	gap: var(--space-2);
}

.scroller-nav__button {
	position: relative;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1.5px solid var(--color-text);
	border-radius: 50%;
	background: var(--color-surface);
	transition: background-color var(--duration) var(--ease), color var(--duration) var(--ease);
}

.scroller-nav__button::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 9px;
	height: 9px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: translate(-70%, -50%) rotate(45deg);
}

.scroller-nav__button--prev::before {
	transform: translate(-30%, -50%) rotate(-135deg);
}

.scroller-nav__button:hover {
	background: var(--color-text);
	color: var(--color-on-dark);
}

.scroller-nav__button[disabled] {
	border-color: var(--color-border);
	background: var(--color-surface);
	color: var(--color-border-strong);
	cursor: default;
}

/* --------------------------------------------------------------------------
   Review link mockup (Home and Review Link page)
   -------------------------------------------------------------------------- */
.review-mockup {
	display: grid;
	gap: var(--space-4);
	padding: clamp(1.25rem, 0.8rem + 2vw, 2.5rem);
	box-shadow: var(--shadow-md);
}

.review-mockup__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-3);
	padding: var(--space-4) var(--space-4) var(--space-4) var(--space-5);
	border: 1.5px solid var(--color-text);
	border-radius: var(--radius-btn);
	background: var(--color-surface);
}

.review-mockup__url {
	min-width: 0;
	font-family: var(--font-mono);
	font-size: clamp(0.8125rem, 0.7rem + 0.5vw, 1rem);
	font-weight: var(--fw-semibold);
	line-height: 1.4;
	overflow-wrap: anywhere;
}

.review-mockup__slug {
	color: var(--color-primary);
}

.review-mockup__copy {
	flex: none;
	padding: 0.3125rem 0.75rem;
	border-radius: var(--radius-pill);
	background: var(--color-surface-tint);
	font-size: var(--fs-xs);
	font-weight: var(--fw-semibold);
	line-height: 1.3;
}

.review-mockup__tiles {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--space-3);
}

.review-mockup__tile {
	display: grid;
	justify-items: center;
	gap: var(--space-3);
	padding: var(--space-5) var(--space-2) var(--space-4);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-card);
	background: var(--color-surface);
}

.review-mockup__icon {
	width: 48px;
	height: 48px;
}

.review-mockup__tile-label {
	font-size: var(--fs-xs);
	font-weight: var(--fw-semibold);
	line-height: 1.3;
	text-align: center;
	color: var(--color-text-secondary);
}

/* --------------------------------------------------------------------------
   Illustrations (template-parts/pages/illustration.php). Token-driven SVG.
   -------------------------------------------------------------------------- */
.illustration {
	overflow: hidden;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-card);
	background: var(--color-surface-tint);
}

.illustration svg {
	width: 100%;
	height: auto;
}

.ill-bg,
.ill-tint {
	fill: var(--color-surface-tint);
}

.ill-card {
	fill: var(--color-surface);
	stroke: var(--color-border);
	stroke-width: 1.5;
}

.ill-field {
	fill: var(--color-surface);
	stroke: var(--color-text);
	stroke-width: 2;
}

.ill-field--idle {
	stroke: var(--color-star-empty);
}

.ill-line {
	fill: var(--color-star-empty);
}

.ill-ink {
	fill: var(--color-text);
}

.ill-red {
	fill: var(--color-primary);
}

.ill-soft {
	fill: var(--color-primary-soft);
}

.ill-white {
	fill: var(--color-surface);
}

.ill-ok {
	fill: var(--color-success);
}

.ill-stroke,
.ill-tick,
.ill-rule,
.ill-dash {
	fill: none;
	stroke: var(--color-text);
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.ill-tick {
	stroke: var(--color-surface);
}

.ill-rule {
	stroke: var(--color-border);
	stroke-width: 1.5;
}

.ill-dash {
	stroke: var(--color-star-empty);
	stroke-dasharray: 4 5;
}

.section--dark .illustration {
	border-color: var(--color-border-on-dark);
	background: transparent;
	box-shadow: var(--shadow-lg);
}

.section--dark .ill-bg {
	fill: var(--color-border-on-dark);
	fill-opacity: 0.55;
}

.section--dark .ill-card {
	stroke: var(--color-surface);
}

/* --------------------------------------------------------------------------
   How It Works: detailed steps and the comparison table
   -------------------------------------------------------------------------- */
.how-steps {
	counter-reset: how-step;
}

.how-step {
	counter-increment: how-step;
	padding-block: var(--space-7);
	border-bottom: 1px solid var(--color-border);
}

.how-step:first-child {
	padding-top: 0;
}

.how-step:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.how-step__numeral::before {
	content: counter(how-step, decimal-leading-zero);
	display: block;
	font-size: clamp(3.5rem, 2.7rem + 3.4vw, 5rem);
	font-weight: var(--fw-black);
	line-height: 1;
	letter-spacing: -0.045em;
	color: var(--color-primary);
	font-variant-numeric: tabular-nums;
}

.how-step__title {
	font-size: clamp(1.625rem, 1.45rem + 0.8vw, 2rem);
}

.how-step .prose {
	color: var(--color-text-secondary);
}

/* Keeps the cells' screen-reader text inside the scrolling region */
.compare-section .table-wrap {
	position: relative;
}

.compare__feature-head {
	width: 46%;
}

@media (max-width: 599px) {
	.compare-section .compare {
		min-width: 0;
		font-size: var(--fs-sm);
	}

	.compare-section .compare th,
	.compare-section .compare td {
		padding: var(--space-3) var(--space-2);
	}

	.compare-section .compare th:first-child {
		padding-left: var(--space-3);
	}

	.compare-section .compare__plan-name {
		font-size: var(--fs-sm);
	}
}

.compare .compare__plan,
.compare .compare__cell {
	text-align: center;
}

.compare__plan-name {
	display: block;
	font-size: 1rem;
	line-height: 1.3;
}

.compare__plan-sub {
	display: block;
	margin-top: 2px;
	font-size: var(--fs-xs);
	font-weight: var(--fw-medium);
	letter-spacing: 0;
	color: var(--color-text-secondary);
}

.compare .is-highlight .compare__plan-sub {
	color: var(--color-primary);
}

a.compare__plan-sub {
	text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Cards: use cases, deliverables and benefits, pricing
   -------------------------------------------------------------------------- */
.use-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-card);
	background: var(--color-surface);
}

.use-card__media .illustration,
.use-card__media .media-frame {
	border: 0;
	border-bottom: 1px solid var(--color-border);
	border-radius: 0;
}

.use-card__body {
	display: grid;
	gap: var(--space-2);
	padding: var(--space-5);
}

.use-card__title {
	font-size: var(--fs-h3);
	font-weight: var(--fw-black);
}

.use-card__text {
	font-size: 0.9375rem;
	color: var(--color-text-secondary);
}

.feature-cards {
	counter-reset: feature;
}

.feature-card {
	display: grid;
	align-content: start;
	gap: var(--space-2);
	padding: var(--space-5);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-card);
	background: var(--color-surface-alt);
	counter-increment: feature;
}

.feature-cards--white .feature-card {
	background: var(--color-surface);
}

.feature-card::before {
	content: counter(feature, decimal-leading-zero);
	margin-bottom: var(--space-2);
	font-family: var(--font-mono);
	font-size: var(--fs-xs);
	font-weight: var(--fw-bold);
	letter-spacing: 0.12em;
	color: var(--color-primary);
}

.feature-card__title {
	font-size: var(--fs-h4);
	font-weight: var(--fw-bold);
	line-height: 1.3;
}

.feature-card__text {
	font-size: 0.9375rem;
	line-height: 1.55;
	color: var(--color-text-secondary);
}

.pricing-section:focus {
	outline: none;
}

.price-cards {
	align-items: stretch;
	padding-top: var(--space-3);
}

.price-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	padding: var(--space-6) var(--space-5) var(--space-5);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-card);
	background: var(--color-surface);
}

.price-card--highlight {
	border: 2px solid var(--color-primary);
	box-shadow: var(--shadow-md);
}

.price-card__badge {
	position: absolute;
	top: 0;
	left: var(--space-5);
	background: var(--color-primary);
	color: var(--color-on-dark);
	transform: translateY(-50%);
}

.price-card__name {
	font-size: var(--fs-sm);
	font-weight: var(--fw-semibold);
	letter-spacing: 0;
	color: var(--color-text-secondary);
}

.price {
	display: inline-flex;
	align-items: baseline;
	gap: 0.25rem;
}

.price__amount {
	font-size: var(--pg-fs-price);
	font-weight: var(--fw-black);
	line-height: 1;
	letter-spacing: -0.04em;
}

.price__suffix {
	font-weight: var(--fw-medium);
	color: var(--color-text-secondary);
}

.price-fallback {
	display: inline-block;
	font-size: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
	font-weight: var(--fw-black);
	line-height: 1.2;
	letter-spacing: -0.02em;
	text-decoration: underline;
	text-decoration-color: var(--color-primary);
	text-decoration-thickness: 2px;
	text-underline-offset: 0.22em;
}

a.price-fallback:hover {
	color: var(--color-primary);
}

.price-card__descriptor {
	padding-bottom: var(--space-4);
	border-bottom: 1px solid var(--color-border);
	font-size: var(--fs-sm);
	color: var(--color-text-secondary);
}

.price-card__features {
	flex: 1;
	padding-block: var(--space-2);
	font-size: 0.9375rem;
	line-height: 1.45;
}

.price-card__action {
	margin-top: auto;
	padding-top: var(--space-3);
}

.price-card--single {
	align-items: center;
	gap: var(--space-4);
	padding: var(--space-7) var(--space-5);
	text-align: center;
}

.price-card--single .price-card__descriptor {
	padding-bottom: 0;
	border-bottom: 0;
}

.pricing-note {
	margin-top: var(--space-5);
	font-size: var(--fs-sm);
	text-align: center;
	color: var(--color-text-secondary);
}

/* --------------------------------------------------------------------------
   Featured Listings: card preview
   -------------------------------------------------------------------------- */
.featured-preview {
	display: grid;
	gap: var(--space-4);
	box-shadow: var(--shadow-md);
}

.featured-preview__card,
.featured-preview__card:hover {
	border: 2px solid var(--color-primary);
	box-shadow: none;
	transform: none;
}

.featured-preview__lines {
	display: grid;
	gap: var(--space-2);
	margin-top: var(--space-1);
}

.featured-preview__lines span {
	height: 8px;
	border-radius: 4px;
	background: var(--color-surface-tint);
}

.featured-preview__lines span:last-child {
	width: 58%;
}

/* --------------------------------------------------------------------------
   About: founder and contact block
   -------------------------------------------------------------------------- */
.founder__media {
	overflow: hidden;
	border-radius: var(--radius-card);
}

.founder__placeholder {
	aspect-ratio: 16 / 10;
	padding: var(--space-5);
}

.founder__image {
	width: 100%;
	height: auto;
}

.founder__body {
	color: var(--color-text-secondary);
}

.founder__body > p:first-child {
	color: var(--color-text);
}

.founder__signature {
	font-size: var(--fs-sm);
	font-weight: var(--fw-semibold);
}

@media (min-width: 900px) {
	.founder-content {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
	}

	.founder__placeholder {
		aspect-ratio: 4 / 5;
		max-height: 540px;
	}
}

.nap-section .section-header {
	margin-bottom: var(--space-5);
}

.nap-section .section-header h2 {
	font-size: clamp(1.5rem, 1.35rem + 0.6vw, 1.875rem);
}

.nap-list {
	display: grid;
	gap: var(--space-5);
	text-align: center;
}

.nap-list__item {
	display: grid;
	gap: var(--space-2);
}

@media (min-width: 700px) {
	.nap-list {
		grid-template-columns: repeat(var(--nap-columns, 3), minmax(0, 1fr));
	}
}

.nap-section .section-action {
	margin-top: var(--space-5);
}

/* --------------------------------------------------------------------------
   Contact: details and the Gravity Form
   -------------------------------------------------------------------------- */
.contact-list {
	display: grid;
	gap: var(--space-4);
}

.contact-list__item {
	display: grid;
	gap: var(--space-2);
	padding-bottom: var(--space-4);
	border-bottom: 1px solid var(--color-border);
}

.contact-list a,
.nap-list a {
	text-decoration: underline;
}

.contact-place {
	max-width: 440px;
	overflow: hidden;
	border-radius: var(--radius-card);
}

.contact-place .placeholder {
	padding: var(--space-5);
}

.contact-form .section-header {
	margin-bottom: var(--space-5);
}

.contact-form .section-header h2 {
	font-size: clamp(1.375rem, 1.3rem + 0.4vw, 1.625rem);
}

.contact-form .gform_wrapper form,
.contact-form .gform_body {
	margin: 0;
}

.contact-form .gform_fields {
	display: grid;
	gap: var(--space-5);
}

.contact-form .gfield {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.contact-form .gfield_label {
	display: block;
	margin-bottom: var(--space-2);
	padding: 0;
	font-size: var(--fs-sm);
	font-weight: var(--fw-semibold);
	line-height: 1.4;
}

.contact-form .gfield_required {
	margin-left: 0.35em;
	font-size: var(--fs-xs);
	font-weight: var(--fw-regular);
	color: var(--color-text-secondary);
}

/* Topic radios drawn as cards */
.contact-form .gfield_radio {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space-2);
}

.contact-form .gchoice {
	position: relative;
	min-width: 0;
}

.contact-form .gchoice input[type="radio"] {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.contact-form .gchoice label {
	display: flex;
	align-items: center;
	height: 100%;
	min-height: 48px;
	padding: 0.625rem 0.875rem;
	border: 1px solid var(--color-border-strong);
	border-radius: var(--radius-btn);
	background: var(--color-surface);
	font-size: var(--fs-sm);
	font-weight: var(--fw-medium);
	line-height: 1.3;
	cursor: pointer;
	transition: border-color var(--duration) var(--ease), background-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.contact-form .gchoice:hover label {
	border-color: var(--color-text);
}

.contact-form .gchoice input:checked + label {
	border-color: var(--color-primary);
	background: var(--color-primary-soft);
	box-shadow: inset 0 0 0 1px var(--color-primary);
	font-weight: var(--fw-semibold);
}

.contact-form .gchoice input:focus-visible + label {
	outline: 2px solid var(--color-text);
	outline-offset: 2px;
	box-shadow: 0 0 0 5px var(--focus-ring);
}

.contact-form .gchoice input:checked:focus-visible + label {
	box-shadow: inset 0 0 0 1px var(--color-primary), 0 0 0 5px var(--focus-ring);
}

/* The honeypot and other hidden plumbing must never show */
.contact-form .gform_validation_container,
.contact-form .gfield--type-honeypot,
.contact-form .gfield_visibility_hidden,
.contact-form .gform_hidden,
.contact-form .gform_required_legend,
.contact-form .gform_heading:empty {
	display: none !important;
}

.contact-form .gform_footer,
.contact-form .gform-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-3);
	margin-top: var(--space-5);
	padding: 0;
}

.contact-form .gfield_error input,
.contact-form .gfield_error textarea {
	border-color: var(--color-error);
	box-shadow: inset 0 0 0 1px var(--color-error);
}

.contact-form .validation_message,
.contact-form .gfield_validation_message {
	margin-top: var(--space-2);
	font-size: var(--fs-sm);
	font-weight: var(--fw-medium);
	line-height: 1.5;
	color: var(--color-error);
}

.contact-form .gform-validation-summary,
.contact-form .gform_validation_errors,
.contact-form .validation_error {
	margin-bottom: var(--space-5);
}

.contact-form .gform_validation_errors:focus {
	outline: none;
}

.contact-form .gform_ajax_spinner,
.contact-form .gform-loader {
	width: 20px;
	height: 20px;
}

.contact-form .gform_confirmation_message:focus {
	outline: none;
}

@media (max-width: 379px) {
	.contact-form .gfield_radio {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* --------------------------------------------------------------------------
   FAQ page
   -------------------------------------------------------------------------- */
.faq-group__heading {
	margin-bottom: var(--space-4);
	font-family: var(--font-mono);
	font-size: var(--fs-sm);
	font-weight: var(--fw-bold);
	line-height: 1.4;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-primary);
}

.faq-group__card {
	padding-inline: clamp(0.75rem, 0.4rem + 1.5vw, 1.5rem);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-card);
	background: var(--color-surface);
}

.faq-group__card .accordion {
	border-top: 0;
}

.faq-group__card .accordion__item:last-child {
	border-bottom: 0;
}

.still-content {
	display: grid;
	justify-items: center;
	gap: var(--space-4);
	text-align: center;
}

.still-content h2 {
	font-size: clamp(1.5rem, 1.35rem + 0.6vw, 1.875rem);
}

/* --------------------------------------------------------------------------
   Categories index: sticky A to Z bar and letter groups
   -------------------------------------------------------------------------- */
.az-bar {
	position: sticky;
	top: var(--header-height);
	z-index: 50;
	border-block: 1px solid var(--color-border);
	background: var(--color-surface-alt);
}

.admin-bar .az-bar {
	top: calc(var(--header-height) + 32px);
}

@media (max-width: 782px) {
	.admin-bar .az-bar {
		top: calc(var(--header-height) + 46px);
	}
}

@media (max-width: 600px) {
	.admin-bar .az-bar {
		top: var(--header-height);
	}
}

.az-bar__list {
	display: flex;
	gap: 6px;
	padding-block: var(--space-3);
	overflow-x: auto;
	scrollbar-width: none;
}

.az-bar__list::-webkit-scrollbar {
	display: none;
}

/* Centres the row when it fits and keeps the first letter reachable when it scrolls */
.az-bar__list > :first-child {
	margin-left: auto;
}

.az-bar__list > :last-child {
	margin-right: auto;
}

.az-bar__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--color-border-strong);
	border-radius: var(--radius-btn);
	background: var(--color-surface);
	font-size: var(--fs-sm);
	font-weight: var(--fw-bold);
	text-decoration: none;
	transition: background-color var(--duration) var(--ease), border-color var(--duration) var(--ease), color var(--duration) var(--ease);
}

.az-bar__link:hover {
	border-color: var(--color-text);
	background: var(--color-text);
	color: var(--color-on-dark);
}

.az-bar__link[aria-current="true"] {
	border-color: var(--color-primary);
	background: var(--color-primary);
	color: var(--color-on-dark);
}

.az-bar__link:focus-visible {
	outline-offset: -2px;
	box-shadow: none;
}

.az-section {
	padding-top: var(--space-7);
}

.az-group {
	scroll-margin-top: var(--pg-az-height);
}

.az-group:focus {
	outline: none;
}

.az-group + .az-group {
	margin-top: var(--space-7);
}

.az-group__header {
	display: flex;
	align-items: baseline;
	gap: var(--space-4);
	margin-bottom: var(--space-4);
	padding-bottom: var(--space-3);
	border-bottom: 1px solid var(--color-border);
}

.az-group__letter {
	font-size: 2rem;
	line-height: 1;
	color: var(--color-primary);
}

.az-group__grid {
	--grid-gap: var(--space-3);
}

.category-cell--white {
	min-height: 60px;
	background: var(--color-surface);
}

/* --------------------------------------------------------------------------
   Section list beside long text (legal pages and blog articles)
   -------------------------------------------------------------------------- */
.doc-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--space-6);
}

.doc-toc {
	align-self: start;
	padding: var(--space-4) var(--space-5);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-card);
	background: var(--color-surface-alt);
}

.doc-toc__heading {
	margin-bottom: var(--space-3);
}

.doc-toc__list {
	display: grid;
	gap: 0;
}

/* The rail is each link's own left border, so the active marker needs no negative margin */
.doc-toc__link {
	display: block;
	padding: calc(0.375rem + 1px) 0 calc(0.375rem + 1px) var(--space-3);
	border-left: 2px solid var(--color-border);
	font-size: var(--fs-sm);
	line-height: 1.4;
	color: var(--color-text-secondary);
	text-decoration: none;
}

.doc-toc__link:hover {
	color: var(--color-text);
}

.doc-toc__link[aria-current="true"] {
	border-left-color: var(--color-primary);
	color: var(--color-text);
	font-weight: var(--fw-semibold);
}

.doc-toc__link:focus-visible {
	outline-offset: -2px;
	box-shadow: none;
}

.doc-body {
	min-width: 0;
}

@media (min-width: 960px) {
	.doc-layout {
		grid-template-columns: var(--pg-toc-width) minmax(0, var(--container-text));
		gap: var(--space-8);
	}

	/* Long documents: the list scrolls inside itself and never runs off the screen */
	.doc-toc {
		position: sticky;
		top: calc(var(--header-height) + var(--space-5));
		max-height: calc(100vh - var(--header-height) - var(--space-7));
		padding: 0 var(--space-2) 0 0;
		overflow-y: auto;
		border: 0;
		border-radius: 0;
		background: transparent;
		overscroll-behavior: contain;
	}

	/* The toolbar pushes the sticky header down 32px for signed-in administrators */
	.admin-bar .doc-toc {
		top: calc(var(--header-height) + var(--space-5) + 32px);
		max-height: calc(100vh - var(--header-height) - var(--space-7) - 32px);
	}
}

.legal-hero {
	padding-bottom: var(--space-6);
}

.legal-date {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: var(--space-2) var(--space-3);
	color: var(--color-text-secondary);
}

/* --------------------------------------------------------------------------
   Blog index
   -------------------------------------------------------------------------- */
.chip-bar {
	border-block: 1px solid var(--color-border);
	background: var(--color-surface-alt);
}

.chip-bar__list {
	flex-wrap: nowrap;
	padding-block: var(--space-3);
	overflow-x: auto;
	scrollbar-width: none;
}

.chip-bar__list::-webkit-scrollbar {
	display: none;
}

.chip-bar__list .chip {
	white-space: nowrap;
}

.chip-bar__list .chip:focus-visible {
	outline-offset: -2px;
	box-shadow: none;
}

.blog-section {
	padding-top: var(--space-7);
}

.post-media {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--color-surface-tint);
}

.post-media__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Designed stand-in for an article with no image: the category set large */
.post-media__placeholder {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	padding: clamp(1rem, 6cqi, 2rem);
	background: var(--color-surface-tint);
	color: var(--color-text);
}

.post-media {
	container-type: inline-size;
}

.post-media__mark {
	width: clamp(20px, 7cqi, 36px);
	height: clamp(20px, 7cqi, 36px);
	border-radius: var(--radius-btn);
	background: var(--color-primary);
}

.post-media__label {
	max-width: 12ch;
	font-size: clamp(1.25rem, 9.5cqi, 3.25rem);
	font-weight: var(--fw-black);
	line-height: 1;
	letter-spacing: -0.035em;
}

.post-media__label::after {
	content: ".";
	color: var(--color-primary);
}

.post-feature .post-media__placeholder {
	background: var(--color-dark);
	color: var(--color-on-dark);
}

.post-feature {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	overflow: hidden;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-card);
	background: var(--color-surface);
	transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.post-feature:hover {
	border-color: var(--color-text);
	box-shadow: var(--shadow-md);
}

.post-feature__body {
	justify-content: center;
	padding: clamp(1.5rem, 1rem + 2.2vw, 2.5rem);
}

.post-feature__title {
	font-size: clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
	line-height: 1.15;
}

.post-feature__excerpt {
	color: var(--color-text-secondary);
}

@media (min-width: 900px) {
	.post-feature {
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	}

	.post-feature__media {
		aspect-ratio: auto;
		min-height: 340px;
	}
}

.post-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
	min-width: 0;
}

.post-card__media {
	border: 1px solid var(--color-border);
	border-radius: var(--radius-card);
	transition: border-color var(--duration) var(--ease);
}

.post-card:hover .post-card__media {
	border-color: var(--color-text);
}

.post-card__body {
	display: grid;
	gap: var(--space-2);
}

.post-card__title {
	font-size: 1.1875rem;
	font-weight: var(--fw-bold);
	line-height: 1.3;
	letter-spacing: -0.012em;
}

.post-card__link {
	text-decoration: none;
}

.post-card__link::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: var(--radius-card);
}

.post-card:hover .post-card__link,
.post-feature:hover .post-card__link {
	color: var(--color-primary);
}

.post-card__link:focus-visible {
	outline: none;
	box-shadow: none;
}

.post-card__link:focus-visible::after {
	outline: 2px solid var(--color-text);
	outline-offset: 2px;
	box-shadow: 0 0 0 5px var(--focus-ring);
}

.post-card__excerpt {
	font-size: 0.9375rem;
	line-height: 1.55;
	color: var(--color-text-secondary);
}

.byline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-2);
	font-size: var(--fs-sm);
	color: var(--color-text-secondary);
}

.byline__avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin-right: var(--space-1);
	border-radius: 50%;
	background: var(--color-text);
	color: var(--color-on-dark);
	font-size: var(--fs-xs);
	font-weight: var(--fw-bold);
	letter-spacing: 0.02em;
}

.blog-empty {
	padding: var(--space-7) var(--space-5);
	border: 1px dashed var(--color-border-strong);
	border-radius: var(--radius-card);
	background: var(--color-surface);
	text-align: center;
	color: var(--color-text-secondary);
}

/* --------------------------------------------------------------------------
   Blog article
   -------------------------------------------------------------------------- */
.article-header {
	padding-block: calc(var(--pg-hero-pad) * 0.6) var(--space-6);
}

.article-header h1 {
	font-size: clamp(2rem, 1.5rem + 2.3vw, 3rem);
}

.article-hero {
	padding-bottom: var(--space-6);
}

.article-hero__image {
	width: 100%;
	height: auto;
	border-radius: var(--radius-card);
}

/* Article with no featured image: the article-card panel at hero width */
.article-hero__placeholder {
	aspect-ratio: 16 / 9;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-card);
}

@media (min-width: 700px) {
	.article-hero__placeholder {
		aspect-ratio: 21 / 9;
	}
}

.container--article {
	max-width: calc(var(--pg-toc-width) + var(--space-8) + var(--container-text) + var(--gutter) * 2);
}

.prose--article > p:first-child {
	font-size: var(--fs-lead);
	font-weight: var(--fw-medium);
	line-height: 1.55;
}

.article-cta {
	display: grid;
	justify-items: start;
	gap: var(--space-3);
	margin-block: 2.5em;
}

.article-cta__heading {
	font-size: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
	font-weight: var(--fw-bold);
	line-height: 1.25;
	letter-spacing: -0.015em;
}

.related-section .section-header h2 {
	font-size: clamp(1.375rem, 1.3rem + 0.4vw, 1.625rem);
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	.scroller {
		scroll-behavior: auto;
	}

	.post-feature,
	.post-card__media,
	.az-bar__link,
	.scroller-nav__button,
	.contact-form .gchoice label {
		transition: none;
	}
}

/* --------------------------------------------------------------------------
   Late adjustments
   -------------------------------------------------------------------------- */
.gbp-hero {
	padding-block: var(--pg-hero-pad);
}

.contact-form .gfield textarea {
	height: 160px;
	min-height: 140px;
}

/* Buttons inside article text keep their button colours */
.prose .btn {
	font-weight: var(--fw-semibold);
	text-decoration: none;
}

.prose .btn--on-dark,
.prose .btn--on-dark:hover {
	color: var(--color-text);
}

.prose .btn--primary,
.prose .btn--primary:hover {
	color: var(--color-on-dark);
}

/* --------------------------------------------------------------------------
   Touch targets: 44px hit areas on phones, tablets and coarse pointers
   -------------------------------------------------------------------------- */
@media (max-width: 959px), (pointer: coarse) {
	:root {
		--pg-az-height: 70px;
	}

	.az-bar__link {
		width: 44px;
		height: 44px;
	}

	.doc-toc__link {
		display: flex;
		align-items: center;
		min-height: 44px;
	}

	/* The field keeps its height: the input grows into the padding it replaces */
	.hero-search__field {
		padding-block: 2px;
	}

	.hero-search__input {
		min-height: 44px;
	}

	a.compare__plan-sub {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
	}
}

/* ==========================================================================
   Home: photo hero (markup in front-page.php, data in inc/hero.php)
   The section has a fixed minimum height and a dark fallback colour, so
   nothing moves when the photo arrives.
   ========================================================================== */
:root {
	--pg-hero-min: clamp(720px, 80vh, 860px);            /* photo hero height on desktop */
	--pg-hero-fade: 1200ms;                              /* crossfade between photos */
	--pg-hero-scrim-fallback: rgba(14, 14, 14, 0.66);    /* footer colour, for browsers without color-mix() */
	--pg-stats-lift: 3.5rem;                             /* how far the card over the hero's foot rises into it: half its height */
}

.home-hero--photo {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	min-height: var(--pg-hero-min);
	padding-block: var(--space-8);
	overflow: hidden;
	background: var(--color-dark);
	color: var(--color-on-dark);
}

.home-hero--photo > .container {
	position: relative;
}

.home-hero__media,
.home-hero__scrim {
	position: absolute;
	inset: 0;
}

.home-hero__media {
	z-index: -2;
}

.home-hero__slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	opacity: 0;
	transition: opacity var(--pg-hero-fade) ease;
}

.home-hero__slide.is-active {
	opacity: 1;
}

/* One even scrim, strength from the hero_overlay field (58 to 90 percent) */
.home-hero__scrim {
	z-index: -1;
	background: var(--pg-hero-scrim-fallback);
	background: color-mix(in srgb, var(--color-footer) var(--hero-overlay, 64%), transparent);
}

.home-hero--photo .eyebrow,
.home-hero--photo .lead,
.home-hero--photo .chips__label {
	color: var(--color-on-dark);
}

.home-hero--photo .hero-title {
	color: var(--color-on-dark);
}

/* Second headline line: the soft brand tint, solid, so it holds on every photo */
.home-hero--photo .hero-title__alt {
	color: var(--color-primary-soft);
}

.home-hero--photo .chips__label {
	font-weight: var(--fw-semibold);
}

.home-hero--photo .hero-search {
	border-color: var(--color-surface);
}

.home-hero--photo .chip {
	border-color: var(--color-surface);
	background: var(--color-surface);
	color: var(--color-text);
	font-weight: var(--fw-semibold);
}

.home-hero--photo a.chip:hover {
	border-color: var(--color-primary);
	background: var(--color-primary);
	color: var(--color-on-dark);
}

.home-hero--photo .chip:focus-visible,
.home-hero--photo .btn:focus-visible,
.home-hero__toggle:focus-visible {
	outline-color: var(--color-on-dark);
	box-shadow: 0 0 0 5px var(--focus-ring-on-dark);
}

.home-hero--photo .hero-search__field:focus-within {
	box-shadow: inset 0 0 0 2px var(--color-text), inset 0 0 0 5px var(--focus-ring);
}

/* A little more darkness along the foot, behind the place name and controls */
.home-hero__scrim::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 40%;
	background: linear-gradient(0deg, color-mix(in srgb, var(--color-footer) 62%, transparent), transparent);
}

/* Bottom bar: place name on the left, photo controls on the right */
.home-hero__bar {
	position: absolute;
	right: 0;
	bottom: var(--space-4);
	left: 0;
	z-index: 1;
}

.home-hero--has-card .home-hero__bar {
	bottom: calc(var(--pg-stats-lift) + var(--space-4));
}

.home-hero__bar-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-3) var(--space-4);
}

.home-hero__caption {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px var(--space-3);
	min-width: 0;
	color: var(--color-on-dark);
}

.home-hero__place {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	font-size: 0.9375rem;
	font-weight: var(--fw-semibold);
	line-height: 1.3;
}

.home-hero__pin {
	flex: none;
	width: 16px;
	height: 16px;
}

.home-hero__pin-dot {
	fill: var(--color-primary);
}

.home-hero__credit {
	font-size: var(--fs-xs);
	line-height: 1.4;
}

/* Dots and pause read as one unit: a solid dark pill, so their contrast
   never depends on the photo behind */
.home-hero__controls {
	display: inline-flex;
	align-items: center;
	margin-left: auto;
	padding-left: 4px;
	border: 1.5px solid var(--color-on-dark);
	border-radius: var(--radius-pill);
	background: var(--color-footer);
	color: var(--color-on-dark);
}

/* The bottom bar runs the full width of the photo, not the content column: the place name
   sits at the far left edge and the controls at the far right. */
.home-hero__bar-inner.container {
	max-width: none;
}

/* Each dot is a 44px target around a 10px mark */
.home-hero__dot {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: var(--radius-pill);
	background: transparent;
	color: inherit;
}

.home-hero__dot-mark {
	width: 10px;
	height: 10px;
	border-radius: var(--radius-pill);
	background: currentColor;
	opacity: 0.5;
	transition: opacity var(--duration) var(--ease);
}

.home-hero__dot:hover .home-hero__dot-mark {
	opacity: 0.85;
}

.home-hero__dot[aria-current="true"] .home-hero__dot-mark {
	width: 26px;
	opacity: 1;
}

.home-hero__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 44px;
	padding: 0;
	border: 0;
	border-left: 1px solid var(--color-border-on-dark);
	border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
	background: transparent;
	color: inherit;
	transition: background-color var(--duration) var(--ease), color var(--duration) var(--ease);
}

.home-hero__toggle:hover {
	background: var(--color-on-dark);
	color: var(--color-text);
}

.home-hero__dot:focus-visible,
.home-hero__toggle:focus-visible {
	outline: 2px solid var(--color-on-dark);
	outline-offset: -5px;
	box-shadow: none;
}

.home-hero__toggle-icon {
	position: relative;
	width: 12px;
	height: 14px;
}

.home-hero__toggle-icon::before,
.home-hero__toggle-icon::after {
	content: "";
	position: absolute;
	top: 0;
	width: 4px;
	height: 14px;
	border-radius: 1px;
	background: currentColor;
}

.home-hero__toggle-icon::before {
	left: 0;
}

.home-hero__toggle-icon::after {
	right: 0;
}

.home-hero__toggle[data-state="paused"] .home-hero__toggle-icon::before {
	left: 2px;
	width: 0;
	height: 0;
	border-block: 7px solid transparent;
	border-left: 11px solid currentColor;
	border-radius: 0;
	background: transparent;
}

.home-hero__toggle[data-state="paused"] .home-hero__toggle-icon::after {
	display: none;
}

@media (max-width: 699px) {
	.home-hero--photo {
		align-items: flex-start;
		min-height: 0;
		padding-top: var(--space-6);
	}

	/* Room for the place name row and the controls row above the card */
	.home-hero--photo,
	.home-hero--photo.home-hero--has-card {
		padding-bottom: calc(var(--pg-stats-lift) + 11rem);
	}

	.home-hero--photo .hero-content {
		gap: var(--space-4);
	}

	.home-hero--photo .hero-title {
		font-size: clamp(2.125rem, 1.2rem + 4.4vw, 2.5rem);
	}

	.home-hero--photo .lead {
		font-size: 1rem;
		line-height: 1.5;
	}

	.home-hero--photo .hero-search {
		margin-top: 0;
	}
}

/* The call-to-action card straddles the hero's bottom edge: half over the
   photo, half over the page. Its section is pulled up by --pg-stats-lift and
   the hero carries the same extra bottom padding (plus room for the bottom
   bar), so nothing in the hero ever sits under the card. */
.home-hero--photo {
	padding-bottom: calc(var(--space-8) + var(--space-5));
}

.home-hero--photo.home-hero--has-card {
	padding-bottom: calc(var(--space-8) + var(--space-5) + var(--pg-stats-lift));
}

.hero-cta-section {
	position: relative;
	z-index: 2;
}

.home-hero--photo.home-hero--has-card + .hero-cta-section {
	margin-top: calc(var(--pg-stats-lift) * -1);
}

.hero-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-4) var(--space-6);
	padding: var(--space-5) var(--space-6);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-card);
	background: var(--color-surface);
	box-shadow: var(--shadow-lg);
}

.hero-cta__copy {
	min-width: 0;
}

.hero-cta__heading {
	font-size: clamp(1.375rem, 1.15rem + 1vw, 1.875rem);
	line-height: 1.15;
}

.hero-cta__text {
	margin-top: var(--space-1);
	color: var(--color-text-secondary);
}

.hero-cta__button {
	flex: none;
	min-width: 190px;
}

@media (max-width: 699px) {
	:root {
		--pg-stats-lift: 5.5rem;
	}

	.hero-cta {
		flex-direction: column;
		align-items: stretch;
		padding: var(--space-5);
		text-align: center;
	}

	.hero-cta__button {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.home-hero__slide {
		transition: none;
	}

	.home-hero__toggle {
		display: none;
	}
}

/* ==========================================================================
   Home: refinements that go with the photo hero
   ========================================================================== */

/* A short red rule before each section label, echoing the red in the logo */
.home .section-header .eyebrow {
	display: flex;
	align-items: center;
	gap: var(--space-3);
}

.home .section-header .eyebrow::before {
	content: "";
	flex: none;
	width: 20px;
	height: 2px;
	background: var(--color-primary);
}

.home .section-header--center .eyebrow {
	justify-content: center;
}

/* Photos in the city cards sit under a light scrim so they match the dark placeholders */
.home .browse-section .city-card__media {
	position: relative;
}

.home .faq-section .faq-group__card {
	box-shadow: var(--shadow-sm);
}

/* City photos take a foot-weighted scrim so they sit with the dark placeholders beside them */
.home .browse-section .city-card__media:has(img)::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, color-mix(in srgb, var(--color-footer) 18%, transparent) 0%, color-mix(in srgb, var(--color-footer) 62%, transparent) 100%);
	pointer-events: none;
}

/* ==========================================================================
   Home: seasonal spotlight (template-parts/pages/seasonal.php)
   ========================================================================== */
:root {
	--pg-season-gold: #d9a441;   /* supporting tone for the season illustrations: field, sun, lit window */
	--pg-season-sage: #8a9c7c;   /* supporting tone for the season illustrations: hills and trees */
	--pg-season-art: 150px;      /* illustration panel on wide screens */
}

/* A white section that takes no turn in the surface alternation: the banner
   is its own warm, bordered card. Under the white, shadowed claim card that
   difference in surface, plus a clear gap, keeps the two from reading as one
   repeated element. The next section brings its own top padding. */
.seasonal-section {
	padding-block: var(--space-8) 0;
}

@media (max-width: 699px) {
	.seasonal-section {
		padding-top: var(--space-7);
	}
}

.seasonal-card {
	display: flex;
	align-items: center;
	gap: var(--space-5) var(--space-6);
	padding: var(--space-5);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-card);
	background: var(--color-surface-alt);
}

/* On the warm band the banner card itself is white, so its edge still reads */
.section--alt .seasonal-card {
	background: var(--color-surface);
}

.seasonal-card__art {
	flex: none;
	width: var(--pg-season-art);
	aspect-ratio: 1;
	overflow: hidden;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-card);
	background: var(--color-surface-tint);
}

.seasonal-card__art .season-art,
.seasonal-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.seasonal-card__body {
	display: grid;
	gap: var(--space-2);
	min-width: 0;
}

.seasonal-card__heading {
	font-size: clamp(1.375rem, 1.15rem + 1vw, 1.875rem);
	line-height: 1.15;
}

.seasonal-card__text {
	max-width: 68ch;
	color: var(--color-text-secondary);
}

.seasonal-card__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-3) var(--space-5);
	margin-top: var(--space-3);
}

.seasonal-card__link {
	min-height: 44px;
}

@media (max-width: 640px) {
	:root {
		--pg-season-art: 88px;
	}

	.seasonal-card {
		flex-direction: column;
		align-items: flex-start;
		gap: var(--space-4);
	}

	.seasonal-card__actions {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
	}

	.seasonal-card__button {
		width: 100%;
	}

	.seasonal-card__link {
		justify-content: center;
	}
}

/* Season illustration fills */
.sa-sky {
	fill: var(--color-surface-tint);
}

.sa-ink {
	fill: var(--color-text);
}

.sa-red {
	fill: var(--color-primary);
}

.sa-white {
	fill: var(--color-surface);
}

.sa-gold {
	fill: var(--pg-season-gold);
}

.sa-sage {
	fill: var(--pg-season-sage);
}

.sa-sage.sa-deep {
	fill: color-mix(in srgb, var(--pg-season-sage) 78%, var(--color-text));
}

.sa-line,
.sa-rule {
	fill: none;
	stroke: var(--color-text);
	stroke-width: 1.5;
	stroke-linecap: round;
}

.sa-line--light {
	stroke: var(--color-surface);
}

.sa-rule {
	stroke: var(--color-surface);
	stroke-opacity: 0.55;
}

/* Small screens: the hero keeps room under the chips for the place name row
   and the controls row, both above the overlapping card. (Placed last so it
   wins over the wide-screen padding rules above.) */
@media (max-width: 699px) {
	.home-hero--photo,
	.home-hero--photo.home-hero--has-card {
		padding-bottom: calc(var(--pg-stats-lift) + 8rem);
	}

	.home-hero--photo:not(.home-hero--has-card) {
		padding-bottom: 8rem;
	}
}


/* ==========================================================================
   Home: featured listings. A carousel of cards, then one large listing.
   (template-parts/pages/home-featured.php and featured-lead.php.) The red
   border, tint, pill and star come from the directory's business card
   styles; only the row, the layout and the larger type are set here.
   ========================================================================== */
:root {
	--pg-row-gap: var(--space-5);   /* gap between carousel cards */
	--pg-row-show: 1.15;            /* cards in view: a peek of the next one on phones */
}

@media (min-width: 600px) {
	:root {
		--pg-row-show: 2;
	}
}

@media (min-width: 900px) {
	:root {
		--pg-row-show: 3;
	}
}

@media (min-width: 1200px) {
	:root {
		--pg-row-show: 4;
	}
}

.featured-tools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: var(--space-3) var(--space-5);
}

/* The "all featured" link: in the header on wide screens, under the row on phones */
.featured-more--head {
	display: none;
}

.featured-more--foot {
	margin-top: var(--space-2);
}

.featured-more .link-arrow,
a.featured-more {
	min-height: 44px;
}

@media (min-width: 800px) {
	a.featured-more--head {
		display: inline-flex;
	}

	.featured-more--foot {
		display: none;
	}
}

/* The row scrolls inside itself; the page never does. Vertical swipes pass
   through to the page, and a sideways swipe never triggers browser back. */
.featured-row {
	/* No negative margin: 2px of padding holds the cards' 1px edge, and focus rings are drawn inside the card (below) */
	padding: 2px 2px var(--space-3);
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x proximity;
	scroll-padding-inline: 2px;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
}

.featured-row:focus-visible {
	outline-offset: -2px;
	box-shadow: none;
}

/* Inside the scroller a card's focus ring sits within its own edge, so the row never clips it */
.featured-row .business-card__link:focus-visible::after {
	outline: 2px solid var(--color-text);
	outline-offset: -3px;
	box-shadow: inset 0 0 0 7px var(--focus-ring);
}

.featured-row__list {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - var(--pg-row-gap) * (var(--pg-row-show) - 1)) / var(--pg-row-show));
	gap: var(--pg-row-gap);
}

.featured-row__item {
	display: flex;
	min-width: 0;
	scroll-snap-align: start;
}

.featured-row__item > .business-card {
	flex: 1;
}

@media (max-width: 599px) {
	:root {
		--pg-row-gap: var(--space-4);
	}

	/* One card and a peek: the peek comes out of the last column, not a gap */
	.featured-row__list {
		grid-auto-columns: calc(100% / var(--pg-row-show));
	}
}

.featured-row + .featured-lead,
.featured-more--foot + .featured-lead {
	margin-top: var(--space-6);
}

/* The large listing: image beside details, stacked on tablets and phones */
.featured-lead {
	flex-direction: column;
}

.featured-lead:hover {
	transform: none;
}

.featured-lead__media {
	aspect-ratio: 16 / 9;
}

.featured-lead__body {
	gap: var(--space-3);
	padding: var(--space-5);
}

.featured-lead__label {
	color: var(--color-primary);
	font-weight: var(--fw-bold);
}

.featured-lead__title {
	font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.25rem);
	font-weight: var(--fw-black);
	line-height: 1.12;
	letter-spacing: -0.025em;
}

.featured-lead .business-card__meta {
	font-size: 1rem;
}

.featured-lead__tagline {
	font-size: var(--fs-lead);
	font-weight: var(--fw-semibold);
	line-height: 1.4;
}

.featured-lead__summary {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	line-clamp: 4;
	line-height: 1.55;
	color: var(--color-text-tint);
}

.featured-lead__contact {
	display: flex;
	flex-wrap: wrap;
	gap: 0 var(--space-5);
	font-size: 0.9375rem;
	font-weight: var(--fw-semibold);
}

/* Links inside the card sit above its stretched name link */
.featured-lead__contact-link,
.featured-lead__button {
	position: relative;
	z-index: 1;
}

.featured-lead__contact-link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	text-decoration: underline;
	overflow-wrap: anywhere;
}

.featured-lead__contact-link:hover {
	color: var(--color-primary);
}

.featured-lead__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
	margin-top: auto;
	padding-top: var(--space-2);
}

@media (min-width: 769px) {
	.featured-lead {
		display: grid;
		grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
		align-items: stretch;
	}

	.featured-lead__media {
		min-height: 340px;
		aspect-ratio: auto;
	}

	.featured-lead__body {
		justify-content: center;
		padding: clamp(1.5rem, 0.6rem + 2.4vw, 3rem);
	}

	.featured-lead__actions {
		margin-top: var(--space-2);
	}
}

@media (max-width: 479px) {
	.featured-lead__actions .btn {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.featured-row {
		scroll-behavior: auto;
	}
}

/* ==========================================================================
   Home: the closing band above the footer. "Get listed in 3 steps" inside
   the shared final CTA band (template-parts/pages/home-closing.php). The red
   band itself is styled by the .final-cta rules in base.css.
   ========================================================================== */
:root {
	--pg-on-primary-rule: rgba(255, 255, 255, 0.7);   /* hairlines on Ohio Red: 3.58 against it */
}

.closing-section {
	padding-block: var(--section-pad);
}

.closing-section .closing__eyebrow,
.closing-section .closing__sub {
	color: var(--color-on-dark);
}

.closing-steps {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	margin-top: var(--space-7);
	counter-reset: closing-step;
	text-align: left;
}

/* Stacked: a hairline between steps, nothing boxed */
.closing-step {
	padding-block: var(--space-5);
	border-bottom: 1px solid var(--pg-on-primary-rule);
	counter-increment: closing-step;
}

.closing-step:first-child {
	padding-top: 0;
}

.closing-step:last-child {
	border-bottom: 0;
}

.closing-step::before {
	content: counter(closing-step, decimal-leading-zero);
	display: block;
	margin-bottom: var(--space-3);
	font-size: var(--fs-numeral);
	font-weight: var(--fw-black);
	line-height: 1;
	letter-spacing: -0.04em;
	color: var(--color-on-dark);
	font-variant-numeric: tabular-nums;
}

.closing-step__title {
	margin-bottom: var(--space-2);
	font-size: var(--fs-h3);
	font-weight: var(--fw-bold);
	line-height: 1.25;
	letter-spacing: -0.015em;
	color: var(--color-on-dark);
}

.closing-step__text {
	color: var(--color-on-dark);
}

.closing__action {
	display: flex;
	justify-content: center;
	margin-top: var(--space-6);
}

.closing__action .final-cta__button {
	margin-top: 0;
}

@media (min-width: 769px) {
	.closing-steps {
		grid-template-columns: repeat(var(--closing-columns, 3), minmax(0, 1fr));
	}

	/* Side by side: the hairlines run between the columns instead */
	.closing-step {
		padding: 0 var(--space-6);
		border-bottom: 0;
		border-left: 1px solid var(--pg-on-primary-rule);
	}

	.closing-step:first-child {
		padding-left: 0;
		border-left: 0;
	}

	.closing-step:last-child {
		padding-right: 0;
	}
}

@media (max-width: 479px) {
	.closing__action .btn {
		width: 100%;
	}
}

/* ==========================================================================
   Home: monthly picks (template-parts/pages/home-monthly.php). A dark band
   with eight white category cards, each one link.
   ========================================================================== */
.monthly-section .section-header h2,
.monthly-section .section-header .lead {
	color: var(--color-on-dark);
}

.home .monthly-section .section-header .eyebrow::before {
	background: var(--color-primary-on-dark);
}

.monthly-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--space-3);
}

.monthly-grid__item {
	display: flex;
	min-width: 0;
}

.monthly-card {
	display: flex;
	flex: 1;
	align-items: center;
	gap: var(--space-4);
	min-width: 0;
	min-height: 84px;
	padding: var(--space-4);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-card);
	background: var(--color-surface);
	color: var(--color-text);
	text-decoration: none;
	transition: box-shadow var(--duration) var(--ease), transform var(--duration) var(--ease);
}

/* Hover shows on the dark band as a ring in the on-dark red */
.monthly-card:hover {
	box-shadow: 0 0 0 3px var(--color-primary-on-dark);
}

.monthly-card:focus-visible {
	outline: 2px solid var(--color-on-dark);
	outline-offset: 3px;
	box-shadow: 0 0 0 7px var(--focus-ring-on-dark);
	border-radius: var(--radius-card);
}

.monthly-card__icon {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 8px;
	background: var(--color-dark);
	color: var(--color-on-dark);
	font-size: 1.125rem;
}

.monthly-card__text {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.monthly-card__name {
	font-weight: var(--fw-bold);
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.monthly-card__reason {
	font-size: var(--fs-sm);
	line-height: 1.4;
	color: var(--color-text-secondary);
}

.monthly-all__arrow {
	width: 0.5em;
	height: 0.5em;
	margin-left: var(--space-1);
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: rotate(45deg);
}

/* The button: in the header on wide screens, full width under the grid on phones */
.monthly-all--head {
	display: none;
}

.monthly-all--foot {
	margin-top: var(--space-5);
}

@media (min-width: 640px) {
	.monthly-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--space-4);
	}

	a.monthly-all--head {
		display: inline-flex;
	}

	.monthly-all--foot {
		display: none;
	}
}

@media (min-width: 1025px) {
	.monthly-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (prefers-reduced-motion: reduce) {
	.monthly-card {
		transition: none;
	}
}

/* ==========================================================================
   Plans & Pricing (page-templates/plans-pricing.php)
   ========================================================================== */
:root {
	--pg-plan-tint: color-mix(in srgb, var(--color-primary-soft) 42%, var(--color-surface));   /* recommended plan card and column */
}

/* ---- Plan cards ---- */
.plans-section:focus {
	outline: none;
}

.plans-billing {
	display: flex;
	justify-content: center;
	margin-bottom: var(--space-6);
}

/* Three across only when each card has room; otherwise one column, never two and an orphan */
@media (max-width: 899px) {
	.plans-cards {
		grid-template-columns: minmax(0, 1fr);
		max-width: 560px;
		margin-inline: auto;
		row-gap: var(--space-6);
	}
}

@media (min-width: 900px) {
	.plans-cards {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.plan-card__name {
	font-size: var(--fs-h3);
	font-weight: var(--fw-black);
	letter-spacing: -0.015em;
	color: var(--color-text);
}

.plan-card .price-card__price {
	display: grid;
	gap: var(--space-1);
}

.plan-card__other {
	font-size: var(--fs-sm);
	color: var(--color-text-secondary);
}

.plan-card--recommended {
	background: var(--pg-plan-tint);
}

/* Secondary text on the tint uses the darker grey so it still passes */
.plan-card--recommended .plan-card__other,
.plan-card--recommended .price__suffix,
.plan-card--recommended .price-card__descriptor {
	color: var(--color-text-tint);
}

/* ---- Fully Managed band ---- */
.managed-section .section-header h2,
.managed-section .section-header .lead {
	color: var(--color-on-dark);
}

.managed-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--space-6);
	padding: clamp(1.5rem, 0.9rem + 2.4vw, 3rem);
	border: 2px solid var(--color-primary);
	border-radius: var(--radius-card);
	background: var(--color-surface);
	color: var(--color-text);
}

.managed-card__offer {
	display: grid;
	align-content: start;
	justify-items: start;
	gap: var(--space-3);
}

.managed-card__name {
	font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
	font-weight: var(--fw-black);
	line-height: 1.08;
	letter-spacing: -0.03em;
}

.managed-card__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35rem;
}

.managed-card__price-prefix,
.managed-card__price .price__suffix {
	font-weight: var(--fw-medium);
	color: var(--color-text-secondary);
}

.managed-card__price .price__amount {
	font-size: var(--pg-fs-price);
	font-weight: var(--fw-black);
	line-height: 1;
	letter-spacing: -0.04em;
}

.managed-card__included {
	font-weight: var(--fw-semibold);
	text-decoration: underline;
	text-decoration-color: var(--color-primary);
	text-decoration-thickness: 2px;
	text-underline-offset: 0.25em;
}

.managed-card__action {
	margin-top: var(--space-2);
}

/* The emblem zone only has room on wide screens */
.managed-card__emblem {
	display: none;
}

.managed-emblem {
	width: 112px;
	height: 112px;
}

.managed-emblem__ring {
	fill: var(--color-surface-alt);
	stroke: var(--color-border);
	stroke-width: 1.5;
}

.managed-emblem__state {
	fill: var(--color-dark);
}

.managed-emblem__star {
	fill: var(--color-primary);
}

.managed-card__motto {
	max-width: 14ch;
	font-style: italic;
	font-weight: var(--fw-medium);
	line-height: 1.4;
	text-align: center;
	color: var(--color-text-secondary);
}

.managed-card__detail {
	display: grid;
	align-content: start;
	gap: var(--space-4);
}

.managed-card__items {
	font-size: 0.9375rem;
}

.managed-card__footnote {
	padding-top: var(--space-4);
	border-top: 1px solid var(--color-border);
	font-size: var(--fs-sm);
	color: var(--color-text-secondary);
}

@media (min-width: 600px) {
	.managed-card__items {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: var(--space-5);
	}
}

@media (min-width: 768px) {
	.managed-card {
		grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
		gap: var(--space-7);
	}
}

@media (min-width: 1100px) {
	.managed-card {
		grid-template-columns: minmax(0, 0.9fr) auto minmax(0, 1.25fr);
		align-items: center;
	}

	.managed-card__emblem {
		display: grid;
		justify-items: center;
		gap: var(--space-3);
		padding-inline: var(--space-6);
		border-inline: 1px solid var(--color-border);
	}
}

@media (max-width: 479px) {
	.managed-card__action,
	.managed-card__action .btn {
		width: 100%;
	}
}

/* ---- Compare plans: one grouped table. Wide screens: a normal table.
   Small screens: each feature is a full-width label with the three plan
   cells in a strip beneath, and each group's dark bar sticks under the site
   header so the columns stay labelled. Roles are set in the markup, so the
   layout change never costs the table its semantics. ---- */
.plan-table {
	width: 100%;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-card);
	border-collapse: separate;
	border-spacing: 0;
	overflow: clip;
	background: var(--color-surface);
	font-size: 0.9375rem;
	line-height: 1.4;
}

.plan-table__bar > * {
	padding: var(--space-3) var(--space-4);
	background: var(--color-dark);
	color: var(--color-on-dark);
	font-size: var(--fs-xs);
	font-weight: var(--fw-bold);
	line-height: 1.3;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.plan-table__bar-name {
	padding-left: var(--space-5);
	text-align: left;
}

.plan-table__bar-plan {
	text-align: center;
}

/* The recommended column is marked in the bar with the on-dark red, not a stripe */
.plan-table__bar-plan.is-recommended {
	color: var(--color-primary-on-dark);
}

.plan-table__row > * {
	background: var(--color-surface);
}

.plan-table__row:nth-child(odd) > * {
	background: var(--color-surface-alt);
}

.plan-table__feature {
	width: 43%;
	padding: var(--space-3) var(--space-4) var(--space-3) var(--space-5);
	font-weight: var(--fw-medium);
	text-align: left;
}

.plan-table__note {
	display: block;
	margin-top: 2px;
	font-size: var(--fs-xs);
	font-weight: var(--fw-regular);
	color: var(--color-text-secondary);
}

.plan-table__cell {
	width: 19%;
	padding: var(--space-3) var(--space-2);
	text-align: center;
	vertical-align: middle;
}

.plan-table__row > .is-recommended,
.plan-table__row:nth-child(odd) > .is-recommended,
.plan-table__actions > .is-recommended {
	background: var(--pg-plan-tint);
}

.plan-table__icon {
	display: inline-block;
	width: 20px;
	height: 20px;
	vertical-align: middle;
}

.plan-table__icon--yes {
	color: var(--color-success);
}

.plan-table__icon--no {
	color: var(--color-border-strong);
}

.plan-table__value {
	font-size: var(--fs-sm);
	font-weight: var(--fw-semibold);
}

.plan-table__actions > * {
	padding-block: var(--space-5);
	border-top: 1px solid var(--color-border);
	vertical-align: top;
}

.plan-table__action-name,
.plan-table__action-price {
	display: block;
}

.plan-table__action-name {
	font-size: var(--fs-xs);
	font-weight: var(--fw-bold);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.plan-table__action-price {
	margin-block: 2px var(--space-3);
	font-size: 1.25rem;
	font-weight: var(--fw-black);
	letter-spacing: -0.02em;
}

@media (max-width: 719px) {
	.plan-table,
	.plan-table__group,
	.plan-table__foot {
		display: block;
	}

	.plan-table tr {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.plan-table__bar {
		position: sticky;
		top: calc(var(--header-height) + 1px);
		z-index: 5;
	}

	.plan-table__bar-name,
	.plan-table__feature {
		grid-column: 1 / -1;
		width: auto;
	}

	.plan-table__bar-name {
		padding: var(--space-3) var(--space-4) 2px;
	}

	.plan-table__bar-plan {
		padding: 2px var(--space-1) var(--space-3);
		letter-spacing: 0.04em;
	}

	.plan-table__feature {
		padding: var(--space-3) var(--space-4) 0;
	}

	.plan-table__cell {
		width: auto;
		padding: var(--space-2) var(--space-1) var(--space-3);
	}

	/* The feature label shares its row colour with the strip beneath it */
	.plan-table__row > .plan-table__feature {
		background: inherit;
	}

	.plan-table__row {
		background: var(--color-surface);
	}

	.plan-table__row:nth-child(odd) {
		background: var(--color-surface-alt);
	}

	.plan-table__icon {
		width: 22px;
		height: 22px;
	}

	/* The closing row becomes three stacked blocks: plan, price, button */
	.plan-table .plan-table__actions {
		grid-template-columns: minmax(0, 1fr);
	}

	/* The row's label stays visible as a small heading over the three blocks */
	.plan-table__actions > .plan-table__feature {
		padding: var(--space-4) var(--space-4) 0;
		border-top: 1px solid var(--color-border);
		font-size: var(--fs-xs);
		font-weight: var(--fw-bold);
		letter-spacing: 0.08em;
		text-transform: uppercase;
	}

	.plan-table__actions > .plan-table__action:first-of-type {
		border-top: 0;
	}

	.plan-table__action {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		gap: 0 var(--space-3);
		padding: var(--space-4);
		text-align: left;
	}

	.plan-table__action-price {
		grid-column: 1;
		margin-block: 0;
	}

	.plan-table__action .btn {
		grid-column: 2;
		grid-row: 1 / span 2;
	}
}

/* ---- Featured events and banner ads ---- */
.offer-panel {
	display: grid;
	gap: var(--space-4);
	justify-items: stretch;
	text-align: center;
}

.offer-panel__price .price__amount,
.ad-card__price .price__amount {
	font-size: var(--pg-fs-price);
	font-weight: var(--fw-black);
	line-height: 1;
	letter-spacing: -0.04em;
}

.offer-panel__link {
	display: flex;
	justify-content: center;
}

.offer-panel__link .link-arrow {
	min-height: 44px;
}

.ads-offer__body {
	max-width: 70ch;
	margin-bottom: var(--space-6);
}

.ad-card {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	padding: var(--space-5);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-card);
	background: var(--color-surface);
}

/* The placement drawn to scale: every outline is sized against the widest one */
.ad-card__shape {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 136px;
	margin-bottom: var(--space-3);
	padding: var(--space-3);
	border-radius: var(--radius-btn);
	background: var(--color-surface-alt);
}

.ad-card__outline {
	display: block;
	max-height: 100%;
	border: 2px dashed var(--color-border-strong);
	border-radius: 2px;
	background: var(--color-surface);
}

.ad-card__name {
	font-size: var(--fs-h4);
}

.ad-card__size {
	font-family: var(--font-mono);
	font-size: var(--fs-xs);
	letter-spacing: 0.08em;
	color: var(--color-text-secondary);
}

.ad-card__where {
	font-size: 0.9375rem;
	color: var(--color-text-secondary);
}

.ad-card__price {
	margin-top: var(--space-2);
}

.ad-card__action {
	margin-top: auto;
	padding-top: var(--space-3);
}

.ads-offer__rules {
	max-width: 78ch;
	margin-top: var(--space-6);
	font-size: 0.9375rem;
}

.contact-form__topic {
	margin-bottom: var(--space-5);
	overflow-wrap: anywhere;
}

/* ==========================================================================
   FAQ answers: a wider measure, so the text relates to the full-width row it
   opens under (still a readable line: about 56rem at most)
   ========================================================================== */
.faq-section .accordion__panel,
.faq-section .accordion__panel.prose,
.faq-group__card .accordion__panel,
.faq-group__card .accordion__panel.prose {
	max-width: 56rem;
}
