/* ==========================================================
   BLOG DETAIL PAGE
========================================================== */

.blog-page {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    background: #080C2B;
}

/* ==========================================================
   BACKGROUND
========================================================== */

.blog-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.blog-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* ==========================================================
   CONTAINER
========================================================== */

.blog-container {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1582px;

    margin: 0 auto;

    padding: 100px 120px 100px;

    box-sizing: border-box;
}

/* ==========================================================
   TOP SECTION
========================================================== */

.blog-top {
    position: relative;

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

    min-height: 56px;

    margin-bottom: 30px;
}

/* ==========================================================
   BACK BUTTON
========================================================== */

.blog-back-button {
    position: absolute;

    left: 0;
    top: 50%;

    transform: translateY(-50%);

    width: 56px;
    height: 56px;

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

    padding: 0;

    border: none;
    background: transparent;

    cursor: pointer;
}

.blog-back-button img {
    width: 40px;
    height: 40px;

    display: block;
}

/* ==========================================================
   PAGE TITLE
========================================================== */

.blog-title {
    width: 804px;

    margin: 0;

    text-align: center;

    font-family: "Geist", sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 75px;
    letter-spacing: 0;

    background: linear-gradient(
        90deg,
        #EAEDFF 0%,
        #FFFFFF 50%,
        #0066FF 100%
    );

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

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

.blog-content {
    width: 100%;
    max-width: 1280px;

    margin: 0 auto;
}

/* ==========================================================
   FEATURED IMAGE
========================================================== */

.blog-featured-image {
    width: 100%;
    margin: 0 0 40px;
}

.blog-featured-image img {
    display: block;

    width: 100%;
    height: auto;

    max-height: 520px;

    object-fit: cover;
    object-position: center;

    border-radius: 0;
}

/* ==========================================================
   BODY
========================================================== */

.blog-body {
    font-family: "Geist", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 140%;
    letter-spacing: 0.02em;

    color: #E4E6E7;
}

.blog-body h1 {
    margin: 32px 0 20px;

    font-family: "Geist", sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;

    color: #FFFFFF;
}

.blog-body h1 + p {
    margin-top: 0;
}

.blog-body p {
    margin: 0 0 20px;

    font-family: "Geist", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;

    color: #E4E6E7;
}

.blog-body p:last-child {
    margin-bottom: 0;
}

.blog-body h2,
.blog-body h3,
.blog-body h4 {
    margin: 40px 0 20px;

    font-family: "Geist", sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 140%;

    color: #FFFFFF;
}

.blog-body ul,
.blog-body ol {
    margin: 24px 0 42px 40px;
}

.blog-body li {
    margin-bottom: 16px;
}

.blog-body a {
    color: #4D9DFF;
    text-decoration: none;
}

.blog-body a:hover {
    text-decoration: underline;
}

/* Hide decorative background on blog detail page */
.blog-background {
    display: none;
}


/* ==========================================================
   REMOVE DECORATIVE HEARTS FROM BLOG DETAIL PAGE
========================================================== */

.blog-page::before,
.blog-page::after,
.blog-top::before,
.blog-top::after {
    content: none !important;
    display: none !important;
    background-image: none !important;
}

/* ==========================================================
   BLOG GRID — 2 COLUMNS
========================================================== */

.blog-grid {
    width: 100%;
    display: grid;

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

    column-gap: 36px;
    row-gap: 36px;

    align-items: start;
}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 1280px) {

    .blog-container {
        padding: 140px 80px 80px;
    }

    .blog-title {
        width: 100%;
        font-size: 22px;
        line-height: 62px;
    }

    .blog-body {
        font-size: 14px;
    }

}

/* ==========================================================
   BLOG DETAIL PAGE — TABLET / MOBILE
   ARTICLE TITLE ONLY = CENTER ALIGNED
========================================================== */

@media (max-width: 768px) {

    /* ======================================================
       CONTAINER
    ====================================================== */

    .blog-container {
        padding: 120px 24px 60px;

        width: 100%;
        max-width: 600px;

        margin: 0 auto;

        box-sizing: border-box;
    }


    /* ======================================================
       TOP SECTION
    ====================================================== */

    .blog-top {
        position: relative;

        width: 100%;

        min-height: 44px;

        margin-bottom: 40px;

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

        box-sizing: border-box;
    }


    /* ======================================================
       BACK BUTTON
    ====================================================== */

    .blog-back-button {
        position: absolute;

        left: 0;
        top: 50%;

        width: 44px;
        height: 44px;

        transform: translateY(-50%);

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

        padding: 0;

        border: none;
        background: transparent;

        z-index: 5;
    }


    .blog-back-button img {
        width: 44px;
        height: 44px;

        display: block;
    }


    /* ======================================================
       ARTICLE TITLE / H1
       
       ONLY THIS TITLE IS CENTERED
    ====================================================== */

    .blog-title {
        position: relative;

        width: 100%;
        max-width: 100%;

        margin: 0 auto;

        padding: 0 50px;

        box-sizing: border-box;

        font-family: "Geist", sans-serif;

        font-size: 30px;
        line-height: 44px;

        font-weight: 700;

        letter-spacing: 0;

        /* FORCE CENTER */
        text-align: center !important;

        background: linear-gradient(
            90deg,
            #EAEDFF 0%,
            #FFFFFF 50%,
            #0066FF 100%
        );

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

        -webkit-text-fill-color: transparent;

        color: transparent;

        display: block;
    }


    /* ======================================================
       CONTENT
       DO NOT CHANGE ALIGNMENT
    ====================================================== */

    .blog-content {
        width: 100%;
        max-width: 100%;

        margin: 0 auto;
    }


    /* ======================================================
       BLOG BODY
       DO NOT CENTER BODY CONTENT
    ====================================================== */

    .blog-body {
        font-size: 14px;
        line-height: 170%;
    }

    .blog-body h1 {
        text-align: center;
        font-size: 22px;
    }


    .blog-body h2,
    .blog-body h3,
    .blog-body h4 {
        font-size: 20px;

        margin: 48px 0 18px;
    }

}

/* Mobile Blogs header hidden by default */
.mobile-blog-title {
    display: none;
}


/* ==========================================================
   BLOG DETAIL PAGE — MOBILE 480px
   "Blogs" HEADER ONLY
========================================================== */

@media (max-width: 480px) {

    /* Hide article title */
    .desktop-blog-title {
        display: none;
    }

    /* Show Blogs header */
    .mobile-blog-title {
        display: inline;
    }

    /* ======================================================
       CONTAINER
    ====================================================== */

    .blog-container {
        position: relative;

        width: 100%;
        max-width: 100%;

        margin: 0 auto;

        padding: 120px 24px 60px;

        box-sizing: border-box;
    }


    /* ======================================================
       TOP SECTION
    ====================================================== */

    .blog-top {
        position: relative;

        width: 100%;

        min-height: 44px;

        margin: 0 0 30px;

        display: flex;

        align-items: center;

        justify-content: center;

        box-sizing: border-box;
    }


    /* ======================================================
       BACK BUTTON
       HIDDEN ONLY AT 480px AND BELOW
    ====================================================== */

    .blog-back-button {
        display: none !important;
    }


    /* ======================================================
       "Blogs" HEADER
       CENTER ALIGNED
    ====================================================== */

    .blog-title {
        position: relative;

        display: block;

        width: 100%;
        max-width: 100%;

        margin: 0 auto;

        padding: 0;

        box-sizing: border-box;

        font-family: "Geist", sans-serif;

        font-size: 30px;

        line-height: 44px;

        font-weight: 700;

        letter-spacing: 0;

        text-align: center !important;

        background: linear-gradient(
            180deg,
            #ffffff 10%,
            #ffffff 45%,
            #0066ff 100%
        );

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

        -webkit-text-fill-color: transparent;

        color: transparent;
    }


    /* ======================================================
       BLOG CONTENT
       KEEP ARTICLE CONTENT UNCHANGED
    ====================================================== */

    .blog-content {
        position: relative;

        width: 100%;
        max-width: 100%;

        margin: 0 auto;

        box-sizing: border-box;
    }

}