/* ========================================================================
   SCHOLARSHIPS, LOANS & GRANTS — GATEWAY PAGE
   File: /assets/css/scholarships-loans-grants.css
   ======================================================================== */

.aauw-education-gateway{
    --gateway-blue:#052a4f;
    --gateway-green:#67873a;
    --gateway-text:#344454;
    --gateway-muted:#5f6b76;
    --gateway-border:#e1e6e9;
    background:#fff;
}

/* ========================================================================
   1. STANDARD INTERIOR HERO
   ======================================================================== */

.aauw-education-gateway__hero{
    position:relative;
    min-height:170px;
    overflow:hidden;
    background:var(--gateway-blue);
}
.aauw-education-gateway__hero-image{
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    width:56%;
    background-repeat:no-repeat;
    background-position:center;
    background-size:cover;
}
.aauw-education-gateway__hero-blue{
    position:absolute;
    inset:0;
    z-index:1;
    background:linear-gradient(
        90deg,
        rgba(5,42,79,1) 0%,
        rgba(5,42,79,1) 45%,
        rgba(5,42,79,.97) 50%,
        rgba(5,42,79,.86) 57%,
        rgba(5,42,79,.62) 64%,
        rgba(5,42,79,.32) 71%,
        rgba(5,42,79,.08) 78%,
        rgba(5,42,79,0) 84%
    );
}
.aauw-education-gateway__hero-content{
    position:relative;
    z-index:2;
    width:min(1180px,calc(100% - 40px));
    min-height:170px;
    margin:0 auto;
    padding:18px 0;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;
    color:#fff;
}
.aauw-education-gateway__hero-eyebrow{
    margin:0 0 7px;
    color:#fff;
    font-size:13px;
    font-weight:700;
    line-height:1.3;
    letter-spacing:.11em;
    text-transform:uppercase;
}
.aauw-education-gateway__hero-content h1{
    max-width:570px;
    margin:0 0 9px;
    color:#fff;
    font-family:Georgia,"Times New Roman",serif;
    font-size:46px;
    font-weight:700;
    line-height:1.04;
}
.aauw-education-gateway__hero-subtitle{
    max-width:590px;
    margin:0;
    color:#fff;
    font-size:16px;
    line-height:1.45;
}

/* ========================================================================
   2. OPTIONAL WORDPRESS EDITOR CONTENT
   ======================================================================== */

.aauw-education-gateway__editor{
    position:relative;
    z-index:2;
    padding:45px 24px 0;
}
.aauw-education-gateway__container{
    width:min(1180px,calc(100% - 48px));
    margin:0 auto;
}
.aauw-education-gateway__editor .aauw-education-gateway__container{
    width:min(1040px,100%);
}

/* ========================================================================
   3. MAIN CHOICE SECTION
   ======================================================================== */

.aauw-education-gateway__section{
    position:relative;
    z-index:2;
    padding:55px 24px 90px;
}
.aauw-education-gateway__heading{
    max-width:850px;
    margin:0 auto 38px;
    text-align:center;
}

/* Visible landing-page floral */
.aauw-education-gateway__floral{
    display:block;
    width:min(285px,72vw);
    height:auto;
    margin:0 auto 17px;
}
.aauw-education-gateway__kicker{
    margin:0 0 8px;
    color:var(--gateway-green);
    font-size:13px;
    font-weight:700;
    line-height:1.4;
    letter-spacing:.11em;
    text-transform:uppercase;
}
.aauw-education-gateway__heading h2{
    margin:0;
    color:var(--gateway-blue);
    font-family:Georgia,"Times New Roman",serif;
    font-size:38px;
    font-weight:700;
    line-height:1.15;
}
.aauw-education-gateway__intro{
    max-width:760px;
    margin:14px auto 0;
    color:var(--gateway-muted);
    font-size:16px;
    line-height:1.55;
}

/* ========================================================================
   4. SCHOLARSHIPS / LOANS & GRANTS CARDS
   ======================================================================== */

.aauw-education-gateway__grid{
    max-width:960px;
    margin:0 auto;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:24px;
}
.aauw-education-gateway__card{
    position:relative;
    min-height:325px;
    padding:30px 34px 28px;
    display:flex;
    flex-direction:column;
    align-items:center;
    overflow:hidden;
    background:#fff;
    border:1px solid var(--gateway-border);
    border-radius:5px;
    box-shadow:0 8px 24px rgba(5,42,79,.06);
    color:var(--gateway-text);
    text-align:center;
    text-decoration:none;
    transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.aauw-education-gateway__card::before{
    content:"";
    position:absolute;
    top:0;
    right:0;
    left:0;
    height:4px;
    background:var(--gateway-green);
}
.aauw-education-gateway__card:hover,
.aauw-education-gateway__card:focus-visible{
    transform:translateY(-4px);
    border-color:#cad4c0;
    box-shadow:0 14px 32px rgba(5,42,79,.11);
}
.aauw-education-gateway__card:focus-visible{
    outline:3px solid rgba(103,135,58,.3);
    outline-offset:4px;
}
.aauw-education-gateway__icon{
    width:62px;
    height:62px;
    margin:5px auto 20px;
    display:grid;
    place-items:center;
    flex:0 0 auto;
    border-radius:50%;
    background:var(--gateway-green);
    color:#fff;
}
.aauw-education-gateway__icon svg{
    width:31px;
    height:31px;
    display:block;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
}
.aauw-education-gateway__card-kicker{
    margin:0 0 7px;
    color:var(--gateway-green);
    font-size:12px;
    font-weight:700;
    line-height:1.4;
    letter-spacing:.09em;
    text-transform:uppercase;
}
.aauw-education-gateway__card h3{
    margin:0 0 14px;
    color:var(--gateway-blue);
    font-family:Georgia,"Times New Roman",serif;
    font-size:28px;
    font-weight:700;
    line-height:1.2;
}
.aauw-education-gateway__card-text{
    max-width:355px;
    margin:0 auto 22px;
    color:var(--gateway-muted);
    font-size:15px;
    line-height:1.6;
}
.aauw-education-gateway__link{
    margin-top:auto;
    padding-top:6px;
    color:#55752f;
    font-size:14px;
    font-weight:700;
    line-height:1.4;
}

/* ========================================================================
   5. TABLET
   ======================================================================== */

@media(max-width:900px){
    .aauw-education-gateway__hero-image{
        width:62%;
    }
    .aauw-education-gateway__hero-blue{
        background:linear-gradient(
            90deg,
            rgba(5,42,79,1) 0%,
            rgba(5,42,79,1) 40%,
            rgba(5,42,79,.94) 50%,
            rgba(5,42,79,.72) 61%,
            rgba(5,42,79,.42) 72%,
            rgba(5,42,79,.12) 83%,
            rgba(5,42,79,0) 92%
        );
    }
    .aauw-education-gateway__hero-content h1{
        max-width:500px;
        font-size:42px;
    }
}

/* ========================================================================
   6. MOBILE
   ======================================================================== */

@media(max-width:700px){
    .aauw-education-gateway__hero{
        min-height:190px;
    }
    .aauw-education-gateway__hero-image{
        width:72%;
        opacity:.62;
    }
    .aauw-education-gateway__hero-blue{
        background:linear-gradient(
            90deg,
            rgba(5,42,79,1) 0%,
            rgba(5,42,79,.98) 46%,
            rgba(5,42,79,.86) 64%,
            rgba(5,42,79,.52) 82%,
            rgba(5,42,79,.22) 100%
        );
    }
    .aauw-education-gateway__hero-content{
        width:calc(100% - 40px);
        min-height:190px;
        padding:22px 0;
    }
    .aauw-education-gateway__hero-content h1{
        max-width:82%;
        font-size:34px;
    }
    .aauw-education-gateway__hero-subtitle{
        max-width:78%;
        font-size:15px;
    }
    .aauw-education-gateway__section{
        padding:48px 20px 70px;
    }
    .aauw-education-gateway__container{
        width:100%;
    }
    .aauw-education-gateway__heading{
        margin-bottom:32px;
    }
    .aauw-education-gateway__floral{
        width:min(260px,78vw);
        margin-bottom:15px;
    }
    .aauw-education-gateway__heading h2{
        font-size:33px;
    }
    .aauw-education-gateway__grid{
        grid-template-columns:1fr;
        gap:22px;
    }
    .aauw-education-gateway__card{
        min-height:0;
        padding:30px 26px 27px;
    }
}

/* ========================================================================
   7. SMALL MOBILE
   ======================================================================== */

@media(max-width:440px){
    .aauw-education-gateway__hero-content{
        width:calc(100% - 32px);
    }
    .aauw-education-gateway__hero-content h1{
        max-width:92%;
        font-size:30px;
    }
    .aauw-education-gateway__hero-subtitle{
        max-width:90%;
    }
    .aauw-education-gateway__editor{
        padding-right:20px;
        padding-left:20px;
    }
}