.text-terrasse-block {
	position: relative;
	padding-top: var(--mt-mobile, 0);
	padding-bottom: var(--mb-mobile, 0);
	background-color: var(--wp--preset--color--background);
	display: flex;
    height: 100vh;
}

@media (min-width: 851px) {
	.text-terrasse-block {
		padding-top: var(--mt-desktop, 0);
		padding-bottom: var(--mb-desktop, 0);
	}
}
.text-terrasse-inner{
    display: flex;
    width: 100%;
    padding: 0 var(--gutters);
    position: relative;
}
.text-terrasse-img-bkg{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
}
.text-terrasse-img-bkg img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.text-terrasse-img-bkg::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(241, 236, 230, 0.8);
}
.text-terrasse-content{
    display: flex;
    width: 100%;
    position: relative;
    z-index: 1;
    justify-content: space-around;
    align-items: center;
}
.text-terrasse-text-1 img{
    width: 100px;
    margin-top: 2rem;
}
.text-terrasse-text-2{
    margin-top: 7rem;
}
.text-terrasse-text-2 .wp-block-button{
    margin-top: 2rem;
}
.text-terrasse-text-2 .is-style-montrose-beige a{
    font-size: 12px;
}
@media (min-height: 1080px) {
    .text-terrasse-block{
        height: 80vh;
    }
}

/* Modal Styles */
body.text-terrasse-modal-open {
	overflow: hidden;
}

.text-terrasse-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity 260ms ease;
}

.text-terrasse-modal.is-open {
	opacity: 1;
	pointer-events: auto;
}

.text-terrasse-modal__backdrop {
	position: absolute;
	inset: 0;
	border: 0;
	padding: 0;
	margin: 0;
	background: rgba(0, 0, 0, 0.72);
	cursor: pointer;
}

.text-terrasse-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(92vw, 1200px);
	max-height: 88vh;
	padding: 1.5rem;
	opacity: 0;
	transform: scale(0.96);
	transition:
		opacity 260ms ease,
		transform 260ms ease;
}

.text-terrasse-modal.is-open .text-terrasse-modal__dialog {
	opacity: 1;
	transform: scale(1);
}

.text-terrasse-modal__close {
	position: absolute;
	top: 0.4rem;
	right: 0.7rem;
	border: 0;
	background: transparent;
	color: var(--wp--preset--color--blanc);
	font-size: 2rem;
	line-height: 1;
	cursor: pointer;
	z-index: 2;
}

.text-terrasse-modal__content {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
}

.text-terrasse-modal__content img {
	display: block;
	max-width: 100%;
	max-height: 82vh;
	width: auto;
	height: auto;
	object-fit: contain;
}
@media (max-width: 576px) {
    .text-terrasse-block{
        height: auto;
        min-height: 60vh;
    }
    .text-terrasse-content{
        flex-direction: column;
        gap: 2rem;
        align-items: flex-start;
    }
    .text-terrasse-content.one-col{
        align-items: center;
    }
    .text-terrasse-text-1 img{
        display: none;
    }
    .text-terrasse-text-2{
        margin-top: 0;
    }
	.text-terrasse-text-2 p br{
		display: none;
	}
	.text-terrasse-text-1 p:first-child br{
		display: none;
	}
}