﻿.card-eventos-section {
  /*margin-bottom: 10px;*/
  color: #007bff;
  text-align: center;
  /*font-family: 'Segoe UI', 'Roboto', sans-serif;*/
  /*font-size: 1.5rem;*/
}

.card-eventos {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin: 15px;
    transition: transform 0.2s;
}

.card-eventos:hover {
    transform: scale(1.02);
}

.card-eventos-img {
    /*width: 100%;
    height: 200px;
    object-fit: cover;*/
    /*width: 350px; 
    height: 350px;*/
    /*width: 100%; 
    height: 100%;*/
    /*object-fit: scale-down;*/
    /*object-fit: contain;*/
    width: 100%;
    height: auto;
    /*aspect-ratio: 1 / 1;*/ /* cuadrada */
    min-width: 300px;
    min-height: 300px;
    max-width: 300px;
    max-height: 300px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.card-eventos-titulo {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #222;
}

.card-eventos-info {
    padding: 15px;
}

.card-eventos-descripcion {
    /*padding: 15px;*/
    /*display:block;*/
    display:none;
}

.card-eventos-fecha, .card-eventos-lugar, .card-eventos-descripcion {
    /*margin: 5px 0;*/
    margin: 2px 0;
    font-size: 0.9rem;
    color: #666;
}

.card-eventos-boton-comprar {
    display: inline-block;
    margin-top: 10px;
    background-color: #007bff;
    color: #fff;
    padding: 10px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
}

.card-eventos-boton-comprar:hover {
    background-color: #0056b3;
}


/* ===== Mobile First Breakpoints ===== */

/* 768px - Tablets */
@media (min-width: 768px) {
    .card-eventos {
        flex-direction: row;
    }

    .card-eventos-img {
        /*width: 40%;
        height: auto;*/
        /*width: 350px; 
        height: 350px;*/
        /*width: 100%; 
        height: 100%;*/

        width: 100%;
        height: auto;
        min-width: 300px;
        min-height: 300px;
        max-width: 300px;
        max-height: 300px;
        object-fit: contain;
    }

    .card-eventos-info {
        width: 60%;
    }

    .card-eventos-descripcion {
        display:block;
        /*display:none;*/
    }
}
