
.seccion-eventos {
    display: flex;
    flex-direction: column;
    padding-left:var(--section-left-padding);
    padding-right: var(--section-right-padding);
    /*gap: 2rem;*/
    position: relative;
    padding-bottom: 4.5rem;
    padding-top: 8rem;
}


.seccion-eventos-home {
    display: flex;
    flex-direction: column;
    padding-left: var(--section-left-padding);
    padding-right: var(--section-right-padding);
    /*gap: 2rem;*/
    position: relative;
    padding-bottom: 4.5rem;
    padding-top: 2rem;
    align-self: center;
    justify-self: center;
}

.eventos-section-tittle {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-top: 2rem;
    padding-bottom: 1rem;
    gap: 2rem;
    max-width: 80.5rem;
}

.eventos-title-content {
    display: flex;
    gap: 2rem;
}
.eventos-section-tittle > a {
    align-self: center;
}

.card-evento {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    max-width: 19.5rem;
    height: fit-content;
    overflow: hidden;
}

.container-evento-data {
    display:flex;
    flex-direction: row;
    justify-content: flex-start;
    max-height: 1.8rem;
    gap: 0.2rem;
}

.container-evento-data > img {
    align-self: flex-start;
}

.cafe-eventos-card-contenedor {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(16rem, 0.4fr));
    padding-left: 0px;
    row-gap: 2rem;
    column-gap: 1rem;
    max-width: 80rem;
}

.cafe-eventos-card-contenedor-home {
    display: grid;
    /*grid-template-columns: repeat(auto-fill, minmax(18.5rem, 0.33fr));*/
    grid-template-columns: repeat(3, 1fr);
    padding-left: 88px;
    row-gap: 2rem;
    column-gap: 1rem;
}

.img-evento-container {
    position: relative;
}

.picture-container > img {
    width: 100%;
    height: auto; 
    object-fit: cover;
    aspect-ratio:1/1;
}

.evento-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-top-style: solid;
    border-top-color: #EBEEEF;
    border-top-width: 2px;
    padding-top: 0rem;
}

.evento-content > p {
    text-align: justify; 
}

.btn-mostrar-mas {
    all: unset;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: flex-start;
    padding-top: 1.5rem;
    cursor: pointer;
}

.btn-mostrar-mas p {
    text-align: left;
    max-height: 1rem;
}

.btn-mostrar-mas img {
    align-self: center;
}

.eventos-btn-load-more {
    display: flex;
    justify-self: center;
    align-self: center;
    margin-top:2rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    border-radius: 56px;
    border-color: var(--gray-250);
    border-style: ridge;
    cursor: pointer;
    border-width: 1px;

    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 150%;
    word-spacing: 2px;
    letter-spacing: 0;
    color: var(--gray-700);
    background-color: white;
}

.texto-truncado {
    overflow-y: clip;
    max-height: 8.5rem;
    text-overflow: ellipsis;         
}

.evento-detalle-contenedor-1 {
    display: flex;
    flex-direction: row;
}

.img-portada-evento-container {
    position: relative;
    height: fit-content;
}

.picture-portada-container > img {
    /* width: 100%; */
    width: 32rem;
    height: fit-content; 
    object-fit: cover;
}

.card-evento-data{
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.card-evento-data img{
    width: 24px;
    height: 24px;
}

.evento-descripcion-corta{
    text-align: justify;
}

.contenedor-evento-data{
    display: flex;
    flex-direction: column;
    gap: 4rem;
    padding: 4rem;

    box-shadow: 7px 8px 20px 6px rgba(0, 0, 0, 0.1);
}

.evento-detalle-contenedor-2 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-left: 4rem;
    padding-right: 4rem;
    gap: 4.5rem;
    text-align: justify;
    
}

.evento-detalle-contenedor-2 > p{
    width: 40vw;
}

.fecha-string {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    word-spacing: 0px;
    letter-spacing: -1px;
}

.fecha-string-l {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    word-spacing: 0px;
    letter-spacing: 0px;
}

.btn-evento-calendar {
    gap: 1rem;
    align-self: flex-start;
    text-decoration-line: none;
}

@media (min-width: 1441px) and (max-width: 4096px){
    .card-evento {
        max-width: 24.5rem;
    }
}
@media (min-width: 415px) and (max-width: 1440px){
    .card-evento {
        max-width: none;
    }
}
@media (max-width: 640px){
    .cafe-eventos-card-contenedor-home {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        margin-bottom: 4rem;
        padding-left: 0rem;
        gap: 2rem;
        /* width: fit-content; */
    }
}


@media (max-width: 414px){
    .seccion-eventos {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        padding-top: 2.5rem;
    }

    .seccion-eventos-home {
        padding-bottom: 2.5rem;
        padding-top: 2rem;
        /*padding-left: 0.3rem;*/
    }

    .eventos-section-tittle {
        flex-wrap: wrap;
        flex-direction: column;
        justify-content: space-around;
    }

    .eventos-section-tittle > a {
        display: flex;
        flex-direction: row;
        justify-self: end;
        align-self: flex-end;
        padding-right: 1rem;
    }


    .eventos-title-content {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }


    .eventos-title-content > img {
        max-width: 52px;
    }


    .cafe-eventos-card-contenedor {
        padding-left: 0;
        justify-items: stretch;
    }

    .cafe-eventos-card-contenedor-home {
        /* grid-template-columns: repeat(auto-fill, minmax(16rem, 0.4fr)); */
        grid-template-columns: repeat(1,1fr);
        padding-left: 2px;
    }

    .card-evento {
        min-width: 22.5rem;
    }

    .fecha-string-l {
        font-family: "Open Sans", sans-serif;
        font-weight: 400;
        font-size: 16px;
        line-height: 150%;
        word-spacing: 0px;
        letter-spacing: 0px;
    }

    .evento-detalle-contenedor-1{
        flex-direction: column;
    }

    .contenedor-evento-data{
        gap: 4rem;
        padding: 1rem;
    }

    .picture-portada-container > img {
        width: 95vw;
        height: fit-content; 
        object-fit: cover;
    }

    .evento-detalle-contenedor-2 {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding-left: 0.5rem;
        padding-right: 1rem;
        gap:2rem;
        text-align: justify;
        
    }

    .evento-detalle-contenedor-2 > p{
        width: fit-content;
    }

}