:root {
	--apd-public-green: #69bd87;
	--apd-public-green-dark: #377d55;
	--apd-public-ink: #17221c;
	--apd-public-muted: #67736c;
	--apd-public-line: #dfe7e2;
	--apd-public-surface: #fff;
	--apd-public-bg: #f4f7f5;
}

#apd-site-header + #main-wrap #header-hz-elementor {
	display: none !important;
}

.apd-site-header {
	position: fixed;
	top: 14px;
	left: 50%;
	z-index: 1090;
	width: min(calc(100% - 32px), 1240px);
	transform: translateX(-50%);
}

.admin-bar .apd-site-header {
	top: 46px;
}

.apd-site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 60px;
	padding: 7px 13px 7px 18px;
	border: 0;
	border-radius: 16px;
	background: var(--apd-public-green);
	box-shadow: 0 8px 24px rgba(29, 70, 44, .14);
	transition: min-height .2s ease, background .2s ease, box-shadow .2s ease;
	-webkit-backdrop-filter: blur(13px) saturate(1.18);
	backdrop-filter: blur(13px) saturate(1.18);
}

.apd-site-header.is-scrolled .apd-site-header__inner {
	min-height: 58px;
	background: var(--apd-public-green);
	box-shadow: 0 9px 26px rgba(25, 60, 37, .18);
}

.apd-site-header__brand {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	max-width: 190px;
	color: #fff;
	font-size: 18px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none !important;
}

.apd-site-header__logo-image {
	display: block;
	width: 155px;
	max-width: 155px;
	height: 42px;
	object-fit: cover;
	object-position: center;
	filter: brightness(0) invert(1);
}

.apd-site-header__actions,
.apd-site-nav__list {
	display: flex;
	align-items: center;
}

.apd-site-header__actions {
	gap: 8px;
}

.apd-site-nav__list {
	gap: 3px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.apd-site-nav__list li {
	margin: 0;
	padding: 0;
}

.apd-site-nav__list a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 13px;
	border-radius: 10px;
	color: rgba(255, 255, 255, .92);
	font-size: 12px;
	font-weight: 650;
	letter-spacing: .01em;
	text-decoration: none !important;
	transition: color .15s ease, background .15s ease;
}

.apd-site-nav__list a:hover,
.apd-site-nav__list .current-menu-item > a {
	color: #fff;
	background: rgba(255, 255, 255, .14);
}

.apd-header-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 40px;
	padding: 0 12px;
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: 10px;
	color: #fff;
	background: rgba(19, 71, 38, .16);
	font: inherit;
	font-size: 11px;
	font-weight: 700;
	cursor: pointer;
	transition: background .15s ease, border-color .15s ease;
}

.apd-header-button:hover,
.apd-header-button[aria-expanded="true"] {
	border-color: rgba(255, 255, 255, .48);
	color: #fff;
	background: rgba(20, 67, 37, .3);
}

.apd-header-button svg {
	width: 17px;
	height: 17px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.apd-menu-toggle {
	display: none;
	flex-direction: column;
	gap: 4px;
	width: 42px;
	padding: 0;
}

.apd-menu-toggle > span {
	display: block;
	width: 18px;
	height: 1.5px;
	border-radius: 2px;
	background: currentColor;
	transition: transform .18s ease, opacity .18s ease;
}

.apd-menu-toggle.is-open > span:nth-child(1) {
	transform: translateY(5.5px) rotate(45deg);
}

.apd-menu-toggle.is-open > span:nth-child(2) {
	opacity: 0;
}

.apd-menu-toggle.is-open > span:nth-child(3) {
	transform: translateY(-5.5px) rotate(-45deg);
}

.apd-share {
	position: relative;
}

.apd-share__menu {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	width: 250px;
	padding: 9px;
	border: 1px solid var(--apd-public-line);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 18px 48px rgba(22, 55, 33, .2);
}

.apd-share__menu[hidden] {
	display: none !important;
}

.apd-share__heading {
	padding: 8px 9px 10px;
	border-bottom: 1px solid #edf1ee;
}

.apd-share__heading strong,
.apd-share__heading span {
	display: block;
}

.apd-share__heading strong {
	color: var(--apd-public-ink);
	font-size: 13px;
}

.apd-share__heading span {
	margin-top: 2px;
	color: var(--apd-public-muted);
	font-size: 10px;
}

.apd-share__menu > a,
.apd-share__copy {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	min-height: 42px;
	padding: 5px 7px;
	border: 0;
	border-radius: 9px;
	color: #2b3b31;
	background: transparent;
	font: inherit;
	font-size: 12px;
	font-weight: 650;
	text-align: left;
	text-decoration: none !important;
	cursor: pointer;
}

.apd-share__menu > a:hover,
.apd-share__copy:hover {
	color: var(--apd-public-green-dark);
	background: #f0f7f2;
}

.apd-share__icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 29px;
	height: 29px;
	border-radius: 8px;
	color: var(--apd-public-green-dark);
	background: #eaf5ed;
	font-size: 12px;
	font-weight: 800;
}

.apd-share__icon svg {
	width: 15px;
	height: 15px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.apd-share__icon--whatsapp {
	color: #25d366;
	background: #e9f9ee;
}

.apd-share__icon--facebook {
	color: #1877f2;
	background: #edf4ff;
}

.apd-share__icon--whatsapp svg,
.apd-share__icon--facebook svg {
	fill: currentColor;
	stroke: none;
}

.apd-share__icon--email {
	color: #c04564;
	background: #fff0f3;
}

.apd-share__icon--copy {
	color: var(--apd-public-green-dark);
	background: #eaf5ed;
}

.single-property .htb-single-listing-wrapper {
	padding-bottom: 1px;
	background: var(--apd-public-bg);
}

.single-property .htb-single-listing-wrapper > .elementor > .e-con.e-con-boxed > .e-con-inner {
	width: 100%;
	max-width: 1240px;
}

.apd-property-hero {
	padding: 0 24px;
	border-bottom: 1px solid rgba(44, 80, 58, .08);
	background:
		radial-gradient(circle at 84% 20%, rgba(105, 189, 135, .18), transparent 28%),
		linear-gradient(145deg, #f9fbfa 0%, #edf4ef 100%);
}

.apd-property-hero > .e-con-inner {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end !important;
	gap: 48px;
	padding: 132px 0 42px !important;
}

.apd-property-hero > .e-con-inner > .e-con {
	width: auto !important;
	padding: 0 !important;
}

.apd-property-hero > .e-con-inner > .e-con:last-child {
	align-items: flex-end;
	text-align: right;
}

.apd-property-hero .property_title {
	max-width: 850px;
	margin: 0 !important;
	color: var(--apd-public-ink) !important;
	font-size: clamp(29px, 3vw, 43px) !important;
	font-weight: 700 !important;
	line-height: 1.14 !important;
	letter-spacing: -.035em;
}

.apd-property-hero .hz-ele-price {
	margin: 0 !important;
}

.apd-property-hero .item-price {
	margin: 0 0 9px !important;
	color: var(--apd-public-ink);
	font-size: clamp(25px, 2.4vw, 34px) !important;
	font-weight: 750 !important;
	line-height: 1;
}

.apd-property-hero .hs-meta-widget-module {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 0 12px;
	border: 1px solid rgba(55, 125, 85, .2);
	border-radius: 999px;
	color: var(--apd-public-green-dark);
	background: rgba(105, 189, 135, .11);
	font-size: 12px;
	font-weight: 700;
}

.apd-property-gallery-section {
	padding: 30px 24px 0;
	background: var(--apd-public-bg);
}

.apd-property-gallery-section .hs-gallery-v4-grid-wrap,
.apd-property-gallery-section .hs-gallery-v4-grid {
	border-radius: 18px;
}

.apd-property-gallery-section .hs-gallery-v4-grid-wrap {
	overflow: hidden;
	border: 1px solid rgba(29, 49, 37, .1);
	background: #dce5df;
	box-shadow: 0 22px 55px rgba(30, 54, 40, .12);
}

.apd-property-gallery-section .hs-gallery-v4-grid {
	height: clamp(440px, 50vw, 650px);
}

.apd-property-gallery-section .hs-gallery-v4-grid a,
.apd-property-gallery-section .hs-gallery-v4-grid img {
	height: 100%;
}

.apd-property-gallery-section .hs-gallery-v4-grid img {
	width: 100%;
	object-fit: cover;
	transition: transform .45s ease;
}

.apd-property-gallery-section .hs-gallery-v4-grid a:hover img {
	transform: scale(1.018);
}

.apd-property-gallery-section .img-wrap-3-text {
	top: auto;
	right: 18px;
	bottom: 18px;
	left: auto;
	z-index: 4;
	padding: 9px 13px;
	border: 1px solid rgba(255, 255, 255, .75);
	border-radius: 9px;
	color: #17221c;
	background: rgba(255, 255, 255, .9);
	box-shadow: 0 6px 20px rgba(0, 0, 0, .13);
	font-size: 12px;
	font-weight: 700;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.apd-property-content-section {
	padding: 34px 24px 0;
	background: var(--apd-public-bg);
}

.apd-property-content-section > .e-con-inner {
	display: grid !important;
	grid-template-columns: minmax(0, 1.45fr) minmax(330px, .8fr);
	align-items: start !important;
	gap: 24px;
}

.apd-property-content-section > .e-con-inner > .e-con {
	width: auto !important;
	padding: 0 !important;
}

.apd-property-content-section .property-section-wrap,
.apd-detail-card,
.apd-info-card,
.apd-map-card {
	overflow: hidden;
	border: 1px solid var(--apd-public-line);
	border-radius: 16px;
	background: var(--apd-public-surface);
	box-shadow: 0 10px 30px rgba(24, 46, 33, .055);
}

.apd-property-content-section .property-section-wrap .block-wrap {
	margin: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.apd-property-content-section .property-section-wrap .block-title-wrap {
	padding: 25px 28px 17px;
	border-bottom: 1px solid var(--apd-public-line);
}

.apd-property-content-section .property-section-wrap .block-title-wrap h2,
.apd-card-heading h2,
.apd-section-heading h2,
.apd-info-card__title h3,
.apd-map-card__head h3 {
	margin: 0;
	color: var(--apd-public-ink);
	font-weight: 700;
	letter-spacing: -.02em;
}

.apd-property-content-section .property-section-wrap .block-title-wrap h2 {
	font-size: 21px;
}

.apd-property-content-section .property-section-wrap .block-content-wrap {
	padding: 24px 28px 28px;
	color: #405047;
	font-size: 15px;
	line-height: 1.76;
}

.apd-property-content-section .hzele-property-content-wrap > :first-child {
	margin-top: 0;
}

.apd-property-content-section .hzele-property-content-wrap > :last-child {
	margin-bottom: 0;
}

.apd-property-content-section .hzele-property-content-wrap h3 {
	margin: 25px 0 11px;
	color: var(--apd-public-ink);
	font-size: 17px;
}

#apd-property-details:not(.apd-mounted),
#apd-property-supplement:not(.apd-mounted) {
	display: none;
}

.apd-detail-card {
	width: 100%;
}

.apd-card-heading {
	padding: 23px 24px 17px;
	border-bottom: 1px solid var(--apd-public-line);
}

.apd-card-heading > span,
.apd-section-heading > span,
.apd-info-card__title > div > span,
.apd-map-card__head > div > span {
	display: block;
	margin-bottom: 4px;
	color: var(--apd-public-green-dark);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .105em;
	line-height: 1.2;
	text-transform: uppercase;
}

.apd-card-heading h2 {
	font-size: 21px;
}

.apd-detail-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0;
	padding: 8px 18px 14px;
	list-style: none;
}

.apd-detail-row {
	display: flex;
	align-items: center;
	gap: 11px;
	min-width: 0;
	padding: 14px 7px;
	border-bottom: 1px solid #edf1ee;
}

.apd-detail-row:nth-last-child(-n + 2) {
	border-bottom: 0;
}

.apd-detail-icon,
.apd-info-card__icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 9px;
	color: var(--apd-public-green-dark);
	background: #edf7f0;
}

.apd-detail-icon svg,
.apd-info-card__icon svg,
.apd-feature-list svg,
.apd-map-marker svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.apd-detail-copy {
	display: block;
	min-width: 0;
}

.apd-detail-label {
	display: block;
	margin-bottom: 2px;
	color: var(--apd-public-muted);
	font-size: 10px;
	font-weight: 650;
	letter-spacing: .025em;
}

.apd-detail-copy strong {
	display: block;
	overflow: hidden;
	color: var(--apd-public-ink);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.25;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.apd-property-supplement {
	width: calc(100% - 48px);
	max-width: 1240px;
	margin: 38px auto 68px;
}

.apd-section-heading {
	margin-bottom: 19px;
}

.apd-section-heading h2 {
	font-size: clamp(25px, 2.5vw, 32px);
}

.apd-supplement-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 24px;
}

.apd-info-card {
	padding: 25px;
}

.apd-info-card__title {
	display: flex;
	align-items: center;
	gap: 13px;
	margin-bottom: 22px;
}

.apd-info-card__title h3,
.apd-map-card__head h3 {
	font-size: 19px;
}

.apd-feature-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.apd-feature-list li {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 39px;
	padding: 8px 10px;
	border: 1px solid #e4ebe6;
	border-radius: 9px;
	color: #34463b;
	background: #f9fbfa;
	font-size: 12px;
	font-weight: 650;
}

.apd-feature-list li > span {
	display: inline-flex;
	color: var(--apd-public-green-dark);
}

.apd-feature-list svg {
	width: 15px;
	height: 15px;
	stroke-width: 2.2;
}

.apd-location-street {
	margin: 0 0 4px;
	color: var(--apd-public-ink);
	font-size: 16px;
	font-weight: 700;
}

.apd-location-address {
	margin: 0 0 18px;
	color: var(--apd-public-muted);
	font-size: 13px;
	line-height: 1.55;
}

.apd-location-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 18px;
}

.apd-location-tags span {
	padding: 6px 9px;
	border-radius: 7px;
	color: #405248;
	background: #eef3f0;
	font-size: 11px;
	font-weight: 650;
}

.apd-map-card {
	margin-top: 24px;
}

.apd-map-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 20px 24px;
	border-bottom: 1px solid var(--apd-public-line);
}

.apd-map-card__head a {
	color: var(--apd-public-green-dark);
	font-size: 12px;
	font-weight: 750;
	text-decoration: none;
}

.apd-map-card__head a:hover {
	color: #255b3c;
}

.apd-property-map {
	position: relative;
	z-index: 1;
	height: 410px;
	background: #e6ece8;
}

.apd-map-fallback {
	position: absolute;
	top: 50%;
	left: 50%;
	color: var(--apd-public-muted);
	font-size: 13px;
	transform: translate(-50%, -50%);
}

.apd-map-marker {
	background: transparent;
}

.apd-map-marker > span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border: 4px solid #fff;
	border-radius: 15px 15px 15px 4px;
	color: #fff;
	background: var(--apd-public-green-dark);
	box-shadow: 0 8px 24px rgba(23, 63, 39, .28);
	transform: rotate(-45deg);
}

.apd-map-marker svg {
	width: 21px;
	height: 21px;
	transform: rotate(45deg);
}

.apd-property-map .leaflet-popup-content-wrapper {
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(20, 42, 29, .18);
}

.apd-property-map .leaflet-popup-content {
	margin: 15px 17px;
}

.apd-property-map .leaflet-popup-content strong,
.apd-property-map .leaflet-popup-content span {
	display: block;
}

.apd-property-map .leaflet-popup-content strong {
	max-width: 240px;
	color: var(--apd-public-ink);
	font-size: 13px;
	line-height: 1.35;
}

.apd-property-map .leaflet-popup-content span {
	margin-top: 4px;
	color: var(--apd-public-muted);
	font-size: 11px;
}

.apd-external-links {
	margin: 28px 0 2px;
	padding: 20px;
	border: 1px solid #dfe8e2;
	border-radius: 12px;
	background: #f6faf7;
}

.apd-external-links__head span {
	display: block;
	margin-bottom: 4px;
	color: var(--apd-public-green-dark);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.apd-external-links__head h3 {
	margin: 0 0 15px;
	color: var(--apd-public-ink);
	font-size: 17px;
}

.apd-external-links__items {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}

.apd-external-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 0 13px;
	border: 1px solid #d8dee5;
	border-radius: 8px;
	color: var(--apd-public-ink);
	background: #fff;
	font-size: 11px;
	font-weight: 600;
	text-decoration: none !important;
	transition: border-color .15s ease, color .15s ease, transform .15s ease;
}

.apd-external-link:hover {
	transform: translateY(-1px);
	border-color: var(--apd-public-green);
	color: var(--apd-public-green-dark);
}

.apd-external-link svg {
	width: 15px;
	height: 15px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

/* The public author archive is disabled, so do not advertise a dead profile link. */
.single-property .agent-link {
	display: none !important;
}

/* Alcema action button on every property card. Houzez otherwise restores its
 * default blue hover colour for this particular button variant. */
.item-listing-wrap .btn.btn-primary.btn-item,
.item-listing-wrap .btn.btn-primary.btn-item:focus {
	border-color: #377d55;
	color: #fff;
	background-color: #377d55;
}

.item-listing-wrap .btn.btn-primary.btn-item:hover,
.item-listing-wrap .btn.btn-primary.btn-item:focus-visible,
.item-listing-wrap .btn.btn-primary.btn-item:active,
.item-listing-wrap .btn.btn-primary.btn-item:not(:disabled):not(:disabled):active {
	border-color: #286342;
	color: #fff;
	background-color: #286342;
	box-shadow: 0 6px 15px rgba(55, 125, 85, .22);
}

/* Professional, image-only Houzez popup. The form is also disabled in PHP. */
#property-lightbox .lightbox-form-wrap,
#property-lightbox .btn-email,
#property-lightbox .btn-expand {
	display: none !important;
}

#property-lightbox .modal-dialog {
	width: 100vw !important;
	max-width: none !important;
	height: 100vh;
	height: 100dvh;
	margin: 0;
}

#property-lightbox .modal-content {
	height: 100%;
	overflow: hidden;
	border: 0;
	border-radius: 0;
	background: #111713;
	box-shadow: 0 24px 80px rgba(0, 0, 0, .38);
}

#property-lightbox .modal-header {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	z-index: 9;
	min-height: 64px;
	border: 0;
	background: linear-gradient(to bottom, rgba(5, 11, 7, .72), transparent);
}

#property-lightbox .modal-header .btn-close {
	width: 38px;
	height: 38px;
	margin: 0 !important;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 50%;
	background-color: rgba(13, 22, 16, .68) !important;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%23fff' d='M.293 1.707a1 1 0 0 1 1.414-1.414L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707z'/%3e%3c/svg%3e") !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
	background-size: 11px !important;
	opacity: 1;
	filter: none !important;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

#property-lightbox .modal-body {
	display: block;
	height: 100%;
	min-height: 0;
	padding: 0;
}

#property-lightbox .lightbox-gallery-wrap,
#property-lightbox .lightbox-gallery,
#property-lightbox .lightbox-slider,
#property-lightbox .slick-list,
#property-lightbox .slick-track,
#property-lightbox .slick-slide {
	height: 100%;
}

#property-lightbox .lightbox-gallery-wrap {
	position: relative;
	width: 100% !important;
	padding: 0 !important;
	background:
		radial-gradient(circle at 50% 46%, rgba(70, 91, 77, .28), transparent 46%),
		#101512;
}

#property-lightbox .lightbox-gallery {
	top: 0;
	transform: none;
}

#property-lightbox .slick-slide {
	display: flex !important;
	align-items: center;
	justify-content: center;
}

#property-lightbox .slick-slide img {
	width: 100%;
	height: 100%;
	max-height: calc(100vh - 140px);
	max-height: calc(100dvh - 140px);
	margin: 0 auto;
	object-fit: contain;
}

#property-lightbox .slick-prev,
#property-lightbox .slick-next {
	z-index: 6;
	width: 46px;
	height: 46px;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 50%;
	color: #fff;
	background: rgba(13, 22, 16, .58);
	box-shadow: 0 8px 25px rgba(0, 0, 0, .2);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

#property-lightbox .slick-prev {
	left: 24px;
}

#property-lightbox .slick-next {
	right: 24px;
}

.apd-lightbox-counter {
	position: absolute;
	top: 19px;
	left: 22px;
	z-index: 8;
	min-width: 58px;
	padding: 8px 11px;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 999px;
	color: #fff;
	background: rgba(13, 22, 16, .62);
	font-size: 11px;
	font-weight: 750;
	letter-spacing: .04em;
	text-align: center;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

/* Compact thumbnail navigation inside the property image lightbox. */
.apd-lightbox-thumbnails {
	position: absolute;
	right: 106px;
	bottom: 19px;
	left: 106px;
	z-index: 8;
	display: flex;
	gap: 8px;
	align-items: center;
	justify-content: center;
	max-width: calc(100% - 212px);
	padding: 10px 12px;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 13px;
	background: rgba(9, 18, 12, .60);
	box-shadow: 0 12px 32px rgba(0, 0, 0, .24);
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 255, 255, .34) transparent;
	-webkit-backdrop-filter: blur(13px);
	backdrop-filter: blur(13px);
}

.apd-lightbox-thumbnails::-webkit-scrollbar {
	height: 5px;
}

.apd-lightbox-thumbnails::-webkit-scrollbar-thumb {
	border-radius: 999px;
	background: rgba(255, 255, 255, .34);
}

.apd-lightbox-thumbnail {
	position: relative;
	flex: 0 0 136px;
	width: 136px;
	height: 96px;
	padding: 0;
	overflow: hidden;
	border: 2px solid transparent;
	border-radius: 8px;
	background: #1b251e;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .17);
	cursor: pointer;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, opacity .18s ease;
}

.apd-lightbox-thumbnail::after {
	position: absolute;
	inset: 0;
	content: '';
	background: rgba(8, 14, 10, .30);
	transition: background .18s ease;
}

.apd-lightbox-thumbnail img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.apd-lightbox-thumbnail:hover,
.apd-lightbox-thumbnail:focus-visible {
	transform: translateY(-2px);
	outline: 0;
	box-shadow: 0 0 0 3px rgba(105, 189, 135, .30);
}

.apd-lightbox-thumbnail.is-active {
	border-color: #69bd87;
	box-shadow: 0 0 0 3px rgba(105, 189, 135, .34);
}

.apd-lightbox-thumbnail.is-active::after,
.apd-lightbox-thumbnail:hover::after,
.apd-lightbox-thumbnail:focus-visible::after {
	background: transparent;
}

/* The first position change happens while the popup is opening. */
#property-lightbox .lightbox-slider.apd-lightbox-opening .slick-track {
	transition: none !important;
}

@media (max-width: 991px) {
	.apd-property-hero > .e-con-inner {
		padding-top: 118px !important;
	}

	.apd-property-content-section > .e-con-inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.apd-detail-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.apd-detail-row:nth-last-child(-n + 3) {
		border-bottom: 0;
	}
}

@media (max-width: 767px) {
	.apd-site-header {
		top: 8px;
		width: calc(100% - 24px);
	}

	.admin-bar .apd-site-header {
		top: 54px;
	}

	.apd-site-header__inner,
	.apd-site-header.is-scrolled .apd-site-header__inner {
		min-height: 56px;
		padding: 6px 7px 6px 12px;
		border-radius: 15px;
	}

	.apd-site-header__brand {
		max-width: 150px;
	}

	.apd-site-header__logo-image {
		width: 140px;
		max-width: 140px;
		height: 38px;
	}

	.apd-site-header__actions {
		gap: 6px;
	}

	.apd-menu-toggle {
		display: inline-flex;
	}

	.apd-share__toggle {
		width: 42px;
		padding: 0;
	}

	.apd-share__toggle > span {
		display: none;
	}

	.apd-site-nav {
		position: absolute;
		top: calc(100% + 8px);
		right: 0;
		width: min(310px, calc(100vw - 24px));
		padding: 9px;
		border: 1px solid var(--apd-public-line);
		border-radius: 14px;
		background: #fff;
		box-shadow: 0 18px 48px rgba(22, 55, 33, .2);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-7px);
		transition: opacity .16s ease, visibility .16s ease, transform .16s ease;
	}

	.apd-site-nav.is-open {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.apd-site-nav__list {
		align-items: stretch;
		flex-direction: column;
		gap: 2px;
	}

	.apd-site-nav__list a {
		width: 100%;
		min-height: 43px;
		padding: 0 12px;
		color: #2b3b31;
		font-size: 13px;
	}

	.apd-site-nav__list a:hover,
	.apd-site-nav__list .current-menu-item > a {
		color: var(--apd-public-green-dark);
		background: #eef6f0;
	}

	.apd-share__menu {
		right: -48px;
		width: min(270px, calc(100vw - 24px));
	}

	.apd-property-hero,
	.apd-property-gallery-section,
	.apd-property-content-section {
		padding-right: 16px;
		padding-left: 16px;
	}

	.apd-property-hero > .e-con-inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 17px;
		padding: 105px 0 28px !important;
	}

	.apd-property-hero > .e-con-inner > .e-con:last-child {
		align-items: flex-start;
		text-align: left;
	}

	.apd-property-hero .property_title {
		font-size: clamp(25px, 7.4vw, 34px) !important;
		line-height: 1.18 !important;
	}

	.apd-property-hero .item-price {
		font-size: 27px !important;
	}

	.apd-property-gallery-section {
		padding-top: 18px;
	}

	.apd-property-gallery-section .hs-gallery-v4-grid-wrap,
	.apd-property-gallery-section .hs-gallery-v4-grid {
		border-radius: 12px;
	}

	.apd-property-gallery-section .hs-gallery-v4-wrap {
		width: 100% !important;
		max-width: none !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
	}

	.apd-property-gallery-section .elementor-widget-houzez-property-detail-gallery-v4 > .elementor-widget-container {
		padding-right: 0 !important;
		padding-left: 0 !important;
	}

	.apd-property-gallery-section .hs-gallery-v4-top-wrap,
	.apd-property-gallery-section .property-banner,
	.apd-property-gallery-section .hs-gallery-v4-grid-wrap,
	.apd-property-gallery-section .hs-gallery-v4-grid {
		width: 100% !important;
		max-width: none !important;
	}

	.apd-property-gallery-section .hs-gallery-v4-grid {
		display: block;
		height: 315px;
	}

	.apd-property-gallery-section .hs-gallery-v4-grid-item-01 {
		width: 100%;
		height: 100%;
	}

	.apd-property-gallery-section .hs-gallery-v4-grid-item-02 {
		display: none;
	}

	.apd-property-gallery-section .img-wrap-3-text {
		right: 11px;
		bottom: 11px;
	}

	.apd-property-content-section {
		padding-top: 20px;
	}

	.apd-property-content-section > .e-con-inner {
		gap: 18px;
	}

	.apd-property-content-section .property-section-wrap,
	.apd-detail-card,
	.apd-info-card,
	.apd-map-card {
		border-radius: 12px;
	}

	.apd-property-content-section .property-section-wrap .block-title-wrap {
		padding: 20px 20px 14px;
	}

	.apd-property-content-section .property-section-wrap .block-content-wrap {
		padding: 19px 20px 22px;
		font-size: 14px;
		line-height: 1.7;
	}

	.apd-card-heading {
		padding: 20px 20px 14px;
	}

	.apd-detail-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding: 7px 13px 12px;
	}

	.apd-detail-row:nth-last-child(-n + 3) {
		border-bottom: 1px solid #edf1ee;
	}

	.apd-detail-row:nth-last-child(-n + 2) {
		border-bottom: 0;
	}

	.apd-detail-row {
		gap: 8px;
		padding: 12px 5px;
	}

	.apd-detail-icon {
		width: 30px;
		height: 30px;
	}

	.apd-detail-icon svg {
		width: 16px;
		height: 16px;
	}

	.apd-detail-copy strong {
		font-size: 12px;
	}

	.apd-property-supplement {
		width: calc(100% - 32px);
		margin-top: 29px;
		margin-bottom: 46px;
	}

	.apd-section-heading h2 {
		font-size: 25px;
	}

	.apd-supplement-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 17px;
	}

	.apd-info-card {
		padding: 20px;
	}

	.apd-feature-list {
		grid-template-columns: minmax(0, 1fr);
	}

	.apd-map-card {
		margin-top: 17px;
	}

	.apd-map-card__head {
		align-items: flex-start;
		padding: 17px 19px;
	}

	.apd-map-card__head a {
		max-width: 110px;
		text-align: right;
	}

	.apd-property-map {
		height: 315px;
	}

	#property-lightbox .modal-dialog {
		width: 100vw !important;
		height: 100vh;
		height: 100dvh;
		margin: 0;
	}

	#property-lightbox .modal-header {
		height: 58px;
		padding: 10px 12px;
	}

	#property-lightbox .modal-header .btn-close {
		width: 36px;
		height: 36px;
	}

	#property-lightbox .slick-slide img {
		max-height: calc(100vh - 102px);
		max-height: calc(100dvh - 102px);
	}

	#property-lightbox .slick-prev,
	#property-lightbox .slick-next {
		width: 40px;
		height: 40px;
	}

	#property-lightbox .slick-prev {
		left: 10px;
	}

	#property-lightbox .slick-next {
		right: 10px;
	}

	.apd-lightbox-counter {
		top: 13px;
		left: 13px;
	}

	.apd-lightbox-thumbnails {
		right: 9px;
		bottom: 10px;
		left: 9px;
		justify-content: flex-start;
		gap: 6px;
		max-width: calc(100% - 18px);
		padding: 6px 7px;
		border-radius: 10px;
	}

	.apd-lightbox-thumbnail {
		flex-basis: 94px;
		width: 94px;
		height: 66px;
		border-radius: 6px;
	}

	.single-property .mobile-property-contact {
		right: 15px;
		bottom: 15px;
		left: auto;
		z-index: 1050;
		width: auto !important;
		padding: 0;
		border: 0;
		background: transparent;
		box-shadow: none;
	}

	.single-property .mobile-property-contact .agent-details {
		display: none !important;
	}

	.single-property .mobile-property-contact > .d-flex {
		display: block !important;
	}

	.single-property .mobile-property-contact .btn {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 52px;
		height: 52px;
		padding: 0;
		border: 3px solid #fff;
		border-radius: 50%;
		color: #fff;
		background: var(--apd-public-green-dark);
		box-shadow: 0 10px 28px rgba(28, 78, 46, .3);
		font-size: 18px;
	}
}

@media (max-width: 575px) {
	.apd-external-links { padding: 16px; }
	.apd-external-link { width: 100%; justify-content: space-between; }
}
