.seccion {
    display: flex;
    justify-content: center;
    margin-left: 10%;
    margin-right: 10%;
   
    background-color: #f5f5f5;
    /* box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);*/
    box-sizing: border-box;
    padding-top: 20px;
}

.seccion h2 {
    margin-bottom: 15px;
}

.cards-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1536px;

    gap: 5px;
}

.card_principal {
    background-color: #f5f5f5;
    border-radius: 8px;
    /* box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);*/
    height: 420px;
    /*padding: 15px;*/
    border: none;
    text-align: center;
}

.card_principal img {
    max-width: 100%;
    height: 90%;
    object-fit: cover;
    /*border-radius: 6px;*/
}

.card_principal h4 {
    margin: 10px 0 5px;
}

.card_principal p {
    margin: 0;
    font-size: 14px;
    color: #555;
}

.card_horizontal {
    background-color: #f5f5f5;
    border-radius: 8px;
    /* box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);*/
    height: 420px;
    /*padding: 15px;*/
    border: none;
    text-align: center;
}

.card_horizontal img {
    max-width: 100%;
    height: 90%;
    object-fit: cover;
    /*border-radius: 6px;*/
}

.card_horizontal h4 {
    margin: 10px 0 5px;
}

.card_horizontal p {
    margin: 0;
    font-size: 14px;
    color: #555;
}

.card {
    background-color: #f5f5f5;
    /* border-radius: 8px;*/
    /* box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);*/
    /*width: 340px;*/
    height: 292px;
    /*padding: 15px;*/
    border: none;
    padding-bottom: 5px;
    text-align: center;
}

.card img {
    max-width: 100%;
    height: 90%;
    object-fit: cover;
    /*border-radius: 6px;*/
}

.card h4 {
    margin: 10px 0 5px;
}

.card p {
    margin: 0;
    font-size: 14px;
    color: #555;
}

.wrapper {
    display: grid;
    justify-content: center;
    overflow-y: auto;
    background: #e0e0e0;
}

.vestical_cards {
    display: flex;
    flex-direction: column; /* Esta línea es clave */
    align-items: center; /* Opcional: centra los elementos horizontalmente */
    margin-bottom: 10px;
}

.seccion .cards-container .card a{
    height: 292px;
    
}