.an-work-copy {
    max-width:450px;
    margin-right:auto;
    margin-top: 100px;
}

.an-work-copy h1,
.an-impact-copy h1,
.an-involved-copy h1,
.an-news-copy h1,
.an-contact-copy h1 {
    font:600 clamp(50px,4vw,72px)/1 var(--font-cond);
    margin:0 0 10px;
}

.an-work-copy h2,
.an-impact-copy h2,
.an-involved-copy h2,
.an-news-copy h2,
.an-contact-copy h2 {
    font:600 clamp(27px,2.0vw,36px)/1.05 var(--font-cond);
    color:#1d76cf;
    margin:0 0 26px;
}

.an-work-copy p,
.an-impact-copy p,
.an-involved-copy p,
.an-news-copy p,
.an-contact-copy p {
    font-size:16px;
    line-height:1.35;
    max-width:500px;
    margin:0 0 14px;
}

.an-work-copy strong,
.an-impact-copy strong {
    font:700 16px var(--font-body);
}

.an-services {
    padding-top:22px;
}


.an-card-body {
    padding:20px;
    position:relative;
}

.an-card-body .an-icon-circle {
    position:absolute;
    top:-32px;
    background:#fff;
}

.an-card-body h3 {
    font:700 21px var(--font-cond);
    color:#075f9d;
    margin:18px 0 8px;
}

.an-card-body p {
    font-size:15px;
    line-height:1.35;
    margin:0;
}


/* =========================================================
   OUR WORK — WHAT WE DO
   ========================================================= */

.an-service-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    width: 100%;
    gap: 15px 6px;
}


/*
 * The card itself has NO border.
 * This keeps the bottom image completely border-free.
 */
.an-service-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-width: 0;
    height: 100%;

    border: 0;
    background: transparent;
}


/*
 * The separator belongs to the content area.
 */
.an-service-content {
    display: flex;
    align-items: flex-start;

    flex: 1;

    padding: 0 6px 6px 0;

    gap: 14px;

    border-right: 1px solid #c9d1d9;

    margin-bottom: 10px;
}


/*
 * Last desktop item:
 * no right separator.
 */
.an-service-card:last-child .an-service-content {
    border-right: 0;
}


/*
 * Bottom image remains completely border-free
 * and centered within its column.
 */
.an-service-image {
    width: 100%;
    margin-top: auto;

    overflow: hidden;

    border: 0;

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

.an-service-image img {
    display: block;

    width: 97%;
    height: 130px;

    margin: 0 auto;
    padding: 0;

    border: 0;

    object-fit: cover;
    object-position: center center;
}


/*
 * Category icon.
 */
.an-service-icon {
    /*flex: 0 0 58px;

    width: 58px;
    height: 58px;*/

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

    color: #147ed0;

    font-size: 48px;
    line-height: 1;
}
.an-service-icon img {
    width: 45px;
    height: auto;
}

/*
 * Category text.
 */
.an-service-text {
    flex: 1;
    min-width: 0;
}


.an-service-text h3 {
    margin: 2px 0 7px;

    color: #075f9d;

    font: 700 16px/1.05 var(--font-cond);
}


.an-service-text h3 a {
    color: inherit;
    text-decoration: none;
}


.an-service-text h3 a:hover {
    text-decoration: none;
}


.an-service-description {
    margin: 0;

    color: var(--text);

    font-size: 12px;
    line-height: 1.42;
}





/* =========================================================
   OUR GLOBAL REACH
   ========================================================= */

.an-global-reach {
    position: relative;
    padding: 15px 0;
    background: #01152c;
    color: #fff;
}


/* ---------------------------------------------------------
   Section Heading
   --------------------------------------------------------- */

.an-global-reach-heading {
    text-align: center;
    margin: 0 auto 10px;
}

.an-global-reach-heading h2 {
    margin: 0;

    font: 500 28px/1.1 var(--font-cond);

    color: #fff;
}

.an-global-reach-heading .an-rule {
    margin: 16px auto 0;
}


/* ---------------------------------------------------------
   Statistics Grid
   --------------------------------------------------------- */

.an-global-reach-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    width: 100%;
}


/* ---------------------------------------------------------
   Individual Stat
   --------------------------------------------------------- */

.an-global-reach-stat {
    position: relative;

    min-width: 0;
    /*min-height: 150px;*/

    padding: 0 15px;

    display: flex;
    align-items: flex-start;
    gap: 16px;

    text-align: left;
}


/*
 * Thin vertical divider.
 *
 * This is a pseudo-element rather than a border
 * on the actual stat.
 */
.an-global-reach-stat:not(:last-child)::after {
    content: "";

    position: absolute;

    top: 0;
    right: 0;

    width: 1px;
    height: 70%;

    background: #106192;
}


/* ---------------------------------------------------------
   Stat Image / Icon
   --------------------------------------------------------- */

.an-global-reach-image {
    flex: 0 0 65px;

    width: 65px;
    height: 65px;

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

    overflow: hidden;
}

.an-global-reach-image img {
    display: block;

    width: 65px;
    height: 65px;

    margin: 0;
    padding: 0;

    border: 0;

    object-fit: contain;
    object-position: center center;
}


/* ---------------------------------------------------------
   Stat Content
   --------------------------------------------------------- */

.an-global-reach-content {
    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    padding-top: 1px;
}


.an-global-reach-content strong {
    display: block;

    margin: 0 0 3px;

    font: 500 24px/1 var(--font-cond);

    color: #157fca;
}


.an-global-reach-content h3 {
    margin: 0 0 4px;

    font: 500 15px/1.0 var(--font-cond);

    color: #fff;

    text-transform: uppercase;
}


.an-global-reach-content p {
    max-width: 190px;

    margin: 0;

    font-size: 13px;
    line-height: 1.4;

    color: #fff;
}


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

@media (max-width: 1050px) {

    .an-global-reach {
        padding: 15px 0;
    }

    .an-global-reach-heading {
        margin-bottom: 10px;
    }

    .an-global-reach-heading h2 {
        font-size: 36px;
    }


    /*
     * Three columns on the first row,
     * two columns on the second row.
     */
    .an-global-reach-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .an-global-reach-stat {
        /*min-height: 150px;*/

        padding: 22px 20px;

        /*gap: 13px;*/
    }

    /*
     * Remove the desktop divider rule first.
     */
    .an-global-reach-stat::after {
        display: none;
    }

    /*
     * Vertical dividers:
     *
     * 1 | 2 | 3
     * 4 | 5
     *
     * Therefore items 1, 2 and 4 get a divider.
     */
    .an-global-reach-stat:nth-child(3n + 1)::after,
    .an-global-reach-stat:nth-child(3n + 2)::after {
        content: "";

        position: absolute;

        top: 0;
        right: 0;

        display: block;

        width: 1px;
        height: 100%;

        background: #106192;
    }


    /*
     * Horizontal divider between rows.
     */
    .an-global-reach-stat:nth-child(-n + 3)::before {
        content: "";

        position: absolute;

        left: 20px;
        right: 20px;
        bottom: 0;

        height: 1px;

        background: #106192;
    }


    .an-global-reach-image {
        flex-basis: 50px;

        width: 50px;
        height: 50px;
    }


    .an-global-reach-image img {
        width: 50px;
        height: 50px;
    }


    .an-global-reach-content strong {
        font-size: 26px;
    }


    .an-global-reach-content h3 {
        font-size: 15px;
    }


    .an-global-reach-content p {
        font-size: 12px;
    }
}


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

@media (max-width: 767px) {

    .an-global-reach {
        padding: 20px 0;
    }


    .an-global-reach-heading {
        margin-bottom: 30px;
    }


    .an-global-reach-heading h2 {
        font-size: 30px;
    }


    /*
     * Two columns:
     *
     * 1 | 2
     * 3 | 4
     * 5
     */
    .an-global-reach-grid {
        grid-template-columns: 1fr;
    }


    .an-global-reach-stat {
        /*min-height: 140px;

        padding: 12px 14px;

        gap: 10px;*/
        margin-bottom: 30px;
    }


    /*
     * Clear tablet pseudo-elements.
     */
    .an-global-reach-stat::before,
    .an-global-reach-stat::after {
        display: none;
    }


    /*
     * Vertical divider:
     *
     * 1 | 2
     * 3 | 4
     * 5
     *
     * Odd items are the left-hand column.
     */
    .an-global-reach-stat:nth-child(odd)::after {
        content: "";

        position: absolute;

        top: 0;
        right: 0;

        display: block;

        width: 1px;
        height: 0;

        background: #106192;
    }
    .an-global-reach-stat:nth-child(3n+1)::after,
    .an-global-reach-stat:nth-child(3n+2)::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        display: none;
        width: 0;
        height: 0;
        background: #106192;
    }


    /*
     * Horizontal divider after rows 1 and 2.
     */
    .an-global-reach-stat:nth-child(-n + 4)::before {
        content: "";

        position: absolute;

        left: 14px;
        right: 14px;
        bottom: 0;

        display: block;

        height: 1px;

        background: #106192;
    }


    /*
     * Fifth item is centered on the final row.
     */
    .an-global-reach-stat:nth-child(5) {
        /*grid-column: 1 / -1;

        width: 50%;

        justify-self: center;*/
    }


    /*
     * Fifth item has no dividers.
     */
    .an-global-reach-stat:nth-child(5)::before,
    .an-global-reach-stat:nth-child(5)::after {
        display: none;
    }


    .an-global-reach-image {
        flex: 0 0 45px;

        width: 45px;
        height: 45px;
    }


    .an-global-reach-image img {
        width: 45px;
        height: 45px;
    }


    .an-global-reach-content strong {
        font-size: 26px;
    }


    .an-global-reach-content h3 {
        font-size: 14px;

        margin-bottom: 6px;
    }


    .an-global-reach-content p {
        max-width: 150px;

        font-size: 11px;
        line-height: 1.35;
    }
}


/* =========================================================
   work PAGE FOOTER
   ========================================================= */

.an-work-footer {
    position: relative;
    width: 100%;
    min-height: 131px;

    background-color: #f4f4f4;
    background-image: var(--an-work-footer-bg);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: cover;

    color: #0b2a4a;

    overflow: hidden;
}


/*
 * Subtle white overlay.
 *
 * This keeps the right side clean while allowing the
 * background photograph to remain visible.
 */
.an-work-footer::before {
    content: "";
    position: absolute;
    inset: 0;

    background: rgba(255, 255, 255, 0.02);

    pointer-events: none;
}


.an-work-footer__inner {
    position: relative;
    z-index: 2;

    min-height: 131px;

    display: grid;

    /*
     * IMPORTANT:
     *
     * The first ~300px of the supplied image contains
     * the people. Content therefore starts much further
     * to the right.
     */
    grid-template-columns:
        minmax(0, 1fr)
        1px
        minmax(200px, 240px)
        
        minmax(190px, 230px);

    align-items: center;

    column-gap: 20px;

    padding-top: 12px;
    padding-bottom: 12px;
}

/*.an-work-footer__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) 1px minmax(220px, 0.9fr) minmax(190px, 0.7fr);
    align-items: center;
    column-gap: 28px;
    min-height: 140px;
}*/


/* Main heading */

.an-work-footer__message {
    min-width: 0;

    /*
     * Keeps text away from the people in the image.
     */
    margin-left: 270px;
}


.an-work-footer__message h2 {
    margin: 0 0 5px;

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

    color: #082c50;
    white-space: nowrap;
}


.an-work-footer__message .an-rule {
    width: 45px;
    height: 2px;

    margin: 0 0 7px;

    background: var(--blue);
}


.an-work-footer__subtitle {
    margin: 0;

    font-size: 14px;
    line-height: 1.25;

    color: #0b2a4a;
}


/* Divider */

.an-work-footer__divider {
    display: block;

    width: 1px;
    height: 96px;

    background: #c6d1db;
}


/* Quote */

.an-work-footer__quote {
    position: relative;

    padding-left: 36px;
    padding-right: 5px;
}


.an-work-footer__quote-mark {
    position: absolute;

    top: -5px;
    left: 0;

    font: 700 42px/1 var(--font-cond);

    color: var(--blue);
}

.an-work-footer__quote svg {
    position: absolute;

    top: -5px;
    left: 0;
    
    width: 36px;
    height: 36px;
    color: var(--impact-blue);
}


.an-work-footer__quote blockquote {
    margin: 0;

    font: 400 12px/1.45 var(--font-body);

    color: #0b2a4a;
}


.an-work-footer__quote cite {
    display: block;

    margin-top: 3px;

    font: 500 12px/1.2 var(--font-body);

    color: #167fc5;

    font-style: normal;

    text-align: center;
}


/* CTA */

.an-work-footer__cta {
    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    min-width: 0;
}


.an-work-footer__button {
    /*width: 100%;*/
    max-width: 228px;

    min-height: 45px;

    padding: 9px 18px;

    border-radius: 10px;

    font-size: 16px;

    background-color: #1b70c0;
}

.an-work-footer__button:hover {
    background-color: #12508a;
    color: #fff;
} 


.an-work-footer__button .an-btn-icon {
    font-size: 25px;
}


.an-work-footer__donate-text {
    margin-top: 5px;

    font: 500 13px/1.2 var(--font-cond);

    color: #0b2a4a;
    text-align: center;
}


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

@media (max-width: 1100px) {

    .an-work-footer {
        padding: 24px 0;
    }

    .an-work-footer::before {
        background: rgba(255, 255, 255, 0.78);
    }

    .an-work-footer__inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "heading heading"
            "quote donate";
        align-items: center;
        column-gap: 40px;
        row-gap: 14px;
    }

    .an-work-footer__message {
        grid-area: heading;
        text-align: center;
        max-width: 100%;
        margin: 0 auto 30px auto;
    }

    .an-work-footer__message h2 {
        font-size: 30px;
        line-height: 1.1;
        margin: 0 0 8px;
        text-align: center;
    }

    .an-work-footer__subtitle {
        font-size: 18px;
        line-height: 1.25;
        margin: 0;
        text-align: center;
    }

    .an-work-footer-quote {
        grid-area: quote;
        text-align: left;
        max-width: 420px;
        margin: 0;
    }

    .an-work-footer__quote svg {
        width: 30px;
        height: 30px;
    }

    .an-work-footer__quote blockquote {
        margin: 0;
        text-align: left;
        font-size: 15px;
        line-height: 1.4;
    }

    .an-work-footer-quote .an-work-footer-divider {
        margin-right: 0;
        margin-left: 0;
    }

    .an-work-footer__button {
        max-width: 210px;
        font-size: 16px;
    }

    .an-work-footer__divider {
        width: 70px;
        height: 1px;
        margin: 0 auto;
        display: none;
    }

}


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

@media (max-width: 700px) {

    .an-work-footer {
        min-height: auto;

        background-position: left top;
        background-size: auto 100%;
    }


    .an-work-footer__inner {
        min-height: 0;

        display: flex;
        flex-direction: column;

        align-items: stretch;

        gap: 20px;

        padding: 28px 20px;
    }


    /*
     * On mobile the photograph remains visible on the
     * left/top, but content receives its own readable area.
     */
    .an-work-footer::before {
        background: rgba(255, 255, 255, 0.78);
    }


    .an-work-footer__message {
        margin-left: 0;

        text-align: center;
    }


    .an-work-footer__message h2 {
        font-size: 27px;

        white-space: normal;
    }


    .an-work-footer__message .an-rule {
        margin-left: auto;
        margin-right: auto;
    }


    .an-work-footer__subtitle {
        font-size: 16px;
    }


    .an-work-footer__divider {
        width: 70px;
        height: 1px;

        margin: 0 auto;
    }

    .an-work-footer__quote {
        max-width: 420px;

        margin: 0 auto;

        padding-left: 30px;
    }

    .an-work-footer__quote svg {
        width: 24px;
        height: 24px;
    }

    .an-work-footer__cta {
        width: 100%;
    }


    .an-work-footer__button {
        max-width: 240px;
    }
}










/* =========================================================
   TABLET
   3 columns × 2 rows
   ========================================================= */

@media (max-width: 991px) {

    .an-service-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px 2px;
    }

    .an-service-card {
        margin-bottom: 20px;
    }


    .an-page-hero, .an-hero {
        background-size: cover;
        background-position: 28% center;
    }

    .an-work-copy {
        margin-top: auto;
    }


    /*
     * Every column gets a separator initially.
     */
    .an-service-content {
        border-right: 1px solid #c9d1d9;
    }


    /*
     * Right-most item in each row has no separator.
     */
    .an-service-card:nth-child(3n) .an-service-content {
        border-right: 0;
    }


    /*
     * Horizontal separator belongs to the CONTENT,
     * not the image.
     */
    .an-service-card:nth-child(-n + 3) .an-service-content {
        /*border-bottom: 1px solid #c9d1d9;*/
    }


    .an-service-content {
        padding: 18px 14px 16px;
        gap: 10px;
        margin-bottom: 10px;
    }


    .an-service-icon {
        flex: 0 0 48px;
        width: 48px;
        height: 48px;
        font-size: 42px;
    }


    .an-service-text h3 {
        font-size: 16px;
    }


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


    .an-service-image img {
        width: 96%;
        height: 100%;
    }
}


/* =========================================================
   MOBILE
   2 columns × 3 rows
   ========================================================= */

@media (max-width: 767px) {

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

    .an-service-card {
        margin-bottom: 20px;
    }

    /*
     * Every mobile column gets a right separator.
     */
    .an-service-content {
        border-right: 1px solid #c9d1d9;
    }


    /*
     * 2, 4, 6 are the right-most items.
     */
    .an-service-card:nth-child(2n) .an-service-content {
        border-right: 0;
    }


    /*
     * Reset the tablet nth-child(3n) rule.
     */
    .an-service-card:nth-child(3n) .an-service-content {
        border-right: 0px solid #c9d1d9;
    }


    /*
     * First four items form the first two rows,
     * so their CONTENT gets the horizontal separator.
     */
    .an-service-card:nth-child(-n + 4) .an-service-content {
        /*border-bottom: 1px solid #c9d9de;*/
    }


    /*
     * Last row has no bottom separator.
     */
    .an-service-card:nth-child(n + 5) .an-service-content {
        border-bottom: 0;
    }


    .an-service-content {
        padding: 16px 12px 14px;
        gap: 8px;
        margin-bottom: 10px;
    }

    .an-service-icon {
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
        font-size: 36px;
    }

    .an-service-text h3 {
        font-size: 20px;
        line-height: 1.05;
    }

    .an-service-description {
        font-size: 14px;
        line-height: 1.4;
    }

    .an-service-image img {
        height: 100%;
    }

    .an-page-hero, .an-hero {
        background-color: #070b0f;
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .an-work-copy {
        margin-top: auto;
    }
    .an-work-copy h1,
    .an-impact-copy h1,
    .an-involved-copy h1,
    .an-news-copy h1,
    .an-contact-copy h1 {
        font:600 clamp(30px,3vw,42px)/1 var(--font-cond);
        margin:0 0 10px;
    }

    .an-work-copy h2,
    .an-impact-copy h2,
    .an-involved-copy h2,
    .an-news-copy h2,
    .an-contact-copy h2 {
        font:600 clamp(22px,1.4vw,30px)/1.05 var(--font-cond);
        color:#519eec;
        margin:0 0 26px;
        max-width: 240px;
    }

    .an-work-copy p,
    .an-impact-copy p,
    .an-involved-copy p,
    .an-news-copy p,
    .an-contact-copy p {
        font-size:14px;
        line-height:1.35;
        max-width:500px;
        margin:0 0 14px;
    }    
}

@media (min-width:548px) and (max-width: 767px) {
    .an-page-hero, .an-hero {
        background-color: #070b0f;
        background-position: 25% center;
        background-size: cover;
        background-repeat: no-repeat;
    }
}

/* =========================================================
   MOBILE
   1 column × 6 rows
   ========================================================= */

@media (max-width: 575px) {

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

    /*
     * Mobile:
     *
     * 1, 3, 5 = right border
     * 2, 4, 6 = no right border
     *
     * Reset the tablet 3-column rule first.
     */
    .an-service-card {
        border-right: 0;
        border-bottom: 1px solid #c9d1d9;
        padding-bottom: 20px;
    }

     .an-service-card:nth-child(3n) .an-service-content {
        border-right: 0;
      }

    .an-service-content {
        border-right: 0;
    }


    /*
     * Last item has no bottom border.
     */
    .an-service-card:last-child {
        border-bottom: 0;
    }    

    .an-service-content {
        padding: 16px 12px 0;
        gap: 0;
    }

    .an-service-icon {
        flex: 0 0 42px;
        width: 52px;
        height: 52px;
        font-size: 36px;
        margin-right: 10px;
    }

    .an-service-icon img {

    }

    .an-service-text h3 {
        font-size: 22px;
        line-height: 1.05;
    }

    .an-service-description {
        font-size: 14px;
        line-height: 1.4;
    }

    .an-service-image img {
        width: 100%;
        height: 100%;
    }
}



