/*
https://developer.wordpress.org/block-editor/how-to-guides/themes/theme-support/

*/

* {
    box-sizing: border-box;
}

.gradient-top-cable{
    background: var(--wp--topCable--gradient)!important;
}

main{
    padding: 50px 0px;
    margin-top: 80px;
}

main.single{
    padding: 0 0 90px 0;
    margin-top: 50px;
}

article .wp-block-group.has-blanco-background-color.has-background.is-layout-constrained {
    padding: 1.25em 2.375em 2.375em 2.375em !important;
}

a.wpml-ls-link {
    padding: 15px 20px;
}

.hiddenPosts{
    display: none;
}

.separatorHeight{
    height: 4px;
}

.likeAButton{
    cursor:pointer;
    text-decoration: underline;
}

.wp-block-cover{
    border-radius: 15px;
    overflow: hidden;
}

.wp-block-cover__image-background{
    border-radius: 15px;
    transition: transform .3s ease-in-out;
    z-index:2;
}

.wp-block-cover__image-background:hover{
    transform: scale(1.1);
}

.noBorder,
.noBorder .wp-block-cover__image-background{
    border-radius:0px;
    transition:none;
}

.noBorder .wp-block-cover__image-background:hover{
    transform: scale(1);
}

.post-link{
    text-decoration: none;
    color: var(--wp--preset--color--negro-texto);
}

@media screen and (max-width: 1170px){
    main{
        padding: 50px 15px;
        margin-top: 60px;
    }

    main.single{
        padding: 0 20px 90px 20px;
    }
}

/*FOOTER*/
.mobileFooter{
    display: none;
}

.footerLegal a{
    text-decoration: none;
}

.socialIcons{
    justify-content: center;
    align-items: flex-end!important;
}

.socialIcons .wp-block-column{
    flex-grow: 0!important;

}

.socialIcons .wp-block-column a{
    display: flex;
    align-items: flex-end;
}

.socialIcon{
    height: 16px;
}

.socialIcon.youtube{
    height: 14px;
}

@media screen and (max-width: 783px){
    .desktopFooter{
        display:none;
    }

    .mobileFooter{
        display: block;
    }

    .wrapItemsFooter>*{
        align-self: center!important;
        text-align: center!important;
        margin: 0 auto;
    }

    .wrapItemsFooter>* p{
        text-align: center!important;
    }

    p.has-text-align-right.has-blanco-color.has-text-color a{
        text-decoration: none;
    }
}

/*PLUGIN RELATED POSTS*/
.rp4wp-related-posts{
    overflow: hidden!important;
}

.rp4wp-related-posts h3{
    font-size: 2rem;
}

.rp4wp-related-posts h3:after{
    content: "";
    height: 2px;
    margin: 10px 0 40px 0;
    width: 100%;
    display: block;
    background-color: var(--wp--preset--color--gris-separador);
}

.rp4wp-related-posts ul{
    list-style: none;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.rp4wp-related-posts li{
    width: 360px;
}

.rp4wp-related-post-image{
    border-radius: 10px;
    margin-bottom: 20px;
    width: 100%;
}

.rp4wp-related-post-image img{
    width: 100%;
    min-height: 180px;
    object-fit: cover;
    border-radius: 10px;
}

.rp4wp-related-post-content a{
    text-decoration: none;
    color: var(--wp--preset--color--negro-texto);
    font-weight: bold;
    font-size: 1rem;
}

.rp4wp-related-post-content p{
    display: none;
}

@media screen and (max-width: 782px){
    .rp4wp-related-posts ul{
        max-width: 100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
    }

    .rp4wp-related-posts ul li{
        min-width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 20px;
    }

    .rp4wp-related-post-image{
        width: 220px;
        /*width: 40%;*/
        height: 30%;
    }

    .rp4wp-related-post-image img{
        width: 100%;
        height: 100%;
        min-height: 0;
    }

    .rp4wp-related-post-content a{
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        font-weight: normal;
        font-size: .9rem;
    }
}

/*INDICE DE CONTENIDOS*/
#ez-toc-container{
    display: flex!important;
    justify-content: space-between!important;
    align-items: center;
    border-radius: 15px!important;
    padding: 15px 25px !important;
    flex-wrap: wrap;
}

#ez-toc-container nav{
    width: 100%;
}

#ez-toc-container .ez-toc-list{
    max-width: 100%;
    white-space: normal;
	margin-top: 20px;
}

/*Yoast*/
.yoast-breadcrumbs>span{
    display: flex;
}

span.breadcrumb_last{
    display: block;
    width: 200px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

