.banner {
    background-image: url("/our-impact/stronger-nonprofits-program/_assets-custom/images/bg-desktop.webp");
    background-size: cover;
}
@media screen and (max-width: 639px) {
    .banner {
        background: none;
    }
    .mobile-bnr-image {
        background-image: url("/our-impact/stronger-nonprofits-program/_assets-custom/images/bg-mobile.webp");
        background-size: cover;
        height: 300px;
    }
    .mobile-bnr-grid {
        background-color: #EAE3D7;
        padding: 16px;
    }
}

.banner-heading {
    color: var(--text-foregrounds-text-default, #252525);
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "RBCDisplay";
    font-size: 60px;
    font-style: normal;
    font-weight: 700;
    line-height: 69px;
    letter-spacing: -2px;
}

.banner .banner-subheading {
    color: var(--Interaction-interactive-1-active, #003168);
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: var(--Fonts-family-heading, "RBCDisplay");
    font-size: var(--Fonts-fonts-heading-4, 24px);
    font-style: normal;
    font-weight: 500;
    line-height: var(--Fonts-line-height-heading-4, 30px);
}

.banner-subheading {
    color: var(--Interaction-interactive-1-active, #003168);
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: var(--Fonts-family-heading, "RBCDisplay");
    font-size: var(--Fonts-fonts-heading-4, 24px);
    font-style: normal;
    font-weight: 500;
    line-height: var(--Fonts-line-height-heading-4, 30px);
}

.banner .banner-subheading .text-blue {
    color: #0091DA !important;
}

.banner p {
    color: var(--text-foregrounds-text-default, #252525);
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: var(--Fonts-family-paragraph, Roboto);
    font-size: var(--Fonts-fonts-heading-5, 18px);
    font-style: normal;
    font-weight: 400;
    line-height: var(--Fonts-line-height-heading-5, 27px);

    @media screen and (max-width: 639px) {
        color: var(--text-foregrounds-text-default, #252525);
        font-feature-settings: 'liga' off, 'clig' off;
        font-family: Roboto;
        font-size: 16px;
        font-style: normal;
        font-weight: 300;
        line-height: 24px;
    }
}

.rounded-callout {
    display: flex;
    padding: 32px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
    flex: 1 0 0;
    align-self: stretch;
    background: #FFF;
    border-radius: 16px;
    width: 100%;
    max-width: 40%;

    p strong {
        color: #000;
        text-align: center;
        font-feature-settings: 'liga' off, 'clig' off;
        font-family: var(--Fonts-family-paragraph, Roboto);
        font-size: var(--Fonts-fonts-heading-5, 18px);
        font-style: normal;
        font-weight: 500;
        line-height: var(--Fonts-line-height-heading-5, 27px);
    }
}

.rounded-callout-large {
    display: flex;
    padding: 32px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: 60%;
    align-self: stretch;

    p {
        color: #000;
        font-family: Roboto;
        font-size: 16px;
        font-style: italic;
        font-weight: 300;
        line-height: 24px;
    }

    p strong {
        color: #000;
        text-align: center;
        font-family: Inter;
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: 24px;
    }
}

.rounded-callout-grey {
    display: flex;
    max-width: 1170px;
    padding: 32px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    border-radius: 16px;
    background: var(--Backgrounds-background-2, #FAFAFA);
    box-shadow: 0 3.591px 7.847px 0 rgba(37, 37, 37, 0.08);

    p {
        color: #000;
        text-align: center;
        font-feature-settings: 'liga' off, 'clig' off;
        font-family: var(--Fonts-family-paragraph, Roboto);
        font-size: var(--Fonts-fonts-heading-5, 18px);
        font-style: normal;
        font-weight: 400;
        line-height: var(--Fonts-line-height-heading-5, 27px);

        @media screen and (max-width: 639px) {
            color: #000;
            text-align: center;
            font-feature-settings: 'liga' off, 'clig' off;
            font-family: Roboto;
            font-size: 16px;
            font-style: normal;
            font-weight: 400;
            line-height: 24px;
        }
    }
}

@media screen and (max-width: 639px) {
    .mob-flex-column {
        flex-direction: column;
    }
}


.rounded-callout-blue-container {
    display: flex;
    gap: 30px;
}

.rounded-callout-blue {
    display: flex;
    max-width: 570px;
    width: 100%;
    padding: 32px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    border-radius: 8px;
    background: var(--Component-Backgrounds-component-bg-2, #EDF7FC);
}

.triple-callout {
    display: flex;
    flex-direction: column;
    max-width: 370px;
    flex: 1;
    width: 100%;
}

.triple-callout-content {
    background: white;
    border-radius: 0 0 8px 8px;
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.triple-callout-img {
    height: 250px;
    width: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 8px 8px 0 0;
    flex-shrink: 0;

    @media screen and (max-width: 639px) {
        height: 224px;
    }
}

.triple-callouts-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: stretch;
}

.glider-wpr {
    .glider-track {
        display: flex;
    }

    .glider-item {
        display: flex;
        height: auto;
    }
}

.triple-callout-heading a {
    color: var(--Interaction-interactive-1, #006AC3);
    font-family: var(--Fonts-family-heading, "RBCDisplay");
    font-size: var(--Fonts-fonts-heading-4, 24px);
    font-weight: 500;
    line-height: 30px;
    margin-top: 20px;
    margin-bottom: 16px;
    display: block;

    @media screen and (max-width: 639px) {
        font-size: 18px;
        line-height: 27px;
    }
}

/* Container Specifics */
.triple-callouts-container {
    width: 100%;
    display: flex;
    align-content: flex-start;
    gap: 30px;
    flex-wrap: wrap;
}

/* Glider Specific Fixes */
.glider-wpr {
    .glider-item {
        /* This ensures the included HTML fills the slide */
        display: flex;
        justify-content: center;
        height: auto;
    }
}

.ideas-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.ideas-callout {
    display: flex;
    flex-direction: column;
    max-width: 570px;
    border: 1px solid #ddd;
    overflow: hidden;
}


.standalone-link-after {
    position: relative;
    padding-right: 10px;
    display: inline-block;
    text-decoration: none;
}

.standalone-link-after::after {
    content: url("/dvl/v1.0/assets/images/ui/ui-chevron-right-blue.svg");
    position: absolute;
    right: -5px;
    top: .48em;
    display: inline-block;
    width: 6px;
    height: 10px;
    line-height: 0;
}

/* Ensure the container actually has dimensions */
.ideas-image {
    display: block;
    width: 100%;
    min-height: 250px; /* Force a height */
    background-color: #cccccc; /* Grey fallback */
    background-size: cover;
    background-position: center;
    position: relative;
}

/* The dark tint overlay */
.ideas-image.my-play-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
    pointer-events: none;
}

/* The centered play button icon */
.ideas-image.my-play-btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-image: url('/our-impact/stronger-nonprofits-program/_assets-custom/images/play-button.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 2;
    pointer-events: none;
}


.ideas-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 24px;
}

.ideas-text {
    margin-bottom: 24px;
}

.ideas-link {
    margin-top: auto;
}

.custom-callouts-nonprofit {
    .callout-img {
        min-height: 190px;
    }
    .callout-copy {
        h5 {
            color: #000;
            font-feature-settings: 'liga' off, 'clig' off;

            /* Headings/Desktop/H4 */
            font-family: var(--Fonts-family-heading, "RBCDisplay");
            font-size: var(--Fonts-fonts-heading-4, 24px) !important;
            font-style: normal;
            font-weight: 500;
            line-height: var(--Fonts-line-height-heading-4, 30px); /* 125% */
        }
        p {
            color: #000;
            font-feature-settings: 'liga' off, 'clig' off;

            /* Paragraphs/Text/reg/reg-light */
            font-family: Roboto;
            font-size: 16px;
            font-style: normal;
            font-weight: 300;
            line-height: 24px; /* 150% */
        }
    }
    .callout-link {
        a {
            color: #006AC3;
            font-family: Roboto;
            font-size: 16px;
            font-style: normal;
            font-weight: 400;
            line-height: 24px; /* 150% */
        }
    }

    @media screen and (max-width: 639px) {
        .callout-copy h5 {
            color: #000;
            font-feature-settings: 'liga' off, 'clig' off;

            /* Headings/Mobile/H4 */
            font-family: "RBCDisplay";
            font-size: 18px;
            font-style: normal;
            font-weight: 500;
            line-height: 27px; /* 150% */
        }
    }
}

@media (min-width: 640px) {
    .ideas-container {
        flex-direction: row;
    }

    .ideas-callout {
        flex-direction: row;
        align-items: stretch;
        gap: 30px;
    }

    .ideas-image {
        width: 270px;
        flex-shrink: 0;
        min-height: auto;
    }

    .ideas-content {
        padding: 24px 24px 24px 0;
    }
}

@media screen and (max-width: 639px) {
    .glider-wpr {
        /* Pull container to screen edges */
        margin: 30px -15px !important;
        overflow: visible !important;
    }

    .glider-track {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        /* This creates the initial margin-left for the first item */
        padding-left: 15px !important;
        margin: 0 !important;
    }

    .glider-wpr .glider-track .glider-item {
        /* Screen width - (Side Padding + Gap + Peek) */
        /* 15px (left) + 30px (gap) + 30px (peek) = 75px */
        width: calc(100vw - 75px) !important;
        min-width: calc(100vw - 75px) !important;

        /* Force reset to prevent mystery gaps */
        margin-left: 0 !important;
        padding: 0 !important;
        flex-shrink: 0;

        /* Standard gap between all items */
        margin-right: 30px !important;
    }

    /* Hide default scrollbars */
    .glider-track::-webkit-scrollbar {
        display: none;
    }
}

#national-accordion-set {
    .accordion-panel, .accordion-panel > button, .collapse-content {
        max-width: 100%;
    }
    .accordion-panel > button {
        color: var(--text-foregrounds-text-default, #252525);
        font-feature-settings: 'liga' off, 'clig' off;
        font-family: var(--Fonts-family-paragraph, Roboto);
        font-size: 20px;
        font-style: normal;
        font-weight: 500;
        line-height: 29px; /* 145% */

        @media screen and (max-width: 639px) {
            color: var(--text-foregrounds-text-default, #252525);
            font-feature-settings: 'liga' off, 'clig' off;

            /* Headings/Desktop/H5 */
            font-family: var(--Fonts-family-paragraph, Roboto);
            font-size: var(--Fonts-fonts-heading-5, 18px);
            font-style: normal;
            font-weight: 500;
            line-height: var(--Fonts-line-height-heading-5, 27px); /* 150% */
        }
    }
}

.nat-acc-callout {
    display: flex;
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    align-self: stretch;
    border-radius: 8px;
    background: var(--Backgrounds-background-highlight, #F3F7F8);
    width: 100%;


    p{margin-bottom: 0;}
    p>a:not(.small) {
        color: var(--Interaction-interactive-1, #006AC3);
        font-feature-settings: 'liga' off, 'clig' off;

        /* Headings/Desktop/H5 */
        font-family: var(--Fonts-family-paragraph, Roboto);
        font-size: var(--Fonts-fonts-heading-5, 18px);
        font-style: normal;
        font-weight: 500;
        line-height: var(--Fonts-line-height-heading-5, 27px); /* 150% */
    }
}

.section-tabs .tab-nav li.active {
    background: var(--Backgrounds-background-2, #FAFAFA) !important;
}

.gap-30 {
    gap: 30px;
}

@media screen and (max-width: 639px) {
    .banner-heading {
        color: var(--text-foregrounds-text-default, #252525);
        font-feature-settings: 'liga' off, 'clig' off;
        font-family: "RBCDisplay";
        font-size: 28px;
        font-style: normal;
        font-weight: 700;
        line-height: 35px;
    }

    .banner-subheading {
        font-family: "RBCDisplay";
        font-size: 18px;
        font-style: normal;
        font-weight: 500;
        line-height: 27px;
    }

    .rounded-callout {
        max-width: 100%;

        p strong {
            color: #000;
            text-align: center;
            font-feature-settings: 'liga' off, 'clig' off;
            font-family: Roboto;
            font-size: 16px;
            font-style: normal;
            font-weight: 500;
            line-height: 24px;
        }
    }

    .rounded-callout-blue-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .mob-gap-20 {
        gap: 20px;
    }
}