:root{
    --verde-doors: #4B5D39;
    --rosso-dors: #A3422B;
    --blu-doors: #647E91;
    --sabbia: #F3C696;
    --sabbia-doors: #F2E9DC;
    --nero: #020304;
    --bianco: #F5F4F2;
    --verde-changes: #339967 ;
}

.entry-header {
    display: flex !important;
    padding-top: 120px;
    padding-bottom: 60px;
    flex-direction: column;
    gap: 60px;
}

.entry-content{
    margin: 0 !important;
}

.categoria-iniziative-evento-dal-vivo .entry-header {
    background-color: var(--verde-doors);
    color: var(--bianco);
}

.categoria-iniziative-evento-virtuale .entry-header {
    background-color: var(--rosso-dors);
    color: var(--bianco);
}

.categoria-iniziative-evento-dal-vivo-virtuale .entry-header {
    background-color: var(--blu-doors);
    color: var(--bianco);
}

.entry-header .header-button{
    padding: 6px 15px 6px 75px;
    border-bottom: solid 1px var(--sabbia-doors);
    width: fit-content;
    display: flex;
    flex-direction: row;
    gap: 10px;

    color: var(--sabbia-doors);
    text-align: center;
    /* Botton */
    font-family: "DM Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
}

.entry-header .header-button::before{
    content: "";
    width: 15px;
    height: auto;
    background-image: url("../img/icon/arrow.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
}

.entry-header .header-content{
    display: flex;
    flex-direction: row;
    gap: 60px;
    padding-left: 60px;
    padding-right: 60px;
}

.entry-header .header-content h1{
    font-size: 84px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    text-transform: uppercase;
}


.entry-header .header-content .header-txt,
.entry-header .header-content .post-thumbnail{
    width: 50%;
}

.entry-header .header-content .post-thumbnail{
    aspect-ratio: 1/1;
    background-repeat: no-repeat !important;
    background-size: auto 100% !important;
    background-position: center center !important;
    position: relative;
}

.entry-header .header-content .header-txt{
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.entry-content .main-content{
    max-width: 1024px;
    margin: 0 auto;
    padding-top: 60px;
    padding-bottom: 60px;
    display: flex;
    flex-direction: row;
    gap: 60px;
}

.taxonomy-terms.spoke{
    display: flex;
    flex-direction: row;
    gap: 10px;
    flex-wrap: wrap;
}

.taxonomy-terms.spoke .spokeItem{
    background: url(../img/spokeFrame.svg) no-repeat left center;
    aspect-ratio: 1 / 1;
    width: 45px;
    height: 45px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    color: var(--bianco);
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
}

.taxonomy-terms.citta-iniziative{
    color: var(--bianco);
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    opacity: .75;
}

.callToAction{
    margin-top: 40px;
    display: inline-flex;
    padding: 15px 15px 15px 30px;
    justify-content: center;
    align-items: center;
    gap: 60px;
    width: fit-content;

    border-radius: 120px;
    background: var(--verde-changes);
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    position: fixed;
    bottom: 30px;
}

.callToAction .textCallToAction{
    display: flex;
    flex-direction: column;

    font-size: 36px;
    font-style: normal;
    font-weight: 400;
    line-height: 110%;
}

.callToAction .textCallToAction span{
    color: var(--bianco);
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    text-transform: uppercase;
    padding: 5px 0;
}

.callToAction .buttonsCallToAction{
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.callToAction .buttonsCallToAction .button{
    display: flex;
    height: 60px;
    padding: 10px 30px;
    justify-content: center;
    align-items: center;
    gap: 10px;

    border-radius: 60px;
    background: var(--nero);

    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 110%;

    color: var(--bianco)
}

.callToAction .buttonsCallToAction .button.prenota::after{
    content: "";
    width: 24px;
    height: 24px;
    background-image: url("../img/icon/prenota.svg");
}

.callToAction .buttonsCallToAction .button.play::after{
    content: "";
    width: 24px;
    height: 24px;
    background-image: url("../img/icon/play-video.svg");
    background-repeat: no-repeat;
    background-position: center;
}

.callToAction .buttonsCallToAction .button.telefono::after{
    content: "";
    width: 24px;
    height: 24px;
    background-image: url("../img/icon/tel.svg");
}

.callToAction .buttonsCallToAction .button.mail::after{
    content: "";
    width: 24px;
    height: 24px;
    background-image: url("../img/icon/mail.svg");
}

.contenuto-principale{
    width: calc(100% - 380px);
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contenuto-principale .testo-iniziativa{
    display: contents;
}

.contenuto-principale .testo-iniziativa p{
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
}

.contenuto-sidebar{
    width: 320px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    color: var(--nero);
}

.badge.tipo-iniziativa{
    border-radius: 5px;

    display: flex;
    height: 30px;
    padding: 5px 10px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: fit-content;

    color: var(--nero);
    text-align: center;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;

    color: var(--nero);
    background: rgba(0, 0, 0, 0.05);
}

.badge.tipo-iniziativa.evento-dal-vivo{
    background: var(--verde-doors);
    color: var(--sabbia-doors);
}

.badge.tipo-iniziativa.evento-virtuale{
    background: var(--rosso-dors);
    color: var(--sabbia-doors);
}

.badge.tipo-iniziativa.evento-dal-vivo--virtuale{
    background: var(--blu-doors);
    color: var(--sabbia-doors);
}

.badgeList{
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.progetto-collegato{
    display: flex;
    padding: 15px;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    align-self: stretch;

    border-radius: 15px;
    background: var(--sabbia);
}

.progetto-collegato h3{
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    color: var(--nero);
}

.progetto-collegato p{
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    color: var(--nero);
}

.iniziativa-contacts{
    display: flex;
    padding: 15px;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    align-self: stretch;

    border-radius: 15px;
    background: var(--rosso-dors);
    color: var(--bianco);
}

.iniziativa-contacts h3{
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
}

.iniziativa-contacts a{
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 110%;

    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
}

.iniziativa-contacts a::before{
    content: "";
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
}

.iniziativa-contacts a.telefono::before{
    background-image: url("../img/icon/tel.svg");
}

.iniziativa-contacts a.mail::before{
    background-image: url("../img/icon/mail.svg");
}

.contenuto-sidebar .map{
    display: flex;
    height: 60px;
    padding: 10px 30px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    border-radius: 60px;
    background: var(--nero);
    color: var(--bianco);

    font-size: 16px;
    font-style: normal;
    font-weight: 700;
}

.contenuto-sidebar .map::after{
    content: "";
    width: 24px;
    height: 24px;
    background-image: url("../img/icon/map.svg");
}

.dettaglio-iniziativa{
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dettaglio-iniziativa h4{
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    color: var(--nero);
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
}

.dettaglio-iniziativa h4::before{
    content: "";
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
}

.dettaglio-iniziativa p{
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    color: var(--nero);
}

.dettaglio-iniziativa.promotore h4::before{
    background-image: url("../img/icon/promotore.svg");
}

.dettaglio-iniziativa.tipo-evento h4::before{
    background-image: url("../img/icon/tipo-evento.svg");
}

.dettaglio-iniziativa.indirizzo h4::before{
    background-image: url("../img/icon/indirizzo.svg");
}

.dettaglio-iniziativa.numero-visitatori h4::before, .dettaglio-iniziativa.team-ricerca h4::before{
    background-image: url("../img/icon/numero-visitatori.svg");
}

.dettaglio-iniziativa.data-orari h4::before{
    background-image: url("../img/icon/data-orari.svg");
}

.dettaglio-iniziativa.prezzo h4::before{
    background-image: url("../img/icon/prezzo.svg");
}

.dettaglio-iniziativa.accessibile h4::before{
    background-image: url("../img/icon/accessibile.svg");
}

.virtual-experience{
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 30px;
    background: var(--blu-doors);
    align-items: center;
}

.virtual-experience .virtual-experience-content{
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
    width: 50%;
}

.virtual-experience .virtual-experience-content .strillo{
    color: var(--bianco);
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    text-transform: uppercase;
    padding: 5px 0;
}

.virtual-experience .virtual-experience-content h3{
    color: var(--bianco);
    font-size: 36px;
    font-style: normal;
    font-weight: 400;
    line-height: 110%
}

.virtual-experience .virtual-experience-content .button, .callToAction .button{
    display: flex;
    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%;
}

.virtual-experience .virtual-experience-img{
    width: 50%;
}

.virtual-experience .virtual-experience-img .experience-image{
    aspect-ratio: 16/9;
    border-radius: 3px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.virtual-experience .virtual-experience-content .button.coming-soon::after, .button.coming-soon::after{
    content: "";
    width: 24px;
    height: 24px;
    background: url(../img/icon/coming-soon.svg);
}

.mask{
    transform: scale(1.01);
}

@media screen and (max-width: 1024px){
    .entry-header{
        padding-top: 90px;
        padding-bottom: 30px;
    }

    .entry-header .header-content{
        flex-direction: column;
        padding-left: 30px;
        padding-right: 30px;
        gap: 0;
    }

    .entry-header .header-content .header-txt, .entry-header .header-content .post-thumbnail{
        width: 100%;
    }

    .callToAction{
        position: fixed;
        bottom: 50px;
        margin: 0;
        left: 30px;
        z-index: 100;
    }

    .entry-header .header-content .header-txt, .entry-header .header-content .post-thumbnail{
        position: relative;
    }

    .entry-header .header-content h1{
        font-size: 56px;
        line-height: 90%;
    }

    .taxonomy-terms.citta-iniziative{
        margin-top: 30px;
    }

    .mask{
        position: relative;
        width: 100%;
    }

    .entry-content .main-content{
        flex-direction: column;
    }

    .entry-content .main-content{
        padding: 60px;
    }

    .contenuto-principale, .contenuto-sidebar{
        width: 100%;
    }
}

@media screen and (max-width: 960px){
    .entry-header{
        padding-top: 120px;
        padding-bottom: 15px;
        gap: 30px;
    }

    .entry-header .header-button{
        padding-left: 15px;
    }

    .entry-header .header-content{
        padding-left: 15px;
        padding-right: 15px;
        gap: 30px;
    }

    .entry-header .header-content h1{
        font-size: 40px;
    }

    .taxonomy-terms.citta-iniziative{
        font-size: 28px;
        margin: 0;
    }

    .entry-content .main-content{
        padding: 30px 15px;
    }

    .callToAction .buttonsCallToAction .button{
        font-size: 0;
        width: 60px;
        padding: 0;
        gap: 0;
    }

    .callToAction .textCallToAction{
        font-size: 24px;
    }

    .virtual-experience{
        flex-direction: column;
    }

    .virtual-experience .virtual-experience-img, .virtual-experience .virtual-experience-content{
        width: 100%;
    }

    .callToAction{
        gap: 10px;
        left: unset;
        left: 50%;
        transform: translateX(-50%);
        z-index: 100;
        width: max-content;
    }
}
