/* =========================================================
   IMPACT HERO
   ========================================================= */

.an-impact-hero {
    position: relative;
    min-height: 395px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: #fff;
    overflow: hidden;
}


/* Dark gradient overlay
   Keeps the left text readable while allowing
   the original image to remain visible.
*/
.an-impact-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(0, 12, 28, 0.88) 0%,
            rgba(0, 18, 40, 0.72) 34%,
            rgba(0, 18, 40, 0.20) 65%,
            rgba(0, 8, 20, 0.62) 100%
        );
    pointer-events: none;
}


/* Main hero container */

.an-impact-hero .an-container {
    position: relative;
    z-index: 2;
    min-height: 395px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    align-items: center;
}


/* =========================================================
   LEFT CONTENT
   ========================================================= */

.an-impact-hero-content {
    max-width: 750px;
    padding: 90px 0 35px;
}


/* Main heading */

.an-impact-hero-content h1 {
    margin: 0 0 18px;
    font: 700 56px/0.98 var(--font-cond);
    letter-spacing: 0;
    text-transform: uppercase;
}


/*
 * If the heading has two spans:
 *
 * OUR IMPACT.
 * REAL CHANGE. REAL LIVES.
 */

.an-impact-hero-content h1 span {
    display: block;
}

.an-impact-hero-content h1 .impact-title-white {
    color: #fff;
}

.an-impact-hero-content h1 .impact-title-blue {
    color: var(--impact-blue); /*var(--blue)*/
}


/* Paragraph */

.an-impact-hero-content p {
    max-width: 560px;
    margin: 0 0 10px 0;
    color: #fff;
    font-size: 19px;
    line-height: 1.35;
}


/* Optional second/bold paragraph */

.an-impact-hero-content p + p {
    margin-top: 8px;
}

.an-impact-hero-content p strong {
    font-weight: 700;
    margin-top: 10px;
}


/* =========================================================
   QUOTE
   ========================================================= */

.an-impact-hero-quote {

    position: absolute;
    right: 0;
    bottom: 15px;

    width: 160px;
    max-width: 170px;

    margin: 0;
    padding: 0;

    color: #fff;
    z-index: 3;
}


/* Opening quotation mark */

.an-impact-hero-quote::before {

    content: "";

    display: block;

    height: 20px;
    margin: 0 0 6px 0;

    color: var(--impact-blue);
    font: 700 72px/0.55 var(--font-cond);    
}

.an-impact-hero-quote svg {
    width: 48px;
    height: 48px;
    color: var(--impact-blue);

    margin: 0;
    padding: 0;
}

/* Quote text */

.an-impact-hero-quote blockquote {

    margin: 0;
    padding: 0;

    color: #fff;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 400;
}


/* Author */

.an-impact-hero-quote cite {
    display: block;

    margin-top: 8px;

    color: var(--impact-blue);
    font-style: normal;
    font-size: 13px;
    line-height: 1.2;
    text-align: center;
}


/* =========================================================
   IMPACT — YOUR IMPACT BY THE NUMBERS
   ========================================================= */

.an-impact-numbers {
    background: #ffffff;
    padding: 24px 0;
}


/* ---------------------------------------------------------
   Main grid
   Desktop:
   1 intro + 6 statistics
   --------------------------------------------------------- */

.an-impact-numbers-grid {
    display: grid;
    grid-template-columns: 1fr repeat(6, 1fr);
    width: 100%;
}


/* ---------------------------------------------------------
   Intro block
   --------------------------------------------------------- */

.an-impact-numbers-intro {
    padding: 8px 15px 8px 0;
}

.an-impact-numbers-intro h2 {
    margin: 0 0 10px;

    font: 700 22px/1.05 var(--font-cond);
    color: #173f70;

    text-transform: uppercase;
}

.an-impact-numbers-intro p {
    margin: 0;

    max-width: 210px;

    font-size: 13px;
    line-height: 1.35;
    color: #173f70;
}


/* ---------------------------------------------------------
   Individual stat
   --------------------------------------------------------- */

.an-impact-number {
    display: flex;
    align-items: flex-start;

    gap: 8px;

    min-width: 0;

    padding: 8px 10px;

    border-right: 1px solid #d3d9de;
}


/* Last item — no divider */

.an-impact-number:last-child {
    border-right: 0;
}


/* ---------------------------------------------------------
   Icon
   --------------------------------------------------------- */

.an-impact-number-icon {
    flex: 0 0 10px;

    /*width: 50px;
    height: 50px;*/

    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.an-impact-number-icon img {
    display: block;

    width: 45px;
    height: 45px;

    object-fit: contain;
}


/* ---------------------------------------------------------
   Text
   --------------------------------------------------------- */

.an-impact-number-content {
    min-width: 0;
}

.an-impact-number-content strong {
    display: block;

    margin: 0;

    font: 600 20px/0.95 var(--font-cond);

    color: #1c73aa;
}


/* Stat label */

.an-impact-number-content b {
    display: block;

    margin: 4px 0 5px;

    font: 600 13px/1.05 var(--font-cond);

    color: #173f70;

    text-transform: uppercase;
}


/* Description */

.an-impact-number-content p {
    margin: 0;

    font-size: 11px;
    line-height: 1.3;

    color: #17253a;
}


/* =========================================================
   IMPACT — CHANGE IN ACTION
   ========================================================= */

.an-change-in-action {
    padding: 40px 0;
}

.an-change-in-action .an-section-heading {
    margin-bottom: 26px;
}

.an-change-in-action .an-section-heading h2 {
    color: #0f2e52;
    font: 700 31px/1.05 var(--font-cond);
    margin: 0 0 6px;
}

.an-change-in-action .an-section-heading .an-rule {
    width: 42px;
    height: 2px;
    margin: 0 auto 7px;
}

.an-change-in-action .an-section-heading p {
    color: #102b49;
    font-size: 16px;
    line-height: 1.3;
    margin: 0;
}


/* Six columns on desktop. */
.an-change-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}


/* Card */
.an-change-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100%;
    background: #fff;
    border-radius: 6px;
    overflow: visible;
    box-shadow: 0 1px 7px rgba(0, 0, 0, 0.06);
}


/* Large image area */
.an-change-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1.52 / 1;
    overflow: visible;
    border-radius: 6px 6px 0 0;
}


/* Uploaded large image */
.an-change-card-media > img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 6px 6px 0 0;
}


/*
 * Category image:
 * sits over the bottom-left corner of the large image,
 * matching the supplied design.
 */
.an-change-card-category-image {
    position: absolute;
    z-index: 3;
    left: 10px;
    bottom: -23px;

    width: 46px;
    height: 46px;

    padding: 5px;

    display: grid;
    place-items: center;

    background: #fff;
    border: 1px solid #167fca;
    border-radius: 50%;

    overflow: hidden;
}


.an-change-card-category-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    border-radius: 50%;
}


/* Card text */
.an-change-card-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    padding: 34px 14px 18px;

    text-align: center;
}


.an-change-card-content h3 {
    margin: 0 0 9px;
    font: 700 14px/1.08 var(--font-cond);
    color: #102f56;
}


.an-change-card-content h3 a {
    color: inherit;
    text-decoration: none;
}


.an-change-card-content h3 a:hover,
.an-change-card-content h3 a:focus {
    color: #157fca;
}


.an-change-card-description {
    color: #102b49;
    font-size: 11px;
    line-height: 1.38;
}


.an-change-card-description p {
    margin: 0;
}



/* =========================================================
   IMPACT PAGE FOOTER
   ========================================================= */

.an-impact-footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    background-color: #031b36;
    background-image: var(--an-impact-footer-bg, none);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: auto 100%;

    color: #fff;
    padding: 28px 0;
}

.an-impact-footer-overlay {
    position: absolute;
    z-index: -1;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(3, 27, 54, 0.65) 0%,
        rgba(3, 27, 54, 0.88) 32%,
        rgba(3, 27, 54, 0.97) 62%,
        rgba(3, 27, 54, 1) 100%
    );
}

.an-impact-footer-inner {
    display: grid;
    grid-template-columns:
        minmax(340px, 1.7fr)
        minmax(620px, 2.5fr)
        minmax(210px, 0.85fr);

    align-items: center;
    gap: 28px;
}

.an-impact-footer-copy {
    min-width: 0;
}

.an-impact-footer-copy h2 {
    margin: 0 0 9px;
    color: #fff;
    font: 700 29px/1.05 var(--font-cond);
    letter-spacing: 0.4px;
}

.an-impact-footer-copy p {
    margin: 0;
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
}

.an-impact-footer-values {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    min-width: 0;
}

.an-impact-footer-value {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    padding: 3px 20px;
}

.an-impact-footer-value::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 1px;
    background: #106192;
}

.an-impact-footer-value-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.an-impact-footer-value-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.an-impact-footer-value-copy {
    min-width: 0;
}

.an-impact-footer-value h3 {
    margin: 0 0 5px;
    color: #fff;
    font: 700 15px/1.08 var(--font-cond);
}

.an-impact-footer-value p {
    margin: 0;
    color: #fff;
    font-size: 12px;
    line-height: 1.45;
}

.an-impact-footer-action {
    position: relative;
    min-width: 0;
    padding-left: 24px;
    text-align: center;
}

.an-impact-footer-action::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    /*width: 1px;*/
    background: #106192;
}

.an-impact-footer-button {
    width: 100%;
    min-height: 44px;
    padding: 9px 20px;
    border-radius: 7px;
    font-size: 18px;
    white-space: nowrap;
    background-color: #1955a7;
}

.an-impact-footer-button:hover {
    background-color: #12508a;
    color: #fff;
}

.an-impact-footer-action > p {
    margin: 8px 0 0;
    color: #fff;
    font-size: 13px;
    line-height: 1.4;
}

@media (max-width: 1100px) {

    .an-impact-footer {
        padding: 30px 0;
    }

    .an-impact-footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 26px 28px;
    }

    .an-impact-footer-copy {
        grid-column: 1 / -1;
        text-align: center;
    }

    .an-impact-footer-copy h2 {
        font-size: 28px;
    }

    .an-impact-footer-values {
        grid-column: 1;
        grid-template-columns: 1fr;
        align-self: stretch;
    }

    .an-impact-footer-value {
        padding: 14px 0;
    }

    .an-impact-footer-value::after {
        top: auto;
        left: 0;
        right: 0;
        bottom: 0;
        width: auto;
        height: 1px;
    }

    .an-impact-footer-action {
        grid-column: 2;
        align-self: center;
        padding-left: 28px;
    }

    .an-impact-footer-action::before {
        top: 0;
        left: 0;
        right: 0;
        bottom: auto;
        width: auto;
        height: 0;
    }    
}

@media (max-width: 767px) {

    .an-impact-footer {
        padding: 32px 0;
        background-size: auto 55%;
        background-position: left top;
    }

    .an-impact-footer-inner {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .an-impact-footer-copy,
    .an-impact-footer-values,
    .an-impact-footer-action {
        grid-column: 1;
    }

    .an-impact-footer-copy h2 {
        font-size: 25px;
    }

    .an-impact-footer-copy p {
        font-size: 14px;
    }

    .an-impact-footer-value {
        padding: 15px 0;
    }

    .an-impact-footer-value-icon {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .an-impact-footer-value h3 {
        font-size: 15px;
    }

    .an-impact-footer-value p {
        font-size: 12px;
    }

    .an-impact-footer-action {
        padding: 22px 0 0;
    }

    .an-impact-footer-action::before {
        top: 0;
        left: 0;
        right: 0;
        bottom: auto;
        width: auto;
        height: 0;
    }

    .an-impact-footer-button {
        width: auto;
        min-width: 220px;
    }
}


























/* =========================================================
   TABLET
   ========================================================= */

@media (min-width: 701px) and (max-width: 1050px) {

    .an-impact-hero-quote {
        right: 3%;
        bottom: 22px;

        width: 240px;
        max-width: 240px;
    }

    .an-impact-hero-quote blockquote {
        font-size: 16px;
        line-height: 1.35;
    }

    .an-impact-hero-quote cite {
        font-size: 15px;
    }

    .an-impact-hero-quote::before {
        font-size: 62px;
    }
    .an-impact-hero-quote svg {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 1050px) {

    .an-impact-hero {
        min-height: 390px;
    }

    .an-impact-hero .an-container {
        min-height: 390px;
        grid-template-columns: minmax(0, 1fr) 300px;
    }

    .an-impact-hero-content {
        max-width: 600px;
        padding: 35px 0 30px;
    }

    .an-impact-hero-content h1 {
        font-size: 38px;
        line-height: 1;
        margin-bottom: 16px;
    }

    .an-impact-hero-content p {
        max-width: 500px;
        font-size: 16px;
        line-height: 1.35;
    }

    .an-impact-hero-content p strong {
        font-size: 16px;
    }

    .an-impact-numbers {
        padding: 25px 0;
    }

    .an-impact-numbers-grid {
        grid-template-columns: 1fr 1fr;
    }


    /* Intro spans the entire first row */

    .an-impact-numbers-intro {
        grid-column: 1 / -1;

        padding: 0 0 20px;

        text-align: center;
    }

    .an-impact-numbers-intro h2 {
        font: 700 30px/1.05 var(--font-cond);
    }

    .an-impact-numbers-intro p {
        font-size: 15px;
        max-width: 500px;
        margin: 0 auto;
    }


    /* Two statistics per row */

    .an-impact-number {
        min-height: 100px;

        padding: 18px 25px;

        gap: 16px;

        border-right: 1px solid #d3d9de;
        border-bottom: 1px solid #d3d9de;
    }


    /* Right-most item in each tablet row */

    .an-impact-number:nth-child(2n + 3) {
        border-right: 0;
    }


    /* Last two items have no bottom border */

    .an-impact-number:nth-last-child(-n + 2) {
        border-bottom: 0;
    }

    .an-impact-number-content p {
        font-size: 14px;
    }

    .an-impact-number-content strong {
        font-size: 32px;
    }

    .an-impact-number-content b {
        font-size: 16px;
    }

    .an-impact-number-icon img {
    width: 50px;
    height: 50px;
    }

/*}

@media (max-width: 991px) {*/

    .an-change-in-action {
        padding: 30px 0 54px;
    }

    .an-change-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px 14px;
    }

    .an-change-card-content {
        padding-left: 16px;
        padding-right: 16px;
    }

    .an-change-card-content h3 {
        font-size: 17px;
    }

    .an-change-card-description {
        font-size: 13px;
    }
}


/* =========================================================
   MOBILE — 2 COLUMNS / 3 ROWS
   ========================================================= */

@media (max-width: 767px) {

    .an-change-in-action {
        padding: 40px 0 44px;
    }

    .an-change-in-action .an-section-heading {
        margin-bottom: 22px;
    }

    .an-change-in-action .an-section-heading h2 {
        font-size: 27px;
    }

    .an-change-in-action .an-section-heading p {
        font-size: 15px;
    }

    .an-change-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 12px;
    }

    .an-change-card-category-image {
        left: 12px;
        bottom: -23px;

        width: 46px;
        height: 46px;
    }

    .an-change-card-content {
        padding: 30px 11px 16px;
    }

    .an-change-card-content h3 {
        font-size: 15px;
    }

    .an-change-card-description {
        font-size: 12px;
        line-height: 1.35;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .an-impact-hero {
        min-height: 520px;

        background-position: 58% center;
    }

    .an-impact-hero::before {
        background:
            linear-gradient(
                180deg,
                rgba(0, 12, 28, 0.92) 0%,
                rgba(0, 18, 40, 0.80) 55%,
                rgba(0, 8, 20, 0.68) 100%
            );
    }

    .an-impact-hero .an-container {
        min-height: 520px;

        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
    }

    .an-impact-hero-content {
        max-width: 100%;
        padding: 0 0 20px;
    }

    .an-impact-hero-content h1 {
        font-size: 34px;
        line-height: 1;
        margin-bottom: 15px;
    }

    .an-impact-hero-content p {
        max-width: 100%;
        font-size: 16px;
        line-height: 1.35;
    }

    /*.an-impact-hero-quote {
        align-self: flex-end;

        max-width: 260px;

        margin: 15px 0 25px;
    }*/

    .an-impact-hero-quote {
        position: absolute;

        right: 0;
        bottom: 15px;

        width: 160px;
        max-width: 160px;
    }

    .an-impact-hero-quote blockquote {
        font-size: 14px;
        line-height: 1.35;
    }

    .an-impact-hero-quote cite {
        font-size: 14px;
    }    

    .an-impact-hero-quote::before {
        font-size: 50px;
    }

    .an-impact-hero-quote svg {
        width: 24px;
        height: 24px;
    }

    .an-impact-numbers {
        padding: 25px 0;
    }

    .an-impact-numbers-grid {
        grid-template-columns: 1fr;
    }


    /* Intro */

    .an-impact-numbers-intro {
        grid-column: auto;

        padding: 0 0 20px;

        text-align: center;
    }

    .an-impact-numbers-intro h2 {
        font-size: 28px;
    }

    .an-impact-numbers-intro p {
        max-width: 320px;
        margin: 0 auto;
    }


    /* Stats */

    .an-impact-number {
        min-height: 0;

        padding: 16px 10px;

        border-right: 0;
        border-bottom: 1px solid #d3d9de;
    }


    /* Last stat has no bottom border */

    .an-impact-number:last-child {
        border-bottom: 0;
    }


    .an-impact-number-icon {
        flex-basis: 48px;

        width: 48px;
        height: 48px;
    }

    .an-impact-number-icon img {
        width: 48px;
        height: 48px;
    }

    .an-impact-number-content strong {
        font-size: 27px;
    }

    .an-impact-number-content b {
        font-size: 15px;
    }

    .an-impact-number-content p {
        font-size: 13px;
    }

    .an-impact-number:nth-last-child(2) {
        border-bottom: 1px solid #d3d9de;
    }

}

@media (max-width: 575px) {
    .an-change-grid {
        grid-template-columns: 1fr;
        /*gap: 18px 12px;*/
    }    
}