.site-main {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    width: 100%;
}

/* Storefront reserves a narrow primary column for its default sidebar layout. Archives are
   intentionally full-width so a category with one guide still gets a useful reading card. */
#primary.content-area,
.content-area {
    float: none;
    margin: 0;
    width: 100%;
}

/* The archive replaces the default reading/sidebar layout with a guide catalogue. */
body.archive #secondary,
body.archive .entry-taxonomy {
    display: none;
}

.site-main > .page-header {
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 1.25rem;
}

.site-main > .page-header,
.site-main > .navigation,
.site-main > .no-results {
    grid-column: 1 / -1;
}

.site-main > .page-header {
    margin-bottom: .25rem;
}

.site-main > article.hentry {
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 4px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    margin: 0;
    overflow: hidden;
    padding: 0;
}

.meow-archive-card__image {
    display: block;
    margin: 0;
}

.meow-archive-card__header {
    padding: 1.25rem 1.25rem .5rem;
}

.meow-archive-card__title {
    font-size: 1.55rem;
    line-height: 1.2;
    margin: 0 0 .55rem;
}

.meow-archive-card__title a {
    color: #171717;
}

.meow-archive-card__meta {
    color: #6a6a6a;
    font-size: .8rem;
    margin: 0;
}

.meow-archive-card__image img {
    display: block;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.meow-archive-card__topic {
    color: #6a6a6a;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    margin: 0 0 .6rem;
    text-transform: uppercase;
}

.meow-archive-card__body {
    padding: 1.25rem;
}

.meow-archive-card__excerpt {
    color: #444;
    font-size: .95rem;
    line-height: 1.55;
    margin: 0 0 1rem;
}

.meow-archive-card__link {
    font-weight: 700;
}

@media (max-width: 900px) {
    .site-main {
        grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
    }
}

@media (max-width: 600px) {
    .site-main {
        display: block;
    }

    .site-main > article.hentry {
        margin-bottom: 1.25rem;
    }
}
