
/* =========================================================
   BLOG PAGE FOUNDATION
========================================================= */

.custom-blog-page {
    width: 100%;
    overflow: hidden;
    background: #f7f8fb;
    color: #1d2633;
}

.custom-blog-page *,
.custom-blog-page *::before,
.custom-blog-page *::after {
    box-sizing: border-box;
}


/* =========================================================
   GLOBAL BLOG CONTAINER
========================================================= */

.custom-blog-page .container {
    width: min(100% - 48px, 1280px);
    margin-inline: auto;
}


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

.blog-hero-section {
    position: relative;

    min-height: 760px;

    padding: 180px 0 110px;

    overflow: hidden;

    isolation: isolate;

    background:
        radial-gradient(
            circle at 8% 5%,
            rgba(54, 126, 196, 0.20) 0%,
            rgba(54, 126, 196, 0.08) 22%,
            transparent 48%
        ),
        radial-gradient(
            circle at 88% 12%,
            rgba(71, 155, 212, 0.13) 0%,
            transparent 38%
        ),
        radial-gradient(
            circle at 48% 100%,
            rgba(45, 109, 181, 0.10) 0%,
            transparent 42%
        ),
        linear-gradient(
            135deg,
            #eaf3fc 0%,
            #f5f9fd 38%,
            #ffffff 72%,
            #edf5fc 100%
        );
}


/* =========================================================
   HERO TOP BLEND
   FOR TRANSPARENT HEADER
========================================================= */

.blog-hero-section::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 240px;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            rgba(35, 91, 148, 0.15) 0%,
            rgba(72, 137, 195, 0.07) 45%,
            rgba(255, 255, 255, 0) 100%
        );

    z-index: -1;
}


/* =========================================================
   DECORATIVE RIGHT CIRCLE
========================================================= */

.blog-hero-section::after {
    content: "";

    position: absolute;

    width: 600px;
    height: 600px;

    top: -300px;
    right: -80px;

    border-radius: 50%;

    border:
        1px solid rgba(44, 94, 150, 0.10);

    box-shadow:
        0 0 0 70px rgba(44, 94, 150, 0.025),
        0 0 0 140px rgba(44, 94, 150, 0.015);

    pointer-events: none;

    z-index: -1;
}


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

.blog-hero-glow {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;

    filter: blur(15px);

    z-index: -2;
}


.blog-hero-glow-one {
    width: 550px;
    height: 550px;

    top: -260px;
    left: -180px;

    background:
        radial-gradient(
            circle,
            rgba(49, 121, 190, 0.17),
            transparent 68%
        );
}


.blog-hero-glow-two {
    width: 500px;
    height: 500px;

    right: -180px;
    bottom: -250px;

    background:
        radial-gradient(
            circle,
            rgba(69, 145, 210, 0.14),
            transparent 68%
        );
}


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

.blog-hero-inner {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0, 1.45fr)
        minmax(300px, 0.65fr);

    align-items: center;

    gap: 100px;

    min-height: 470px;
}


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

.blog-hero-content {
    position: relative;

    max-width: 850px;

    z-index: 2;
}


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

.blog-hero-eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 28px;

    color: #536273;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 0.14em;

    text-transform: uppercase;
}


.blog-eyebrow-dot {
    position: relative;

    display: block;

    width: 11px;
    height: 11px;

    border-radius: 50%;

    background: #2d73bb;

    box-shadow:
        0 0 0 9px rgba(45, 115, 187, 0.09);
}


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

.blog-hero-content h1 {
    margin: 0;

    max-width: 850px;

    color: #1c2c40;

    font-size: clamp(52px, 6.2vw, 96px);

    font-weight: 800;

    line-height: 0.98;

    letter-spacing: -0.065em;
}


.blog-hero-content h1 span {
    display: inline-block;

    margin-top: 12px;

    background:
        linear-gradient(
            90deg,
            #2c5e96,
            #3c82c1
        );

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
}


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

.blog-hero-description {
    max-width: 900px;

    margin: 42px 0 0;

    color: #647386;

    font-size: clamp(17px, 1.5vw, 24px);

    font-weight: 400;

    line-height: 1.75;

    letter-spacing: -0.015em;
}


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

.blog-hero-actions {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 28px;

    margin-top: 45px;
}


.blog-primary-btn {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 14px;

    min-height: 58px;

    padding: 0 28px;

    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            #245d97,
            #3b8cc5
        );

    color: #ffffff !important;

    font-size: 15px;

    font-weight: 700;

    text-decoration: none !important;

    box-shadow:
        0 16px 35px rgba(38, 99, 158, 0.22);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.blog-primary-btn:hover {
    color: #ffffff !important;

    transform: translateY(-4px);

    box-shadow:
        0 24px 45px rgba(38, 99, 158, 0.30);
}


.blog-primary-btn span {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 25px;
    height: 25px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.16);

    transition:
        transform 0.3s ease;
}


.blog-primary-btn:hover span {
    transform: translateY(3px);
}


/* =========================================================
   SECONDARY LINK
========================================================= */

.blog-secondary-link {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: #273d56 !important;

    font-size: 15px;

    font-weight: 700;

    text-decoration: none !important;

    transition:
        color 0.3s ease,
        gap 0.3s ease;
}


.blog-secondary-link:hover {
    color: #2870b9 !important;

    gap: 15px;
}


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

.blog-hero-side {
    position: relative;

    display: flex;

    flex-direction: column;

    padding-left: 58px;

    border-left:
        1px solid rgba(45, 74, 107, 0.14);

    z-index: 2;
}


.blog-hero-stat {
    position: relative;

    padding: 32px 0 34px 48px;

    border-bottom:
        1px solid rgba(45, 74, 107, 0.11);
}


.blog-hero-stat:first-child {
    padding-top: 0;
}


.blog-hero-stat:last-child {
    padding-bottom: 0;

    border-bottom: none;
}


/* STAT DOT */

.blog-hero-stat::before {
    content: "";

    position: absolute;

    left: -65px;

    top: 39px;

    width: 13px;
    height: 13px;

    border-radius: 50%;

    background: #3378bd;

    box-shadow:
        0 0 0 8px rgba(51, 120, 189, 0.08);
}


.blog-hero-stat:first-child::before {
    top: 6px;
}


.blog-hero-stat strong {
    display: block;

    margin-bottom: 10px;

    color: #26374b;

    font-size: clamp(38px, 3vw, 58px);

    font-weight: 800;

    line-height: 1;

    letter-spacing: -0.05em;
}


.blog-hero-stat span {
    display: block;

    color: #708094;

    font-size: 17px;

    line-height: 1.4;
}


/* =========================================================
   HERO RESPONSIVE - TABLET
========================================================= */

@media (max-width: 1024px) {

    .blog-hero-section {
        min-height: auto;

        padding: 155px 0 90px;
    }


    .blog-hero-inner {
        grid-template-columns: 1fr;

        gap: 65px;
    }


    .blog-hero-side {
        display: grid;

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

        padding-left: 0;

        border-left: none;

        border-top:
            1px solid rgba(45, 74, 107, 0.13);
    }


    .blog-hero-stat {
        padding:
            28px 25px 10px;

        border-bottom: none;

        border-right:
            1px solid rgba(45, 74, 107, 0.10);
    }


    .blog-hero-stat:last-child {
        border-right: none;
    }


    .blog-hero-stat::before {
        display: none;
    }


    .blog-hero-stat:first-child {
        padding-top: 28px;
    }
}


/* =========================================================
   HERO RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 767px) {

    .blog-hero-section {
        padding: 135px 0 75px;

        min-height: auto;
    }


    .blog-hero-content h1 {
        font-size: 52px;
    }


    .blog-hero-description {
        margin-top: 28px;

        font-size: 17px;

        line-height: 1.65;
    }


    .blog-hero-actions {
        gap: 20px;

        margin-top: 32px;
    }


    .blog-primary-btn {
        width: 100%;
    }


    .blog-secondary-link {
        width: 100%;

        justify-content: center;
    }


    .blog-hero-side {
        grid-template-columns: 1fr;

        gap: 0;

        margin-top: 10px;
    }


    .blog-hero-stat {
        padding: 24px 0;

        border-right: none;

        border-bottom:
            1px solid rgba(45, 74, 107, 0.10);
    }


    .blog-hero-stat:first-child {
        padding-top: 24px;
    }


    .blog-hero-stat:last-child {
        padding-bottom: 0;

        border-bottom: none;
    }


    .blog-hero-stat strong {
        font-size: 38px;
    }
}


/* =========================================================
   SECTION FOUNDATION
========================================================= */

.blog-featured-section,
.blog-category-navigation,
.latest-blog-section,
.blog-newsletter-section {
    position: relative;

    padding: 110px 0;
}

.blog-featured-section {
    background: #ffffff;
}

.blog-category-navigation {
    background: #f7f8fb;
}

.latest-blog-section {
    background: #ffffff;
}

.blog-newsletter-section {
    background: #f7f8fb;
}