/* general */

.flex-1 {
    flex: 1;
}

.gap-8 {
    gap: 8px;
}

.gap-16 {
    gap: 16px;
}

.gap-24 {
    gap: 24px;
}

.gap-32 {
    gap: 32px;
}

/* BANNER */

img[src=""] {
    display: none;
}

.banner {
    background: var(--Rewards-Dark-Background, linear-gradient(139deg, #0B3166 0%, #0051A5 100%));
    color: white;
}

.wj-banner {
    background: #018380;
    color: white;
}

.banner-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.banner-offer-caption {
    border-radius: 4px;
    background: var(--Interaction-interactive-accent-hover, #FFBA00);
    padding: 3px 10px;
    color: var(--text-foregrounds-text-2, #252525);
    text-align: center;
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: Roboto;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px; /* 133.333% */
    text-transform: uppercase;
}

.banner-intro {
    color: var(--Interaction-link-opposite, #FFF);
    font-feature-settings: 'clig' off, 'liga' off;

    margin-top: 0;
    margin-bottom: 0;
}

.banner-intro strong {
    font-family: "RBCDisplay" !important;
}

.banner-paragraph {
    color: var(--Interaction-link-opposite, #FFF);
    font-feature-settings: 'clig' off, 'liga' off;

    color: #FFF;
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: "RBCDisplay";
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 32px; /* 133.333% */

    margin-bottom: 0;
}

@media screen and (max-width: 640px) {
    .banner-offer-caption-container {
        margin-top: 16px;
        margin-bottom: 16px;
    }

    .banner-paragraph {
        margin-bottom: 16px !important;
        font-size: 18px;
        font-weight: 500;
        line-height: 28px; 
    }

    .banner-intro {
        margin-bottom: 16px;
    }
}

#banner-cta-wj,
#banner-cta {
    display: flex;
    height: 51px;
    border: none;
    padding: 16px 32px 16px 32px;
    color: var(--Interaction-interactive-1-text, #FFF);
    text-align: center;
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 18.968px; /* 118.553% */
    background: var(--Interaction-interactive-1, #006AC3);
    display: flex;
    height: 51px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    align-self: stretch;
}

.custom-banner-bumper {
    max-width: 351px;
    flex-basis: 0;
    flex-shrink: 1000;
    flex: 1;
}

.custom-banner-container {
    margin: 0 auto;
    display: flex !important;
    margin-left: calc(100% - 600px);
    margin-right: 0px;
}

.custom-banner-left {
    flex: 2;
    flex-shrink: 1;
}
.custom-banner-right {
    flex: 1;
    flex-shrink: 1;
}

.custom-banner-card-img {
    margin-left: 0;
    width: 150px;
    height: 95px;
    /*margin-bottom: 16px !important;*/
}

.banner-img {
    background-position-x: center !important;
    background-position-y: bottom !important;
}

@media screen and (max-width: 640px) {
    .custom-banner-container {
        flex-direction: column;
    }

    .banner-img.custom-banner-right {
        min-height: 70vw !important;
    }

    .banner-img {
        background-position-y: center !important;
    }
}

.banner-hide {
    flex: 0 !important;
    display: none !important;
}

@media screen and (max-width: 768px) {
    .mob-mar-auto {
        margin: auto;
    }
    .custom-banner-left {
        display: flex;
        text-align: center;
    }
}


/* CATEGORY BUTTONS */

#category-buttons .category-button-grid {
    overflow-x: auto;
}

.category-button-grid {
    display: flex;
    flex-direction: row;
    margin: auto;
    justify-content: center;
    align-items: flex-start;
    gap: 32px;
}

@media screen and (max-width: 640px) {
    .category-button-grid {
        margin: 0;
        justify-content: start;
    }
}

.category-button-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

a.category-button-container.active:hover {
    text-decoration: none !important;
    cursor: default;
}

@media screen and (max-width: 640px) {

    .category-button-container {
        min-width: 80px;
    }

    .category-button-container:last-child {
        margin-right: 20px;
    }
}

.category-button {
    width: 60px;
    height: 60px;
    border-radius: 999px;
    background: white;
    border: 1px solid #E1EBEF;
    aspect-ratio: 1;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.category-button-selected {
    background: #006AC3;
}

.category-button-link {
    color: var(--Interaction-interactive-1, #006AC3);
    text-align: center;
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: "Roboto";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px; /* 133.333% */
    text-decoration-line: underline;
}

.category-button-link-selected {
    color: var(--Text-text-darker, #444) !IMPORTANT;
    text-align: center;
    font-feature-settings: 'clig' off, 'liga' off;
    /* Paragraphs/Text/xs */
    font-family: "Roboto";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px; /* 133.333% */
}

.inner {
    
    max-width: 1150px;
    margin-left: auto;
    
}

.subheading-paragraph {
    max-width: 770px;
}

/* CARD CONTAINER */

#card-grid-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));;
    gap: 32px;
}

@media screen and (max-width: 840px) {
    #card-grid-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 640px) {
    #card-grid-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.card-container {
    display: flex;
    flex-direction: column;
    border-radius: var(--Vertical-Spacing-Spacing-xs, 8px);
    border: var(--FilterCount, 1px) solid var(--Borders-border-4, #E0E0E0);
    background: var(--Backgrounds-background-1, #FFF);
}

.card-image-container {
    min-height: 230px;
    border-radius: 8px 8px 0px 0px;
    background: var(--Backgrounds-background-highlight, #F3F7F8);
}

.card-image-container {
    display: flex;
    position: relative;
}

.card-image {
    margin-left: auto;
    margin-right: auto;
    width: 200px;
    height: 120.388px;

}

.card-image-decoration {
    position: absolute;
    bottom: 0px;
    right: 0px;
}

.card-image-decoration img {
    max-height: 80px;
    max-width: 100px;
}

.card-captions {
    display: flex;
    flex-direction: row;
    gap: 11px;
    position: absolute;
    bottom: 16px;
    left: 16px;
}

.card-image-caption {
    display:inline;
    color: var(--text-foregrounds-text-2, #252525);
    text-align: center;
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: Roboto;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px; /* 133.333% */
    text-transform: uppercase;
    padding: 3px 10px;
    background: var(--text-foregrounds-text-opposite-1, #FFF);
}

.card-details {
    padding-top: 24px;
    padding-left: 20px;
    padding-right: 20px;
}

.card-pad {
    padding-left: 20px;
    padding-right: 20px;
}

.card-details-header {
    display: flex;
    flex-direction: row;
    gap: 16px;
    justify-content: space-between;
    /* min-height: 64px; */
    /* max-height: 175px; */
}

.card-title {
    color: var(--text-foregrounds-text-default, #1F1F1F);
    font-feature-settings: 'clig' off, 'liga' off;
    /* Headings/🖥 - Desktop/H4 */
    font-family: 'RBCDISPLAY';
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 32px; /* 133.333% */
    height: fit-content;
}

.card-details-annual-fee-container {
    color: var(--text-foregrounds-text-3, #585858);
    text-align: right;
    font-feature-settings: 'clig' off, 'liga' off;

    /* Text: UI/ui-2xs */
    font-family: Roboto;
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
    line-height: 12px; /* 109.091% */
    min-width: 60px;
}

.card-details-annual-fee {
    color: var(--text-foregrounds-text-default, #1F1F1F);
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: Roboto;
    font-size: 20px;
    font-style: normal;
    font-weight: 300;
    line-height: 32px; /* 160% */
}

.card-details-monthly-charge {
    color: var(--text-foregrounds-text-default, #1F1F1F);
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
}

.card-details-monthly-charge::first-line {
    line-height: 32px; /* 228.571% */
}

.card-details-offer-container {
    border-radius: var(--Vertical-Spacing-Spacing-xs, 8px);
    border: 1px solid #FFB500;
    background: linear-gradient(180deg, rgba(255, 186, 0, 0.10) 0%, rgba(255, 186, 0, 0.00) 100%);
    padding: 22px 16px 16px 16px;
    position: relative;
}

.card-details-offer-caption {
    position: absolute;
    left: 16px;
    top: -11px;
    border-radius: 4px;
    background: var(--Interaction-interactive-accent-hover, #FFBA00);
    padding: 3px 10px;
    color: var(--text-foregrounds-text-2, #252525);
    text-align: center;
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: Roboto;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px; /* 133.333% */
    text-transform: uppercase;
}

.card-details-offer-content {
    color: var(--text-foregrounds-text-default, #1F1F1F);
    font-feature-settings: 'clig' off, 'liga' off;

    /* Text: Paragraph/paragraph <strong> */
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 150% */
}

.card-details-features-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 10px;
}

.card-details-features-heading {
    color: var(--text-foregrounds-text-default, #1F1F1F);
    font-feature-settings: 'clig' off, 'liga' off;

    /* Paragraphs/Styles/Form Label */
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 150% */
}

@media screen and (max-width: 768px) {
    .card-details-features-heading {
        color: #006AC3;
        font-family: Roboto;
        font-size: 16px;
        font-weight: 400;
        line-height: 24px;
        text-align: left;

    }
}

.card-details-features-item {
    display: flex;
    flex-direction: row;
    gap: 12px;
}

.card-details-features-item-content {
    color: var(--text-foregrounds-text-default, #1F1F1F);
    font-feature-settings: 'clig' off, 'liga' off;

    /* Paragraphs/Text/reg */
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px; /* 150% */

    /* for the ::before content */
    display: table;
}

.card-bottom {
    margin-top: auto;
}

.card-details-rate-container {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.card-details-rate-item-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.card-details-rate-item-label {
    color: var(--text-foregrounds-text-default, #1F1F1F);
    font-feature-settings: 'clig' off, 'liga' off;

    /* Text: UI/ui-xs_low-emphasis */
    font-family: Roboto;
    font-size: 12px;
    font-style: normal;
    font-weight: 300;
    line-height: 16px; /* 133.333% */
}

.card-details-rate-item-value {
    color: var(--text-foregrounds-text-default, #1F1F1F);
    font-feature-settings: 'clig' off, 'liga' off;

    /* Text: UI/ui-sm */
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 142.857% */
}

.card-action-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.card-accordion {
    border: none !IMPORTANT;
}

.apply-now-container {
    width: 100%;
    height: 51px;
    padding: 16px 32px 0px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
    border-radius: 0px 0px 8px 8px;
    background: var(--Interaction-interactive-1, #006AC3);
    color: var(--Interaction-interactive-1-text, #FFF) !IMPORTANT;
    text-align: center;
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 18.968px; /* 118.553% */
    user-select: none;
    overflow: hidden;
}

.apply-now-container:hover {
    text-decoration: none;
}

/* Filter Drawer */

#filter-show-results {
    font-family: Roboto;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-align: center;

}

.drawer {
    position: fixed;
    left: 0px;
    background-color: #fff;
    z-index: 200;
    width: 400px;
    max-height: unset;
    height: 100%;

}

.drawer .drawer-inner {
    overflow: auto;
}

.drawer-inner .close {
    position: absolute;
    top: 40px;
    right: 0;
}

.drawer .close {
    width: 80px;
    height: 40px;
    top: 40px;
    right: 0;
    cursor: pointer;
    display: block;
    max-height: 100%;
    overflow: hidden;
    margin-left: 0;
    margin-right: 0;
    left:100%;
}

.custom-drawer {
    border: none;
    position: fixed;
    left: -500px;
    top: 0;
    background: white;
    z-index: 9999;
    margin: 0;
    max-height: 100%;
    height: 100%;
    width: 375px;
    padding: 0px;
}

.custom-drawer::backdrop {
    background-color: black;
    opacity: .25;
}

.drawer-close {
    top: 0px;
    right: 0px;
    position: absolute;
}

.icon-16 {
    width: 16px;
    height: 16px;
}

.drawer-title {
    color: var(--Text-text-darker, #444);
    text-align: center;
    font-feature-settings: 'clig' off, 'liga' off;

    /* Headings/📱- Mobile/H3 */
    font-family: "RBCDisplay";
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 25px; /* 125% */
}

.drawer-content-container {
    
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    align-self: stretch;
    overflow-y: auto;
}

.drawer-content-bottom {
    position: sticky;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    bottom: 0px;
    width: 100%;
    background: white;
}

.filter-reset {
    display: block;
    text-align: center;
}

.custom-drawer[open] {
    animation: drawer-open 400ms linear forwards;
}

.custom-drawer-closing {
    animation: drawer-close 400ms linear forwards !important;
}

.custom-drawer[open]::backdrop {
    animation: backdrop-fade 400ms linear forwards;
}

.custom-drawer-closing::backdrop {
    animation: backdrop-fade-closing 400ms linear forwards !important;
}


@keyframes backdrop-fade {
    from {
        background: transparent;
    }
    to {
        background: rgba(0,0,0);
    }
}

@keyframes backdrop-fade-closing {
    from {
        background: rgba(0,0,0);
    }
    to {
       background: transparent;
    }
}

@keyframes drawer-open {
    from {
        left: -500px;
    }
    to {
        left: 0px;
    }
}

@keyframes drawer-close {
    from {
        left: 0px;
    }
    to {
        left: -500px;
    }
}

.cards-showing-container {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

/* Toolbar */

.app-toolbar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    
}

@media screen and (max-width: 768px) {
    .app-toolbar {
        flex-direction: column;
        gap: 16px;
    }
}

.app-toolbar > * {
    display: flex;
    flex-direction: row;
    gap: 32px;
    align-items: center;
}

.app-toolbar-right {
    min-width: 400px;
}

@media screen and (max-width: 768px) {
    .app-toolbar-right {
        min-width: 0px;
    }
}

.card-filters {
    color: var(--Interaction-link, #006AC3);
    font-feature-settings: 'clig' off, 'liga' off;

    /* Text: UI/ui-sm */
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 142.857% */

    display: flex; /* for the ::before icon */
}

.card-filters::before {
    content: url(/credit-cards/transformer/img/icons/icon-filter.svg);
    line-height: 0;
    margin-right: 8px;
}

.custom-select-wpr {
    display: flex;
    gap: 16px;
    align-items: center;
}

#select-sort-by {
    flex: 1;
}

/* Rewards */

.custom-block-inner.pad {
    padding: 40px !important;
}

@media screen and (max-width: 640px) {
    .custom-block-inner.pad {
        padding: 32px !important;
    }
}

.rewards-heading {
    color: #FFF !IMPORTANT;
    font-feature-settings: 'clig' off, 'liga' off;

    /* Headings/🖥 - Desktop/H2 */
    font-family: "RBCDisplay";
    font-size: 36px;
    font-style: normal;
    font-weight: 500;
    line-height: 44px; /* 122.222% */

    margin-top: 0;
}

@media screen and (min-width: 640px) {
    .custom-block-inner.pad {
        margin-top: 0;
    }
}

.rewards-paragraph {
    color: #FFF !IMPORTANT;
    font-feature-settings: 'clig' off, 'liga' off;
    
    /* Paragraphs/Styles/Form Label */
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 150% */
}

.rewards-link {
    color: var(--Interaction-link-opposite, #FFF) !IMPORTANT;
    font-feature-settings: 'clig' off, 'liga' off;

    /* Text: UI/ui */
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 150% */
}

.rewards-link:visited {
    color: var(--Interaction-link-opposite, #FFF) !IMPORTANT;
}

.rewards-heading-avios {
    color: var(--text-foregrounds-text-default, #252525);
    font-feature-settings: 'clig' off, 'liga' off;
    
    /* Headings/🖥 - Desktop/H2 */
    font-family: "RBCDisplay";
    font-size: 36px;
    font-style: normal;
    font-weight: 500;
    line-height: 44px; /* 122.222% */
}

@media screen and (max-width: 640px) {
    .rewards-heading-avios {
        /* Headings/📱- Mobile/H2 */
        font-size: 24px;
        font-weight: 500;
        line-height: 30px; /* 125% */
    }
}

.custom-standalone-link {
    display: inline-block;
    text-decoration: none;
    position: relative;
}

.custom-standalone-link:after {
    content: url("/dvl/v1.0/assets/images/ui/ui-chevron-right-blue.svg");
    position: absolute;
    right: -15px;
    top: .35em;
    display: inline-block;
    width: 6px;
    height: 10px;
    line-height: 0;
}

.standalone-link-after {
    display: inline-block;
    text-decoration: none;
    position: relative;
}

.standalone-link-after:after {
    content: url("/dvl/v1.0/assets/images/ui/ui-chevron-right-blue.svg");
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-block;
    width: 6px;
    height: 10px;
    line-height: 0;
}

.standalone-link-after-white {
    display: inline-block;
    text-decoration: none;
    position: relative;
}

.standalone-link-after-white:after {
    content: url("/dvl/v1.0/assets/images/ui/ui-chevron-right-white.svg");
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-block;
    width: 6px;
    height: 10px;
    line-height: 0;
}

.rewards-decoration {
    position: absolute;
    bottom: 0px;
    right: 0px;
}

.wj-rewards-decoration {
    height: 48px;
}

@media screen and (max-width: 768px) {
    .rewards-decoration {
        max-height: 80px !important;
    }

    .wj-rewards-decoration {
        height: 35px;
    }
}


.avion-rewards-callout {
    background: var(--Rewards-Dark-Background, linear-gradient(139deg, #0B3166 0%, #0051A5 100%));
}

.westjet-rewards-callout {
    background: #018380;
}

.custom-block-wpr {
    position: relative;
}

.custom-reward-callout-container {
    display: flex;
    flex-direction: column;
}

.avion-rewards-img {
    height: 100%;
}

@media screen and (max-width: 768px) {
    .avion-rewards-img {
        object-fit: none;
    }
}

.lower-reward-block {
    flex: 1;
}

.ba-content {
    flex: 3fr;
    position: relative;
}

.ba-decoration {
    position: absolute;
    max-width: 223px;
    max-height: 35px;
    bottom: 0px;
    right: 0px;
}

.ba-decoration-block {
    width: 223px;
}

.ba-img {
    
    flex: 1fr;
}

/* How to apply */

.how-to-apply-title {
    color: #252525;
    text-align: center;
    font-feature-settings: 'clig' off, 'liga' off;

    /* Headings/🖥/H2 */
    font-family: "RBCDisplay";
    font-size: 36px;
    font-style: normal;
    font-weight: 500;
    line-height: 44px; /* 122.222% */
}

.how-to-apply-heading {
    color: #000;
    font-feature-settings: 'clig' off, 'liga' off;

    /* Headings/🖥 - Desktop/H3 */
    font-family: "RBCDisplay";
    font-size: 28px !important;
    font-style: normal;
    font-weight: 500 !important;
    line-height: 36px !important; /* 128.571% */

    margin-top: 16px;
}

.how-to-apply-paragraph { 
    color: #000;
    font-feature-settings: 'clig' off, 'liga' off;
    
    /* Paragraphs/Text/reg */
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px; /* 150% */
}

@media screen and (max-width: 640px) {
    .how-to-apply-title {
        text-align: center;
        font-feature-settings: 'liga' off, 'clig' off;

        /* Headings/📱- Mobile/H2 */
        font-family: "RBCDisplay";
        font-size: 24px;
        font-style: normal;
        font-weight: 500;
        line-height: 30px; /* 125% */
    }

    .how-to-apply-heading {
        font-size: 20px !important;
        line-height: 25px !important; /* 125% */
    }

    .rewards-heading {
        font-feature-settings: 'liga' off, 'clig' off;

        /* Headings/📱- Mobile/H2 */
        font-family: "RBCDisplay";
        font-size: 24px;
        font-style: normal;
        font-weight: 500;
        line-height: 30px; /* 125% */
    }
}

.custom-tertiary {
    border: 2px solid var(--Interaction-link, #006AC3);
    background: var(--Backgrounds-background-1, #FFF);
    
    padding: 14px 20px;
    justify-content: center;
    align-items: center;
 
    color: var(--Interaction-link, #006AC3);
    text-align: center;
    font-feature-settings: 'clig' off, 'liga' off;

    /* Component-Specific/button-sm */
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px; /* 142.857% */

}

#tool_callouts img {
    width: 60px;
    height: 60px;
}

.custom-light-blue-callout {
    border-radius: var(--Vertical-Spacing-Spacing-xs, 8px);
    background: var(--Component-Backgrounds-component-bg-2, #EDF7FC);
    gap: 16px;
    display: flex;
    padding: 32px !important;
    flex-direction: column;
    align-items: flex-start;

    flex: 1 0 0;
    align-self: stretch;
}

.custom-steel-blue-callout {
    border-radius: var(--Vertical-Spacing-Spacing-xs, 8px);
    background: var(--Component-Backgrounds-component-bg-3, #E1EBEF);
    gap: 16px;
    display: flex;
    padding: 32px !important;
    flex-direction: column;
    align-items: flex-start;
    flex: 1 0 0;
    align-self: stretch;
}

.custom-grey-callout {
    display: flex;
    padding: 32px !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    flex: 1 0 0;
    align-self: stretch;
    border-radius: var(--Vertical-Spacing-Spacing-xs, 8px);
    background: var(--Backgrounds-background-3, #F3F4F5);
}

.margin-top-auto {
    margin-top: auto;
}

/* Containers */

.responsive-flex {
    display: flex;
    flex-direction: row;
}

@media screen and (max-width: 768px) {
    .responsive-flex {
        display: flex;
        flex-direction: column;
    }
}

@media screen and (max-width: 640px) {
    .desktop-only-flex {
        display: none !important;
    }
    .mobile-only-flex {
        display: flex !important;
    }
}

@media screen and (min-width: 640px) {
    .mobile-only-flex {
        display: none !important;
    }
    .desktop-only-flex {
        display: flex !important;
    }
}

/* Hover Button */

.hover-button {
    position: relative;
    transition: all ease-in 500ms;
}

.hover-button:hover >  .hover-button-text {
    transform: translateY(-5px);
    transition: all ease-in 500ms;
}

.hover-button > .hover-button-text {
    transform: translateY(0px);
    transition: all ease-in 500ms;
}

.hover-button::after {
    content: '';
    background: #003168;
    position: absolute;
    bottom: 0px;
    width: 0px;
    height: 0px;
    opacity: 0;
    transition: all ease-in 500ms;
    align-self: center;
    /* border-bottom-left-radius: 8px; */
    /* border-bottom-right-radius: 8px; */
}

.hover-button-text {
    transform: translateY(0px);
    transition: all ease-in 500ms;
}

.hover-button:hover::after {
    width: 100%;
    height: 10px;
    opacity: 1;
}

/* No resources found */

#no-cards-found {
    display: flex;
    flex-direction: column;
}

.stacked-img-wrapper {
    position: relative;
    height: 200px;
}

.stacked-img {
    display: block;
    position: absolute;
    margin: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: fit-content;
    height: fit-content;
}

.no-resources-found-text {
    font-family: "RBCDisplay";
    font-size: 24px;
    font-weight: 500;
    line-height: 30px;
    text-align: center;

}

.no-resources-found-btn {
    background: #006AC3;
    padding: 15px;
    font-family: Roboto;
    font-size: 16px;
    font-weight: 500;
    line-height: 18px;
    text-align: left;
    color: #FFFFFF;
    min-width: 142px;
    height: 50px;
    margin: auto;
}

.standalone-link-img {
    width: 6px;
    height: 10px;
    margin-left: 4px;
    margin-top: -2px;
}


/* Card Features */

.feature-icon-rewards::before {
    content: url("/credit-cards/transformer/img/icons/feature-icon-rewards.svg");
    display: table-cell;
    width: 24px;
    height: 24px;
    vertical-align: top;
    padding-right: 12px;
}

.feature-icon-person::before {
    content: url("/credit-cards/transformer/img/icons/feature-icon-person.svg");
    display: table-cell;
    width: 24px;
    height: 24px;
    vertical-align: top;
    padding-right: 12px;
}

.feature-icon-world::before {
    content: url("/credit-cards/transformer/img/icons/feature-icon-world.svg");
    display: table-cell;
    width: 24px;
    height: 24px;
    vertical-align: top;
    padding-right: 12px;
}

.feature-icon-star::before {
    content: url("/credit-cards/transformer/img/icons/feature-icon-star.svg");
    display: table-cell;
    width: 24px;
    height: 24px;
    vertical-align: top;
    padding-right: 12px;
}

.feature-icon-plus::before {
    content: url("/credit-cards/transformer/img/icons/feature-icon-plus.svg");
    display: table-cell;
    width: 24px;
    height: 24px;
    vertical-align: top;
    padding-right: 12px;
}

.feature-icon-heart::before {
    content: url("/credit-cards/transformer/img/icons/feature-icon-heart.svg");
    display: table-cell;
    width: 24px;
    height: 24px;
    vertical-align: top;
    padding-right: 12px;
}

.feature-icon-briefcase::before {
    content: url("/credit-cards/transformer/img/icons/feature-icon-briefcase.svg");
    display: table-cell;
    width: 24px;
    height: 24px;
    vertical-align: top;
    padding-right: 12px;
}

.feature-icon-student::before {
    content: url(/credit-cards/transformer/img/icons/feature-icon-school.svg);
    display: table-cell;
    width: 24px;
    height: 24px;
    vertical-align: top;
    padding-right: 12px;
}

.feature-icon-percentage::before {
    content: url("/credit-cards/transformer/img/icons/feature-icon-percentage.svg");
    display: table-cell;
    width: 24px;
    height: 24px;
    vertical-align: top;
    padding-right: 12px;
}

.feature-icon-gas-station::before {
    content: url("/credit-cards/transformer/img/icons/feature-icon-gas.svg");
    display: table-cell;
    width: 24px;
    height: 24px;
    vertical-align: top;
    padding-right: 12px;
    filter: brightness(0) saturate(100%) invert(13%) sepia(0%) saturate(6508%) hue-rotate(161deg) brightness(100%) contrast(102%);
}

.feature-icon-cash::before {
    content: url("/credit-cards/transformer/img/icons/feature-icon-cash.svg");
    display: table-cell;
    width: 24px;
    height: 24px;
    vertical-align: top;
    padding-right: 12px;
    filter: brightness(0) saturate(100%) invert(13%) sepia(0%) saturate(6508%) hue-rotate(161deg) brightness(100%) contrast(102%);
}

.feature-icon-globe::before {
    content: url("/credit-cards/transformer/img/icons/feature-icon-globe.svg");
    display: table-cell;
    width: 24px;
    height: 24px;
    vertical-align: top;
    padding-right: 12px;
    filter: brightness(0) saturate(100%) invert(13%) sepia(0%) saturate(6508%) hue-rotate(161deg) brightness(100%) contrast(102%);
}

.feature-icon-money-coin::before {
    content:"";
    background-image: url(/credit-cards/transformer/img/icons/icon-money-coin.png);
    background-size: 24px 24px;
    background-repeat: no-repeat;
    display: table-cell;
    width: 36px;
    height: 24px;
    vertical-align: top;
    padding-right: 12px;
}

.feature-icon-price-tag::before {
    content:"";
    background-image: url(/credit-cards/transformer/img/icons/icon-price-tag.svg);
    background-size: 24px 24px;
    background-repeat: no-repeat;
    display: table-cell;
    width: 36px;
    height: 24px;
    vertical-align: top;
    padding-right: 12px;
}

.feature-icon-umbrella::before {
    content:"";
    background-image: url(/credit-cards/transformer/img/icons/icon-umbrella.svg);
    background-size: 24px 24px;
    background-repeat: no-repeat;
    display: table-cell;
    width: 36px;
    height: 24px;
    vertical-align: top;
    padding-right: 12px;
}

/* Compare tray */

.compare-tray {
    position: fixed;
    bottom: 0px;
    width: 376px;
    left: 60%;
    margin-left: -178px;
    border: 1px solid #FFFFFF;
    z-index: 1000;
}

.compare-tray .compare-tray-header {
    height: 60px;
    line-height: 60px;
    font-size: 18px;
    padding-left: 20px;
    cursor: pointer;
}

.compare-tray .compare-tray-content {
    border: 1px solid #b0b0b0;
    padding: 15px 30px;
    height: 290px;
}

.bg-navy {
    background: #0061A9;
}

.compare-tray .compare-tray-header img {
    margin-left: 60px;
    width: 19px;
}

.compare-tray .compare-tray-content .compare-tray-card {
    float: none;
    display: flex;
    margin-bottom: 20px;
}

.compare-tray .compare-tray-content img {
    width: 62px;
    height: 39px;
    margin-right: 15px;
}

.compare-tray .compare-tray-content .compare-tray-add-btn {
    padding-top: 15px;
    padding-bottom: 15px;
    background: #D7D7D7;
    color: #006AC3;
    font-size: 24px;
    border-radius: 3px;
    width: 62px;
    height: 39px;
    margin-right: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.compare-tray .compare-tray-content .btn-remove {
    zoom: 60%;
    float: none;
    margin-left: 10px;
}

.btn-remove {
    position: absolute;
    width: 20px;
    height: 20px;
    display: block;
    float: left;
    padding: 0px;
    min-width: auto;
    right: 20px;
    top: 20px;
    background-image: url(/dvl/v1.0/assets/images/ui/ui-close-blue.svg);
    background-size: cover;
}

.compare-tray .compare-tray-content p.name.add {
    text-decoration: underline;
    color: #006AC3;
    font-weight: normal;
}

.cards .card-box {
    text-align: center;
    display: inline-block;
    float: left;
    margin: 15px;
    width: 270px;
    height: 260px;
    border: 1px solid #D7D7D7;
    padding: 15px;
}

.btn-compare {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    height: 50px;
    background: #fff;
    color: #1F1F1F;
    font-size: 1.6rem !important;
    line-height: 2.4rem !important;
    font-family: Roboto;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    text-align: left;

    
}

.btn-compare.btn-compare-added:before {
    background-position: -31px -57px;
}
.btn-compare:before {
    background-image: url(/credit-cards/_assets-custom/images/cards/card_redesign_assets@2x.png) !important;
}

.btn-compare:before {
    content: "";
    height: 30px;
    width: 30px;
    outline: 1px solid #d8dbdd;
    margin-right: 15px;
    background-size: 300px 200px;
}

.btn-compare:not(.btn-compare-added):before {
    background: none;
    background: initial;
}

.compare-tray .compare-tray-content p.name {
    margin-bottom: 0px;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    padding-right: 20px;
}

.compare-tray .compare-tray-header img.closed {
    transform: rotate(180deg);
}

/* new module - "What is a credit card" (https://projects.interadcorp.com/desk/tickets/17588725/messages) */
#what-is-cc .section-inner {
    border-bottom: 1px solid #E0E0E0;
    max-width: 1400px;
    padding: 32px 0 0;
    overflow: hidden;
}

.what-is-cc-container {
    display: flex;
    flex-direction: row;
    gap: 32px;
    margin-left: 115px;
    margin-right: 115px;
    background: #FFF;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 54px 118px 0 rgba(37, 37, 37, 0.04), 0 12.062px 26.357px 0 rgba(37, 37, 37, 0.06), 0 3.591px 7.847px 0 rgba(37, 37, 37, 0.08);
    padding: 0 32px;
}

.what-is-cc-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px 0;
    flex: 1;
    justify-content: center;
}

.what-is-cc-img {
    background-image: url(/credit-cards/transformer/img/what-is-cc-img.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    max-width: 318px;
    width: 100%;
    aspect-ratio: 318/250;
}

@media screen and (max-width: 1200px) {
    .what-is-cc-container { 
        margin-left: 45px;
        margin-right: 45px;
    }
}

@media screen and (max-width: 768px) {
    .what-is-cc-container { 
        flex-direction: column-reverse;
        gap: 16px;
        align-items: center;
    }

    .what-is-cc-img {
        display: none;
    }
}

/* Exclusive offers */

.exclusive-offer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

@media screen and (max-width: 768px) {
    .exclusive-offer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 639px) {
    .exclusive-offer-container {
        grid-template-columns: repeat(1, 1fr);
    }
}

.exclusive-offer-content {
    display: flex;
    flex-direction: column;
    padding: 24px;
    gap: 24px;
}

.exclusive-offer-item {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.exclusive-offer-item .img-container {
    height: 60px;
    display: flex;
    align-items: center;

    #petro-canada-img {
        max-width: 76.05px;
        width: 100%;
        max-height: 60px;
    }

    #rexall-img {
        max-width: 242px;
        width: 100%;
        max-height: 60px;
    }

    #doordash-img {
        max-width: 268px;
        width: 100%;
    }
}