header {
    position:fixed;
    z-index:10;
    background-color: var(--wp--preset--color--base);
    width:100%;
    transition:.125s;
    top: 0px;
    
    img{
        transition: .125s;
        width: 50px !important;
        max-height: 100dvh;
        max-width: 100dvw !important;
    }

    &.min{

        &>div{
            padding-top: 0px !important;
            padding-bottom: 0px !important;
        }

        img{
            max-height:0px;
            max-width:0px !important;
        }
    }
}



#texto_cabesa{
    @media screen and (max-width: 782px) {
        margin: 0px !important;
        padding: 0px !important;
        place-items: center;
        width: 100dvw !important;
        max-width: 100dvw;
        position: absolute;
        left: 0px;
        top: 0;
        aspect-ratio: 16/9;
        display: grid;
        grid-template-rows: repeat(3, auto) 0px;
        align-content: center;
    }
}

.contenedor_aventuras {
    .wp-block-buttons {
        padding: 0rem;
        justify-content: center;

        a {
            display: block;
            padding: 1rem;
        }
    }

    @media screen and (max-width: 782px) {
        grid-template-columns: 1fr;
    }
}

.contenedor_entradas {
    display: flex;
    gap: 1rem;
    justify-items: stretch;
    justify-content: space-evenly;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
    
    li{
        background-color: var(--wp--preset--color--accent-2);
        padding: 1rem;
        border-radius: 1rem;
        box-shadow: 0px .5rem 1rem 0px rgba(0,0,0,.25);
        max-width: 256px;
        position:relative;

        &>*:not(.wp-block-latest-posts__featured-image){
            position:relative;
            background-color: var(--wp--preset--color--accent-6);
            padding:.5rem;
            margin: .5rem;
            border-radius:1rem;

            &.wp-block-latest-posts__post-title{
                top:.16rem;
                border-radius: 1rem 1rem 0px 0px;
            }

            &.wp-block-latest-posts__post-date{
                border-radius: 0rem 1rem 1rem 1rem;
            }
        }

        .wp-block-latest-posts__featured-image{
            margin: -1rem;
            position:absolute;
            height: 100%;
            width: 100%;
            overflow: hidden;
            opacity:.5;

            a{
                width: 100%;
                height:100%;
            }
            img{
                height:100%;
            }
        }
        
        .wp-block-latest-posts__post-excerpt{
            margin-bottom:0px;
            &:empty{
                display:none;
            }   
        }
    }
}

.grid_inicio{
    align-items: center;

    &>*{
        padding: 1rem 0px;
    }
    
    @media screen and (max-width: 782px) {
        grid-template-columns: 1fr;

        &> *:nth-child(3){
            grid-row:4;
        }
    }
}

.contenedor_categorias {
    display:grid;
    grid-template-columns:1fr auto;
    
    .wp-block-categories-list{
        grid-column:2;
    }

    &>*{
        grid-row:1;
    }
}

.foto_inline{
	float: left;
    width: 16rem;
    padding: 0rem 1rem 1rem 0rem;
}

#galeria.custom {
    .wp-block-image{
        transition:.125s;
        border-radius:1rem;
        overflow:hidden;
        
        &:hover{
            transform:scale(1.1);
            cursor:pointer;
            box-shadow:0px 0px 1rem 0px black;
        }
    }
}

#proyectos_realizados {
    justify-self: center;
}

#camino_a_cumbre {
    overflow: auto;

    &>*:not(.is-vertical){
        min-width: 12rem;
    }
}