* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #e9e9e9;
    color: #2a2926;
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.55;
}

a {
    color: #8d2730;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.site {
    width: min(950px, calc(100% - 28px));
    margin: 22px auto;
    background: #fff;
    border: 1px solid #c9c2ba;
    box-shadow: 0 3px 16px rgba(0, 0, 0, .12);
}

.masthead-top {
    padding: 20px 24px 16px;
    border-top: 6px solid #222;
}

.site-title {
    display: block;
    color: #1e1b19;
    font-size: 30px;
    font-weight: normal;
    letter-spacing: .02em;
}

.site-tagline {
    display: block;
    margin-top: 4px;
    color: #666;
    font-size: 14px;
    font-style: italic;
}

.hero-image {
    display: block;
    width: 100%;
    height: auto;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-top: 1px solid #282828;
    border-bottom: 1px solid #282828;
    background: #161616;
}

.nav a {
    color: #fff;
    padding: 12px 14px;
    font-size: 13px;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.nav a:hover,
.nav a[aria-current="page"] {
    background: #8d2730;
    text-decoration: none;
}

.content {
    padding: 24px;
}

.intro {
    max-width: 760px;
    margin-bottom: 22px;
}

h1,
h2,
h3 {
    color: #171717;
    line-height: 1.2;
    font-weight: normal;
}

h1 {
    margin: 0 0 10px;
    font-size: 31px;
}

.post-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 1px solid #ddd;
}

.post-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 18px;
    padding: 22px 0;
    border-bottom: 1px solid #ddd;
}

.post-card img {
    width: 220px;
    height: 132px;
    object-fit: cover;
    border: 1px solid #ccc;
}

.post-card h2 {
    margin: 0 0 8px;
    font-size: 21px;
}

.post-card p {
    margin: 0;
    color: #555;
    font-size: 15px;
    line-height: 1.58;
}

.article {
    max-width: 760px;
}

.article .meta {
    margin-top: -4px;
    color: #777;
    font-size: 13px;
}

.article-thumb {
    float: right;
    width: 310px;
    max-width: 45%;
    height: auto;
    margin: 4px 0 16px 20px;
    border: 1px solid #ccc;
}

.article img:not(.article-thumb) {
    max-width: 100%;
    height: auto;
}

.article p {
    margin: 0 0 16px;
}

.article ul,
.article ol {
    margin-top: 0;
}

.footer {
    clear: both;
    padding: 18px 24px 22px;
    color: #777;
    border-top: 1px solid #ddd;
    font-size: 13px;
}

.footer p {
    margin: 0;
}

@media (max-width: 760px) {
    .site {
        width: 100%;
        margin: 0;
        border-left: 0;
        border-right: 0;
    }

    .content,
    .masthead-top,
    .footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .post-card {
        grid-template-columns: 1fr;
    }

    .post-card img {
        width: 100%;
        height: auto;
        aspect-ratio: 2.1 / 1;
    }

    .article-thumb {
        float: none;
        width: 100%;
        max-width: none;
        margin: 0 0 16px;
    }
}
