body {
    background-color: #ffffff;
    overflow-x: hidden;
}


/*==================
Blog Hero
==================*/

.blog-hero {
    background-color: #190924;
    height: 70vh;
    min-height: 300px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    padding: 4rem;
    margin-bottom: -4rem;
    position: relative;
}

#hero-plane {
    position: absolute;
    height: 100%;
    width: auto;
    object-fit: contain;
    align-self: flex-end;
    top: 1rem;
    margin-right: 7.5vw;
    z-index: 1;
}

.blog-subtitle {
    margin-top: 2rem;
    font-size: 2em;
    color: var(--co-inverse);
    z-index: 2;
}

.blog-title {
    font-size: 4em;
    color: var(--co-inverse);
    z-index: 2;
}

@media screen and (max-width: 1000px) {

    .blog-subtitle {
        margin-top: 2rem;
        font-size: 1.5em;
        color: var(--co-inverse);
    }

    .blog-hero {
        margin-bottom: -4rem;
    }

    #hero-plane {
        margin-right: 0px;
        align-self: flex-start;
        margin-left: 30vw;
        width: 35vw;
        height: auto;
        margin-top: calc(350px - 10vw);
    }

}


/*==================
Article Highlights
==================*/

.latest-article-container {
    display: grid;
    grid-template-columns: 3fr 2fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas: "main other-1" "main other-2";
    padding: 0 3rem;
    position: relative;
    column-gap: 2rem;
    row-gap: 2rem;
    height: 450px;
}

.article-highlight {
    grid-area: main;
}

@media screen and (max-width: 1200px) {
    .latest-article-container {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 300px);
        grid-template-areas: "main" "other-1" "other-2";
        height: auto;
    }
}


/*==================
Sections
==================*/

.section-wrapper {
    margin: 4rem 3rem;
}

.section-wrapper h1 {
    font-size: var(--fs-xxl);
    color: var(--co-title);
    margin-top: 3rem;
    margin-bottom: 2rem;
}

/*==================
Recent Articles
==================*/

.recent-article-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(3, 300px);
    column-gap: 2rem;
    row-gap: 2rem;
    grid-template-areas: "article-1 subscribe" "article-2 other" "article-3 other";
    position: relative;
}

@media screen and (max-width: 800px) {
    .recent-article-container {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 300px);
        grid-template-areas: "article-1" "subscribe" "article-2" "article-3" "other";
    }
}

.subscription-insert {
    height: 100%;
    width: 100%;
    grid-area: subscribe;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(to right, #868dfc, #c86afc);
    border-radius: 4px;
    padding: 4px;
    box-sizing: border-box;
}

.subscription-container {
    background-color: var(--co-bg-secondary);
    height: 100%;
    width: 100%;
    border-radius: 4px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.subscription-container img {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: contain;
    object-position: bottom;
}

.subscription-container h3 {
    z-index: 1;
    width: 80%;
    color: var(--co-title);
    text-align: center;
    margin-bottom: 0.5rem;
}

.subscription-container p {
    z-index: 1;
    width: 80%;
    color: var(--co-text);
    text-align: center;
    margin-bottom: 1rem;
}

.subscription-form {
    z-index: 1;
    display: flex;
    border-radius: 16px;
    position: relative;
    padding: 0 1rem;
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
}

.newsletter-email {
    border: 2px solid #cdd0f3;
    border-right: none;
    margin: 0;
    font-family: var(--ff-text);
    font-size: var(--fs-s);
    padding: 0.75rem;
    width: 100%;
    max-width: 300px;
    border-radius: 16px 0 0 16px;
    transition: 250ms;
}

.newsletter-email:focus,
.newsletter-email:not(:placeholder-shown) {
    border: 2px solid #868dfc;
    border-right: none;
    outline: none;
}

.newsletter-submit {
    border: 2px solid #cdd0f3;
    border-left: none;
    border-radius: 0 16px 16px 0;
    font-family: var(--ff-text);
    font-size: var(--fs-s);
    padding: 0.5rem;
    outline: none;
    transition: 250ms;
    background-color: #cdd0f3;
    color: #ffffff;
    cursor: pointer;
}

.newsletter-email:focus+.newsletter-submit {
    border: 2px solid #868dfc;
    border-left: none;
}

.newsletter-email:not(:placeholder-shown)+.newsletter-submit {
    background-color: #868dfc;
    border: 2px solid #868dfc;
    border-left: none;
}

.other-content-insert {
    height: 100%;
    width: 100%;
    grid-area: other;
    position: relative;
}


/*==================
Old Articles
==================*/

.old-article-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    grid-auto-rows: 300px;
    column-gap: 2rem;
    row-gap: 2rem;
}

@media screen and (max-width: 500px) {
    .old-article-container {
        grid-template-columns: 1fr;
    }
}