/* ==========================================================
   EMPOWER HER — RESOURCES
========================================================== */

:root {
    --ehr-pink: #d60e59;
    --ehr-deep: #a9004f;
    --ehr-orange: #ff6500;
    --ehr-coral: #ff8159;
    --ehr-blush: #fff8f5;
    --ehr-soft: #fff1ed;
    --ehr-white: #ffffff;
    --ehr-dark: #321421;
    --ehr-muted: #735963;
}


/* ==========================================================
   BASE
========================================================== */

.ehr-page {
    overflow: hidden;

    background: var(--ehr-blush);

    color: var(--ehr-dark);
}


.ehr-container {
    width: min(1180px, calc(100% - 48px));

    margin: 0 auto;
}


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

.ehr-hero {
    position: relative;

    min-height: 610px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            125deg,
            #a9004f 0%,
            #d60e59 47%,
            #ff6500 100%
        );

    color: #ffffff;
}


.ehr-hero::after {
    content: "";

    position: absolute;

    width: 470px;
    height: 470px;

    right: -130px;
    bottom: -210px;

    border:
        1px solid rgba(255,255,255,.22);

    border-radius: 50%;
}


.ehr-hero-inner {
    position: relative;

    z-index: 5;

    padding:
        105px 0 115px;
}


.ehr-eyebrow {
    margin:
        0 0 25px;

    color: #ffd7c7;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: .76rem;

    font-weight: 800;

    letter-spacing: .22em;

    text-transform: uppercase;
}


.ehr-hero h1 {
    max-width: 800px;

    margin:
        0 0 28px;

    font-family:
        "Cormorant Garamond",
        "Playfair Display",
        Georgia,
        serif;

    font-size:
        clamp(
            65px,
            8vw,
            118px
        );

    font-weight: 500;

    line-height: .83;

    letter-spacing: -4px;
}


.ehr-hero h1 em {
    color: #ffd3c1;

    font-weight: 500;
}


.ehr-hero-copy {
    max-width: 600px;

    margin:
        0 0 36px;

    font-size: 1.05rem;

    line-height: 1.8;

    color:
        rgba(255,255,255,.91);
}


.ehr-hero-button {
    display: inline-flex;

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

    min-height: 53px;

    padding:
        0 30px;

    background: #ffffff;

    color: var(--ehr-deep);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: .75rem;

    font-weight: 800;

    letter-spacing: .1em;

    text-transform: uppercase;

    text-decoration: none;

    transition:
        transform .2s ease,
        background .2s ease;
}


.ehr-hero-button:hover {
    background: #fff0eb;

    transform:
        translateY(-2px);
}


/* ==========================================================
   INTRO
========================================================== */

.ehr-intro {
    padding:
        105px 0;

    background:
        var(--ehr-blush);
}


.ehr-intro-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 90px;

    align-items: center;
}


.ehr-section-label {
    display: block;

    margin:
        0 0 15px;

    color:
        var(--ehr-pink);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: .7rem;

    font-weight: 800;

    letter-spacing: .18em;

    text-transform: uppercase;
}


.ehr-intro h2,
.ehr-library h2,
.ehr-more h2 {
    margin: 0;

    color:
        var(--ehr-dark);

    font-family:
        "Cormorant Garamond",
        "Playfair Display",
        Georgia,
        serif;

    font-size:
        clamp(
            45px,
            5vw,
            72px
        );

    font-weight: 500;

    line-height: .95;

    letter-spacing: -2px;
}


.ehr-intro h2 em,
.ehr-library h2 em,
.ehr-more h2 em {
    color:
        var(--ehr-pink);

    font-weight: 500;
}


.ehr-intro-copy p {
    margin: 0;

    color:
        var(--ehr-muted);

    font-size: 1rem;

    line-height: 1.9;
}


/* ==========================================================
   LIBRARY
========================================================== */

.ehr-library {
    padding:
        100px 0 120px;

    background:
        #ffffff;
}


.ehr-library-heading {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 50px;

    margin-bottom: 55px;
}


.ehr-library-heading > p {
    max-width: 410px;

    margin: 0 0 5px;

    color:
        var(--ehr-muted);

    line-height: 1.75;
}


/* ==========================================================
   RESOURCE GRID
========================================================== */

.ehr-resource-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;
}


.ehr-resource-card {
    min-height: 385px;

    display: flex;

    flex-direction: column;

    padding: 28px;

    background:
        var(--ehr-blush);

    border:
        1px solid
        rgba(169,0,79,.09);

    box-shadow:
        0 15px 45px
        rgba(93,28,54,.06);

    transition:
        transform .22s ease,
        box-shadow .22s ease;
}


.ehr-resource-card:hover {
    transform:
        translateY(-5px);

    box-shadow:
        0 22px 55px
        rgba(93,28,54,.10);
}


.ehr-featured-resource {
    background:
        linear-gradient(
            145deg,
            #fff8f5,
            #fff0eb
        );
}


.ehr-card-top {
    display: flex;

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

    gap: 20px;

    margin-bottom: 45px;
}


.ehr-resource-category {
    color:
        var(--ehr-pink);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: .66rem;

    font-weight: 800;

    letter-spacing: .14em;

    text-transform: uppercase;
}


.ehr-resource-icon {
    width: 39px;
    height: 39px;

    display: flex;

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

    border:
        1px solid
        rgba(214,14,89,.18);

    border-radius: 50%;

    color:
        var(--ehr-pink);

    font-size: 1rem;
}


.ehr-card-body {
    flex: 1;
}


.ehr-card-body h3 {
    margin:
        0 0 17px;

    color:
        var(--ehr-dark);

    font-family:
        "Cormorant Garamond",
        "Playfair Display",
        Georgia,
        serif;

    font-size: 2.2rem;

    font-weight: 600;

    line-height: 1;
}


.ehr-card-body p {
    margin: 0;

    color:
        var(--ehr-muted);

    font-size: .92rem;

    line-height: 1.75;
}


.ehr-card-footer {
    margin-top: 35px;
}


.ehr-resource-button {
    display: flex;

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

    width: 100%;

    padding:
        15px 0;

    border-top:
        1px solid
        rgba(169,0,79,.13);

    color:
        var(--ehr-pink);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: .7rem;

    font-weight: 800;

    letter-spacing: .11em;

    text-transform: uppercase;

    text-decoration: none;
}


.ehr-resource-button:hover {
    color:
        var(--ehr-orange);
}


.ehr-resource-coming {
    display: block;

    padding:
        15px 0;

    border-top:
        1px solid
        rgba(169,0,79,.13);

    color:
        #a88793;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: .68rem;

    font-weight: 800;

    letter-spacing: .1em;

    text-transform: uppercase;
}


/* ==========================================================
   ENCOURAGEMENT
========================================================== */

.ehr-encouragement {
    position: relative;

    padding:
        120px 0;

    overflow: hidden;

    background:
        var(--ehr-deep);

    color: #ffffff;

    text-align: center;
}


.ehr-encouragement-inner {
    max-width: 900px;
}


.ehr-quote-mark {
    display: block;

    height: 70px;

    color:
        rgba(255,255,255,.16);

    font-family: Georgia, serif;

    font-size: 120px;

    line-height: .8;
}


.ehr-encouragement-label {
    margin:
        5px 0 24px;

    color:
        #ffb99e;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: .7rem;

    font-weight: 800;

    letter-spacing: .2em;
}


.ehr-encouragement h2 {
    margin: 0;

    font-family:
        "Cormorant Garamond",
        "Playfair Display",
        Georgia,
        serif;

    font-size:
        clamp(
            42px,
            6vw,
            74px
        );

    font-weight: 500;

    line-height: 1;

    letter-spacing: -2px;
}


.ehr-small-line {
    width: 55px;
    height: 2px;

    margin:
        35px auto 0;

    background:
        var(--ehr-orange);
}


/* ==========================================================
   MORE
========================================================== */

.ehr-more {
    padding:
        100px 0;

    background:
        var(--ehr-soft);
}


.ehr-more-inner {
    display: grid;

    grid-template-columns:
        1.1fr .9fr;

    gap: 90px;

    align-items: center;
}


.ehr-more-inner > p {
    margin: 0;

    color:
        var(--ehr-muted);

    line-height: 1.85;
}


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

@media (max-width: 900px) {

    .ehr-hero {
        min-height: 520px;
    }


    .ehr-intro-grid,
    .ehr-more-inner {
        grid-template-columns:
            1fr;

        gap: 35px;
    }


    .ehr-library-heading {
        display: block;
    }


    .ehr-library-heading > p {
        margin-top: 25px;
    }


    .ehr-resource-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


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

@media (max-width: 600px) {

    .ehr-container {
        width:
            calc(100% - 34px);
    }


    .ehr-hero {
        min-height: 520px;
    }


    .ehr-hero-inner {
        padding:
            80px 0;
    }


    .ehr-hero h1 {
        font-size: 58px;

        line-height: .88;

        letter-spacing: -2px;
    }


    .ehr-hero-copy {
        font-size: .94rem;

        line-height: 1.7;
    }


    .ehr-intro,
    .ehr-library,
    .ehr-more {
        padding:
            70px 0;
    }


    .ehr-intro h2,
    .ehr-library h2,
    .ehr-more h2 {
        font-size: 46px;
    }


    .ehr-resource-grid {
        grid-template-columns:
            1fr;
    }


    .ehr-resource-card {
        min-height: 340px;
    }


    .ehr-encouragement {
        padding:
            85px 0;
    }


    .ehr-encouragement h2 {
        font-size: 43px;
    }

}