:root {
	--color-text: #222222;
	--color-yellow: #fcb13e;
	--color-green: #1b5e2f;
	--color-sold: #c41e1e;
	--color-white: #ffffff;
	--color-orange: #e87722;
	--sidebar-width: 260px;
	--header-h: 96px;
	--font-body: "Roboto", sans-serif;
	--font-quote: "Courgette", cursive;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
	color: var(--color-text);
	font-family: var(--font-body);
	background: var(--color-white);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--color-text);
	text-decoration: none;
}

button {
	font-family: inherit;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.site-shell {
	display: grid;
	grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
	grid-template-rows: auto 1fr;
	min-height: 100vh;
}

.site-logo {
	grid-column: 1;
	grid-row: 1;
	display: flex;
	align-items: center;
	background: var(--color-white);
	padding: 12px 10px;
	z-index: 21;
}

.site-logo a {
	display: flex;
	align-items: center;
	width: 100%;
}

.site-logo img {
	width: 100%;
	height: auto;
	max-height: 72px;
	object-fit: contain;
	object-position: left center;
}

.site-slogan {
	grid-column: 2;
	grid-row: 1;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	align-self: stretch;
	background: var(--color-green);
	color: var(--color-white);
	padding: 10px 30px;
}

.site-slogan__inner {
	text-align: right;
}

.site-slogan__quote {
	margin: 0;
	font-family: var(--font-quote);
	font-size: clamp(15px, 1.45vw, 22px);
	line-height: 1.35;
	color: var(--color-white);
}

.site-slogan__author {
	margin: 2px 0 0;
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 400;
	color: var(--color-white);
}

.site-sidebar {
	grid-column: 1;
	grid-row: 2;
	display: flex;
	flex-direction: column;
	background: var(--color-yellow);
	min-height: 100%;
}

.site-sidebar__head {
	display: none;
}

.site-nav {
	flex: 1;
	padding: 32px 16px 50px 20px;
	overflow: auto;
}

.site-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-menu li {
	margin: 0;
}

.site-menu a {
	display: inline-block;
	position: relative;
	color: var(--color-text);
	font-family: var(--font-body);
	font-size: 19px;
	font-weight: 500;
	line-height: 37px;
	letter-spacing: 0;
}

.site-menu .current-menu-item > a,
.site-menu .current-menu-item > .site-menu__row > a,
.site-menu a:hover {
	color: #000;
}

.site-menu .current-menu-item > a,
.site-menu .current-menu-item > .site-menu__row > a {
	box-shadow: inset 0 -2px 0 #000;
}

.site-menu__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	min-height: 37px;
}

.site-menu__row > a {
	flex: 1;
	min-width: 0;
}

.site-menu__chevron {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
	position: relative;
	padding: 0;
}

.site-menu__chevron:hover,
.site-menu__chevron:focus-visible {
	background: rgba(0, 0, 0, 0.08);
}

.site-menu__chevron svg {
	width: 18px;
	height: 18px;
	display: block;
	margin: 0 auto;
	transition: transform 0.15s ease;
}

.menu-item-has-children.is-open > .site-menu__row > .site-menu__chevron svg {
	transform: rotate(90deg);
}

.site-menu .sub-menu {
	list-style: none;
	margin: 2px 0 12px 4px;
	padding: 0 0 0 10px;
	display: none;
	border-left: 2px solid rgba(0, 0, 0, 0.12);
}

.site-menu .menu-item-has-children.is-open > .sub-menu {
	display: block;
}

.site-menu .sub-menu a {
	font-size: 15px;
	line-height: 28px;
	font-weight: 400;
}

.site-main {
	grid-column: 2;
	grid-row: 2;
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 0;
}

.site-menu-toggle {
	display: none;
	margin-right: auto;
	width: 40px;
	height: 32px;
	border: 0;
	background: transparent;
	cursor: pointer;
	padding: 0;
}

.site-menu-toggle__bar,
.site-menu-toggle__bar::before,
.site-menu-toggle__bar::after {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--color-white);
	position: relative;
}

.site-menu-toggle__bar::before,
.site-menu-toggle__bar::after {
	content: "";
	position: absolute;
	left: 0;
}

.site-menu-toggle__bar::before {
	top: -7px;
}

.site-menu-toggle__bar::after {
	top: 7px;
}

.site-nav-backdrop {
	display: none;
}

.page-title {
	position: relative;
	height: 200px;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
}

.page-title::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
}

.page-title__inner {
	position: relative;
	z-index: 1;
	padding: 0 40px;
	color: var(--color-white);
}

.page-title__heading {
	margin: 0;
	color: var(--color-white);
	font-family: var(--font-body);
	font-size: 36px;
	font-weight: 500;
	line-height: 1.2;
}

.home-slider {
	position: relative;
	overflow: hidden;
	background: #111;
	height: calc(100dvh - var(--header-h));
	min-height: 280px;
}

.home-slider__track {
	position: relative;
	height: 100%;
}

.home-slider .home-slider__slide,
.wp-block-blizniak-slider .home-slider__slide {
	display: block;
	margin: 0;
	height: 100%;
	position: absolute;
	inset: 0;
	opacity: 0;
	z-index: 0;
	pointer-events: none;
	transition: opacity 0.85s ease;
}

.home-slider .home-slider__slide.is-active,
.wp-block-blizniak-slider .home-slider__slide.is-active {
	opacity: 1;
	z-index: 1;
	pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
	.home-slider .home-slider__slide,
	.wp-block-blizniak-slider .home-slider__slide {
		transition: none;
	}
}

.home-slider__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.home-slider__banner {
	position: absolute;
	top: auto;
	bottom: 28px;
	left: 24px;
	transform: none;
	background: var(--color-orange);
	color: var(--color-white);
	font-family: var(--font-body);
	font-size: clamp(16px, 1.7vw, 24px);
	font-weight: 500;
	line-height: 1.3;
	padding: 12px 20px;
	text-align: left;
	white-space: normal;
	max-width: min(52%, 420px);
	box-sizing: border-box;
	z-index: 3;
	overflow: visible;
}

.home-slider__banner--festive {
	padding-top: 14px;
	padding-right: 28px;
}

.home-slider__banner--festive::before,
.wp-block-blizniak-slide .home-slider__banner--festive::before {
	content: "";
	position: absolute;
	top: -28px;
	left: auto;
	right: 8px;
	width: 46px;
	height: 42px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 56'%3E%3Cpath fill='%23c41e3a' d='M10 42 L32 4 L54 42 Z'/%3E%3Cellipse fill='%23f7f7f7' cx='32' cy='44' rx='26' ry='8'/%3E%3Ccircle fill='%23f7f7f7' cx='32' cy='8' r='7'/%3E%3Ccircle fill='%23e8c547' cx='32' cy='8' r='2.4'/%3E%3C/svg%3E") no-repeat center / contain;
	pointer-events: none;
}

.home-slider.is-single .home-slider__prev,
.home-slider.is-single .home-slider__next {
	display: none;
}

.home-slider__prev,
.home-slider__next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border: 0;
	border-radius: 50%;
	background: rgba(28, 28, 28, 0.55);
	color: #fff;
	font-size: 0;
	line-height: 0;
	cursor: pointer;
	z-index: 12;
	padding: 0;
}

.home-slider__prev::before,
.home-slider__next::before {
	content: "";
	display: block;
	width: 12px;
	height: 12px;
	border-top: 3px solid #fff;
	border-right: 3px solid #fff;
}

.home-slider__prev::before {
	transform: rotate(-135deg);
	margin-left: 3px;
}

.home-slider__next::before {
	transform: rotate(45deg);
	margin-right: 3px;
}

.home-slider__prev:hover,
.home-slider__next:hover {
	background: var(--color-yellow);
}

.home-slider__prev:hover::before,
.home-slider__next:hover::before {
	border-color: #111;
}

.home-slider__prev {
	left: 16px;
}

.home-slider__next {
	right: 16px;
}

.site-content {
	flex: 1;
	padding: 40px 40px 60px;
	color: var(--color-text);
	font-family: var(--font-body);
}

.site-content--home {
	padding: 0;
}

.site-content--home .home-slider,
.site-content--home .wp-block-blizniak-slider {
	width: 100%;
}

.site-content p {
	text-align: justify;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.icon-boxes,
.wp-block-blizniak-icon-boxes {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.icon-box,
.wp-block-blizniak-icon-box {
	border: 2px solid var(--color-yellow);
	background: var(--color-white);
	padding: 32px 16px 24px;
	text-align: center;
}

.icon-box__icon {
	display: block;
	width: 96px;
	height: 96px;
	margin: 0 auto 16px;
	object-fit: contain;
}

.icon-box__icon--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	color: #888;
	border: 1px dashed #ccc;
}

.icon-box__title {
	margin: 0;
	color: var(--color-text);
	font-family: var(--font-body);
	font-size: 18px;
	font-weight: 500;
	line-height: 1.3;
}

.photo-text,
.wp-block-blizniak-photo-text {
	display: grid;
	grid-template-columns: 1fr 3fr;
	gap: 28px;
	align-items: start;
}

.photo-text__photo {
	position: relative;
	min-width: 0;
}

.photo-text__photo img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

.photo-text__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 180px;
	background: #f3f3f3;
	border: 1px dashed #ccc;
}

.photo-text__text {
	min-width: 0;
}

.photo-text__text > *:first-child {
	margin-top: 0;
}

.photo-text__text h2,
.photo-text__text .wp-block-heading {
	margin: 0 0 12px;
	font-family: var(--font-body);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.standard-list .photo-text,
.standard-list .wp-block-blizniak-photo-text,
.wp-block-blizniak-standard-list .photo-text,
.wp-block-blizniak-standard-list .wp-block-blizniak-photo-text {
	padding: 25px 0;
	border-bottom: 1px solid #222;
}

.standard-list .photo-text:first-child,
.standard-list .wp-block-blizniak-photo-text:first-child,
.wp-block-blizniak-standard-list .photo-text:first-child,
.wp-block-blizniak-standard-list .wp-block-blizniak-photo-text:first-child {
	padding-top: 0;
}

.standard-list .photo-text:last-child,
.standard-list .wp-block-blizniak-photo-text:last-child,
.wp-block-blizniak-standard-list .photo-text:last-child,
.wp-block-blizniak-standard-list .wp-block-blizniak-photo-text:last-child {
	border-bottom: 0;
	padding-bottom: 50px;
}

.photo-text .wp-block-details,
.photo-text details {
	margin: 8px 0 0;
}

.photo-text summary {
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	font-weight: 500;
	list-style: none;
}

.photo-text summary::-webkit-details-marker {
	display: none;
}

.photo-text summary::after {
	content: "+";
	margin-left: 8px;
	color: var(--color-yellow);
	font-weight: 700;
}

.photo-text details[open] summary::after {
	content: "−";
}

.photo-text .wp-block-details p,
.photo-text details p {
	text-align: justify;
}

.bp-gallery,
.wp-block-blizniak-gallery {
	width: 100%;
}

.bp-gallery__grid {
	display: grid;
	grid-template-columns: repeat(var(--gallery-cols, 3), minmax(0, 1fr));
	gap: 12px;
}

.bp-gallery__item {
	position: relative;
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: #111;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	cursor: zoom-in;
}

.bp-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.25s ease;
}

.bp-gallery__item:hover img {
	transform: scale(1.04);
}

.bp-gallery__add {
	margin-top: 12px;
}

.bp-gallery__remove {
	position: absolute;
	top: 6px;
	right: 6px;
	z-index: 2;
	min-width: 28px !important;
	height: 28px;
	line-height: 1;
}

.bp-realizations {
	max-width: 760px;
	margin: 0 auto;
}

.bp-realizations__project {
	margin: 0 0 56px;
}

.bp-realizations__project:last-child {
	margin-bottom: 20px;
}

.bp-realizations__title {
	margin: 0 0 20px;
	text-align: center;
	font-family: var(--font-body);
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--color-text);
}

.bp-panoramas {
	margin: 0 0 32px;
}

.bp-panoramas__stage {
	position: relative;
	width: 100%;
	height: min(62vh, 640px);
	min-height: 380px;
	background: #111;
	overflow: hidden;
}

.bp-panoramas__viewer {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.bp-panoramas__viewer .pnlm-container {
	width: 100%;
	height: 100%;
}

.bp-panoramas__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 14px 0 0;
}

.bp-panoramas__tab {
	border: 2px solid var(--color-yellow);
	background: var(--color-white);
	color: var(--color-text);
	padding: 8px 16px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
}

.bp-panoramas__tab:hover,
.bp-panoramas__tab.is-active {
	background: var(--color-yellow);
}

.bp-panoramas__caption {
	margin: 12px 0 0;
	text-align: center;
	font-size: 15px;
	font-weight: 500;
}

.bp-panoramas__empty {
	margin: 0;
	padding: 48px 20px;
	text-align: center;
	background: #f4f4f4;
	color: #555;
}

.bp-homes {
	margin: 0 0 32px;
}

.bp-homes__plan {
	position: relative;
	line-height: 0;
}

.bp-homes__plan img {
	width: 100%;
	height: auto;
	display: block;
}

.bp-homes__map {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.bp-homes__hotspot {
	cursor: pointer;
	outline: none;
}

.bp-homes__hotspot polygon {
	fill: rgba(255, 255, 255, 0);
	stroke: rgba(255, 255, 255, 0.35);
	stroke-width: 0.25;
	transition: fill 0.18s ease, stroke 0.18s ease;
}

.bp-homes__hotspot text {
	font-family: var(--font-body);
	font-size: 2.4px;
	font-weight: 700;
	text-anchor: middle;
	pointer-events: none;
	fill: #fff;
	paint-order: stroke;
	stroke: rgba(0, 0, 0, 0.45);
	stroke-width: 0.35px;
}

.bp-homes__label {
	position: absolute;
	transform: translate(-50%, -50%);
	z-index: 2;
	pointer-events: none;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
	letter-spacing: 0.04em;
}

.bp-homes__hotspot.is-sold polygon {
	fill: rgba(196, 30, 30, 0.38);
	stroke: var(--color-sold);
}

.bp-homes__hotspot.is-available.is-hover polygon,
.bp-homes__hotspot.is-available:hover polygon,
.bp-homes__hotspot.is-available:focus-visible polygon {
	fill: rgba(27, 94, 47, 0.52);
	stroke: #1b5e2f;
}

.bp-homes__hotspot.is-sold.is-hover polygon,
.bp-homes__hotspot.is-sold:hover polygon,
.bp-homes__hotspot.is-sold:focus-visible polygon {
	fill: rgba(196, 30, 30, 0.62);
	stroke: var(--color-sold);
}

.bp-homes__legend {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	margin: 14px 0 28px;
	font-size: 14px;
}

.bp-homes__swatch {
	display: inline-block;
	width: 18px;
	height: 18px;
	margin-right: 6px;
	vertical-align: middle;
}

.bp-homes__swatch.is-available {
	background: var(--color-green);
}

.bp-homes__swatch.is-sold {
	background: var(--color-sold);
}

.bp-homes__hint {
	width: 100%;
	color: #666;
	font-size: 13px;
}

.bp-homes__floor {
	margin: 0 0 28px;
}

.bp-homes__floor-title {
	margin: 0 0 14px;
	font-size: 18px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.bp-homes__cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.bp-homes__card {
	border: 2px solid #e6e6e6;
	background: #fff;
	padding: 12px 12px 14px;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.bp-homes__sheet,
.bp-homes__sheet-preview {
	display: block;
	margin: 0 0 12px;
	border: 1px solid #ececec;
	background: #fff;
}

.bp-homes__sheet img,
.bp-homes__sheet-preview {
	width: 100%;
	height: auto;
	display: block;
}

.bp-homes__card.is-available.is-hover,
.bp-homes__card.is-available:hover,
.bp-homes__card.is-available:focus-visible {
	border-color: var(--color-green);
	box-shadow: 0 0 0 2px rgba(27, 94, 47, 0.15);
}

.bp-homes__card.is-sold.is-hover,
.bp-homes__card.is-sold:hover,
.bp-homes__card.is-sold:focus-visible {
	border-color: var(--color-sold);
	box-shadow: 0 0 0 2px rgba(196, 30, 30, 0.16);
}

.bp-homes__card.is-sold {
	background: #fff7f7;
	border-color: #f0c7c7;
}

.bp-homes__card-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin: 0 0 10px;
}

.bp-homes__name {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
}

.bp-homes__badge {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 4px 8px;
	color: #fff;
}

.bp-homes__card.is-available .bp-homes__badge {
	background: var(--color-green);
}

.bp-homes__card.is-sold .bp-homes__badge {
	background: var(--color-sold);
}

.bp-homes__rooms,
.bp-homes__extras {
	margin: 0 0 4px;
	font-size: 14px;
	line-height: 1.4;
}

.bp-homes__price {
	margin: 12px 0 0;
	font-size: 16px;
	font-weight: 700;
}

.bp-homes__card.is-sold .bp-homes__price {
	color: var(--color-sold);
}

.bp-homes__download {
	display: inline-block;
	margin-top: 12px;
	font-size: 13px;
	font-weight: 700;
	color: var(--color-green);
	text-decoration: none;
}

.bp-homes__download:hover,
.bp-homes__download:focus-visible {
	text-decoration: underline;
}

.bp-homes__card.is-sold .bp-homes__download {
	color: var(--color-sold);
}

.bp-nearby {
	margin: 0 0 20px;
}

.bp-nearby__nav {
	position: sticky;
	top: 0;
	z-index: 6;
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
	padding: 10px 0 14px;
	margin: 0 0 8px;
	background: linear-gradient(#fff 70%, rgba(255, 255, 255, 0.88));
	overflow-x: auto;
	scrollbar-width: thin;
}

.bp-nearby__tab {
	flex: 0 0 auto;
	border: 2px solid var(--color-yellow);
	background: #fff;
	color: var(--color-text);
	padding: 8px 14px;
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
}

.bp-nearby__tab:hover,
.bp-nearby__tab.is-active {
	background: var(--color-yellow);
}

.bp-nearby__track {
	position: relative;
	padding-left: 22px;
}

.bp-nearby__track::before {
	content: "";
	position: absolute;
	left: 5px;
	top: 12px;
	bottom: 12px;
	width: 0;
	border-left: 3px dashed #c9c9c9;
}

.bp-nearby__section {
	position: relative;
	margin: 0 0 48px;
	scroll-margin-top: 64px;
}

.bp-nearby__section::before {
	content: "";
	position: absolute;
	left: -22px;
	top: 18px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--color-orange);
	box-shadow: 0 0 0 4px #fff;
}

.bp-nearby__head {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin: 0 0 16px;
}

.bp-nearby__num {
	flex-shrink: 0;
	min-width: 42px;
	background: var(--color-yellow);
	color: var(--color-text);
	font-size: 18px;
	font-weight: 700;
	text-align: center;
	padding: 6px 8px;
}

.bp-nearby__title {
	margin: 0 0 4px;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.15;
}

.bp-nearby__intro {
	margin: 0;
	font-size: 15px;
	line-height: 1.45;
	color: #444;
	text-align: left;
}

.bp-nearby__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: 118px;
	gap: 10px;
}

.bp-nearby .bp-gallery__item,
.bp-nearby__tile {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: #111;
	aspect-ratio: auto;
	overflow: hidden;
	cursor: zoom-in;
}

.bp-nearby__tile.is-hero {
	grid-column: span 2;
	grid-row: span 2;
}

.bp-nearby__tile.is-wide {
	grid-column: span 2;
}

.bp-nearby__tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.bp-nearby__tile:hover img,
.bp-nearby__tile:focus-visible img {
	transform: scale(1.06);
}

.bp-nearby__shade {
	position: absolute;
	inset: auto 0 0;
	height: 55%;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
	pointer-events: none;
}

.bp-nearby__caption {
	position: absolute;
	left: 10px;
	right: 10px;
	bottom: 10px;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	text-align: left;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
	pointer-events: none;
}

.bp-nearby__tile.is-hero .bp-nearby__caption {
	font-size: 18px;
	bottom: 14px;
	left: 14px;
}

.bp-nearby__chip {
	position: absolute;
	top: 10px;
	left: 10px;
	background: var(--color-yellow);
	color: var(--color-text);
	font-size: 11px;
	font-weight: 700;
	padding: 4px 8px;
	pointer-events: none;
}

.bp-modal {
	position: fixed;
	inset: 0;
	z-index: 80;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.9);
	padding: 24px;
}

.bp-modal[hidden] {
	display: none !important;
}

body.gallery-open .bp-modal {
	display: flex;
}

.bp-modal__figure {
	margin: 0;
	max-width: 92vw;
	max-height: 88vh;
	text-align: center;
}

.bp-modal__img {
	max-width: 92vw;
	max-height: 82vh;
	width: auto;
	height: auto;
	object-fit: contain;
}

.bp-modal__caption {
	margin: 12px 0 0;
	color: #fff;
	font-family: var(--font-body);
	font-size: 15px;
}

.bp-modal__close,
.bp-modal__prev,
.bp-modal__next {
	position: absolute;
	border: 0;
	background: rgba(80, 80, 80, 0.55);
	color: #fff;
	cursor: pointer;
}

.bp-modal__close {
	top: 16px;
	right: 16px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	font-size: 28px;
	line-height: 1;
}

.bp-modal__prev,
.bp-modal__next {
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	font-size: 28px;
}

.bp-modal__prev {
	left: 16px;
}

.bp-modal__next {
	right: 16px;
}

.bp-modal.is-single .bp-modal__prev,
.bp-modal.is-single .bp-modal__next {
	display: none;
}

body.gallery-open {
	overflow: hidden;
}

.bp-modal__close:hover,
.bp-modal__prev:hover,
.bp-modal__next:hover {
	background: #fcb13e;
	color: #111;
}

.bp-contact,
.wp-block-blizniak-contact {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: start;
}

.bp-contact__heading {
	margin: 0 0 18px;
	font-family: var(--font-body);
	font-size: 28px;
	font-weight: 500;
	line-height: 1.25;
	color: var(--color-text);
}

.bp-contact__info p,
.bp-contact__row {
	margin: 0 0 10px;
	text-align: left;
	line-height: 1.55;
}

.bp-contact__flags {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-left: 6px;
	vertical-align: middle;
}

.bp-contact__flag {
	display: inline-block;
	width: 22px;
	height: 16px;
	vertical-align: middle;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.bp-contact a:hover {
	color: var(--color-green);
}

.bp-contact__address {
	white-space: pre-line;
}

.bp-contact__form-placeholder {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-height: 220px;
	padding: 20px;
	background: #f6f6f6;
	color: #666;
	font-size: 14px;
}

.bp-contact__form-placeholder span {
	font-family: ui-monospace, monospace;
	font-size: 12px;
	word-break: break-all;
}

.bp-contact .wpcf7 p {
	margin: 0 0 16px;
	text-align: left;
}

.bp-contact .wpcf7 label {
	display: block;
	font-size: 14px;
}

.bp-contact input.wpcf7-form-control.wpcf7-text,
.bp-contact input.wpcf7-form-control.wpcf7-email,
.bp-contact input.wpcf7-form-control.wpcf7-tel,
.bp-contact textarea.wpcf7-form-control.wpcf7-textarea {
	display: block;
	width: 100%;
	margin: 6px 0 0;
	padding: 12px 14px;
	border: 1px solid #d8d8d8;
	border-radius: 0;
	background: #f7f7f7;
	color: var(--color-text);
	font-family: var(--font-body);
	font-size: 15px;
}

.bp-contact textarea.wpcf7-form-control.wpcf7-textarea {
	min-height: 120px;
	resize: vertical;
}

.bp-contact input.wpcf7-form-control.wpcf7-submit {
	display: inline-block;
	margin: 8px 0 0;
	padding: 10px 28px;
	border: 0;
	background: var(--color-yellow);
	color: #111;
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
}

.bp-contact input.wpcf7-form-control.wpcf7-submit:hover {
	background: var(--color-green);
	color: #fff;
}

.bp-contact .wpcf7-acceptance,
.bp-contact .wpcf7-acceptance .wpcf7-list-item-label {
	font-size: 10px;
	line-height: 1.35;
	color: #555;
}

.bp-contact .wpcf7-not-valid-tip {
	font-size: 12px;
	color: #c0392b;
}

.preview-cf7 label {
	display: block;
	margin: 0 0 14px;
	font-size: 14px;
}

.preview-cf7 input,
.preview-cf7 textarea {
	display: block;
	width: 100%;
	margin: 6px 0 0;
	padding: 12px 14px;
	border: 1px solid #d8d8d8;
	background: #f7f7f7;
	font-family: var(--font-body);
	font-size: 15px;
}

.preview-cf7 textarea {
	min-height: 120px;
}

.preview-cf7 .preview-cf7__accept {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	font-size: 10px;
	line-height: 1.35;
	color: #555;
}

.preview-cf7 .preview-cf7__accept input {
	width: auto;
	margin: 2px 0 0;
}

.preview-cf7 button {
	margin-top: 8px;
	padding: 10px 28px;
	border: 0;
	background: var(--color-yellow);
	color: #111;
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
}

@media (max-width: 900px) {
	:root {
		--header-h: 56px;
	}
	.site-shell {
		grid-template-columns: minmax(148px, 46vw) minmax(0, 1fr);
	}

	.site-logo {
		padding: 8px 10px;
	}

	.site-logo img {
		max-height: 44px;
		width: auto;
		max-width: 100%;
	}

	.site-slogan {
		padding: 8px 12px;
		gap: 10px;
		justify-content: flex-end;
	}

	.site-menu-toggle {
		display: block;
	}

	.site-slogan__quote {
		font-size: 13px;
		line-height: 1.25;
	}

	.site-slogan__author {
		font-size: 11px;
	}

	.site-sidebar {
		position: fixed;
		left: 0;
		top: 0;
		bottom: 0;
		width: min(300px, 86vw);
		grid-column: auto;
		grid-row: unset;
		z-index: 30;
		transform: translateX(-105%);
		transition: transform 0.2s ease, visibility 0.2s ease;
		visibility: hidden;
		pointer-events: none;
		box-shadow: none;
	}

	body.menu-open .site-sidebar {
		transform: none;
		visibility: visible;
		pointer-events: auto;
		box-shadow: 8px 0 24px rgba(0, 0, 0, 0.18);
	}

	.site-sidebar__head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 14px 16px;
		background: var(--color-white);
		flex-shrink: 0;
	}

	.site-sidebar__title {
		font-size: 16px;
		font-weight: 500;
	}

	.site-menu-close {
		width: 36px;
		height: 36px;
		border: 0;
		background: transparent;
		font-size: 28px;
		line-height: 1;
		cursor: pointer;
		color: var(--color-text);
	}

	.site-main {
		grid-column: 1 / -1;
		grid-row: 2;
	}

	.site-nav-backdrop {
		display: block;
		position: fixed;
		inset: 0;
		background: rgba(0, 0, 0, 0.4);
		z-index: 25;
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.2s ease;
	}

	body.menu-open .site-nav-backdrop {
		opacity: 1;
		pointer-events: auto;
	}

	body.menu-open {
		overflow: hidden;
	}

	.page-title {
		height: 160px;
	}

	.page-title__heading {
		font-size: 28px;
	}

	.page-title__inner {
		padding: 0 20px;
	}

	.site-content {
		padding: 24px 20px 40px;
	}

	.site-content--home {
		padding: 0;
	}

	.icon-boxes,
	.wp-block-blizniak-icon-boxes {
		grid-template-columns: 1fr 1fr;
	}

	.photo-text,
	.wp-block-blizniak-photo-text {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.home-slider__banner {
		top: auto;
		bottom: 16px;
		left: 12px;
		font-size: 15px;
		padding: 10px 14px;
		max-width: min(72%, 280px);
	}

	.home-slider__banner--festive::before {
		top: -22px;
		right: 2px;
		left: auto;
		width: 36px;
		height: 32px;
	}

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

	.bp-panoramas__stage {
		height: 52vh;
		min-height: 280px;
	}

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

	.bp-nearby__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: 130px;
	}

	.bp-nearby__title {
		font-size: 22px;
	}

	.bp-contact,
	.wp-block-blizniak-contact {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.bp-modal {
		padding: 12px;
	}

	.bp-modal__prev {
		left: 8px;
	}

	.bp-modal__next,
	.bp-modal__close {
		right: 8px;
	}
}

@media (max-width: 600px) {
	.site-slogan__author {
		display: none;
	}

	.site-logo img {
		max-height: 40px;
	}

	.icon-boxes,
	.wp-block-blizniak-icon-boxes {
		grid-template-columns: 1fr;
	}

	.bp-gallery__grid {
		grid-template-columns: 1fr;
	}

	.bp-homes__cards {
		grid-template-columns: 1fr;
	}

	.bp-nearby__track {
		padding-left: 0;
	}

	.bp-nearby__track::before,
	.bp-nearby__section::before {
		display: none;
	}

	.bp-nearby__grid {
		grid-auto-rows: 150px;
	}

	.bp-nearby__tile.is-hero,
	.bp-nearby__tile.is-wide {
		grid-column: span 2;
		grid-row: span 1;
	}

	.bp-nearby__tile.is-hero {
		grid-row: span 2;
	}
}
