/* =========================================================
   ESAR DIGITAL — RESOURCES
   INSIGHTS SECTION
   Premium Dark Editorial System
   ========================================================= */


/* =========================================================
   SECTION
   ========================================================= */

   .resources-insights {
    position: relative;

    padding: 150px 0 155px;

    overflow: hidden;

    color: #ffffff;

    background:
        radial-gradient(
            circle at 82% 12%,
            rgba(97,124,255,.16),
            transparent 30%
        ),
        radial-gradient(
            circle at 12% 80%,
            rgba(97,124,255,.08),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #050c17 0%,
            #07101f 55%,
            #0a1425 100%
        );
}


/* =========================================================
   BACKGROUND GRID
   ========================================================= */

.resources-insights::before {
    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    opacity: .16;

    background-image:
        linear-gradient(
            rgba(255,255,255,.055) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.055) 1px,
            transparent 1px
        );

    background-size: 88px 88px;

    mask-image:
        linear-gradient(
            to bottom,
            rgba(0,0,0,.8),
            transparent 92%
        );

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            rgba(0,0,0,.8),
            transparent 92%
        );
}


/* =========================================================
   AMBIENT GLOWS
   ========================================================= */

.resources-insights__glow {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;

    filter: blur(10px);
}


.resources-insights__glow--one {
    width: 520px;
    height: 520px;

    top: -260px;
    right: -180px;

    background:
        radial-gradient(
            circle,
            rgba(97,124,255,.15),
            transparent 68%
        );
}


.resources-insights__glow--two {
    width: 420px;
    height: 420px;

    left: -260px;
    bottom: -220px;

    background:
        radial-gradient(
            circle,
            rgba(97,124,255,.09),
            transparent 70%
        );
}


/* =========================================================
   CONTAINER SAFETY
   ========================================================= */

.resources-insights .resources-container {
    position: relative;

    z-index: 2;

    width: min(
        calc(100% - 112px),
        1280px
    );

    margin-left: auto;
    margin-right: auto;
}


/*
   If the global resources-container already defines the
   maximum width, this rule simply protects the section
   from touching the viewport boundaries.
*/


/* =========================================================
   HEADER
   ========================================================= */

.resources-insights__header {
    position: relative;

    margin-bottom: 82px;
}


.resources-insights__eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 11px;

    margin-bottom: 26px;

    color: #8492ab;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: .18em;

    line-height: 1;

    text-transform: uppercase;
}


.resources-insights__eyebrow span {
    width: 7px;
    height: 7px;

    display: block;

    flex-shrink: 0;

    border-radius: 50%;

    background: #8fa1ff;

    box-shadow:
        0 0 0 5px rgba(97,124,255,.10),
        0 0 24px rgba(97,124,255,.55);
}


/* =========================================================
   HEADING ROW
   ========================================================= */

.resources-insights__heading-row {
    display: grid;

    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);

    align-items: end;

    gap: 90px;
}


.resources-insights__heading-row h2 {
    max-width: 820px;

    margin: 0;

    color: #ffffff;

    font-size: clamp(
        48px,
        6vw,
        78px
    );

    font-weight: 620;

    line-height: .98;

    letter-spacing: -.065em;
}


.resources-insights__heading-row h2 span {
    display: block;

    color:#FFCC00;
}


.resources-insights__heading-row p {
    max-width: 500px;

    margin: 0;

    color: #98a7bd;

    font-size: 15px;

    font-weight: 400;

    line-height: 1.9;
}


/* =========================================================
   INSIGHTS LIST
   ========================================================= */

.resources-insights__list {
    position: relative;

    border-top: 1px solid rgba(255,255,255,.12);
}


/* =========================================================
   INDIVIDUAL INSIGHT
   ========================================================= */

.resources-insight {
    position: relative;

    display: grid;

    grid-template-columns: 70px 145px minmax(0, 1fr);

    gap: 35px;

    padding: 43px 25px 43px 0;

    border-bottom: 1px solid rgba(255,255,255,.12);

    transition:
        background .35s ease,
        padding .35s ease;
}


.resources-insight::before {
    content: "";

    position: absolute;

    left: -25px;
    right: -25px;
    top: 0;
    bottom: 0;

    z-index: -1;

    background:
        linear-gradient(
            90deg,
            rgba(97,124,255,.09),
            rgba(97,124,255,.035),
            transparent
        );

    opacity: 0;

    transition: opacity .35s ease;
}


.resources-insight:hover::before {
    opacity: 1;
}


/* =========================================================
   NUMBER
   ========================================================= */

.resources-insight__number {
    padding-top: 3px;

    color: #66758d;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: .15em;
}


/* =========================================================
   CATEGORY
   ========================================================= */

.resources-insight__category {
    padding-top: 3px;

    color: #8290a8;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: .15em;

    text-transform: uppercase;
}


/* =========================================================
   CONTENT
   ========================================================= */

.resources-insight__content {
    max-width: 780px;
}


.resources-insight__content h3 {
    max-width: 760px;

    margin: 0;

    color: #ffffff;

    font-size: clamp(
        24px,
        2.3vw,
        32px
    );

    font-weight: 600;

    line-height: 1.18;

    letter-spacing: -.035em;
}


.resources-insight__content p {
    max-width: 690px;

    margin: 17px 0 0;

    color: #8d9bb1;

    font-size: 14px;

    line-height: 1.85;
}


/* =========================================================
   LINK
   ========================================================= */

.resources-insight__link {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-top: 22px;

    color: #FFCC00;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: .09em;

    text-decoration: none;

    text-transform: uppercase;

    transition:
        color .3s ease,
        transform .3s ease;
}


.resources-insight__link span {
    color: #FFCC00;

    font-size: 15px;

    line-height: 1;

    transition:
        transform .3s ease;
}


.resources-insight__link:hover {
    color: #ffffff;

    transform: translateX(3px);
}


.resources-insight__link:hover span {
    color: #FFCC00;
}


/* =========================================================
   HOVER ACCENT
   ========================================================= */

.resources-insight:hover .resources-insight__number {
    color: #8fa1ff;
}


.resources-insight:hover .resources-insight__category {
    color: #aab8ff;
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .resources-insights {
        padding: 125px 0 130px;
    }


    .resources-insights .resources-container {
        width: min(
            calc(100% - 80px),
            900px
        );
    }


    .resources-insights__heading-row {
        grid-template-columns: 1fr;

        gap: 30px;
    }


    .resources-insights__heading-row p {
        max-width: 650px;
    }


    .resources-insights__header {
        margin-bottom: 65px;
    }


    .resources-insight {
        grid-template-columns: 55px 125px minmax(0, 1fr);

        gap: 25px;

        padding: 38px 15px 38px 0;
    }

}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 760px) {

    .resources-insights {
        padding: 95px 0 100px;
    }


    .resources-insights .resources-container {
        width: calc(100% - 50px);
    }


    .resources-insights__header {
        margin-bottom: 55px;
    }


    .resources-insights__heading-row {
        gap: 25px;
    }


    .resources-insights__heading-row h2 {
        font-size: clamp(
            42px,
            12vw,
            58px
        );

        letter-spacing: -.06em;
    }


    .resources-insights__heading-row p {
        font-size: 14px;

        line-height: 1.8;
    }


    .resources-insight {
        display: grid;

        grid-template-columns: 45px 1fr;

        gap: 0;

        padding: 34px 0;
    }


    .resources-insight__number {
        grid-column: 1;

        grid-row: 1;

        padding-top: 4px;
    }


    .resources-insight__category {
        grid-column: 2;

        grid-row: 1;

        padding-top: 4px;
    }


    .resources-insight__content {
        grid-column: 2;

        grid-row: 2;

        max-width: none;

        margin-top: 24px;
    }


    .resources-insight__content h3 {
        font-size: 24px;

        line-height: 1.2;
    }


    .resources-insight__content p {
        margin-top: 14px;

        font-size: 14px;

        line-height: 1.8;
    }


    .resources-insight::before {
        left: -15px;
        right: -15px;
    }

}


/* =========================================================
   RESPONSIVE — SMALL PHONES
   ========================================================= */

@media (max-width: 480px) {

    .resources-insights {
        padding: 82px 0 90px;
    }


    .resources-insights .resources-container {
        width: calc(100% - 40px);
    }


    .resources-insights__eyebrow {
        font-size: 9px;

        letter-spacing: .15em;
    }


    .resources-insights__heading-row h2 {
        font-size: 43px;
    }


    .resources-insight {
        grid-template-columns: 38px 1fr;

        padding: 30px 0;
    }


    .resources-insight__content {
        margin-top: 20px;
    }


    .resources-insight__content h3 {
        font-size: 21px;
    }


    .resources-insight__content p {
        font-size: 13px;
    }


    .resources-insight__link {
        margin-top: 19px;

        font-size: 10px;
    }

}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.resources-insight__link:focus-visible {
    outline: 2px solid #8fa1ff;

    outline-offset: 5px;
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .resources-insights *,
    .resources-insights *::before,
    .resources-insights *::after {
        animation-duration: .01ms !important;

        animation-iteration-count: 1 !important;

        scroll-behavior: auto !important;

        transition-duration: .01ms !important;
    }

}