/**
 * Estilos públicos para el WP Carousel Slider
 */

.wp-carousel-slider-container {
    margin: 0 auto;
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.wp-carousel-slider {
    position: relative;
    width: 100%;
}

.wp-carousel-slide {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.wp-carousel-image {
    position: relative;
    width: 100%;
    height: auto;
}

.wp-carousel-image img {
    display: block;
    width: 100%;
    height: auto;
}

.wp-carousel-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    color: #fff;
    text-align: center;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.3);
}

.wp-carousel-content.content-left {
    align-items: flex-start;
    text-align: left;
}

.wp-carousel-content.content-center {
    align-items: center;
    text-align: center;
}

.wp-carousel-content.content-right {
    align-items: flex-end;
    text-align: right;
}

.wp-carousel-title {
    font-size: 2.5rem;
    margin: 0 0 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 1);
}

.wp-carousel-text {
    font-size: 1.2rem;
    margin: 0 0 1.5rem;
    max-width: 800px;
    line-height: 1.5;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 1);
}

.wp-carousel-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--e-global-color-secondary);
    color: var(--e-global-color-primary);
    text-decoration: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    text-shadow: none;
}

.wp-carousel-button:hover {
    background-color:var(--e-global-color-primary);
    color: var(--e-global-color-secondary);
    text-decoration: none;
}

.slick-dots {
    z-index: 1 !important;
    bottom: 20px !important;
}

/* Responsive */
@media screen and (max-width: 1024px) {
    .wp-carousel-title {
        font-size: 2rem;
    }

    .wp-carousel-text {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 768px) {
    .wp-carousel-title {
        font-size: 1.8rem;
    }

    .wp-carousel-text {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .wp-carousel-content {
        padding: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .wp-carousel-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .wp-carousel-text {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }

    .wp-carousel-button {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .wp-carousel-content {
        padding: 1rem;
    }
}