.sidebar-owner {
	display: flex;
	align-items: center;
	gap: 13px;
	margin-bottom: 18px;
}

.sidebar-owner__icon {
	display: grid;
	width: 64px;
	height: 64px;
	flex: 0 0 64px;
	place-items: center;
	color: #fff;
	background: var(--gp-primary);
	border-radius: 50%;
	font-size: 1.75rem;
}

.sidebar-owner div {
	display: flex;
	flex-direction: column;
}

.sidebar-owner span,
.sidebar-owner small {
	color: var(--gp-muted);
	font-size: .75rem;
}

.home-package-grid {
	display: grid;
	gap: 20px;
}

.home-package-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 26px;
	background: #fff;
	border: 1px solid var(--gp-line);
	border-radius: var(--gp-radius);
}

.home-package-card.is-featured {
	border: 2px solid var(--gp-secondary);
	box-shadow: var(--gp-shadow);
}

.home-package-card h3 {
	margin-top: 12px;
}

.home-package-card__price {
	margin: 0 0 12px;
	color: var(--gp-primary);
	font-size: clamp(1.5rem, 4vw, 2.25rem);
	font-weight: 850;
}

.home-package-card ul {
	display: grid;
	gap: 10px;
	padding: 0;
	margin-bottom: 24px;
	list-style: none;
}

.home-package-card li {
	position: relative;
	padding-left: 30px;
}

.home-package-card li::before {
	position: absolute;
	top: .08em;
	left: 0;
	display: grid;
	place-items: center;
	width: 20px;
	height: 20px;
	color: var(--gp-primary);
	background: #e7f3ef;
	border-radius: 50%;
	content: "✓";
	font-size: .75rem;
	font-weight: 900;
	line-height: 1;
}

.home-package-card .button {
	margin-top: auto;
}

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

/* Premium homepage hero. */
.home-hero {
	background-image: linear-gradient(90deg, rgba(10, 31, 26, .94), rgba(10, 31, 26, .6) 52%, rgba(10, 31, 26, .22)), url(../images/hero-premium.webp);
	background-position: center;
	background-size: cover;
}

/* Premium property gallery and lightbox. */
body.gallery-is-open {
	overflow: hidden;
}

.property-gallery {
	position: relative;
	display: block;
	margin-bottom: 10px;
}

.property-gallery__main {
	display: block;
	overflow: hidden;
	width: 100%;
	padding: 0;
	background: var(--gp-soft);
	border-radius: 18px;
	aspect-ratio: 4 / 3;
	text-decoration: none;
}

.property-gallery__main img,
.property-gallery__thumbs img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}

.property-gallery__main:hover img,
.property-gallery__thumbs a:hover img {
	transform: scale(1.025);
}

.property-gallery__main:focus-visible,
.property-gallery__thumbs a:focus-visible {
	position: relative;
	z-index: 2;
	outline: 3px solid var(--gp-secondary);
	outline-offset: -3px;
}

.property-gallery__thumbs {
	display: grid;
	grid-template-columns: none;
	grid-template-rows: none;
	grid-auto-columns: minmax(130px, 42vw);
	grid-auto-flow: column;
	gap: 10px;
	overflow-x: auto;
	padding: 2px 2px 8px;
	margin-top: 10px;
	scroll-snap-type: x mandatory;
}

.property-gallery__thumbs a {
	display: block;
	overflow: hidden;
	background: var(--gp-soft);
	border-radius: 12px;
	aspect-ratio: 4 / 3;
	scroll-snap-align: start;
}

.gallery-open {
	position: static;
	display: inline-flex;
	gap: 8px;
	margin-top: 10px;
	box-shadow: 0 10px 24px rgba(5, 22, 17, .2);
}

.gallery-dialog {
	width: min(96vw, 1480px);
	max-width: none;
	height: min(94vh, 960px);
	max-height: 94vh;
	padding: 0;
	color: #fff;
	background: transparent;
	border: 0;
	border-radius: 20px;
	overflow: visible;
}

.gallery-dialog::backdrop {
	background: rgba(3, 10, 8, .92);
	backdrop-filter: blur(8px);
}

.gallery-dialog__surface {
	display: grid;
	grid-template-rows: auto minmax(0, 1fr) auto;
	overflow: hidden;
	height: 100%;
	background: #0b1411;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 20px;
	box-shadow: 0 28px 90px rgba(0, 0, 0, .5);
}

.gallery-dialog__toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 64px;
	padding: 10px 16px 10px 22px;
	background: rgba(255, 255, 255, .035);
	border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.gallery-dialog__toolbar > div {
	display: flex;
	align-items: baseline;
	gap: 14px;
}

.gallery-dialog__counter {
	color: rgba(255, 255, 255, .68);
	font-size: .85rem;
}

.gallery-dialog__stage {
	position: relative;
	display: grid;
	min-height: 0;
	place-items: center;
}

.gallery-dialog__stage figure {
	display: grid;
	grid-template-rows: minmax(0, 1fr) auto;
	width: 100%;
	height: 100%;
	padding: 14px 64px 10px;
	margin: 0;
	place-items: center;
}

.gallery-dialog__stage img {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: calc(94vh - 190px);
	object-fit: contain;
	border-radius: 8px;
	box-shadow: 0 16px 60px rgba(0, 0, 0, .28);
}

.gallery-dialog__stage figcaption {
	max-width: 70ch;
	min-height: 24px;
	padding-top: 7px;
	color: rgba(255, 255, 255, .72);
	font-size: .82rem;
	text-align: center;
}

.gallery-close,
.gallery-prev,
.gallery-next {
	display: grid;
	width: 44px;
	height: 44px;
	padding: 0;
	place-items: center;
	color: #fff;
	background: rgba(8, 20, 16, .78);
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 50%;
	font-size: 1.8rem;
	line-height: 1;
	cursor: pointer;
	transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.gallery-close {
	position: static;
	flex: 0 0 44px;
}

.gallery-prev,
.gallery-next {
	position: absolute;
	top: 50%;
	z-index: 3;
	transform: translateY(-50%);
}

.gallery-prev {
	left: 14px;
}

.gallery-next {
	right: 14px;
}

.gallery-close:hover,
.gallery-prev:hover,
.gallery-next:hover {
	background: var(--gp-primary);
	border-color: rgba(255, 255, 255, .7);
}

.gallery-prev:hover,
.gallery-next:hover {
	transform: translateY(-50%) scale(1.06);
}

.gallery-dialog__thumbs {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	padding: 12px 16px 16px;
	background: rgba(255, 255, 255, .025);
	border-top: 1px solid rgba(255, 255, 255, .08);
	scrollbar-color: rgba(255, 255, 255, .35) transparent;
}

.gallery-dialog__thumbs button {
	overflow: hidden;
	width: 92px;
	height: 66px;
	flex: 0 0 92px;
	padding: 0;
	background: #18231f;
	border: 2px solid transparent;
	border-radius: 8px;
	cursor: pointer;
	opacity: .62;
	transition: border-color .2s ease, opacity .2s ease, transform .2s ease;
}

.gallery-dialog__thumbs button[aria-current="true"] {
	border-color: var(--gp-secondary);
	opacity: 1;
	transform: translateY(-2px);
}

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

@media (min-width: 760px) {
	.property-gallery:not(.property-gallery--single) {
		display: grid;
		grid-template-columns: minmax(0, 2fr) minmax(250px, 1fr);
		gap: 10px;
		overflow: hidden;
		height: clamp(440px, 50vw, 610px);
		background: var(--gp-soft);
		border-radius: 22px;
		box-shadow: 0 18px 52px rgba(15, 42, 34, .12);
	}

	.property-gallery:not(.property-gallery--single) .property-gallery__main {
		height: 100%;
		border-radius: 0;
		aspect-ratio: auto;
	}

	.property-gallery__thumbs {
		grid-template-columns: none;
		grid-template-rows: none;
		grid-auto-columns: auto;
		grid-auto-flow: row;
		height: 100%;
		padding: 0;
		margin: 0;
		overflow: hidden;
	}

	.property-gallery__thumbs a {
		height: 100%;
		border-radius: 0;
		aspect-ratio: auto;
	}

	.property-gallery__thumbs--1 {
		grid-template: 1fr / 1fr;
	}

	.property-gallery__thumbs--2 {
		grid-template: repeat(2, minmax(0, 1fr)) / 1fr;
	}

	.property-gallery__thumbs--3,
	.property-gallery__thumbs--4 {
		grid-template: repeat(2, minmax(0, 1fr)) / repeat(2, minmax(0, 1fr));
	}

	.property-gallery__thumbs--3 a:first-child {
		grid-row: 1 / -1;
	}

	.property-gallery--single .property-gallery__main {
		max-height: 680px;
		aspect-ratio: 16 / 9;
		border-radius: 22px;
		box-shadow: 0 18px 52px rgba(15, 42, 34, .12);
	}

	.gallery-open {
		position: absolute;
		right: 18px;
		bottom: 18px;
		margin: 0;
	}
}

@media (max-width: 599px) {
	.gallery-dialog {
		width: 100vw;
		height: 100dvh;
		max-height: none;
		margin: 0;
		border-radius: 0;
	}

	.gallery-dialog__surface {
		border: 0;
		border-radius: 0;
	}

	.gallery-dialog__toolbar {
		padding-left: 16px;
	}

	.gallery-dialog__stage figure {
		padding-inline: 48px;
	}

	.gallery-dialog__stage img {
		max-height: calc(100dvh - 190px);
	}

	.gallery-prev {
		left: 5px;
	}

	.gallery-next {
		right: 5px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.property-gallery__main img,
	.property-gallery__thumbs img,
	.gallery-close,
	.gallery-prev,
	.gallery-next,
	.gallery-dialog__thumbs button {
		transition: none;
	}
}

/* Premium single article. */
.article-single {
	overflow: clip;
}

.article-single__breadcrumb {
	padding-top: 16px;
}

.article-single__header {
	max-width: 960px;
	padding-block: clamp(44px, 7vw, 88px) clamp(30px, 5vw, 56px);
	text-align: center;
}

.article-single__category {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 6px 13px;
	margin-bottom: 18px;
	color: var(--gp-primary);
	background: var(--gp-soft);
	border: 1px solid var(--gp-line);
	border-radius: 999px;
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .05em;
	text-decoration: none;
	text-transform: uppercase;
}

.article-single__category:hover {
	color: #fff;
	background: var(--gp-primary);
	border-color: var(--gp-primary);
}

.article-single__header h1 {
	max-width: 900px;
	margin: 0 auto;
	font-size: clamp(2.25rem, 6.1vw, 4.75rem);
	letter-spacing: -.045em;
	line-height: 1.04;
}

.article-single__lead {
	max-width: 760px;
	margin: 24px auto 0;
	color: var(--gp-muted);
	font-size: clamp(1.05rem, 2vw, 1.28rem);
	line-height: 1.65;
}

.article-single__meta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	margin-top: 24px;
	color: var(--gp-muted);
	font-size: .86rem;
	font-weight: 650;
}

.article-single__hero {
	position: relative;
	padding: 0;
	margin-top: 0;
	margin-bottom: clamp(42px, 6vw, 76px);
}

.article-single__hero img {
	display: block;
	width: 100%;
	max-height: 680px;
	border-radius: 24px;
	box-shadow: 0 22px 60px rgba(15, 42, 34, .14);
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.article-single__hero figcaption {
	max-width: 820px;
	padding: 10px 16px 0;
	margin: 0 auto;
	color: var(--gp-muted);
	font-size: .78rem;
	text-align: center;
}

.article-single__content {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	max-width: 940px;
	padding-bottom: clamp(48px, 7vw, 88px);
}

.article-single__main {
	min-width: 0;
}

.article-single__body {
	color: #26332f;
	font-size: clamp(1rem, 1.45vw, 1.1rem);
	line-height: 1.85;
}

.article-single__body > *:first-child {
	margin-top: 0;
}

.article-single__body > p:first-child {
	color: var(--gp-ink);
	font-size: 1.12em;
}

.article-single__body p,
.article-single__body ul,
.article-single__body ol {
	margin-block: 0 1.45em;
}

.article-single__body h2 {
	margin: 2.15em 0 .7em;
	font-size: clamp(1.65rem, 3.2vw, 2.2rem);
	letter-spacing: -.025em;
	line-height: 1.2;
}

.article-single__body h3 {
	margin: 1.9em 0 .65em;
	font-size: clamp(1.3rem, 2.5vw, 1.65rem);
	line-height: 1.28;
}

.article-single__body a:not(.button) {
	font-weight: 650;
	text-decoration-thickness: .08em;
	text-underline-offset: .18em;
}

.article-single__body blockquote {
	padding: clamp(22px, 4vw, 34px);
	margin: 2.2em 0;
	color: var(--gp-ink);
	background: var(--gp-soft);
	border: 0;
	border-left: 5px solid var(--gp-secondary);
	border-radius: 0 16px 16px 0;
	font-size: 1.12em;
}

.article-single__body blockquote p:last-child {
	margin-bottom: 0;
}

.article-single__body figure,
.article-single__body .wp-block-image {
	margin-block: 2.2em;
}

.article-single__body img {
	height: auto;
	border-radius: 14px;
}

.article-single__body figcaption {
	color: var(--gp-muted);
	font-size: .76rem;
	line-height: 1.5;
}

.article-single__body .wp-block-separator {
	margin-block: 2.8em;
	border-color: var(--gp-line);
}

.article-single__body .wp-block-button__link {
	color: #fff;
	background: var(--gp-primary);
	border-radius: 9px;
}

.article-share {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-bottom: 20px;
}

.article-share > span {
	color: var(--gp-muted);
	font-size: .76rem;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.article-share__button {
	display: grid;
	width: 42px;
	height: 42px;
	padding: 0;
	place-items: center;
	color: var(--gp-primary);
	background: #fff;
	border: 1px solid var(--gp-line);
	border-radius: 50%;
	font-size: 1.15rem;
	cursor: pointer;
	transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.article-share__button:hover,
.article-share__button:focus-visible {
	color: #fff;
	background: var(--gp-primary);
	border-color: var(--gp-primary);
	transform: translateY(-2px);
}

.no-js .article-share {
	display: none;
}

.article-single__footer {
	padding-top: 28px;
	margin-top: 44px;
	border-top: 1px solid var(--gp-line);
}

.article-tags {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.article-tags > span {
	margin-right: 3px;
	font-size: .82rem;
	font-weight: 800;
}

.article-tags a {
	padding: 7px 11px;
	color: var(--gp-muted);
	background: var(--gp-soft);
	border-radius: 999px;
	font-size: .78rem;
	text-decoration: none;
}

.article-tags a:hover {
	color: var(--gp-primary);
}

.article-single__below {
	max-width: 940px;
	padding-bottom: clamp(52px, 7vw, 88px);
}

.article-single__below .post-navigation {
	padding-top: 28px;
	border-top: 1px solid var(--gp-line);
}

.article-single__below .nav-links {
	display: grid;
	gap: 14px;
}

.article-single__below .nav-previous a,
.article-single__below .nav-next a {
	display: flex;
	min-height: 112px;
	padding: 20px;
	flex-direction: column;
	justify-content: center;
	color: var(--gp-ink);
	background: #fff;
	border: 1px solid var(--gp-line);
	border-radius: 14px;
	text-decoration: none;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.article-single__below .nav-previous a:hover,
.article-single__below .nav-next a:hover {
	border-color: var(--gp-primary);
	box-shadow: var(--gp-shadow);
	transform: translateY(-2px);
}

.article-single__below .nav-links span {
	margin-bottom: 5px;
	color: var(--gp-muted);
	font-size: .74rem;
	font-weight: 750;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.article-single__below .nav-links strong {
	font-size: 1rem;
	line-height: 1.35;
}

.article-related {
	border-block: 1px solid var(--gp-line);
}

.article-related .article-card {
	box-shadow: 0 10px 30px rgba(15, 42, 34, .06);
}

.article-comments {
	max-width: 820px;
	padding-block: clamp(52px, 7vw, 88px);
}

.comments-area {
	padding: clamp(24px, 5vw, 42px);
	background: var(--gp-soft);
	border: 1px solid var(--gp-line);
	border-radius: 20px;
}

.comments-title,
.comment-reply-title {
	font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.comment-list {
	padding: 0;
	list-style: none;
}

.comment-list .comment-body {
	padding-block: 20px;
	border-bottom: 1px solid var(--gp-line);
}

.comment-list .children {
	padding-left: 24px;
	list-style: none;
}

.comment-author img {
	margin-right: 9px;
	border-radius: 50%;
	vertical-align: middle;
}

.comment-metadata {
	margin-top: 6px;
	font-size: .76rem;
}

.comment-form label {
	display: block;
	margin-bottom: 5px;
	font-size: .82rem;
	font-weight: 750;
}

.comment-form input:not([type="checkbox"]),
.comment-form textarea {
	width: 100%;
	padding: 11px 12px;
	background: #fff;
	border: 1px solid #aab5b1;
	border-radius: 8px;
}

.comment-form input:focus,
.comment-form textarea:focus {
	border-color: var(--gp-primary);
	outline: 2px solid var(--gp-primary);
	outline-offset: 1px;
}

.comment-form .submit {
	display: inline-flex;
	min-height: 44px;
	padding: 10px 18px;
	align-items: center;
	justify-content: center;
	color: #fff;
	background: var(--gp-primary);
	border: 1px solid var(--gp-primary);
	border-radius: 8px;
	font-weight: 800;
	cursor: pointer;
}

@media (min-width: 720px) {
	.article-single__below .nav-links {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.article-single__below .nav-next {
		text-align: right;
	}

	.article-single__below .nav-next:only-child {
		grid-column: 2;
	}
}

@media (min-width: 900px) {
	.article-single__content {
		grid-template-columns: 88px minmax(0, 760px);
		gap: 30px;
		justify-content: center;
	}

	.article-share {
		position: sticky;
		top: 110px;
		align-self: start;
		flex-direction: column;
	}

	.article-share > span {
		writing-mode: vertical-rl;
	}

	.article-single__body .alignwide {
		width: min(1040px, calc(100vw - 48px));
		max-width: none;
		margin-left: 50%;
		transform: translateX(-50%);
	}

	.article-single__body .alignfull {
		width: min(1200px, calc(100vw - 32px));
		max-width: none;
		margin-left: 50%;
		transform: translateX(-50%);
	}
}

@media (max-width: 599px) {
	.article-single__meta {
		gap: 7px;
		flex-wrap: wrap;
	}

	.article-single__hero {
		width: calc(100% - 24px);
	}

	.article-single__hero img {
		border-radius: 16px;
		aspect-ratio: 4 / 3;
	}

	.article-single__content,
	.article-single__below {
		width: calc(100% - 32px);
	}

	.comments-area {
		border-radius: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.article-share__button,
	.article-single__below .nav-previous a,
	.article-single__below .nav-next a {
		transition: none;
	}
}
