.container {
    width: 100%;
    background: #fff;
}

main {
    background: hsl(0, 0%, 100%);
    color: black;
    padding: 7rem 4rem 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.article-header h1 {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.3;
}

.article-image figure {
    margin: 0;
    width: 100%;
    height: 500px;
    max-height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    border-radius: .5rem;
}

.article-image figure img {
    aspect-ratio: unset;
}

.article-image figcaption {
    line-height: 1.6;
    font-style: italic;
    margin-top: .4rem;
    font-size: .9rem;
}

.article-header .article-meta {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: Roboto, sans-serif;
    user-select: none;
}

.article-header .article-meta .author {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    column-gap: .6rem;
}

.article-header .article-meta .time-meta {
    font-size: 1rem;
    margin-right: 1rem;
    font-weight: 600;
    color: #888;
}

.article-header .article-meta .time-meta i {
    margin-right: .2rem;
}

.article-header .article-meta .time-meta time > i {
    position: relative;
    top: -1px;
}

.article-header .article-meta .time-meta > span::before {
    content: ' • ';
    font-size: 1rem;
    margin: 0 .3rem;
    position: relative;
    top: 1px;
}

.article-header .article-meta .author img {
    max-width: 45px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    border: 1px solid #aaa;
}

/* Blog post content */

.post-content {
    font-size: 1.1rem;
    text-align: left;
}

.post-content .preword {
    margin: 2rem 0 3rem;
    font-weight: 400!important;
}

.post-content img {
    aspect-ratio: unset;
    border-radius: .5rem;
    box-shadow: 1px 1px 20px #aaa;
    margin: 1rem 0;
}

.post-content p {
    line-height: 1.8;
    margin: 1rem 0 1.8rem;
}

.post-content h2 {
    font-size: 2rem;
    margin: 2rem 0 0rem;
    font-weight: 800;
    text-align: left;
    line-height: 1.4;
}

.post-content h3 {
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 600;
    margin: 1.5rem 0 0;
    display: inline-block;
    padding-bottom: .2rem;
    border-bottom: 3px solid #0af03c;
    text-align: left;
    line-height: 1.4;
}

.post-content blockquote {
    background: #eee;
    margin: 0;
    padding: 2rem 3rem;
    font-style: italic;
    border-left: 4px solid #009838;
}

.post-content .double-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2rem;
    margin-top: 3rem;
}

.post-content .double-image img {
    box-shadow: none;
    aspect-ratio: unset;
}

.post-content ul {
    line-height: 1.8;
    font-style: italic;
    margin: 1.5rem 0 2rem;
}

.post-content footer {
    background: inherit;
    padding: 0;
    margin: 0;
}

.post-content strong,
.post-content a {
    color: #009838;
}

.post-content em {
    font-weight: 600;
}

.post-content .preword em {
    font-weight: normal;
}

@media screen and (max-width: 880px) {
    .article-header h1 {
        font-size: 2.5rem;
    }

    main {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media screen and (max-width: 550px) {
    .article-header h1 {
        font-size: 2rem;
    }

    .article-header .article-meta .author {
        font-size: 1rem;
    }

    .article-header .article-meta .author img {
        width: 35px;
    }

    .article-header .article-meta .time-meta {
        font-size: .8rem;
    }

    main {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .article-image figcaption {
        font-size: 0.8rem;
    }

    .post-content p,
    .post-content ul {
        font-size: 1rem;
    }

    .post-content h2 {
        font-size: 1.7rem;
    }

    .post-content .double-image {
        column-gap: 0;
        margin-top: 2rem;
    }

    nav.scrolled {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .post-content blockquote {
        padding: 1rem 1.5rem;
    }

    .post-content .double-image {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .post-content .double-image img {
        max-width: 300px;
    }
}

@media screen and (max-width: 400px) {
    .article-header h1 {
        font-size: 1.7rem;
    }

    .article-header .article-meta {
        flex-direction: column;
        row-gap: .5rem;
    }

    .article-header .article-meta .time-meta {
        margin-right: 0;
    }

    .post-content h2 {
        font-size: 1.5rem;
    }

    .post-content h3 {
        font-size: 1.3rem;
    }
}