/* Keep the full 960x360 banner visible and place its paging dots inside it. */
.sgc-home-carousel {
    position: relative;
}

.sgc-home-carousel-track {
    aspect-ratio: 8 / 3;
    background: #f1f4f7;
}

.sgc-home-banner {
    height: 100%;
}

.sgc-home-banner img {
    object-fit: contain;
    object-position: center;
}

.sgc-home-carousel-dots {
    position: absolute;
    z-index: 2;
    bottom: 18px;
    left: 50%;
    display: flex;
    width: max-content;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 2px 3px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: transparent;
    line-height: 0;
    pointer-events: none;
}

.sgc-home-carousel-dots[hidden] {
    display: none !important;
}

.sgc-home-carousel-dots i,
.sgc-home-carousel-dots i.is-active {
    flex: 0 0 7px;
    width: 7px;
    height: 7px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, .92);
    border-radius: 50%;
    background: rgba(238, 52, 69, .48);
    box-shadow: 0 1px 3px rgba(111, 18, 30, .2);
}

.sgc-home-carousel-dots i.is-active {
    background: #ee3445;
    transform: scale(1.16);
}

@media (max-width: 360px) {
    .sgc-home-carousel-dots {
        bottom: 14px;
        gap: 5px;
        padding: 2px 3px;
    }
}
