/* ABGPL staging layout corrections */

/* Centre the 960px banner within the page */
body .abg-slider {
    display: block;
    position: relative;
    width: 960px;
    max-width: calc(100% - 24px);
    height: 350px;
    aspect-ratio: auto;
    margin: 10px auto 35px auto !important;
    float: none !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    overflow: visible;
}

/* Keep the images inside the banner */
body .abg-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

body .abg-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Centre slider dots below the banner */
body .abg-slider-nav {
    position: absolute;
    bottom: -23px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 5;
}

/* Make room for the complete logo */
body .header_wrap {
    overflow: visible;
}

body .header_logo,
body .header_logo img {
    overflow: visible;
}

/* Responsive layout */
@media (max-width: 980px) {
    body .abg-slider {
        width: calc(100% - 24px);
        height: auto;
        aspect-ratio: 96 / 35;
    }

    body .abg-slide {
        height: 100%;
    }
}
