/**
 * Banners Everywhere - Frontend Styles
 */

/* Contenedor de banners */
.be-banners-wrapper {
    margin: 20px 0;
    clear: both;
}

.be-banner-wrapper,
.be-banner-item {
    margin-bottom: 30px;
}

/* Banner único */
.be-banner-single {
    text-align: center;
    max-width: 100%;
}

/* Múltiples banners */
.be-banners-multiple {
    display: grid;
    gap: 30px;
    width: 100%;
}

/* Layout Full Width (1 columna) */
.be-banners-multiple.be-layout-full {
    grid-template-columns: 1fr;
}

.be-banners-multiple.be-layout-full .be-banner-item {
    text-align: center;
}

.be-banners-multiple.be-layout-full .be-banner-image {
    margin: 0 auto;
}

.be-banners-multiple.be-layout-full .be-banner-image-link {
    display: block;
    margin: 0 auto;
    width: fit-content;
}

.be-banners-multiple.be-layout-full .be-banner-title {
    text-align: center;
}

.be-banners-multiple.be-layout-full .be-banner-description {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
}

.be-banners-multiple.be-layout-full .be-banner-button-wrapper {
    text-align: center;
}

/* Layout Grid 2 columnas */
.be-banners-multiple.be-layout-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.be-banners-multiple .be-banner-item {
    width: 100%;
}

/* Enlace de imagen del banner */
.be-banner-image-link {
    display: block;
    text-decoration: none;
    transition: opacity 0.3s ease;
    margin-bottom: 15px;
}

.be-banner-image-link:hover {
    opacity: 0.85;
}

/* Imágenes de banner */
.be-banner-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Título del banner */
.be-banner-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 15px 0 10px;
    color: #333;
}

/* Descripción del banner */
.be-banner-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin: 10px 0 15px;
}

.be-banner-description p {
    margin-bottom: 10px;
}

/* Botón del banner */
.be-banner-button-wrapper {
    margin-top: 15px;
}

.be-banner-button {
    display: inline-block;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.be-banner-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media (max-width: 768px) {
    .be-banners-wrapper {
        margin: 10px 0;
    }
    
    /* En móvil, todas las grids se convierten en 1 columna */
    .be-banners-multiple.be-layout-grid-2 {
        grid-template-columns: 1fr;
    }
    
    .be-banner-title {
        font-size: 1.25rem;
    }
    
    .be-banner-description {
        font-size: 0.9rem;
    }
}

/* Hooks específicos - ejemplos de personalización */
.be-hook-displayTop .be-banner-image {
    max-height: 100px;
}

.be-hook-displayHome .be-banners-wrapper {
    margin: 30px 0;
}

.be-hook-displayFooter .be-banner-image {
    max-width: 200px;
}



