/* Actividades Page Styles */

/* Header */
.actividades-header {
    position: relative;
    width: 100%;
    height: 1080px; /* fixed visual area requested */
    margin: 0 auto;
    color: #EBEBF0;
    text-align: center;
    overflow: hidden;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}


body{
    background-color: #EBEBF0;
}
.actividades-header h1 {
    font-family: 'Switzer', sans-serif;
    font-weight: 400;
    margin: 0;
    font-size: 96px !important;
    color: #000000 !important;
    text-align: center !important;
    line-height: 1.1 !important;
}

/* Background image for header */
.actividades-header .hero-background {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('/assets/Imagenes de alta resolucion/actividades-portada.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    z-index: 1;
    min-width: 100%;
    min-height: 100%;
}

/* Ensure the unified title box corners on this page */
.actividades-header .hero-title-overlay {
    /* Styled to match Arjona title box */
    position: absolute;
    z-index: 3;
    left: calc((100vw - 1440px) / 2 + 24px);
    bottom: 25%;
    background: linear-gradient(135deg, #F8AF40 0%, #e69e36 100%);
    padding: 25px 70px;
    border-radius: 0 20px 0 20px;
    border: 6px solid #072A40;
    box-shadow: 0 12px 0 #072A40, 0 16px 24px rgba(7, 42, 64, 0.18);
    width: 854px;
    height: 256px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main content */
.actividades-main {
    padding: 40px 0;
    background-color: #EBEBF0;
    min-height: calc(100vh - 200px);
}

/* Actividad cards - nuevo diseño */
.actividad-card {
    background: transparent;
    border-radius: 16px;
    margin-bottom: 96px;
    width: 100%;
    max-width: 1080px; /* cap width on very large screens */
    margin-left: auto;
    margin-right: auto;
    overflow: visible;
    transition: transform 0.6s ease; /* allow smooth horizontal nudges */
}

.actividad-card-inner {
    border-radius: 16px;
    overflow: hidden;
    min-height: 420px; /* ensure cards are longer on desktop */
    box-shadow: 1px 3px 0 8px #787F8C inset, 0 14px 0 var(--shadow-color), 0 18px 28px rgba(7,42,64,0.18);
    transition: transform 0.6s ease, box-shadow 0.6s ease;
    background: #E0E5EB;
    border: 4px solid #141414
}

.actividad-card.align-left .actividad-card-inner {
    box-shadow: 1px 3px 0 8px #787F8C inset, 8px 14px 0 var(--shadow-color), 0 18px 28px rgba(7,42,64,0.18);
}

.actividad-card.align-right .actividad-card-inner {
    box-shadow: 1px 3px 0 8px #787F8C inset, -8px 14px 0 var(--shadow-color), 0 18px 28px rgba(7,42,64,0.18);
}

/* Alternar alineación izquierda/derecha sin tocar bordes */
.actividad-card.align-left { margin-left: 0; margin-right: auto; max-width: none; transform: translateX(-10%); }
.actividad-card.align-right { margin-left: auto; margin-right: 0; max-width: none; transform: translateX(10%); }

.actividad-card-inner:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 0 6px #142139 inset, 0 18px 0 var(--shadow-color), 0 24px 32px rgba(7,42,64,0.22);
}

.actividad-card.align-left .actividad-card-inner:hover {
    box-shadow: 0 0 0 6px #142139 inset, 8px 18px 0 var(--shadow-color), 0 24px 32px rgba(7,42,64,0.22);
}

.actividad-card.align-right .actividad-card-inner:hover {
    box-shadow: 0 0 0 6px #142139 inset, -8px 18px 0 var(--shadow-color), 0 24px 32px rgba(7,42,64,0.22);
}

.actividad-img {
    width: 100%;
    height: 340px; /* increased height for longer cards */
    object-fit: cover;
    display: block;
}

.actividad-content {
    padding: 32px 80px;
    background: #E5E9EF;
}

.actividad-content{
    font-family: 'Switzer', sans-serif !important;
    font-weight: 700 !important;
    color: #142139 !important;
    margin: 0px !important;
    font-size: 40px !important;
}

.actividad-location {
    font-weight: 700;
    color: #142139;
    margin-bottom: 10px;
    font-size: 20px;

}

.actividad-location-text {
    font-weight: 400;
    color: #142139;
    margin-bottom: 10px;
    font-size: 20px;

}

.actividad-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Alternancia de colores de sombra */
.actividad-card.shadow-blue { --shadow-color: #2E4DA9; }
.actividad-card.shadow-green { --shadow-color: #2EA942; }
.actividad-card.shadow-gold { --shadow-color: #D4C525; }
.actividad-card.shadow-red  { --shadow-color: #A9362E; }
.actividad-card.shadow-brown{ --shadow-color: #8A602C; }
/*
/* Responsive design */
@media (max-width: 768px) {
    .actividades-header {
        padding: 100px 0 40px 0;
    }
    
    .actividades-header .hero-title-overlay { position: relative; left: auto; bottom: auto; width: auto; height: auto; padding: 18px 28px; }
    .actividades-header h1 { font-size: 2rem; }
    
    .actividades-main {
        padding: 20px 0;
    }
    
    .actividad-card-inner { box-shadow: 0 0 0 6px #0F4C75 inset, 0 10px 0 var(--shadow-color), 0 14px 22px rgba(7,42,64,0.16); }
    .actividad-img { height: 240px; }
    .actividad-content { padding: 18px; }
    /* Disable horizontal nudges on smaller screens */
    .actividad-card.align-left,
    .actividad-card.align-right {
        transform: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100% !important;
        max-width: none !important;
    }
    
    .actividad-content h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .actividades-header h1 {
        font-size: 1.75rem;
    }
    
    .actividad-card { 
        width: 100%; 
    }
    
    .actividad-card-inner { 
        box-shadow: 0 0 0 6px #0F4C75 inset, 0 10px 0 var(--shadow-color), 0 14px 22px rgba(7,42,64,0.16); 
    }
    
    .actividad-content {
        padding: 12px;
    }
    
    .actividad-content h3 {
        font-size: 1.1rem;
    }
    
    .actividad-location {
        font-size: 0.9rem;
    }
    
    .actividad-description {
        font-size: 0.85rem;
    }
}