/**
* Theme Name: Zaan Child
* Description: This is a child theme of Zaan.
* Author: <a href="https://neuronthemes.com">NeuronThemes</a>
* Template: zaan
* Version: 1.0.0
*/

.sidebar-categories:before{
    display: none !important;
}

.archive-post .m-neuron-post__meta-data {
    display: flex !important;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: center;
    text-transform: uppercase;
}
.archive-post .m-neuron-post__meta-data span:not(:last-child){
    margin-left: 10px;
}

.archive-post .m-neuron-post__meta-data .terms{
    background: #1B1C19;
    padding: 5px 10px;
}

.archive-post .m-neuron-post__meta-data .terms a {
    color: #fff !important;
}

/* Form */
.form-cf7 label{
    padding-bottom: 8px;
    margin-bottom: 0;
    font-family: var(--e-global-typography-accent-font-family), Sans-serif;
    font-size: var(--e-global-typography-accent-font-size);
    font-weight: var(--e-global-typography-accent-font-weight);
    text-transform: var(--e-global-typography-accent-text-transform);
    line-height: var(--e-global-typography-accent-line-height);
    letter-spacing: var(--e-global-typography-accent-letter-spacing);
    color: #000;
}

.form-cf7 textarea{
    max-height: 200px;
}

.form-cf7 .wpcf7-acceptance > .wpcf7-list-item{
    margin-left: 0;
}

.form-cf7 .form-cf7-wrapper > div:not(:last-of-type){
    margin-bottom: 24px ;
}

.form-cf7 label.required:after{
    content: "*";
    color: red;
    padding-left: .2em;
}
/* Form */

/* Sidebar Contatti */
.sidebar-contatti{
    padding: 24px;
    border: 1px solid #00000015;
    display: flex;
    flex-direction: column;
}

.sidebar-contatti .sidebar-contatti-content-container{
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    text-align: center;
}

.sidebar-contatti .sidebar-contatti-link{
    background: #000;
    color: #fff;
    padding: 16px;
    border: 1px solid #000;
    transition: all 0.3s;
}

.sidebar-contatti .sidebar-contatti-link:hover{
    color: #000;
    background: #ffffff00;
}
/* Sidebar Contatti */

.wp-block-search__inside-wrapper{
    display: flex;
}


@media (max-width: 768px){
    .l-neuron-grid__item{
        min-width: 100%;
    }
}

@media screen and (min-width: 1024px) {
    .home-archive-post .l-neuron-grid__item:not(:last-child) .m-neuron-post__inner.m-neuron-post__inner--classic{
        padding-bottom: 40px;
        border-bottom: 1px solid #00000015;
    }


    .home-archive-post .m-neuron-post__text{
        display: flex;
        flex-direction: column;
    }

    .home-archive-post .m-neuron-post__text > *:last-child{
        margin-top: auto;
    }

    .home-archive-post .m-neuron-post__meta-data{
        justify-content: space-between;
    }


}

@media screen and (max-width: 1024px) {
    .home-archive-post .l-neuron-grid{
        margin: 0 !important;
    }
    .home-archive-post .m-neuron-post__thumbnail--link{
        flex-shrink: unset !important;
    }
    .home-archive-post .m-neuron-post__inner.m-neuron-post__inner--classic{
        flex-direction: column;
    }
}

#custom-header .menu-item:before{
    display: none !important;
}
#custom-header .menu-item > a{
    padding-left: 0px;
}

.m-neuron-pagination > .page-numbers.current{
    color: #fff !important;
}