/* includes/css/olimpiada-sedes.css - Versión Premium MyScientific */

/* La tarjeta con bordes más redondeados y sombra profunda */
.center-card {
    background-color: #ffffff;
    border-radius: 1.5rem;
    /* Bordes más circulares como en la foto */
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    border: 1px solid #f1f5f9;
}

.center-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 40px -10px rgba(0, 0, 0, 0.15);
}

/* Contenedor del logo con más altura y mucho más espacio (Padding) */
.logo-container {
    height: 160px;
    /* Aumentado para que logos altos no se vean pequeños */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2.5rem;
    /* Espacio extra para que el logo "respire" */
    background-color: #ffffff;
    /* Fondo blanco puro, más limpio */
    border-bottom: none;
    /* Quitamos la línea para que sea más moderno */
}

.logo-container img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: none;
    /* Aseguramos colores reales */
    opacity: 1;
}

/* Estilos para el texto dentro de la tarjeta */
.card-body {
    padding: 0 2rem 2.5rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.center-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.center-card p {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 1.5rem;
}

/* El botón: Estilo profesional azul oscuro alineado abajo */
.btn-horario {
    margin-top: auto;
    /* Esto empuja el botón siempre al fondo */
    background-color: #0f172a;
    /* El azul de MyScientific */
    color: #ffffff !important;
    padding: 0.8rem 1.5rem;
    border-radius: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    transition: background 0.3s;
    display: inline-block;
}

.btn-horario:hover {
    background-color: #334155;
}