/* GAM Banner Slideshow */

/* Outer container: enforces 1200:628 aspect ratio (height = 52.3333vw) */
.gam-banner-outer-container {
    width: 100%;
    height: 52.3333333333vw;
    overflow: hidden;
    position: relative;
}

/* Slideshow fills the outer container exactly */
.gam-banner-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}

.gam-banner-slideshow.active {
    display: block;
}

.gam-banner-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.gam-banner-slide.active {
    display: block;
}

/* Ad slot div fills the slide */
.gam-banner-slide > div {
    width: 100% !important;
    height: 100% !important;
    overflow: hidden;
    position: relative;
}

/* GAM iframe: sized to declared 1200x628, scaled down via JS transform */
.gam-banner-slide iframe {
    width: 1200px !important;
    height: 628px !important;
    max-width: none !important;
    border: 0;
    display: block;
    transform-origin: 0 0;
}

.gam-banner-dots {
    display: none;
    text-align: center;
    padding: 12px 0 10px;
    position: relative;
    z-index: 1000;
}

.gam-banner-dot {
    cursor: pointer;
    height: 8px;
    width: 8px;
    margin: 0 4px;
    background-color: #BDBDBD;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.gam-banner-dot.active {
    background-color: #F0484E;
}
