

/* Deal Carousel Component */
.mag__dealModule h2 {
    font-family: 'Libre Baskerville', Georgia, Times, serif !important;
    letter-spacing: -1px;
    font-size: 20px;
    font-style: italic;
    font-weight: 400;
    line-height: 36px; /* 128.571% */
    text-transform: uppercase;
    margin-bottom: 0px;
    margin-top: 0px;
}

.mag__dealModule {
    padding-top: 48px;
    padding-bottom: 48px;
}

.mag__dealModuleHeader {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.mag__dealModuleHeader a {
    color: #262626 !important;
    text-decoration: underline !important;
}

.mag__dealModuleHeader p {
    color: #444545;
    font-family: var(--font-family-body, Lato);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    margin-bottom: 0px;
}

.baseCarousel {
    position: relative;
}

.baseCarousel__track {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    width: 100%;
    overflow: scroll;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 10px 0px;
}

.baseCarousel__track > * {
    flex-shrink: 0;
    flex-grow: 0;
    scroll-snap-align: center;
}

.baseCarousel__control {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
}

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

}

.baseCarousel__carouselButtons {
    margin-left: auto;
    display: flex;
    gap: 8px;
    justify-content: flex-end;

}
.baseCarousel__indicator {
        width: 8px;
    height: 8px;
    border-radius: 99px;
    background-color: var(--surface-focus);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}
.baseCarousel__indicator.active {
    width: 24px;
    background-color: var(--surface-dark);
}

.baseCarousel {
    margin-right: -15px;
}
.baseCarousel__track {
    padding-right: 15px;
}


@media(min-width: 992px) {
    .mag__dealModuleHeader h2 {
        font-size: 28px;
        margin-bottom: 2px;
    }
    .mag__dealModuleHeader p {
        font-size: 16px;
    }
    .mag__dealModuleHeader {
       margin-bottom: 22px;
    }
    
    .baseCarousel__indicators {
         transform: translateX(44px);
    }

    .baseCarousel {
        margin-right: 0px;
    }
    .baseCarousel__track {
        padding-right: 0px;
    }

}