:root{
    --verde-doors: #4B5D39;
    --rosso-dors: #A3422B;
    --blu-doors: #647E91;
    --sabbia: #F3C696;
    --sabbia-doors: #F2E9DC;
    --nero: #020304;
    --bianco: #F5F4F2;
    --verde-changes: #339967 ;
}

/* Home */
.door-header-content{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 240px 120px 150px 120px;
    background-color: var(--verde-doors);
    flex-direction: column;
}


.door-header-content h2{
    color: var(--sabbia-doors);
    font-size: 36px;
    font-style: normal;
    font-weight: 400;
    line-height: 110%;
}

.door-header-content .header-img{
    width: 100%;
    height: auto;
    max-width: 600px;
}

.door-of-changes-main .wp-block-columns, .door-of-changes-main .entry-content{
    margin: 0 !important;
}

.door-of-changes-main .wp-block-columns{
    max-width: unset;
    padding: 0;
    gap: 60px;
}

.intro .colIntro{
    padding: 120px 90px 120px 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.intro .colIntro p{
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}


.intro .colIntro p.smallTitle{
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    text-transform: uppercase;
}

.intro .colIntro h2{
    font-size: 72px;
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
}

.intro .wp-block-cover{
    height: 100%;
}

.intro .colIntro .playVideo a{
    border-radius: 60px;
    background: var(--nero);
    display: flex;
    height: 60px;
    padding: 10px 30px;
    justify-content: center;
    align-items: center;
    gap: 10px;

    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 110%;

    color: var(--bianco);
}

.intro .colIntro .playVideo a::after{
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid var(--bianco);
}

.intro .colIntro .playVideo.noIcon a{
    background: none;
    border: var(--bianco) solid;
    color: var(--bianco);
}

.intro .colIntro .playVideo.noIcon a::after{
    display: none;
}

.saveTheDates{
    padding: 120px;
}

.saveTheDates .wp-block-cover__background {
    display: block !important;
    background: var(--nero);
    opacity: .75 !important;
}

.saveTheDates.wp-block-cover p.smallTitleSlim{
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    text-transform: uppercase;
    width: fit-content;
}

.saveTheDates .saveTheDatesContent .wp-block-group__inner-container{
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.saveTheDates .wp-block-list{
    margin: 0;
    display: ruby;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    list-style: none;
}

.saveTheDates .wp-block-list li{
    font-size: 56px;
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    color: var(--sabbia-doors);
    position: relative;
    margin-right: 30px;
}

.saveTheDates .wp-block-list li::before{
    content: '•';
    position: absolute;
    left: -28px;
    color: var(--verde-changes);
    font-size: 56px;
    font-weight: 400;
}

.saveTheDates .datesList{
    display: flex;
    flex-direction: row;
    gap: 0;
    border: solid 1px var(--sabbia-doors);
    max-width: 730px;
    margin: 0 auto !important;
    border-radius: 15px;
}

.saveTheDates .datesList p{
    white-space: nowrap;
    padding: 20px 30px;
}

.saveTheDates .datesList div:nth-child(2) p{
    border-right: solid 1px var(--sabbia-doors);
    border-left: solid 1px var(--sabbia-doors);
}

.mappa.intro .wp-block-column{
    align-items: center;
}

.mappa.intro .wp-block-column h2{
    font-size: 48px;
}

.mappa.intro{
    max-height: 500px;
}

.mappa.intro iframe{
    border: none;
    width: 100%;
    height: 500px;
    border: none;
}

.fullTitleBanner{
    padding: 120px 60px;
}

.fullTitleBanner .wp-block-group__inner-container{
    gap: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fullTitleBanner h2{
    font-size: 48px;
}

.bottom-menu{
    position: fixed;
    bottom: 15px;
    width: 100%;
    z-index: 100;
}

.bottom-menu .bottom-menu-content{
    margin-left: auto;
    margin-right: auto;
    background: var(--verde-changes);
    padding: 15px 15px 15px 30px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    border-radius: 120px;
    width: fit-content;
    display: flex;
    flex-direction: row;
    gap: 60px;
}

.bottom-menu .bottom-menu-content .bottom-menu-txt{
    color: var(--bianco);
    font-size: 36px;
    font-style: normal;
    font-weight: 400;
    line-height: 110%;
    display: flex;
    align-items: center;
}

.bottom-menu .bottom-menu-content .bottom-menu-links{
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.bottom-menu .bottom-menu-content .bottom-menu-links a{
    display: flex;
    width: 148px;
    height: 60px;
    padding: 10px 30px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 60px;
    background: var(--nero);

    color: var(--bianco);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
}

.bottom-menu .bottom-menu-content .bottom-menu-links a::after{
    content: '';
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    aspect-ratio: 1/1;
}

.bottom-menu .bottom-menu-content .bottom-menu-links a.mappa::after{
    background: url('../img/icon/mappa.svg') no-repeat center;
}

.bottom-menu .bottom-menu-content .bottom-menu-links a.podcast::after{
    background: url('../img/icon/podcast.svg') no-repeat center;
}

.bottom-menu .bottom-menu-content .bottom-menu-links a.exp::after{
    background: url('../img/icon/esperienza.svg') no-repeat center;
}

.image-frame{
    transform: scale(1.01);
}

.colophon{
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 90px;
    margin-bottom: 90px;
}

.filter-section.open .accordion-filter-content {
    overflow-y: scroll;
}

@media screen and (max-width: 1024px) {

    .door-header-content{
        padding: 120px 60px;
    }

    .bottom-menu .bottom-menu-content .bottom-menu-txt{
        display: none;
    }

    .bottom-menu .bottom-menu-content .bottom-menu-links a{
        font-size: 0;
        gap: 0;
        width: 0;
    }

    .bottom-menu .bottom-menu-content{
        padding: 15px;
    }

    .door-of-changes-main .wp-block-columns{
        flex-direction: column;
    }

    .intro .colIntro{
        padding: 60px;
    }

    #mappa.intro .colIntro{
        padding: 0;
        width: 50%;
    }

    .saveTheDates{
        padding: 60px;
    }

    .saveTheDates .wp-block-list{
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .saveTheDates .datesList div:nth-child(2) p{
        border-left: none;
        border-right: none;
        border-bottom: solid 1px var(--sabbia-doors);
        border-top: solid 1px var(--sabbia-doors);
    }

    .door-of-changes-main .wp-block-columns.mappa{
        flex-direction: row;
        gap: 0;
    }

    .fullTitleBanner{
        padding: 60px 0;
        gap: 30px;
    }

    #podcast_widget{
        max-height: 480px;
    }

    .iniziative-filter#esperienze{
        flex-direction: column;
        padding: 60px 30px;
    }

    #esperienze #iniziative-results{
        gap: 8px;
        justify-content: center;
    }

    #iniziative-results .initiative-card{
        min-width: 170px;
        max-width: calc(25% - 12px);
    }

    .initiative-card h2{
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        align-self: stretch;
    }

    #esperienze #iniziative-results .initiative-card .post-image .initiative-details{
        flex-direction: column;
        gap: 5px;
    }

    #esperienze #iniziative-results .initiative-card .post-image .overlay{
        opacity: .7;
    }

    #iniziative-results .initiative-card:hover .post-image .overlay .buttonScopri{
        display: none;
    }

    #iniziative-results .initiative-card:hover .post-image::after{
        transform: scale(1);
    }

    .filters-container{
        position: fixed;
        z-index: 10000;
        width: 100%;
        background: var(--bianco);
        left: 0;
        bottom: 0;
        transform: translateY(100%);
        transition: all ease-in-out .3s;
        padding: 15px 15px 30px 15px;
        border-radius: 15px 15px 0 0;
        box-shadow: 0 -5px 15px 0 rgba(0, 0, 0, 0.15);
    }

    .filters-container.open{
        transform: translateY(0);
        z-index: 150;
    }

    #esperienze .filter-header.open {
        position: relative;
    }

    #esperienze .filter-header.open .before-overlay {
        background: rgba(0, 0, 0, .5);
        cursor: pointer;
        z-index: 10;
        width: 100%;
        height: 100vh;
        position: fixed;
        top: 0;
        left: 0;
        visibility: visible;
        opacity: 1;
        transition: all ease-in-out .3s;
    }

    #esperienze .filter-container .filter-header p{
        border: solid 1px var(--nero);
        width: fit-content;
        padding: 10px 15px;
        border-radius: 50px;
        display: flex;
        flex-direction: row;
        gap: 15px;
        cursor: pointer;
    }

    #esperienze .filter-container .filter-header p::before{
        content: "";
        background: url(../img/icon/search.svg);
        width: 24px;
        height: 24px;
    }

    .headerFilters{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        height: 30px;
        margin-bottom: 30px;
    }

    .headerFilters .closeButton{
        display: flex;
        width: 30px;
        height: 30px;
        justify-content: center;
        align-items: center;
        gap: 10px;
        aspect-ratio: 1/1;
        border-radius: 30px;
        border: 1px solid #D9D9D9;
        background: #D9D9D9;
        transform: rotate(45deg);
        cursor: pointer;
    }

    .headerFilters .closeButton::after{
        content: "";
        background: url(../img/icon/x_rotate.svg);
        width: 15px;
        height: 15px;
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .headerFilters .titleFilters{
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        gap: 15px;

        color: var(--nero);
        text-align: center;
        /* Botton */
        font-size: 16px;
        font-style: normal;
        font-weight: 700;
        line-height: 110%;
        align-items: center;
    }

    .headerFilters .titleFilters::before{
        content: "";
        width: 24px;
        height: 24px;
        background: url(../img/icon/search.svg);
    }

    .footerFilters{
        margin-top: 30px;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 15px;
        justify-content: center;
    }

    .footerFilters #applyFilters{
        display: flex;
        height: 45px;
        padding: 6px 15px;
        justify-content: center;
        align-items: center;
        gap: 10px;
        border-radius: 5px;
        border: 1px solid rgba(2,3,4, 1);
        background: rgba(2,3,4, 1);
        color: #fff;
        text-align: center;
        font-size: 16px;
        font-style: normal;
        font-weight: 700;
        line-height: 110%;
        cursor: pointer;
    }


    .footerFilters #resetFilters{
        display: flex;
        height: 45px;
        padding: 6px 15px;
        justify-content: center;
        align-items: center;
        gap: 10px;
        border-radius: 5px;
        border: 1px solid var(--nero);

        color: var(--nero);
        font-size: 16px;
        font-style: normal;
        font-weight: 700;
        line-height: 110%;

        cursor: pointer;
    }

    .footerFilters #resetFilters::before{
        content: "";
        width: 15px;
        height: 15px;
        background: url('../img/icon/arrow_black.svg');
    }

    .filter-container{
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media screen and (max-width: 960px){

    .door-header-content h2{
        font-size: 30px;
        text-align: center;
    }

    .colophon{
        margin-left: 30px;
        margin-right: 30px;
        margin-top: 60px;
        margin-bottom: 60px;
    }

    .door-header-content {
        padding: 120px 30px 60px 30px;
    }

    .door-of-changes-main .wp-block-columns{
        gap: 30px;
    }

    .intro .colIntro{
        padding: 0 15px 30px 15px;
        gap: 30px;
    }

    .intro .colIntro h2{
        font-size: 40px;
        font-style: normal;
        font-weight: 700;
        line-height: 110%;
    }

    .saveTheDates .wp-block-list li{
        margin: 0;
        font-size: 40px;
        font-style: normal;
        font-weight: 700;
        line-height: 110%;
    }

    .saveTheDates .saveTheDatesContent .wp-block-group__inner-container{
        gap: 15px;
    }

    .saveTheDates{
        padding: 30px !important;
    }

    .door-of-changes-main .saveTheDates .wp-block-columns{
        margin-top: 15px !important;
        gap: 0;
    }

    #mappa.intro .colIntro{
        padding: 30px;
        gap: 15px;
        width: 100%;
    }

    .mappa.intro .wp-block-column h2{
        font-size: 40px;
    }

    .door-of-changes-main .wp-block-columns.mappa{
        flex-direction: column;
        flex-wrap: nowrap !important;
    }

    .intro .colIntro p.smallTitle, .saveTheDates.wp-block-cover p.smallTitleSlim, p.smallTitle{
        font-size: 12px;
    }

    .mappa.intro {
        max-height: 630px;
    }

    .fullTitleBanner{
        padding: 30px;
    }

    .fullTitleBanner .wp-block-group__inner-container{
        gap: 15px;
    }

    .fullTitleBanner h2{
        font-size: 40px;
        text-align: center;
    }

    .iniziative-filter#esperienze{
        padding: 30px 5px 0 5px;
        gap: 30px;
    }

    #esperienze .filter-container .filter-header{
        margin-bottom: 0;
        gap: 15px;
    }

    #esperienze .filter-container .filter-header h2{
        font-size: 40px;
    }

    #esperienze .filter-container .filter-header p{
        color: var(--nero);
    }

    #esperienze #iniziative-results{
        row-gap: 15px;
        column-gap: 8px;
    }

    #iniziative-results .initiative-card{
        max-width: calc(50% - 9px);
    }
}
