.amfpa-root {
    margin-top: 0;
    margin-bottom: 40px;
    width: 100%;
    max-width: none;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.amfpa-root .ad-highlight {
    float: none;
    color: #000;
}

.amfpa-root.d-none,
.amfpa-root.is-loading {
    display: none;
}

.amfpa-slot {
    margin-top: 8px;
    width: 100%;
}

.amfpa-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.amfpa-viewport {
    overflow: hidden;
    width: 100%;
}

.amfpa-track {
    display: flex;
    width: 100%;
    transition: transform 0.35s ease;
    will-change: transform;
}

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

.amfpa-link {
    display: block;
    width: 100%;
}

.amfpa-image {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
}

.amfpa-image-desktop {
    min-height: 0;
}

.amfpa-image-mobile {
    display: none;
}

.amfpa-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    border: 0;
    width: 36px;
    height: 36px;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.amfpa-nav-prev {
    left: 10px;
}

.amfpa-nav-next {
    right: 10px;
}

.amfpa-dots {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.amfpa-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    background: #c0c0c0;
    padding: 0;
    cursor: pointer;
}

.amfpa-dot.is-active {
    background: #333;
}

@media (max-width: 767px) {
    .amfpa-image-desktop {
        display: none;
    }

    .amfpa-image-mobile {
        display: block;
    }

    .amfpa-nav {
        width: 32px;
        height: 32px;
        border-radius: 16px;
    }
}
