/* ==========================================================================
   D2C GAME — BLOG POST
   ========================================================================== */

.blog-post-page {
    background:
        var(--d2c-page);
}

.blog-shell {
    width:
        min(
            var(--d2c-max),
            calc(100% - 80px)
        );

    margin:
        0 auto;
}

.blog-shell--narrow {
    max-width:
        980px;
}

.blog-shell--article {
    max-width:
        900px;
}


/* HERO */

.blog-post-hero {
    padding:
        78px 0
        72px;

    text-align:
        center;
}

.blog-post-hero
h1 {
    max-width:
        910px;

    margin:
        0 auto;
}

.blog-post-hero__excerpt {
    max-width:
        760px;

    margin:
        22px auto
        0;

    color:
        #c8cedd;

    font-size:
        18px;

    line-height:
        1.7;
}

.blog-post-hero__meta {
    margin:
        17px 0
        0;

    color:
        #9fa8bb;

    font-size:
        13px;
}

.blog-post-hero__media {
    overflow:
        hidden;

    margin-top:
        45px;

    border-radius:
        var(--d2c-radius);

    background:
        #080b16;
}

.blog-post-hero__media
img {
    display:
        block;

    width:
        100%;

    aspect-ratio:
        1.76;

    object-fit:
        cover;
}

.blog-post-placeholder,
.blog-related-placeholder {
    display:
        flex;

    flex-direction:
        column;

    justify-content:
        flex-end;

    min-height:
        420px;

    padding:
        38px;

    background:
        radial-gradient(
            circle at 80% 8%,
            rgba(109, 44, 255, .58),
            transparent 36%
        ),
        linear-gradient(
            145deg,
            #070b14,
            #11102a
        );

    color:
        #ffffff;

    text-align:
        left;
}

.blog-post-placeholder
span,
.blog-related-placeholder
span {
    margin-bottom:
        13px;

    color:
        #aa7bff;

    font-size:
        11px;

    font-weight:
        850;

    letter-spacing:
        .14em;
}

.blog-post-placeholder
strong {
    max-width:
        760px;

    font-size:
        38px;

    line-height:
        1.03;
}


/* CONTENT */

.blog-post-content {
    padding:
        76px 0
        88px;

    background:
        var(--d2c-page);
}

.blog-article {
    color:
        #222b3c;

    font-size:
        18px;

    line-height:
        1.8;
}

.blog-article
> *:first-child {
    margin-top:
        0;
}

.blog-article
h2 {
    margin:
        54px 0
        18px;
}

.blog-article
h3 {
    margin:
        38px 0
        14px;
}

.blog-article
p,
.blog-article
ul,
.blog-article
ol,
.blog-article
blockquote {
    margin:
        0 0
        24px;
}

.blog-article
ul,
.blog-article
ol {
    padding-left:
        27px;
}

.blog-article
li + li {
    margin-top:
        9px;
}

.blog-article
a {
    color:
        var(--d2c-purple);

    text-decoration:
        underline;

    text-underline-offset:
        3px;
}

.blog-article
blockquote {
    padding:
        19px 24px;

    border-left:
        3px solid
        var(--d2c-purple);

    background:
        var(--d2c-purple-soft);
}

.blog-article
img {
    display:
        block;

    max-width:
        100%;

    height:
        auto;

    margin:
        35px auto;

    border-radius:
        12px;
}

.blog-article
hr {
    margin:
        42px 0;

    border:
        0;

    border-top:
        1px solid
        var(--d2c-border);
}


/* CTA */

.blog-post-cta {
    margin-top:
        72px;

    padding:
        36px;

    border:
        1px solid
        var(--d2c-border);

    border-radius:
        var(--d2c-radius);

    background:
        #ffffff;
}

.blog-post-cta
h2 {
    max-width:
        650px;
}

.blog-post-cta
p:not(.blog-kicker) {
    max-width:
        650px;

    color:
        #606b7d;
}


/* RELATED */

.blog-related {
    padding:
        28px 0
        82px;

    background:
        var(--d2c-page);
}

.blog-related__heading {
    max-width:
        720px;

    margin-bottom:
        34px;
}

.blog-related__grid {
    display:
        grid;

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

    gap:
        24px;
}

.blog-related-card {
    overflow:
        hidden;

    min-width:
        0;

    border:
        1px solid
        var(--d2c-border);

    border-radius:
        var(--d2c-radius);

    background:
        #ffffff;
}

.blog-related-card__image {
    display:
        block;

    overflow:
        hidden;

    background:
        #080b16;

    text-decoration:
        none;
}

.blog-related-card__image
img {
    display:
        block;

    width:
        100%;

    aspect-ratio:
        1.76;

    object-fit:
        cover;
}

.blog-related-placeholder {
    min-height:
        215px;

    padding:
        23px;
}

.blog-related-placeholder
strong {
    font-size:
        22px;

    line-height:
        1.07;
}

.blog-related-card__body {
    padding:
        24px;
}

.blog-related-card
h3 {
    margin:
        0 0
        12px;
}

.blog-related-card
h3 a {
    color:
        inherit;

    text-decoration:
        none;
}

.blog-related-card
p:not(.blog-kicker) {
    margin:
        0 0
        20px;

    color:
        #606b7d;
}


/* 404 */

.blog-not-found {
    min-height:
        60vh;

    padding:
        100px 0;

    background:
        var(--d2c-page);
}

.blog-not-found
p:not(.blog-kicker) {
    max-width:
        600px;

    margin-bottom:
        28px;

    color:
        #606b7d;
}


/* RESPONSIVE */

@media (max-width: 1023px) {

    .blog-shell {
        width:
            min(
                760px,
                calc(100% - 48px)
            );
    }

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

@media (max-width: 680px) {

    .blog-shell {
        width:
            calc(100% - 36px);
    }

    .blog-post-hero {
        padding:
            58px 0
            52px;
    }

    .blog-post-hero__excerpt,
    .blog-article {
        font-size:
            16px;
    }

    .blog-post-hero__media {
        margin-top:
            32px;
    }

    .blog-post-placeholder {
        min-height:
            280px;

        padding:
            25px;
    }

    .blog-post-placeholder
    strong {
        font-size:
            27px;
    }

    .blog-post-content {
        padding:
            52px 0
            64px;
    }

    .blog-post-cta {
        margin-top:
            52px;

        padding:
            24px;
    }

    .blog-related {
        padding-bottom:
            60px;
    }

    .blog-related__grid {
        grid-template-columns:
            1fr;
    }
}
