﻿/*this AIAG version was created to add several success story classes that wasn't in the SS file*/

@media (min-width: 821px) {
    .stacked-card .stacked-card__inner {
        display: flex;
        gap: 16px;
        gap: 0 !important
    }
}

@media (min-width: 821px) and (min-width: 821px) {
    .stacked-card .stacked-card__inner {
        gap: 32px
    }
}

@media (min-width: 821px) {
    .stacked-card .stacked-card__inner > * {
        flex: 1 1 calc(50% - 16px);
        width: calc(50% - 16px)
    }
}

@media (min-width: 821px) and (min-width: 821px) {
    .stacked-card .stacked-card__inner > * {
        flex: 1 1 calc(50% - 32px);
        width: calc(50% - 32px)
    }
}

.stacked-card .stacked-card__content {
    background-color: #026982;
    padding: 43px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center
}

@media (min-width: 821px) {
    .stacked-card .stacked-card__content {
        padding: 56px 40px
    }
}

@media (min-width: 992px) {
    .stacked-card .stacked-card__content {
        margin: 40px -85px 40px 0;
        z-index: 2
    }
}

.stacked-card .stacked-card__title {
    color: #fff;
    font-family: DM Sans,sans-serif;
    font-size: 31px;
    line-height: 120%;
    font-weight: 700;
    margin-bottom: 15px
}

@media (min-width: 821px) {
    .stacked-card .stacked-card__title {
        font-family: DM Sans,sans-serif;
        font-size: 42px;
        line-height: 120%;
        font-weight: 700;
        margin-bottom: 21px
    }
}

.stacked-card .stacked-card__text {
    color: #fff;
    font-family: DM Sans,sans-serif;
    font-size: 18px;
    line-height: 145%;
    font-weight: 400;
    margin-bottom: 24px
}

@media (min-width: 821px) {
    .stacked-card .stacked-card__text {
        margin-bottom: 21px
    }
}

.stacked-card .stacked-card__media {
    display: flex
}

    .stacked-card .stacked-card__media .media {
        height: 100%
    }

    .stacked-card .stacked-card__media img {
        object-fit: cover;
        width: 100%;
        height: 100%
    }

@media (min-width: 992px) {
    .stacked-card--left--success-story .success-story{
        margin: 0 0 0 auto;
    }

    .stacked-card--right--success-story .success-story {
        margin: 0 0 0 0;
    }

    .stacked-card-narrow--left--success-story .success-story {
        margin: 0 auto;
    }

    .stacked-card-narrow--right--success-story .success-story {
        margin: 0 auto;
    }
}

.stacked-card--right .stacked-card__inner {
    flex-direction: row-reverse
}

@media (min-width: 992px) {
    .stacked-card--right .stacked-card__content {
        margin-left: -85px;
        margin-right: 0px;
    }
}

@media (min-width: 821px) {
    .stacked-card--narrow .stacked-card__inner {
        display: flex;
        gap: 16px;
        gap: 0 !important
    }
}

@media (min-width: 821px) and (min-width: 821px) {
    .stacked-card--narrow .stacked-card__inner {
        gap: 32px
    }
}

@media (min-width: 821px) {
    .stacked-card--narrow .stacked-card__inner > * {
        flex: 1 1 calc(50% - 16px);
        width: calc(50% - 16px)
    }
}

@media (min-width: 821px) and (min-width: 821px) {
    .stacked-card--narrow .stacked-card__inner > * {
        flex: 1 1 calc(50% - 32px);
        width: calc(50% - 32px)
    }
}

@media (min-width: 821px) {
    .stacked-card--narrow .stacked-card__content {
        padding: 56px 40px;
        margin: 0
    }

    .stacked-card--narrow .stacked-card__title {
        font-family: DM Sans,sans-serif;
        font-size: 42px;
        line-height: 120%;
        font-weight: 700;
        margin-bottom: 21px
    }

    .stacked-card--narrow .stacked-card__text {
        margin-bottom: 21px
    }
}

/* Add this at the end of the file */

.aiag-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.aiag-pagination__arrow {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 0 10px;
}

.aiag-pagination__arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.aiag-pagination__pages {
    display: flex;
    gap: 5px;
}

.aiag-pagination__page {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background-color: transparent;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

.aiag-pagination__page--active {
    background-color: #5cff96;
}
