/* CSS Document | Xmas 2025 - CX */

/*region Cards */
/*region Cards - Advantages */
.cardsAdvantagesHolder {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    width: 100%;
    gap: 2rem;
    margin: 4rem auto 0;
}

.cardAdvantage {
    max-width: 18.75rem;
    width: 100%;
    padding: 2.5rem 1.5rem;
    border-radius: 0.75rem;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #303A4D;
    background-color: #FBFBFC;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-shadow: 0 0.5rem 1rem 0 rgba(19, 23, 31, 0.1);
    box-shadow: 0 0.5rem 1rem 0 rgba(19, 23, 31, 0.1);
}

.cardAdvantage.cardAdvantageRed {
    color: #FFFFFF;
    background-color: #9C0021;
}

.cardAdvantage .cardIcon {
    display: block;
    width: auto;
    height: 3.5rem;
    margin-bottom: 1rem;
}

.cardAdvantage .cardTitle {
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 160%;
    text-align: center;
    color: inherit;
    margin-bottom: 0.5rem;
}

.cardAdvantage .cardText {
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 160%;
    text-align: center;
    color: inherit;
}

/* endregion */

/*region Cards - Campaign */
.cardHolderCampaign {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    margin-top: 1rem;
}

.cardCampaignContent {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
}

.cardHolderCampaign .cardCampaign {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    width: 14rem;
    padding: 3rem 1rem;
    margin: 1rem;
    border-radius: 1.25rem;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background-color: #FFFFFF;
    color: #303A4D;
    -webkit-box-shadow: 0 0.5rem 1rem 0 rgba(19, 23, 31, 0.1);
    box-shadow: 0 0.5rem 1rem 0 rgba(19, 23, 31, 0.1);
}

.cardCampaign.cardCampaignRed {
    background-color: #9C0021;
    color: #FFFFFF;
    padding: 2.375rem 1rem 3rem;
}

.cardCampaign .cardIcon {
    width: auto;
    height: 4.375rem;
    margin-bottom: 1em;
}

.cardCampaignRed .cardIcon {
    height: 5rem;
}

.cardCampaign .cardText {
    font-weight: 400;
    font-size: 1rem;
    line-height: 160%;
    text-align: center;
    color: inherit;
}

.cardCampaignSeparator {
    width: 1.125rem;
    height: 1.875rem;
    margin: auto 3rem;
    background-image: url("https://www.moloni.pt/_media/public/campanhas/2025/natal/arrow.svg");
    background-repeat: no-repeat;
    background-position: center;
    -ms-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.cardCampaignLastSeparator {
    display: none;
}

/* endregion */
/* endregion */

/*region Media Queries */
@media screen and (max-width: 1366px) {
    /*region Cards */
    /*region  Cards - Campaign */
    .cardHolderCampaign {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .cardCampaignContent {
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

    .cardCampaignSeparator {
        margin: 0.375rem;
    }

    .cardCampaignLastSeparator {
        display: block;
        width: 1.125rem;
        height: 1.875rem;
        margin: 0.375rem;
    }

    /* endregion */
    /* endregion */
}

@media screen and (max-width: 960px) {
    /*region Cards */
    /*region Cards - Advantages */
    .cardsAdvantagesHolder {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .cardAdvantage {
        max-width: 50rem;
    }

    /* endregion */

    /*region Cards - Campaign */
    .cardHolderCampaign .cardCampaign {
        width: 12rem;
        margin: 1.25rem 0.875rem;
    }

    /* endregion */
    /* endregion */
}

@media screen and (max-width: 575px) {
    /*region Cards */
    /*region Cards - Campaign */
    .cardHolderCampaign {
        -ms-flex-wrap: unset;
        flex-wrap: unset;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        margin: 0;
    }

    .cardHolderCampaign .cardCampaign {
        width: 14rem;
        margin: 1.25rem;
    }

    .cardCampaignContent {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .cardCampaignSeparator {
        -ms-transform: rotate(90deg);
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
    }

    .cardCampaignLastSeparator {
        display: none;
    }

    /* endregion */
    /* endregion */
}

/* endregion */
