/*
Theme Name: Tenuta Montedolce Theme
Description: Custom Theme for Tenuta Montedolce
Author: BBrothersADV
Author URI: https://www.bbadv.it
Template: twentytwentyfive
Version: 1.0.0
*/
/**
    * CH01 - BASIC RULES
    * CH02 - MAIN & CONTENT
    * CH03 - FOOTER
    * CH04 - MEDIA QUERIES
**/
/*CH01 - BASIC RULES*/
html {
    scrollbar-gutter: stable;
}

:where(.wp-site-blocks *:focus) {
    outline-style: none;
}

:root {
    --app-header-h: 0px;
}

html,
body {
    overscroll-behavior-x: none;
    overscroll-behavior-y: auto;
}

.d-block {
    display: block;
}

.d-none {
    display: none;
}

.w-100 {
    width: 100%;
    max-width: none;
}

.fw-100 {
    font-weight: 100 !important;
}

.fw-400 {
    font-weight: 400 !important;
}

.fw-500 {
    font-weight: 500 !important;
}

.fw-600 {
    font-weight: 600 !important;
}

.fw-700 {
    font-weight: 700 !important;
}

.fw-900 {
    font-weight: 900 !important;
}

.ft-adobe-garamond {
    font-family: "Adobe Garamond Pro", serif !important;
}

.ft-cormorant-garamond {
    font-family: "Cormorant Garamond", serif !important;
}

.ft-garamond-premier {
    font-family: "Garamond Premier Pro", serif !important;
}

.ft-montserrat {
    font-family: "Montserrat", sans-serif !important;
}

.ft-bely {
    font-family: 'BelyDisplayW00-Regular', serif !important;
}

.ft-playfair {
    font-family: 'Playfair Display', serif;
}

.likeh1 {
    font-size: clamp(30px, 3.9vw, 74px);
}

.likeh2 {
    font-size: clamp(20px, 1.9vw, 30px);
}

.likeh3 {
    font-size: clamp(26px, 2.5vw, 50px);
}

.standard-text {
    font-size: clamp(16px, 1.6vw, 20px);
}

.small-text {
    font-size: clamp(14px, 0.85vw, 16px);
}

.advise-text {
    font-size: 12px;
}

.padding-x {
    padding-right: clamp(30px, 7vW, 140px);
    padding-left: clamp(30px, 7vW, 140px);
}

.padding-x-low {
    padding-right: clamp(15px, 2vW, 35px);
    padding-left: clamp(15px, 2vW, 35px);
}

.padding-x-hi {
    padding-right: clamp(50px, 12vW, 240px);
    padding-left: clamp(50px, 12vW, 240px);
}

.padding-y {
    padding-top: clamp(30px, 7vW, 140px);
    padding-bottom: clamp(30px, 7vW, 140px);
}

.padding-top {
    padding-top: clamp(30px, 7vW, 140px);
}

.padding-y-low {
    padding-top: clamp(15px, 2vW, 35px);
    padding-bottom: clamp(15px, 2vW, 35px);
}

.padding-y-hi {
    padding-top: clamp(50px, 12vW, 240px);
    padding-bottom: clamp(50px, 12vW, 240px);
}

.padding-top-low {
    padding-top: clamp(15px, 2vW, 35px);
}

.padding-x-hi {
    padding-right: clamp(50px, 12vW, 240px);
    padding-left: clamp(50px, 12vW, 240px);
}

.mt-0 {
    margin-top: 0;
}

.mb-0 {
    margin-bottom: 0;
}

.ml-0 {
    margin-left: 0;
}

.mr-0 {
    margin-right: 0;
}

.m-0 {
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
}

.pt-0 {
    padding-top: 0;
}

.pb-0 {
    padding-bottom: 0;
}

.pl-0 {
    padding-left: 0 !important;
}

.pr-0 {
    padding-right: 0 !important;
}

.p-0 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.m-par-bottom {
    margin-bottom: 1.4em !important;
}

.underline {
    text-decoration: underline !important;
}

.small-underline {
    text-decoration-thickness: 0.04em !important;
}

.italic {
    font-style: italic;
}

.uppercase {
    text-transform: uppercase;
}

.lowercase {
    text-transform: initial !important;
}

.text-center {
    text-align: center;
}

.hidden {
    display: none;
}

.mobile {
    display: none !important;
}

.hidden {
    display: none !important;
}

.line1 {
    line-height: 1;
}

.line14 {
    line-height: 1.6;
}

.color-white {
    color: #FFFFFF;
}

.color-gold {
    color: #d2b88d;
}

.color-black {
    color: #1D1D1B;
}

.button-logo {
    width: 180px;
    height: 180px;
    max-width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 12px !important;
    margin-right: 12px !important;
    border: 1px solid #d2b88d;
    transition: 0.25s ease-in-out;

    figure {
        margin-bottom: 0;
        max-height: 70%;
        max-width: 70%;
    }

    img {
        max-height: 100%;
        max-width: 100%;
        width: auto;
    }
}

.button-logo:hover {
    transform: scale(1.02);
}

.classic-button {
    display: inline-block;
    padding: 10px 25px;
    border: 2px solid #d2b88d;
    transition: 0.25s ease-in-out;
}

.classic-button:hover {
    transform: scale(1.02);
}

.title-whith-sep {
    position: relative;
}

.title-whith-sep:after {
    position: absolute;
    content: '';
    width: 120px;
    height: 4px;
    background-color: #d2b88d;
    left: 50%;
    transform: translateX(-50%);
    bottom: clamp(7.5px, 1.2vW, 12.5px)
}

body * {
    letter-spacing: initial;
}

body p {
    font-family: "Adobe Garamond Pro", serif;
    color: #FFFFFF;
}

a {
    text-decoration-thickness: 0 !important;
    text-decoration: none !important;
}

section {
    margin-block-start: 0 !important;
}

/*CH02 - MAIN & CONTENT*/
main,
.entry-content {
    padding: 0;
    margin: 0;
}

.entry-content {
    max-width: none;
}

main {
    :where(.is-layout-flex) {
        gap: 0 !important;
    }
}

/*Pagina*/
.header-section,
.header-section>div,
.header-slide-auto {
    position: relative;
    min-height: 600px;
    min-height: max(600px, 100vh);
    min-height: max(600px, 100svh);
    min-height: max(600px, 100dvh);
}

.header-section:before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: #000000;
    opacity: 0.5;
    z-index: 0;
}

.header-section.credits:before {
    opacity: 1;
}

.header-section>div {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1;

    .main-title {
        line-height: 1.4;
    }

    .sub-title {
        letter-spacing: 0.12vW;
    }

    .button-row {
        margin-top: clamp(15px, 3.5vw, 60px);
    }

    .discover-button {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .last-element {
        margin-top: 0;
        position: absolute;
        bottom: 40px;
        left: 50%;
        transform: translateX(-50%);
    }

    .read-more-button {
        display: inline-block;
        transition: 0.25s ease-in-out;
    }

    .discover-button-box:hover .read-more-button {
        transform: translateY(0.20vW);
    }
}

.tenuta-article {
    h2 {
        margin-bottom: clamp(15px, 3.5vw, 60px);
    }

    .classic-button {
        margin-top: clamp(15px, 2vW, 35px);
    }
}

.concept-slider-container {
    position: relative;
    overflow: hidden;
    /* Nasconde tutto (sia X che Y) */
    width: 100%;
}

.concept-slider-container.is-pinned {
    overflow: hidden;
}

.concept-slider-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    height: 100%;
    will-change: transform;
}

.concept-slider-track>.header-slide-auto.concept {
    flex: 0 0 100vw !important;
    min-width: 100vw !important;
    width: 100vw !important;
    max-width: 100vw !important;
    justify-content: center;
    -webkit-user-select: none;
    user-select: none;
    will-change: transform;
    transform: translateZ(0);
}

.rosso-description-box {
    align-items: stretch;

    .rosso-description-text {
        padding: clamp(35px, 5vw, 80px);
    }
}

.rosso-description-box:last-of-type {
    background-position: right;
}

.rosso-description-box>* {
    width: 50%;

    .description-logo img {
        max-width: 180px;
        max-height: 150px;
        width: auto;
    }

    .description-title {
        padding-top: clamp(25px, 2.5vw, 50px);
        padding-bottom: 5px;
    }

    .rosso-sign-italic {
        padding-bottom: clamp(15px, 2vw, 30px);
    }
}

.exp-callaction-wrapper {
    padding-bottom: clamp(95px, 19vw, 385px);
}

.exp-callaction-box {
    background-color: #03030363;

    .exp-callaction-title.likeh2 {
        margin-bottom: 25px;
    }

    .exp-callaction-title img {
        height: 100px;
    }

    .classic-button {
        margin-top: clamp(15px, 2vW, 35px);
    }
}

.exp-info-wrapper {
    position: relative;
}

.exp-info-wrapper:before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: #d2b88dd9;
}

.exp-info-box {
    position: relative;
    z-index: 1;

    .img-row {
        margin-top: clamp(-385px, -19vw, -95px);
        margin-right: calc(var(--wp--preset--spacing--20) * -1);
        margin-left: calc(var(--wp--preset--spacing--20) * -1);
    }
}

.exp-info-box.nospace .img-row {
    margin-right: 0;
    margin-left: 0;

    figure {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

.cit-icon img {
    margin-top: clamp(25px, 3.2vw, 60px);
    margin-bottom: clamp(25px, 3.2vw, 60px);
    position: relative;
    z-index: 1;
    width: auto;
    height: 70px;
}

.drosso-cit {
    position: relative;
    font-size: clamp(25px, 3.2vw, 60px);
    line-height: 1.2;
    z-index: 1;
}

.drosso-sign {
    position: relative;
    padding-top: 15px;
    font-size: clamp(15px, 1.5vw, 20px);
    z-index: 1;
}

.experience-types-section {
    h2 {
        margin-bottom: clamp(15px, 1.5vw, 20px);
    }

    h3 {
        padding-bottom: 15px;
        margin-bottom: 35px;
        border-bottom: 1px solid #1D1D1B;
        width: 100%;
    }

    .exp-row-box {
        margin-top: 130px;
        margin-bottom: 100px;

        article {
            margin-left: clamp(16px, 2.2vw, 40px);
            margin-right: clamp(16px, 2.2vw, 40px);
            border-radius: clamp(18px, 1.8vw, 25px);

            >div:first-of-type {
                padding: clamp(35px, 5vw, 80px) clamp(15px, 1.9vw, 30px);
                border-radius: clamp(16px, 1.6vw, 22px);
            }

            >div:last-of-type {
                padding: clamp(15px, 1.9vw, 30px);

                .price {
                    font-size: clamp(25px, 3.2vw, 60px);
                    line-height: 1;
                }
            }

        }

        .exp-2 {
            transform: scale(1.1);
        }

        ul {
            list-style-type: "– ";
            padding-left: 1em;
        }
    }
}

.fregonese-section>div>div:first-of-type img {
    margin-top: 0;
}

.experience-section {
    aspect-ratio: 4/3;

    .exp-callaction-title {
        margin-bottom: clamp(25px, 3.2vw, 60px);
    }

    .classic-button {
        margin-top: clamp(25px, 3.2vw, 60px);

    }

    .experience-form {
        padding: clamp(15px, 2vW, 35px) clamp(30px, 7vW, 140px);
        font-family: "Montserrat", sans-serif;
        background-color: #03030363;
    }

    .row-form {
        display: flex;
        justify-content: space-between;

        >* {
            width: 48%;

            input,
            select,
            textarea {
                width: 100%;
                border: 2px solid #d2b88d;
                padding: 10px;
                font-family: "Montserrat", sans-serif;
                font-size: clamp(15px, 1.2vw, 18px);
                box-sizing: border-box;
            }

            input::placeholder,
            textarea::placeholder,
            select {
                font-family: "Montserrat", sans-serif;
                font-size: clamp(15px, 1.2vw, 18px);
            }

            .wpcf7-not-valid-tip {
                font-size: clamp(14px, 0.85vw, 16px);
            }

            input[type=submit] {
                margin-top: initial;
                font-size: clamp(14px, 0.85vw, 16px);
                background-color: transparent;
                color: #FFFFFF;
            }

        }
    }

    .wpcf7 form.sent .wpcf7-response-output {
        font-size: clamp(14px, 0.85vw, 16px);
        text-align: center;
        color: #d2b88d;
        border-color: transparent;
    }

    .row-form.textarea,
    .row-form.last {
        justify-content: center;
        flex-direction: column;

        >* {
            width: 100%;

            input {
                width: initial;
            }
        }
    }

    .col-form p {
        margin-top: 0;
        margin-bottom: 15px;
    }

    .col-form.submit p {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 0;

        .wpcf7-spinner {
            margin-top: 5px;
        }
    }

    .col-form.acceptance .wpcf7-list-item {
        margin-left: 0;
        line-height: 1;
    }
}

/*CH03 - FOOTER*/
footer {
    margin-top: 0 !important;
    padding: clamp(25px, 3.2vw, 60px) clamp(30px, 7vw, 140px);
    color: #FFFFFF;
    background-color: #010304;
}

.top-footer {
    p {
        margin-top: 0;
        margin-bottom: 0;
    }

    p:last-of-type {
        margin-bottom: 15px;
    }

    a.buttonstyle {
        display: inline-block;
        padding: 6px 8px 2px 8px;
        margin-left: 5px;
        margin-right: 5px;
        margin-bottom: 25px;
        line-height: 1;
        border: 1px solid #d2b88d;
        transition: 0.25s ease-in-out;
    }

    a.buttonstyle:hover {
        transform: scale(1.04);
    }

    .top-footer-column {
        margin: 40px auto 0 auto;
        display: flex;
        justify-content: center;
        align-items: stretch;
        text-align: left;

        .col1 {
            border-right: 1px solid #d2b88d;
            padding-right: 20px;
        }

        .col2 {
            padding-left: 20px;
        }

        .title-addr {
            margin-bottom: 15px;
            padding-left: 33px;
            position: relative;
        }

        .title-addr.pin:before {
            content: '';
            position: absolute;
            top: 50%;
            left: 0;
            transform: translateY(-50%);
            background-image: url(/wp-content/uploads/2026/01/location-dot-solid-full.svg);
            background-repeat: no-repeat;
            background-size: cover;
            width: 30px;
            height: 30px;
        }

        .title-addr.comp:before {
            content: '';
            position: absolute;
            top: 50%;
            left: 0;
            transform: translateY(-50%);
            background-image: url(/wp-content/uploads/2026/01/building-regular-full.svg);
            background-repeat: no-repeat;
            background-size: cover;
            width: 30px;
            height: 30px;
        }
    }
}

.bottom-footer {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #d2b88d;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.iub__us-widget {
    display: none !important;
}

/*CH04 - MEDIA QUERIES*/
@media screen and (max-width:1600px) {
    .line14 {
        line-height: 1.5;
    }

    .m-par-bottom {
        margin-bottom: 1.2em !important;
    }

    .rosso-description-box>* {
        .description-logo img {
            max-width: 160px;
            max-height: 130px;
        }
    }
}

@media screen and (max-width:1024px) {
    .button-logo {
        width: 150px;
        height: 150px;
    }

    .header-section>div .read-more-button img {
        height: 40px;
        width: 40px;
    }

    .rosso-description-box>* {
        .description-logo img {
            max-width: 150px;
            max-height: 120px;
        }
    }

    .title-whith-sep:after {
        width: 100px;
        height: 4px;
    }

    .cit-icon img {
        height: 50px;
    }
}

@media screen and (max-width:1023px) {
    .experience-types-section .exp-row-box {
        flex-direction: column;
        margin-top: 0;
        margin-bottom: 0;

        article {
            margin-left: 0;
            margin-right: 0;
            margin-top: 50px;
        }

        article:last-of-type {
            margin-bottom: 50px;
        }

        .exp-2 {
            transform: none;
        }
    }
}

@media screen and (max-width:991px) {

    html,
    body {
        height: 100%;
    }

    .desktop {
        display: none !important;
    }

    .mobile {
        display: block !important;
    }

    .rosso-description-box:last-of-type {
        background-position: right -200px center;
    }

    .experience-section {
        padding: 0;

        .experience-wrapper {
            padding-top: clamp(30px, 7vW, 140px);
            padding-bottom: clamp(30px, 7vW, 140px);
            background-color: #03030363;
        }

        .experience-form {
            padding: 0;
            background-color: transparent;
        }
    }
}

@media screen and (max-width:767px) {

    .padding-x,
    .padding-x-hi,
    .padding-x-low {
        padding-left: 30px;
        padding-right: 30px;
    }

    .small-text {
        font-size: 12px;
    }

    .concept-slider-container {
        position: relative;
        width: 100%;
        overflow: hidden !important;
    }

    .concept-slider-track {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        width: max-content;
        will-change: transform;
        transform: translate3d(0, 0, 0);
    }

    .concept-slider-track>article.header-slide-auto.concept {
        flex: 0 0 100vw;
        width: 100vw;
        max-width: 100vw;
        height: calc(100svh - var(--app-header-h));
        min-height: calc(100svh - var(--app-header-h));
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: scroll;
    }

    .concept-slider-track img,
    .concept-slider-track video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .concept-slider-container.is-pinned {
        cursor: grab;
    }

    .concept-slider-track>article.header-slide-auto.concept:last-child {
        padding-bottom: 0;
    }

    .header-section>div {
        .main-title {
            line-height: 1;
            margin-bottom: 25px;
        }

        .button-row {
            flex-direction: column;
        }
    }

    .button-logo:first-of-type {
        margin-bottom: 25px !important;
    }

    .rosso-description-box {
        flex-direction: column-reverse;
        position: relative;
        background-color: #00000077 !important;

        >div {
            width: 100%;
        }

        .rosso-description-img {
            position: absolute;
            inset: 0;
            z-index: -1;
        }
    }

    .title-whith-sep:after {
        content: none;
    }

    .cit-icon img {
        height: 40px;
    }

    .drosso-cit {
        text-align: center;
    }

    .rosso-description-box>* {
        .description-logo img {
            max-width: 120px;
            max-height: 100px;
        }
    }

    .fregonese-section .rosso-description-box {
        background-position: initial;
    }

    .exp-info-box {
        .img-row {
            flex-direction: column;
            margin-left: 0;
            margin-right: 0;

            figure {
                margin-right: 0;
                margin-left: 0;
                margin-bottom: 25px;
            }
        }
    }

    .experience-types-section .exp-row-box {
        article {
            margin-top: 30px;
        }

        article:last-of-type {
            margin-bottom: 30px;
        }
    }

    .experience-section {
        .experience-form {
            background-color: transparent;
            padding-left: 0;
            padding-right: 0;
            padding-bottom: 0;
        }

        .row-form {
            justify-content: center;
            flex-direction: column;

            >* {
                width: 100%;
            }

        }
    }

    .top-footer {
        a img {
            width: 25px;
            height: 25px;
        }

        .top-footer-column {
            flex-direction: column;
            align-items: center;
            text-align: center;

            .col1 {
                border-right: none;
                padding-right: 0;
                border-bottom: 1px solid #d2b88d;
                margin-bottom: 25px;
            }

            .col2 {
                padding-left: 0;
            }

            .title-addr.pin:before {
                width: 25px;
                height: 25px;
            }

            .title-addr {
                width: fit-content;
                margin: 0 auto 15px auto;
            }

            .title-addr.pin {
                padding-left: 28px;
            }
        }
    }

}

@media screen and (max-width:570px) {

    .button-logo {
        width: 120px;
        height: 120px;
    }

    .credits .d-block {
        display: inline;
    }

    .bblogo {
        max-width: 170px;
    }

}

@media screen and (max-width:335px) {
    footer {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}