/* Frontend styles - v3.6.0 */

/* Slider container */
.adf-footer-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #101010;
}

.adf-slider {
    display: flex;
    transition: transform .5s ease;
    will-change: transform;
}

.adf-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
}

/* Imágenes - deben ocupar TODO el ancho */
.adf-footer-container img,
.adf-slide img,
.adf-regular-item img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto;
    display: block;
    object-fit: contain;
}

.adf-footer-container a {
    display: block;
    width: 100%;
}

/* Bloques de código - contenedor base */
.adf-code-wrapper {
    width: 100%;
    display: block;
    text-align: center;
    overflow: hidden;
}

/* Height lock */
:root {
    --adf-height: auto;
}

.adf-footer-container[data-adf-height] {
    height: var(--adf-height);
}

.adf-footer-container[data-adf-height] img {
    height: 100%;
    width: auto;
    object-fit: contain;
    margin: 0 auto;
}

/* Navigation controls */
.adf-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .2);
    width: 38px;
    height: 38px;
    border-radius: 8px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

.adf-prev {
    left: 8px;
}

.adf-next {
    right: 8px;
}

.adf-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 6px;
    display: flex;
    gap: 6px;
    justify-content: center;
    z-index: 2;
}

.adf-dots button {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, .5);
    cursor: pointer;
}

.adf-dots button.is-active {
    background: #fff;
}

/* Regular items (non-slider) */
.adf-regular-items {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.adf-regular-item {
    width: 100%;
    background: #101010;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .adf-nav {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .adf-prev {
        left: 4px;
    }
    
    .adf-next {
        right: 4px;
    }
}
