/* =========================================================
   GET INVOLVED - HERO
   ========================================================= */

.an-involved-hero {
    position: relative;
    overflow: hidden;
}

.an-involved-hero .an-container {
    height: 100%;
}


/* ---------------------------------------------------------
   Hero two-column layout
   --------------------------------------------------------- */

.an-involved-hero-inner {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: minmax(0, 1fr) 270px;

    column-gap: 50px;

    height: 100%;
    min-height: var(--hero-height);

    align-items: center;
}


/* ---------------------------------------------------------
   Left content
   --------------------------------------------------------- */

.an-involved-hero-content {
    width: 100%;
    max-width: 650px;

    padding: 90px 0 35px;
}


.an-involved-hero-content h1 {
    font: 600 clamp(50px, 4.5vw, 72px) / 1 var(--font-cond);

    margin: 0 0 10px;
}


.an-involved-hero-content h2 {
    font: 600 clamp(40px, 3.8vw, 62px) / 1 var(--font-cond);

    margin: 0 0 18px;

    color: #217dd6;
}


.an-involved-hero-content p {
    max-width: 490px;

    margin: 0 0 20px;

    font-size: 18px;
    line-height: 1.45;
}


/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */

.an-involved-hero-content .an-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 16px;

    margin-top: 8px;
}


/* ---------------------------------------------------------
   Right quote
   --------------------------------------------------------- */

.an-involved-hero-quote {
    display: flex;

    width: 100%;
    height: 100%;

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


.an-involved-hero-quote blockquote {
    position: relative;

    width: 100%;
    max-width: 205px;

    margin: 0;

    padding: 0 0 0 2px;

    font-size: 20px;
    line-height: 1.4;
}

.an-involved-hero-quote svg {
    position: absolute;
    top: -50px;
    left: -20px;
    width: 40px;
    height: 40px;
    color: var(--impact-blue);
}

.an-involved-hero-quote .an-quote-mark {
    display: block;

    margin-bottom: 2px;

    color: #217dd6;

    font-size: 58px;
    font-weight: 700;
    line-height: .65;
}


.an-involved-hero-quote .an-quote-text {
    color: #fff;
    font-size: 18px;
}


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

    margin-top: 12px;

    color: var(--blue);

    font-style: normal;

    font-size: 18px;
}


/*.an-ways {
    padding-top:12px;
}
.an-way-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:22px;
}
.an-way-card {
    background:#fff;
    border:1px solid #d9e0e6;
    border-radius:8px;
    overflow:hidden;
    box-shadow:0 1px 7px rgba(0,0,0,.04);
}
.an-way-card>img {
    width:100%;
    height:155px;
    object-fit:cover;
    display:block;
}
.an-way-card .an-card-body {
    padding:24px 24px 28px;
}
.an-way-card .an-icon-circle {
    margin-top:-54px;
    background:#fff;
    position:relative;
}
.an-way-card h3 {
    font:700 21px var(--font-cond);
    color:#0c63ac;
    margin:12px 0 7px;
}
.an-way-card p {
    font-size:15px;
    line-height:1.35;
    margin:0 0 18px;
}
.an-card-link {
    font:700 15px var(--font-cond);
    color:#0768bb;
    text-decoration:none;
}*/


.an-way-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 22px;
}


.an-way-card {
    background: #fff;
    border: 1px solid #d9e0e6;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 7px rgba(0, 0, 0, .04);

    display: flex;
    flex-direction: column;
    height: 100%;
}


.an-way-card > img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}


.an-way-card .an-card-body {
    padding: 14px 20px 10px;

    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
}


.an-way-card .an-icon-circle {
    margin-top: -40px;
    background: #fff;
    position: absolute;
    left: 10px;

    width: 45px !important;
    height: 45px !important;
    flex:0 0 45px !important;
    border:1px solid #fff;
    border-radius:50%;
    display:grid;
    place-items:center;
    /*color:var(--blue);*/
}


.an-way-card h3 {
    font: 600 16px var(--font-cond);
    color: #0c63ac;
    margin: 2px 0 5px;
    text-align: center;
}


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


.an-card-link {
    font: 700 12px var(--font-cond);
    color: #0768bb;
    text-decoration: none;

    margin-top: auto;
}

.an-btn-icon {
    margin-left: 8px;
}


/* =========================================================
   GET INVOLVED — MORE WAYS
   ========================================================= */

.an-involved-more {
    background: #01152c;
    color: #fff;

    padding: 28px 0;
}


.an-involved-more-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 1.2fr)
        minmax(0, 0.9fr)
        220px;

    align-items: stretch;

    gap: 0;
}


/* ---------------------------------------------------------
   Item
   --------------------------------------------------------- */

.an-involved-more-item {
    position: relative;

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

    gap: 18px;

    min-width: 0;

    padding: 0 20px;
}


/*
 * Thin divider, matching the design.
 */
.an-involved-more-item::after {
    content: "";

    position: absolute;

    top: 0;
    right: 0;
    bottom: 0;

    width: 1px;

    background: #106192;
}


/* ---------------------------------------------------------
   Image
   --------------------------------------------------------- */

.an-involved-more-image {
    flex: 0 0 76px;

    width: 76px;
    height: 76px;

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


.an-involved-more-image img {
    display: block;

    width: 76px;
    height: 76px;

    object-fit: contain;
}


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

.an-involved-more-content {
    min-width: 0;
}


.an-involved-more-content h3 {
    margin: 0 0 5px;

    color: #247dcf;

    font: 600 16px/1.1 var(--font-cond);

    text-transform: uppercase;
}


.an-involved-more-content p {
    margin: 0 0 10px;

    color: #fff;

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


/* ---------------------------------------------------------
   Link
   --------------------------------------------------------- */

.an-involved-more-link {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: #247dcf;

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

    text-decoration: none;

    text-transform: uppercase;

    white-space: nowrap;
}


.an-involved-more-arrow {
    font-size: 20px;
    line-height: 1;

    transition: transform 0.2s ease;
}


.an-involved-more-link:hover .an-involved-more-arrow {
    transform: translateX(3px);
}


/* ---------------------------------------------------------
   Decorative image
   --------------------------------------------------------- */

.an-involved-more-decor {
    display: flex;

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

    padding-left: 32px;
}


.an-involved-more-decor img {
    display: block;

    max-width: 190px;
    max-height: 110px;

    width: 100%;
    height: auto;

    object-fit: contain;
}



/* =========================================================
   GET INVOLVED FOOTER
   ========================================================= */

.an-involved-footer {
    position: relative;
    width: 100%;
    min-height: 110px;
    background-color: #0560a8;
    background-position: left center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

.an-involved-footer__inner {
    /*width: min(1400px, calc(100% - 80px));*/
    min-height: 110px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 400px) auto minmax(220px, auto);
    align-items: center;
    column-gap: 30px;
}


/* ---------------------------------------------------------
   TEXT
   --------------------------------------------------------- */

.an-involved-footer__content {
    min-width: 0;
}

.an-involved-footer__title {
    margin: 0 0 3px;
    font-size: 26px;
    line-height: 1.15;
    font-weight: 500;
    color: #ffffff;
    text-transform: uppercase;
}

.an-involved-footer__subtitle {
    margin: 0;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 400;
    color: #ffffff;
}


/* ---------------------------------------------------------
   NEWSLETTER
   --------------------------------------------------------- */

.an-involved-footer__newsletter {
    width: 100%;
}

.an-involved-footer__form {
    display: flex;
    width: 100%;
    margin: 0;
}

.an-involved-footer__form input {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    height: 40px;
    padding: 0 10px;
    border: 0;
    border-radius: 7px 0 0 7px;
    background: #ffffff;
    color: #111111;
    font-size: 13px;
    outline: none;
    box-sizing: border-box;
}

.an-involved-footer__form input::placeholder {
    color: #666666;
}

.an-involved-footer__form button {
    flex: 0 0 auto;
    height: 40px;
    padding: 0 20px;
    border: 0;
    border-radius: 0 7px 7px 0;
    background: #167dcc;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.an-involved-footer__form button:hover {
    background-color: #1269ad;
}


/* ---------------------------------------------------------
   THIN DIVIDER
   --------------------------------------------------------- */

.an-involved-footer__divider {
    width: 1px;
    height: 48px;
    background: #106192;
}


/* ---------------------------------------------------------
   SOCIAL
   --------------------------------------------------------- */

.an-involved-footer__social {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    white-space: nowrap;
}

.an-involved-footer__follow {
    color: #ffffff;
    font-size: 14px;
    line-height: 1;
}

.an-involved-footer__social-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.an-involved-footer__social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.an-involved-footer__social-links a:hover {
    background-color: #ffffff;
    color: #0560a8;
}


/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media (max-width: 1100px) {

    .an-involved-footer__inner {
        width: min(100% - 50px, 1000px);
        grid-template-columns: 1fr;
        row-gap: 18px;
        padding: 25px 0;
        text-align: center;
    }

    .an-involved-footer__content {
        text-align: center;
    }

    .an-involved-footer__newsletter {
        max-width: 600px;
        margin: 0 auto;
    }

    .an-involved-footer__divider {
        width: 100%;
        height: 1px;
        margin: 2px auto;
    }

    .an-involved-footer__social {
        justify-content: center;
    }

}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 600px) {

    .an-involved-footer {
        background-position: left center;
    }

    .an-involved-footer__inner {
        width: calc(100% - 30px);
        padding: 24px 0;
    }

    .an-involved-footer__title {
        font-size: 23px;
    }

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

    .an-involved-footer__form {
        flex-direction: column;
        gap: 10px;
    }

    .an-involved-footer__form input {
        height: 46px;
        border-radius: 6px;
    }

    .an-involved-footer__form button {
        width: 100%;
        height: 46px;
        border-radius: 6px;
    }

    .an-involved-footer__social {
        flex-direction: column;
        gap: 12px;
    }

}





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

@media (max-width: 1100px) {

    .an-involved-more-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .an-involved-more-item {
        padding: 24px;
    }


    /*
     * Item 2 has no right divider.
     */
    .an-involved-more-item:nth-child(2)::after {
        display: none;
    }


    /*
     * Horizontal line under first row.
     */
    .an-involved-more-item:nth-child(-n + 2)::before {
        content: "";

        position: absolute;

        left: 24px;
        right: 24px;
        bottom: 0;

        height: 1px;

        background: #106192;
    }


    /*
     * Item 3 occupies left side of second row.
     */
    .an-involved-more-item:nth-child(3)::after {
        display: block;
    }


    .an-involved-more-decor {
        padding: 24px;
    }

}


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

@media (max-width: 767px) {

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


    .an-involved-more-item {
        padding: 22px 0;
    }


    /*
     * Remove all vertical dividers.
     */
    .an-involved-more-item::after {
        display: none;
    }


    /*
     * Horizontal divider between items.
     */
    .an-involved-more-item::before {
        content: "";

        position: absolute;

        left: 0;
        right: 0;
        bottom: 0;

        height: 1px;

        background: #106192;
    }


    .an-involved-more-decor {
        padding: 24px 0 5px;
    }

    /*
     * Item 3 occupies left side of second row.
     */
    .an-involved-more-item:nth-child(3)::after {
        display: none;
    }

    .an-involved-more-item:nth-child(-n + 2)::before {
        left: 0;
        right: 0;
        
    }

}


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

@media (max-width: 600px) {

    .an-involved-more {
        padding: 20px 0;
    }


    .an-involved-more-item {
        gap: 14px;
    }


    .an-involved-more-image {
        flex-basis: 62px;

        width: 62px;
        height: 62px;
    }


    .an-involved-more-image img {
        width: 62px;
        height: 62px;
    }


    .an-involved-more-content h3 {
        font-size: 17px;
    }


    .an-involved-more-content p {
        font-size: 13px;
    }


    .an-involved-more-decor img {
        max-width: 170px;
    }



}





















@media (max-width: 1199px) {

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

}


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

@media (max-width: 1100px) {

    .an-involved-hero-inner {
        grid-template-columns: minmax(0, 1fr) 220px;

        column-gap: 30px;
    }


    .an-involved-hero-content {
        max-width: 620px;
    }


    .an-involved-hero-content h1 {
        font-size: clamp(46px, 5vw, 60px);
    }


    .an-involved-hero-content h2 {
        font-size: clamp(36px, 4vw, 50px);

        margin-bottom: 15px;
    }


    .an-involved-hero-content p {
        max-width: 560px;

        font-size: 18px;
        line-height: 1.4;
    }


    .an-involved-hero-quote blockquote {
        max-width: 210px;

        font-size: 18px;
    }


    .an-involved-hero-quote .an-quote-mark {
        font-size: 50px;
    }

}


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

@media (max-width: 991px) {

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

    .an-involved-hero-inner {
        grid-template-columns: minmax(0, 1fr) 200px;

        column-gap: 25px;
    }


    .an-involved-hero-content h1 {
        font-size: 46px;
    }


    .an-involved-hero-content h2 {
        font-size: 36px;
    }


    .an-involved-hero-content p {
        font-size: 17px;
    }


    .an-involved-hero-content .an-actions {
        gap: 12px;
    }


    .an-involved-hero-quote blockquote {
        max-width: 190px;

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

}


/* =========================================================
   SMALL TABLET
   2 columns
   601px - 900px
   ========================================================= */

@media (max-width: 900px) {

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

    .an-involved blockquote {
        position:static;
        margin-top:20px;
    }
}


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

@media (max-width: 600px) {

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

    .an-involved-hero-inner {
        display: flex;
        flex-direction: column;

        height: auto;
        min-height: var(--hero-height);

        padding-top: 45px;
        padding-bottom: 35px;
    }


    .an-involved-hero-content {
        max-width: 100%;

        padding-top: 0;
    }


    .an-involved-hero-content h1 {
        font-size: clamp(40px, 11vw, 50px);

        margin-bottom: 8px;
    }


    .an-involved-hero-content h2 {
        font-size: clamp(30px, 8vw, 40px);

        margin-bottom: 15px;
    }


    .an-involved-hero-content p {
        max-width: 100%;

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

        margin-bottom: 20px;
    }


    .an-involved-hero-content .an-actions {
        flex-direction: column;
        align-items: flex-start;

        width: 100%;
    }


    .an-involved-hero-content .an-actions .an-btn {
        max-width: 100%;
    }


    /* Quote becomes a normal block below the buttons */

    .an-involved-hero-quote {
        display: block;

        width: 95%;
        height: auto;

        margin-top: 30px;
    }


    .an-involved-hero-quote blockquote {
        max-width: 100%;

        font-size: 17px;
        line-height: 1.4;
    }


    .an-involved-hero-quote .an-quote-mark {
        font-size: 46px;
    }


    .an-involved-hero-quote cite {
        margin-top: 8px;
    }

}


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

}
