.elementor-5380 .elementor-element.elementor-element-3bd9765{--display:flex;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}:root{--page-title-display:none;}/* Start custom CSS for container, class: .elementor-element-3bd9765 */:root {
    --ap-gold: #FFD700;
    --ap-purple: #422057;
    --ap-light-purple: #5a2f7c;
    --ap-dark-purple: #2d0f45;
    --ap-light-gray: #f8f9fa;
    --ap-medium-gray: #e9ecef;
    --ap-dark-gray: #495057;
    --ap-text: #212529;
    --ap-white: #ffffff;
    --ap-black: #000000;
    --ap-card-bg: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background: linear-gradient(135deg, #f9f6ff 0%, #f0e9ff 100%);
    color: var(--ap-text);
    min-height: 100vh;
    line-height: 1.6;
    padding: 0;
    overflow-x: hidden;
}

.ap-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

/* CABECERA */
.ap-header {
    background: linear-gradient(135deg, var(--ap-purple) 0%, var(--ap-dark-purple) 100%);
    padding: 80px 30px;
    border-radius: 0 0 40px 40px;
    text-align: center;
    color: var(--ap-white);
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(66, 32, 87, 0.2);
}

.ap-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--ap-gold), #FFA500, var(--ap-gold));
}

.ap-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: var(--ap-gold);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.ap-header p {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
    opacity: 0.9;
}

/* INTRODUCCIÓN */
.ap-intro {
    background: var(--ap-white);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    max-width: 1000px;
    margin: 0 auto 50px;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    border-left: 5px solid var(--ap-gold);
}

.ap-intro p:first-child {
    margin-bottom: 20px;
}

/* GRID DE ACTIVIDADES */
.ap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto 60px;
}

/* TARJETA DE ACTIVIDAD */
.ap-card {
    background: var(--ap-card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(66, 32, 87, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    display: flex;
    flex-direction: column;
    transform: translateY(0);
    z-index: 2;
    cursor: pointer;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.ap-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 45px rgba(66, 32, 87, 0.25);
}

.ap-card-image {
    height: 300px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

/* Efecto de destello */
.ap-flash {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    opacity: 0;
    pointer-events: none;
    z-index: 3;
}

.ap-flash.active {
    animation: ap-flashEffect 0.5s ease-out;
}

@keyframes ap-flashEffect {
    0% { opacity: 0; transform: scale(1); }
    20% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
    100% { opacity: 0; transform: scale(1.1); }
}

.ap-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.ap-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--ap-purple);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.ap-card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--ap-gold);
    border-radius: 3px;
}

.ap-card-description {
    color: var(--ap-dark-gray);
    margin-bottom: 20px;
    flex-grow: 1;
    font-size: 1.05rem;
    line-height: 1.7;
}

.ap-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
    font-size: 0.95rem;
}

.ap-card-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(66, 32, 87, 0.05);
    padding: 8px 15px;
    border-radius: 30px;
    font-weight: 500;
}

.ap-card-meta i {
    color: var(--ap-purple);
}

/* PIE DE PÁGINA */
.ap-footer {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--ap-dark-purple) 0%, var(--ap-purple) 100%);
    color: var(--ap-white);
    border-radius: 40px 40px 0 0;
    margin-top: 60px;
}

.ap-footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.ap-footer h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--ap-gold);
    margin-bottom: 20px;
}

.ap-footer p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.ap-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.ap-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--ap-gold);
    color: var(--ap-purple);
    border-radius: 50%;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.ap-social a:hover {
    transform: translateY(-5px);
    background: var(--ap-white);
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .ap-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
    
    .ap-card-image {
        height: 280px;
    }
}

@media (max-width: 900px) {
    .ap-header h1 {
        font-size: 2.8rem;
    }
    
    .ap-card-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .ap-header {
        padding: 40px 20px;
        border-radius: 0 0 30px 30px;
    }
    
    .ap-header h1 {
        font-size: 2.2rem;
    }
    
    .ap-header p {
        font-size: 1.2rem;
    }
    
    .ap-intro {
        padding: 20px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .ap-container {
        padding: 0;
    }
    
    .ap-header {
        padding: 30px 15px;
        border-radius: 0 0 20px 20px;
    }
    
    .ap-header h1 {
        font-size: 1.9rem;
    }
    
    .ap-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
}/* End custom CSS */