/*
Theme Name: Terrazul
Theme URI: https://terrazul.ro
Author: websqu•ad
Author URI: https://websqu.ad
Description: A simple theme for testing Gutenberg.
Version: 1.1.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: gutenberg-starter-theme
Tags: translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

gutenberg-starter-theme is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Lexend+Zetta:wght@100..900&family=Lexend:wght@100..900&display=swap');

html {
    font-family: sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
    display: block;
}

audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline;
}

audio:not([controls]) {
    display: none;
    height: 0;
}

[hidden],
template {
    display: none;
}

a {
    background-color: transparent;
}

a:active,
a:hover {
    outline: 0;
}

abbr[title] {
    border-bottom: 1px dotted;
}

b,
strong {
    font-weight: bold;
}

dfn {
    font-style: italic;
}

mark {
    background: #ff0;
    color: #000;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

img {
    border: 0;
}

svg:not(:root) {
    overflow: hidden;
}

figure {
    margin: 1em 40px;
}

hr {
    box-sizing: content-box;
    height: 0;
}

pre {
    overflow: auto;
}

code,
kbd,
pre,
samp {
    font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
    font-size: 0.875rem;
}

button,
input,
optgroup,
select,
textarea {
    color: inherit;
    font: inherit;
    margin: 0;
}

button {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    appearance: button;
    cursor: pointer;
}

button[disabled],
html input[disabled] {
    cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

input {
    line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

legend {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
}

optgroup {
    font-weight: bold;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

td,
th {
    padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
optgroup,
textarea {
    font-family: "Lexend", serif;
    font-size: 1rem;
    line-height: 1.2;
    color: var(--gray);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--gray);
    clear: both;
}

.entry-header .entry-title {
    font-size: 2.44em;
    line-height: 1.4;
    margin: 1em 0 1rem;
}

dfn, cite, em, i {
    font-style: italic;
}

blockquote {
    margin: 0 1.5em;
}

address {
    margin: 0 0 1.5em;
}

pre {
    font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 0.8em 1em;
}

code, kbd, tt, var {
    font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
    font-size: 0.875rem;
}

@media screen and (min-width: 600px) {
    code, kbd, tt, var {
        font-size: 0.8125rem;
    }
}

p > code {
    padding: 2px;
    border-radius: 2px;
    background: #f3f4f5;
    font-size: inherit;
}

abbr, acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}

mark, ins {
    background: #fff9c0;
    text-decoration: none;
}

big {
    font-size: 125%;
}

.archive .site-header {
	margin-bottom: 3.5em;
}

.site-title {
	margin: .4375em 0 0;
	font-size: 38px;
	font-weight: bold;
	line-height: 1.2;
	color: #333332;
}

.site-title a {
	text-decoration: none;
	color: inherit;
}

.site-description {
	margin: .4375em 0 0;
	font-size: 17px;
	font-weight: inherit;
	line-height: 1.4;
	word-wrap: break-word;
	color: #6c7781;
}
/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
    box-sizing: inherit;
}

body {
    font-size: 1.2rem;
    line-height: 1.3;
    background: var(--white);
    /* Fallback for when there is no custom background color defined. */ }

blockquote, q {
    quotes: "" ""; }
    blockquote:before, blockquote:after, q:before, q:after {
        content: ""; }

hr {
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}

ul, ol {
    margin: 0 0 1.5em 3em;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

li > ul,
li > ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}

dt {
    font-weight: bold;
}

dd {
    margin: 0 1.5em 1.5em;
}

img {
    height: auto;
    /* Make sure images are scaled correctly. */
    max-width: 100%;
    /* Adhere to container width. */
}

figure {
    margin: 1em 0;
    /* Extra wide images within figure tags don't overflow the content area. */
}

table {
    margin: 0 0 1.5em;
    width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    border: 1px solid;
    border-color: #ccc #ccc #bbb;
    border-radius: 3px;
    background: #e6e6e6;
    color: rgba(0, 0, 0, 0.8);
    font-size: 12px;
    font-size: 0.75rem;
    line-height: 1;
    padding: .6em 1em .4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    border-color: #ccc #bbb #aaa;
}

button:active, button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
    border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
    color: #666;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
    color: #111;
}

select {
    border: 1px solid #ccc;
}

textarea {
    width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
    color: #0073aa;
}

a:hover, a:focus, a:active {
    color: #00a0d2;
}

a:focus {
    outline: thin dotted;
}

a:hover, a:active {
    outline: 0;
}

:where(.wp-block-columns.is-layout-flex) {
    gap: 0.5rem;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	clear: both;
	display: block;
    margin: 0 auto;
	max-width: 580px;
    text-align: center;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
    text-align: left;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
    display: block;
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

.menu-toggle {
    padding: 1em;
}

img {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
}

/* Add overlay on images to prevent easy saving */
.wp-block-image {
    position: relative;
}

.wp-block-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    pointer-events: none;
}

@media screen and (max-width: 37.5em) {

    body {
        font-size: 1rem;
        line-height: 1.2;
    }

    body.menu-opened {
        height: 100vh;
        overflow: hidden;
    }

	/* Small menu. */
	.menu-toggle,
	.main-navigation.toggled ul {
		display: block;
        margin: 0 auto;
	}

    .main-navigation.toggled::before {
        content: "";
        position: absolute;
        top: -1rem;
        left: -1rem;
        width: 100vw;
        height: 100vh;
        background-color: var(--white);
        z-index: -1;
    }
}

@media screen and (min-width: 37.5em) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .main-navigation a {
        padding: 0 .5em;
    }
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
    border-bottom: 1px solid #e2e4e7;
	margin: 0 auto 60px;
    max-width: 580px;
	overflow: hidden;
    padding-bottom: 60px;
}

.nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	width: 50%;
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
    /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
    outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/

.alignleft,
.alignright {
	max-width: 580px !important;	/* Let's work to make this !important unnecessary */
}

.alignleft img,
.alignright img,
.alignleft figcaption,
.alignright figcaption {
	max-width: 50%;
	width: 50%;
}

.alignleft figcaption {
	clear: left;
}

.alignright figcaption {
	clear: right;
}

.alignleft img,
.alignleft figcaption {
    float: left;
    margin-right: 1.5em;
}

.alignright img,
.alignright figcaption {
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}


/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget-area {
	width: 25%;
}

.widget {
    margin: 0 0 1.5em;
    /* Make sure select elements fit in widgets. */
}

.widget select {
    max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
#page {
    margin: 0 auto;
    max-width: 100%;
}

.site-footer {
    margin: 1em 0;
    color: #6c7781;
    font-size: 90%;
}

.site-footer svg {
    max-width: 100% !important;
}

/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
    display: block;
}

.hentry {
    margin: 60px 0;
}

.updated:not(.published) {
    display: none;
}

.page-content,
.entry-content,
.entry-summary {
    margin: 1.5em 0 0;
}

.entry-meta {
    color: #6c7781;
    font-size: 90%;
}

.page-links {
    clear: both;
    margin: 0 0 1.5em;
}

.entry-header,
.page-header,
.entry-footer,
.site-info,
.posts-navigation,
.post-navigation,
.page-navigation,
.comments-area,
.not-found .page-content,
.search .entry-summary {
    margin: 1.5em auto;
    padding-left: 14px;
    padding-right: 14px;
    max-width: 580px;
}

.entry-header .wp-post-image {
    margin-bottom: 1.5em;
}

.entry-footer span{
    margin-right: 1em;
}

.entry-footer{
    color: #6c7781;
    font-size: 90%;
    padding-bottom: 40px;
    border-bottom: 1px solid #e2e4e7;
}

@media screen and (min-width: 608px) {
    .entry-header,
    .page-header,
    .entry-footer,
    .site-info,
    .posts-navigation,
    .post-navigation,
    .page-navigation,
    .comments-area,
    .not-found .page-content,
    .search .entry-summary {
        padding-left: 0;
        padding-right: 0;
    }
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
    word-wrap: break-word;
}

.bypostauthor {
    display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
    /* Theme Footer (when set to scrolling) */
    display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
    display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
    max-width: 100%;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
    display: inline-block;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

.wp-caption-text {
    text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
    margin-bottom: 1.5em;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    width: 100%;
}

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-columns-3 .gallery-item {
    max-width: 33.3333333333%;
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
}

.gallery-columns-5 .gallery-item {
    max-width: 20%;
}

.gallery-columns-6 .gallery-item {
    max-width: 16.6666666667%;
}

.gallery-columns-7 .gallery-item {
    max-width: 14.2857142857%;
}

.gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
    max-width: 11.1111111111%;
}

.gallery-caption {
    display: block;
}

/*Start*/

:root {
    --gray: #4D4D4F;
    --gray2: #6A6563;
    --beige: #D6CCBB;
    --brown: #4C4C4E;
    --filter_1: #6C6D4B;
    /* --filter_2: #A1A390; */
    --filter_2: #EEE9E3;
    --filter_3: #89B4C5;
    --white: #FFF;
    --padding-side: 5rem;
    --padding-side-mobile: 1rem;
    --row-gap: 0;
    --column-gap: 1rem;
}

h1 {
    font-size: 32px;
    font-style: normal;
    font-weight: 200;
    line-height: normal;
    letter-spacing: 0.5625rem;
    text-transform: uppercase;
    color: var(--beige) !important;
}

h2 {
    font-size: 2rem;
    font-style: normal;
    font-weight: 200;
    line-height: normal;
    text-transform: uppercase;
}

.wp-block-group__inner-container > h2 {
    letter-spacing: 0.4375rem;
}

h3 {
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

h4 {
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 200;
    line-height: normal;
}

.submit-group input[type="submit"],
.apartment-description a,
.apartments-filter ul a,
.wp-block-button__link {
    text-decoration: none;
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 200;
    line-height: 0.9;
    text-transform: uppercase;
    padding: 1rem 1.5rem;
    border-radius: 0;
    border: 1px solid var(--gray);
    color: var(--gray);
    background-color: transparent !important;
}

.submit-group input[type="submit"]:hover,
.apartment-description a:hover,
.apartments-filter ul a:hover,
.wp-block-button__link:hover {
    border-color: var(--beige) !important;
    background-color: var(--beige) !important;
    color: var(--gray);
}

* {
    max-width: none !important;
    transition: all 0.3s ease-out;
}

.site-main .entry-content *,
.site-main article, .entry-content {
    margin: 0;
}

.entry-content .wp-block-cover {
    padding: 0;
}

.has-background-dim {
    display: none;
}

.main-navigation {
    max-width: none;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: var(--column-gap);
    width: 100vw;
    height: 3.5rem;
    padding: 0 var(--padding-side);
    background: rgba(214, 204, 187, 0.01);
    backdrop-filter: blur(15px);
}

.site-header .logo {
    grid-column: 1 / span 5;
    display: flex;
    align-items: flex-end;
    padding: 0 0 0.875rem;
}

.site-header .logo svg {
    width: 158px;
}

.site-header .logo a {
    display: flex;
    height: fit-content;
}

.site-header .main-navigation {
    grid-column: span 7 / -1;
    margin-top: auto;
    margin-right: 0;
    width: 100%;
    padding: 0 0 1rem;
}

.site-header .menu-menu-container ul {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.main-navigation .logo {
    display: none;
}

.site-header .main-navigation a {
    padding: 0;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.site-header .main-navigation .current_page_item > a {
    font-weight: 600;
}

.entry-header {
    display: none;
}

.site-main, .entry-content {
    display: flex;
    flex-direction: column;
}

.site-main .wp-block-cover {
    height: 56.25vw;
}

.home .site-main .wp-block-cover {
    height: 70vh;
}

.site-main .wp-block-cover__inner-container {
    top: 1rem;
}

.site-main .wp-block-cover__image-background {
    object-position: 0 53.25%;
}

.site-main .custom-logo-link {
    display: block;
    width: fit-content;
    margin: 0 auto;
}

.site-main .custom-logo {
    width: 100% !important;
    height: 13.44vw !important;
}

.site-main .entry-content h1 {
    margin: 3.375rem 0 0;
    text-align: center;
}

.site-main .about .wp-block-columns {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: var(--column-gap);
    margin: 0 !important;
    padding: 0 var(--padding-side) 7.5rem;
}

.site-main .about .wp-swiper {
    width: 100%;
}

.wp-swiper {
    width: 100%;
}

.wp-swiper img {
    max-width: 100% !important;
}

.site-main .about .wp-block-column:first-child {
    grid-column: 1 / span 8;
    display: flex;
    margin: 0 0 0 calc((-1)*var(--padding-side));
}

.site-main .about img {
    width: 100%;
    height: 100%;
    /* object-fit: cover;
    object-position: 50% 50%; */
}

.site-main .about .wp-block-column:last-child {
    grid-column: span 4 / -1;
    display: flex;
    flex-direction: column;
    padding: 4.375rem 0 0;
}

.site-main .about h2 {
    margin: 0 0 3.625rem;
}

.site-main .about h4 {
    margin: 0 0 6rem;
}

.site-main .flats {
    margin: 0;
    padding: 0 var(--padding-side) 7.25rem;
}

.site-main .flats .wp-block-columns {
    column-gap: 0;
}

.site-main .flats .wp-block-column {
    padding: 0 3rem;
}

.site-main .flats .wp-block-column:not(:last-child) {
    border-right: 1px solid var(--gray);
}

.site-main .flats h2 {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--column-gap);
    margin: 0 0 3.125rem;
    font-family: "Lexend Zetta";
    font-size: 1.75rem;
    font-style: normal;
    font-weight: 200;
    line-height: normal;
    text-transform: uppercase;
}

.site-main .flats .wp-block-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: var(--column-gap);
    margin: 2.5rem 0 0;
}

.site-main .flats h2::before,
.site-main .flats h2::after,
.site-main .flats .wp-block-buttons::before,
.site-main .flats .wp-block-buttons::after,
.site-main .gallery-section h2::before,
.site-main .gallery-section h2::after {
    content: "";
    display: inline-block;
    border-top: 1px solid var(--gray);
    height: 1px;
    flex-grow: 1;
}

.site-main .flats h2::before {
    margin-right: 0.75rem;
}

.site-main .flats h2::after {
    margin-left: 0.75rem;
}

.site-main .flats h3 {
    text-align: center;
    margin: 0 0 6.25rem;
}

.site-main .flats img {
    width: 100%;
}

.site-main .location {
    margin: 0 0 11.5rem;
    padding: 0 var(--padding-side);
    height: 31.8125rem;
}

.site-main .location .wp-block-columns {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: var(--column-gap);
}

.site-main .location .wp-block-column:first-child {
    grid-column: 1 / span 3;
    display: grid;
    grid-template-columns: subgrid;
}

.site-main .location .wp-block-group {
    grid-column: 1 / span 5;
    display: grid;
    grid-template-columns: subgrid;
    column-gap: var(--column-gap);
    border-top: 1px solid var(--gray);
}

.site-main .location .wp-block-group:last-child {
    border-bottom: 1px solid var(--gray);
}

.site-main .location .wp-block-group .wp-block-image {
    grid-column: 1 / span 1;
    display: grid;
    grid-template-columns: subgrid;
}

.site-main .location .wp-block-group img {
    grid-column: 1 / span 1;
    margin: auto;
}

.site-main .location .wp-block-group h2 {
    grid-column: 2 / span 2;
    font-family: "Lexend Zetta", sans-serif;
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    color: var(--gray2);
}

.site-main .location .wp-block-column:last-child {
    grid-column: span 9 / -1;
    border: 1px solid var(--gray);
    position: relative;
}

.site-main .location .wp-block-column:last-child a {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
}

.site-main .location .wp-block-column:last-child img {
    width: 100%;
    height: 31.8125rem;
    object-fit: cover;
    object-position: 50% 50%;
}

.site-main .gallery-section {
    margin: 0;
    padding: 0 var(--padding-side);
}

.site-main .gallery-section h2 {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--column-gap);
    margin: 0 0 6rem;
}

.site-main .gallery-section-description {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: var(--column-gap);
    /*margin-bottom: 8.125rem;*/
}

.site-main .gallery-section .content:not(:last-of-type) {
    margin-bottom: 9.625rem;
}

.site-main .gallery-section .content:last-of-type {
    margin-bottom: 7.8125rem;
}

.site-main .gallery-section-description .wp-block-column:first-child {
    grid-column: 1 / span 3;
}

.site-main .gallery-section-description .wp-block-column:last-child {
    grid-column: span 6 / -1;
    padding-top: 7.67vw;
}

.site-main .content:last-child .gallery-section-description .wp-block-column:last-child {
    padding-top: 0;
}


.site-main .gallery-section-description p {
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: var(--gray);
}

body .entry-content p:not(:last-child) {
    margin-bottom: 1.2rem;
}

.site-main .gallery-section-description img {
    width: 100% !important;
}

.site-main .gallery-desktop-only {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: var(--column-gap);
    margin-top: -8.5vw !important;
    align-items: flex-end !important;
    gap: 0.5rem;
}

.site-main .gallery-desktop-only img {
    aspect-ratio: 0.8;
}

.site-main .gallery-desktop-only .wp-block-image:nth-child(1) {
    grid-column: 1 / span 3;
    margin: 0 calc(-1*var(--column-gap)) 0 calc(-1*var(--padding-side)) !important;
    width: calc(100% + var(--padding-side) + var(--column-gap)) !important;
    height: 28.89vw;
    object-fit: cover;
    object-position: 50% 50%;
}

.site-main .gallery-desktop-only .wp-block-image:nth-child(1) figcaption {
    padding: 0 0 0 var(--padding-side) ;
    text-align: left;
}

.site-main .gallery-desktop-only figcaption {
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.site-main .gallery-desktop-only .wp-block-image:nth-child(2) {
    grid-column: span 3;
    width: 100% !important;
    height: 28.89vw;
    object-fit: cover;
    object-position: 50% 50%;
    margin: 0 1rem 0 !important;
    padding-right: 1rem;
}

.site-main .gallery-desktop-only .wp-block-image:nth-child(2) figcaption {
    padding: 0;
    text-align: left;
}

.site-main .gallery-desktop-only .wp-block-image:nth-child(3) {
    grid-column: span 6;
    margin: 0 calc(-1*var(--padding-side)) 0 0 !important;
    width: calc(100% + var(--padding-side) + var(--column-gap)) !important;
    height: 19.44vw;
    object-fit: cover;
    object-position: 50% 50%;
}

.site-main .gallery-desktop-only .wp-block-image:nth-child(3) figcaption {
    padding: 0;
    text-align: left;
}

.site-main .gallery-desktop-only figcaption {
    background: none !important;
    text-shadow: none !important;
    color: var(--gray)!important;
    bottom: -2.5rem !important;
}

.wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption):before {
    display: none;
}

.entry-footer {
    display: none;
}

.site-footer {
    display: flex;
    margin: 0;
    background-color: var(--beige);
}

.site-info {
    margin: 0;
    padding: 1.875rem var(--padding-side) 10.625rem;
}

.site-info ul {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: var(--column-gap);
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: var(--gray2);
}

.site-info .back {
    display: none;
    /* grid-column: ; */
}

.site-info .logo {
    grid-column: 1 / span 4;
    padding-top: 0.375rem;
}

.site-info .contact {
    grid-column: 7 / span 2;
}

.site-info .terms {
    grid-column: span 3 / -1 ;
}

.site-info .terms a {
    text-decoration: none;
    color: var(--gray2);
}

.site-info .terms p {
    display: block;
}

.site-footer ul p {
    margin-top: 0;
    display: inline-block;
}

.site-footer p a {
    color: var(--gray2);
    text-decoration: none;
}

.wp-block-uagb-slider {
    display: none;
}

.cf7-custom-form {
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid #d4c5b0;
    background: transparent;
    padding: 12px 0;
    font-size: 16px;
    color: #333;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #d4c5b0;
    font-size: 16px;
    font-weight: 400;
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: #a0916b;
}

.message-group {
    margin-bottom: 40px;
}

.message-group textarea {
    min-height: 120px;
    resize: vertical;
}

.checkbox-group {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-group input[type="checkbox"] {
    margin: 0;
    accent-color: #a0916b;
    cursor: pointer;
}

.checkbox-group label {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
    margin: 0;
}

.submit-group {
    margin-top: 40px;
}

.entry-content .wp-block-filter {
    margin: 2.5rem auto 6rem;
    text-align: center;
}

.apartments-filter ul {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: stretch;
    margin: 0;
    list-style-type: none;
    padding: 0;
}

.apartments-filter ul a {
    display: block;
    font-size: 1.5rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.apartments-filter ul li a {
    color: var(--local_color);
    border-color: var(--local_color);
    outline: none;
}

.apartments-filter li a[href="#apartamente-cu-terasa"] {
    color: var(--brown);
}

.apartments-filter ul li:nth-child(1) {
    --local_color: var(--filter_1);
}

.apartments-filter ul li:nth-child(2) {
    --local_color: var(--filter_2);
}

.apartments-filter ul li:nth-child(3) {
    --local_color: var(--filter_3);
}

.apartments-filter ul li a:hover,
.apartments-filter ul li a.active {
    color: var(--white) !important;
    border-color: var(--local_color) !important;
    background-color: var(--local_color) !important;
}

.apartments-filter ul li:nth-child(2) a:hover,
.apartments-filter ul li:nth-child(2) a.active {
    color: var(--brown) !important;
}

.wp-grid-apartments {
    margin: 0 var(--padding-side) 7.25rem !important;
}

.wp-grid-apartments img {
    display: block;
    max-height: 30.28vw;
}

.wp-grid-apartments .wp-block-columns {
    display: flex;
    gap: 1rem;
    row-gap: 0;
    flex-wrap: wrap;
}

.wp-grid-apartments > .wp-block-columns > .wp-block-column {
    flex-basis: calc(50% - 0.5rem);
}

.wp-grid-apartments > .wp-block-columns > .wp-block-column.hide {
    width: 0 !important;
    height: 0 !important;
    position: absolute;
    overflow: hidden;
}

.wp-grid-apartments > .wp-block-columns > .wp-block-column:nth-last-child(1),
.wp-grid-apartments > .wp-block-columns > .wp-block-column:nth-last-child(2),
.wp-grid-apartments > .wp-block-columns > .wp-block-column:nth-last-child(3) {
    flex-basis: 32%;
}


.wp-grid-apartments > .wp-block-columns > .wp-block-column:nth-last-child(1) .wp-block-columns,
.wp-grid-apartments > .wp-block-columns > .wp-block-column:nth-last-child(2) .wp-block-columns,
.wp-grid-apartments > .wp-block-columns > .wp-block-column:nth-last-child(3) .wp-block-columns {
    flex-direction: column;
}

.wp-grid-apartments > .wp-block-columns > .wp-block-column.even-column .wp-block-column:last-child,
.wp-grid-apartments > .wp-block-columns > .wp-block-column:nth-last-child(1) .wp-block-column:last-child,
.wp-grid-apartments > .wp-block-columns > .wp-block-column:nth-last-child(2) .wp-block-column:last-child,
.wp-grid-apartments > .wp-block-columns > .wp-block-column:nth-last-child(3) .wp-block-column:last-child {
    order: -1;
}

.wp-grid-apartments > .wp-block-columns > .wp-block-column.odd-column .wp-block-column:last-child {
    text-align: right;
}

.wp-grid-apartments > .wp-block-columns > .wp-block-column .wp-block-columns {
    gap: 0;
}

.wp-grid-apartments > .wp-block-columns > .wp-block-column.odd-column .wp-block-column:last-child,
.wp-grid-apartments > .wp-block-columns > .wp-block-column.even-column .wp-block-column:last-child {
    flex-basis: 60%;
}

.wp-grid-apartments > .wp-block-columns > .wp-block-column.odd-column .wp-block-column:first-child,
.wp-grid-apartments > .wp-block-columns > .wp-block-column.even-column .wp-block-column:first-child {
    flex-basis: 40%;
}

.wp-grid-apartments .apartment-description {
    height: 100%;
    display: flex;
    gap: 1rem;
    flex-direction: column;
    padding-bottom: 3.75rem !important;
    align-items: flex-start;
}

.wp-grid-apartments > .wp-block-columns > .wp-block-column.even-column .apartment-description {
    padding: 0 0 0 2.625rem;
    border-left: 1px solid var(--gray);
    transition: all 0s;
}

.wp-grid-apartments > .wp-block-columns > .wp-block-column.odd-column .apartment-description {
    padding: 0 2.625rem 0 0;
    border-right: 1px solid var(--gray);
    transition: all 0s;
}

.wp-grid-apartments > .wp-block-columns > .wp-block-column.odd-column img {
    margin-left: auto !important;
}

.apartment-grid {
    padding: 0.5rem 0;
    border-top: 1px solid var(--gray);
}

.apartment-grid figure {
    padding: 1rem 0 2rem;
}

.wp-grid-apartments > .wp-block-columns > .wp-block-column:nth-last-child(1) img,
.wp-grid-apartments > .wp-block-columns > .wp-block-column:nth-last-child(2) img,
.wp-grid-apartments > .wp-block-columns > .wp-block-column:nth-last-child(3) img {
    max-height: 30vw;
    margin: 0 auto !important;
}

.wp-grid-apartments > .wp-block-columns > .wp-block-column:nth-last-child(1) .apartment-grid,
.wp-grid-apartments > .wp-block-columns > .wp-block-column:nth-last-child(2) .apartment-grid,
.wp-grid-apartments > .wp-block-columns > .wp-block-column:nth-last-child(3) .apartment-grid {
    padding: 0;
}

.wp-grid-apartments > .wp-block-columns > .wp-block-column:nth-last-child(1) figure {
    border-left: 1px solid var(--gray);
}

.wp-grid-apartments > .wp-block-columns > .wp-block-column:nth-last-child(3) figure {
    border-right: 1px solid var(--gray);
}

.wp-grid-apartments > .wp-block-columns > .wp-block-column:nth-last-child(1) figure,
.wp-grid-apartments > .wp-block-columns > .wp-block-column:nth-last-child(2) figure,
.wp-grid-apartments > .wp-block-columns > .wp-block-column:nth-last-child(3) figure {
    padding-top: 2rem;
}

.wp-grid-apartments > .wp-block-columns > .wp-block-column:nth-last-child(1) .apartment-description,
.wp-grid-apartments > .wp-block-columns > .wp-block-column:nth-last-child(2) .apartment-description,
.wp-grid-apartments > .wp-block-columns > .wp-block-column:nth-last-child(3) .apartment-description {
    border: 0;
    padding: 0.875rem 0 0;
    border-top: 1px solid var(--gray);
    position: relative;
    gap:  0;
}

.wp-grid-apartments > .wp-block-columns > .wp-block-column:nth-last-child(1) .apartment-description a,
.wp-grid-apartments > .wp-block-columns > .wp-block-column:nth-last-child(2) .apartment-description a,
.wp-grid-apartments > .wp-block-columns > .wp-block-column:nth-last-child(3) .apartment-description a {
    position: absolute;
    top: 0.875rem;
    right: 0;
}

.wp-grid-apartments > .wp-block-columns > .wp-block-column:nth-last-child(1) .apartment-description h3,
.wp-grid-apartments > .wp-block-columns > .wp-block-column:nth-last-child(2) .apartment-description h3,
.wp-grid-apartments > .wp-block-columns > .wp-block-column:nth-last-child(3) .apartment-description h3 {
    margin-bottom: 0;
}

.wp-grid-apartments div[data-filter="apartamente-cu-gradina"] {
    color: var(--filter_1);
    --local_color: var(--filter_1);
}

.wp-grid-apartments div[data-filter="apartamente-cu-terasa"] {
    color: var(--filter_2);
    --local_color: var(--filter_2);
}

.wp-grid-apartments div[data-filter="apartamente-tip-penthouse"] {
    color: var(--filter_3);
    --local_color: var(--filter_3);
}

.apartment-description a {
    display: inline-block;
    margin-top: auto !important;
}

.apartment-description h3 {
    font-family: "Lexend Zetta";
    font-size: 1.75rem;
    line-height: 2rem;
    font-weight: 200;
    color: var(--local_color);
    text-transform: uppercase;
}

div[data-filter="apartamente-cu-terasa"] .apartment-description h3 {
    color: var(--brown);
}

.apartment-description h4 {
    font-size: 1rem;
    font-weight: 200;
    text-transform: uppercase;
}

.single-apartment .entry-content {
    margin-top: 6rem;
}

.single-apartment .entry-content > .wp-block-columns:first-child {
    margin: 0 var(--padding-side) 2.5rem;
    gap: 1rem;
}

.single-apartment .entry-content > .wp-block-columns:first-child .wp-block-column {
    flex-basis: calc(16.67% - 0.3rem) !important;
}

.single-apartment .entry-content > .wp-block-columns:first-child .wp-block-column:last-child {
    flex-basis: calc(25% - 0.3rem) !important;
}

.single-apartment .entry-content > .wp-block-columns:first-child .wp-block-column:nth-child(1) {
    position: relative;
}

.single-apartment .entry-content > .wp-block-columns:first-child .wp-block-column:nth-child(1) img {
    max-width: min(15.1875rem, 75%) !important;
    width: auto;
    margin: 0 auto;
}

.single-apartment .entry-content > .wp-block-columns:first-child .wp-block-column:nth-child(1) ul {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    list-style-type: none;
}

.single-apartment .entry-content > .wp-block-columns:first-child .wp-block-column:nth-child(1) ul li {
    position: absolute;
    top: -2rem;
    left: calc(50% - 6px);
}

.single-apartment .entry-content > .wp-block-columns:first-child .wp-block-column:nth-child(1) ul li:nth-child(2) {
    left: auto;
    right: 0;
    top: calc(50% - 12px);
}

.single-apartment .entry-content > .wp-block-columns:first-child .wp-block-column:nth-child(1) ul li:nth-child(3) {
    top: auto;
    bottom: -2rem
}

.single-apartment .entry-content > .wp-block-columns:first-child .wp-block-column:nth-child(1) ul li:last-child {
    left: 0;
    top: calc(50% - 12px);
}

.single-apartment .entry-content > .wp-block-columns:first-child .wp-block-column:nth-child(2) {
    flex-basis: calc(66.67% - 0.3rem) !important;
    border-left: 1px solid var(--gray);
    border-right: 1px solid var(--gray);
}

.single-apartment .entry-content > .wp-block-columns.penthouse:first-child .wp-block-column:nth-child(2),
.single-apartment .entry-content > .wp-block-columns.penthouse:first-child .wp-block-column:nth-child(3) {
    flex-basis: calc(33.335% - 0.3rem) !important;
    border-right: 1px solid var(--gray);
}

.single-apartment .entry-content > .wp-block-columns.penthouse:first-child .wp-block-column:nth-child(2) {
    padding-left: 1rem;
}

.single-apartment .entry-content > .wp-block-columns:first-child .wp-block-column:nth-child(2) img {
    max-height: 75vh;
    object-fit: contain !important;
    max-width: unset;
}

.single-apartment .entry-content > .wp-block-columns figure {
    text-align: center;
}

.single-apartment .entry-content > .wp-block-columns:first-child .wp-block-column:nth-child(3),
.single-apartment .entry-content > .wp-block-columns.penthouse:first-child .wp-block-column:nth-child(4) {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-self: stretch;
}

.single-apartment .entry-content h2 {
    font-size: 2rem;
    font-weight: 200;
}

.single-apartment .surface {
    margin-bottom: 4rem !important;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--gray);
    border-bottom: 1px solid var(--gray);
}

.single-apartment .surface strong,
.single-apartment .surface b {
    font-weight: 500;
}

.single-apartment .surface ul,
.single-apartment .entry-content h2 + ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 200;
}



.single-apartment .surface .wp-block-column {
    flex-basis: calc(33.335% - 0.25rem) !important;
}

.single-apartment .surface .wp-block-column:first-child {
    flex-basis: calc(16.67% - 0.25rem) !important;
}

.single-apartment .surface .wp-block-column:nth-child(2) {
    padding-left: 1rem;
    border-left: 1px solid var(--gray);
}

.single-apartment .surface .wp-block-column:last-child {
    flex-basis: calc(25% - 0.25rem) !important;
}

.single-apartment .surface .wp-block-column:not(:last-child):not(:first-child) {
    border-right: 1px solid var(--gray);
}

.single-apartment .entry-content h2 + ul li {
    padding: 1.125rem 0;
    border-top: 1px solid var(--gray);
}

.single-apartment .surface ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.single-apartment .surface ul li strong {
    text-align: right;
    margin-left: auto;
    margin-right: 1.78vw;
    padding-left: 1.25rem;
}

/* Optional: Add some spacing between items */
.single-apartment .surface ul li:not(:last-child) {
    margin-bottom: 0.5rem;
}

.page-template-page-contact .entry-content {
    margin-bottom: 4.5rem;
}

.page-template-page-contact .entry-content > * {
    margin: 0 var(--padding-side);
}

.page-template-page-contact h2 {
    font-size: 1.75rem;
    font-family: "Lexend Zetta";
    font-weight: 200;
    text-transform: uppercase;
    margin-bottom: 4.5rem !important;
}

.page-template-page-contact .entry-content > .wp-block-columns .wp-block-column {
    flex-basis: 50% !important;
}

.page-template-page-contact .entry-content > .wp-block-columns .wp-block-column:last-child {
    padding-left: 8.33%;
    font-size: 1.5rem;
    font-weight: 200;
}

.page-template-page-contact .entry-content > .wp-block-columns .wp-block-column:last-child a {
    color: var(--gray);
    text-decoration: none;
}

.page-template-page-contact .entry-content > .wp-block-columns .wp-block-column:last-child a:hover {
    text-decoration: underline;
    text-decoration-thickness: 1px;
}

.page-template-page-contact .entry-content .form-group input,
.page-template-page-contact .entry-content .form-group textarea,
.page-template-page-contact .entry-content .form-group textarea::placeholder,
.page-template-page-contact .entry-content .form-group input::placeholder {
    font-size: 1rem;
    border-radius: 0;
    font-weight: 300;
}

.page-template-page-contact .entry-content .form-group textarea {
    height: 8rem !important;
    min-height: unset;
    padding-top: 6rem;
}

.wpcf7-form .message-group + .checkbox-group {
    margin-top: 4.5rem;
}

.wpcf7-form .checkbox-group {
    margin-bottom: 1.5rem;
}

.form-group .wpcf7-list-item input {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
}

.form-group .wpcf7-list-item input,
.form-group .wpcf7-list-item label {
    font-size: 1rem;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    border-width: 1px;
    border-radius: 0;
    margin: 1.5rem 0;
    font-weight: 300;
    padding: 0.5rem;
}

.wp-block-sections-logo {
    margin: 3.25rem var(--padding-side) !important;
    padding: 0;
}

.section-group {
    padding: 3rem 0 0;
    /* border-top: 1px solid var(--gray); */
}

.section-title {
    font-family: 'Lexend Zetta';
    font-size: 1.75rem;
    font-weight: 300 !important;
    text-transform: uppercase;
    color: var(--gray);
    text-align: center;
    margin-bottom: 3rem !important;
}

.wp-block-columns.section-blocks {
    gap: 1rem;
    flex-wrap: wrap !important;
    flex-direction: column;
}

.section-block {
    display: flex;
    flex-direction: row;
    flex-grow: 0 !important;
    margin-left: 8.33% !important;
    padding-top: 1rem;
    border-top: 1px solid var(--gray);
}

.section-block > * {
    flex-basis: calc(33.33% - 1rem) !important;
}

.section-block .desc {
    font-size: 1rem;
    font-weight: 400;
}

.section-block.empty {
    background-color: transparent;
}

.block-title {
    font-family: "Lexend";
    font-size: 1.25rem;
    font-weight: 300 !important;
    color: var(--gray);
}

.section-blocks .image-grid {
    margin-top: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap !important;
    justify-content: space-between;
    align-items: center !important;
    min-height: 2.5rem;
    margin-bottom: 1.5rem;
    margin-left: 8.33%;
}

.section-blocks .image-column {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    flex-basis: calc(50% - 1rem) !important;
    flex-grow: 0 !important;
}

.section-blocks .wp-block-image {
    margin: 0;
    text-align: center;
}

.section-blocks .wp-block-image figure {
    margin: 0;
}

.section-blocks .wp-block-image img {
    max-width: 100%;
    height: auto;
    max-height: 80px;
    width: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.75;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    font-size: 1rem;
}

.wpcf7-spinner {
    margin: 0 1rem !important;
}

.site-main .gallery-mobile-only {
    display: none;
}

.mobile-only {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {

    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }

    .wp-block-cover.mobile-only {
        display: flex !important;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cf7-custom-form {
        padding: 0 20px;
    }

    .section-blocks, .section-blocks .image-grid {
        flex-wrap: wrap;
    }

    .section-block, .section-blocks .image-column {
        flex-basis: 100% !important;
        margin-bottom: 20px;
    }

    .section-block {
        margin-left: 0 !important;
        flex-direction: column;
        gap: 1.25rem;
    }

    .section-blocks .image-grid {
        margin-left: 0 !important;
    }

}

@media (max-width: 480px) {
    .form-row {
        gap: 25px;
        margin-bottom: 30px;
    }

    .message-group {
        margin-bottom: 30px;
    }

    .submit-group {
        margin-top: 30px;
    }

    .submit-group input[type="submit"] {
        width: 100%;
        padding: 15px;
    }
}

/* Remove Contact Form 7 default styling */
.wpcf7-form {
    margin: 0;
}

.wpcf7-form p {
    margin: 0;
}

.wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
}

.wpcf7-response-output {
    margin: 20px 0 0 0;
    padding: 15px;
    border-radius: 4px;
}

.wpcf7-mail-sent-ok {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.wpcf7-validation-errors {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.cc-window.cc-floating {
    max-width: 24em !important;
}

body:not(.home):not(.page-template-page-contact):not(.page-template-page-text):not(.single) header .logo svg,
body:not(.home):not(.page-template-page-contact):not(.page-template-page-text):not(.single) header .logo svg * {
    fill: #084677;
}

.single-apartment .entry-content img,
.page-template-page-about .entry-content img {
    max-width: 100% !important;
}

.single-apartment .entry-content > .wp-block-group,
.page-template-page-about .entry-content > .wp-block-group {
    margin: 3.25rem var(--padding-side) 2.625rem;
}

.page-template-page-about .entry-content > .wp-block-group > div {
    padding-left: calc(33.33% + 0.5rem);
}

.single-apartment .entry-content > .wp-block-group .wp-block-column:first-child {
    margin-left: 16.67%;
    padding-right: 4rem;
}

.single-apartment .entry-content > .wp-block-group .wp-block-column:last-child {
    flex-basis: 25% !important;
}

.single-apartment .entry-content > .wp-block-group h2 {
    font-size: 1.5rem;
    font-family: "Lexend";
    text-transform: none;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.single-apartment .entry-content > .wp-block-group ul {
    padding: 0 !important;
}

.single-apartment .entry-content > .wp-block-group ul li {
    padding: 0 !important;
    border-top: 0 !important;
    font-weight: normal !important;
    font-size: 1rem !important;
    text-transform: none !important;
}

.single-apartment .entry-content > .wp-block-group ul li {
    width: 18rem;
}

.single-apartment .entry-content > .wp-block-group ul li strong {
    font-weight: normal !important;
    float: right;
    padding-right: 3rem;
}

.single-apartment .entry-content > .wp-block-columns,
.page-template-page-about .entry-content > .wp-block-columns {
    margin: 0 var(--padding-side);
}

body .entry-content > .wp-block-uagb-icon-list {
    margin: 4.75rem var(--padding-side);
    font-weight: 500;
}

body .entry-content > .wp-block-uagb-icon-list .uagb-icon-list__wrap {
    justify-content: space-between;
}

body .entry-content > .wp-block-uagb-icon-list img {
    width: 2rem !important;
}

body .entry-content > .wp-block-uagb-icon-list .wp-block-uagb-icon-list-child:nth-child(4) img {
    width: 1.5rem !important;
}

body .entry-content > .wp-block-uagb-icon-list .wp-block-uagb-icon-list-child:nth-child(5) img {
    width: 2.5rem !important;
}

body .entry-content .wp-block-separator {
    width: auto !important;
    margin: 0 var(--padding-side);
    border-bottom: 1px solid var(--gray);
}

.wp-singular .entry-content .wp-block-separator {
    margin-bottom: 4.75rem;
}

.single-apartment  .entry-content > .wp-block-separator + .wp-block-group,
.page-template-page-about .entry-content > .wp-block-separator + .wp-block-group {
    margin-top: 1rem;
}

.single-apartment .wp-swiper,
.page-template-page-about .wp-swiper {
    padding: 0 15%;
    margin: 0 0 1.5rem;
}

.swiper-pagination-bullets.swiper-pagination-horizontal {
    bottom: 1rem;
}

.swiper-pagination-clickable .swiper-pagination-bullet {
    width: 0.75rem;
    height: 0.75rem;
    background-color: var(--beige);
    opacity: 0.7;
    margin: 0 0.5rem !important;
}

.swiper-pagination-clickable .swiper-pagination-bullet-active {
    opacity: 1;
}

.wp-swiper .swiper-pagination-bullet {
    width: 0.75rem !important;
    height: 0.75rem !important;
    background-color: #D6CCBB !important;
    opacity: 0.7 !important;
}

.wp-swiper .swiper-pagination-bullet {
    margin: 0 0.5rem !important;
}

.wp-swiper .swiper-pagination-bullet.swiper-pagination-bullet-active {
    opacity: 1 !important;
}

.single-apartment .entry-content,
.page-template-page-about .entry-content {
    padding-bottom: 5.75rem;
}

body:not(.home) .wp-block-cover > div {
    position: absolute;
    top: unset;
    bottom: 1.5rem;
}

body:not(.home) .wp-block-cover p {
    color: var(--beige);
    font-size: 2rem;
    font-weight: 200;
    text-transform: uppercase;
}

.error404 .entry-content,
.page-template-page-text .entry-content {
  margin: 3.25rem var(--padding-side) 2.625rem;
	padding-left: calc(25% + 0.5rem);
}

.error404 .entry-content h2,
.page-template-page-text .entry-content h2 {
	font-size: 1.5rem;
	margin-bottom: 0.75rem;
}

.error404 .entry-content ul,
.error404 .entry-content ol,
.page-template-page-text .entry-content ul,
.page-template-page-text .entry-content ol {
	list-style-position: inside;
	padding-left: 1rem;
	margin-bottom: 1.2rem;
}

@media screen and (max-width: 600px) {
    .site-header .logo {
        display: none;
    }

    .main-navigation .logo {
        display: flex;
    }

    .menu-menu-container {
        display: none;
    }

    .menu-toggle {
        margin: 0 auto;
        padding: 0;
        width: 1.5rem;
        height: 1.5rem;
        background-image: url('data:image/svg+xml,<svg width="24" height="20" viewBox="0 0 24 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M24 2H0" stroke="%234D4D4F" stroke-width="3"/><path d="M24 10H0" stroke="%234D4D4F" stroke-width="3"/><path d="M24 18H0" stroke="%234D4D4F" stroke-width="3"/></svg>');
        background-repeat: no-repeat;
        background-position: center;
        background-color: transparent;
        border: none;
        color: transparent;
    }

    .site-header {
        position: relative;
        z-index: 1;
        display: flex;
        margin: var(--padding-side-mobile) var(--padding-side-mobile) 0;
        padding: 0;
        width: calc(100vw - 2*var(--padding-side-mobile));
    }

    .site-header .main-navigation {
        margin: 0;
        padding: 0;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        column-gap: var(--column-gap);
        align-items: center;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.20);
        backdrop-filter: blur(5px);
    }

    .site-header .logo svg {
        width: 6rem;
    }

    .main-navigation .logo {
        grid-column: 1 / span 1;
        justify-content: center;
        align-items: center;
    }

    .main-navigation .logo svg {
        mix-blend-mode: normal;
    }

    .main-navigation .menu-toggle {
        grid-column: span 1 / -1;
    }

    .site-header .main-navigation.toggled {
        grid-template-rows: 2.75rem auto;
        padding-top: 1.25rem;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.60);
        backdrop-filter: blur(10px);
        height: calc(100vh - 2*var(--padding-side-mobile));
    }

    .toggled .logo {
        grid-row: 1 / span 1;
    }

    .toggled .menu-toggle {
        grid-row: 1 / span 1;
        background-image: url('data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M20 3.33333C10.7953 3.33333 3.33334 10.7953 3.33334 20C3.33334 29.2047 10.7953 36.6667 20 36.6667C29.2048 36.6667 36.6667 29.2047 36.6667 20C36.6667 10.7953 29.2048 3.33333 20 3.33333Z" fill="white"/><path fill-rule="evenodd" clip-rule="evenodd" d="M13.8215 13.8215C14.4724 13.1706 15.5276 13.1706 16.1785 13.8215L20 17.643L23.8215 13.8215C24.4724 13.1706 25.5276 13.1706 26.1785 13.8215C26.8294 14.4724 26.8294 15.5276 26.1785 16.1785L22.357 20L26.1785 23.8215C26.8294 24.4724 26.8294 25.5276 26.1785 26.1785C25.5276 26.8294 24.4724 26.8294 23.8215 26.1785L20 22.357L16.1785 26.1785C15.5276 26.8294 14.4724 26.8294 13.8215 26.1785C13.1706 25.5276 13.1706 24.4724 13.8215 23.8215L17.643 20L13.8215 16.1785C13.1706 15.5276 13.1706 14.4724 13.8215 13.8215Z" fill="%2312131A"/></svg>');
        width: 2rem;
        height: 2rem;
    }

    .toggled .menu-menu-container {
        grid-column: 1 / -1;
        grid-row: 2 / span 1;
        display: flex;
        /*width: calc(100vw - 2*var(--padding-side-mobile));*/
        border-bottom-left-radius: 16px;
        border-bottom-right-radius: 16px;
    }

    .toggled .menu-menu-container ul {
        flex-direction: column;
    }

    .toggled .menu-menu-container a {
        font-size: 1.5rem;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
    }

    .site-header .main-navigation .current_page_item > a {
        font-weight: 500;
    }

    .toggled .nav-menu {
        margin-left: calc((100vw - 5*var(--padding-side-mobile))/4 - 3.75rem) !important;
        text-align: left;
        gap: 2.25rem;
    }

    .site-main {
        margin-top: -5.5rem;
    }

    .site-main .wp-block-cover {
        height: 95svh;
    }

    .home .site-main .wp-block-cover {
        height: 85svh;
    }

    .site-main .custom-logo-link {
        width: calc(100% - 3*var(--padding-side-mobile));
    }

    .site-main .custom-logo {
        width: 100% !important;
        height: auto !important;
    }

    .site-main .wp-block-cover__inner-container {
        display: flex;
        flex-direction: column;
        top: 5.375rem;
    }

    .site-main .entry-content h1 {
        margin: 1.875rem calc(var(--padding-side-mobile)*1.5) 6.25rem;
        font-size: 1.75rem;
        font-style: normal;
        font-weight: 200;
        line-height: normal;
        letter-spacing: 7px;
        text-transform: uppercase;
    }

    .entry-content .about {
        padding: 0 var(--padding-side-mobile);
    }

    .entry-content .about .wp-block-columns {
        display: grid;
        grid-template-columns: repeat(4,1fr);
        grid-template-rows: auto auto;
        column-gap: var(--column-gap);
        row-gap: 2.6875rem;
        padding: 0;
    }

    .entry-content .about .wp-block-column {
        grid-column: 1 / -1 !important;
        margin: 0 !important;
    }

    .entry-content .about .wp-block-column:last-child {
        grid-row: 1 / span 1;
        padding: 2.875rem 0 0;
    }

    .entry-content .about h2 {
        margin-bottom: 2.1875rem;
        font-size: 1.3125rem;
        font-style: normal;
        font-weight: 200;
        line-height: 1.5rem;
        text-transform: uppercase;
        text-align: center;
    }

    .entry-content .about h4 {
        margin-bottom: 2.875rem;
        font-size: 1.125rem;
        font-style: normal;
        font-weight: 300;
        line-height: normal;
        text-align: center;
    }

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

    .entry-content .about .wp-block-column:first-child {
        grid-row: 2 / span 1;
    }

    .site-main .flats {
        padding: 2.6875rem var(--padding-side-mobile) 2.5625rem;
    }

    .site-main .flats h2 {
        margin-bottom: 2.8125rem;
    }

    .site-main h2::before,
    .site-main h2::after {
        visibility: hidden;
    }

    .site-main .flats h3 {
        margin-bottom: 1.75rem;
        padding-top: 0.5rem;
        border-top: 1px solid var(--gray);

    }

    .site-main .flats .wp-block-columns {
        gap: 2rem;
    }

    .site-main .flats .wp-block-column {
        padding: 0;
    }

    .site-main .flats .wp-block-column:not(:last-child) {
        border-right: none;
    }

    .site-main .flats figure {
        padding: 0 var(--padding-side-mobile);
    }

    .site-main .flats .wp-block-buttons {
        margin-top: 3rem;
    }

    .wp-block-buttons::before,
    .wp-block-buttons::after {
        visibility: hidden;
    }

    .site-main .location {
        margin-bottom: 4rem;
        padding: 0 var(--padding-side-mobile);
        height: fit-content;
    }

    .location iframe {
        height: 60vh;
    }

    .site-main .location .wp-block-columns {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: auto auto;
        column-gap: var(--column-gap);
        row-gap: 2.5rem;
    }

    .site-main .location .wp-block-column:last-child {
        grid-column: 1 / -1;
        grid-row: 1 / span 1;
    }

    .site-main .location .wp-block-column:last-child img {
        height: 28rem;
    }

    .site-main .location .wp-block-column:first-child {
        grid-column: 1 / -1;
        grid-row: 2 / span 1;
        display: flex;
        flex-wrap: wrap;
    }

    .site-main .location .wp-block-group {
        padding: 1.25rem 0;
        flex-basis: 50%;
        position: relative;
    }

    .site-main .location .wp-block-group img {
        width: 2.625rem;
    }

    .site-main .location .wp-block-group h2 {
        grid-column: 2 / span 3;
        color: var(--gray);
        margin-left: 0.5rem;
        font-family: "Lexend";
        font-size: 1rem;
        font-style: normal;
        font-weight: 200;
        line-height: normal;
        text-transform: unset;
        margin: 0;
    }

    .site-main .location .wp-block-group:nth-child(2n+1):after {
        content: "";
        display: block;
        position: absolute;
        top: 0.625rem;
        bottom: 0.625rem;
        right: 0;
        border-right: 1px solid var(--gray);
    }

    .site-main .location .wp-block-group:nth-last-child(2) {
        border-bottom: 1px solid var(--gray);
    }

    .site-main .gallery-section {
        padding: 0 var(--padding-side-mobile);
    }

    .site-main .gallery-section-description {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        row-gap: 3rem;
    }

    .site-main .gallery-section-description .wp-block-column:first-child {
        margin-right: 1.5rem;
    }

    .site-main .gallery-section-description .wp-block-column:last-child {
        grid-column: 1 / -1;
        padding-top: 0;
    }

    .site-main .gallery-section h2 {
        margin-bottom: 4.375rem;
        font-size: 1.75rem;
        font-style: normal;
        font-weight: 200;
        line-height: normal;
        text-transform: uppercase;
    }

    .site-main .gallery-desktop-only {
        display: none;
    }

    .site-main .gallery-mobile-only {
        display: flex;
        padding: 0 !important;
        aspect-ratio: 0.8;
    }

    .site-main .gallery-section .content:not(:last-of-type) {
        margin-bottom: 5.25rem;
    }

    .site-info {
        padding: 1.4375rem var(--padding-side-mobile) 3.375rem;
        width: 100%;
    }

    .site-info .back {
        display: block;
        grid-column: 1 / -1;
        order: 1;
        margin-bottom: 7.1875rem;
    }

    .site-info .back a {
        color: var(--gray2);
        text-decoration: none;
    }

    .site-info .contact {
        grid-column: 1 / -1;
        order: 2;
        margin-bottom: 4.0625rem;
        padding-right: 20%;
    }

    .site-info .terms {
        grid-column: 1 / -1;
        order: 3;
        margin-bottom: 6.75rem;
    }

    .site-info .logo {
        grid-column: 1 / -1;
        order: 4;
    }

    .home .swiper-content .wp-block-image img {
        width: 100% !important;
        min-width: unset !important;
    }

    .wp-block-uagb-slider {
        margin-top: 1.5rem !important;
    }

    .home .wp-block-uagb-slider-child .swiper-content {
        padding: 0 !important;
    }

    .wp-block-uagb-slider .swiper-pagination-bullet {
        width: 0.75rem !important;
        height: 0.75rem !important;
        background-color: #D6CCBB !important;
        opacity: 0.7 !important;
    }

    .wp-block-uagb-slider .swiper-pagination-bullet.swiper-pagination-bullet-active {
        opacity: 1 !important;
    }

    .uagb-slider-container .swiper-button-prev,
    .uagb-slider-container .swiper-button-next {
        display: none !important;
    }

    .uagb-slider-container.uagb-block-75fbc476 .swiper-pagination {
        bottom: 58px !important;
    }

    .wp-block-uagb-slider-child figcaption {
        padding-top: 1rem;
        text-align: left !important;
    }

    .wp-block-uagb-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .site-main .flats h2 {
        width: 100%;
        display: block;
        align-self: stretch;
        text-align: center;
        letter-spacing: 0.2375rem;
    }

    .site-main .flats h2::before, .site-main .flats h2::after {
        display: none;
    }

    .site-main .entry-content > * {
        padding-left: 0;
        padding-right: 0;
    }

    .home .site-main .entry-content > * {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .single-apartment .entry-content > .wp-block-group,
    .page-template-page-about .entry-content > .wp-block-group {
        margin: 1.5rem 1rem;
    }

    .single-apartment .entry-content > .wp-block-group > div,
    .page-template-page-about .entry-content > .wp-block-group > div {
        padding-left: 0;
        padding-right: 0;
    }

    .single-apartment .entry-content > .wp-block-columns,
    .page-template-page-about .entry-content > .wp-block-columns {
        margin: 0 1rem;
    }

    body .entry-content > .wp-block-uagb-icon-list {
        margin: 2rem 1rem 0;
    }

    body .entry-content > .wp-block-uagb-icon-list .uagb-icon-list__wrap {
        flex-direction: column;
        align-items: flex-start;
    }

    body .entry-content > .wp-block-uagb-icon-list .uagb-icon-list__wrap .wp-block-uagb-icon-list-child {
        padding: 1.5rem 0 1.5rem 1rem;
        border-top: 1px solid var(--gray);
        flex-basis: 100%;
        width: 100%;
    }

    body .entry-content .wp-block-separator {
        margin: 0 1rem;
    }

    .wp-block-uagb-icon-list-child span.uagb-icon-list__source-wrap {
        width: 3.5rem;
        text-align: center;
        padding-right: 1.5rem !important;
    }

    .single-apartment .wp-swiper,
    .page-template-page-about .wp-swiper {
        margin: 1rem 1rem 2rem !important;
        width: calc(100% - 2rem) !important;
    }

    .page-template-page-contact .entry-content > * {
        margin: 0 1rem;
    }

    .page-template-page-contact h2 {
        padding-top: 1rem;
        border-top: 1px solid var(--gray);
        margin-bottom: 2.5rem !important;
    }

    .cf7-custom-form {
        padding: 0;
    }

    .wpcf7-form .message-group + .checkbox-group {
        margin-top: 3.5rem;
    }

    .wpcf7-form .checkbox-group {
        margin-bottom: 1rem;
    }

    .page-template-page-contact .entry-content > .wp-block-columns .wp-block-column:last-child {
        padding-left: 0;
    }

    .page-template-page-contact .entry-content > .wp-block-columns {
        gap: 4.5rem;
    }

    .single-apartment .entry-content > .wp-block-columns:first-child {
        margin: 0 1rem 2rem;
        flex-direction: column;
        gap: 2rem;
    }

    .single-apartment .entry-content > .wp-block-columns:first-child .wp-block-column {
        flex-basis: 100% !important;
    }

    .single-apartment .entry-content > .wp-block-columns.penthouse:first-child .wp-block-column:nth-child(4),
    .single-apartment .entry-content > .wp-block-columns:first-child .wp-block-column:nth-child(3) {
        order: -1;
    }

    .single-apartment .entry-content > .wp-block-columns.penthouse:first-child .wp-block-column:nth-child(3) {
        order: unset;
    }

    .single-apartment .entry-content > .wp-block-columns:first-child .wp-block-column:nth-child(1) {
        margin: 2rem 0;
    }

    .single-apartment .entry-content > .wp-block-columns:first-child .wp-block-column:nth-child(1) img {
        max-width: 50% !important;
        max-height: unset;
        margin: 0 auto;
    }

    .single-apartment .entry-content h2 {
        margin-bottom: 2rem;
    }

    .single-apartment .entry-content h2 + ul {
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 1.125rem;
        row-gap: 0;
        margin-bottom: 2rem;
    }

    .single-apartment .entry-content h2 + ul li:last-child,
    .single-apartment .entry-content h2 + ul li:nth-last-child(2) {
        border-bottom: 1px solid var(--gray);
    }

    .single-apartment .entry-content h2 + ul li {
        flex-basis: calc(50% - 1.125rem/2);
    }

    .single-apartment .entry-content > .wp-block-columns:first-child .wp-block-column:nth-child(2) {
        border: 0;
    }

    .single-apartment .entry-content > .wp-block-columns:first-child .wp-block-column:nth-child(2) img {
        max-height: unset;
        object-fit: cover !important;
    }

    .single-apartment .surface .wp-block-column:nth-child(2) {
        padding-left: 0;
        border: 0;
    }

    .single-apartment .entry-content > .wp-block-columns.penthouse:first-child .wp-block-column:nth-child(2), .single-apartment .entry-content > .wp-block-columns.penthouse:first-child .wp-block-column:nth-child(3),
    .single-apartment .surface .wp-block-column:not(:last-child):not(:first-child) {
        border: 0;
    }

    body:not(.home) .wp-block-cover p {
        font-size: 1.25rem !important;
    }

    .entry-content .wp-block-filter {
        margin: 2rem 1rem 4.5rem;
    }

    .wp-singular .entry-content .wp-block-separator {
        margin-bottom: 1.5rem;
    }

    .apartments-filter ul {
        flex-direction: column;
        align-items: stretch;
    }

    .apartments-filter ul a {
        padding-left: 0;
        padding-right: 0;
        font-size: 1.25rem;
    }

    .wp-grid-apartments {
        margin: 0 1rem 5.125rem !important;
    }

    .wp-grid-apartments > .wp-block-columns > .wp-block-column .wp-block-columns {
        flex-direction: column;
    }

    .wp-grid-apartments > .wp-block-columns > .wp-block-column.odd-column .wp-block-column:last-child {
        order: -1;
    }

    .apartment-grid {
        padding: 0;
        border: 0;
    }

    .wp-grid-apartments img {
        max-height: unset !important;
        width: 100%;
    }

    .apartment-grid figure {
        padding: 0;
        padding-bottom: 0.75rem;
    }

    div[data-filter="apartamente-cu-terasa"] img {
        width: 75%;
        margin: 0 auto !important;
    }

    .wp-grid-apartments > .wp-block-columns > .wp-block-column.even-column .apartment-description,
    .wp-grid-apartments > .wp-block-columns > .wp-block-column.odd-column .apartment-description {
        padding: 0;
        border: 0;
    }

    .apartment-description a {
        font-size: 1.125rem;
        padding-left: 0;
        padding-right: 0;
        align-self: stretch;
        text-align: center;
    }

    .wp-grid-apartments > .wp-block-columns > .wp-block-column:nth-last-child(1), .wp-grid-apartments > .wp-block-columns > .wp-block-column:nth-last-child(2), .wp-grid-apartments > .wp-block-columns > .wp-block-column:nth-last-child(3) {
        flex-basis: 100%;
    }

    .wp-grid-apartments > .wp-block-columns > .wp-block-column:nth-last-child(1) figure,
    .wp-grid-apartments > .wp-block-columns > .wp-block-column:nth-last-child(2) figure,
    .wp-grid-apartments > .wp-block-columns > .wp-block-column:nth-last-child(3) figure {
        border: 0;
        padding-bottom: 1.125rem;
    }

    .wp-grid-apartments > .wp-block-columns > .wp-block-column:nth-last-child(1) .apartment-description a, .wp-grid-apartments > .wp-block-columns > .wp-block-column:nth-last-child(2) .apartment-description a, .wp-grid-apartments > .wp-block-columns > .wp-block-column:nth-last-child(3) .apartment-description a {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        top: 0;
    }

    .wp-grid-apartments > .wp-block-columns > .wp-block-column:nth-last-child(1),
    .wp-grid-apartments > .wp-block-columns > .wp-block-column:nth-last-child(2),
    .wp-grid-apartments > .wp-block-columns > .wp-block-column:nth-last-child(3) {
        border-bottom: 1px solid var(--beige);
    }

    .wp-grid-apartments > .wp-block-columns > .wp-block-column:nth-last-child(3) {
        border-top: 1px solid var(--beige);
        margin-top: 0.5rem;
    }

    .wp-grid-apartments > .wp-block-columns > .wp-block-column:nth-last-child(3) figure {
        padding-top: 1rem;
    }

    .wp-grid-apartments > .wp-block-columns > .wp-block-column {
        position: relative;
    }

    .wp-grid-apartments > .wp-block-columns > .wp-block-column.even-column::before {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: -0.5rem;
        bottom: 0;
        border-left: 1px solid var(--beige);
    }

    .wp-grid-apartments > .wp-block-columns > .wp-block-column:nth-last-child(2)::before {
        border-left: 0;
    }

    .wp-grid-apartments .apartment-description {
        padding-bottom: 1.5rem !important;
    }

    .wp-block-sections-logo {
        margin: 1.5rem !important;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .block-title {
        font-size: 1.25rem;
    }

    .image-grid:empty {
        display: none;
    }

    .image-grid.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
        flex-basis: calc(33.33% - 1rem) !important;
        flex-grow: 0 !important;
    }

    .gallery-section .wp-swiper {
        margin-top: 2rem;
    }

    .gallery-section .wp-swiper figcaption {
        padding-top: 1rem;
        text-align: left;
    }

    .gallery-section .mobile-only img {
        width: 100%;
    }

    .gallery-section .swiper-pagination-bullets.swiper-pagination-horizontal {
        bottom: 3rem;
    }

    .gallery-section .swiper-wrapper .wp-swiper__slide {
        align-self: flex-end;
    }

    .single-apartment .surface ul li strong {
        padding-left: 0.25rem;
    }

    .error404 .entry-content,
    .page-template-page-text .entry-content {
        margin: 1.5rem !important;
        padding-left: 0;
    }
}