/*
Theme Name: AREDC 2026
Theme URI: https://alasmakhrealestate.com/
Template: ollie
Author: AREDC
Author URI: https://alasmakhrealestate.com/
Description: A block theme for AREDC built as a child of Ollie. Inherits Ollie's templates, patterns, and design system, then layers the AREDC navy brand palette on top.
Requires at least: 6.7
Tested up to: 7.1
Requires PHP: 7.4
Version: 0.9.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aredc-2026
Tags: full-site-editing, block-patterns, block-styles, template-editing, wide-blocks, custom-colors, custom-logo, custom-menu, editor-style, featured-images, blog, portfolio, news
*/

/* Theme overrides
---------------------------------------------------------------------------- */

:root {
	--aredc-radius-control: var(--wp--preset--border-radius--control, 4px);
	--aredc-radius-surface: var(--wp--preset--border-radius--surface, 8px);
	--aredc-content-fade-duration: 0.45s;
	--aredc-content-fade-ease: cubic-bezier(0.33, 1, 0.68, 1);
}

@keyframes aredc-fade-in-up {
	from {
		opacity: 0;
		transform: translate3d(0, 10px, 0);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

html.is-content-ready .site-content {
	opacity: 1;
	transform: none;
	transition:
		opacity var(--aredc-content-fade-duration) var(--aredc-content-fade-ease),
		transform var(--aredc-content-fade-duration) var(--aredc-content-fade-ease);
}

.aredc-property-grid-view {
	transition:
		opacity 0.32s ease,
		transform 0.32s ease;
}

.aredc-property-grid-view.is-content-swapping {
	opacity: 0;
	pointer-events: none;
	transform: translate3d(0, 6px, 0);
}

.aredc-property-grid-view.is-content-revealing {
	opacity: 1;
	transform: none;
}

/* Full-bleed art and transparent marks are clipped by their container instead. */
.wp-block-cover__image-background,
.aredc-brand-mark img,
.aredc-mega__caret img,
.aredc-mega__links img,
.aredc-partners-set img,
.aredc-service-icon img,
.aredc-project-icon,
.aredc-agent-icon,
.aredc-listing-card__image {
	border-radius: 0;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.wp-element-button,
.wp-block-button__link {
	border-radius: var(--aredc-radius-control);
}

.wp-block-button.is-style-outline .wp-block-button__link {
	border: 1px solid var(--wp--custom--color--gold-border, rgba(160, 121, 54, 0.3));
	outline: none;
	background-color: transparent;
	color: var(--wp--custom--color--gold-muted, rgba(160, 121, 54, 0.7));
	letter-spacing: 0.05em;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:focus {
	color: var(--wp--preset--color--gold);
	outline: none;
}

.wp-block-button.is-style-outline.aredc-login-button .wp-block-button__link:hover,
.wp-block-button.is-style-outline.aredc-login-button .wp-block-button__link:focus {
	border-color: var(--wp--preset--color--gold);
}

/* Border buttons reveal a trailing arrow on hover, per Figma. */
.wp-block-button.is-style-outline:not(.aredc-login-button) .wp-block-button__link,
.aredc-button-light .wp-block-button__link,
.aredc-home-search__submit {
	align-items: center;
	display: inline-flex;
	justify-content: center;
	position: relative;
	transition: background-color 0.45s cubic-bezier(0.33, 1, 0.68, 1), border-color 0.45s cubic-bezier(0.33, 1, 0.68, 1), box-shadow 0.45s cubic-bezier(0.33, 1, 0.68, 1), color 0.45s cubic-bezier(0.33, 1, 0.68, 1);
}

/*
 * A warm halo under the button. This used to be a drop-shadow on the traced line
 * itself, but clip-path is applied after filters, so the clip cut the glow off
 * flush against the line. Sitting on the button it stays whole.
 */
.wp-block-button.is-style-outline:not(.aredc-login-button) .wp-block-button__link:hover,
.wp-block-button.is-style-outline:not(.aredc-login-button) .wp-block-button__link:focus-visible,
button.aredc-trace:hover,
button.aredc-trace:focus-visible,
a.aredc-trace:hover,
a.aredc-trace:focus-visible {
	box-shadow: 0 8px 26px -14px var(--wp--custom--color--gold-glow, rgba(191, 149, 82, 0.5));
}

/*
 * Hover outline traced after the Sobha Realty CTA (.button-1 on sobharealty.com).
 * Two L-shaped pseudo elements hold the perimeter — ::before the top and left
 * edges, ::after the bottom and right — and a clip reveals them in sequence so
 * one gold line runs the whole way round: top edge right-to-left, down the left,
 * along the bottom, then up the right, un-drawing in reverse on leave.
 *
 * Sobha grow the pseudo elements from zero, but that flattens the corners while
 * they are small: CSS scales border-radius down whenever a box is narrower than
 * the sum of its radii. Here the boxes stay full size and only the clip moves,
 * so every corner keeps its true radius for the whole animation.
 *
 * Both edges of a corner must appear together, so the clip keeps a short lead on
 * the cross axis (--aredc-trace-cap) big enough to hold one corner arc.
 *
 * Only the first and last steps are eased, which lets the stroke read as a single
 * gesture that starts and settles gently. Edge tones run light on top through to
 * deep on the bottom, giving the finished outline the sheen of a bevelled edge.
 *
 * On block buttons the trace sits on the .wp-block-button wrapper because the
 * link's ::after already carries the hover arrow. The wrapper is made a flex box
 * so it shrinks to exactly the link's border box and the trace lines up with the
 * resting border. Plain <button> elements carry the trace themselves and opt in
 * with .aredc-trace.
 */
@property --aredc-trace-run {
	syntax: "<length-percentage>";
	inherits: false;
	initial-value: 0%;
}

@property --aredc-trace-rise {
	syntax: "<length-percentage>";
	inherits: false;
	initial-value: 0%;
}

.wp-block-button.is-style-outline:not(.aredc-login-button),
.aredc-trace {
	--aredc-trace-inset: 0px;
	position: relative;
}

.wp-block-button.is-style-outline:not(.aredc-login-button),
.wp-block-button.aredc-trace {
	display: flex;
}

button.aredc-trace,
a.aredc-trace {
	/* Pulled out by its own 1px border, which the pseudo elements sit on top of. */
	--aredc-trace-inset: -1px;
}

.wp-block-button.is-style-outline:not(.aredc-login-button)::before,
.wp-block-button.is-style-outline:not(.aredc-login-button)::after,
.aredc-trace::before,
.aredc-trace::after {
	--aredc-trace-cap: calc(var(--aredc-radius-control) + 4px);
	--aredc-trace-run: 0%;
	--aredc-trace-rise: var(--aredc-trace-cap);
	border-radius: var(--aredc-radius-control);
	content: "";
	inset: var(--aredc-trace-inset);
	pointer-events: none;
	position: absolute;
}

.wp-block-button.is-style-outline:not(.aredc-login-button)::before,
.aredc-trace::before {
	border-left: 1px solid var(--wp--custom--color--gold-sheen, #bf9552);
	border-top: 1px solid var(--wp--custom--color--gold-sheen-light, #cfa96a);
	clip-path: inset(0 0 calc(100% - var(--aredc-trace-rise)) calc(100% - var(--aredc-trace-run)));
	transition: --aredc-trace-run 0.26s 0.5s cubic-bezier(0, 0, 0.55, 1), --aredc-trace-rise 0.12s 0.38s linear;
}

.wp-block-button.is-style-outline:not(.aredc-login-button)::after,
.aredc-trace::after {
	border-bottom: 1px solid var(--wp--custom--color--gold-sheen-deep, #9c7838);
	border-right: 1px solid var(--wp--custom--color--gold-sheen, #bf9552);
	clip-path: inset(calc(100% - var(--aredc-trace-rise)) calc(100% - var(--aredc-trace-run)) 0 0);
	transition: --aredc-trace-run 0.26s 0.12s linear, --aredc-trace-rise 0.12s cubic-bezier(0.45, 0, 1, 1);
}

/*
 * Wrappers watch for focus on the link inside them; a button that holds the
 * trace itself uses :focus-visible so a pointer click does not leave the
 * outline drawn behind.
 */
.wp-block-button.is-style-outline:not(.aredc-login-button):is(:hover, :focus-within)::before,
.wp-block-button.is-style-outline:not(.aredc-login-button):is(:hover, :focus-within)::after,
.wp-block-button.aredc-trace:is(:hover, :focus-within)::before,
.wp-block-button.aredc-trace:is(:hover, :focus-within)::after,
button.aredc-trace:is(:hover, :focus-visible)::before,
button.aredc-trace:is(:hover, :focus-visible)::after,
a.aredc-trace:is(:hover, :focus-visible)::before,
a.aredc-trace:is(:hover, :focus-visible)::after {
	--aredc-trace-run: 100%;
	--aredc-trace-rise: 100%;
}

.wp-block-button.is-style-outline:not(.aredc-login-button):is(:hover, :focus-within)::before,
.wp-block-button.aredc-trace:is(:hover, :focus-within)::before,
button.aredc-trace:is(:hover, :focus-visible)::before,
a.aredc-trace:is(:hover, :focus-visible)::before {
	transition: --aredc-trace-run 0.26s cubic-bezier(0.45, 0, 1, 1), --aredc-trace-rise 0.12s 0.26s linear;
}

.wp-block-button.is-style-outline:not(.aredc-login-button):is(:hover, :focus-within)::after,
.wp-block-button.aredc-trace:is(:hover, :focus-within)::after,
button.aredc-trace:is(:hover, :focus-visible)::after,
a.aredc-trace:is(:hover, :focus-visible)::after {
	transition: --aredc-trace-run 0.26s 0.38s linear, --aredc-trace-rise 0.12s 0.64s cubic-bezier(0, 0, 0.55, 1);
}

/*
 * The arrow is a pseudo element on block button links, but a real <i> on the
 * <button> submits, whose own ::before / ::after are taken by the trace above.
 */
.wp-block-button.is-style-outline:not(.aredc-login-button) .wp-block-button__link::after,
.aredc-button-light .wp-block-button__link::after,
.aredc-home-search__submit .aredc-btn-arrow,
.aredc-contact-submit .aredc-btn-arrow,
.aredc-subscribe-form button .aredc-btn-arrow,
a.aredc-trace .aredc-btn-arrow,
.aredc-agent-card__cta .aredc-btn-arrow {
	background: currentColor;
	content: "";
	flex-shrink: 0;
	height: 16px;
	margin-inline-start: 0;
	mask: 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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16M14 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	opacity: 0;
	transform: translateX(-8px);
	transition: width 0.45s cubic-bezier(0.33, 1, 0.68, 1), margin 0.45s cubic-bezier(0.33, 1, 0.68, 1), opacity 0.45s cubic-bezier(0.33, 1, 0.68, 1), transform 0.45s cubic-bezier(0.33, 1, 0.68, 1);
	width: 0;
}

.wp-block-button.is-style-outline:not(.aredc-login-button) .wp-block-button__link:hover::after,
.wp-block-button.is-style-outline:not(.aredc-login-button) .wp-block-button__link:focus-visible::after,
.aredc-button-light .wp-block-button__link:hover::after,
.aredc-button-light .wp-block-button__link:focus-visible::after,
.aredc-home-search__submit:hover .aredc-btn-arrow,
.aredc-home-search__submit:focus-visible .aredc-btn-arrow,
.aredc-contact-submit:hover .aredc-btn-arrow,
.aredc-contact-submit:focus-visible .aredc-btn-arrow,
.aredc-subscribe-form button:hover .aredc-btn-arrow,
.aredc-subscribe-form button:focus-visible .aredc-btn-arrow,
a.aredc-trace:hover .aredc-btn-arrow,
a.aredc-trace:focus-visible .aredc-btn-arrow,
.aredc-agent-card__link:hover .aredc-agent-card__cta .aredc-btn-arrow,
.aredc-agent-card__link:focus-visible .aredc-agent-card__cta .aredc-btn-arrow {
	margin-inline-start: 12px;
	opacity: 1;
	transform: translateX(0);
	width: 16px;
}

[dir="rtl"] .wp-block-button.is-style-outline .wp-block-button__link::after,
[dir="rtl"] .aredc-button-light .wp-block-button__link::after,
[dir="rtl"] .aredc-home-search__submit .aredc-btn-arrow,
[dir="rtl"] .aredc-contact-submit .aredc-btn-arrow,
[dir="rtl"] .aredc-subscribe-form button .aredc-btn-arrow,
[dir="rtl"] a.aredc-trace .aredc-btn-arrow,
[dir="rtl"] .aredc-agent-card__cta .aredc-btn-arrow {
	scale: -1 1;
}

@media (prefers-reduced-motion: reduce) {

	.wp-block-button.is-style-outline .wp-block-button__link,
	.wp-block-button.is-style-outline .wp-block-button__link::after,
	.aredc-button-light .wp-block-button__link::after,
	.aredc-home-search__submit .aredc-btn-arrow,
	.aredc-contact-submit .aredc-btn-arrow,
	.aredc-subscribe-form button .aredc-btn-arrow,
	a.aredc-trace .aredc-btn-arrow,
	.aredc-agent-card__cta .aredc-btn-arrow {
		transition: none;
	}

	/* Class doubled to outweigh the per-button transitions declared further down. */
	.aredc-trace.aredc-trace,
	.aredc-trace.aredc-trace .wp-block-button__link {
		transition: none;
	}

	/* Specific enough to beat the per-step hover timings declared above. */
	.wp-block-button.is-style-outline:not(.aredc-login-button)::before,
	.wp-block-button.is-style-outline:not(.aredc-login-button)::after,
	.wp-block-button.is-style-outline:not(.aredc-login-button):is(:hover, :focus-within)::before,
	.wp-block-button.is-style-outline:not(.aredc-login-button):is(:hover, :focus-within)::after,
	.aredc-trace::before,
	.aredc-trace::after,
	.wp-block-button.aredc-trace:is(:hover, :focus-within)::before,
	.wp-block-button.aredc-trace:is(:hover, :focus-within)::after,
	button.aredc-trace:is(:hover, :focus-visible)::before,
	button.aredc-trace:is(:hover, :focus-visible)::after,
	a.aredc-trace:is(:hover, :focus-visible)::before,
	a.aredc-trace:is(:hover, :focus-visible)::after {
		transition: none;
	}
}

.aredc-design-system .aredc-ds-swatch {
	min-height: 96px;
}

.aredc-design-system .aredc-ds-token {
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.01em;
}

/* Front page — AREDC-Final homepage-v2
---------------------------------------------------------------------------- */

/* Section headings on the front page follow the Figma scale, a step below the global h2. */
.home .site-content h2.wp-block-heading {
	font-size: clamp(1.75rem, 2.3vw, 2rem);
	letter-spacing: 0;
}

:root {
	--aredc-header-height: 76px;
}

.aredc-loading-bar {
	background: color-mix(in srgb, var(--wp--preset--color--main, #02264c) 14%, transparent);
	height: 3px;
	inset-inline: 0;
	opacity: 0;
	overflow: hidden;
	pointer-events: none;
	position: fixed;
	top: var(--aredc-header-height);
	transition: opacity 0.2s ease, transform 0.3s ease;
	z-index: 100000;
}

.admin-bar .aredc-loading-bar {
	top: calc(var(--wp-admin--admin-bar--height, 32px) + var(--aredc-header-height));
}

/* Follow the sticky header to the viewport edge when it slides out of view. */
body:has(.aredc-header-sticky.is-hidden) .aredc-loading-bar {
	transform: translateY(calc(-1 * var(--aredc-header-height)));
}

.aredc-loading-bar.is-active {
	opacity: 1;
}

.aredc-loading-bar__indicator {
	animation: aredc-loading-bar-slide 1.1s ease-in-out infinite;
	background: linear-gradient(90deg,
			transparent,
			var(--wp--preset--color--gold, #c69f56),
			transparent);
	display: block;
	height: 100%;
	width: 40%;
}

@media (prefers-reduced-motion: reduce) {
	.aredc-loading-bar__indicator {
		animation: none;
		background: var(--wp--preset--color--gold, #c69f56);
		opacity: 0.9;
		width: 100%;
	}

	html.is-content-ready .site-content,
	.aredc-property-grid-view {
		transition: none;
	}

	.aredc-agent-grid>li.is-entering {
		animation: none;
	}
}

@keyframes aredc-loading-bar-slide {
	0% {
		transform: translateX(-120%);
	}

	100% {
		transform: translateX(350%);
	}
}

.wp-site-blocks>* {
	margin-block-start: 0;
}

.aredc-header-sticky {
	background: rgba(255, 255, 255, 0.92);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 20;
	border-bottom: 1px solid rgba(0, 0, 0, 0.2);
	transition: transform 0.3s ease;
}

.aredc-header-sticky.is-hidden {
	transform: translateY(-100%);
}

.home .aredc-header-sticky {
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	background: rgba(255, 255, 255, 0.72);
	border-bottom: 1px solid rgba(2, 38, 76, 0.08);
}

/* The header is fixed on inner pages, so the content clears its height.
   WordPress offsets in-flow content for the admin bar via `html { margin-top }`,
   so the admin bar height must not be added here a second time. */
body:not(.home) .site-content {
	padding-top: var(--aredc-header-height);
}

/* Keep the page title and body in one centered reading column. */
.aredc-content-page__inner {
	box-sizing: border-box;
	margin-inline: auto;
	max-width: 906px;
	width: 100%;
}

/* Header spans the viewport so the logo and login sit at the edges. */
.aredc-site-header .aredc-header-inner.alignwide {
	max-width: none;
}

.aredc-site-header .aredc-header-inner {
	min-height: var(--aredc-header-height);
	width: 100%;
}

@media (min-width: 901px) {
	.aredc-site-header .aredc-header-inner {
		display: grid;
		grid-template-columns: auto 1fr auto;
		width: 100%;
	}

	.aredc-site-header .aredc-primary-nav {
		justify-self: center;
	}
}

.aredc-brand-mark img {
	display: block;
	height: 44px;
	width: 60px;
	object-fit: contain;
}

/* Login hidden for now; remove this rule to bring it back. */
.aredc-site-header .wp-block-buttons:has(.aredc-login-button) {
	display: none !important;
}

.aredc-login-button .wp-block-button__link {
	min-height: 38px;
	padding: 0.5rem 1.25rem;
}

/* Primary navigation with the Figma mega menu panels. */
.aredc-mega__list {
	--aredc-mega-gap: 32px;
	align-items: center;
	display: flex;
	gap: var(--aredc-mega-gap);
	list-style: none;
	margin: 0;
	padding: 0;
}

.aredc-mega__head {
	align-items: center;
	border-bottom: 1px solid transparent;
	display: flex;
	gap: 16px;
	min-height: 76px;
}

.aredc-mega__link {
	color: var(--wp--preset--color--main);
	font-weight: 300;
	text-decoration: none;
	white-space: nowrap;
}

.aredc-mega__link.is-current {
	font-weight: 400;
}

.aredc-mega__caret {
	align-items: center;
	background: none;
	border: 0;
	color: inherit;
	cursor: pointer;
	display: inline-flex;
	justify-content: center;
	min-height: 44px;
	padding-inline: 8px;
	transition: transform 0.25s ease;
}

/* Desktop: keep the caret with its label. The negative margin cancels the hit-area padding so it does not widen the gap to the next item. */
@media (min-width: 901px) {
	.aredc-mega__head {
		gap: 6px;
	}

	.aredc-mega__caret {
		margin-inline: -8px;
	}
}

.aredc-mega__caret img,
.aredc-mega__links img {
	display: block;
}

.aredc-mega__item.is-open>.aredc-mega__head {
	font-weight: 500;
}

.aredc-mega__item.is-open .aredc-mega__caret {
	transform: scaleY(-1);
}

.aredc-mega__panel {
	background: rgb(255 255 255 / 95%);
	border-top: 1px solid rgba(2, 38, 76, 0.08);
	box-shadow: 0 24px 48px rgba(2, 38, 76, 0.08);
	/* The header is the containing block, so this spans the viewport. */
	inset-inline: 0;
	opacity: 0;
	padding: 34px 16px 36px;
	position: absolute;
	top: 100%;
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
	transform: translateY(-8px);
	visibility: hidden;
	z-index: 5;
}

.aredc-mega__item.is-open>.aredc-mega__panel,
.aredc-mega:not(.is-enhanced) .aredc-mega__item:hover>.aredc-mega__panel,
.aredc-mega:not(.is-enhanced) .aredc-mega__item:focus-within>.aredc-mega__panel {
	opacity: 1;
	transform: none;
	visibility: visible;
}

.aredc-mega__panel-inner {
	display: grid;
	gap: 40px;
	grid-template-columns: minmax(0, 426px) minmax(0, 355px) minmax(0, 498px);
	justify-content: space-between;
	margin-inline: auto;
	max-width: none;
	width: 100%;
}

.aredc-mega__title {
	font-size: var(--wp--preset--font-size--medium);
	margin: 0 0 16px;
}

.aredc-mega__description {
	color: #4e4e4e;
	font-weight: 300;
	line-height: 24px;
	margin: 0;
}

.aredc-mega__links {
	/* Rows keep their Figma spacing instead of stretching to the photo height. */
	align-content: start;
	display: grid;
	gap: 24px;
	list-style: none;
	margin: 0;
	padding: 20px 0 0;
}

.aredc-mega__links li {
	margin: 0;
}

.aredc-mega__links a {
	align-items: center;
	border-bottom: 1px solid var(--wp--preset--color--border-light);
	color: rgba(2, 38, 76, 0.7);
	display: flex;
	gap: 16px;
	justify-content: space-between;
	padding-bottom: 20px;
	text-decoration: none;
	transition: color 0.2s ease;
}

.aredc-mega__links a:hover,
.aredc-mega__links a:focus-visible {
	color: var(--wp--preset--color--main);
}

.aredc-mega__links img {
	transform: rotate(-90deg);
	transition: translate 0.2s ease;
}

.aredc-mega__links a:hover img,
.aredc-mega__links a:focus-visible img {
	translate: 4px 0;
}

.aredc-mega__media {
	margin: 0;
}

.aredc-mega__media img {
	aspect-ratio: 498 / 224;
	border-radius: var(--aredc-radius-surface);
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.aredc-mega__burger {
	background: none;
	border: 0;
	cursor: pointer;
	display: none;
	height: 44px;
	padding: 0;
	width: 44px;
}

.aredc-mega__burger-bars,
.aredc-mega__burger-bars::before,
.aredc-mega__burger-bars::after {
	background: var(--wp--preset--color--main);
	display: block;
	height: 1px;
	width: 22px;
}

.aredc-mega__burger-bars {
	margin-inline: auto;
	position: relative;
}

.aredc-mega__burger-bars::before,
.aredc-mega__burger-bars::after {
	content: "";
	position: absolute;
}

.aredc-mega__burger-bars::before {
	top: -7px;
}

.aredc-mega__burger-bars::after {
	top: 7px;
}

@media (prefers-reduced-motion: reduce) {

	.aredc-mega__panel,
	.aredc-mega__caret,
	.aredc-mega__links a,
	.aredc-mega__links img {
		transition: none;
	}
}

/* Mobile navigation presents one menu level at a time in a modal side drawer. */
.aredc-mobile-menu {
	background: var(--wp--preset--color--base, #fff);
	border: 0;
	box-sizing: border-box;
	color: var(--wp--preset--color--main, #02264c);
	height: 100dvh;
	max-height: none;
	max-width: none;
	width: min(85vw, 400px);
	inset: 0 auto 0 0;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

.aredc-mobile-menu[open] {
	display: flex;
	flex-direction: column;
	animation: aredc-menu-enter 0.25s ease both;
}

.aredc-mobile-menu::backdrop {
	background: rgb(0 0 0 / 50%);
}

.aredc-mobile-menu__toolbar {
	align-items: center;
	border-bottom: 1px solid var(--wp--preset--color--border-light, #e5e7eb);
	display: flex;
	flex: 0 0 auto;
	gap: 8px;
	min-height: 68px;
	padding: env(safe-area-inset-top, 0px) 12px 0;
}

.aredc-mobile-menu__toolbar h2 {
	flex: 1;
	font: inherit;
	font-size: 16px;
	font-weight: 500;
	margin: 0;
	padding-inline-start: 4px;
}

.aredc-mobile-menu button {
	background: none;
	border: 0;
	color: inherit;
	cursor: pointer;
	font: inherit;
}

.aredc-mobile-menu__toolbar button {
	align-items: center;
	display: flex;
	flex: 0 0 44px;
	justify-content: center;
	height: 44px;
	padding: 0;
	position: relative;
}

.aredc-mobile-menu__back[hidden] {
	display: none;
}

.aredc-mobile-menu__back::before,
.aredc-mobile-menu__links button::after {
	border: solid currentColor;
	border-width: 0 1px 1px 0;
	content: "";
	height: 6px;
	width: 6px;
	transform: rotate(135deg);
}

.aredc-mobile-menu__close::before,
.aredc-mobile-menu__close::after {
	background: currentColor;
	content: "";
	height: 1px;
	position: absolute;
	width: 24px;
	transform: rotate(45deg);
}

.aredc-mobile-menu__close::after {
	transform: rotate(-45deg);
}

.aredc-mobile-menu__content {
	flex: 1;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding-bottom: env(safe-area-inset-bottom, 0px);
}

.aredc-mobile-menu__links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.aredc-mobile-menu__links li {
	margin: 0;
}

.aredc-mobile-menu__links a,
.aredc-mobile-menu__links button {
	align-items: center;
	border-bottom: 1px solid var(--wp--preset--color--border-light, #e5e7eb);
	box-sizing: border-box;
	color: inherit;
	display: flex;
	font-size: 16px;
	gap: 16px;
	justify-content: space-between;
	min-height: 56px;
	padding: 16px;
	text-align: start;
	text-decoration: none;
	width: 100%;
}

.aredc-mobile-menu__links button::after {
	flex: 0 0 6px;
	transform: rotate(-45deg);
}

.aredc-mobile-menu :is(a, button):focus-visible {
	outline: 2px solid currentColor;
	outline-offset: -4px;
}

.aredc-mobile-menu__content[data-direction="forward"]>ul {
	animation: aredc-menu-forward 0.2s ease both;
}

.aredc-mobile-menu__content[data-direction="back"]>ul {
	animation: aredc-menu-back 0.2s ease both;
}

@keyframes aredc-menu-enter {
	from {
		transform: translateX(-100%);
	}

	to {
		transform: translateX(0);
	}
}

@keyframes aredc-menu-forward {
	from {
		opacity: 0;
		transform: translateX(24px);
	}

	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes aredc-menu-back {
	from {
		opacity: 0;
		transform: translateX(-24px);
	}

	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@media (prefers-reduced-motion: reduce) {

	.aredc-mobile-menu[open],
	.aredc-mobile-menu__content[data-direction]>ul {
		animation: none;
	}
}

/* Retain the inline menu layout as a fallback for unenhanced markup. */
@media (max-width: 900px) {
	.aredc-mega__burger {
		display: block;
	}

	.aredc-mega__list {
		background: var(--wp--preset--color--base);
		border-top: 1px solid rgba(2, 38, 76, 0.08);
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		inset-inline: 0;
		max-height: calc(100svh - var(--aredc-header-height));
		overflow-y: auto;
		padding: 8px 16px 24px;
		position: absolute;
		top: 100%;
		z-index: 5;
	}

	.aredc-mega.is-nav-open .aredc-mega__list {
		display: flex;
	}

	.aredc-mega__item {
		border-bottom: 1px solid var(--wp--preset--color--border-light);
	}

	.aredc-mega__head {
		border-bottom: 0;
		justify-content: space-between;
		min-height: 52px;
	}

	.aredc-mega__link {
		flex: 1;
	}

	.aredc-mega__caret {
		min-width: 44px;
	}

	.aredc-mega__panel {
		background: none;
		border: 0;
		box-shadow: none;
		display: none;
		margin: 0;
		opacity: 1;
		padding: 0 0 16px;
		position: static;
		transform: none;
		visibility: visible;
	}

	.aredc-mega__item.is-open>.aredc-mega__panel {
		display: block;
	}

	.aredc-mega__panel-inner {
		gap: 16px;
		grid-template-columns: 1fr;
	}

	.aredc-mega__media {
		display: none;
	}

	:root {
		--aredc-header-height: 55px;
	}

	.aredc-brand-mark img {
		height: 36px;
		width: 50px;
	}

	.aredc-mega__head {
		min-height: 55px;
	}
}

.aredc-home-hero {
	align-items: stretch;
	min-height: 100vh;
	min-height: 100svh;
}

.admin-bar .aredc-home-hero {
	min-height: calc(100svh - var(--wp-admin--admin-bar--height, 32px));
}

.wp-block-cover.aredc-home-hero>.wp-block-cover__background.has-background-dim.has-primary-background-color {
	/* Preset color classes use !important; clear it so the gradient shows the video. */
	background-color: transparent !important;
	background-image: linear-gradient(180deg, rgba(2, 38, 76, 0.65) 0%, rgba(2, 38, 76, 0.4) 70%, rgba(2, 38, 76, 0) 100%);
	opacity: 1;
}

.aredc-home-hero>.wp-block-cover__inner-container {
	align-self: stretch;
	display: grid;
	gap: 32px;
	grid-template-rows: 1fr auto;
	padding-top: var(--aredc-header-height);
	width: 100%;
	max-width: none;
}

.aredc-home-hero>.wp-block-cover__inner-container>* {
	margin-block: 0;
}

.aredc-home-hero>.wp-block-cover__inner-container>.wp-block-group {
	align-self: center;
}

.aredc-home-hero>.wp-block-cover__inner-container>.aredc-home-search {
	align-self: end;
	margin-bottom: 4rem;
}

.aredc-home-hero h1 {
	max-width: none !important;
	font-size: clamp(2.25rem, 3.4vw, 3rem);
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.2;
}

.aredc-home-hero h1+p {
	font-weight: 300;
	margin-inline: auto;
	max-width: 600px;
}

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

.admin-bar .aredc-home-hero>.wp-block-cover__inner-container {
	padding-top: calc(var(--aredc-header-height) + var(--wp-admin--admin-bar--height, 32px));
}

.aredc-home-search {
	display: grid;
	gap: 16px;
	justify-items: center;
	margin-inline: auto;
	max-width: 1000px;
	width: 100%;
}

.aredc-home-search__tabs {
	background: var(--wp--preset--color--base);
	border-radius: var(--aredc-radius-surface);
	display: flex;
	gap: 4px;
	padding: 4px;
}

.aredc-home-search__tab {
	display: inline-flex;
	position: relative;
}

.aredc-home-search__tab input {
	height: 1px;
	margin: 0;
	opacity: 0;
	position: absolute;
	width: 1px;
}

.aredc-home-search__tab span {
	align-items: center;
	border-radius: var(--aredc-radius-control);
	color: var(--wp--preset--color--main);
	cursor: pointer;
	display: inline-flex;
	font-size: var(--wp--preset--font-size--x-small);
	justify-content: center;
	letter-spacing: 0.08em;
	min-height: 36px;
	min-width: 88px;
	padding: 0 1.25rem;
	text-transform: uppercase;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.aredc-home-search__tab span:hover {
	background: var(--wp--preset--color--primary-accent);
}

.aredc-home-search__tab input:checked+span {
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
}

.aredc-home-search__tab input:focus-visible+span {
	outline: 2px solid var(--wp--preset--color--gold);
	outline-offset: 2px;
}

.aredc-home-search__card {
	background: var(--wp--preset--color--base);
	border-radius: var(--aredc-radius-surface);
	box-shadow: var(--wp--preset--shadow--navy-card);
	width: 100%;
}

.aredc-home-search__filters {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	position: relative;
}

/* Figma hairline under the filter row, inset from the card edges. */
.aredc-home-search__filters::after {
	background: rgba(3, 38, 77, 0.08);
	bottom: 0;
	content: "";
	height: 1px;
	inset-inline: 24px;
	position: absolute;
}

.aredc-home-search__select {
	display: block;
	min-width: 0;
	padding: 12px 24px;
	position: relative;
}

.aredc-home-search__select+.aredc-home-search__select::before {
	background: rgba(3, 38, 77, 0.08);
	content: "";
	height: 26px;
	inset-inline-start: 0;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
}

.aredc-home-search__select select,
.aredc-home-search__select .aredc-select__trigger,
.aredc-home-search__select .aredc-select__trigger:hover,
.aredc-home-search__select .aredc-select__trigger:focus {
	-webkit-appearance: none;
	appearance: none;
	background-color: transparent;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%2302264c' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
	background-position: right 12px center;
	background-repeat: no-repeat;
	background-size: 10px 6px;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	box-sizing: border-box;
	color: var(--wp--preset--color--main);
	cursor: pointer;
	display: block;
	font-family: inherit;
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.3;
	min-height: 36px;
	min-width: 0;
	padding: 8px 32px 8px 12px;
	text-transform: none;
	width: 100%;
}

.aredc-home-search__select .aredc-select.is-open .aredc-select__trigger {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 6.5 6 1.5 11 6.5' fill='none' stroke='%2302264c' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
}

.aredc-home-search__select select:has(option[value=""]:checked),
.aredc-home-search__select .aredc-select__trigger.is-placeholder,
.aredc-home-search__select .aredc-select__trigger.is-placeholder:hover,
.aredc-home-search__select .aredc-select__trigger.is-placeholder:focus {
	color: var(--wp--preset--color--placeholder);
	font-weight: 400;
}

.aredc-home-search .aredc-home-search__select:first-child select,
.aredc-home-search .aredc-home-search__select:first-child .aredc-select__trigger,
.aredc-home-search .aredc-home-search__select:first-child .aredc-select__trigger:hover,
.aredc-home-search .aredc-home-search__select:first-child .aredc-select__trigger:focus {
	color: var(--wp--preset--color--main);
	font-weight: 500;
}

.aredc-home-search__bar {
	align-items: center;
	display: grid;
	gap: 24px;
	grid-template-columns: minmax(0, 1fr) 168px;
	padding: 12px 24px;
}

.aredc-home-search__field {
	align-items: center;
	border-inline-end: 1px solid var(--wp--preset--color--border-light);
	display: flex;
	gap: 12px;
	min-width: 0;
	padding-inline-end: 16px;
}

.aredc-home-search__icon {
	align-items: center;
	color: var(--wp--preset--color--placeholder);
	display: flex;
	flex-shrink: 0;
	height: 24px;
	justify-content: center;
	width: 24px;
}

.aredc-home-search__icon svg {
	display: block;
	height: 20px;
	width: 20px;
}

.aredc-home-search input.aredc-home-search__input {
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	padding: 0;
	color: var(--wp--preset--color--main);
	font-family: inherit;
	font-size: var(--wp--preset--font-size--small);
	min-height: 44px;
	min-width: 0;
	outline: none;
	width: 100%;
}

.aredc-home-search__input::placeholder {
	color: var(--wp--preset--color--placeholder);
}

.aredc-home-search__field:focus-within {
	box-shadow: inset 0 -1px 0 var(--wp--preset--color--gold);
}

.aredc-home-search__voice {
	align-items: center;
	background: none;
	border: 0;
	border-radius: var(--aredc-radius-control);
	color: var(--wp--preset--color--placeholder);
	cursor: pointer;
	display: flex;
	flex-shrink: 0;
	height: 44px;
	justify-content: center;
	width: 44px;
}

.aredc-home-search__voice[hidden] {
	display: none;
}

.aredc-home-search__voice:hover,
.aredc-home-search__voice[aria-pressed="true"] {
	color: var(--wp--preset--color--gold);
}

.aredc-home-search__voice:focus-visible,
.aredc-home-search__submit:focus-visible {
	outline: 2px solid var(--wp--preset--color--gold);
	outline-offset: 2px;
}

.aredc-home-search__submit {
	background: transparent;
	border: 1px solid var(--wp--custom--color--gold-border, rgba(160, 121, 54, 0.3));
	border-radius: var(--aredc-radius-control);
	color: var(--wp--custom--color--gold-muted, rgba(160, 121, 54, 0.7));
	cursor: pointer;
	font-family: inherit;
	font-size: var(--wp--preset--font-size--small);
	letter-spacing: 0.05em;
	min-height: 44px;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.aredc-home-search__submit:hover {
	background: var(--wp--preset--color--primary-alt);
	color: var(--wp--preset--color--gold);
}

.aredc-service {
	gap: 24px !important;
}

.aredc-service-icon {
	align-items: center;
	display: flex;
	flex-shrink: 0;
	height: 44px;
	justify-content: center;
	width: 44px;
}

.aredc-service .wp-block-buttons {
	margin-top: 16px;
}

.aredc-service-icon img {
	display: block;
	height: auto;
	max-height: 44px;
	max-width: 44px;
	width: auto;
}

/* Homepage mobile carousels — services cards and signature developments. */
.aredc-home-carousel {
	display: grid;
	gap: 32px;
	grid-template-columns: minmax(0, 1fr);
	width: 100%;
}

.aredc-home-carousel__viewport {
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	width: 100%;
}

.aredc-home-carousel__viewport::-webkit-scrollbar {
	display: none;
}

.aredc-home-carousel__track {
	display: flex;
	width: 100%;
}

.aredc-home-carousel__slide {
	box-sizing: border-box;
	flex: 0 0 100%;
	min-width: 0;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

.aredc-home-pager {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	justify-content: center;
}

.aredc-home-pager button {
	background: rgba(2, 38, 76, 0.1);
	border: 0;
	border-radius: 1px;
	cursor: pointer;
	height: 4px;
	padding: 0;
	width: 14px;
}

.aredc-home-pager button[aria-selected="true"] {
	background: var(--wp--preset--color--main);
}

.aredc-home-pager button:focus-visible {
	outline: 2px solid var(--wp--preset--color--gold);
	outline-offset: 3px;
}

/* Signature developments — photos scroll with the page beside a pinned list. */
.aredc-home-developments .aredc-developments {
	max-width: none;
	width: 100%;
}

.aredc-developments__trigger[hidden] {
	display: none;
}

.aredc-developments__list {
	display: grid;
	gap: 48px;
	list-style: none;
	margin: 0;
	min-width: 0;
	padding: 0;
}

.aredc-developments__image {
	aspect-ratio: 695 / 598;
	background: var(--wp--preset--color--primary-accent);
	border-radius: var(--aredc-radius-surface);
	margin: 0 0 24px;
	overflow: hidden;
}

.aredc-developments__image img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.aredc-developments__image-placeholder {
	align-items: center;
	color: var(--wp--preset--color--muted-navy);
	display: flex;
	font-size: var(--wp--preset--font-size--large);
	height: 100%;
	justify-content: center;
	padding: 32px;
	text-align: center;
}

.aredc-developments__heading {
	color: var(--wp--preset--color--main);
	font-size: clamp(1.5rem, 2.5vw, 2.25rem);
	font-weight: 300;
	letter-spacing: 0;
	line-height: 1.2;
	margin: 0 0 16px;
}

.aredc-developments__trigger {
	appearance: none;
	background: none;
	border: 0;
	color: inherit;
	cursor: pointer;
	font: inherit;
	letter-spacing: inherit;
	padding: 0;
	text-align: start;
}

.aredc-developments__trigger:focus-visible {
	outline: 2px solid var(--wp--preset--color--gold);
	outline-offset: 4px;
}

.aredc-developments__location {
	align-items: center;
	color: var(--wp--preset--color--gold);
	display: flex;
	font-size: 0.875rem;
	font-weight: 400;
	gap: 8px;
	letter-spacing: 0.08em;
	line-height: 22px;
	margin: 0 0 12px;
	text-transform: uppercase;
}

.aredc-developments__location svg {
	fill: none;
	flex-shrink: 0;
	height: 18px;
	stroke: currentColor;
	stroke-width: 1.2;
	width: 18px;
}

.aredc-developments__excerpt {
	color: var(--wp--preset--color--secondary);
	font-size: 1rem;
	font-weight: 300;
	line-height: 1.6;
	margin: 0 0 20px;
	max-width: 520px;
}

/*
 * No .wp-block-buttons row here, so the button box has to shrink to its label.
 * Custom HTML also skips the outline variation class, which is what gives the
 * "How can we help" buttons their shorter padding.
 */
.wp-block-button.is-style-outline.aredc-developments__more {
	display: inline-flex;
}

.wp-block-button.is-style-outline.aredc-developments__more .wp-block-button__link {
	padding: 0.667em 1.33em;
}

@media (min-width: 992px) {
	.aredc-developments.is-enhanced {
		align-items: start;
		display: grid;
		gap: clamp(40px, 5.5vw, 96px);
		grid-template-columns: minmax(0, 695fr) minmax(0, 560fr);
	}

	.aredc-developments.is-enhanced .aredc-developments__media {
		display: grid;
		gap: 40px;
	}

	.aredc-developments.is-enhanced .aredc-developments__image {
		margin: 0;
	}

	.aredc-developments.is-enhanced .aredc-developments__aside {
		/* Enter aligned with the first photo, then hold the existing centered position. */
		--aredc-developments-pin-space: max(0px, calc((100vh - var(--wp-admin--admin-bar--height, 0px) - var(--aredc-developments-list-height, 0px)) / 2));
		padding-top: 1rem;
		margin-bottom: var(--aredc-developments-pin-space);
		position: sticky;
		top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--aredc-developments-pin-space));
	}

	.aredc-developments.is-enhanced .aredc-developments__list {
		display: flex;
		flex-direction: column;
		gap: 0;
		overflow: hidden;
		width: 100%;
	}

	.aredc-developments.is-enhanced .aredc-developments__item+.aredc-developments__item {
		display: flex;
		flex: 0 0 auto;
		flex-direction: column;
	}

	.aredc-developments.is-enhanced .aredc-developments__item+.aredc-developments__item::before {
		background: linear-gradient(var(--wp--custom--color--navy-border-subtle, rgba(2, 38, 76, 0.1)), var(--wp--custom--color--navy-border-subtle, rgba(2, 38, 76, 0.1))) center / 100% 1px no-repeat;
		content: "";
		flex: 0 0 auto;
		height: 16px;
	}

	.aredc-developments.is-enhanced .aredc-developments__static-title {
		display: none;
	}

	.aredc-developments.is-enhanced .aredc-developments__heading {
		font-size: 20px;
		margin: 0;
		opacity: 0.3;
		padding: 10px 0;
		transform-origin: left center;
		transition: opacity 0.4s ease, transform 0.4s ease;
	}

	.aredc-developments.is-enhanced .aredc-developments__item:first-child .aredc-developments__heading {
		padding-top: 0;
	}

	.aredc-developments.is-enhanced .aredc-developments__item:last-child .aredc-developments__heading {
		padding-bottom: 0;
	}

	.aredc-developments.is-enhanced .aredc-developments__heading:has(.aredc-developments__trigger:hover) {
		opacity: 0.6;
	}

	.aredc-developments.is-enhanced .aredc-developments__item.is-active .aredc-developments__heading,
	.aredc-developments.is-enhanced .aredc-developments__heading:has(:focus-visible) {
		opacity: 1;
	}

	.aredc-developments.is-enhanced .aredc-developments__item.is-active .aredc-developments__heading {
		transform: scale(1.2);
	}

	/* Collapse inactive details; grid rows animate to the content's natural height. */
	.aredc-developments.is-enhanced .aredc-developments__panel {
		display: grid;
		grid-template-rows: 0fr;
		opacity: 0;
		transition: grid-template-rows 0.5s ease, opacity 0.4s ease;
	}

	.aredc-developments.is-enhanced .aredc-developments__panel-inner {
		min-height: 0;
		overflow: hidden;
	}

	.aredc-developments.is-enhanced .aredc-developments__item.is-active .aredc-developments__panel {
		grid-template-rows: 1fr;
		opacity: 1;
	}

	/*
	 * Spacing lives in a wrapper that is always present, so it collapses with the
	 * row instead of snapping on and off when the active project changes.
	 */
	.aredc-developments.is-enhanced .aredc-developments__panel-content {
		padding: 8px 0 10px;
	}
}

@media (max-width: 991px) {
	.aredc-developments__trigger {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {

	.aredc-developments.is-enhanced .aredc-developments__heading,
	.aredc-developments.is-enhanced .aredc-developments__panel {
		transition: none;
	}
}

.aredc-areas-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: 2fr 1fr 1fr;
	grid-template-rows: 261px 261px 260px;
}

.aredc-area--west-bay {
	grid-column: 1;
	grid-row: 1 / 3;
}

.aredc-area--ain-khaled {
	grid-column: 1;
	grid-row: 3;
}

.aredc-area--lusail {
	grid-column: 2 / 4;
	grid-row: 3;
}

.aredc-area-card {
	border-radius: var(--aredc-radius-surface);
	min-height: 100%;
	overflow: hidden;
	position: relative;
}

.aredc-area-card .wp-block-cover__image-background {
	pointer-events: none;
	transform-origin: center center;
	transition: transform 600ms ease-in-out;
}

.aredc-area--mesaimeer .wp-block-cover__image-background {
	object-position: 50% 18%;
}

.aredc-area--wakrah .wp-block-cover__image-background {
	object-position: 50% 10%;
}

.aredc-area-card:hover .wp-block-cover__image-background,
.aredc-area-card:has(a:focus-visible) .wp-block-cover__image-background {
	transform: scale(1.1);
}

@media (prefers-reduced-motion: reduce) {

	.aredc-area-card .wp-block-cover__image-background,
	.aredc-area-label {
		transition: none;
	}

	.aredc-area-card:hover .wp-block-cover__image-background,
	.aredc-area-card:hover .aredc-area-label,
	.aredc-area-card:has(a:focus-visible) .aredc-area-label {
		transform: none;
	}
}

.wp-block-cover.aredc-area-card>.wp-block-cover__background.has-background-dim.has-primary-background-color {
	/* Preset color classes use !important; clear it so the gradient shows the photo. */
	background-color: transparent !important;
	background-image: linear-gradient(180deg, rgba(2, 38, 76, 0) 67.641%, #02264c 93.295%);
	opacity: 1;
	pointer-events: none;
}

.aredc-area-card .wp-block-cover__inner-container {
	display: contents;
}

.aredc-area-card__link {
	box-sizing: border-box;
	color: var(--wp--preset--color--base);
	display: flex;
	flex-direction: column;
	inset: 0;
	justify-content: flex-end;
	position: absolute;
	text-decoration: none;
	z-index: 2;
}

.aredc-area-card__link:focus-visible {
	outline: none;
}

.aredc-area-card:has(.aredc-area-card__link:focus-visible) {
	outline: 2px solid var(--wp--preset--color--gold);
	outline-offset: 3px;
}

.aredc-area-label {
	color: inherit;
	display: block;
	font-size: clamp(1.125rem, 1.4vw, 1.25rem);
	font-weight: 400 !important;
	line-height: 1.3;
	margin: 0;
	padding: 0 16px 16px;
	transition: transform 600ms ease-in-out;
}

.aredc-area-card:hover .aredc-area-label,
.aredc-area-card:has(.aredc-area-card__link:focus-visible) .aredc-area-label {
	transform: translateY(-10px);
}

/* Legacy markup: paragraph label with nested link. */
.aredc-area-label:not(span) {
	display: contents;
}

.aredc-area-label:not(span) a {
	box-sizing: border-box;
	color: var(--wp--preset--color--base);
	display: flex;
	flex-direction: column;
	inset: 0;
	justify-content: flex-end;
	position: absolute;
	text-decoration: none;
	z-index: 2;
}

.aredc-area-label:not(span) a:focus-visible {
	outline: none;
}

/* Expertise band. */
.wp-block-cover.aredc-home-expertise>.wp-block-cover__background.has-background-dim.has-primary-background-color {
	/* Preset color classes use !important; clear it so the gradient shows the photo. */
	background-color: transparent !important;
	background-image: linear-gradient(90deg, rgba(3, 38, 77, 0) 0%, rgba(3, 38, 77, 0.45) 37.99%, #03264d 100%);
	opacity: 1;
}

.wp-block-cover.aredc-home-expertise h2.wp-block-heading {
	font-size: 26px;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.3;
	margin: 0;
	max-width: 390px;
}

.aredc-home-expertise h2+p {
	color: rgba(255, 255, 255, 0.9) !important;
	font-size: 0.8125rem;
	font-weight: 400;
	line-height: 1.7;
	margin: 0;
	max-width: 386px;
}

.aredc-home-expertise h3 {
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.25;
	margin: 0;
}

.aredc-home-expertise h3+p {
	color: rgba(255, 255, 255, 0.9) !important;
	font-size: 0.8125rem;
	font-weight: 400;
	line-height: 1.7;
	margin: 0;
	opacity: 1;
}

@media (min-width: 992px) {
	.wp-block-cover.aredc-home-expertise {
		padding-inline: 44px !important;
	}

	.aredc-home-expertise>.wp-block-cover__image-background {
		bottom: auto;
		height: auto;
		left: -15.652%;
		max-width: none;
		object-fit: fill;
		right: auto;
		top: -33.09%;
		width: 106.176%;
	}

	.aredc-home-expertise .wp-block-columns.alignwide {
		align-items: center;
		display: grid;
		gap: 64px;
		grid-template-columns: minmax(0, 617fr) minmax(0, 671fr);
	}

	.aredc-home-expertise .wp-block-columns.alignwide>.wp-block-column:first-child {
		align-items: flex-start;
		display: flex;
		flex-direction: column;
		gap: 24px;
	}

	.aredc-home-expertise .wp-block-columns.alignwide>.wp-block-column:first-child>.wp-block-buttons {
		margin: 0;
	}

	.aredc-home-expertise .wp-block-columns.alignwide>.wp-block-column:last-child>.wp-block-columns {
		gap: 60px;
		margin-bottom: 0;
		width: calc(100% + 9px);
	}

	.aredc-home-expertise .wp-block-columns.alignwide>.wp-block-column:last-child>.wp-block-columns>.wp-block-column {
		display: flex;
		flex-direction: column;
		gap: 8px;
	}

	.aredc-home-expertise .wp-block-columns.alignwide>.wp-block-column:last-child>.wp-block-columns+.wp-block-columns {
		margin-top: 60px !important;
	}
}

@media (max-width: 991px) {
	.wp-block-cover.aredc-home-expertise {
		min-height: 584px !important;
	}

	.wp-block-cover.aredc-home-expertise>.wp-block-cover__background.has-background-dim.has-primary-background-color {
		background-image: linear-gradient(180deg, rgba(3, 38, 77, 0) 0%, rgba(3, 38, 77, 0.45) 38%, #03264d 100%);
	}

	.aredc-home-expertise>.wp-block-cover__image-background {
		object-position: 50% 20%;
	}

	.aredc-home-expertise .wp-block-columns.alignwide {
		gap: 32px;
		text-align: center;
	}

	.aredc-home-expertise .wp-block-columns.alignwide>.wp-block-column:first-child {
		align-items: center;
		display: flex;
		flex-direction: column;
	}

	.aredc-home-expertise .wp-block-columns.alignwide>.wp-block-column:first-child>.wp-block-buttons {
		justify-content: center;
		width: 100%;
	}

	.wp-block-cover.aredc-home-expertise h2.wp-block-heading {
		font-size: 1.5rem;
		font-weight: 500;
		line-height: 1.333;
		margin-inline: auto;
		max-width: 336px;
	}

	.aredc-home-expertise h2+p {
		font-size: 0.875rem;
		line-height: 1.571;
		margin-inline: auto;
		max-width: 350px;
	}

	.aredc-home-expertise .wp-block-columns.alignwide>.wp-block-column:last-child>.wp-block-columns {
		gap: 20px;
		text-align: start;
	}

	.aredc-home-expertise .wp-block-columns.alignwide>.wp-block-column:last-child>.wp-block-columns+.wp-block-columns {
		margin-top: 20px !important;
	}

	.aredc-home-expertise h3 {
		font-size: 1rem;
		font-weight: 600;
	}

	.aredc-home-expertise h3+p {
		font-size: 0.8125rem;
		line-height: 1.7;
	}
}

.aredc-button-light .wp-block-button__link {
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--gold);
	min-width: 168px;
	padding: 0.75rem 1.5rem;
	transition: background-color 0.45s cubic-bezier(0.33, 1, 0.68, 1), color 0.45s cubic-bezier(0.33, 1, 0.68, 1);
}

.aredc-home-expertise .aredc-button-light .wp-block-button__link {
	border: 1px solid var(--wp--custom--color--gold-border, rgba(160, 121, 54, 0.3));
	box-sizing: border-box;
	height: 44px;
	padding: 0 24px;
	width: 168px;
}

.aredc-button-light .wp-block-button__link:hover,
.aredc-button-light .wp-block-button__link:focus {
	background: var(--wp--preset--color--primary-alt);
	color: var(--wp--preset--color--gold);
}

.aredc-button-wide .wp-block-button__link {
	min-width: 168px;
	padding: 0.75rem 1.5rem;
}

/* Featured properties. */
.aredc-listings {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	list-style: none;
	margin-inline: auto;
	padding: 0;
}

.aredc-listing-card {
	--aredc-body-gap: 8px;
	--aredc-card-pad: 20px;
	/* Tallest spec icon is 22px; row height must match or icons peek when tucked. */
	--aredc-specs-row: 22px;
	--aredc-specs-lead: var(--aredc-body-gap);
	--aredc-specs-block: calc(var(--aredc-specs-lead) + var(--aredc-specs-row));
	/* Title link overlay extension when specs are tucked (hover-capable viewports). */
	--aredc-specs-shift: 0px;
	aspect-ratio: 440 / 410;
	border-radius: var(--aredc-radius-surface);
	color: var(--wp--preset--color--base);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	overflow: hidden;
	position: relative;
}

.aredc-listing-card::before {
	background: linear-gradient(180deg, rgba(2, 38, 76, 0) 0%, rgba(2, 38, 76, 0) 45%, rgba(2, 38, 76, 0.25) 58%, rgba(2, 38, 76, 0.6) 68%, rgba(2, 38, 76, 0.82) 78%, rgba(2, 38, 76, 0.93) 88%, rgba(2, 38, 76, 0.97) 100%);
	content: "";
	inset: 0;
	position: absolute;
	z-index: 1;
}

.aredc-listing-card__image {
	height: 100%;
	inset: 0;
	object-fit: cover;
	position: absolute;
	transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
	width: 100%;
}

.aredc-listing-card:hover .aredc-listing-card__image {
	transform: scale(1.1);
}

/* Body fills the card so the stretched title link covers the whole card. */
.aredc-listing-card__body {
	display: flex;
	flex-direction: column;
	gap: var(--aredc-body-gap);
	inset: 0;
	justify-content: flex-end;
	padding: var(--aredc-card-pad);
	position: absolute;
	z-index: 2;
}

.aredc-listing-card__title {
	color: inherit;
	font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.3;
	margin: 0;
}

.aredc-listing-card__title a {
	color: inherit;
	text-decoration: none;
}

/* Stretch the title link across the card; the body slides, so the overlay is
   extended upwards by the travel distance to keep the card fully covered. */
.aredc-listing-card__title a::after {
	content: "";
	inset: calc(-1 * var(--aredc-specs-shift)) 0 0;
	position: absolute;
	z-index: 3;
}

.aredc-listing-card__title a:focus-visible {
	outline: none;
}

.aredc-listing-card:has(a:focus-visible) {
	outline: 2px solid var(--wp--preset--color--gold);
	outline-offset: 3px;
}

.aredc-listing-card__location,
.aredc-listing-card__specs li {
	align-items: center;
	display: flex;
	font-size: 0.875rem;
	font-weight: 300;
	gap: 8px;
	line-height: 1.4;
	margin: 0;
}

.aredc-listing-card svg {
	fill: none;
	flex-shrink: 0;
	height: 18px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.2;
	width: 18px;
}

.aredc-listing-card__price {
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1.3;
	margin: 0;
}

.aredc-listing-card__price span {
	font-size: 0.875rem;
	font-weight: 300;
	opacity: 0.85;
}

.aredc-listing-card__specs {
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	list-style: none;
	margin: 0;
	overflow: hidden;
	padding: 0;
}

/* Fixed row height so the hover travel distance can be calculated exactly. */
.aredc-listing-card__specs li {
	height: var(--aredc-specs-row);
	line-height: var(--aredc-specs-row);
	max-height: var(--aredc-specs-row);
	overflow: hidden;
}

.aredc-listing-card__specs li img {
	max-height: var(--aredc-specs-row);
	width: auto;
}

/* Reveal specs on hover on pointer-capable viewports wider than 991px. */
@media (hover: hover) {
	.aredc-listing-card {
		--aredc-specs-shift: var(--aredc-specs-block);
		--aredc-specs-row-duration: 0.42s;
		--aredc-specs-row-ease: cubic-bezier(0.33, 1, 0.45, 1);
	}

	.aredc-listing-card__specs {
		flex-wrap: nowrap;
		margin-top: calc(-1 * var(--aredc-body-gap));
		max-height: 0;
		opacity: 0;
		transition:
			margin-top var(--aredc-specs-row-duration) var(--aredc-specs-row-ease),
			max-height var(--aredc-specs-row-duration) var(--aredc-specs-row-ease),
			opacity 0.35s ease;
	}

	.aredc-listing-card__specs li {
		white-space: nowrap;
	}

	.aredc-listing-card:hover .aredc-listing-card__specs,
	.aredc-listing-card:has(a:focus-visible) .aredc-listing-card__specs {
		margin-top: 0;
		max-height: var(--aredc-specs-row);
		opacity: 1;
	}
}

/* Touch/narrow viewports cannot hover-reveal; keep bed/bath/area off the card. */
@media (max-width: 991px) {
	.aredc-listing-card__specs {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.aredc-listing-card__image {
		transition: none;
	}

	/* Keep the same reveal states, without animating between them. */
	.aredc-listing-card__specs {
		transition: none;
	}

	.aredc-listing-card:hover .aredc-listing-card__image {
		transform: none;
	}
}

.aredc-service h4 {
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: 0;
}

.aredc-areas-grid>.wp-block-cover {
	height: 100%;
	margin: 0;
	max-width: none;
}

/* Contact. */
.aredc-home-contact h2 {
	font-size: clamp(1.5rem, 2vw, 1.75rem) !important;
	margin-bottom: 16px;
}

.aredc-contact-methods {
	list-style: none;
	margin: 40px 0 0;
	max-width: 560px;
	padding: 0;
}

.aredc-contact-method {
	align-items: flex-end;
	border-bottom: 1px solid var(--wp--preset--color--border-light);
	display: flex;
	gap: 16px;
	padding: 24px 0;
	position: relative;
}

.aredc-contact-method:first-child {
	padding-top: 0;
}

.aredc-contact-method__icon {
	align-items: center;
	background: var(--wp--preset--color--base);
	display: flex;
	flex-shrink: 0;
	height: 48px;
	justify-content: center;
	width: 48px;
}

.aredc-contact-method__icon img {
	display: block;
	flex-shrink: 0;
}

.aredc-contact-method>span:not(.aredc-contact-method__icon) {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.aredc-office__icon svg {
	fill: none;
	height: 20px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.3;
	width: 20px;
}

.aredc-contact-method__label {
	color: var(--wp--preset--color--main);
	display: block;
	font-size: 1rem;
	font-weight: 400;
	line-height: normal;
	text-decoration: none;
}

.aredc-contact-method__label::after {
	content: "";
	inset: 0;
	position: absolute;
}

.aredc-contact-method__label:focus-visible {
	outline: none;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.aredc-contact-method:hover .aredc-contact-method__label {
	color: var(--wp--preset--color--gold);
}

.aredc-contact-method__text {
	color: var(--wp--preset--color--placeholder);
	display: block;
	font-size: 0.875rem;
	font-weight: 300;
	line-height: 20px;
}

.aredc-contact-card {
	border-radius: var(--aredc-radius-surface);
	padding: clamp(24px, 2.3vw, 32px);
}

.aredc-contact-form,
.aredc-subscribe-form {
	display: grid;
	gap: 16px;
}

.aredc-contact-form {
	gap: 20px 16px;
	grid-template-columns: 1fr 1fr;
}

.aredc-contact-form__message,
.aredc-contact-form__note {
	grid-column: 1 / -1;
}

.aredc-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.aredc-field>label {
	color: var(--wp--preset--color--secondary);
	font-size: var(--wp--preset--font-size--small);
}

.aredc-required,
.contact-form :is(.grunion-label-required, label span.required) {
	color: #d64545;
}

.contact-form .grunion-field-wrap:has([required], [aria-required="true"]):not(:has(.grunion-label-required, label span.required))> :is(.grunion-field-label, .wp-block-jetpack-label)::after {
	color: #d64545;
	content: " *";
}

.aredc-field input,
.aredc-field select,
.aredc-field .aredc-select__trigger,
.aredc-field .aredc-select__trigger:hover,
.aredc-field .aredc-select__trigger:focus,
:is(.contact-form, .jetpack-contact-form-container) .aredc-select__trigger,
.aredc-field textarea {
	background-color: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--border-light);
	border-radius: var(--aredc-radius-control);
	box-shadow: none;
	color: var(--wp--preset--color--main);
	font-family: inherit;
	font-size: var(--wp--preset--font-size--small);
	letter-spacing: 0;
	min-height: 52px;
	padding: 0 16px;
	text-transform: none;
	width: 100%;
}

.aredc-field select,
.aredc-field .aredc-select__trigger,
.aredc-field .aredc-select__trigger:hover,
.aredc-field .aredc-select__trigger:focus,
:is(.contact-form, .jetpack-contact-form-container) .aredc-select__trigger {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23767c82' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
	background-position: right 16px center;
	background-repeat: no-repeat;
	background-size: 10px 6px;
	padding-right: 40px;
}

.aredc-field .aredc-select.is-open .aredc-select__trigger,
:is(.contact-form, .jetpack-contact-form-container) .aredc-select.is-open .aredc-select__trigger {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 6.5 6 1.5 11 6.5' fill='none' stroke='%23767c82' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
}

.aredc-field select:has(option[value=""]:checked),
.aredc-field .aredc-select__trigger.is-placeholder,
.aredc-field .aredc-select__trigger.is-placeholder:hover,
.aredc-field .aredc-select__trigger.is-placeholder:focus,
:is(.contact-form, .jetpack-contact-form-container) .aredc-select__trigger.is-placeholder,
.aredc-field ::placeholder {
	color: var(--wp--preset--color--placeholder);
	font-weight: 300;
}

.aredc-field textarea {
	min-height: 120px;
	padding-top: 14px;
	resize: vertical;
}

.aredc-field input:focus,
.aredc-field select:focus,
.aredc-field .aredc-select__trigger:focus-visible,
.aredc-field .aredc-select.is-open .aredc-select__trigger,
:is(.contact-form, .jetpack-contact-form-container) .aredc-select__trigger:focus-visible,
:is(.contact-form, .jetpack-contact-form-container) .aredc-select.is-open .aredc-select__trigger,
.aredc-field textarea:focus,
.aredc-phone:focus-within,
.aredc-phone:has(.aredc-select.is-open) {
	border-color: var(--wp--preset--color--gold);
	outline: 0;
}

:is(.contact-form, .jetpack-contact-form-container) .aredc-select__trigger {
	align-items: center;
	box-sizing: border-box;
	display: flex;
	min-height: 60px;
	border-radius: 4px;
	padding-inline-start: 20px;
}

:is(.contact-form, .jetpack-contact-form-container) .aredc-select__trigger[aria-invalid="true"] {
	border-color: #d64545;
}

:is(.contact-form, .jetpack-contact-form-container) .aredc-select__trigger:disabled {
	cursor: default !important;
	opacity: 0.5;
}

/* Jetpack styles its wrapper as the input; the enhanced trigger owns that UI. */
.contact-form .contact-form__select-wrapper:has(select.aredc-select__native) {
	background: none;
	border: 0;
	box-shadow: none;
	height: auto;
	min-height: 0;
	padding: 0;
}

.contact-form .contact-form__select-element-wrapper:has(> select.aredc-select__native) {
	background: none;
	display: block;
}

.contact-form .contact-form__select-element-wrapper:has(> select.aredc-select__native)>.jetpack-field-dropdown__icon {
	display: none;
}

.aredc-phone {
	align-items: center;
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--border-light);
	border-radius: var(--aredc-radius-control);
	display: flex;
	min-height: 52px;
}

.aredc-field .aredc-phone select,
.aredc-field .aredc-phone .aredc-select__trigger,
.aredc-field .aredc-phone .aredc-select__trigger:hover,
.aredc-field .aredc-phone .aredc-select__trigger:focus,
.aredc-field .aredc-phone input {
	border: 0;
	min-height: 50px;
	outline: none !important;
}

.aredc-field .aredc-phone .aredc-select {
	flex: 0 0 auto;
	width: auto;
}

.aredc-field .aredc-phone select,
.aredc-field .aredc-phone .aredc-select__trigger,
.aredc-field .aredc-phone .aredc-select__trigger:hover,
.aredc-field .aredc-phone .aredc-select__trigger:focus {
	background-color: transparent;
	background-position: right 10px center;
	border-inline-end: 1px solid var(--wp--preset--color--border-light);
	border-radius: 0;
	color: var(--wp--preset--color--secondary);
	flex: 0 0 auto;
	min-height: 24px;
	padding: 0 32px 0 16px;
	width: auto;
}

select.aredc-select__native {
	appearance: none !important;
	background: none !important;
	block-size: 1px !important;
	border: 0 !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	inline-size: 1px !important;
	margin: 0 !important;
	min-block-size: 0 !important;
	min-inline-size: 0 !important;
	overflow: hidden !important;
	padding: 0 !important;
	pointer-events: none !important;
	position: absolute !important;
	white-space: nowrap !important;
}

.aredc-select {
	display: block;
	min-width: 0;
	position: relative;
	width: 100%;
}

.aredc-home-search__select .aredc-select__trigger,
.aredc-home-search__select .aredc-select__trigger:hover,
.aredc-home-search__select .aredc-select__trigger:focus,
.aredc-field .aredc-select__trigger,
.aredc-field .aredc-select__trigger:hover,
.aredc-field .aredc-select__trigger:focus,
.aredc-filter-select .aredc-select__trigger,
.aredc-filter-select .aredc-select__trigger:hover,
.aredc-filter-select .aredc-select__trigger:focus,
.aredc-more-filters .aredc-select__trigger,
.aredc-more-filters .aredc-select__trigger:hover,
.aredc-more-filters .aredc-select__trigger:focus {
	align-items: center;
	display: flex;
}

.aredc-select__trigger {
	text-align: start;
	cursor: pointer !important;
}

.aredc-select__value {
	display: block;
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.aredc-select__menu {
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--custom--color--navy-border, rgba(2, 38, 76, 0.2));
	border-radius: var(--aredc-radius-surface);
	box-shadow: var(--wp--preset--shadow--medium-light);
	box-sizing: border-box;
	color: var(--wp--preset--color--main);
	list-style: none;
	margin: 0;
	max-height: 280px;
	overflow: auto;
	padding: 6px;
	position: fixed;
	z-index: 40;
}

.aredc-select__menu:focus {
	outline: none;
}

.aredc-select--scrolls .aredc-select__menu {
	bottom: calc(100% + 6px);
	inset-inline-end: auto;
	inset-inline-start: 0;
	max-width: min(20rem, calc(100vw - 2rem));
	position: absolute;
	top: auto;
	width: max(100%, 12.5rem);
	z-index: 41;
}

.aredc-home-search:has(.aredc-select.is-open) {
	position: relative;
	z-index: 20;
}

.aredc-home-search__select:has(.aredc-select.is-open) {
	z-index: 2;
}

.aredc-select__group,
.aredc-select__option {
	border-radius: var(--aredc-radius-control);
	line-height: 1.35;
	padding: 10px 12px;
}

.aredc-select__group {
	color: var(--wp--preset--color--placeholder);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	padding-bottom: 4px;
	text-transform: uppercase;
}

.aredc-select__option {
	cursor: pointer;
	font-weight: 400;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.aredc-select__option.is-active {
	background: rgba(2, 38, 76, 0.06);
}

.aredc-select__option[aria-selected="true"] {
	background: rgba(160, 121, 54, 0.12);
	color: var(--wp--preset--color--gold);
	font-weight: 500;
}

.aredc-select__option.is-placeholder:not([aria-selected="true"]) {
	color: var(--wp--preset--color--placeholder);
	font-weight: 400;
}

.aredc-select__option[aria-disabled="true"] {
	color: var(--wp--preset--color--placeholder);
	cursor: default;
}

.aredc-contact-form__note {
	color: var(--wp--preset--color--placeholder);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 300;
	margin: 0;
}

.aredc-contact-form__note a {
	color: inherit;
}

.aredc-contact-submit,
.aredc-subscribe-form button {
	align-items: center;
	background: transparent;
	border: 1px solid var(--wp--custom--color--gold-border, rgba(160, 121, 54, 0.3));
	border-radius: var(--aredc-radius-control);
	color: var(--wp--preset--color--gold);
	cursor: pointer;
	display: inline-flex;
	font-family: inherit;
	justify-content: center;
	font-size: var(--wp--preset--font-size--small);
	letter-spacing: 0.05em;
	min-height: 44px;
	min-width: 168px;
	padding: 0 1.5rem;
	transition: background-color 0.45s cubic-bezier(0.33, 1, 0.68, 1), box-shadow 0.45s cubic-bezier(0.33, 1, 0.68, 1), color 0.45s cubic-bezier(0.33, 1, 0.68, 1);
	width: fit-content;
}

/* The resting border stays faint on hover so the traced line reads against it. */
.aredc-contact-submit:hover,
.aredc-subscribe-form button:hover {
	background: var(--wp--preset--color--primary-alt);
}

.aredc-contact-submit:focus-visible,
.aredc-subscribe-form button:focus-visible {
	outline: 2px solid var(--wp--preset--color--gold);
	outline-offset: 2px;
}

/* Partners. */
.aredc-home-partners .aredc-partners {
	max-width: none;
	width: 100%;
}

.aredc-partners {
	display: grid;
	gap: 40px;
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.aredc-partners-viewport {
	overflow: hidden;
	width: 100%;
}

.aredc-partners-track {
	animation: aredc-marquee 60s linear infinite;
	display: flex;
	width: max-content;
}

.aredc-partners-viewport:hover .aredc-partners-track {
	animation-play-state: paused;
}

.aredc-partners-track--rtl {
	animation-direction: reverse;
}

.aredc-partners-set {
	align-items: center;
	display: flex;
	gap: 56px;
	list-style: none;
	margin: 0;
	padding: 0 28px;
}

.aredc-partners-set img {
	display: block;
	height: 56px;
	max-width: 160px;
	object-fit: contain;
	width: auto;
}

@media (prefers-reduced-motion: reduce) {
	.aredc-partners {
		mask-image: none;
	}

	.aredc-partners-track {
		animation: none;
		width: 100%;
	}

	.aredc-partners-set {
		flex-wrap: wrap;
		justify-content: center;
		row-gap: 24px;
	}

	.aredc-partners-set[aria-hidden="true"] {
		display: none;
	}
}

@keyframes aredc-marquee {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

/* Offices. */
.aredc-offices {
	align-items: start;
	display: grid;
	gap: clamp(32px, 4.5vw, 64px);
	grid-template-columns: minmax(0, 740fr) minmax(0, 552fr);
}

.aredc-offices__map {
	aspect-ratio: 740 / 600;
	background: var(--wp--preset--color--tertiary);
	border-radius: var(--aredc-radius-surface);
	overflow: hidden;
	position: relative;
}

/* Summary of the open office, floated over the embed. Sits top-left so it
   clears Google's logo and attribution along the bottom of the frame. */
.aredc-office-card {
	background: var(--wp--preset--color--base);
	border-radius: var(--aredc-radius-surface);
	box-shadow: var(--wp--preset--shadow--medium-dark);
	display: grid;
	gap: 6px;
	inset-block-start: 20px;
	inset-inline-start: 20px;
	max-width: min(320px, calc(100% - 40px));
	padding: 20px;
	position: absolute;
}

.aredc-office-card__name {
	color: var(--wp--preset--color--main);
	font-size: 1.0625rem;
	font-weight: 400;
	line-height: 1.35;
	margin: 0;
}

.aredc-office-card__address {
	color: var(--wp--preset--color--secondary);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 300;
	line-height: 1.5;
	margin: 0;
	white-space: pre-line;
}

.aredc-office-card__hours {
	color: var(--wp--preset--color--placeholder);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 300;
	margin: 0;
}

.aredc-office-card__footer {
	align-items: center;
	border-top: 1px solid var(--wp--preset--color--border-light);
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: space-between;
	margin-top: 8px;
	padding-top: 14px;
}

.aredc-office-card__phone {
	color: var(--wp--preset--color--main);
	font-size: var(--wp--preset--font-size--small);
}

.aredc-office-card__directions {
	background: var(--wp--preset--color--main);
	border-radius: var(--aredc-radius-control);
	color: var(--wp--preset--color--base);
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: 0.08em;
	padding: 10px 16px;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 0.45s cubic-bezier(0.33, 1, 0.68, 1);
	white-space: nowrap;
}

.aredc-office-card__directions:hover,
.aredc-office-card__directions:focus-visible {
	background: var(--wp--preset--color--border-dark);
	color: var(--wp--preset--color--base);
}

.aredc-offices__map iframe {
	border: 0;
	display: block;
	filter: grayscale(1) contrast(0.9);
	height: 100%;
	transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1);
	width: 100%;
}

.aredc-offices__map iframe.is-swapping {
	opacity: 0;
}

.aredc-office {
	border-bottom: 1px solid var(--wp--preset--color--border-light);
}

.aredc-office__summary {
	align-items: center;
	color: var(--wp--preset--color--main);
	cursor: pointer;
	display: flex;
	font-size: 1.125rem;
	gap: 20px;
	list-style: none;
	min-height: 48px;
	padding: 12px 0;
}

.aredc-office__summary::-webkit-details-marker {
	display: none;
}

.aredc-office__summary:hover {
	color: var(--wp--preset--color--gold);
}

.aredc-office__summary:focus-visible {
	outline: 2px solid var(--wp--preset--color--gold);
	outline-offset: 2px;
}

.aredc-office__icon {
	align-items: center;
	background: var(--wp--preset--color--tertiary);
	border-radius: var(--aredc-radius-surface);
	color: var(--wp--preset--color--main);
	display: flex;
	flex-shrink: 0;
	height: 48px;
	justify-content: center;
	width: 48px;
}

.aredc-office__name {
	flex: 1;
}

.aredc-office__chevron {
	fill: none;
	flex-shrink: 0;
	height: 18px;
	stroke: var(--wp--preset--color--secondary);
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.4;
	transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
	width: 18px;
}

.aredc-office[open] .aredc-office__chevron {
	transform: rotate(180deg);
}

.aredc-office__details {
	border-top: 1px solid var(--wp--preset--color--border-light);
	box-sizing: border-box;
	display: grid;
	gap: 12px;
	overflow: hidden;
	padding: 20px 0 24px;
}

.aredc-office__details p {
	color: var(--wp--preset--color--main);
	font-size: var(--wp--preset--font-size--small);
	margin: 0;
}

.aredc-office__details a {
	color: inherit;
	text-decoration: none;
}

.aredc-office__details a:hover {
	text-decoration: underline;
}

.aredc-office__details .aredc-office__email {
	color: var(--wp--preset--color--gold);
}

.aredc-office__details .aredc-office__hours {
	color: var(--wp--preset--color--placeholder);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 300;
}

/* Subscribe. */
.aredc-subscribe h2 {
	font-size: clamp(1.5rem, 2vw, 1.75rem) !important;
	margin-bottom: 8px;
}

.aredc-subscribe-form {
	gap: 16px;
	grid-template-columns: minmax(0, 1fr) 216px;
}

.aredc-subscribe-form .aredc-field {
	margin: 0;
}

.aredc-subscribe-form input {
	min-height: 60px;
}

.aredc-subscribe-form button {
	min-height: 60px;
	width: 100%;
}

.aredc-subscribe .contact-form .wp-block-jetpack-contact-form {
	align-items: flex-start;
	gap: 16px;
	width: 100%;
}

.aredc-subscribe .contact-form .wp-block-jetpack-contact-form .wp-block-button {
	/* The error belongs to the field; it must not stretch the submit button. */
	align-self: flex-start;
}

.aredc-subscribe .contact-form .grunion-field-email-wrap {
	align-self: flex-start;
	display: flex;
	flex: 1 1 auto;
	/* Keep Jetpack's validation message below the email input. */
	flex-direction: column;
	min-width: 0;
}

/* Jetpack's horizontal-form error offsets stretch the input and move the button. */
.aredc-subscribe .jetpack-contact-form-container:is(.is-forced-horizontal-form, .is-single-input-form):has(.contact-form__input-error.has-errors) {
	margin-bottom: 0;
}

.aredc-subscribe .jetpack-contact-form-container:is(.is-forced-horizontal-form, .is-single-input-form):has(.contact-form__input-error.has-errors) :is(.wp-block-button.wp-block-button, .wp-block-jetpack-button.wp-block-button) {
	margin-top: 0;
	margin-bottom: 0;
}

@media (min-width: 992px) {
	.aredc-subscribe .contact-form .wp-block-jetpack-contact-form.is-layout-flex {
		flex-wrap: nowrap;
	}

	.aredc-subscribe .contact-form .grunion-field-email-wrap {
		flex-basis: 0;
	}

	.aredc-subscribe .contact-form .wp-block-button {
		flex-shrink: 0;
	}
}

.contact-form :is(:where(label), :where(legend.grunion-field-label)) {
	font-weight: 400 !important;
}

.aredc-subscribe .contact-form input.grunion-field {
	align-self: stretch;
	background-color: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--border-light);
	border-radius: var(--aredc-radius-control);
	box-shadow: none;
	color: var(--wp--preset--color--main);
	flex: 0 0 auto;
	font-family: inherit;
	font-size: var(--wp--preset--font-size--small);
	padding: var(--wp--preset--spacing--small) 16px;
	width: 100%;
}

.aredc-subscribe .contact-form input.grunion-field::placeholder {
	color: var(--wp--preset--color--placeholder);
	font-weight: 300;
}

.aredc-subscribe .contact-form input.grunion-field:focus {
	border-color: var(--wp--preset--color--gold);
	outline: 0;
}

/* Header and footer. */
.aredc-login-button .wp-block-button__link {
	align-items: center;
	border-color: var(--wp--preset--color--border-light);
	color: var(--wp--preset--color--main);
	display: inline-flex;
	gap: 8px;
}

.aredc-login-button .wp-block-button__link::before {
	background: currentColor;
	content: "";
	height: 18px;
	mask: 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.4'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4.5 20.5a7.5 7.5 0 0 1 15 0'/%3E%3C/svg%3E") center / contain no-repeat;
	width: 18px;
}

.aredc-site-footer {
	padding: 56px 48px 28px;
}

.aredc-site-footer a {
	color: #fff;
	text-decoration: none;
}

.aredc-site-footer a:hover {
	opacity: 0.75;
}

.aredc-footer-main {
	align-items: stretch;
	display: grid;
	gap: 40px 48px;
	grid-template-columns: minmax(0, 1fr) auto;
}

.aredc-footer-brand {
	min-width: 0;
}

.aredc-footer-badge {
	display: inline-block;
	line-height: 0;
}

.aredc-footer-badge img {
	display: block;
	height: auto;
	width: 110px;
}

.aredc-site-footer .aredc-footer-address {
	color: #fff;
	font-size: 1rem;
	font-weight: 400;
	line-height: 24px;
	margin: 24px 0 0;
	max-width: 28rem;
}

.aredc-site-footer .aredc-footer-social-links {
	--wp--social-links--icon-size: 24px;
}

.aredc-site-footer .aredc-footer-social-links .wp-block-social-link-anchor,
.aredc-site-footer .aredc-footer-social-links .wp-block-social-link-anchor svg {
	height: 24px;
	width: 24px;
}

.aredc-footer-social {
	align-items: center;
	display: flex;
	gap: 22px;
	list-style: none;
	margin: 28px 0 0;
	padding: 0;
}

.aredc-footer-social a {
	align-items: center;
	display: flex;
	height: 20px;
	justify-content: center;
	line-height: 0;
}

.aredc-footer-social a:hover {
	opacity: 0.75;
}

.aredc-footer-social img {
	border-radius: 0;
	display: block;
	height: 18px;
	max-width: none;
	width: auto;
}

.aredc-footer-aside {
	align-items: flex-end;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding-top: 8px;
}

.aredc-footer-nav,
.aredc-footer-legal {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 36px;
	justify-content: flex-end;
}

.aredc-footer-legal {
	margin-top: 18px;
}

.aredc-footer-rics {
	display: block;
	height: auto;
	margin-top: 36px;
	object-fit: contain;
	width: 168px;
}

.aredc-footer-copy {
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.8125rem;
	line-height: 1.4;
	margin: 24px 0 0;
	padding-top: 16px;
	text-align: center;
}

@media (max-width: 900px) {
	.aredc-site-footer {
		padding: 40px 24px 24px;
	}

	.aredc-footer-main {
		grid-template-columns: 1fr;
	}

	.aredc-footer-aside {
		align-items: flex-start;
	}

	.aredc-footer-nav,
	.aredc-footer-legal {
		justify-content: flex-start;
	}
}

/* Footer links: left align once the columns stack on mobile. */
@media (max-width: 781px) {

	.aredc-site-footer .wp-block-navigation.is-content-justification-right,
	.aredc-site-footer .wp-block-navigation.is-content-justification-right .wp-block-navigation__container,
	.aredc-site-footer .wp-block-group.is-content-justification-right {
		justify-content: flex-start;
	}
}

/* Responsive. */
@media (max-width: 991px) {

	/* Figma mobile frame: 16px inset; cancel root + preset medium (24px) stacking. */
	.home {
		--wp--style--root--padding-left: 0;
		--wp--style--root--padding-right: 0;
	}

	.home .site-content>.alignfull {
		padding-inline: 16px !important;
	}

	.home .aredc-home-partners {
		padding-inline: 0 !important;
	}

	.home .aredc-home-partners>.wp-block-group {
		padding-inline: 16px !important;
	}

	.home .aredc-site-footer {
		padding-inline: 16px !important;
	}

	.home .site-content h2.wp-block-heading {
		font-size: 1.5rem;
		line-height: 1.333;
	}

	.aredc-home-hero {
		min-height: 662px;
	}

	.aredc-home-hero>.wp-block-cover__inner-container {
		gap: 24px;
	}

	.aredc-home-hero>.wp-block-cover__inner-container>.aredc-home-search {
		margin-bottom: 1.5rem;
	}

	.aredc-home-hero h1 {
		font-size: 1.875rem;
		line-height: 1.2;
	}

	.aredc-home-hero h1+p {
		font-size: 0.875rem;
		line-height: 1.571;
		max-width: none;
	}

	.aredc-home-search__tabs {
		gap: 8px;
		padding: 6px;
	}

	.aredc-home-search__filters .aredc-home-search__select:nth-child(5) {
		display: none;
	}

	.aredc-home-search__filters {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.aredc-home-search__select:nth-child(odd)::before {
		display: none;
	}

	.aredc-home-search__bar {
		grid-template-columns: 1fr;
		padding: 12px 16px 16px;
	}

	.aredc-home-search__field {
		border-inline-end: 0;
		padding-inline-end: 0;
	}

	.aredc-home-search__submit {
		width: 100%;
	}

	.aredc-home-search__submit .aredc-btn-arrow {
		display: none;
	}

	.aredc-home-services {
		padding-bottom: 32px !important;
		padding-top: var(--wp--preset--spacing--large) !important;
	}

	.aredc-home-services .aredc-home-carousel~.wp-block-columns.alignwide {
		display: none;
	}

	.aredc-home-services .aredc-service {
		align-items: center;
		flex-direction: column;
		text-align: center;
	}

	.aredc-home-services .aredc-service>.wp-block-group {
		width: 100%;
		padding-left: 24px;
		padding-right: 24px;
	}

	.aredc-home-services .aredc-service .wp-block-buttons {
		justify-content: center;
	}

	.aredc-home-services .aredc-service p.has-small-font-size {
		/* Override WordPress's !important preset to match the mobile card. */
		font-size: 12px !important;
		line-height: 20px;
	}

	.aredc-home-services .wp-block-button.is-style-outline .wp-block-button__link {
		font-size: 0.75rem;
		letter-spacing: 0.05em;
		min-height: 34px;
		padding: 0 16px;
	}

	.aredc-home-developments {
		padding-bottom: 32px !important;
		padding-top: 32px !important;
	}

	.aredc-developments.is-mobile-carousel .aredc-developments__list {
		display: flex;
		gap: 0;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.aredc-developments.is-mobile-carousel .aredc-developments__list::-webkit-scrollbar {
		display: none;
	}

	.aredc-developments.is-mobile-carousel .aredc-developments__item {
		box-sizing: border-box;
		flex: 0 0 100%;
		min-width: 0;
		scroll-snap-align: start;
		scroll-snap-stop: always;
	}

	.aredc-developments.is-mobile-carousel .aredc-developments__panel {
		display: block;
		grid-template-rows: 1fr;
		opacity: 1;
	}

	.aredc-developments.is-mobile-carousel .aredc-developments__heading {
		font-size: 1.25rem;
		font-weight: 400;
		margin-bottom: 0;
	}

	.aredc-developments.is-mobile-carousel .aredc-developments__excerpt {
		font-size: 0.875rem;
		line-height: 1.571;
	}

	.aredc-developments.is-mobile-carousel .aredc-home-pager {
		margin-top: 32px;
	}

	.aredc-areas-grid {
		grid-template-columns: 1fr;
		grid-template-rows: none;
	}

	.aredc-area--west-bay,
	.aredc-area--ain-khaled,
	.aredc-area--lusail {
		grid-column: auto;
		grid-row: auto;
		min-height: 261px;
	}

	.aredc-area-card {
		min-height: 261px;
	}

	.aredc-area-label {
		font-size: 1.125rem;
		padding: 0 14px 16px;
	}

	.aredc-listings {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.aredc-listing-card {
		aspect-ratio: 361 / 410;
	}

	.aredc-offices {
		grid-template-columns: 1fr;
	}

	.aredc-offices__map {
		aspect-ratio: 16 / 10;
		order: 2;
	}

	.aredc-office-card {
		inset-block-start: 12px;
		inset-inline-start: 12px;
		max-width: min(320px, calc(100% - 24px));
		padding: 16px;
	}
}

@media (max-width: 781px) {

	.aredc-home-search__bar,
	.aredc-contact-form,
	.aredc-subscribe-form,
	.aredc-areas-grid,
	.aredc-listings {
		grid-template-columns: 1fr;
	}

	/* Two filters per row; a trailing odd filter spans the full row. */
	.aredc-home-search__filters::after {
		inset-inline: 16px;
	}

	.aredc-home-search__select:nth-child(n+3) {
		border-top: 1px solid rgba(3, 38, 77, 0.08);
	}

	.aredc-home-search__select:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}

	.aredc-home-search__bar {
		gap: 12px;
		padding: 12px 16px 16px;
	}

	.aredc-home-search__field {
		border-inline-end: 0;
		padding-inline-end: 0;
	}

	.aredc-home-search__select {
		padding: 8px 16px;
	}

	.aredc-area--west-bay {
		grid-column: auto;
		min-height: 261px;
	}

	.aredc-listing-card {
		aspect-ratio: 361 / 410;
	}

	.aredc-subscribe-form button {
		width: fit-content;
	}
}

/* Properties archive
---------------------------------------------------------------------------- */

.aredc-properties-archive {
	color: var(--wp--preset--color--main);
}

.aredc-properties-shell {
	margin-inline: auto;
	max-width: none;
	width: calc(100% - 48px);
}

.aredc-property-controls {
	border-bottom: 1px solid var(--wp--custom--color--navy-border, rgba(2, 38, 76, 0.2));
}

.aredc-properties-heading {
	color: var(--wp--preset--color--main);
	font-size: 1.125rem;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.3;
	margin: 0;
}

.aredc-property-categories {
	border-bottom: 1px solid var(--wp--custom--color--navy-border, rgba(2, 38, 76, 0.2));
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 24px;
}

.aredc-property-category,
.aredc-project-category {
	align-items: center;
	border-bottom: 2px solid transparent;
	color: var(--wp--preset--color--base);
	display: flex;
	height: 120px;
	justify-content: center;
	padding-bottom: 24px;
	position: relative;
	text-decoration: none;
}

.aredc-category-card__media {
	--aredc-category-overlay-duration: 0.9s;
	border-radius: var(--aredc-radius-surface);
	height: 94px;
	inset-inline: 0;
	opacity: 0.8;
	overflow: hidden;
	position: absolute;
	top: 0;
	transition: opacity var(--aredc-category-overlay-duration) ease;
	width: 100%;
}

.aredc-category-card__media::before,
.aredc-category-card__media::after {
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
	transition: opacity var(--aredc-category-overlay-duration) ease;
	z-index: 1;
}

.aredc-category-card__media::before {
	background: linear-gradient(179.63deg, rgba(255, 255, 255, 0) -53.06%, rgba(2, 38, 76, 0.4) 41.67%);
	opacity: 1;
}

.aredc-category-card__media::after {
	background: linear-gradient(179.63deg, rgba(255, 255, 255, 0) -53.06%, rgba(2, 38, 76, 0.75) 41.67%);
	opacity: 0;
}

.aredc-category-card__media img {
	height: 100%;
	inset: 0;
	object-fit: cover;
	object-position: 0% 20%;
	position: absolute;
	transform: scale(1);
	transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
	width: 100%;
}

.aredc-property-category.is-active .aredc-category-card__media,
.aredc-property-category:hover .aredc-category-card__media,
.aredc-property-category:focus-visible .aredc-category-card__media,
.aredc-project-category.is-active .aredc-category-card__media,
.aredc-project-category:hover .aredc-category-card__media,
.aredc-project-category:focus-visible .aredc-category-card__media {
	opacity: 1;
}

.aredc-property-category.is-active .aredc-category-card__media::before,
.aredc-property-category:hover .aredc-category-card__media::before,
.aredc-property-category:focus-visible .aredc-category-card__media::before,
.aredc-project-category.is-active .aredc-category-card__media::before,
.aredc-project-category:hover .aredc-category-card__media::before,
.aredc-project-category:focus-visible .aredc-category-card__media::before {
	opacity: 0;
}

.aredc-property-category.is-active .aredc-category-card__media::after,
.aredc-property-category:hover .aredc-category-card__media::after,
.aredc-property-category:focus-visible .aredc-category-card__media::after,
.aredc-project-category.is-active .aredc-category-card__media::after,
.aredc-project-category:hover .aredc-category-card__media::after,
.aredc-project-category:focus-visible .aredc-category-card__media::after {
	opacity: 1;
}

.aredc-property-category.is-active .aredc-category-card__media img,
.aredc-property-category:hover .aredc-category-card__media img,
.aredc-property-category:focus-visible .aredc-category-card__media img,
.aredc-project-category.is-active .aredc-category-card__media img,
.aredc-project-category:hover .aredc-category-card__media img,
.aredc-project-category:focus-visible .aredc-category-card__media img {
	transform: scale(1.09);
}

.aredc-category-card__label {
	font-size: 1.125rem;
	position: relative;
	z-index: 2;
}

.aredc-property-category.is-active,
.aredc-project-category.is-active {
	border-bottom-color: var(--wp--preset--color--main);
}

.aredc-property-category.is-active .aredc-category-card__label,
.aredc-property-category:hover .aredc-category-card__label,
.aredc-property-category:focus-visible .aredc-category-card__label,
.aredc-project-category.is-active .aredc-category-card__label,
.aredc-project-category:hover .aredc-category-card__label,
.aredc-project-category:focus-visible .aredc-category-card__label {
	border-bottom: 1px solid #ffffff;
}

@media (prefers-reduced-motion: reduce) {

	.aredc-category-card__media,
	.aredc-category-card__media::before,
	.aredc-category-card__media::after,
	.aredc-category-card__media img {
		transition: none;
	}
}

.aredc-property-filters {
	margin-top: 24px;
}

.aredc-property-filters__header {
	align-items: center;
	display: flex;
	gap: 16px;
	justify-content: space-between;
}

.aredc-property-filters__row {
	align-items: stretch;
	display: flex;
	gap: 16px;
	margin-top: 20px;
	position: relative;
}

.aredc-filter-select,
.aredc-more-filters {
	border: 1px solid var(--wp--custom--color--navy-border, rgba(2, 38, 76, 0.2));
	border-radius: var(--aredc-radius-control);
	min-width: 0;
	width: auto;
}

.aredc-filter-select {
	position: relative;
}

.aredc-filter-select::after {
	background: url("assets/images/properties/chevron-down.svg") center / contain no-repeat;
	content: "";
	height: 5px;
	pointer-events: none;
	position: absolute;
	right: 20px;
	top: 22px;
	width: 10px;
}

.aredc-filter-select:has(.aredc-select.is-open)::after {
	transform: scaleY(-1);
}

.aredc-filter-select select,
.aredc-filter-select .aredc-select__trigger,
.aredc-filter-select .aredc-select__trigger:hover,
.aredc-filter-select .aredc-select__trigger:focus,
.aredc-more-filters select,
.aredc-more-filters .aredc-select__trigger,
.aredc-more-filters .aredc-select__trigger:hover,
.aredc-more-filters .aredc-select__trigger:focus {
	appearance: none;
	background-color: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: var(--wp--preset--color--main);
	cursor: pointer;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 300;
	height: 48px;
	letter-spacing: 0;
	line-height: 1.3;
	margin: 0;
	outline: 0;
	padding: 0 38px 0 16px;
	text-align: start;
	text-transform: none;
	width: 100%;
}

.aredc-filter-select:focus-within,
.aredc-filter-select:has(.aredc-select.is-open),
.aredc-filter-select:has(.aredc-price-filter.is-open),
.aredc-property-search__input:focus-within,
.aredc-property-sort:focus-within,
.aredc-property-sort:has(.aredc-select.is-open),
.aredc-more-filters:focus-within:not(:has(.aredc-filters-drawer.is-open)) {
	border-color: var(--wp--preset--color--main);
	box-shadow: 0 0 0 1px var(--wp--preset--color--main);
}

.aredc-filter-select:has(.aredc-price-filter.is-open)::after {
	transform: scaleY(-1);
}

.aredc-filter-select--price .aredc-price-filter__trigger {
	appearance: none;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: var(--wp--preset--color--main);
	cursor: pointer;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 300;
	height: 48px;
	letter-spacing: 0;
	line-height: 1.3;
	margin: 0;
	outline: 0;
	padding: 0 38px 0 16px;
	text-align: start;
	text-transform: none;
	width: 100%;
}

.aredc-filter-select--price .aredc-price-filter__value {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.aredc-home-search__select .aredc-beds-filter__trigger,
.aredc-home-search__select .aredc-price-filter__trigger {
	-webkit-appearance: none;
	appearance: none;
	background-color: transparent;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%2302264c' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
	background-position: right 12px center;
	background-repeat: no-repeat;
	background-size: 10px 6px;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	box-sizing: border-box;
	color: var(--wp--preset--color--placeholder);
	cursor: pointer;
	display: block;
	font-family: inherit;
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.3;
	min-height: 36px;
	min-width: 0;
	padding: 8px 32px 8px 12px;
	text-align: start;
	text-transform: none;
	width: 100%;
}

.aredc-home-search__select .aredc-beds-filter:not(.is-empty) .aredc-beds-filter__trigger,
.aredc-home-search__select .aredc-price-filter:not(.is-empty) .aredc-price-filter__trigger {
	color: var(--wp--preset--color--main);
	font-weight: 500;
}

.aredc-home-search__select .aredc-beds-filter.is-open .aredc-beds-filter__trigger,
.aredc-home-search__select .aredc-price-filter.is-open .aredc-price-filter__trigger {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 6.5 6 1.5 11 6.5' fill='none' stroke='%2302264c' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
}

.aredc-home-search__select .aredc-beds-filter__value,
.aredc-home-search__select .aredc-price-filter__value {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.aredc-property-controls:has(.aredc-price-filter.is-open),
.aredc-home-search:has(.aredc-beds-filter.is-open),
.aredc-home-search:has(.aredc-price-filter.is-open) {
	position: relative;
	z-index: 20;
}

.aredc-filter-select:has(.aredc-price-filter.is-open),
.aredc-home-search__select:has(.aredc-beds-filter.is-open),
.aredc-home-search__select:has(.aredc-price-filter.is-open) {
	z-index: 2;
}

.aredc-beds-filter {
	position: relative;
}

.aredc-beds-filter__panel {
	background: var(--wp--preset--color--base);
	border-radius: 16px;
	box-shadow: 0 12px 40px rgba(2, 38, 76, 0.12);
	box-sizing: border-box;
	bottom: calc(100% + 10px);
	left: 0;
	margin: 0;
	padding: 16px 15px 15px;
	position: absolute;
	width: min(270px, calc(100vw - 32px));
	z-index: 30;
}

.aredc-beds-filter__panel.is-align-end {
	left: auto;
	right: 0;
}

.aredc-beds-filter__panel fieldset {
	border: 0;
	margin: 0;
	min-inline-size: 0;
	padding: 0;
}

.aredc-beds-filter__panel fieldset:not([hidden])+fieldset {
	margin-top: 16px;
}

.aredc-beds-filter__panel legend {
	color: #3a3a3a;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.3;
	margin-bottom: 10px;
	padding: 0;
}

.aredc-beds-filter__options {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.aredc-beds-filter__options button {
	align-items: center;
	background: var(--wp--preset--color--base);
	border: 1px solid #e4e4e4;
	border-radius: 6px;
	box-shadow: none;
	color: #5a5a5a;
	cursor: pointer;
	display: inline-flex;
	font-family: inherit;
	font-size: 0.75rem;
	font-weight: 400;
	height: 36px;
	justify-content: center;
	letter-spacing: 0;
	line-height: 1;
	margin: 0;
	min-width: 40px;
	padding: 0 12px;
	text-transform: none;
}

.aredc-beds-filter__options button:hover,
.aredc-beds-filter__options button:focus-visible {
	border-color: #c8c8c8;
	color: #3a3a3a;
}

.aredc-beds-filter__options button:focus-visible {
	outline: 2px solid var(--wp--preset--color--main);
	outline-offset: 2px;
}

.aredc-beds-filter__options button[aria-pressed="true"] {
	background: var(--wp--preset--color--primary-alt);
	border-color: var(--wp--preset--color--gold);
	color: var(--wp--preset--color--gold);
}

.aredc-price-filter {
	position: relative;
}

.aredc-price-filter__panel {
	background: var(--wp--preset--color--base);
	border-radius: 16px;
	box-shadow: 0 12px 40px rgba(2, 38, 76, 0.12);
	box-sizing: border-box;
	bottom: calc(100% + 10px);
	left: 0;
	margin: 0;
	padding: 16px 15px 15px;
	position: absolute;
	width: min(345px, calc(100vw - 32px));
	z-index: 30;
}

/* Keep the area presets below the filter bar so they do not cover its trigger. */
[data-range-name="property_area"] .aredc-price-filter__panel {
	bottom: auto;
	top: calc(100% + 10px);
}

.aredc-price-filter__panel.is-align-end {
	left: auto;
	right: 0;
}

.aredc-price-filter__panel fieldset {
	border: 0;
	margin: 0;
	min-inline-size: 0;
	padding: 0;
}

.aredc-price-filter__panel legend {
	color: #3a3a3a;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.3;
	margin-bottom: 10px;
	padding: 0;
}

.aredc-price-filter__range {
	align-items: center;
	display: grid;
	gap: 9px;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

.aredc-price-filter__range label {
	min-width: 0;
}

.aredc-price-filter__range span {
	color: #8a8a8a;
}

.aredc-price-filter__range input {
	appearance: textfield;
	background: var(--wp--preset--color--base);
	border: 1px solid #e4e4e4;
	border-radius: 9px;
	box-shadow: none;
	box-sizing: border-box;
	color: #3a3a3a;
	font-family: inherit;
	font-size: 0.75rem;
	font-weight: 400;
	height: 40px;
	letter-spacing: 0;
	line-height: 1.3;
	margin: 0;
	padding: 0 12px;
	text-transform: none;
	width: 100%;
}

.aredc-price-filter__range input::placeholder {
	color: #9a9a9a;
}

.aredc-price-filter__range input:focus {
	border-color: var(--wp--preset--color--main);
	outline: 0;
}

.aredc-price-filter__field {
	min-width: 0;
	position: relative;
}

.aredc-price-filter__suggest {
	background: var(--wp--preset--color--base);
	border: 1px solid #e4e4e4;
	border-radius: 9px;
	box-shadow: 0 12px 40px rgba(2, 38, 76, 0.12);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 2px;
	left: 0;
	margin: 0;
	max-height: 168px;
	overflow-y: auto;
	padding: 5px;
	position: absolute;
	top: calc(100% + 6px);
	width: 100%;
	z-index: 5;
}

.aredc-price-filter__suggest[hidden] {
	display: none;
}

.aredc-price-filter__suggest button {
	background: transparent;
	border: 0;
	border-radius: 6px;
	box-shadow: none;
	color: #3a3a3a;
	cursor: pointer;
	font-family: inherit;
	font-size: 0.7rem;
	font-weight: 400;
	line-height: 1.3;
	margin: 0;
	padding: 8px 9px;
	text-align: left;
	width: 100%;
}

.aredc-price-filter__suggest button:hover,
.aredc-price-filter__suggest button:focus-visible {
	background: var(--wp--preset--color--primary-accent);
	color: #02264c;
}

.aredc-price-filter__suggest button:focus-visible {
	outline: 2px solid var(--wp--preset--color--main);
	outline-offset: 2px;
}

.aredc-price-filter__suggest button[hidden] {
	display: none;
}

.aredc-price-filter__range input::-webkit-outer-spin-button,
.aredc-price-filter__range input::-webkit-inner-spin-button {
	appearance: none;
	margin: 0;
}

.aredc-property-tools {
	align-items: stretch;
	display: flex;
	flex-grow: 1;
	gap: 16px;
	min-width: 0;
}

.aredc-property-search {
	align-items: stretch;
	display: flex;
	flex: 1 1 auto;
	gap: 8px;
	min-width: 0;
}

.aredc-property-search__input {
	align-items: center;
	background: #f9f9f9;
	border: 1px solid #e6e6e6;
	border-radius: 8px;
	display: flex;
	flex: 1 1 auto;
	gap: 12px;
	min-width: 0;
	padding: 0 16px;
}

.aredc-property-sort {
	align-items: center;
	background: #f9f9f9 url("assets/images/properties/sort.svg") center / 24px 24px no-repeat;
	border: 1px solid #e6e6e6;
	border-radius: 8px;
	display: flex;
	flex: 0 0 48px;
	height: 48px;
	justify-content: center;
	position: relative;
	width: 48px;
}

.aredc-property-sort .aredc-select,
.aredc-property-sort .aredc-select__trigger,
.aredc-property-sort .aredc-select__trigger:hover,
.aredc-property-sort .aredc-select__trigger:focus {
	background: transparent;
	border: 0;
	box-shadow: none;
	height: 48px;
	margin: 0;
	min-width: 0;
	padding: 0;
	width: 48px;
}

.aredc-property-sort select {
	appearance: none;
	border: 0;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	color: transparent;
	height: 1px;
	margin: 0;
	overflow: hidden;
	padding: 0;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.aredc-property-sort .aredc-select__trigger:focus-visible {
	outline: 2px solid var(--wp--preset--color--main);
	outline-offset: -2px;
}

.aredc-property-sort .aredc-select__value {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	color: transparent;
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.aredc-property-search__submit {
	align-items: center;
	background: var(--wp--preset--color--main, #02264c);
	border: 0;
	border-radius: 8px;
	box-shadow: none;
	cursor: pointer;
	display: flex;
	flex: 0 0 50px;
	height: 50px;
	justify-content: center;
	margin: 0;
	padding: 0;
	width: 50px;
}

.aredc-property-search__submit:hover {
	background: var(--wp--preset--color--navy-gold, #2a4a6e);
}

.aredc-property-search__submit:focus-visible {
	outline: 2px solid var(--wp--preset--color--main);
	outline-offset: 2px;
}

.aredc-property-search__clear {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	cursor: pointer;
	display: flex;
	flex-shrink: 0;
	height: 24px;
	justify-content: center;
	margin: 0;
	padding: 0;
	width: 24px;
}

.aredc-property-search__clear[hidden] {
	display: none;
}

.aredc-property-search__clear:focus-visible {
	outline: 2px solid var(--wp--preset--color--main);
	outline-offset: 2px;
}

.aredc-property-search label {
	display: flex;
	flex: 1;
	min-width: 0;
}

.aredc-property-search img,
.aredc-more-filters img,
.aredc-view-switcher img,
.aredc-active-filters img {
	border-radius: 0;
	flex-shrink: 0;
}

.aredc-property-search input:not([type="submit"]):not([type="radio"]) {
	appearance: none;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: var(--wp--preset--color--main);
	font-family: inherit;
	font-size: 1rem;
	font-weight: 400;
	height: 48px;
	min-width: 0;
	outline: 0;
	padding: 0;
	width: 100%;
}

.aredc-property-search input::-webkit-search-decoration,
.aredc-property-search input::-webkit-search-cancel-button,
.aredc-property-search input::-webkit-search-results-button,
.aredc-property-search input::-webkit-search-results-decoration {
	appearance: none;
	display: none;
}

.aredc-property-search input::placeholder {
	color: #9c9c9c;
	opacity: 1;
}

.aredc-more-filters {
	position: relative;
}

.aredc-filters-label--mobile,
.aredc-filters-drawer__primary[hidden] {
	display: none;
}

.aredc-filters-drawer__primary {
	border-bottom: 1px solid var(--aredc-drawer-control-border);
	display: grid;
	gap: 20px;
	margin-bottom: 24px;
	padding: 0 20px 24px;
}

.aredc-filters-drawer__field-label {
	display: block;
	font-size: 1rem;
	margin-bottom: 8px;
}

.aredc-filters-drawer__primary .aredc-filter-select {
	display: block;
}

.aredc-filters-drawer__primary .aredc-price-filter__panel {
	box-shadow: none;
	position: static;
	width: 100%;
}

.aredc-more-filters__trigger {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: var(--wp--preset--color--main);
	cursor: pointer;
	display: flex;
	font-family: inherit;
	font-size: 14px;
	font-weight: 300;
	height: 48px;
	justify-content: space-between;
	letter-spacing: 0;
	margin: 0;
	padding: 0 20px 0 16px;
	text-transform: none;
	width: 100%;
}

.aredc-more-filters__trigger::after {
	background: url("assets/images/properties/chevron-more.svg") center / contain no-repeat;
	content: "";
	flex-shrink: 0;
	height: 6px;
	width: 11px;
	margin-left: 4px;
}

.aredc-more-filters__trigger[aria-expanded="true"]::after {
	transform: scaleY(-1);
}

.aredc-filters-drawer {
	inset: 0;
	position: fixed;
	z-index: 800;
}

.aredc-filters-drawer[hidden] {
	display: none;
}

.admin-bar .aredc-filters-drawer {
	top: var(--wp-admin--admin-bar--height, 32px);
}

.aredc-filters-drawer__backdrop {
	background: rgba(2, 38, 76, 0.45);
	border: 0;
	cursor: pointer;
	height: 100%;
	inset: 0;
	margin: 0;
	padding: 0;
	position: absolute;
	width: 100%;
}

body.aredc-filters-open {
	overflow: hidden;
}

/* Select menus are attached to body, outside the drawer's stacking context. */
body.aredc-filters-open > .aredc-select__menu {
	z-index: 801;
}

.aredc-filters-drawer__panel {
	--aredc-drawer-control-border: #e4e4e4;
	background: var(--wp--preset--color--tertiary, #f9f9f9);
	box-shadow: 8px 0 32px rgba(2, 38, 76, 0.16);
	box-sizing: border-box;
	color: var(--wp--preset--color--main);
	display: flex;
	flex-direction: column;
	height: 100%;
	max-width: 100%;
	position: relative;
	transform: translateX(-100%);
	transition: transform 0.28s ease;
	width: 420px;
	z-index: 1;
}

.aredc-filters-drawer.is-open .aredc-filters-drawer__panel {
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.aredc-filters-drawer__panel {
		transition: none;
	}
}

.aredc-filters-drawer__header {
	align-items: center;
	border-bottom: 1px solid var(--aredc-drawer-control-border);
	display: flex;
	justify-content: space-between;
	min-height: 70px;
	padding: 20px;
}

.aredc-filters-drawer__header h2 {
	font-size: 1.25rem;
	font-weight: 300;
	line-height: 1.25;
	margin: 0;
}

.aredc-filters-drawer__close {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	cursor: pointer;
	display: flex;
	height: 24px;
	justify-content: center;
	margin: 0;
	padding: 0;
	width: 24px;
}

.aredc-filters-drawer__body {
	flex: 1;
	min-height: 0;
	overflow: auto;
	padding: 24px 0 8px;
}

.aredc-filters-drawer__section {
	border: 0;
	border-bottom: 1px solid var(--aredc-drawer-control-border);
	margin: 0;
	min-width: 0;
	padding: 0 20px 24px;
}

.aredc-filters-drawer__section+.aredc-filters-drawer__section {
	padding-top: 24px;
}

/*
 * A legend normally renders in the fieldset's border area, above its padding,
 * so the section heading hugged the divider and the 24px sat below it instead.
 * Floating the legend takes it out of that special slot and back into normal
 * flow, so the padding lands above the heading and the 20px gap below it holds.
 * The next sibling clears the float.
 */
.aredc-filters-drawer__section legend {
	align-items: center;
	color: var(--wp--preset--color--main);
	display: flex;
	float: left;
	font-size: 1rem;
	font-weight: 300;
	gap: 16px;
	height: 24px;
	line-height: 1.25;
	margin: 0 0 20px;
	padding: 0;
	width: 100%;
}

.aredc-filters-drawer__section legend+* {
	clear: both;
}

.aredc-filters-drawer__section legend img {
	flex-shrink: 0;
}

.aredc-filters-drawer__choices {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.aredc-filters-drawer__choice {
	cursor: pointer;
	display: inline-flex;
	flex: 0 0 auto;
	margin: 0;
	width: auto;
}

.aredc-filters-drawer__choice input {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.aredc-filters-drawer__choice span {
	align-items: center;
	background: var(--wp--preset--color--base, #fff);
	border: 1px solid var(--aredc-drawer-control-border);
	border-radius: var(--aredc-radius-control);
	box-sizing: border-box;
	color: var(--wp--preset--color--muted-navy, #466a87);
	display: flex;
	font-size: 0.875rem;
	font-weight: 300;
	height: 44px;
	padding: 8px 16px;
	text-transform: capitalize;
	width: auto;
}

.aredc-filters-drawer__choice input:checked+span {
	background: var(--wp--preset--color--main, #02264c);
	border-color: var(--wp--preset--color--main, #02264c);
	color: var(--wp--preset--color--base, #fff);
}

.aredc-filters-drawer__choice input:focus-visible+span {
	outline: 2px solid var(--wp--preset--color--main);
	outline-offset: 2px;
}

.aredc-filters-drawer__choices--furnishing {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.aredc-filters-drawer__choices--furnishing .aredc-filters-drawer__choice {
	min-width: 0;
}

.aredc-filters-drawer__choices--furnishing .aredc-filters-drawer__choice span {
	height: auto;
	justify-content: center;
	min-height: 44px;
	padding: 8px 6px;
	text-align: center;
	width: 100%;
}

.aredc-filters-drawer__area {
	align-items: center;
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.aredc-filters-drawer__area>span[aria-hidden="true"] {
	display: none;
}

.aredc-filters-drawer__area label {
	min-width: 0;
}

.aredc-filters-drawer__area span {
	color: #8a8a8a;
}

.aredc-filters-drawer__area input {
	appearance: textfield;
	background: var(--wp--preset--color--base, #fff);
	border: 1px solid var(--aredc-drawer-control-border);
	border-radius: var(--aredc-radius-control);
	box-shadow: none;
	box-sizing: border-box;
	color: var(--wp--preset--color--main);
	font-family: inherit;
	font-size: 0.875rem;
	font-weight: 300;
	height: 44px;
	letter-spacing: 0;
	line-height: 1.3;
	margin: 0;
	padding: 0 16px;
	text-transform: none;
	width: 100%;
}

.aredc-filters-drawer__area input::placeholder {
	color: var(--wp--preset--color--muted-navy, #466a87);
	opacity: 1;
}

.aredc-filters-drawer__area input:focus {
	border-color: var(--wp--preset--color--main);
	outline: 0;
}

.aredc-filters-drawer__area input::-webkit-outer-spin-button,
.aredc-filters-drawer__area input::-webkit-inner-spin-button {
	appearance: none;
	margin: 0;
}

.aredc-filters-drawer__section--amenities {
	border-bottom: 0;
}

.aredc-filters-drawer__search {
	align-items: center;
	background: var(--wp--preset--color--base, #fff);
	border: 1px solid var(--aredc-drawer-control-border);
	border-radius: var(--aredc-radius-control);
	box-sizing: border-box;
	display: flex;
	gap: 12px;
	height: 44px;
	margin: 0 0 20px;
	padding: 0 16px;
}

.aredc-filters-drawer__search img {
	border-radius: 0;
	flex-shrink: 0;
}

.aredc-filters-drawer__search input:not([type="submit"]):not([type="radio"]) {
	appearance: none;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: var(--wp--preset--color--main);
	flex: 1;
	font-family: inherit;
	font-size: 0.875rem;
	font-weight: 300;
	height: 44px;
	margin: 0;
	min-width: 0;
	outline: 0;
	padding: 0;
	text-transform: none;
	width: 100%;
}

.aredc-filters-drawer__search input::-webkit-search-decoration,
.aredc-filters-drawer__search input::-webkit-search-cancel-button,
.aredc-filters-drawer__search input::-webkit-search-results-button,
.aredc-filters-drawer__search input::-webkit-search-results-decoration {
	appearance: none;
	display: none;
}

.aredc-filters-drawer__search input::placeholder {
	color: var(--wp--preset--color--muted-navy, #466a87);
	font-weight: 300;
	opacity: 1;
}

.aredc-filters-drawer__amenities {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding-bottom: 8px;
}

.aredc-filters-drawer__amenity {
	align-items: center;
	color: var(--wp--preset--color--muted-navy, #466a87);
	cursor: pointer;
	display: flex;
	font-size: 0.875rem;
	font-weight: 300;
	gap: 16px;
	margin: 0;
	text-transform: capitalize;
}

/*
 * Attribute selector matches the specificity of the parent theme's
 * input:not([type="submit"]):not([type="radio"]) rule, which otherwise wins and
 * hands the box a 5px radius, 0.5em 1em padding and a white fill.
 */
.aredc-filters-drawer__amenity input[type="checkbox"] {
	appearance: none;
	background: var(--wp--preset--color--base, #fff);
	border: 1px solid var(--aredc-drawer-control-border);
	border-radius: var(--aredc-radius-control);
	box-shadow: none;
	box-sizing: border-box;
	flex-shrink: 0;
	height: 20px;
	margin: 0;
	min-height: 0;
	min-width: 0;
	padding: 0;
	width: 20px;
}

.aredc-filters-drawer__amenity input[type="checkbox"]:checked {
	background: var(--wp--preset--color--main, #02264c) url("assets/images/properties/filters/check.svg") center / 20px 20px no-repeat;
	border-color: var(--wp--preset--color--main, #02264c);
}

.aredc-filters-drawer__amenity:has(input:checked) {
	color: var(--wp--preset--color--main);
	font-weight: 400;
}

.aredc-filters-drawer__amenity input[type="checkbox"]:focus-visible {
	outline: 2px solid var(--wp--preset--color--main);
	outline-offset: 2px;
}

.aredc-filters-drawer__empty {
	color: var(--wp--preset--color--secondary, #4e4e4e);
	font-size: 0.875rem;
	margin: 0;
}

.aredc-filters-drawer__footer {
	padding: 16px 20px 24px;
}

.aredc-filters-drawer__footer button {
	background: var(--wp--preset--color--gold, #a07936);
	border: 0;
	border-radius: var(--aredc-radius-surface);
	box-sizing: border-box;
	color: var(--wp--preset--color--base, #fff);
	cursor: pointer;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 400;
	height: 54px;
	letter-spacing: 0;
	margin: 0;
	text-transform: capitalize;
	width: 100%;
}

.aredc-filters-drawer__footer button:hover,
.aredc-filters-drawer__footer button:focus-visible {
	background: #8c692f;
}

.aredc-active-filters {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	min-height: 24px;
}


.aredc-active-filters > * {
	padding: 20px 0;
}

.aredc-filter-chip {
	align-items: center;
	background: rgba(160, 121, 54, 0.8);
	border: 1px solid rgba(156, 156, 156, 0.2);
	border-radius: var(--aredc-radius-control);
	color: var(--wp--preset--color--base);
	display: flex;
	font-size: 0.75rem;
	font-weight: 300;
	gap: 8px;
	padding: 5px 8px;
	text-decoration: none;
}

.aredc-filter-chip img {
	filter: brightness(0) invert(1);
}

.aredc-active-filters>a:not(.aredc-filter-chip) {
	color: var(--wp--preset--color--main);
	font-size: 0.875rem;
	font-weight: 200;
	margin-inline-start: 4px;
	text-decoration: none;
}

.aredc-view-switcher {
	align-items: center;
	display: flex;
	gap: 16px;
	justify-content: flex-end;
}

.aredc-view-switcher>* {
	align-items: center;
	border: 1px solid var(--wp--custom--color--navy-border, rgba(2, 38, 76, 0.2));
	border-radius: var(--aredc-radius-control);
	cursor: pointer;
	display: flex;
	font-family: inherit;
	font-size: 0.875rem;
	font-weight: 300;
	gap: 12px;
	height: 36px;
	padding: 0 12px;
}

.aredc-view-switcher button {
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--main);
	opacity: 1;
}

.aredc-view-switcher button.is-active {
	display: none;
}

.aredc-property-results {
	margin-block-start: 0 !important;
	padding: 0 0 72px;
}

.aredc-archive-listings {
	gap: 16px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	max-width: none;
}

@media (min-width: 1441px) {
	.aredc-archive-listings {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.aredc-property-layout {
	--aredc-map-height: min(720px, calc(100vh - 140px));
}

/* Map view keeps the listings beside the map instead of replacing them. */
.aredc-property-layout.is-map-view {
	align-items: start;
	display: grid;
	gap: 16px;
	grid-template-columns: minmax(320px, 34%) 1fr;
}

.is-map-view .aredc-property-grid-view {
	max-height: var(--aredc-map-height);
	overflow-y: auto;
	overscroll-behavior: contain;
	padding-inline-end: 8px;
	/* Containing block so absolutely positioned children, such as the
	   pagination screen reader labels, are clipped with the scroller. */
	position: relative;
}

.is-map-view .aredc-archive-listings {
	grid-template-columns: 1fr;
}

.is-map-view .aredc-archive-listings .aredc-listing-card {
	aspect-ratio: 16 / 10;
}

.is-map-view .aredc-archive-listings .aredc-listing-card__title {
	font-size: clamp(1rem, 1.2vw, 1.125rem);
}

.is-map-view .aredc-archive-listings .aredc-listing-card__location {
	font-size: 0.875rem;
}

.is-map-view .aredc-archive-listings .aredc-listing-card__price {
	font-size: 1.25rem;
}

.is-map-view .aredc-property-pagination {
	margin-top: 24px;
}

.is-map-view .aredc-properties-empty {
	padding: 48px 16px;
}

.aredc-property-map-view {
	position: relative;
}

@media (min-width: 768px) {
	.aredc-property-map-view {
		margin-top: 1rem;
	}
}

.aredc-properties-map {
	background: var(--wp--preset--color--primary-accent);
	border-radius: var(--aredc-radius-surface);
	height: var(--aredc-map-height, min(720px, calc(100vh - 140px)));
	min-height: 560px;
	overflow: hidden;
	width: 100%;
	z-index: 0;
}

.aredc-properties-map.is-unavailable {
	align-items: center;
	display: flex;
	justify-content: center;
	padding: 32px;
	text-align: center;
}

.aredc-properties-map img,
.aredc-map-popup img {
	border-radius: 0;
}

.aredc-map-marker {
	height: 30px;
	transform: translateY(-6px);
	width: 30px;
}

.aredc-map-marker>span {
	background: var(--wp--preset--color--main);
	border: 3px solid var(--wp--preset--color--base);
	border-radius: 50% 50% 50% 0;
	box-shadow: 0 5px 14px rgba(2, 38, 76, 0.28);
	display: block;
	height: 30px;
	position: relative;
	transform: rotate(-45deg);
	width: 30px;
}

.aredc-map-marker>span::after {
	background: var(--wp--preset--color--gold);
	border-radius: 50%;
	content: "";
	height: 8px;
	left: 8px;
	position: absolute;
	top: 8px;
	width: 8px;
}

.aredc-map-marker>span:has(b)::after {
	display: none;
}

.aredc-map-marker b {
	align-items: center;
	color: var(--wp--preset--color--base);
	display: flex;
	font-size: 0.6875rem;
	height: 100%;
	justify-content: center;
	line-height: 1;
	transform: rotate(45deg);
	width: 100%;
}

.aredc-map-popup {
	min-width: 260px;
}

.aredc-map-popup>img {
	display: block;
	height: 150px;
	object-fit: cover;
	width: 100%;
}

.aredc-map-popup__body {
	padding: 16px;
}

.aredc-map-popup h3 {
	font-size: 1rem;
	line-height: 1.35;
	margin: 0;
}

.aredc-map-popup h3 a {
	color: var(--wp--preset--color--main);
	text-decoration: none;
}

.aredc-map-popup__location {
	color: var(--wp--preset--color--secondary);
	font-size: 0.8125rem;
	margin: 8px 0 0;
}

.aredc-map-popup__price {
	color: var(--wp--preset--color--main);
	font-size: 1rem;
	font-weight: 400;
	margin: 10px 0 0;
}

.aredc-map-carousel {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: min(360px, calc(100vw - 72px));
}

body.aredc-map-selection-open {
	overflow: hidden;
}

.aredc-map-selection {
	background: transparent;
	border: 0;
	color: var(--wp--preset--color--main);
	inset: auto;
	margin: 0;
	max-height: calc(100dvh - 32px);
	max-width: calc(100vw - 32px);
	overflow: auto;
	padding: 0;
	position: fixed;
}

.aredc-map-selection::backdrop {
	background: rgba(0, 0, 0, 0.6);
}

.aredc-map-selection__close {
	background: var(--wp--preset--color--base);
	border: 0;
	border-radius: var(--aredc-radius-surface);
	cursor: pointer;
	display: block;
	height: 44px;
	margin: 0 0 8px auto;
	padding: 0;
	width: 44px;
}

.aredc-map-selection__close::before {
	background: var(--wp--preset--color--main);
	content: "";
	display: block;
	height: 13px;
	margin: auto;
	mask: url("assets/images/properties/close.svg") center / contain no-repeat;
	width: 13px;
}

.aredc-map-carousel__viewport {
	border: 3px solid var(--wp--preset--color--base);
	border-radius: calc(var(--aredc-radius-surface) + 2px);
	box-shadow: var(--wp--preset--shadow--medium-dark);
	overflow: hidden;
	touch-action: pan-y;
}

.aredc-map-carousel__track {
	display: flex;
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.aredc-map-carousel__slide {
	background: var(--wp--preset--color--main);
	cursor: pointer;
	flex: 0 0 100%;
	height: 270px;
	min-width: 0;
	position: relative;
}

.aredc-map-carousel__slide:has(a:focus-visible) {
	outline: 2px solid var(--wp--preset--color--gold);
	outline-offset: -4px;
}

.aredc-map-carousel__slide::before {
	background: linear-gradient(180deg, rgba(2, 38, 76, 0) 25%, rgba(2, 38, 76, 0.55) 58%, rgba(2, 38, 76, 0.96) 100%);
	content: "";
	inset: 0;
	position: absolute;
	z-index: 1;
}

.aredc-map-carousel__slide>img {
	height: 100%;
	inset: 0;
	object-fit: cover;
	position: absolute;
	width: 100%;
}

.aredc-map-carousel__slide .aredc-map-popup__body {
	color: var(--wp--preset--color--base);
	display: flex;
	flex-direction: column;
	inset: 0;
	justify-content: flex-end;
	padding: 22px;
	position: absolute;
	z-index: 2;
}

.aredc-map-carousel__slide h3 {
	display: -webkit-box;
	font-size: 1.125rem;
	font-weight: 400;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.aredc-map-carousel__slide h3 a,
.aredc-map-carousel__slide .aredc-map-popup__price {
	color: var(--wp--preset--color--base);
}

.aredc-map-carousel__slide h3 a {
	text-decoration: none;
}

.aredc-map-carousel__slide h3 a::after {
	content: "";
	inset: 0;
	position: absolute;
	z-index: 3;
}

.aredc-map-carousel__slide h3 a:focus-visible {
	outline: none;
}

.aredc-map-carousel__slide .aredc-map-popup__location {
	align-items: center;
	color: #e0e0e0;
	display: flex;
	gap: 8px;
}

.aredc-map-carousel__slide .aredc-map-popup__location::before {
	background: url("assets/images/properties/location.svg") center / contain no-repeat;
	content: "";
	flex: 0 0 13px;
	height: 17px;
}

.aredc-map-carousel__slide .aredc-map-popup__price {
	font-size: 1.375rem;
}

.aredc-map-carousel__navigation {
	align-items: center;
	background: var(--wp--preset--color--base);
	border-radius: var(--aredc-radius-surface);
	display: flex;
	height: 54px;
	justify-content: center;
}

.aredc-map-carousel__button {
	align-items: center;
	background: transparent;
	border: 0;
	color: var(--wp--preset--color--main);
	cursor: pointer;
	display: flex;
	height: 44px;
	justify-content: center;
	padding: 0;
	width: 52px;
}

.aredc-map-carousel__button::before {
	background-color: currentColor;
	border: 0;
	content: "";
	height: 11px;
	mask-image: url("assets/images/properties/chevron-more.svg");
	-webkit-mask-image: url("assets/images/properties/chevron-more.svg");
	mask-position: center;
	-webkit-mask-position: center;
	mask-repeat: no-repeat;
	-webkit-mask-repeat: no-repeat;
	mask-size: 11px 6px;
	-webkit-mask-size: 11px 6px;
	width: 24px;
}

.aredc-map-carousel__button.is-previous {
	margin-inline-end: -4px;
}

.aredc-map-carousel__button.is-next {
	margin-inline-start: -4px;
}

.aredc-map-carousel__button.is-previous::before {
	transform: rotate(90deg);
}

.aredc-map-carousel__button.is-next::before {
	transform: rotate(-90deg);
}

.aredc-map-carousel__button:hover {
	color: var(--wp--preset--color--gold);
}

.aredc-map-carousel__button:focus-visible {
	border-radius: var(--aredc-radius-control);
	outline: 2px solid var(--wp--preset--color--gold);
	outline-offset: -4px;
}

.aredc-map-carousel__counter {
	color: var(--wp--preset--color--secondary);
	font-size: 1rem;
	min-width: 68px;
	text-align: center;
}

@media (prefers-reduced-motion: reduce) {
	.aredc-map-carousel__track {
		transition: none;
	}
}

.aredc-map-empty {
	background: rgba(255, 255, 255, 0.94);
	border-radius: var(--aredc-radius-surface);
	left: 50%;
	margin: 0;
	padding: 16px 20px;
	position: absolute;
	text-align: center;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 500;
}

/* Figma AL-Asmakh pagination (2456:10886) */
.aredc-pagination,
.aredc-property-pagination {
	margin-top: 48px;
}

.aredc-pagination>.page-numbers,
.aredc-property-pagination>.page-numbers {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.aredc-pagination>.page-numbers>li,
.aredc-property-pagination>.page-numbers>li {
	margin: 0;
	padding: 0;
}

.aredc-pagination a.page-numbers,
.aredc-pagination span.page-numbers,
.aredc-property-pagination a.page-numbers,
.aredc-property-pagination span.page-numbers {
	align-items: center;
	background: var(--wp--preset--color--base, #fff);
	border: 1px solid var(--wp--custom--color--navy-border-subtle, rgba(2, 38, 76, 0.1));
	border-radius: 4px;
	box-sizing: border-box;
	color: rgba(2, 38, 76, 0.5);
	display: inline-flex;
	font-size: 0.875rem;
	height: 36px;
	justify-content: center;
	line-height: normal;
	min-width: 48px;
	padding: 6px 16px;
	text-decoration: none;
	width: 48px;
}

.aredc-pagination a.page-numbers:hover,
.aredc-pagination a.page-numbers:focus-visible,
.aredc-property-pagination a.page-numbers:hover,
.aredc-property-pagination a.page-numbers:focus-visible {
	border-color: var(--wp--preset--color--main, #02264c);
	color: var(--wp--preset--color--main, #02264c);
}

.aredc-pagination span.page-numbers.current,
.aredc-property-pagination span.page-numbers.current {
	background: var(--wp--preset--color--main, #02264c);
	border-color: var(--wp--preset--color--main, #02264c);
	color: var(--wp--preset--color--base, #fff);
}

.aredc-pagination .page-numbers.prev,
.aredc-pagination .page-numbers.next,
.aredc-property-pagination .page-numbers.prev,
.aredc-property-pagination .page-numbers.next {
	border-color: var(--wp--preset--color--main, #02264c);
	color: var(--wp--preset--color--main, #02264c);
	min-width: 0;
	width: auto;
}

.aredc-pagination span.page-numbers.prev,
.aredc-pagination span.page-numbers.next,
.aredc-property-pagination span.page-numbers.prev,
.aredc-property-pagination span.page-numbers.next {
	background: var(--wp--preset--color--base, #fff);
	opacity: 0.2;
}

.aredc-pagination .page-numbers.dots,
.aredc-property-pagination .page-numbers.dots {
	border-color: transparent;
	min-width: 0;
	padding-inline: 0;
	width: auto;
}

.aredc-properties-empty {
	padding: 80px 24px;
	text-align: center;
}

.aredc-properties-empty__icon {
	display: block;
	margin: 0 auto 24px;
}

.aredc-properties-empty h2 {
	margin: 0 0 8px;
}

.aredc-properties-empty p {
	margin: 0 0 24px;
}

/* Projects
---------------------------------------------------------------------------- */

.aredc-projects {
	color: var(--wp--preset--color--main);
}

.aredc-projects-shell {
	margin-inline: auto;
	max-width: none;
	width: calc(100% - 48px);
}

.aredc-project-controls {
	border-bottom: 1px solid var(--wp--custom--color--navy-border, rgba(2, 38, 76, 0.2));
	padding: 24px 0 20px;
}

.aredc-projects-heading,
.aredc-project-filters h2 {
	color: var(--wp--preset--color--main);
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1.35;
	margin: 0;
}

.aredc-project-categories {
	border-bottom: 1px solid var(--wp--custom--color--navy-border, rgba(2, 38, 76, 0.2));
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 24px;
}

.aredc-project-filters {
	margin-top: 16px;
}

.aredc-project-filters__row {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(2, minmax(160px, 1fr)) minmax(350px, 2fr);
	margin-top: 20px;
}

.aredc-project-tools {
	align-items: stretch;
	display: flex;
	gap: 16px;
	min-width: 0;
}

.aredc-project-search {
	align-items: stretch;
	display: flex;
	flex: 1 1 auto;
	gap: 8px;
	min-width: 0;
}

.aredc-project-search__input {
	align-items: center;
	background: #f9f9f9;
	border: 1px solid #e6e6e6;
	border-radius: 8px;
	display: flex;
	flex: 1 1 auto;
	gap: 12px;
	min-width: 0;
	padding: 0 16px;
}

.aredc-project-sort {
	align-items: center;
	background: #f9f9f9 url("assets/images/properties/sort.svg") center / 24px 24px no-repeat;
	border: 1px solid #e6e6e6;
	border-radius: 8px;
	display: flex;
	flex: 0 0 48px;
	height: 48px;
	justify-content: center;
	position: relative;
	width: 48px;
}

.aredc-project-sort .aredc-select,
.aredc-project-sort .aredc-select__trigger,
.aredc-project-sort .aredc-select__trigger:hover,
.aredc-project-sort .aredc-select__trigger:focus {
	background: transparent;
	border: 0;
	box-shadow: none;
	height: 48px;
	margin: 0;
	min-width: 0;
	padding: 0;
	width: 48px;
}

.aredc-project-sort select {
	appearance: none;
	border: 0;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	color: transparent;
	height: 1px;
	margin: 0;
	overflow: hidden;
	padding: 0;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.aredc-project-sort .aredc-select__trigger:focus-visible {
	outline: 2px solid var(--wp--preset--color--main);
	outline-offset: -2px;
}

.aredc-project-sort .aredc-select__value {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	color: transparent;
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.aredc-project-search__submit {
	align-items: center;
	background: var(--wp--preset--color--main, #02264c);
	border: 0;
	border-radius: 8px;
	box-shadow: none;
	cursor: pointer;
	display: flex;
	flex: 0 0 50px;
	height: 50px;
	justify-content: center;
	margin: 0;
	padding: 0;
	width: 50px;
}

.aredc-project-search__submit:hover {
	background: var(--wp--preset--color--navy-gold, #2a4a6e);
}

.aredc-project-search__submit:focus-visible {
	outline: 2px solid var(--wp--preset--color--main);
	outline-offset: 2px;
}

.aredc-project-search__clear {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	cursor: pointer;
	display: flex;
	flex-shrink: 0;
	height: 24px;
	justify-content: center;
	margin: 0;
	padding: 0;
	width: 24px;
}

.aredc-project-search__clear[hidden] {
	display: none;
}

.aredc-project-search__clear:focus-visible {
	outline: 2px solid var(--wp--preset--color--main);
	outline-offset: 2px;
}

.aredc-project-search label {
	display: flex;
	flex: 1;
	min-width: 0;
}

.aredc-project-search img,
.aredc-project-card__location img {
	border-radius: 0;
	flex-shrink: 0;
}

.aredc-project-search input:not([type="submit"]):not([type="radio"]) {
	appearance: none;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: var(--wp--preset--color--main);
	font-family: inherit;
	font-size: 1rem;
	font-weight: 400;
	height: 48px;
	min-width: 0;
	outline: 0;
	padding: 0;
	width: 100%;
}

.aredc-project-search input::-webkit-search-decoration,
.aredc-project-search input::-webkit-search-cancel-button,
.aredc-project-search input::-webkit-search-results-button,
.aredc-project-search input::-webkit-search-results-decoration {
	appearance: none;
	display: none;
}

.aredc-project-search input::placeholder {
	color: #9c9c9c;
	opacity: 1;
}

.aredc-project-search__input:focus-within,
.aredc-project-sort:focus-within,
.aredc-project-sort:has(.aredc-select.is-open) {
	border-color: var(--wp--preset--color--main);
	box-shadow: 0 0 0 1px var(--wp--preset--color--main);
}

.aredc-project-results {
	margin-block-start: 0 !important;
	padding: 22px 0 72px;
}

.aredc-project-grid {
	display: grid;
	gap: 16px;
	grid-auto-flow: dense;
	grid-auto-rows: 232px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.aredc-project-card {
	border-radius: var(--aredc-radius-surface);
	grid-row: span 2;
	min-height: 0;
	overflow: hidden;
}

.aredc-project-card:nth-child(4n + 2),
.aredc-project-card:nth-child(7n + 4) {
	grid-row: span 3;
}

.aredc-project-card a {
	color: var(--wp--preset--color--base);
	display: block;
	height: 100%;
	position: relative;
	text-decoration: none;
}

.aredc-project-card a::after {
	background: linear-gradient(180deg, rgba(2, 38, 76, 0) 45%, rgba(2, 38, 76, 0.96) 100%);
	content: "";
	inset: 0;
	position: absolute;
}

.aredc-project-card>a>img {
	height: 100%;
	object-fit: cover;
	transition: transform 700ms ease;
	width: 100%;
}

.aredc-project-card a:hover>img,
.aredc-project-card a:focus-visible>img {
	transform: scale(1.1);
}

.aredc-project-card__units {
	align-items: center;
	background: rgba(2, 38, 76, 0.2);
	border: 1px solid rgba(2, 38, 76, 0.05);
	border-radius: var(--aredc-radius-control);
	backdrop-filter: blur(50px);
	color: #fff;
	display: inline-flex;
	font-size: 0.875rem;
	font-weight: 300;
	left: 20px;
	line-height: 1.3;
	opacity: 0;
	padding: 6px 10px;
	position: absolute;
	top: 20px;
	transition: opacity 300ms ease;
	z-index: 1;
}

.aredc-project-card a:hover .aredc-project-card__units,
.aredc-project-card a:focus-visible .aredc-project-card__units {
	opacity: 1;
}

.aredc-project-card__content {
	bottom: 30px;
	display: grid;
	gap: 8px;
	left: 30px;
	position: absolute;
	right: 30px;
	transition: transform 300ms ease;
	z-index: 1;
}

.aredc-project-card a:hover .aredc-project-card__content,
.aredc-project-card a:focus-visible .aredc-project-card__content {
	transform: translateY(-8px);
}

.aredc-project-card__title {
	font-size: 1.25rem;
	line-height: 1.3;
}

.aredc-project-card__location {
	align-items: center;
	color: #e0e0e0;
	display: flex;
	font-size: 1rem;
	font-weight: 300;
	gap: 12px;
	line-height: 1.5;
}

@media (min-width: 992px) and (max-width: 1440px) {

	/* Featured / related rows: three columns, three cards — no orphaned fourth. */
	.aredc-listings:not(.aredc-archive-listings):not(.aredc-agent-listings) {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.aredc-listings:not(.aredc-archive-listings):not(.aredc-agent-listings)> :nth-child(n + 4) {
		display: none;
	}

	.aredc-project-units:not(.aredc-project-units--carousel) .aredc-project-units__viewport>ul {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 1279px) {
	.aredc-property-filters__row {
		display: grid;
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}

	.aredc-property-tools {
		grid-column: 1 / -1;
	}
}

@media (max-width: 1200px) {
	.aredc-project-filters__row {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.aredc-project-tools {
		grid-column: 1 / -1;
	}
}

@media (max-width: 900px) {

	.aredc-filters-label--desktop {
		display: none;
	}

	.aredc-filters-label--mobile {
		display: inline;
	}

	.aredc-property-filters__header > .aredc-properties-heading {
		display: none;
	}

	.aredc-property-filters__header {
		align-items: stretch;
		gap: 8px;
	}

	.aredc-property-filters__header > .aredc-more-filters {
		background: var(--wp--preset--color--base);
		border-color: var(--wp--preset--color--primary);
		flex: 1;
	}

	.aredc-property-filters__header .aredc-more-filters__trigger {
		font-weight: 400;
		gap: 8px;
		justify-content: center;
		padding-inline: 8px;
	}

	.aredc-property-filters__header .aredc-more-filters__trigger::before {
		background: url("assets/images/properties/filters/sliders.svg") center / contain no-repeat;
		content: "";
		flex-shrink: 0;
		height: 20px;
		width: 20px;
	}

	.aredc-property-filters__header .aredc-more-filters__trigger::after {
		display: none;
	}

	.aredc-property-filters__header .aredc-more-filters__trigger:hover {
		background: var(--wp--preset--color--primary-accent);
	}

	.aredc-property-filters__header .aredc-view-switcher button {
		background: var(--wp--preset--color--primary);
		border-color: var(--wp--preset--color--primary);
		color: var(--wp--preset--color--base);
		min-height: 50px;
	}

	.aredc-property-filters__header .aredc-view-switcher img {
		filter: brightness(0) invert(1);
	}

	.aredc-property-filters__row {
		margin-top: 8px;
	}

	.aredc-properties-shell,
	.aredc-projects-shell {
		width: calc(100% - 32px);
	}

	.aredc-property-controls,
	.aredc-project-controls {
		padding-top: 16px;
	}

	.aredc-property-categories,
	.aredc-project-categories {
		gap: 12px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.aredc-property-category,
	.aredc-project-category {
		height: 60px;
		padding-bottom: 8px;
	}

	.aredc-property-category .aredc-category-card__media,
	.aredc-project-category .aredc-category-card__media {
		height: calc(100% - 8px);
	}

	.aredc-archive-listings {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	/* On smaller screens, map view shows only the map. */
	.aredc-property-layout.is-map-view {
		grid-template-columns: 1fr;
	}

	.is-map-view .aredc-property-grid-view {
		display: none;
	}

	.is-map-view .aredc-archive-listings {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.is-map-view .aredc-property-map-view {
		order: -1;
	}

	.aredc-properties-map {
		height: 600px;
		min-height: 0;
	}

	.aredc-project-grid {
		grid-auto-rows: 210px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 620px) {
	.aredc-project-filters__row {
		gap: 16px;
	}

	.aredc-project-filters__row>.aredc-filter-select:last-of-type {
		grid-column: 1 / -1;
	}

	.aredc-archive-listings {
		grid-template-columns: 1fr;
	}

	.aredc-property-categories,
	.aredc-project-categories,
	.aredc-project-filters__row {
		grid-template-columns: 1fr 1fr;
	}

	.aredc-property-category .aredc-category-card__label,
	.aredc-project-category .aredc-category-card__label {
		font-size: 0.875rem;
	}

	.aredc-project-tools {
		grid-column: 1 / -1;
	}

	.aredc-filters-drawer__panel {
		width: min(420px, 100%);
	}

	.aredc-property-results {
		padding-top: 16px;
	}

	.is-map-view .aredc-archive-listings {
		grid-template-columns: 1fr;
	}

	.aredc-properties-map {
		height: 480px;
	}

	.aredc-project-grid {
		display: grid;
		grid-auto-rows: auto;
		grid-template-columns: 1fr;
	}

	.aredc-project-card,
	.aredc-project-card:nth-child(4n + 2),
	.aredc-project-card:nth-child(7n + 4) {
		aspect-ratio: 1;
		grid-row: auto;
	}

	.aredc-project-card__content {
		bottom: 20px;
		left: 20px;
		right: 20px;
	}

	.aredc-project-card__title {
		font-size: 1.25rem;
	}
}

/* Project detail
---------------------------------------------------------------------------- */

.aredc-project {
	color: var(--wp--preset--color--main, #02264c);
}

.aredc-project-shell {
	margin-inline: auto;
	max-width: none;
	width: calc(100% - 48px);
}

.aredc-project h1,
.aredc-project h2 {
	font-weight: 400;
	margin: 0;
}

.aredc-project h2 {
	font-size: 1.5rem;
	line-height: 1.25;
}

.aredc-project-hero {
	background: var(--wp--preset--color--main, #02264c);
	min-height: calc(100svh - var(--aredc-header-height) - var(--wp-admin--admin-bar--height, 0px));
	position: relative;
	touch-action: pan-y;
}

.aredc-project-hero.is-swiping {
	user-select: none;
}

.aredc-project-hero__slides,
.aredc-project-hero__shade {
	cursor: pointer;
	inset: 0;
	position: absolute;
}

.aredc-project-hero__slides {
	overflow: hidden;
}

.aredc-project-hero__track {
	display: flex;
	height: 100%;
	transition: transform 400ms ease;
	width: 100%;
}

.aredc-project-hero__track.is-dragging {
	transition: none;
}

.aredc-project-hero__slides img {
	border-radius: 0;
	flex: 0 0 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	width: 100%;
}

.aredc-project-hero__shade {
	background: linear-gradient(180deg, rgba(2, 38, 76, 0) 45%, rgba(2, 38, 76, 0.25) 58%, rgba(2, 38, 76, 0.6) 68%, rgba(2, 38, 76, 0.82) 78%, rgba(2, 38, 76, 0.93) 88%, rgba(2, 38, 76, 0.97) 100%);
}

.aredc-project-hero__panel {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 32px;
	justify-content: flex-end;
	min-height: inherit;
	padding: 16px;
	position: relative;
	z-index: 1;
}

@media (min-width: 783px) {
	.aredc-project-hero__panel {
		padding: 16px 16px 32px;
	}
}

.aredc-project-hero__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
}

.aredc-project-hero__badges li {
	background: rgba(2, 38, 76, 0.2);
	border: 1px solid rgba(2, 38, 76, 0.05);
	border-radius: var(--aredc-radius-control);
	backdrop-filter: blur(50px);
	color: #fff;
	font-size: 0.875rem;
	font-weight: 300;
	line-height: 1.3;
	padding: 6px 8px;
	text-transform: capitalize;
}

.aredc-project-hero h1 {
	color: #fff;
	font-size: 2.25rem;
	line-height: 1.15;
}

.aredc-project-hero__place,
.aredc-project-hero__price {
	align-items: center;
	display: flex;
	margin: 16px 0 0;
}

.aredc-project-hero__place {
	color: #fff;
	font-size: 1rem;
	gap: 12px;
}

.aredc-project-hero__price {
	align-items: flex-start;
	color: #fff;
	flex-direction: column;
	font-weight: 300;
	gap: 4px;
	margin-top: 24px;
}

.aredc-project-hero__price span {
	color: #e0e0e0;
	font-size: 0.875rem;
}

.aredc-project-hero__price strong {
	font-size: 1.5rem;
	font-weight: 300;
}

.aredc-project-hero__toolbar {
	align-items: flex-end;
	display: flex;
	gap: 24px;
	justify-content: space-between;
}

.aredc-project-hero__dots {
	-webkit-overflow-scrolling: touch;
	align-items: center;
	display: flex;
	flex: 1 1 auto;
	gap: var(--aredc-hero-dot-gap, 16px);
	max-width: 464px;
	min-width: 0;
	overflow-x: visible;
	padding-block: 8px 12px;
	scrollbar-width: none;
	width: 100%;
}

.aredc-project-hero__dots.is-scrollable {
	overflow-x: auto;
	padding-inline-end: 8px;
	scroll-padding-inline: 8px;
}

.aredc-project-hero__dots[data-dot-layout="fit"] button,
.aredc-project-hero__dots[data-dot-layout="scroll"] button {
	flex: 0 0 var(--aredc-hero-dot-size);
	max-width: var(--aredc-hero-dot-size);
	min-width: var(--aredc-hero-dot-size);
}

.aredc-project-hero__dots.is-scrollable::-webkit-scrollbar {
	display: none;
}

.aredc-project-hero__dots:not(.is-scrollable)::-webkit-scrollbar {
	display: none;
}

.aredc-project-hero__dots button {
	--aredc-hero-dot: rgba(255, 255, 255, 0.45);
	background: linear-gradient(to bottom,
			transparent calc(50% - 1px),
			var(--aredc-hero-dot) calc(50% - 1px),
			var(--aredc-hero-dot) calc(50% + 1px),
			transparent calc(50% + 1px));
	border: 0;
	border-radius: 0;
	flex: 1 1 0;
	height: 18px;
	min-width: 14px;
	max-width: 80px;
	padding: 0;
}

.aredc-project-hero__dots button[aria-selected="true"] {
	--aredc-hero-dot: #fff;
}

.aredc-project-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	margin-left: auto;
}

.aredc-project-hero__action {
	align-items: center;
	background: transparent;
	border: 1px solid #fff;
	border-radius: var(--aredc-radius-control);
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font-size: 1rem;
	font-weight: 300;
	gap: 12px;
	line-height: 1.25;
	padding: 12px 24px;
	text-decoration: none;
}

.aredc-project-hero__action:hover,
.aredc-project-hero__action:focus-visible {
	background: rgba(255, 255, 255, 0.12);
}

.aredc-project-layout {
	align-items: start;
	display: grid;
	gap: 60px;
	grid-template-columns: minmax(0, 1fr) 452px;
	padding: 84px 0 8px;
}

.aredc-project-layout:not(:has(.aredc-project-agent)) {
	grid-template-columns: minmax(0, 1fr);
}

.aredc-project-section {
	border-top: 1px solid #e6e6e6;
	padding: 40px 0;
}

.aredc-project-main>.aredc-project-section:first-child {
	border-top: 0;
	padding-top: 0;
}

.aredc-project-section h2 {
	margin-bottom: 24px;
}

.aredc-project-overview__body {
	color: #4e4e4e;
	font-size: 1rem;
	font-weight: 300;
	line-height: 28px;
}

.aredc-project-overview__body>*:first-child {
	margin-top: 0;
}

.aredc-project-overview__body>*:last-child {
	margin-bottom: 0;
}

.aredc-project-overview {
	--aredc-overview-clamp-lines: 5;
}

.aredc-project-overview.is-clamped .aredc-project-overview__body {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: var(--aredc-overview-clamp-lines);
	line-clamp: var(--aredc-overview-clamp-lines);
}

/* Block-level post content must flow inline so line-clamp counts whole lines, not half-cut blocks. */
.aredc-project-overview.is-clamped .aredc-project-overview__body>* {
	display: inline;
}

.aredc-project-overview.is-clamped .aredc-project-overview__body>*+*::before {
	content: " ";
}

.aredc-project-more {
	background: transparent;
	border: 1px solid #02264c;
	border-radius: var(--aredc-radius-control);
	color: #02264c;
	cursor: pointer;
	font-size: 1rem;
	font-weight: 300;
	line-height: 1.25;
	padding: 12px 24px;
}

.aredc-project-more {
	margin-top: 24px;
}

.aredc-project-more:hover,
.aredc-project-more:focus-visible {
	background: rgba(2, 38, 76, 0.04);
}

.aredc-project-amenities {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.aredc-project-amenity {
	align-items: center;
	color: #02264c;
	display: flex;
	font-size: 1rem;
	font-weight: 300;
	gap: 12px;
	line-height: 1.25;
}

.aredc-project-amenity__icon,
.aredc-ac-icon {
	align-items: center;
	display: inline-flex;
	flex: 0 0 24px;
	height: 24px;
	justify-content: center;
	position: relative;
	width: 24px;
}

/* Compensate for the generated study icon's transparent canvas padding. */
.aredc-project-amenity__icon img[src$="/study.png"] {
	transform: scale(1.8);
}

.aredc-ac-icon__axis,
.aredc-ac-icon__arm,
.aredc-ac-icon__hub {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

.aredc-project-map {
	background: #d5dee8;
	border-radius: var(--aredc-radius-surface);
	height: 208px;
	overflow: hidden;
	position: relative;
}

.aredc-project-map iframe {
	border: 0;
	border-radius: 0;
	height: 248px;
	left: 0;
	pointer-events: none;
	position: absolute;
	top: -20px;
	width: 100%;
	z-index: 0;
}

.aredc-project-map::after {
	background: linear-gradient(188.76deg, rgba(255, 255, 255, 0) -44.77%, rgba(2, 38, 76, 0.45) 24.28%, rgba(2, 38, 76, 0.9) 93.32%);
	border-radius: inherit;
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 1;
}

.aredc-project-map__bar {
	align-items: center;
	display: flex;
	gap: 24px;
	inset: 0;
	justify-content: space-between;
	padding: 24px 32px;
	position: absolute;
	z-index: 2;
}

.aredc-project-map__bar p {
	align-items: center;
	color: #fff;
	display: flex;
	font-size: 1.5rem;
	gap: 24px;
	margin: 0;
}

.aredc-project-map__bar a {
	align-items: center;
	background: #fff;
	border: 1px solid rgba(160, 121, 54, 0.3);
	border-radius: var(--aredc-radius-control);
	box-sizing: border-box;
	color: #a07936;
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 0.875rem;
	height: 44px;
	justify-content: center;
	letter-spacing: 0.05em;
	min-width: 168px;
	padding: 0 24px;
	text-decoration: none;
	transition: background-color 0.45s cubic-bezier(0.33, 1, 0.68, 1), border-color 0.45s cubic-bezier(0.33, 1, 0.68, 1), box-shadow 0.45s cubic-bezier(0.33, 1, 0.68, 1), color 0.45s cubic-bezier(0.33, 1, 0.68, 1);
}

.aredc-project-map__bar a:hover,
.aredc-project-map__bar a:focus-visible {
	background: var(--wp--preset--color--primary-alt, #fff);
	color: var(--wp--preset--color--gold, #a07936);
}

.aredc-project-seo {
	color: #4e4e4e;
	font-size: 1rem;
	font-weight: 300;
	line-height: 1.75;
	margin-top: 24px;
}

.aredc-project-section.aredc-project-seo {
	margin-top: 0;
}

.aredc-project-seo a {
	color: #02264c;
}

.aredc-project-agent {
	position: sticky;
	top: calc(var(--aredc-header-height, 76px) + 24px);
}

.aredc-project-agent h2 {
	margin-bottom: 24px;
}

.aredc-project-agent__card {
	background: #f9f9f9;
	border: 1px solid rgba(224, 224, 224, 0.8);
	border-radius: var(--aredc-radius-surface);
	display: grid;
	gap: 20px;
	padding: 20px;
}

.aredc-project-agent__profile {
	display: grid;
	gap: 20px;
	grid-template-columns: 194px minmax(0, 1fr);
}

.aredc-project-agent__profile.is-text {
	grid-template-columns: minmax(0, 1fr);
}

.aredc-project-agent__photo {
	border-radius: var(--aredc-radius-control);
	height: 162px;
	object-fit: cover;
	width: 100%;
}

.aredc-project-agent__name,
.aredc-project-agent__role,
.aredc-project-agent__languages {
	margin: 0;
}

.aredc-project-agent__name {
	font-size: 1.25rem;
	line-height: 1.2;
}

.aredc-project-agent__name a {
	color: #02264c;
	text-decoration: none;
}

.aredc-project-agent__name a:hover,
.aredc-project-agent__name a:focus-visible {
	text-decoration: underline;
}

.aredc-project-agent__role {
	color: #646464;
	font-size: 0.875rem;
	font-weight: 300;
	line-height: 22px;
	margin-top: 8px;
}

.aredc-project-agent__languages {
	display: grid;
	gap: 8px;
	margin-top: 16px;
}

.aredc-project-agent__languages span {
	color: var(--wp--preset--color--primary);
	font-size: 1rem;
	font-weight: 300;
	line-height: 22px;
}

.aredc-project-agent__languages {
	color: #646464;
	font-size: 0.875rem;
	font-weight: 300;
	line-height: 22px;
}

.aredc-project-agent__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.aredc-project-agent__call,
.aredc-project-agent__whatsapp {
	align-items: center;
	border-radius: var(--aredc-radius-control);
	display: inline-flex;
	flex: 1 1 calc(50% - 10px);
	font-size: 1rem;
	font-weight: 300;
	gap: 12px;
	height: 48px;
	justify-content: center;
	text-decoration: none;
}

.aredc-project-agent__call {
	background: #02264c;
	border: 1px solid rgba(2, 38, 76, 0.2);
	color: #fff;
}

.aredc-project-agent__whatsapp {
	background: #a07936;
	color: #fff;
}

.aredc-project-agent__call:hover,
.aredc-project-agent__whatsapp:hover,
.aredc-project-agent__call:focus-visible,
.aredc-project-agent__whatsapp:focus-visible {
	filter: brightness(1.08);
}

.aredc-project-units,
.aredc-property-related {
	padding: 16px 0 72px;
}

.aredc-project-units h2,
.aredc-property-related>h2 {
	margin-bottom: 24px;
}

.aredc-property-related>.aredc-listings {
	margin-block: 0;
}

.aredc-project-units__header {
	align-items: center;
	display: flex;
	gap: 16px;
	justify-content: space-between;
	margin-bottom: 24px;
}

.aredc-project-units__header h2 {
	margin-bottom: 0;
}

.aredc-project-units__nav {
	align-items: center;
	flex-shrink: 0;
	gap: 4px;
}

.aredc-project-units__nav:not([hidden]) {
	display: flex;
}

.aredc-project-units__nav[hidden] {
	display: none;
}

.aredc-project-units__button {
	align-items: center;
	background: transparent;
	border: 1px solid var(--wp--preset--color--main, #02264c);
	border-radius: var(--aredc-radius-control);
	color: var(--wp--preset--color--main, #02264c);
	cursor: pointer;
	display: flex;
	height: 44px;
	justify-content: center;
	padding: 0;
	width: 44px;
}

.aredc-project-units__button::before {
	background-color: currentColor;
	border: 0;
	content: "";
	height: 11px;
	mask-image: url("assets/images/properties/chevron-more.svg");
	-webkit-mask-image: url("assets/images/properties/chevron-more.svg");
	mask-position: center;
	-webkit-mask-position: center;
	mask-repeat: no-repeat;
	-webkit-mask-repeat: no-repeat;
	mask-size: 11px 6px;
	-webkit-mask-size: 11px 6px;
	width: 24px;
}

.aredc-project-units__button.is-previous::before {
	transform: rotate(90deg);
}

.aredc-project-units__button.is-next::before {
	transform: rotate(-90deg);
}

.aredc-project-units__button:hover:not(:disabled),
.aredc-project-units__button:focus-visible:not(:disabled) {
	border-color: var(--wp--preset--color--gold, #a07936);
	color: var(--wp--preset--color--gold, #a07936);
}

.aredc-project-units__button:focus-visible {
	outline: 2px solid var(--wp--preset--color--gold, #a07936);
	outline-offset: 2px;
}

.aredc-project-units__button:disabled {
	cursor: default;
	opacity: 0.35;
}

.aredc-project-units--carousel {
	--aredc-units-gap: 16px;
	--aredc-units-per-view: 4;
}

.aredc-project-units--carousel .aredc-project-units__viewport {
	container-type: inline-size;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.aredc-project-units__viewport::-webkit-scrollbar {
	display: none;
}

.aredc-project-units__viewport>ul {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.aredc-project-units--carousel .aredc-project-units__viewport>ul {
	display: flex;
	gap: var(--aredc-units-gap);
	grid-template-columns: none;
	width: max-content;
	min-width: 100%;
}

.aredc-project-units--carousel .aredc-project-units__viewport>ul>li {
	min-width: 0;
	flex: 0 0 var(--aredc-units-slide, calc((100cqw - (var(--aredc-units-gap) * (var(--aredc-units-per-view) - 1))) / var(--aredc-units-per-view)));
	scroll-snap-align: start;
}

@media (max-width: 1440px) {
	.aredc-project-units--carousel {
		--aredc-units-per-view: 3;
	}
}

@media (prefers-reduced-motion: reduce) {
	.aredc-project-units--carousel .aredc-project-units__viewport {
		scroll-behavior: auto;
	}
}

.aredc-map-lightbox:not([open]),
.aredc-project-lightbox:not([open]) {
	display: none;
}

.aredc-map-lightbox {
	background: transparent;
	border: 0;
	border-radius: 8px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 16px;
	inset: 0;
	margin: auto;
	max-height: calc(100vh - 48px);
	max-height: calc(100dvh - 48px);
	max-width: none;
	overflow: hidden;
	padding: 0;
	position: fixed;
	width: min(1200px, calc(100% - 48px));
}

.aredc-map-lightbox::backdrop {
	background: rgba(0, 0, 0, 0.4);
}

html:has(.aredc-map-lightbox[open]),
body:has(.aredc-map-lightbox[open]) {
	overflow: hidden;
}

.aredc-map-lightbox__close {
	background: #fff;
	border: 0;
	border-radius: var(--aredc-radius-surface);
	color: var(--wp--preset--color--main, #02264c);
	cursor: pointer;
	flex: 0 0 auto;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 300;
	line-height: 20px;
	padding: 12px 24px;
}

.aredc-map-lightbox__close:focus-visible {
	outline: 2px solid var(--wp--preset--color--main, #02264c);
	outline-offset: -4px;
}

.aredc-map-lightbox__map {
	background: #d5dee8;
	border: 0;
	border-radius: 8px;
	display: block;
	flex: 0 0 auto;
	height: min(686px, calc(100vh - 108px));
	height: min(686px, calc(100dvh - 108px));
	width: 100%;
}

/* Keep the 4:3 photo prominent while scaling the gallery to the viewport. */
.aredc-project-lightbox {
	--aredc-lightbox-unit: min(1px, calc(100vw / 1512), calc((100vh - 30px) / 944));
	--aredc-lightbox-unit: min(1px, calc(100vw / 1512), calc((100dvh - 30px) / 944));
	--aredc-lightbox-thumb-size: calc(80 * var(--aredc-lightbox-unit));
	background: var(--wp--preset--color--main, #02264c);
	border: 0;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100vh;
	height: 100dvh;
	inset: 0;
	margin: 0;
	max-height: none;
	max-width: none;
	overflow: hidden;
	padding: calc(64 * var(--aredc-lightbox-unit)) calc(40 * var(--aredc-lightbox-unit)) calc(40 * var(--aredc-lightbox-unit));
	position: fixed;
	width: 100%;
}

.aredc-project-lightbox::backdrop {
	background: var(--wp--preset--color--main, #02264c);
}

.aredc-project-lightbox__close {
	align-items: center;
	background: #f7f7f7;
	border: 0;
	border-radius: var(--aredc-radius-surface);
	cursor: pointer;
	display: flex;
	height: 40px;
	justify-content: center;
	padding: 0;
	position: absolute;
	right: max(24px, env(safe-area-inset-right));
	top: max(24px, env(safe-area-inset-top));
	width: 40px;
	z-index: 1;
}

.aredc-project-lightbox__close img {
	border-radius: 0;
	display: block;
	height: auto;
	width: auto;
}

.aredc-project-lightbox__stage {
	align-items: center;
	display: grid;
	flex: 0 0 auto;
	gap: calc(32 * var(--aredc-lightbox-unit));
	grid-template-columns: minmax(44px, 1fr) minmax(0, calc(960 * var(--aredc-lightbox-unit))) minmax(44px, 1fr);
	height: calc(720 * var(--aredc-lightbox-unit));
	position: relative;
	width: 100%;
}

.aredc-project-lightbox__figure {
	aspect-ratio: 4 / 3;
	border-radius: var(--aredc-radius-surface);
	height: auto;
	margin: 0;
	min-height: 0;
	overflow: hidden;
	width: 100%;
}

.aredc-project-lightbox__image {
	border-radius: 0;
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.aredc-project-lightbox__nav {
	align-items: center;
	background: transparent;
	border: 0;
	color: #fff;
	cursor: pointer;
	display: flex;
	flex-shrink: 0;
	height: 48px;
	justify-content: center;
	justify-self: center;
	padding: 0;
	width: 44px;
}

.aredc-project-lightbox__nav--prev {
	justify-self: start;
}

.aredc-project-lightbox__nav--next {
	justify-self: end;
}

.aredc-project-lightbox__nav[hidden] {
	visibility: hidden;
}

.aredc-project-lightbox__nav::before {
	content: "";
	background: url("assets/images/properties/gallery-arrow.svg") center / contain no-repeat;
	flex: 0 0 49px;
	height: 25px;
	width: 49px;
}

.aredc-project-lightbox__nav--prev::before {
	transform: rotate(90deg);
}

.aredc-project-lightbox__nav--next::before {
	transform: rotate(-90deg);
}

.aredc-project-lightbox__nav:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 4px;
}

.aredc-project-lightbox__counter {
	color: #fff;
	flex: 0 0 auto;
	font-size: 18px;
	font-weight: 300;
	line-height: 1.25;
	margin: calc(16 * var(--aredc-lightbox-unit)) 0 calc(24 * var(--aredc-lightbox-unit));
	text-align: center;
}

.aredc-project-lightbox__thumbs {
	display: flex;
	flex: 0 0 auto;
	gap: calc(16 * var(--aredc-lightbox-unit));
	max-width: 100%;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	width: calc(1432 * var(--aredc-lightbox-unit));
	-webkit-overflow-scrolling: touch;
}

.aredc-project-lightbox__thumbs::-webkit-scrollbar {
	display: none;
}

.aredc-project-lightbox__thumb {
	border: 0;
	border-radius: var(--aredc-radius-surface);
	cursor: pointer;
	flex: 0 0 var(--aredc-lightbox-thumb-size);
	height: var(--aredc-lightbox-thumb-size);
	overflow: hidden;
	padding: 0;
	position: relative;
	scroll-snap-align: start;
	width: var(--aredc-lightbox-thumb-size);
}

.aredc-project-lightbox__thumb img {
	border-radius: 0;
	display: block;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
	width: 100%;
}

.aredc-project-lightbox__thumb::after {
	background: rgba(0, 0, 0, 0.6);
	border-radius: inherit;
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
	transition: opacity 200ms ease;
}

.aredc-project-lightbox__thumb[aria-current="true"]::after {
	opacity: 0;
}

.aredc-project-lightbox__thumb:focus-visible {
	outline: 2px solid #fff;
	outline-offset: -2px;
}

@media (max-width: 1100px) {
	.aredc-project-layout {
		grid-template-columns: minmax(0, 1fr);
		padding-top: 48px;
	}

	.aredc-project-agent {
		position: static;
	}

	.aredc-project-units__viewport>ul {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.aredc-project-units--carousel {
		--aredc-units-per-view: 2;
	}
}

@media (max-width: 782px) {
	.aredc-project-hero h1 {
		font-size: 1.5rem;
	}

	.aredc-project-hero__panel {
		align-content: end;
		align-items: center;
		display: grid;
		gap: 0 16px;
		grid-template-columns: minmax(0, 1fr);
	}

	.aredc-project-hero__copy,
	.aredc-project-hero__toolbar {
		display: contents;
	}

	.aredc-project-hero__badges,
	.aredc-project-hero__copy h1,
	.aredc-project-hero__place {
		grid-column: 1 / -1;
	}

	.aredc-project-hero__badges {
		gap: 8px;
		grid-row: 1;
		margin-bottom: 12px;
	}

	.aredc-project-hero__copy h1 {
		grid-row: 2;
	}

	.aredc-project-hero__place {
		grid-row: 3;
		margin-top: 12px;
	}

	.aredc-project-hero__price {
		grid-column: 1 / -1;
		grid-row: 4;
		margin-top: 16px;
		min-width: 0;
		overflow-wrap: anywhere;
	}

	.aredc-project-hero__actions {
		display: contents;
	}

	.aredc-project-hero__action[data-project-gallery] {
		display: none;
	}

	.aredc-project-hero__dots {
		grid-column: 1 / -1;
		grid-row: 6;
		margin-top: 16px;
		width: 100%;
	}

	.aredc-project-hero__action:not([data-project-gallery]) {
		box-sizing: border-box;
		grid-column: 1 / -1;
		grid-row: 5;
		margin-top: 16px;
		width: 100%;
	}

	.aredc-project-agent__profile,
	.aredc-project-units__viewport>ul {
		grid-template-columns: 1fr;
	}

	.aredc-project-agent__photo {
		height: 260px;
	}

	.aredc-project-units--carousel {
		--aredc-units-per-view: 1;
	}

	.aredc-project-map__bar {
		align-items: flex-start;
		flex-direction: column;
		justify-content: flex-end;
		padding: 20px;
	}

	.aredc-project-map__bar p {
		font-size: 1.25rem;
	}

	.aredc-project-lightbox {
		--aredc-lightbox-thumb-size: clamp(44px, 7vh, 56px);
		--aredc-lightbox-thumb-size: clamp(44px, 7dvh, 56px);
		padding: max(72px, calc(env(safe-area-inset-top) + 56px)) max(12px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
	}

	.aredc-project-lightbox__stage {
		aspect-ratio: 4 / 3;
		grid-template-columns: minmax(0, 1fr);
		height: auto;
		width: min(100%, calc((100vh - 220px) * 4 / 3));
		width: min(100%, calc((100dvh - 220px) * 4 / 3));
	}

	.aredc-project-lightbox__nav {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		z-index: 1;
	}

	.aredc-project-lightbox__nav--prev {
		left: 0;
	}

	.aredc-project-lightbox__nav--next {
		right: 0;
	}

	.aredc-project-lightbox__nav--prev::before {
		transform: rotate(90deg) scale(0.5);
	}

	.aredc-project-lightbox__nav--next::before {
		transform: rotate(-90deg) scale(0.5);
	}

	.aredc-project-lightbox__counter {
		font-size: 1.25rem;
		margin: 16px 0 24px;
	}

	.aredc-project-lightbox__thumbs {
		gap: 12px;
		width: 100%;
	}
}

.aredc-property-specs,
.aredc-property-facts {
	display: grid;
	gap: 24px 40px;
	margin: 0;
}

.aredc-property-specs {
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	list-style: none;
	padding: 0;
}

.aredc-property-spec,
.aredc-property-facts div {
	display: grid;
	gap: 8px;
}

.aredc-property-spec__label,
.aredc-property-facts dt {
	color: #646464;
	font-size: 0.875rem;
	font-weight: 300;
	line-height: 1.3;
}

.aredc-property-spec__value,
.aredc-property-facts dd {
	font-size: 1.125rem;
	line-height: 1.3;
	margin: 0;
}

.aredc-property-facts {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 32px;
}

.aredc-property .aredc-project-agent {
	display: grid;
	gap: 20px;
}

.aredc-property .aredc-project-agent h2 {
	margin-bottom: 4px;
}

.aredc-property .aredc-project-hero__dots {
	max-width: min(464px, 100%);
}

.aredc-property-badge {
	background: rgba(2, 38, 76, 0.55);
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: var(--aredc-radius-control);
	color: #fff;
	font-size: 0.875rem;
	font-weight: 300;
	left: 16px;
	line-height: 1.3;
	padding: 6px 8px;
	position: absolute;
	text-transform: capitalize;
	top: 16px;
	z-index: 1;
}

@media (max-width: 782px) {
	.aredc-property-facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (prefers-reduced-motion: reduce) {
	.aredc-project-hero__track {
		transition: none;
	}
}

/* Agents
---------------------------------------------------------------------------- */

.aredc-agents {
	color: var(--wp--preset--color--main);
	padding: 56px 0 80px;
}

.aredc-agents-shell {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 40px;
	margin-inline: auto;
	max-width: none;
	width: calc(100% - 48px);
}

.aredc-agents-heading {
	align-items: baseline;
	display: flex;
	gap: 24px;
	justify-content: space-between;
	width: 100%;
}

.aredc-agents-heading h1 {
	font-size: 1.875rem;
	font-weight: 400;
	letter-spacing: 0.5px;
	line-height: 40px;
	margin: 0;
}

.aredc-agents-count {
	color: var(--wp--preset--color--secondary);
	font-size: 1rem;
	margin: 0;
	white-space: nowrap;
}

.aredc-agent-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
}

.aredc-agent-grid>li {
	display: flex;
}

.aredc-agent-grid>li.is-entering {
	animation: aredc-fade-in-up 0.45s var(--aredc-content-fade-ease) both;
	animation-delay: var(--aredc-enter-delay, 0ms);
}

.aredc-agent-card,
.aredc-agent-card__link {
	display: flex;
	flex-direction: column;
	min-height: 0;
	width: 100%;
}

.aredc-agent-card {
	border: 1px solid var(--wp--custom--color--navy-border, rgba(2, 38, 76, 0.2));
	border-radius: var(--aredc-radius-surface);
	overflow: hidden;
}

.aredc-agent-card__link {
	color: inherit;
	flex: 1;
	text-decoration: none;
}

.aredc-agent-card__link:focus-visible {
	outline: none;
}

.aredc-agent-card:has(.aredc-agent-card__link:focus-visible) {
	outline: 2px solid var(--wp--preset--color--gold);
	outline-offset: 3px;
}

.aredc-agent-card__media {
	aspect-ratio: 1;
	background: var(--wp--preset--color--main);
	overflow: hidden;
	position: relative;
}

.aredc-agent-card__media img {
	border-radius: 0;
	height: 100%;
	object-fit: cover;
	transition: transform 300ms ease;
	width: 100%;
}

.aredc-agent-card__link:hover .aredc-agent-card__media:not(.is-empty) img,
.aredc-agent-card__link:focus-visible .aredc-agent-card__media:not(.is-empty) img {
	transform: scale(1.025);
}

.aredc-agent-card__media.is-empty {
	align-items: center;
	display: flex;
	justify-content: center;
}

.aredc-agent-card__media.is-empty img {
	height: auto;
	object-fit: contain;
	width: 62%;
}

.aredc-agent-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 16px;
	padding: 20px;
}

.aredc-agent-card__meta {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-height: 46px;
}

.aredc-agent-card__meta h2 {
	font-size: 1.25rem;
	font-weight: 400;
	line-height: 1.2;
	margin: 0;
}

.aredc-agent-card__meta p {
	color: var(--wp--preset--color--secondary);
	font-size: 0.875rem;
	font-weight: 300;
	line-height: 22px;
	margin: 0;
}

.aredc-agent-card__cta {
	--aredc-trace-inset: -1px;
	align-items: center;
	background: transparent;
	border: 1px solid var(--wp--custom--color--gold-border, rgba(160, 121, 54, 0.3));
	border-radius: var(--aredc-radius-control);
	color: var(--wp--preset--color--gold);
	display: flex;
	font-size: 1rem;
	font-weight: 300;
	justify-content: center;
	letter-spacing: 0.05em;
	line-height: 1.2;
	margin-top: auto;
	padding: 12px 24px;
	text-align: center;
	transition: background-color 0.45s cubic-bezier(0.33, 1, 0.68, 1), border-color 0.45s cubic-bezier(0.33, 1, 0.68, 1), box-shadow 0.45s cubic-bezier(0.33, 1, 0.68, 1), color 0.45s cubic-bezier(0.33, 1, 0.68, 1);
}

.aredc-agent-card__link:hover .aredc-agent-card__cta,
.aredc-agent-card__link:focus-visible .aredc-agent-card__cta {
	background: var(--wp--preset--color--primary-alt);
	box-shadow: 0 8px 26px -14px var(--wp--custom--color--gold-glow, rgba(191, 149, 82, 0.5));
}

.aredc-agent-card__link:hover .aredc-agent-card__cta::before,
.aredc-agent-card__link:hover .aredc-agent-card__cta::after,
.aredc-agent-card__link:focus-visible .aredc-agent-card__cta::before,
.aredc-agent-card__link:focus-visible .aredc-agent-card__cta::after {
	--aredc-trace-run: 100%;
	--aredc-trace-rise: 100%;
}

.aredc-agent-card__link:hover .aredc-agent-card__cta::before,
.aredc-agent-card__link:focus-visible .aredc-agent-card__cta::before {
	transition: --aredc-trace-run 0.26s cubic-bezier(0.45, 0, 1, 1), --aredc-trace-rise 0.12s 0.26s linear;
}

.aredc-agent-card__link:hover .aredc-agent-card__cta::after,
.aredc-agent-card__link:focus-visible .aredc-agent-card__cta::after {
	transition: --aredc-trace-run 0.26s 0.38s linear, --aredc-trace-rise 0.12s 0.64s cubic-bezier(0, 0, 0.55, 1);
}

.aredc-agents-more {
	justify-content: center;
}

.aredc-agents-more .wp-block-button__link {
	color: var(--wp--preset--color--gold);
	font-size: 0.875rem;
	font-weight: 400;
	height: 44px;
	letter-spacing: 0.05em;
	min-width: 168px;
	padding: 16px 24px;
}

.wp-block-button.is-style-outline.aredc-agents-more:has([hidden]) {
	display: none;
}

@media (max-width: 1100px) {
	.aredc-agent-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.aredc-agents {
		padding-top: 32px;
	}

	.aredc-agents-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
	}

	.aredc-agents-heading h1 {
		font-size: 1.5rem;
		line-height: 1.3;
	}

	.aredc-agent-grid {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.aredc-agent-card__media img {
		transition: none;
	}
}

/* Agent listings
---------------------------------------------------------------------------- */

.aredc-agent-detail {
	color: var(--wp--preset--color--main);
	padding: 56px 0;
}

.aredc-agent-detail__shell {
	margin-inline: auto;
	max-width: none;
	width: calc(100% - 48px);
}

.aredc-agent-detail__back {
	align-items: center;
	color: var(--wp--preset--color--gold);
	display: inline-flex;
	font-size: 1rem;
	font-weight: 400;
	gap: 8px;
	line-height: 1.5;
	margin: 0 0 16px;
	text-decoration: none;
}

.aredc-agent-detail__back:hover,
.aredc-agent-detail__back:focus-visible {
	color: var(--wp--custom--color--gold-sheen, #bf9552);
}

.aredc-agent-detail__back:focus-visible {
	outline: 2px solid var(--wp--preset--color--gold);
	outline-offset: 2px;
}

.aredc-agent-detail__back-icon {
	background: currentColor;
	flex-shrink: 0;
	height: 14px;
	mask: 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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12H4M10 6l-6 6 6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	width: 18px;
}

[dir="rtl"] .aredc-agent-detail__back-icon {
	scale: -1 1;
}

.aredc-agent-detail__title {
	font-size: 1.875rem;
	font-weight: 400;
	letter-spacing: 0.5px;
	line-height: 40px;
	margin: 0 0 40px;
}

.aredc-agent-detail__layout {
	align-items: start;
	display: grid;
	gap: 44px;
	grid-template-columns: 338px minmax(0, 1fr);
}

.aredc-agent-profile {
	border-radius: var(--aredc-radius-surface);
	overflow: hidden;
	position: sticky;
	top: 24px;
}

.aredc-agent-profile__media {
	aspect-ratio: 338 / 326;
	background: var(--wp--preset--color--main);
	overflow: hidden;
}

.aredc-agent-profile__media img {
	border-radius: 0;
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.aredc-agent-profile__media.is-empty {
	align-items: center;
	display: flex;
	justify-content: center;
}

.aredc-agent-profile__media.is-empty img {
	height: auto;
	object-fit: contain;
	width: 42%;
}

.aredc-agent-profile__body {
	border: 1px solid var(--wp--custom--color--navy-border, rgba(2, 38, 76, 0.2));
	border-top: 0;
	display: flex;
	flex-direction: column;
	padding: 20px 19px 20px;
}

.aredc-agent-profile__identity {
	border-bottom: 1px solid var(--wp--custom--color--navy-border, rgba(2, 38, 76, 0.2));
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-bottom: 16px;
}

.aredc-agent-profile__identity h2 {
	font-size: 1.25rem;
	font-weight: 400;
	line-height: 1.2;
	margin: 0;
}

.aredc-agent-profile__identity p {
	color: var(--wp--preset--color--secondary);
	font-size: 0.875rem;
	font-weight: 300;
	line-height: 22px;
	margin: 0;
}

.aredc-agent-profile__stats {
	border-bottom: 1px solid var(--wp--custom--color--navy-border, rgba(2, 38, 76, 0.2));
	display: grid;
	gap: 12px;
	grid-template-columns: 1fr 1fr;
	list-style: none;
	margin: 0;
	padding: 16px 0;
}

.aredc-agent-profile__stats li {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.aredc-agent-profile__stats span {
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.3;
}

.aredc-agent-profile__facts {
	border-bottom: 1px solid var(--wp--custom--color--navy-border, rgba(2, 38, 76, 0.2));
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
	padding: 16px 0;
}

.aredc-agent-profile__facts div {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.aredc-agent-profile__facts dt {
	color: var(--wp--preset--color--secondary);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.3;
}

.aredc-agent-profile__facts dd {
	color: var(--wp--preset--color--gold);
	font-size: 0.875rem;
	font-weight: 300;
	line-height: 22px;
	margin: 0;
}

.aredc-agent-profile__actions {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding-top: 16px;
}

.aredc-agent-profile__action {
	align-items: center;
	border: 1px solid var(--wp--custom--color--navy-border, rgba(2, 38, 76, 0.2));
	border-radius: var(--aredc-radius-control);
	display: flex;
	font-size: 1rem;
	font-weight: 300;
	gap: 12px;
	height: 48px;
	line-height: 1.2;
	padding: 12px 24px;
	text-decoration: none;
}

.aredc-agent-profile__icon {
	align-items: center;
	display: inline-flex;
	flex-shrink: 0;
	height: 24px;
	justify-content: center;
	width: 24px;
}

.aredc-agent-profile__action--call {
	background: var(--wp--preset--color--main);
	color: #fff;
}

.aredc-agent-profile__action--call:hover,
.aredc-agent-profile__action--call:focus-visible {
	background: #011a36;
	color: #fff;
}

.aredc-agent-profile__action--message {
	background: var(--wp--preset--color--gold);
	color: #fff;
}

.aredc-agent-profile__action--message:hover,
.aredc-agent-profile__action--message:focus-visible {
	background: #8a682e;
	color: #fff;
}

.aredc-agent-profile__action--email {
	background: #fff;
	color: var(--wp--preset--color--main);
}

.aredc-agent-profile__action--email:hover,
.aredc-agent-profile__action--email:focus-visible {
	background: var(--wp--preset--color--primary-alt, #f4efe7);
	color: var(--wp--preset--color--main);
}

.aredc-agent-profile__action:focus-visible {
	outline: 2px solid var(--wp--preset--color--gold);
	outline-offset: 2px;
}

.aredc-agent-listings {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-block: 0;
	min-width: 0;
	width: 100%;
}

@media (min-width: 1440px) {
	.aredc-agent-listings {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.aredc-agent-detail .aredc-properties-empty {
	padding: 48px 0;
}

@media (max-width: 1100px) {
	.aredc-agent-detail__layout {
		grid-template-columns: 1fr;
	}

	.aredc-agent-profile {
		max-width: 420px;
		position: static;
	}
}

@media (max-width: 700px) {
	.aredc-agent-detail {
		padding-top: 32px;
	}

	.aredc-agent-detail__back {
		margin-bottom: 16px;
	}

	.aredc-agent-detail__title {
		font-size: 1.5rem;
		line-height: 1.3;
		margin-bottom: 24px;
	}

	.aredc-agent-profile {
		max-width: none;
	}

	.aredc-agent-listings {
		grid-template-columns: 1fr;
	}
}

.aredc-footer-separator {
	height: 0 !important;
	border: none;
	border-color: rgba(255, 255, 255, 0.2) !important;
	width: calc(100% - 48px);
	margin: 24px auto 0;
}

/* Sales service page — AL Asmakh sale-services frame
   The property management page shares the hero, stats row, and CTA band
   (page-property-management adds .aredc-sales-page alongside its own class).
---------------------------------------------------------------------------- */

/* Section headings follow the same Figma scale as the front page. */
.aredc-sales-page h2.wp-block-heading {
	font-size: clamp(1.75rem, 2.3vw, 1.875rem);
	letter-spacing: 0.5px;
	line-height: 1.33;
}

/* Hero: the photo shows through a navy wash that fades out towards the bottom. */
.wp-block-cover.aredc-sales-hero>.wp-block-cover__background.has-background-dim.has-primary-background-color {
	/* Preset color classes use !important; clear it so the gradient shows the photo. */
	background-color: transparent !important;
	background-image: linear-gradient(180deg, rgba(2, 38, 76, 0.65) 0%, rgba(2, 38, 76, 0.4) 70%, rgba(2, 38, 76, 0) 100%);
	opacity: 1;
}

.aredc-sales-hero h1,
.aredc-sales-page .aredc-sales-cta h2.wp-block-heading {
	font-size: clamp(2rem, 3.4vw, 3rem);
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.2;
	max-width: none !important;
}

.aredc-sales-hero h1+p,
.aredc-sales-cta h2+p {
	line-height: 1.625;
	margin-inline: auto;
}

.aredc-sales-hero h1+p {
	max-width: 613px;
}

.aredc-sales-cta h2+p {
	max-width: 574px;
}

/* The white buttons carry a gold hairline on this page, per Figma. */
.aredc-sales-hero .aredc-button-light .wp-block-button__link,
.aredc-sales-cta .aredc-button-light .wp-block-button__link {
	border: 1px solid var(--wp--preset--color--gold);
	font-size: 0.875rem;
	letter-spacing: 0.05em;
}

/* Stats row under the hero, closed off by a full-width hairline. */
.aredc-sales-stats {
	border-bottom: 1px solid rgba(2, 38, 76, 0.2);
}

.aredc-stats {
	display: grid;
	gap: 24px 0;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	list-style: none;
	margin: 0 auto;
	padding: 0;
}

.aredc-stat {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	min-width: 0;
}

.aredc-stat+.aredc-stat {
	border-left: 1px solid rgba(2, 38, 76, 0.2);
	padding-left: 25px;
	padding-right: 25px;
}

.aredc-stat__value {
	color: var(--wp--preset--color--gold);
	font-size: 1.5rem;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 32px;
}

.aredc-stat__label {
	color: var(--wp--preset--color--primary);
	font-size: 0.875rem;
	font-weight: 300;
	letter-spacing: 0;
	line-height: 1.2;
	text-transform: uppercase;
}

/* Support points reuse the homepage service card without its button. */
.aredc-sales-support h2+p {
	line-height: 1.5625;
}

.aredc-sales-support .aredc-service h3 {
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.25;
	margin: 0;
}

.aredc-sales-support .aredc-service p {
	line-height: 1.57;
}

/* CTA: diagonal navy tint, deepest in the top-left corner. */
.wp-block-cover.aredc-sales-cta>.wp-block-cover__background.has-background-dim.has-primary-background-color {
	background-color: transparent !important;
	background-image: linear-gradient(162.57deg, rgba(2, 38, 76, 0.92) 0%, rgba(2, 38, 76, 0.75) 50%, rgba(2, 38, 76, 0.55) 100%);
	opacity: 1;
}

@media (max-width: 991px) {
	.aredc-sales-hero {
		min-height: 560px !important;
	}

	.aredc-stats {
		gap: 24px 32px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.aredc-stat+.aredc-stat {
		border-left: 0;
		padding-left: 0;
	}
}

@media (max-width: 781px) {
	.aredc-sales-hero {
		min-height: 480px !important;
	}

	.aredc-sales-cta {
		min-height: 360px !important;
	}

	.aredc-sales-support .wp-block-columns.alignwide {
		gap: 32px;
	}
}

/* Property management page — AL Asmakh Property-managment frame
---------------------------------------------------------------------------- */

/* The headline wraps onto two lines inside its 765px column, per Figma. */
.aredc-management-hero h1 {
	max-width: 765px !important;
	margin-inline: auto;
}

.aredc-management-covers h2+p,
.aredc-management-plans h2+p {
	line-height: 1.5625;
}

.aredc-management-plans__intro {
	margin-inline: auto;
	max-width: 499px;
}

/* What management covers: numbered vertical tabs beside a photo and bullet panel. */
.aredc-covers {
	align-items: start;
	display: grid;
	gap: 40px clamp(32px, 6.9vw, 99px);
	grid-template-columns: minmax(0, 560fr) minmax(0, 695fr);
}

.aredc-covers__tabs {
	display: flex;
	flex-direction: column;
}

.aredc-covers__tab {
	align-items: center;
	background: none;
	border: 0;
	border-bottom: 1px solid rgba(2, 38, 76, 0.2);
	border-radius: 0;
	color: var(--wp--preset--color--primary);
	cursor: pointer;
	display: grid;
	font-family: inherit;
	gap: 24px;
	grid-template-columns: 28px minmax(0, 1fr) auto;
	min-height: 76px;
	padding: 24px 36px 24px 32px;
	text-align: start;
	transition: background-color 0.3s cubic-bezier(0.33, 1, 0.68, 1), color 0.3s cubic-bezier(0.33, 1, 0.68, 1);
	width: 100%;
}

.aredc-covers__tab:hover,
.aredc-covers__tab:focus-visible {
	color: var(--wp--preset--color--gold);
	outline: none;
}

.aredc-covers__tab:focus-visible {
	box-shadow: inset 0 0 0 2px var(--wp--preset--color--gold);
}

.aredc-covers__tab[aria-selected="true"] {
	background-color: var(--wp--preset--color--gold);
	border-color: var(--wp--preset--color--gold);
	border-radius: var(--aredc-radius-surface);
	color: var(--wp--preset--color--base);
}

.aredc-covers__tab[aria-selected="true"]:focus-visible {
	box-shadow: inset 0 0 0 2px var(--wp--preset--color--base);
}

.aredc-covers__index {
	font-size: 0.875rem;
	letter-spacing: 2px;
	line-height: 18px;
}

.aredc-covers__label {
	font-size: 1.125rem;
	font-weight: 300;
	letter-spacing: 0.1px;
	line-height: 27px;
}

.aredc-covers__tab[aria-selected="true"] .aredc-covers__label {
	font-weight: 400;
}

.aredc-covers__caret {
	align-items: center;
	display: inline-flex;
	justify-content: flex-end;
	min-width: 18px;
}

.aredc-covers__caret img {
	border-radius: 0;
	display: block;
}

/* The idle chevron is drawn pointing down and turned to point along the row. */
.aredc-covers__caret-idle {
	transform: rotate(-90deg);
}

[dir="rtl"] .aredc-covers__caret-idle {
	transform: rotate(90deg);
}

[dir="rtl"] .aredc-covers__caret-active {
	transform: scaleX(-1);
}

.aredc-covers__tab[aria-selected="true"] .aredc-covers__caret-idle,
.aredc-covers__tab:not([aria-selected="true"]) .aredc-covers__caret-active {
	display: none;
}

.aredc-covers__panel[hidden] {
	display: none;
}

.aredc-covers__panel:focus-visible {
	outline: 2px solid var(--wp--preset--color--gold);
	outline-offset: 4px;
}

.aredc-covers__image {
	aspect-ratio: 695 / 391;
	border-radius: var(--aredc-radius-surface);
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.aredc-covers__title {
	font-size: 1.5rem;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 34px;
	margin: 24px 0 0;
}

.aredc-covers__points {
	display: flex;
	flex-direction: column;
	gap: 16px;
	list-style: none;
	margin: 24px 0 0;
	padding: 0;
}

.aredc-covers__points li {
	color: var(--wp--preset--color--secondary);
	display: flex;
	font-weight: 300;
	gap: 16px;
	line-height: 22px;
	margin: 0;
}

.aredc-covers__points li::before {
	background-color: var(--wp--preset--color--gold);
	border-radius: 50%;
	content: "";
	flex: 0 0 auto;
	height: 5px;
	margin-top: 8px;
	width: 5px;
}

/* Hand-written buttons wrapper: flex so the link's 100% width is its own box, as core lays it out. */
.aredc-covers__panel .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	margin-top: 24px;
}

/* Management plans: three tiers, the middle one washed gold. */
.aredc-plans {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	list-style: none;
	margin-left: auto;
	margin-right: auto;
	padding: 0;
}

.aredc-plan {
	background-color: var(--wp--preset--color--base);
	border: 1px solid rgba(2, 38, 76, 0.1);
	border-radius: var(--aredc-radius-surface);
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 23px 23px 32px;
}

.aredc-plan--gold {
	background-color: rgba(160, 121, 54, 0.1);
}

.aredc-plan--tint {
	background-color: var(--wp--preset--color--tertiary);
}

.aredc-plan__name {
	font-size: 1.5rem;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 40px;
	margin: 0;
	text-transform: capitalize;
}

.aredc-plan__price {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 16px 0 0;
}

.aredc-plan__amount {
	color: var(--wp--preset--color--gold);
	font-size: 2.75rem;
	font-weight: 400;
	letter-spacing: 0.5px;
	line-height: 40px;
}

.aredc-plan__period {
	color: var(--wp--preset--color--secondary);
	line-height: 25px;
}

.aredc-plan__features-title {
	border-top: 1px solid rgba(2, 38, 76, 0.2);
	font-size: 1.125rem;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 26px;
	margin: 16px 0 0;
	padding-top: 17px;
	text-transform: capitalize;
}

.aredc-plan__features {
	display: flex;
	flex-direction: column;
	gap: 16px;
	list-style: none;
	margin: 24px 0 0;
	padding: 0;
}

.aredc-plan__features li {
	align-items: center;
	color: var(--wp--preset--color--secondary);
	display: flex;
	font-weight: 300;
	gap: 16px;
	line-height: 22px;
	margin: 0;
}

.aredc-plan__features img {
	border-radius: 0;
	flex: 0 0 auto;
}

@media (max-width: 991px) {
	.aredc-covers {
		grid-template-columns: minmax(0, 1fr);
	}

	.aredc-plans {
		grid-template-columns: minmax(0, 1fr);
		max-width: 560px;
	}
}

@media (max-width: 781px) {
	.aredc-covers__tab {
		gap: 16px;
		padding: 20px 24px;
	}
}

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

/* Facilities management page — AL Asmakh facilties-managment frame
   Reuses the property management hero, stats row, covers tabs, and CTA band.
---------------------------------------------------------------------------- */

/* Mobile management services: native horizontal swiping with a numbered service selector. */
@media (max-width: 991px) {
	.aredc-management-covers .aredc-covers.is-carousel {
		gap: 24px;
		min-width: 0;
	}

	.aredc-management-covers .is-carousel .aredc-covers__tabs {
		flex-direction: row;
		gap: 8px;
		min-width: 0;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scrollbar-width: none;
	}

	.aredc-management-covers .is-carousel .aredc-covers__tab {
		flex: 0 0 auto;
		gap: 12px;
		grid-template-columns: auto auto;
		min-height: 56px;
		padding: 14px 20px;
		width: auto;
	}

	.aredc-management-covers .is-carousel .aredc-covers__label {
		font-size: 1rem;
		white-space: nowrap;
	}

	.aredc-management-covers .is-carousel .aredc-covers__caret {
		display: none;
	}

	.aredc-management-covers .is-carousel .aredc-covers__panels {
		cursor: grab;
		display: flex;
		min-width: 0;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.aredc-management-covers .is-carousel .aredc-covers__tabs::-webkit-scrollbar,
	.aredc-management-covers .is-carousel .aredc-covers__panels::-webkit-scrollbar {
		display: none;
	}

	.aredc-management-covers .is-carousel .aredc-covers__panel {
		box-sizing: border-box;
		flex: 0 0 100%;
		min-width: 0;
		scroll-snap-align: start;
		scroll-snap-stop: always;
	}

	.aredc-management-covers .is-carousel .aredc-covers__panel:focus-visible {
		outline-offset: -2px;
	}

	.aredc-management-covers .is-carousel .aredc-covers__panels.is-dragging {
		cursor: grabbing;
		scroll-snap-type: none;
		user-select: none;
	}

	.aredc-covers__controls {
		align-items: center;
		display: flex;
		gap: 24px;
		justify-content: center;
	}

	.aredc-covers__arrow {
		align-items: center;
		background: transparent;
		border: 1px solid var(--wp--preset--color--gold);
		border-radius: 50%;
		color: var(--wp--preset--color--primary);
		cursor: pointer;
		display: inline-flex;
		font: inherit;
		font-size: 24px;
		height: 48px;
		justify-content: center;
		padding: 0;
		width: 48px;
	}

	.aredc-covers__arrow:hover:not([aria-disabled="true"]),
	.aredc-covers__arrow:focus-visible {
		background: var(--wp--preset--color--gold);
		color: var(--wp--preset--color--base);
	}

	.aredc-covers__arrow:focus-visible {
		outline: 2px solid var(--wp--preset--color--primary);
		outline-offset: 3px;
	}

	.aredc-covers__arrow[aria-disabled="true"] {
		cursor: default;
		opacity: 0.35;
	}

	.aredc-covers__arrow:dir(rtl) span {
		transform: scaleX(-1);
	}

	.aredc-covers__counter {
		color: var(--wp--preset--color--primary);
		font-size: 0.875rem;
		font-variant-numeric: tabular-nums;
		letter-spacing: 2px;
	}
}

/* The headline breaks after "well," in Figma; let it reflow on small screens. */
@media (max-width: 599px) {
	.aredc-facilities-hero h1 br {
		display: none;
	}

	.aredc-property-filters__row {
		gap: 8px;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	/* .aredc-filter-select select,
	.aredc-filter-select .aredc-select__trigger,
	.aredc-filter-select--price .aredc-price-filter__trigger,
	.aredc-more-filters__trigger {
		font-size: 0.8125rem;
		padding: 0 22px 0 8px;
	} */

	.aredc-filter-select::after {
		right: 8px;
	}

	.aredc-more-filters__trigger {
		padding-inline: 8px 10px;
		white-space: nowrap;
	}
}

/* Marketing page — AL Asmakh marketing-managment frame
   Shares the hero, stats row, and CTA band with the sales page.
---------------------------------------------------------------------------- */

.aredc-marketing-hero h1+p {
	max-width: 665px;
}

.aredc-marketing-process h2+p,
.aredc-marketing-awards h2+p {
	line-height: 1.5625;
}

/* Process: four numbered white cards on the grey band. */
.aredc-process {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	list-style: none;
	margin-bottom: 0;
	margin-inline: auto;
	padding: 0;
}

.aredc-process__step {
	background-color: var(--wp--preset--color--base);
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: var(--aredc-radius-surface);
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 23px 23px 32px;
}

.aredc-process__index {
	color: var(--wp--preset--color--gold);
	display: block;
	font-size: 1.875rem;
	font-weight: 300;
	letter-spacing: -1px;
	line-height: 56px;
}

/* Short gold rule between the step number and its title. */
.aredc-process__index::after {
	background-color: var(--wp--preset--color--gold);
	content: "";
	display: block;
	height: 1px;
	margin-top: 25px;
	width: 24px;
}

.aredc-process__title {
	font-size: 1.125rem;
	font-weight: 400;
	letter-spacing: 0.2px;
	line-height: 27px;
	margin: 24px 0 0;
}

.aredc-process__text {
	color: var(--wp--preset--color--secondary);
	font-size: 0.875rem;
	font-weight: 300;
	line-height: 1.8;
	margin: 16px 0 0;
	max-width: 260px;
}

/* Awards: three centred cards with the laurel icon. */
.aredc-awards {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	list-style: none;
	margin-bottom: 0;
	margin-inline: auto;
	padding: 0;
}

.aredc-award {
	align-items: center;
	background-color: var(--wp--preset--color--base);
	border: 1px solid rgba(2, 38, 76, 0.2);
	border-radius: var(--aredc-radius-surface);
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 32px 24px;
	text-align: center;
}

.aredc-award__icon {
	border-radius: 0;
	display: block;
	flex: 0 0 auto;
	height: 48px;
	width: 36px;
}

.aredc-award__title {
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.25;
	margin: 24px 0 0;
	max-width: 264px;
}

.aredc-award__text {
	color: var(--wp--preset--color--secondary);
	font-size: 0.875rem;
	font-weight: 300;
	line-height: 22px;
	margin: 8px 0 0;
	max-width: 292px;
}

@media (max-width: 991px) {
	.aredc-process {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.aredc-awards {
		grid-template-columns: minmax(0, 1fr);
		max-width: 560px;
	}
}

@media (max-width: 600px) {
	.aredc-process {
		grid-template-columns: minmax(0, 1fr);
		max-width: 560px;
	}
}

/* Contact page — AL Asmakh Contact-us frame
   Shares the hero with the sales page; the form card and office accordion
   come from the front page.
---------------------------------------------------------------------------- */

.aredc-contact-hero h1+p {
	max-width: 634px;
}

/* Info cards: reach, visit, and hours under the hero (Contact-us frame). */
.aredc-contact-info {
	display: grid;
	gap: 24px;
	grid-template-columns: minmax(0, 25%) minmax(0, 25%) minmax(0, 1fr);
	margin: 0 auto;
	max-width: 1352px;
	width: 100%;
}

.aredc-contact-info__card {
	border: 1px solid rgba(2, 38, 76, 0.1);
	border-radius: 8px;
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin: 0;
	min-width: 0;
	padding: 24px;
}

.aredc-contact-info__card--reach {
	background-color: var(--wp--preset--color--base);
}

.aredc-contact-info__card--visit {
	background-color: #f9f9f9;
}

.aredc-contact-info__card--hours {
	background-color: rgba(160, 121, 54, 0.1);
}

.aredc-contact-info__title {
	color: var(--wp--preset--color--main);
	font-size: 1.125rem;
	font-weight: 400;
	line-height: normal;
	margin: 0;
}

.aredc-contact-info__lines {
	display: flex;
	flex-direction: column;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.aredc-contact-info__lines li {
	align-items: center;
	display: flex;
	gap: 16px;
	margin: 0;
}

.aredc-contact-info__lines a {
	color: rgba(78, 78, 78, 0.8);
	font-size: 0.875rem;
	font-weight: 300;
	line-height: 20px;
	text-decoration: none;
}

.aredc-contact-info__lines a:hover,
.aredc-contact-info__lines a:focus-visible {
	color: var(--wp--preset--color--gold);
}

.aredc-contact-info__lines--address {
	align-items: flex-start;
	flex-direction: row;
	gap: 16px;
}

.aredc-contact-info__lines--address p {
	color: rgba(78, 78, 78, 0.8);
	font-size: 0.875rem;
	font-weight: 300;
	line-height: 22px;
	margin: 0;
}

.aredc-contact-info__icon {
	align-items: center;
	display: flex;
	flex-shrink: 0;
	height: 24px;
	justify-content: center;
	width: 24px;
}

.aredc-contact-info__icon img {
	display: block;
}

.aredc-contact-info__hours {
	align-items: start;
	display: grid;
	grid-template-columns: 24px repeat(2, minmax(0, 1fr));
	gap: 8px 32px;
}

@media (min-width: 1441px) {
	.aredc-contact-info__hours {
		gap: 8px 56px;
	}
}

.aredc-contact-info__icon--hours {
	grid-row: 1 / span 2;
	margin-top: 6px;
}

.aredc-contact-info__hours-col {
	color: rgba(78, 78, 78, 0.8);
	display: flex;
	flex-direction: column;
	font-size: 0.875rem;
	font-weight: 300;
	gap: 8px;
	letter-spacing: -0.02em;
	line-height: 24px;
	margin: 0;
}

.aredc-contact-info__hours-row {
	display: flex;
	gap: 16px;
	justify-content: space-between;
}

.aredc-contact-info__hours-col dt,
.aredc-contact-info__hours-col dd {
	margin: 0;
}

.aredc-contact-info__hours-col dd {
	text-align: end;
	white-space: nowrap;
}

/* Enquiry: intro copy centred above a single white card. */
.aredc-contact-enquiry h2+p {
	line-height: 1.5;
}

.aredc-contact-enquiry__card {
	background-color: var(--wp--preset--color--base);
	margin-inline: auto;
	max-width: 906px;
	padding: clamp(24px, 3vw, 44px);
	width: 100%;
}

.aredc-contact-enquiry .aredc-contact-form {
	gap: 24px;
}

.aredc-contact-enquiry .aredc-field {
	gap: 16px;
}

.aredc-contact-enquiry .aredc-field>label {
	font-size: 1rem;
}

.aredc-contact-enquiry .aredc-field input,
.aredc-contact-enquiry .aredc-field select,
.aredc-contact-enquiry .aredc-field .aredc-select__trigger,
.aredc-contact-enquiry .aredc-field .aredc-select__trigger:hover,
.aredc-contact-enquiry .aredc-field .aredc-select__trigger:focus,
.aredc-contact-enquiry .aredc-phone {
	border-color: rgba(2, 38, 76, 0.2);
	font-size: 1rem;
	min-height: 60px;
}

.aredc-contact-enquiry .aredc-field input,
.aredc-contact-enquiry .aredc-field select,
.aredc-contact-enquiry .aredc-field .aredc-select__trigger,
.aredc-contact-enquiry .aredc-field .aredc-select__trigger:hover,
.aredc-contact-enquiry .aredc-field .aredc-select__trigger:focus {
	padding-inline-start: 20px;
}

.aredc-contact-enquiry .aredc-field .aredc-phone input,
.aredc-contact-enquiry .aredc-field .aredc-phone select,
.aredc-contact-enquiry .aredc-field .aredc-phone .aredc-select__trigger,
.aredc-contact-enquiry .aredc-field .aredc-phone .aredc-select__trigger:hover,
.aredc-contact-enquiry .aredc-field .aredc-phone .aredc-select__trigger:focus {
	min-height: 58px;
}

.aredc-contact-enquiry .aredc-field .aredc-phone select,
.aredc-contact-enquiry .aredc-field .aredc-phone .aredc-select__trigger,
.aredc-contact-enquiry .aredc-field .aredc-phone .aredc-select__trigger:hover,
.aredc-contact-enquiry .aredc-field .aredc-phone .aredc-select__trigger:focus {
	border-inline-end-color: rgba(2, 38, 76, 0.2);
	padding-inline-start: 20px;
}

.aredc-contact-enquiry .aredc-field textarea {
	border-color: rgba(2, 38, 76, 0.2);
	font-size: 1rem;
	min-height: 155px;
	padding: 20px;
}

.aredc-contact-enquiry .aredc-field ::placeholder {
	color: rgba(78, 78, 78, 0.6);
}

.aredc-contact-enquiry .aredc-contact-form__note {
	font-size: 0.875rem;
	line-height: 24px;
	margin-top: -8px;
	text-align: center;
}

.aredc-contact-enquiry .aredc-contact-form__note a {
	text-decoration: underline;
}

.aredc-contact-enquiry .aredc-contact-submit {
	grid-column: 1 / -1;
	justify-self: center;
	margin-top: 6px;
}

.aredc-contact-page .aredc-home-offices {
	padding-top: 80px;
}

/* Offices: the map runs the full height of the accordion on this page. */
.aredc-contact-page .aredc-home-offices .aredc-offices__map {
	aspect-ratio: 740 / 780;
}

@media (max-width: 1100px) {
	.aredc-contact-info {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		max-width: none;
	}

	.aredc-contact-info__card--hours {
		grid-column: 1 / -1;
	}
}

@media (max-width: 991px) {
	.aredc-contact-page .aredc-home-offices .aredc-offices__map {
		aspect-ratio: 16 / 10;
	}

	.aredc-offices__map .aredc-office-card {
		display: none;
	}
}

@media (max-width: 600px) {
	.aredc-contact-info {
		grid-template-columns: minmax(0, 1fr);
	}

	.aredc-contact-info__card--hours {
		grid-column: auto;
	}

	.aredc-contact-info__hours {
		grid-template-columns: 24px minmax(0, 1fr);
	}

	.aredc-contact-info__hours-col:last-child {
		grid-column: 2;
	}

	.aredc-contact-enquiry .aredc-contact-form__note {
		margin-top: 0;
	}
}

/* About page — AL Asmakh about-us frame
   Shares the hero, stats row, and section scale with the sales pages
   (page-about adds .aredc-sales-page alongside its own class). The story
   intro follows the centred heading pattern, and the timeline reuses the
   process card's gold index and rule, the covers panel's title and bullet
   list, and the front page's two column image and copy rows.
---------------------------------------------------------------------------- */

/* Eyebrow: a short label above a heading, set like the stats row label. */
.aredc-eyebrow {
	color: var(--wp--preset--color--gold);
	font-size: 0.875rem;
	font-weight: 300;
	letter-spacing: 0.05em;
	line-height: 1.2;
	text-transform: uppercase;
}

.page-template-page-about .aredc-eyebrow {
	color: var(--wp--preset--color--white);
}

/* Hero */
.aredc-about-hero h1+p {
	max-width: 665px;
}

/* Stats row: the shared figure and label, plus a line of context underneath.
   The row follows a screen reader heading that takes no space, so it gives up
   the flow gap that would otherwise open above it. */
.aredc-about-stats>.aredc-stats {
	margin-block-start: 0;
}

.aredc-about-stats .aredc-stat__copy {
	color: var(--wp--preset--color--secondary);
	font-size: 0.875rem;
	font-weight: 300;
	line-height: 1.57;
}

/* Story introduction */
.aredc-about-story h2+p {
	line-height: 1.5625;
}

/* Timeline chapters: scrolling chapter photos beside a pinned year list that
   follows the reader, mirroring the homepage's signature developments. */
.aredc-about-timeline .aredc-developments {
	max-width: none;
	width: 100%;
}

.aredc-about-timeline .aredc-developments__image {
	aspect-ratio: 695 / 391;
}

/* Chapter details shown in the pinned list's active panel. */
.aredc-chapter__era {
	color: var(--wp--preset--color--gold);
	font-size: 0.875rem;
	font-weight: 300;
	letter-spacing: 0;
	line-height: 1.2;
	margin: 0 0 8px;
	text-transform: uppercase;
}

.aredc-chapter__title {
	font-size: 1.5rem;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 34px;
	margin: 0 0 12px;
}

.aredc-chapter__copy {
	font-weight: 300;
	line-height: 1.625;
	margin: 0 0 16px;
}

/* Milestones: the covers panel's gold dot list. */
.aredc-chapter__milestones {
	display: flex;
	flex-direction: column;
	gap: 16px;
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
}

.aredc-chapter__milestones li {
	color: var(--wp--preset--color--secondary);
	display: flex;
	font-weight: 300;
	gap: 16px;
	line-height: 22px;
	margin: 0;
}

.aredc-chapter__milestones li::before {
	background-color: var(--wp--preset--color--gold);
	border-radius: 50%;
	content: "";
	flex: 0 0 auto;
	height: 5px;
	margin-top: 8px;
	width: 5px;
}

.aredc-chapter__quote {
	border-left: 2px solid var(--wp--preset--color--gold);
	color: var(--wp--preset--color--main);
	font-size: 1.125rem;
	font-weight: 400;
	letter-spacing: 0.2px;
	line-height: 27px;
	margin: 0;
	padding-left: 16px;
}

/* Mobile homepage and shared patterns — Figma mobile 3136:9787.
   Keep these after archive/card rules so desktop column counts cannot win. */
.aredc-areas-more {
	display: none;
}

@media (max-width: 991px) {

	.aredc-header-sticky,
	.home .aredc-header-sticky {
		background: rgba(255, 255, 255, 0.7);
		backdrop-filter: blur(6px);
		-webkit-backdrop-filter: blur(6px);
	}

	.aredc-site-header {
		padding-inline: 16px !important;
	}

	.aredc-brand-mark img {
		content: url('assets/images/home/mobile/logo.png');
		height: 36px !important;
		width: 50px !important;
	}

	.wp-block-cover.aredc-home-hero,
	.admin-bar .wp-block-cover.aredc-home-hero {
		min-height: 662px !important;
		padding: 135px 16px 16px !important;
	}

	.wp-block-cover.aredc-home-hero {
		background: url('assets/images/home/mobile/hero.png') center / cover no-repeat;
	}

	.aredc-home-hero .wp-block-cover__video-background {
		display: none;
	}

	.aredc-home-hero>.wp-block-cover__inner-container,
	.admin-bar .aredc-home-hero>.wp-block-cover__inner-container {
		gap: 80px;
		grid-template-rows: auto auto;
		padding-top: 0;
	}

	.aredc-home-hero>.wp-block-cover__inner-container>.aredc-home-search {
		margin: 0 auto;
	}

	.aredc-home-hero h1 {
		font-size: 30px;
		line-height: 36px;
	}

	.aredc-home-hero h1+p {
		font-weight: 400;
		line-height: 22px;
		margin-top: 20px;
	}

	.aredc-home-search {
		gap: 8px;
		padding-top: 0;
	}

	.aredc-home-search__tab span {
		border: 1px solid rgba(2, 38, 76, 0.1);
		border-radius: 2px;
		box-sizing: border-box;
		font-size: 12px;
		letter-spacing: 0.5px;
		min-width: 80px;
	}

	.aredc-home-search__tab:first-child span {
		min-width: 88px;
	}

	.aredc-home-search__card {
		box-shadow: none;
	}

	.aredc-home-search__filters {
		gap: 12px 24px;
		padding: 16px 16px 12px;
	}

	.aredc-home-search__filters .aredc-home-search__select {
		border-top: 0;
		padding: 0;
	}

	.aredc-home-search__select+.aredc-home-search__select::before {
		inset-inline-start: -12px;
	}

	.aredc-home-search__select :is(select, .aredc-select__trigger, .aredc-beds-filter__trigger),
	.aredc-home-search__select .aredc-select__trigger:is(:hover, :focus) {
		background-position: right center;
		font-size: 13px;
		height: 32px;
		min-height: 32px;
		padding: 0 18px 0 0;
	}

	.aredc-home-search__bar {
		gap: 12px;
		padding: 12px 16px 16px;
	}

	.aredc-home-search input.aredc-home-search__input {
		font-size: 14px;
		min-height: 32px;
	}

	.aredc-home-search__voice {
		height: 32px;
		padding: 0;
		width: 24px;
	}

	.aredc-home-search__submit {
		color: var(--wp--preset--color--gold);
		font-size: 14px;
		min-height: 40px;
	}

	/* Shared sections retain this rhythm when inserted on an inner page. */
	:is(.aredc-home-services, .aredc-home-developments, .aredc-home-areas,
		.aredc-home-properties, .aredc-home-partners, .aredc-home-offices, .aredc-subscribe) {
		padding-block: 32px !important;
	}

	:is(.aredc-home-services, .aredc-home-developments, .aredc-home-areas,
		.aredc-home-properties, .aredc-home-offices, .aredc-home-contact, .aredc-subscribe) {
		padding-inline: 16px !important;
	}

	:is(.aredc-home-services, .aredc-home-developments, .aredc-home-areas,
		.aredc-home-properties, .aredc-home-partners, .aredc-home-offices)>.wp-block-group:first-child>p,
	.aredc-subscribe p {
		font-size: 14px;
		font-weight: 300;
		line-height: 24px;
		margin-top: 16px;
	}

	:is(.aredc-home-services, .aredc-home-developments, .aredc-home-areas,
		.aredc-home-properties, .aredc-home-partners, .aredc-home-offices)> :not(:first-child) {
		margin-block-start: 32px;
	}

	.aredc-service {
		align-items: center;
		gap: 20px !important;
	}

	.aredc-service-icon {
		height: 40px;
		width: 40px;
	}

	.aredc-service-icon img {
		max-height: 100%;
		max-width: 100%;
		object-fit: contain;
	}

	.aredc-service>.wp-block-group {
		flex: 1;
		min-width: 0;
	}

	.aredc-service .wp-block-buttons {
		margin-top: 12px;
	}

	.aredc-developments.is-mobile-carousel .aredc-developments__heading {
		margin-bottom: 10px;
	}

	.aredc-developments.is-mobile-carousel .aredc-developments__location {
		letter-spacing: 0;
		margin-bottom: 16px;
		text-transform: capitalize;
	}

	.aredc-developments.is-mobile-carousel .aredc-developments__excerpt {
		margin-bottom: 16px;
	}

	.aredc-developments.is-mobile-carousel .aredc-developments__more .wp-block-button__link {
		font-size: 14px;
		min-height: 34px;
		padding: 0 16px;
	}

	.aredc-areas-grid>.wp-block-cover {
		height: 261px;
		min-height: 261px !important;
	}

	.aredc-areas-grid> :nth-child(2) {
		order: 3;
	}

	.aredc-areas-grid> :nth-child(3) {
		order: 2;
	}

	.aredc-areas-grid> :first-child {
		order: 1;
	}

	.aredc-areas-grid> :nth-child(n+4) {
		order: 4;
	}

	.aredc-area-label {
		font-weight: 400 !important;
	}

	.aredc-home-areas.is-collapsible:not(.is-expanded) .aredc-areas-grid> :nth-child(n+6) {
		display: none;
	}

	.aredc-areas-more:not([hidden]) {
		display: flex;
		justify-content: center;
	}

	.aredc-areas-more button {
		background: transparent;
		border: 1px solid var(--wp--custom--color--gold-border);
		color: var(--wp--preset--color--gold);
		font: inherit;
		font-size: 14px;
		letter-spacing: 0.7px;
		min-height: 44px;
		width: 168px;
	}

	.wp-block-cover.aredc-home-expertise {
		padding-block: 32px !important;
	}

	.aredc-home-expertise>.wp-block-cover__image-background {
		content: url('assets/images/home/mobile/expertise.png');
		object-position: center;
	}

	.wp-block-cover.aredc-home-expertise>.wp-block-cover__background.has-background-dim.has-primary-background-color {
		background-image: linear-gradient(90deg, rgba(3, 38, 77, 0), rgba(3, 38, 77, 0.45) 38%, #03264d);
	}

	.aredc-home-expertise .wp-block-columns.alignwide {
		display: flex;
		flex-direction: column;
		gap: 40px;
	}

	.aredc-home-expertise .wp-block-columns.alignwide>.wp-block-column {
		width: 100%;
	}

	.aredc-home-expertise .wp-block-columns.alignwide>.wp-block-column:last-child>.wp-block-columns {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.aredc-home-expertise h3+p {
		font-weight: 400;
		margin-top: 8px;
	}

	.aredc-listings:not(.aredc-archive-listings):not(.aredc-agent-listings)> :nth-child(n+4) {
		display: flex;
	}

	.aredc-listing-card {
		--aredc-card-pad: 24px;
		--aredc-body-gap: 12px;
	}

	.aredc-listing-card__title {
		font-size: 18px;
	}

	.aredc-listing-card__price {
		font-size: 20px;
	}

	.aredc-listing-card__price span {
		font-size: 16px;
	}

	.aredc-home-contact {
		padding-block: 40px !important;
	}

	.aredc-home-contact>.wp-block-columns,
	.aredc-subscribe>.wp-block-columns {
		flex-direction: column;
		gap: 32px;
	}

	.aredc-home-contact>.wp-block-columns>.wp-block-column,
	.aredc-subscribe>.wp-block-columns>.wp-block-column {
		width: 100%;
	}

	.aredc-home-contact h2,
	.aredc-home-contact h2+p,
	.aredc-subscribe h2,
	.aredc-subscribe p {
		text-align: center;
	}

	.aredc-home-contact h2 {
		max-width: 338px;
		margin-inline: auto;
	}

	.aredc-home-contact h2+p {
		font-size: 14px;
		line-height: 24px;
	}

	.aredc-contact-methods {
		margin-top: 32px;
		max-width: none;
	}

	.aredc-contact-card {
		box-sizing: border-box;
		padding: 16px;
	}

	.aredc-contact-card .contact-form .wp-block-jetpack-contact-form,
	.aredc-contact-enquiry .contact-form .wp-block-jetpack-contact-form,
	.aredc-subscribe .contact-form .wp-block-jetpack-contact-form {
		flex-direction: column;
		align-items: stretch;
	}

	:is(.aredc-contact-card, .aredc-contact-enquiry) .contact-form :is(input:not([type=checkbox]):not([type=radio]), select) {
		min-height: 60px;
	}

	.aredc-subscribe .contact-form input.grunion-field {
		min-height: 60px;
	}

	.aredc-subscribe .contact-form .wp-block-button {
		align-self: flex-start;
	}

	.aredc-subscribe .contact-form .wp-block-button__link {
		min-height: 51px;
		min-width: 166px;
	}

	.aredc-partners {
		gap: 24px;
	}

	.aredc-partners-set {
		gap: 32px;
		padding-inline: 16px;
	}

	.aredc-partners-set img {
		height: 44px;
		max-width: 90px;
	}

	.aredc-offices__map,
	.aredc-contact-page .aredc-home-offices .aredc-offices__map {
		aspect-ratio: 365 / 410;
		min-height: 0;
	}
}

@media (max-width: 781px) {
	.aredc-listings:not(.aredc-agent-listings) {
		grid-template-columns: minmax(0, 1fr);
	}

	.aredc-site-footer {
		padding: 32px 16px 16px !important;
	}

	.aredc-site-footer>.wp-block-columns {
		display: grid;
		gap: 0;
		grid-template-columns: repeat(4, max-content);
		column-gap: 24px;
	}

	.aredc-site-footer :is(.aredc-footer-identity, .aredc-footer-links) {
		display: contents;
	}

	.aredc-footer-identity>*,
	.aredc-footer-accreditation {
		grid-column: 1 / -1;
	}

	.aredc-footer-badge {
		grid-row: 1;
		margin: 0 0 24px;
	}

	.aredc-footer-links>.wp-block-navigation {
		display: contents;
		margin: 0;
	}

	.aredc-footer-links .wp-block-navigation__container {
		display: contents;
	}

	.aredc-footer-links .wp-block-navigation-item {
		grid-row: 2;
		margin-bottom: 16px;
	}

	.aredc-footer-links .wp-block-navigation-item:nth-child(5) {
		grid-row: 3;
		grid-column: 1;
	}

	.aredc-footer-links .wp-block-navigation-item:nth-child(6) {
		grid-row: 3;
		grid-column: 2;
	}

	.aredc-footer-links :is(.wp-block-navigation, .aredc-footer-legal) {
		font-size: 14px;
		line-height: 18px;
	}

	.aredc-site-footer .aredc-footer-legal {
		display: contents;
	}

	.aredc-footer-legal p:first-child {
		grid-row: 3;
		grid-column: 3 / -1;
		margin: 0;
	}

	.aredc-footer-legal p:last-child {
		grid-row: 4;
		grid-column: 1 / -1;
		margin: 0 0 24px;
	}

	.aredc-site-footer .aredc-footer-legal p {
		font-size: 14px;
		line-height: 18px;
	}

	.aredc-site-footer .aredc-footer-address {
		color: rgba(255, 255, 255, 0.8);
		font-size: 14px;
		grid-row: 5;
		line-height: 22px;
		margin: 0 0 16px;
	}

	.aredc-footer-social-links {
		grid-row: 6;
		margin: 0 0 32px;
	}

	.aredc-site-footer .aredc-footer-social-links .wp-block-social-link-anchor,
	.aredc-site-footer .aredc-footer-social-links .wp-block-social-link-anchor svg {
		height: 22px;
		width: 22px;
	}

	.aredc-footer-accreditation {
		grid-row: 7;
		justify-content: flex-start;
		margin: 0;
	}

	.aredc-footer-rics img {
		height: 60px !important;
		width: 75px !important;
	}

	.aredc-site-footer .aredc-footer-separator {
		border-top: 1px solid rgba(255, 255, 255, 0.2);
		margin-block: 24px 12px;
		width: 100%;
	}

	.aredc-site-footer .aredc-footer-copy {
		font-size: 12px;
		line-height: 24px;
		margin: 0;
		padding-top: 0;
	}
}

@media (max-width: 991px) {
	.aredc-areas-grid> :nth-child(1)>img {
		content: url('assets/images/home/mobile/area-1.png');
	}

	.aredc-areas-grid> :nth-child(7)>img {
		content: url('assets/images/home/mobile/area-3.png');
	}

	.aredc-areas-grid> :nth-child(3)>img {
		content: url('assets/images/home/mobile/area-2.png');
	}

	.aredc-areas-grid> :nth-child(6)>img {
		content: url('assets/images/home/mobile/area-4.png');
	}

	.aredc-areas-grid> :nth-child(5)>img {
		content: url('assets/images/home/mobile/area-5.png');
	}

	.aredc-mega__burger-bars {
		background: url('assets/images/home/mobile/menu.svg') center / 20px 17.5px no-repeat;
		height: 21px;
		width: 24px;
	}

	.aredc-mega__burger-bars::before,
	.aredc-mega__burger-bars::after {
		display: none;
	}
}

@media (max-width: 991px) {
	.aredc-office__summary {
		font-size: 16px;
		gap: 24px;
		padding: 0 0 16px;
	}

	.aredc-office+.aredc-office {
		padding-top: 16px;
	}

	.aredc-office__details {
		gap: 8px;
		padding: 16px 0;
	}

	.aredc-office__details p {
		font-size: 14px;
		line-height: 22px;
	}
}

@media (max-width: 781px) {
	.aredc-site-footer .aredc-footer-social-links {
		margin: 0 0 32px;
	}
}

@media (max-width: 380px) {
	.aredc-site-footer>.wp-block-columns {
		column-gap: 12px;
	}
}

/**
 * Voice search overlay — white card UI matching the classic realestate theme.
 *
 * @package AREDC
 */

.aredc-voice-overlay {
	align-items: center;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	background: rgba(0, 0, 0, 0.5);
	display: none;
	inset: 0;
	justify-content: center;
	position: fixed;
	transition: opacity 0.3s ease;
	z-index: 100000;
}

.aredc-voice-overlay.is-open {
	display: flex;
}

.aredc-voice-card {
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.05);
	border-radius: 16px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
	max-width: 420px;
	padding: 35px 25px;
	position: relative;
	text-align: center;
	width: 90%;
}

.aredc-voice-close {
	background: none;
	border: none;
	color: #888;
	cursor: pointer;
	font-size: 24px;
	line-height: 1;
	padding: 0;
	position: absolute;
	right: 20px;
	top: 15px;
	transition: color 0.2s ease;
}

.aredc-voice-close:hover {
	color: #000;
}

.aredc-voice-mic-circle {
	align-items: center;
	background: #e74c3c;
	border-radius: 50%;
	box-shadow: 0 0 20px rgba(231, 76, 60, 0.4);
	color: #fff;
	display: flex;
	height: 80px;
	justify-content: center;
	margin: 0 auto 20px;
	position: relative;
	width: 80px;
}

.aredc-voice-pulse {
	animation: aredc-voice-pulse 1.5s infinite;
	border: 2px solid #e74c3c;
	border-radius: 50%;
	inset: 0;
	position: absolute;
}

@keyframes aredc-voice-pulse {
	0% {
		opacity: 1;
		transform: scale(1);
	}

	100% {
		opacity: 0;
		transform: scale(1.6);
	}
}

.aredc-voice-title {
	color: #0b2a4a;
	font-size: 1.3rem;
	font-weight: 400;
	margin: 0 0 10px;
}

.aredc-voice-status {
	align-items: center;
	background: #f8f9fb;
	border: 1px dashed #dce3ee;
	border-radius: 8px;
	color: #555;
	display: flex;
	font-size: 1rem;
	font-weight: 500;
	justify-content: center;
	margin-bottom: 25px;
	min-height: 60px;
	padding: 10px;
	word-break: break-word;
}

.aredc-voice-bars {
	align-items: flex-end;
	display: flex;
	gap: 5px;
	height: 24px;
	justify-content: center;
	margin-bottom: 25px;
}

.aredc-voice-bar {
	animation: aredc-voice-bar 1s infinite ease-in-out;
	background: #e74c3c;
	border-radius: 2px;
	height: 6px;
	width: 3px;
}

.aredc-voice-bar:nth-child(2) {
	animation-delay: 0.15s;
}

.aredc-voice-bar:nth-child(3) {
	animation-delay: 0.3s;
}

.aredc-voice-bar:nth-child(4) {
	animation-delay: 0.45s;
}

.aredc-voice-bar:nth-child(5) {
	animation-delay: 0.6s;
}

.aredc-voice-bars.is-paused .aredc-voice-bar {
	animation-play-state: paused;
}

@keyframes aredc-voice-bar {

	0%,
	100% {
		height: 6px;
	}

	50% {
		height: 22px;
	}
}

.aredc-voice-actions {
	display: flex;
	gap: 12px;
	justify-content: center;
}

.aredc-voice-reset {
	align-items: center;
	background: #f4f6f9;
	border: 1.5px solid #d4dcea;
	border-radius: 6px;
	color: #555;
	cursor: pointer;
	display: inline-flex;
	font-family: inherit;
	font-size: 12px;
	font-weight: 600;
	gap: 6px;
	padding: 8px 18px;
	transition: background 0.2s ease;
}

.aredc-voice-reset:hover {
	background: #eef1f6;
}

.aredc-voice-done {
	background: #0b2a4a;
	border: none;
	border-radius: 6px;
	color: #fff;
	cursor: pointer;
	font-family: inherit;
	font-size: 12px;
	font-weight: 400;
	padding: 8px 24px;
	transition: background 0.2s ease;
}

.aredc-voice-done:hover {
	background: #133d6b;
}


.aredc-voice-overlay {
	padding: 20px;
	box-sizing: border-box;
}

.aredc-voice-card {
	box-sizing: border-box;
	max-height: calc(100dvh - 40px);
	overflow-y: auto;
}

.aredc-voice-overlay.is-paused .aredc-voice-pulse,
.aredc-voice-overlay.is-paused .aredc-voice-bar {
	animation-play-state: paused;
}

.aredc-voice-overlay button:focus-visible {
	outline: 2px solid #0b2a4a;
	outline-offset: 4px;
}

.aredc-voice-overlay button:disabled {
	opacity: 0.5;
	cursor: default;
}

@media (prefers-reduced-motion: reduce) {

	.aredc-voice-pulse,
	.aredc-voice-bar {
		animation: none;
	}
}

.wp-block-jetpack-input.grunion-field {
	height: 60px;
	padding: 20px;
	border-radius: 4px !important;
	outline: none;
}

.contact-form textarea.wp-block-jetpack-input.grunion-field {
	height: 155px;
	min-height: 155px;
	resize: vertical;
}

@media (max-width: 781px) {
	.aredc-contact-card .wp-block-jetpack-contact-form .is-layout-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}
