/*
 * Alpha Property Management: component styles.
 *
 * Sections
 *  1. Tokens
 *  2. Base and core-block resets
 *  3. Layout helpers
 *  4. Buttons
 *  5. Header and navigation
 *  6. Home: hero, quick links, why choose, listings, analysis
 *  7. Home: fees, overview, guarantee, process
 *  8. Home: testimonials, FAQ, region, meet, options
 *  9. Footer
 * 10. Interior pages, blog
 * 10b. Interior page components
 * 11. Responsive
 * 11b. Unit detail
 * 12. Reduced motion
 *
 * Colors, fonts and spacing come from theme.json (WordPress prints them as
 * --wp--preset--* variables); the fallbacks keep the page usable without.
 *
 * Block gap is 0 in theme.json, so every margin below is deliberate.
 */

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
	--apm-ink: var(--wp--preset--color--ink, #1f1a06);
	--apm-forest: var(--wp--preset--color--forest, #09551e);
	--apm-green: var(--wp--preset--color--green, #116c2a);
	--apm-action: var(--wp--preset--color--action, #10a73a);
	--apm-mint: var(--wp--preset--color--mint, #7efaa1);
	--apm-sage: var(--wp--preset--color--sage, #ceddd2);
	--apm-cream: var(--wp--preset--color--cream, #f8f4e5);
	--apm-gold: var(--wp--preset--color--gold, #e4ab00);
	--apm-mist: var(--wp--preset--color--mist, #f3f4f6);
	--apm-body: var(--wp--preset--color--body, #555);

	--apm-font-body: var(--wp--preset--font-family--lato, Lato, Tahoma, 'Segoe UI', Roboto, sans-serif);
	--apm-font-ui: var(--wp--preset--font-family--poppins, Poppins, Helvetica, sans-serif);

	--apm-radius-sm: var(--wp--custom--radius--sm, 7px);
	--apm-radius-md: var(--wp--custom--radius--md, 10px);
	--apm-radius-lg: var(--wp--custom--radius--lg, 16px);
	--apm-shadow-card: 0 10px 25px rgba(40, 50, 40, 0.06);
	--apm-shadow-lift: 0 20px 45px rgba(40, 50, 40, 0.16);
	--apm-width: 1200px;
	--apm-prose: 820px;

	/* Arrow used by buttons, tiles and links. Painted with currentColor via mask. */
	--apm-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1 6h9M6.5 2 10.5 6l-4 4' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ==========================================================================
   2. Base and core-block resets
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	overflow-x: clip;
}

:root img,
:root svg,
:root video,
:root iframe {
	max-width: 100%;
}

:root img {
	height: auto;
}

:root .wp-block-image,
:root .wp-block-quote {
	margin: 0;
}

:root .wp-block-image img {
	display: block;
}

:root .wp-block-quote {
	padding: 0;
	border: 0;
}

:root .wp-block-quote cite {
	font-style: normal;
}

:root hr,
:root hr.wp-block-separator {
	width: auto;
	max-width: none;
	height: 0;
	margin: 1.4rem 0;
	border: 0;
	border-top: 1px solid var(--apm-sage);
	opacity: 1;
}

:root h1,
:root h2,
:root h3,
:root h4 {
	text-wrap: balance;
}

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

:root .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* ==========================================================================
   3. Layout helpers
   ========================================================================== */
:root .container {
	width: calc(100% - 40px);
	max-width: var(--apm-width);
	margin-inline: auto;
}

:root .container--narrow {
	max-width: var(--apm-prose);
}

:root .section--cream {
	background: var(--apm-cream);
}

:root .section--mist {
	background: var(--apm-mist);
}

:root .section--green {
	background: var(--apm-green);
}

:root .subtitle {
	margin: 0 0 1em;
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
}

:root .is-green {
	color: var(--apm-green);
}

:root .is-white {
	color: #fff;
}

:root .is-ink {
	color: var(--apm-ink);
}

:root .no-margin {
	margin: 0;
}

:root .section__title {
	margin: 0 0 1.25rem;
	flex: 0 0 100%;
	text-align: center;
}

:root .card {
	background: #fff;
	border-radius: var(--apm-radius-md);
	box-shadow: var(--apm-shadow-card);
}

/* ==========================================================================
   4. Buttons
   ========================================================================== */
:root a {
	color: var(--apm-green);
}

:root a:hover {
	color: var(--apm-ink);
}

/* Button labels stay white: the plain link colour above would otherwise win. */
:root .wp-block-button__link.wp-element-button,
:root .wp-block-button__link.wp-element-button:hover,
:root .wp-block-button__link.wp-element-button:focus-visible {
	color: #fff;
}

:root .wp-block-buttons {
	gap: 12px;
}

:root .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	border: 1px solid transparent;
	text-decoration: none;
	transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

:root .wp-block-button__link:hover,
:root .wp-block-button__link:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(40, 50, 40, 0.12);
	text-decoration: none;
}

:root .wp-block-button.has-arrow > .wp-block-button__link::after,
:root .quick-tile__label::after {
	flex: none;
	width: 12px;
	height: 12px;
	background: currentColor;
	content: '';
	-webkit-mask: var(--apm-arrow) center / contain no-repeat;
	mask: var(--apm-arrow) center / contain no-repeat;
}

:root .wp-block-buttons .wp-block-button.is-style-outline > .wp-block-button__link.wp-element-button {
	background: #fff;
	border: 1px solid var(--apm-green);
	color: var(--apm-green);
}

:root .wp-block-buttons .wp-block-button.is-style-outline > .wp-block-button__link.wp-element-button:hover {
	color: var(--apm-green);
}

:root .wp-block-buttons .wp-block-button.is-style-accent > .wp-block-button__link.wp-element-button {
	background: var(--apm-gold);
	color: var(--apm-ink);
}

:root .wp-block-buttons .wp-block-button.is-style-text-link > .wp-block-button__link.wp-element-button {
	padding: 0 0 5px;
	background: none;
	border: 0;
	border-bottom: 2px solid var(--apm-green);
	border-radius: 0;
	box-shadow: none;
	color: var(--apm-green);
	font-weight: 500;
	transform: none;
}

:root .wp-block-buttons .wp-block-button.is-style-text-link > .wp-block-button__link.wp-element-button:hover {
	border-bottom-color: var(--apm-ink);
	color: var(--apm-ink);
}

/* ==========================================================================
   5. Header and navigation
   ========================================================================== */
:root .site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
}

:root .admin-bar .site-header {
	top: var(--wp-admin--admin-bar--height, 32px);
}

:root .topbar {
	background: var(--apm-forest);
	color: #fff;
	font-size: 0.875rem;
}

:root .topbar__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 4px 30px;
	padding: 10px;
}

:root .topbar__item {
	display: flex;
	align-items: center;
	gap: 14px;
	white-space: nowrap;
}

:root .topbar__item::before {
	flex: none;
	width: 15px;
	height: 15px;
	background: center / contain no-repeat;
	content: '';
}

:root .topbar__item--phone::before {
	background-image: url('../images/124.png');
}

:root .topbar__item--area::before {
	width: 12px;
	background-image: url('../images/126.png');
}

:root .topbar a {
	color: #fff;
	text-decoration: none;
}

:root .topbar a:hover {
	text-decoration: underline;
}

:root .site-header__main {
	position: relative;
}

:root .site-header__inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	grid-template-areas: 'logo nav actions';
	align-items: center;
	gap: 24px;
	max-width: var(--apm-width);
	margin-inline: auto;
	padding: 14px 20px;
}

:root .site-logo {
	grid-area: logo;
	line-height: 0;
}

:root .site-logo img {
	width: auto;
	max-height: 39px;
}

:root .header-actions {
	grid-area: actions;
	align-items: center;
	gap: 7px;
}

:root .header-actions .wp-block-button__link {
	padding: 10px 20px;
	font-size: 0.9375rem;
}

/* Primary navigation. The Navigation block prints its class on both the nav
   and the list, so rules are scoped to the element they are meant for. */
:root nav.primary-nav {
	grid-area: nav;
	justify-self: center;
}

:root .primary-nav .wp-block-navigation__container {
	gap: 0;
	align-items: center;
}

:root .primary-nav .wp-block-navigation-item__content {
	padding: 18px 15px;
	font-family: var(--apm-font-ui);
	font-size: 1rem;
	font-weight: 600;
	color: #243746;
	text-decoration: none;
	white-space: nowrap;
}

:root .primary-nav .wp-block-navigation-item__content:hover,
:root .primary-nav .current-menu-item > .wp-block-navigation-item__content,
:root .primary-nav .current-menu-ancestor > .wp-block-navigation-item__content {
	color: var(--apm-green);
}

:root .primary-nav .wp-block-navigation__submenu-container.wp-block-navigation__submenu-container {
	min-width: 100%;
	padding: 4px;
	background: #fff;
	border: 0;
	border-radius: 6px;
	box-shadow: 0 16px 44px rgba(0, 0, 0, 0.2);
	color: var(--apm-body);
}

:root .primary-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 9px 12px;
	border-radius: 4px;
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--apm-body);
	transition: background-color 0.15s ease, color 0.15s ease;
}

:root .primary-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
:root .primary-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus {
	background: color-mix(in srgb, var(--apm-green) 6%, transparent);
	color: var(--apm-green);
}

:root .primary-nav .wp-block-navigation__responsive-container-open {
	padding: 8px;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	color: var(--apm-ink);
}

/* ==========================================================================
   6. Home: hero, quick links, why choose, listings, analysis
   ========================================================================== */
:root .hero.wp-block-cover {
	align-items: flex-start;
	justify-content: flex-start;
	min-height: 30vw;
	padding: 0;
	background: var(--apm-forest);
	color: #fff;
}

:root .hero .wp-block-cover__inner-container {
	width: 100%;
}

:root .hero__content {
	/* content-box so the 700px column excludes the side padding. */
	box-sizing: content-box;
	max-width: 700px;
	padding: clamp(40px, 5vw, 80px) clamp(20px, 10vw, 160px);
	color: #fff;
}

:root .hero__title {
	margin: 0 0 0.5em;
	color: #fff;
	font-size: clamp(2.25rem, 1.2rem + 3.6vw, 3.75rem);
}

:root .hero__lede {
	margin: 0 0 1.25em;
}

:root .hero-stats {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 14px;
	margin: 3vw 0 0;
	padding: 18px 28px;
	background: rgba(31, 26, 6, 0.55);
	border-radius: var(--apm-radius-md);
}

:root .hero-stats__item {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 10px;
	font-size: 2rem;
	font-weight: 800;
	line-height: 1;
}

:root .hero-stats__item + .hero-stats__item {
	border-left: 1px solid #9b9b9b;
	padding-left: 18px;
}

:root .hero-stats__value {
	font-weight: inherit;
	white-space: nowrap;
}

:root .hero-stats__label {
	font-size: 0.875rem;
	font-weight: 400;
	text-transform: uppercase;
	color: var(--apm-mint);
}

/* Quick links */
:root .quick-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-block: 32px;
}

:root .quick-tile {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	width: 180px;
	aspect-ratio: 1 / 1;
	padding: 20px 15px 15px;
	overflow: hidden;
	isolation: isolate;
	background-position: center;
	background-size: cover;
	border-radius: var(--apm-radius-sm);
	color: #fff;
	font-size: 0.875rem;
	font-weight: 600;
	text-align: center;
	text-transform: uppercase;
	transition: color 0.5s ease;
}

:root .quick-tile--available-rentals {
	background-image: url('../images/132.webp');
}

:root .quick-tile--pay-rent {
	background-image: url('../images/136.webp');
}

:root .quick-tile--apply-now {
	background-image: url('../images/131.webp');
}

:root .quick-tile--maintenance {
	background-image: url('../images/134.webp');
}

:root .quick-tile--owner-portal {
	background-image: url('../images/135.webp');
}

:root .quick-tile--contact-us {
	background-image: url('../images/133.webp');
}

:root .quick-tile::before {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(0, 0, 0, 0.2);
	content: '';
	transition: background 0.5s ease;
}

:root .quick-tile:hover,
:root .quick-tile:focus-within {
	color: #000;
}

:root .quick-tile:hover::before,
:root .quick-tile:focus-within::before {
	background: rgba(255, 255, 255, 0.8);
}

:root .quick-tile__icon img {
	width: 70px;
	height: 70px;
	transition: filter 0.5s ease;
}

:root .quick-tile:hover .quick-tile__icon img,
:root .quick-tile:focus-within .quick-tile__icon img {
	filter: brightness(0);
}

:root .quick-tile__label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

:root .quick-tile__label a {
	color: inherit;
	text-decoration: none;
}

/* Stretched link: the whole tile is clickable. */
:root .quick-tile__label a::after {
	position: absolute;
	inset: 0;
	content: '';
}

/* Why choose */
:root .why-choose > .container {
	display: flex;
	flex-wrap: wrap;
	padding: 50px 0 100px;
}

:root .choose-cards {
	display: flex;
	flex: 0 0 100%;
	align-items: flex-end;
	justify-content: center;
	gap: clamp(1rem, 2.5vw, 2rem);
}

:root .choose-card {
	flex: 1 1 0;
	padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 2.5vw, 2rem);
	text-align: center;
}

:root .choose-card--featured {
	padding-block: clamp(2.9rem, 4.5vw, 3.9rem);
	box-shadow: var(--apm-shadow-lift);
}

:root .choose-card__icon {
	width: clamp(72px, 9vw, 96px);
	margin: 0 auto 1rem;
}

:root .choose-card__icon img {
	width: 100%;
	height: auto;
}

:root .choose-card__title {
	margin: 0 0 0.85rem;
	color: var(--apm-green);
	font-size: clamp(1.05rem, 1.6vw, 1.3rem);
	font-weight: 700;
	letter-spacing: 0.3px;
}

:root .choose-card__text {
	font-size: 0.95rem;
	line-height: 1.65;
}

:root .choose-card__list {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.95rem;
	line-height: 1.95;
}

:root .choose-card__list li::before {
	margin-right: 0.4rem;
	content: '•';
}

/* Listings */
:root .listings {
	margin-block: 32px;
}

:root .listings__heading {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

:root .listing-cards {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 32px 0;
}

:root .listing-card {
	position: relative;
	display: flex;
	flex-direction: column;
	width: clamp(190px, 25vw, 390px);
	background: #fff;
	border: 1px solid var(--apm-sage);
	border-radius: var(--apm-radius-sm);
	box-shadow: 0 5px 10px rgba(40, 50, 40, 0.06);
	opacity: 0.85;
	transition: opacity 0.5s, box-shadow 0.5s;
}

:root .listing-card:hover,
:root .listing-card:focus-within {
	opacity: 1;
	box-shadow: var(--apm-shadow-card);
}

:root .listing-card__photo {
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

:root .listing-card__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--apm-radius-sm) var(--apm-radius-sm) 0 0;
}

:root .listing-card__body {
	padding: 10px;
}

:root .listing-card__tagline {
	margin: 15px 0;
	overflow: hidden;
	color: var(--apm-green);
	font-family: var(--apm-font-ui);
	font-size: 1.25rem;
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
}

:root .listing-card__remarks {
	display: -webkit-box;
	max-height: 3em;
	overflow: hidden;
	line-height: 1.5em;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

:root .listing-card__rent {
	margin-top: 15px;
	font-size: 1.25rem;
}

:root .listing-card__details {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 18px;
	margin-top: 15px;
}

:root .listing-card__detail {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
}

:root .listing-card__detail::before {
	width: 22px;
	height: 22px;
	background: var(--apm-green);
	content: '';
	-webkit-mask: var(--apm-detail-icon) center / contain no-repeat;
	mask: var(--apm-detail-icon) center / contain no-repeat;
}

:root .listing-card__detail--beds {
	--apm-detail-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 18V6M3 14h18v4M21 14v-2a3 3 0 0 0-3-3h-7v5M7 11.5a1.5 1.5 0 1 0 0-.01'/%3E%3C/svg%3E");
}

:root .listing-card__detail--baths {
	--apm-detail-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16v2a4 4 0 0 1-4 4H8a4 4 0 0 1-4-4v-2zM6 12V6a2 2 0 0 1 3.5-1.3M7 18l-1 2M17 18l1 2'/%3E%3C/svg%3E");
}

:root .listing-card__detail--area {
	--apm-detail-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16v16H4zM4 9h5M4 14h3M9 4v5M14 4v3'/%3E%3C/svg%3E");
}

:root .listing-card__button {
	display: block;
	margin: auto 15px 15px;
}

:root .listing-card__body {
	margin-bottom: 15px;
}

:root .listing-card__button .wp-block-button,
:root .listing-card__button .wp-block-button__link {
	display: block;
	width: 100%;
}

:root .wp-block-buttons.listing-card__button .wp-block-button.is-style-outline > .wp-block-button__link.wp-element-button {
	padding: 10px;
	border-width: 2px;
	font-family: var(--apm-font-body);
	font-size: 1.125rem;
	font-weight: 700;
	text-align: center;
}

/* Stretched link: the whole card opens the listing. */
:root .listing-card__button .wp-block-button__link::after {
	position: absolute;
	inset: 0;
	content: '';
}

:root .listing-card:hover .listing-card__button .wp-block-button__link,
:root .listing-card:focus-within .listing-card__button .wp-block-button__link {
	background: var(--apm-green);
	color: var(--apm-cream);
	transform: none;
	box-shadow: none;
}

/* Analysis panel */
:root .analysis {
	margin-block: 32px;
}

:root .analysis__box {
	display: flex;
	align-items: stretch;
	overflow: hidden;
	background: var(--apm-mist);
	border-radius: 18px;
}

:root .analysis__text {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding: clamp(24px, 3vw, 48px) 3vw;
}

:root .analysis__text h2 {
	margin: 0 0 0.4em;
	font-weight: 700;
}

:root .analysis__lede {
	margin: 0 0 1.25em;
	color: #6f6f6f;
	font-size: clamp(1rem, 1.5vw, 1.5rem);
	line-height: 1.5;
}

:root .analysis__image {
	flex: 0 1 470px;
	min-width: 0;
}

:root .analysis__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ==========================================================================
   7. Home: fees, overview, guarantee, process
   ========================================================================== */
:root .fees.wp-block-cover {
	display: block;
	min-height: 0;
	padding: 0;
	background: #0fa73a;
}

:root .fees .wp-block-cover__inner-container {
	width: 100%;
}

:root .fees__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-block: 100px;
	text-align: center;
}

:root .fees__inner > p:not(.subtitle) {
	margin: 1em 0;
}

:root .fees__inner > p.is-white {
	max-width: 720px;
}

:root .fee-table {
	width: 100%;
	margin: 1.5rem 0 0;
	overflow: hidden;
	background: #fff;
	border: 4px solid #34a23d;
	border-radius: var(--apm-radius-lg);
	text-align: left;
}

:root .fee-table table {
	width: 100%;
	border: 0;
	border-collapse: collapse;
	table-layout: fixed;
}

:root .fee-table th,
:root .fee-table td {
	position: relative;
	padding: 30px;
	border: 0;
	text-align: left;
	vertical-align: middle;
}

:root .fee-table th:nth-child(1) {
	width: 37.8%;
}

:root .fee-table th:nth-child(2) {
	width: 35.1%;
}

:root .fee-table thead {
	background: var(--apm-forest);
	border: 0;
}

:root .fee-table thead th {
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 1.3px;
	text-transform: uppercase;
}

/* The third heading shows the Alpha logo; its text stays for screen readers. */
:root .fee-table thead th:last-child {
	background: url('../images/102.png') 30px center / 98px auto no-repeat;
	color: transparent;
}

:root .fee-table tbody tr:not(:last-child) td {
	border-bottom: 1px solid #ededed;
}

:root .fee-table td:first-child {
	padding-left: 36px;
	color: #262626;
	font-size: 1.0625rem;
}

:root .fee-table td:nth-child(2) {
	padding-left: 52px;
	color: #586376;
	font-size: 0.9375rem;
	font-style: italic;
}

:root .fee-table td:nth-child(2)::before,
:root .fee-table td:last-child::before {
	position: absolute;
	top: 50%;
	left: 30px;
	transform: translateY(-50%);
}

:root .fee-table td:nth-child(2)::before {
	color: #e06464;
	font-size: 1rem;
	font-style: normal;
	content: '✕';
}

:root .fee-table td:last-child {
	padding-left: 56px;
	color: #586376;
	font-size: 0.875rem;
	line-height: 1.5;
}

:root .fee-table td:last-child::before {
	color: #2f9e44;
	font-size: 1.0625rem;
	content: '✓';
}

:root .fee-table td:last-child strong {
	color: #1f7a33;
	font-size: 1rem;
}

/* Rows with a detail line: value on top, explanation below it. */
:root .fee-table td br {
	display: none;
}

:root .fee-table td:last-child strong:not(:last-child) {
	display: block;
	margin-bottom: 4px;
}

/* Overview */
:root .overview {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	padding-block: 50px;
}

:root .overview__columns {
	display: flex;
	flex: 0 0 100%;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 30px;
}

:root .overview__intro,
:root .overview__expect {
	flex: 1 1 300px;
}

:root .overview__intro h2 {
	margin: 0.83em 0;
	color: #004b23;
}

:root .overview__intro p {
	margin: 1em 0;
	color: #333;
	line-height: 1.7;
}

:root .overview__expect {
	padding: clamp(20px, 2vw, 32px) clamp(20px, 2.5vw, 35px);
	background: var(--apm-cream);
	border-radius: var(--apm-radius-md);
}

:root .overview__expect h3 {
	margin: 1em 0;
}

:root .expect-list {
	padding-left: 1.2em;
}

:root .expect-item {
	position: relative;
	margin-bottom: 0.75em;
}

:root .expect-item__title {
	color: var(--apm-green);
	font-weight: 600;
}

:root .expect-item__title::before {
	position: absolute;
	top: 0.62em;
	left: -1.2em;
	width: 0.35em;
	height: 0.35em;
	background: currentColor;
	border-radius: 50%;
	content: '';
}

:root .expect-item__text {
	margin: 0.2em 0 0;
	color: #333;
	font-weight: 400;
}

:root .years-badge {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	padding: 12px 24px;
	background: var(--apm-action);
	border-radius: var(--apm-radius-sm);
	color: #fff;
}

:root .years-badge__number {
	font-size: 4rem;
	font-style: italic;
	line-height: 1.1;
}

:root .years-badge__label {
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
}

/* Guarantee */
:root .guarantee {
	display: flex;
	align-items: stretch;
	justify-content: center;
	max-width: 100%;
	overflow: hidden;
}

:root .guarantee__side {
	position: relative;
	z-index: 2;
	display: flex;
	flex: 1 1 0;
	min-width: 0;
	transition: transform 1s cubic-bezier(0.22, 0.61, 0.36, 1);
}

:root .guarantee__side--left {
	justify-content: flex-end;
}

:root .guarantee__side--right {
	justify-content: flex-start;
}

:root .guarantee__side .wp-block-image {
	flex: 0 0 100%;
	min-width: 600px;
	height: 100%;
}

:root .guarantee__side img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

:root .guarantee__box {
	position: relative;
	z-index: 1;
	flex: 0 1 auto;
	min-width: 300px;
	max-width: 640px;
	padding: 50px 20px;
	text-align: center;
}

:root .guarantee__icon {
	/* The original icon sat inline, leaving a line-box gap below it. Padding,
	   not margin, so it does not collapse into the heading's margin. */
	padding-bottom: 7px;
}

:root .guarantee__icon img {
	width: 78px;
	height: 78px;
	margin-inline: auto;
}

:root .guarantee__box h2 {
	margin: 0.83em 0;
}

:root .guarantee__box p {
	margin: 1em 0;
}

:root .guarantee__box .wp-block-buttons {
	justify-content: center;
}

:root .guarantee__summary {
	max-width: 600px;
	margin: 32px auto;
	padding: 28px 36px;
	background: color-mix(in srgb, var(--apm-green) 15%, transparent);
	border-radius: var(--apm-radius-lg);
	text-align: left;
}

:root .check-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px 32px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

:root .check-list li {
	display: flex;
	flex: 0 1 240px;
	align-items: flex-start;
	gap: 12px;
	min-width: 200px;
	color: #2d2d2d;
	font-size: 1rem;
	line-height: 1.4;
}

:root .check-list li::before {
	content: '✓';
}

/* Process */
:root .process {
	padding-block: 100px;
	text-align: center;
}

:root .process > h2 {
	margin: 0.83em 0;
}

:root .process__steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 30px;
}

:root .process-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	max-width: 340px;
	margin-inline: auto;
	color: #6a7282;
}

:root .process-step__icon img {
	width: 90px;
	height: 90px;
	object-fit: contain;
}

:root .process-step__title {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
}

:root .process-step p {
	margin: 0;
	font-size: 1rem;
}

:root .process__cta {
	justify-content: center;
	margin-top: 50px;
}

/* ==========================================================================
   8. Home: testimonials, FAQ, region, meet, options
   ========================================================================== */
:root .testimonials {
	padding-block: 50px;
	text-align: center;
}

:root .testimonials h2 {
	margin: 0.83em 0 1em;
}

:root .testimonial-carousel {
	width: 100%;
	max-width: 100%;
	padding-block: 14px 32px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
}

:root .testimonial-carousel.is-enhanced {
	overflow: hidden;
	scroll-snap-type: none;
}

:root .testimonial-track {
	position: relative;
	display: flex;
	align-items: center;
	gap: 28px;
	width: max-content;
	padding-inline: 20px;
	will-change: transform;
}

:root .testimonial-slide {
	position: relative;
	flex: 0 0 min(860px, calc(100vw - 40px));
	margin: 0;
	padding: 38px 46px;
	scroll-snap-align: center;
	background: #e6e6e6;
	border-radius: var(--apm-radius-lg);
	color: #5f5f5f;
	text-align: left;
	transition: background-color 0.6s ease, color 0.6s ease, box-shadow 0.6s ease;
}

:root .testimonial-carousel:not(.is-enhanced) .testimonial-slide:first-child,
:root .testimonial-slide.is-active {
	background: #2ba63b;
	box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
	color: #fff;
}

:root .testimonial-slide::before {
	position: absolute;
	top: 16px;
	right: 32px;
	color: rgba(0, 0, 0, 0.12);
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 70px;
	line-height: 1;
	pointer-events: none;
	content: '“';
	content: '“' / '';
}

:root .testimonial-slide p {
	margin: 0 0 16px;
	font-size: 1.0625rem;
	font-style: italic;
	line-height: 1.62;
}

:root .testimonial-slide cite {
	display: block;
	margin-top: 24px;
	font-size: 1rem;
	font-weight: 700;
}

/* FAQ */
:root .faq {
	padding-block: 100px;
}

:root .faq__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 48px;
}

:root .faq__intro,
:root .faq__list {
	flex: 1 1 350px;
	min-width: 0;
}

:root .faq__intro h2 {
	margin: 0.83em 0;
}

:root .faq__intro p:not(.subtitle) {
	margin: 1em 0;
}

:root .faq__intro a {
	color: #fff;
}

:root .faq-item {
	margin-block: 10px;
}

:root .faq-item > summary {
	display: block;
	padding: 12px 14px 15px;
	background: #fff;
	border: 1px solid var(--apm-green);
	border-radius: var(--apm-radius-md);
	color: var(--apm-green);
	line-height: 1.25;
	cursor: pointer;
	list-style: none;
}

:root .faq-item > summary::-webkit-details-marker {
	display: none;
}

:root .faq-item > summary::before {
	margin-right: 0.4em;
	font-size: 1.5rem;
	content: '+';
}

:root .faq-item[open] > summary::before {
	content: '–';
}

:root .faq-item__answer {
	margin-top: 4px;
	padding: 10px 25px;
	background: #fff;
	border-radius: var(--apm-radius-md);
	color: var(--apm-body);
}

:root .faq-item__answer :is(p, ul) {
	margin: 1em 0;
}

:root .faq-item__answer a {
	color: var(--apm-green);
}

:root .faq-item__answer ul {
	padding-left: 1.2em;
}

/* Region */
:root .region {
	display: flex;
	flex-wrap: wrap;
	gap: 56px;
	align-items: center;
	padding-block: 50px;
}

:root .region__text,
:root .region__map {
	flex: 1 1 340px;
	min-width: 0;
}

:root .region__eyebrow::before {
	display: block;
	width: 54px;
	height: 4px;
	margin-bottom: 18px;
	background: #e0a526;
	content: '';
}

:root .region__text h2 {
	margin: 0.83em 0;
}

:root .region__text > p:not(.subtitle) {
	max-width: 460px;
	margin: 1em 0;
	color: #333;
}

:root .region__map {
	overflow: hidden;
	border-radius: var(--apm-radius-lg);
	box-shadow: 0 5px 10px rgba(40, 50, 40, 0.06);
}

:root .region__map img {
	width: 100%;
	height: auto;
}

:root .region-list {
	display: grid;
	grid-auto-flow: column;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: repeat(4, auto);
	column-gap: 44px;
	margin: 24px 0 0;
}

:root .region-list__name {
	margin: 0;
	font-size: 1rem;
}

:root .region-list__name::before {
	margin-right: 0.35em;
	color: var(--apm-gold);
	content: '•';
}

:root .region-list__name a {
	color: inherit;
}

:root .region-list__areas {
	margin: 8px 0 24px;
	color: #333;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 2px;
	opacity: 0.75;
	text-transform: uppercase;
}

/* Meet */
:root .meet {
	padding-block: 100px;
}

:root .meet__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 48px;
	align-items: stretch;
}

:root .meet__photo,
:root .meet__text {
	flex: 1 1 320px;
	min-width: 0;
}

:root .meet__photo {
	position: relative;
	min-height: 320px;
	box-shadow: 0 5px 10px rgba(40, 50, 40, 0.06);
	border-radius: 14px;
}

:root .meet__photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 14px;
}

:root .meet__text {
	display: flex;
	flex-direction: column;
}

:root .meet__text h2 {
	margin: 0.83em 0;
}

:root .meet__text > p {
	margin: 1em 0;
}

:root .quote-box {
	margin: 24px 0 0;
	padding: 36px;
	background: #fff;
	border-left: 4px solid var(--apm-gold);
	border-radius: 0 var(--apm-radius-md) var(--apm-radius-md) 0;
}

:root .quote-box p {
	margin: 0;
	color: var(--apm-ink);
	font-size: 1.125rem;
	font-style: italic;
	font-weight: 700;
}

:root .quote-box cite {
	display: block;
	margin: 8px 0 0;
	color: var(--apm-green);
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
}

/* Options */
:root .options {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding-block: 100px;
}

:root .option-card {
	display: flex;
	flex: 1 1 300px;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	max-width: 420px;
	margin-inline: auto;
	text-align: center;
}

:root .option-card__icon img {
	width: 68px;
	height: 68px;
}

:root .option-card h3 {
	color: #333;
}

:root .option-card p {
	text-wrap: balance;
}

/* ==========================================================================
   9. Footer
   ========================================================================== */
:root .site-footer {
	display: flow-root;
	background: var(--apm-ink);
	color: #fff;
}

:root .footer-inner {
	padding: 80px 0 34px;
}

:root .footer-grid {
	display: grid;
	grid-template-columns: 340px 1fr 1fr 1fr;
	grid-template-areas:
		'brand quick portals areas'
		'brand disc disc disc';
	gap: 50px 60px;
	align-items: start;
}

:root .footer-brand {
	grid-area: brand;
}

:root .footer-quick {
	grid-area: quick;
}

:root .footer-portals {
	grid-area: portals;
}

:root .footer-areas {
	grid-area: areas;
}

:root .footer-disclaimer {
	grid-area: disc;
}

:root .footer-logo {
	display: flex;
	align-items: center;
	margin-bottom: 36px;
}

:root .footer-contact p {
	margin: 0 0 16px;
	color: #c4bfb4;
	font-size: 0.97rem;
	letter-spacing: 0.3px;
	line-height: 1.55;
}

:root .footer-contact a {
	color: inherit;
	text-decoration: none;
}

:root .footer-contact a:hover {
	color: #fff;
}

:root .footer-brand iframe {
	display: block;
	width: 100%;
	max-width: 340px;
	height: 152px;
	margin-top: 24px;
	border: 0;
	border-radius: var(--apm-radius-md);
}

:root .footer-column__title {
	margin: 0 0 26px;
	color: #948d7c;
	font-size: 0.9rem;
	font-weight: 500;
	letter-spacing: 2.4px;
	text-transform: uppercase;
}

:root .footer-links .wp-block-navigation__container {
	gap: 18px;
	align-items: flex-start;
}

:root .footer-links .wp-block-navigation-item__content {
	padding: 0;
	line-height: 27px;
	color: #dad6cd;
	font-size: 1.03rem;
	font-weight: 300;
	letter-spacing: 0.4px;
	text-decoration: none;
	transition: color 0.18s ease;
}

:root .footer-links .wp-block-navigation-item__content:hover {
	color: #fff;
}

:root .footer-disclaimer p {
	margin: 0;
	color: #bdb8ac;
	font-size: 0.97rem;
	font-weight: 300;
	letter-spacing: 0.3px;
	line-height: 1.75;
}

:root .footer-disclaimer strong {
	color: #f1efe8;
	font-weight: 600;
}

:root .footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 44px;
	padding-top: 26px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

:root .footer-bottom p {
	margin: 0;
	color: #9a9484;
	font-size: 0.9rem;
	font-weight: 300;
	letter-spacing: 0.3px;
}

:root .footer-bottom a {
	color: inherit;
}

:root .footer-icons img {
	width: 30px;
	height: 32px;
	filter: brightness(0) invert(1);
	opacity: 0.75;
}

/* ==========================================================================
   10. Interior pages, blog
   ========================================================================== */
:root .page-header {
	padding: clamp(40px, 6vw, 90px) 0;
	background: var(--apm-green);
	color: #fff;
	text-align: center;
}

:root .page-header__title {
	margin: 0;
	color: #fff;
	font-size: clamp(2rem, 1.2rem + 3vw, 3.25rem);
}

:root .page-header .entry-meta {
	justify-content: center;
	color: #fff;
}

:root .entry-content {
	padding-block: clamp(32px, 5vw, 64px);
	line-height: 1.7;
}

:root .entry-content a {
	text-underline-offset: 2px;
}

:root .entry-meta {
	margin: 1.5rem 0 0;
	color: #6f6f6f;
	font-size: 0.875rem;
	letter-spacing: 1px;
	text-transform: uppercase;
}

:root .entry-thumbnail {
	width: calc(100% - 40px);
	max-width: var(--apm-prose);
	margin-inline: auto;
}

:root .entry-thumbnail img {
	width: 100%;
	border-radius: var(--apm-radius-md);
}

:root .post-navigation {
	padding-bottom: 64px;
}

:root .post-grid-wrap {
	padding-block: clamp(32px, 5vw, 64px);
}

:root .post-grid {
	gap: 24px;
	margin: 0;
	padding: 0;
}

:root .post-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--apm-sage);
	border-radius: var(--apm-radius-md);
	box-shadow: var(--apm-shadow-card);
}

:root .post-card .wp-block-post-featured-image {
	margin: 0;
}

:root .post-card .wp-block-post-featured-image img {
	display: block;
	width: 100%;
}

:root .post-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	padding: 20px 24px 24px;
}

:root .post-card__body .entry-meta {
	margin: 0;
}

:root .post-card__title {
	margin: 0;
	font-size: 1.35rem;
}

:root .post-card__title a {
	color: var(--apm-ink);
	text-decoration: none;
}

:root .post-card__title a:hover {
	color: var(--apm-green);
}

:root .post-card__excerpt p {
	margin: 0;
}

:root .wp-block-read-more {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	width: fit-content;
	margin-top: auto;
	padding-bottom: 5px;
	border-bottom: 2px solid var(--apm-green);
	color: var(--apm-green);
	font-family: var(--apm-font-ui);
	font-weight: 500;
	text-decoration: none;
}

:root .wp-block-read-more::after {
	width: 12px;
	height: 12px;
	background: currentColor;
	content: '';
	-webkit-mask: var(--apm-arrow) center / contain no-repeat;
	mask: var(--apm-arrow) center / contain no-repeat;
}

:root .wp-block-query-pagination {
	justify-content: center;
	gap: 12px;
	margin-top: 40px;
}

:root .wp-block-query-pagination .page-numbers,
:root .wp-block-query-pagination-previous,
:root .wp-block-query-pagination-next {
	padding: 8px 14px;
	border: 1px solid var(--apm-sage);
	border-radius: var(--apm-radius-sm);
	text-decoration: none;
}

:root .wp-block-query-pagination .page-numbers.current {
	background: var(--apm-green);
	border-color: var(--apm-green);
	color: #fff;
}

:root .wp-block-search__inside-wrapper {
	gap: 8px;
}

:root .wp-block-search__input {
	padding: 12px 14px;
	border: 1px solid var(--apm-sage);
	border-radius: 8px;
	background: var(--apm-cream);
	font: inherit;
}

:root .wp-block-search__button {
	padding: 12px 24px;
	border: 0;
	border-radius: var(--apm-radius-sm);
	background: var(--apm-green);
	color: #fff;
	font-family: var(--apm-font-ui);
	cursor: pointer;
}

:root .not-found {
	padding-block: clamp(32px, 5vw, 64px);
}

/* ==========================================================================
   10b. Interior page components
   Used by the page patterns (patterns/page-*.php).
   ========================================================================== */
:root .is-gold {
	color: var(--apm-gold);
}

:root .is-content-justification-center {
	justify-content: center;
}

:root .page-section {
	padding-block: clamp(48px, 7vw, 88px);
}

:root .page-section--tight {
	padding-block: 24px;
}

:root .page-section h2 {
	margin: 0 0 0.6em;
	font-size: clamp(1.7rem, 1.1rem + 1.8vw, 2.4rem);
}

:root .page-section .page-sub {
	margin: 1.6em 0 0.4em;
	font-size: 1.25rem;
}

:root .page-section > .container > p,
:root .page-section > .container > .wp-block-list,
:root .page-section > .container > .wp-block-buttons {
	margin-block: 1em;
}

:root .page-head {
	margin-bottom: 36px;
}

:root .page-head--center {
	margin-inline: auto;
	text-align: center;
}

:root .page-head .subtitle {
	margin-bottom: 0.6em;
}

:root .page-head h2 {
	margin-bottom: 0.5em;
}

:root .page-lead {
	max-width: 780px;
	margin: 0 0 1em;
	font-size: 1.1rem;
}

:root .page-head--center .page-lead {
	margin-inline: auto;
}

:root .page-after {
	margin: 28px 0 0;
}

:root .page-more {
	justify-content: center;
	margin-top: 32px;
}

:root .page-strong {
	margin: 1.4em 0 0.6em;
	color: var(--apm-ink);
	font-weight: 700;
}

:root .page-small {
	margin: 0.8em 0 0;
	font-size: 0.9rem;
}

:root .page-caption {
	margin: 10px 0 0;
	text-align: center;
	font-size: 0.95rem;
	font-style: italic;
}

/* Hero variants */
:root .hero--page.wp-block-cover {
	min-height: clamp(420px, 38vw, 560px);
	align-items: center;
}

:root .hero--page .wp-block-cover__background {
	opacity: 1;
	background: linear-gradient(90deg, rgba(9, 85, 30, 0.9) 0%, rgba(9, 85, 30, 0.6) 55%, rgba(9, 85, 30, 0.2) 100%);
}

:root .hero--page .hero__content {
	max-width: 760px;
}

:root .hero--page .hero__title strong {
	font-weight: 800;
}

:root .hero__buttons {
	margin-bottom: 1em;
}

:root .hero__note {
	margin: 0;
	font-size: 0.95rem;
	opacity: 0.9;
}

:root .hero--page .hero-stats {
	margin-top: 28px;
}

/* Split intro: copy beside a photo */
:root .page-intro {
	padding-block: clamp(40px, 6vw, 80px);
}

:root .page-intro__row {
	display: flex;
	flex-wrap: wrap;
	gap: 48px;
	align-items: center;
	margin-bottom: 40px;
}

:root .page-intro__text {
	flex: 1 1 440px;
	min-width: 0;
}

:root .page-intro__media {
	flex: 1 1 380px;
	min-width: 0;
}

:root .page-intro__title {
	margin: 0 0 0.5em;
	color: var(--apm-green);
	font-size: clamp(2rem, 1.2rem + 2.6vw, 3rem);
}

:root .page-intro__text > p {
	margin: 0 0 1em;
}

:root .page-intro__lead {
	margin: 1.4em 0 0.6em;
	color: var(--apm-ink);
	font-weight: 700;
}

:root .page-intro__img img,
:root .page-split .page-intro__img img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--apm-radius-lg);
	box-shadow: var(--apm-shadow-card);
}

:root .page-intro__text .wp-block-buttons {
	margin-top: 1.4em;
}

/* Photo beside a stack of cards (fees page) */
:root .page-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
	gap: 40px;
	align-items: start;
}

:root .page-stack {
	display: grid;
	gap: 20px;
}

/* Cards */
:root .page-cards {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

:root .page-cards--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

:root .page-cards--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1000px) {
	:root .page-cards--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	:root .page-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	:root .page-cards,
	:root .page-cards--2,
	:root .page-cards--4 {
		grid-template-columns: 1fr;
	}
}

:root .page-card {
	padding: 28px;
	text-align: left;
}

:root .page-card--center {
	text-align: center;
}

:root .page-card__title {
	margin: 0 0 0.5em;
	color: var(--apm-green);
	font-size: 1.2rem;
	font-weight: 700;
}

:root .page-card__text,
:root .page-card__small {
	margin: 0 0 0.8em;
	font-size: 1rem;
}

:root .page-card__small {
	color: var(--apm-ink);
	font-weight: 600;
}

:root .page-card__big {
	margin: 0 0 0.3em;
	color: var(--apm-action);
	font-family: var(--apm-font-ui);
	font-size: clamp(1.9rem, 1.2rem + 1.6vw, 2.5rem);
	font-weight: 700;
	line-height: 1.15;
}

:root .page-card__icon {
	width: 64px;
	margin: 0 0 16px;
}

:root .page-card--center .page-card__icon {
	margin-inline: auto;
}

:root .page-card__icon img {
	display: block;
	width: 100%;
	height: auto;
}

:root .page-card .subtitle {
	margin: 0 0 0.5em;
	font-size: 0.85rem;
}

:root .page-card .wp-block-buttons {
	margin-top: 1.2em;
}

:root .page-card--outline {
	background: transparent;
	border: 2px solid var(--apm-green);
	box-shadow: none;
	color: var(--apm-ink);
	font-size: 1.1rem;
}

:root .page-card--outline p {
	margin: 0;
}

:root .page-card--featured {
	border: 2px solid var(--apm-green);
	box-shadow: var(--apm-shadow-lift);
}

:root .page-card--price .page-card__small {
	color: var(--apm-action);
}

:root .process-step__icon.wp-block-image {
	width: 90px;
	margin: 0 auto 12px;
}

:root .page-step-title {
	margin: 0 0 0.5em;
	color: var(--apm-green);
	font-weight: 700;
}

/* Numbered steps */
:root .page-steps {
	display: grid;
	gap: 16px;
	margin-block: 24px;
}

:root .page-step {
	display: flex;
	gap: 20px;
	align-items: flex-start;
}

:root .page-step__num {
	display: grid;
	flex: none;
	place-items: center;
	width: 44px;
	height: 44px;
	margin: 0;
	background: var(--apm-green);
	border-radius: 50%;
	color: #fff;
	font-family: var(--apm-font-ui);
	font-weight: 700;
}

:root .page-step__body {
	min-width: 0;
}

/* Checked lists */
:root .page-list {
	display: grid;
	gap: 12px;
	margin: 1em 0;
	padding: 0;
	list-style: none;
}

:root .page-list li {
	position: relative;
	padding-left: 34px;
	color: var(--apm-ink);
	line-height: 1.45;
}

:root .page-list li::before {
	position: absolute;
	top: 1px;
	left: 0;
	width: 22px;
	height: 22px;
	background: var(--apm-green);
	border-radius: 50%;
	color: #fff;
	font-size: 13px;
	line-height: 22px;
	text-align: center;
	content: '✓';
}

:root .page-list--cols {
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 12px 32px;
}

:root .page-list--light li {
	color: #fff;
}

:root .page-list--light li::before {
	background: var(--apm-mint);
	color: var(--apm-ink);
}

:root .page-card .page-list {
	margin: 0.8em 0 1em;
}

/* Pills */
:root .page-pills {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

:root .page-pills li {
	padding: 8px 18px;
	background: #fff;
	border: 1px solid var(--apm-sage);
	border-radius: 999px;
	color: var(--apm-green);
	font-weight: 600;
}

/* Comparison and pricing tables */
:root .compare-table {
	margin: 0;
	overflow-x: auto;
}

:root .compare-table table {
	width: 100%;
	background: #fff;
	border-collapse: separate;
	border-spacing: 0;
	border-radius: var(--apm-radius-md);
	box-shadow: var(--apm-shadow-card);
	overflow: hidden;
}

:root .compare-table th,
:root .compare-table td {
	padding: 14px 18px;
	border: 0;
	border-bottom: 1px solid #e9e5d6;
	text-align: left;
	vertical-align: top;
}

:root .compare-table th {
	background: var(--apm-green);
	color: #fff;
	font-family: var(--apm-font-ui);
	font-size: 0.95rem;
	font-weight: 600;
}

:root .compare-table td:first-child {
	color: var(--apm-ink);
	font-weight: 600;
}

:root .compare-table td:last-child {
	color: var(--apm-green);
	font-weight: 700;
}

:root .compare-table tr:last-child td {
	border-bottom: 0;
}

/* FAQ */
:root .page-faq {
	margin-top: 8px;
}

:root .page-faq .faq-item > summary {
	font-weight: 600;
}

/* Contact */
:root .page-contact {
	display: grid;
	gap: 24px;
	margin: 28px 0;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	text-align: center;
}

:root .page-card .page-contact {
	margin: 16px 0 0;
	text-align: left;
	grid-template-columns: 1fr;
	gap: 18px;
}

:root .page-card .page-contact__item {
	display: grid;
	grid-template-columns: 48px 1fr;
	column-gap: 14px;
	align-items: center;
	text-align: left;
}

:root .page-card .page-contact__icon {
	grid-row: span 2;
	margin: 0;
}

:root .page-contact__icon {
	width: 52px;
	margin: 0 auto 8px;
}

:root .page-contact__icon img {
	display: block;
	width: 100%;
	height: auto;
}

:root .page-contact__label {
	margin: 0;
	color: var(--apm-green);
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	font-size: 0.85rem;
}

:root .page-contact__value {
	margin: 0;
	color: var(--apm-ink);
}

:root .page-lead-card {
	max-width: 760px;
	margin: 32px auto 0;
}

:root .page-cards .page-lead-card {
	max-width: none;
	margin: 0;
}

:root .page-map {
	padding: 0;
	overflow: hidden;
}

:root .page-map iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 320px;
	border: 0;
}

/* Green call-to-action and page bands */
:root .page-cta {
	color: #fff;
}

:root .page-cta--center {
	text-align: center;
}

:root .page-cta h2 {
	color: #fff;
}

:root .page-cta .page-lead {
	margin-inline: auto;
}

:root .page-cta__note {
	margin: 1em 0 0;
	font-size: 0.95rem;
}

:root .page-cta__note a {
	color: #fff;
}

:root .page-band {
	text-align: center;
	color: #fff;
}

:root .page-band h1 {
	margin: 0 0 0.4em;
	color: #fff;
	font-size: clamp(2rem, 1.2rem + 2.6vw, 3rem);
}

:root .page-band .page-lead {
	margin-inline: auto;
}

:root .page-testimonials .subtitle {
	text-align: center;
}

@media (max-width: 800px) {
	:root .page-split {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	:root .page-card {
		padding: 22px;
	}

	:root .page-step {
		gap: 14px;
	}

	:root .compare-table th,
	:root .compare-table td {
		padding: 11px 12px;
		font-size: 0.92rem;
	}
}

/* ==========================================================================
   11. Responsive
   ========================================================================== */

/* Collapse the inline nav into the core overlay menu. Core switches at
   600px; this theme needs the toggle up to 1240px. */
@media (max-width: 1240px) {
	:root .site-header__inner {
		grid-template-columns: 1fr auto auto;
		grid-template-areas: 'logo actions nav';
	}

	:root .primary-nav .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none;
	}

	:root .primary-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}

	:root .primary-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
		padding: 12px 20px;
		white-space: normal;
	}
}

@media (max-width: 1024px) {
	:root .choose-card--featured {
		margin-top: -1.5rem;
	}

	:root .process__steps {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1200px) {
	:root .hero-stats {
		flex-wrap: nowrap;
	}
}

/* Between phone and desktop the four stats sit in a tidy 2 x 2 grid. */
@media (max-width: 1100px) and (min-width: 561px) {
	:root .hero-stats {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}

	:root .hero-stats__item + .hero-stats__item {
		padding-left: 10px;
		border-left: 0;
	}
}

@media (max-width: 980px) {
	:root .footer-grid {
		grid-template-columns: 1fr 1fr;
		grid-template-areas:
			'brand brand'
			'quick portals'
			'areas areas'
			'disc disc';
		gap: 44px 40px;
	}

	:root .footer-brand iframe {
		max-width: 100%;
	}
}

@media (max-width: 960px) {
	:root .guarantee__side,
	:root .analysis__image {
		display: none;
	}
}

@media (max-width: 800px) {
	:root .region-list {
		grid-auto-flow: row;
		grid-template-rows: none;
	}
}

@media (max-width: 768px) {
	:root .fee-table th,
	:root .fee-table td {
		padding: 16px 12px;
	}

	:root .fee-table thead th {
		font-size: 0.6875rem;
	}

	:root .fee-table thead th:last-child {
		background-position: 12px center;
		background-size: 70px auto;
	}

	:root .fee-table td:first-child {
		padding-left: 16px;
		font-size: 0.875rem;
	}

	:root .fee-table td:nth-child(2) {
		padding-left: 30px;
		font-size: 0.75rem;
	}

	:root .fee-table td:last-child {
		padding-left: 32px;
		font-size: 0.75rem;
	}

	:root .fee-table td:last-child strong {
		font-size: 0.8125rem;
	}

	:root .fee-table td:nth-child(2)::before,
	:root .fee-table td:last-child::before {
		left: 12px;
	}

	:root .fees__inner,
	:root .faq,
	:root .meet,
	:root .process,
	:root .options {
		padding-block: 64px;
	}
}

@media (max-width: 720px) {
	:root .choose-cards {
		flex-direction: column;
		align-items: stretch;
	}

	:root .choose-card--featured {
		margin-top: 0;
	}
}

@media (max-width: 680px) {
	:root .site-header__inner {
		grid-template-columns: 1fr auto;
		grid-template-areas:
			'logo nav'
			'actions actions';
		row-gap: 8px;
	}

	:root .header-actions {
		justify-content: center;
		gap: 12px;
	}

	:root .header-actions .wp-block-button {
		flex: 1 1 0;
		max-width: 210px;
	}

	:root .header-actions .wp-block-button__link {
		width: 100%;
		white-space: nowrap;
	}
}

@media (max-width: 640px) {
	:root .process__steps {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	:root .hero.wp-block-cover {
		background-image: linear-gradient(40deg, #515254 0%, #818285 55%, #9a9b9d 100%);
	}

	:root .hero .wp-block-cover__image-background {
		display: none;
	}

	:root .hero-stats {
		justify-content: center;
		gap: 16px;
	}

	:root .hero-stats__item {
		width: 40%;
		text-align: center;
	}

	:root .hero-stats__item + .hero-stats__item {
		padding-left: 10px;
		border-left: 0;
	}

	:root .region-list {
		grid-template-columns: 1fr;
	}

	:root .footer-inner {
		padding: 56px 0 30px;
	}

	:root .footer-grid {
		grid-template-columns: 1fr;
		grid-template-areas: 'brand' 'quick' 'portals' 'areas' 'disc';
	}

	:root .footer-bottom {
		justify-content: flex-start;
	}

	:root .testimonial-slide {
		padding: 28px 24px;
	}
}

@media (max-width: 480px) {
	:root .check-list {
		flex-direction: column;
	}

	:root .listing-card {
		width: 100%;
	}
}

/* ==========================================================================
   11b. Unit detail (single-unit.php)
   ========================================================================== */
:root .unit-hero {
	padding-block: clamp(28px, 4vw, 56px);
}

:root .unit-hero__back {
	margin: 0 0 12px;
	font-family: var(--apm-font-ui);
	font-size: 0.9rem;
}

:root .unit-hero__back a,
:root .unit-hero__back a:hover {
	color: var(--apm-mint);
}

:root .unit-hero__back a::before {
	content: '\2190\00a0';
}

:root .unit-hero__address {
	margin: 8px 0 0;
	color: rgba(255, 255, 255, 0.85);
	font-size: 1.125rem;
}

:root .unit-hero__summary {
	margin: 16px 0 20px;
	color: #fff;
	font-family: var(--apm-font-ui);
	font-size: 1.25rem;
	font-weight: 600;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 0;
}

:root .unit-hero__summary span + span::before {
	margin-inline: 12px;
	content: '|';
	opacity: 0.6;
}

:root .unit-hero .wp-block-buttons {
	justify-content: center;
}

:root .unit-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 40px;
	align-items: start;
	margin-block: clamp(28px, 4vw, 56px);
}

:root .unit-main {
	display: grid;
	gap: 28px;
	min-width: 0;
}

:root .unit-aside {
	position: sticky;
	top: 24px;
}

:root .unit-card {
	padding: clamp(20px, 3vw, 32px);
	background: #fff;
	border: 1px solid var(--apm-sage);
	border-radius: var(--apm-radius-md);
	box-shadow: var(--apm-shadow-card);
}

:root .unit-card__title {
	margin: 0 0 16px;
	color: var(--apm-green);
	font-size: 1.5rem;
}

/* Gallery */
:root .unit-gallery {
	display: grid;
	gap: 12px;
}

:root .unit-gallery__main {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--apm-mist);
	border-radius: var(--apm-radius-md);
}

:root .unit-gallery__main img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

:root .unit-gallery__thumbs {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

:root .unit-gallery__thumb {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border: 2px solid transparent;
	border-radius: var(--apm-radius-sm);
	opacity: 0.8;
	transition: opacity 0.25s, border-color 0.25s;
}

:root .unit-gallery__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

:root .unit-gallery__thumb:hover,
:root .unit-gallery__thumb:focus-visible,
:root .unit-gallery__thumb.is-active {
	border-color: var(--apm-green);
	opacity: 1;
}

/* Facts */
:root .unit-facts {
	margin: 0;
}

:root .unit-facts__row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 4px 24px;
	padding: 12px 0;
	border-bottom: 1px solid var(--apm-sage);
}

:root .unit-facts__row:last-child {
	border-bottom: 0;
}

:root .unit-facts dt {
	color: var(--apm-ink);
	font-weight: 700;
}

:root .unit-facts dd {
	margin: 0;
	color: var(--apm-body);
	text-align: right;
}

:root .unit-amenities {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

:root .unit-amenities li::before {
	margin-right: 0.5rem;
	color: var(--apm-green);
	content: '\2713';
	font-weight: 700;
}

:root .unit-description p {
	margin: 0 0 1em;
	line-height: 1.7;
}

:root .unit-description p:last-child {
	margin-bottom: 0;
}

:root .unit-map {
	display: block;
	width: 100%;
	height: 340px;
	border: 0;
	border-radius: var(--apm-radius-sm);
}

/* Contact card */
:root .unit-contact__rent {
	margin: 0 0 16px;
	color: var(--apm-green);
	font-family: var(--apm-font-ui);
	font-size: 2.25rem;
	font-weight: 700;
	line-height: 1.1;
}

:root .unit-contact__rent span {
	color: var(--apm-body);
	font-size: 1rem;
	font-weight: 400;
}

:root .unit-contact__buttons {
	flex-direction: column;
	align-items: stretch;
}

:root .unit-contact__buttons .wp-block-button,
:root .unit-contact__buttons .wp-block-button__link {
	display: flex;
	width: 100%;
}

:root .unit-contact__name {
	margin: 24px 0 8px;
	color: var(--apm-ink);
	font-size: 1.125rem;
}

:root .unit-contact__details {
	margin: 0 0 8px;
	font-style: normal;
	line-height: 1.5;
}

:root .unit-contact__license {
	margin: 12px 0 0;
	color: var(--apm-body);
	font-size: 0.875rem;
}

@media (max-width: 900px) {
	:root .unit-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	:root .unit-aside {
		position: static;
	}

	:root .unit-facts dd {
		text-align: left;
	}

	:root .unit-map {
		height: 260px;
	}
}

/* ==========================================================================
   12. Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}

	:root .wp-block-button__link:hover,
	:root .wp-block-button__link:focus-visible {
		transform: none;
	}
}
