/* --- SECCIÓN 2: GRID DE EVENTOS / NOTICIAS --- */
.events-section {
    padding: 80px 0;
    background-color: var(--sx-black); /* Fondo un poco más oscuro */
}

.section-header {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Responsivo automático */
    gap: 30px;
}

/* Diseño de la Tarjeta */
.event-card {
    background-color: #042545; /* Azul un poco más claro que el fondo */
    border-radius: 8px;
    overflow: hidden; /* Para que la imagen no se salga de las esquinas */
    transition: 0.4s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.event-card:hover {
    transform: translateY(-10px); /* Flota hacia arriba */
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    border-color: var(--sx-cyan); /* Borde cyan al hover */
}

.card-img-box {
    position: relative; height: 220px; overflow: hidden;
}

.card-img {
    width: 100%; height: 100%; object-fit: cover;
    transition: 0.5s;
}
.event-card:hover .card-img { transform: scale(1.1); } /* Zoom en la foto */

/* Etiqueta flotante (Ej: MMA, FUTBOL) */
.card-tag {
    position: absolute; top: 15px; left: 15px;
    background: var(--sx-gold); color: black;
    font-weight: 700; font-size: 0.75rem; padding: 5px 12px;
    text-transform: uppercase; font-family: 'Oswald', sans-serif;
}

.card-content { padding: 25px; }

.card-date {
    color: var(--sx-cyan); font-size: 0.85rem; font-weight: 700;
    margin-bottom: 10px; display: block; text-transform: uppercase;
}

.card-title {
    font-size: 1.5rem; margin-bottom: 10px; line-height: 1.2;
    color: white;
}

.card-link {
    color: #ccc; font-size: 0.9rem; text-decoration: none;
    display: flex; align-items: center; gap: 5px; margin-top: 15px;
    transition: 0.3s;
}
.event-card:hover .card-link { color: white; gap: 10px; }


/* --- FOOTER (PIE DE PÁGINA) --- */
.main-footer {
    background: #010a12; padding: 60px 0 20px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.9rem; color: #888;
}

.footer-grid {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px; margin-bottom: 40px;
}

.footer-logo {
    font-family: 'Oswald'; font-size: 1.5rem; color: white;
    text-decoration: none; text-transform: uppercase; display: block; margin-bottom: 20px;
}
.footer-logo span { color: var(--sx-cyan); }

.footer-col h4 {
    color: white; margin-bottom: 20px; font-size: 1rem; letter-spacing: 1px;
}

.footer-link {
    display: block; color: #888; text-decoration: none; margin-bottom: 10px; transition: 0.3s;
}
.footer-link:hover { color: var(--sx-gold); padding-left: 5px; }

.social-icons { display: flex; gap: 15px; }
.social-btn {
    width: 40px; height: 40px; background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; color: white; text-decoration: none; transition: 0.3s;
}
.social-btn:hover { background: var(--sx-cyan); color: black; transform: rotate(360deg); }

.footer-bottom {
    text-align: center; border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px; font-size: 0.8rem; opacity: 0.5;
}

@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .social-icons { justify-content: center; }
}