/* =========================================================
   VISIT CHAMOLI
   RESOURCE LIBRARY
   COMPLETELY ISOLATED CSS
========================================================= */


/* =========================================================
   ROOT
========================================================= */

.vc-resource-library-page {

    --rl-navy: #082f54;
    --rl-deep: #05243d;

    --rl-green: #527b3b;
    --rl-gold: #d5ae38;

    --rl-bg: #f5f8f6;
    --rl-white: #ffffff;

    --rl-text: #263746;
    --rl-muted: #687780;

    --rl-border: #e1e8e4;

    width: 100%;

    overflow: hidden;
}


/* =========================================================
   CONTAINER
========================================================= */

.vc-resource-library-page
.vc-resource-container {

    width: 100%;

    max-width: 1240px;

    margin-left: auto;
    margin-right: auto;

    padding-left: 20px;
    padding-right: 20px;
}


/* =========================================================
   HERO
========================================================= */

.vc-resource-library-page
.vc-resource-hero {

    position: relative;

    min-height: 410px;

    display: flex;

    align-items: center;

    background-image:
        url("../../images/resource-library/resource-library-hero.jpg");

    background-position: center;

    background-size: cover;

    background-repeat: no-repeat;
}


/* =========================================================
   HERO OVERLAY
========================================================= */

.vc-resource-library-page
.vc-resource-hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(4, 29, 49, .94) 0%,
            rgba(4, 29, 49, .82) 35%,
            rgba(4, 29, 49, .48) 67%,
            rgba(4, 29, 49, .12) 100%
        );
}


/* =========================================================
   HERO CONTENT
========================================================= */

.vc-resource-library-page
.vc-resource-hero-content {

    position: relative;

    z-index: 2;

    max-width: 650px;

    padding-top: 80px;

    padding-bottom: 80px;
}


.vc-resource-library-page
.vc-resource-eyebrow {

    display: block;

    margin-bottom: 14px;

    color: var(--rl-gold);

    font-size: 13px;

    line-height: 1.3;

    font-weight: 700;

    letter-spacing: 2px;
}


.vc-resource-library-page
.vc-resource-hero-content h1 {

    margin: 0 0 18px;

    color: #ffffff;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(46px, 6vw, 70px);

    line-height: 1.05;

    font-weight: 600;
}


.vc-resource-library-page
.vc-resource-hero-line {

    width: 55px;

    height: 3px;

    margin-bottom: 20px;

    background: var(--rl-gold);
}


.vc-resource-library-page
.vc-resource-hero-content p {

    max-width: 570px;

    margin: 0;

    color:
        rgba(255,255,255,.88);

    font-size: 17px;

    line-height: 1.75;
}


/* =========================================================
   RESOURCE LIBRARY SECTION
========================================================= */

.vc-resource-library-page
.vc-resource-library {

    padding:
        90px 0 105px;

    background:
        linear-gradient(
            180deg,
            #f8faf9 0%,
            #f3f7f5 100%
        );
}


/* =========================================================
   SECTION HEADING
========================================================= */

.vc-resource-library-page
.vc-resource-section-heading {

    max-width: 760px;

    margin:
        0 auto 55px;

    text-align: center;
}


.vc-resource-library-page
.vc-resource-section-heading > span {

    display: block;

    margin-bottom: 10px;

    color: var(--rl-green);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;
}


.vc-resource-library-page
.vc-resource-section-heading h2 {

    margin: 0;

    color: var(--rl-navy);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(36px, 4vw, 48px);

    line-height: 1.15;

    font-weight: 600;
}


.vc-resource-library-page
.vc-resource-heading-line {

    width: 52px;

    height: 3px;

    margin:
        19px auto;

    background: var(--rl-gold);
}


.vc-resource-library-page
.vc-resource-section-heading p {

    margin: 0;

    color: var(--rl-muted);

    font-size: 15px;

    line-height: 1.75;
}


/* =========================================================
   RESOURCE GRID
   DESKTOP = 3 CARDS
========================================================= */

.vc-resource-library-page
.vc-resource-grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 25px;

    align-items: stretch;
}


/* =========================================================
   RESOURCE CARD
========================================================= */

.vc-resource-library-page
.vc-resource-card {

    position: relative;

    display: flex;

    flex-direction: column;

    height: 100%;

    overflow: hidden;

    background:
        var(--rl-white);

    border:
        1px solid var(--rl-border);

    border-radius: 14px;

    box-shadow:
        0 8px 28px
        rgba(8,47,84,.055);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}


.vc-resource-library-page
.vc-resource-card:hover {

    transform:
        translateY(-6px);

    border-color:
        rgba(82,123,59,.25);

    box-shadow:
        0 18px 42px
        rgba(8,47,84,.11);
}


/* =========================================================
   CARD TOP
========================================================= */

.vc-resource-library-page
.vc-resource-card-top {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding:
        20px 22px 0;
}


.vc-resource-library-page
.vc-resource-number {

    color:
        rgba(8,47,84,.18);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 31px;

    line-height: 1;

    font-weight: 700;
}


.vc-resource-library-page
.vc-resource-icon {

    width: 52px;

    height: 52px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background:
        #edf3eb;

    color:
        var(--rl-green);

    font-size: 18px;

    transition:
        background .3s ease,
        color .3s ease,
        transform .3s ease;
}


.vc-resource-library-page
.vc-resource-card:hover
.vc-resource-icon {

    background:
        var(--rl-green);

    color:
        #ffffff;

    transform:
        rotate(5deg);
}


/* =========================================================
   CARD BODY
========================================================= */

.vc-resource-library-page
.vc-resource-card-body {

    flex: 1;

    display: flex;

    flex-direction: column;

    padding:
        25px 25px 27px;
}


.vc-resource-library-page
.vc-resource-card-body h3 {

    margin:
        0 0 12px;

    color:
        var(--rl-navy);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 23px;

    line-height: 1.3;

    font-weight: 600;
}


.vc-resource-library-page
.vc-resource-card-body p {

    flex: 1;

    margin:
        0 0 25px;

    color:
        var(--rl-muted);

    font-size: 13px;

    line-height: 1.7;
}


/* =========================================================
   RESOURCE BUTTON
========================================================= */

.vc-resource-library-page
.vc-resource-button {

    display: inline-flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;

    width: 100%;

    padding:
        12px 15px;

    border:
        1px solid var(--rl-border);

    border-radius: 5px;

    color:
        var(--rl-navy) !important;

    background:
        #f8faf9;

    text-decoration: none !important;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: .2px;

    transition:
        background .25s ease,
        color .25s ease,
        border-color .25s ease;
}


.vc-resource-library-page
.vc-resource-button i {

    color:
        var(--rl-green);

    transition:
        transform .25s ease;
}


.vc-resource-library-page
.vc-resource-button:hover {

    background:
        var(--rl-green);

    border-color:
        var(--rl-green);

    color:
        #ffffff !important;
}


.vc-resource-library-page
.vc-resource-button:hover i {

    color:
        #ffffff;

    transform:
        translateX(4px);
}


/* =========================================================
   FINAL CTA
========================================================= */

.vc-resource-library-page
.vc-resource-cta {

    padding:
        62px 0;

    background:
        linear-gradient(
            135deg,
            #062a48,
            #0b466b 58%,
            #365f42
        );
}


.vc-resource-library-page
.vc-resource-cta-inner {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 45px;
}


/* =========================================================
   CTA CONTENT
========================================================= */

.vc-resource-library-page
.vc-resource-cta-content {

    max-width: 720px;
}


.vc-resource-library-page
.vc-resource-cta-content > span {

    display: block;

    margin-bottom: 8px;

    color:
        var(--rl-gold);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;
}


.vc-resource-library-page
.vc-resource-cta-content h2 {

    margin:
        0 0 9px;

    color:
        #ffffff;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 36px;

    line-height: 1.2;

    font-weight: 600;
}


.vc-resource-library-page
.vc-resource-cta-content p {

    max-width: 670px;

    margin: 0;

    color:
        rgba(255,255,255,.78);

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   CTA BUTTON
========================================================= */

.vc-resource-library-page
.vc-resource-cta-button {

    flex:
        0 0 auto;

    display: inline-flex;

    align-items: center;

    gap: 12px;

    padding:
        14px 20px;

    border:
        1px solid
        rgba(255,255,255,.35);

    border-radius: 5px;

    color:
        #ffffff !important;

    text-decoration:
        none !important;

    font-size: 13px;

    font-weight: 700;

    white-space:
        nowrap;

    transition:
        background .25s ease,
        border-color .25s ease;
}


.vc-resource-library-page
.vc-resource-cta-button i {

    color:
        var(--rl-gold);

    transition:
        transform .25s ease;
}


.vc-resource-library-page
.vc-resource-cta-button:hover {

    background:
        rgba(255,255,255,.10);

    border-color:
        rgba(255,255,255,.60);
}


.vc-resource-library-page
.vc-resource-cta-button:hover i {

    transform:
        translateX(4px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .vc-resource-library-page
    .vc-resource-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }

}


/* =========================================================
   MOBILE / TABLET
========================================================= */

@media (max-width: 767px) {

    .vc-resource-library-page
    .vc-resource-container {

        padding-left: 16px;

        padding-right: 16px;

    }


    /* HERO */

    .vc-resource-library-page
    .vc-resource-hero {

        min-height: 350px;

    }


    .vc-resource-library-page
    .vc-resource-hero-content {

        padding-top: 65px;

        padding-bottom: 65px;

    }


    .vc-resource-library-page
    .vc-resource-hero-content h1 {

        font-size: 44px;

    }


    .vc-resource-library-page
    .vc-resource-hero-content p {

        font-size: 15px;

    }


    /* LIBRARY */

    .vc-resource-library-page
    .vc-resource-library {

        padding:
            65px 0 75px;

    }


    .vc-resource-library-page
    .vc-resource-section-heading {

        margin-bottom: 38px;

    }


    .vc-resource-library-page
    .vc-resource-grid {

        grid-template-columns: 1fr;

        gap: 20px;

    }


    /* CTA */

    .vc-resource-library-page
    .vc-resource-cta {

        padding:
            55px 0;

    }


    .vc-resource-library-page
    .vc-resource-cta-inner {

        align-items:
            flex-start;

        flex-direction:
            column;

        gap: 28px;

    }


    .vc-resource-library-page
    .vc-resource-cta-button {

        width: 100%;

        justify-content:
            center;

    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .vc-resource-library-page
    .vc-resource-hero-content h1 {

        font-size: 39px;

    }


    .vc-resource-library-page
    .vc-resource-card-body {

        padding:
            22px;

    }


    .vc-resource-library-page
    .vc-resource-card-body h3 {

        font-size: 22px;

    }


    .vc-resource-library-page
    .vc-resource-cta-content h2 {

        font-size: 30px;

    }

}


/* =========================================================
   SAFETY / ISOLATION
========================================================= */

.vc-resource-library-page img {

    max-width: 100%;

}


.vc-resource-library-page h1,
.vc-resource-library-page h2,
.vc-resource-library-page h3,
.vc-resource-library-page h4,
.vc-resource-library-page p {

    margin-top: 0;

}


.vc-resource-library-page a {

    transition:
        color .25s ease,
        background .25s ease,
        border-color .25s ease,
        transform .25s ease;

}