/* Doubled class so these beat the equal-specificity rules nested in blog.css, which loads later. */
/* The cover spans only the title/description row so the search row below it does not
   drag the cover's centring downward. */
.category-blog.category-blog--all-in-the-head-nervous-system .hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    column-gap: 4rem;
}

.category-blog.category-blog--all-in-the-head-nervous-system .hero__col {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
}

.category-blog.category-blog--all-in-the-head-nervous-system .hero__title {
    margin-bottom: 0;
}

.category-blog.category-blog--all-in-the-head-nervous-system .hero__title h1 {
    font-size: 2.25rem;
}

.category-blog.category-blog--all-in-the-head-nervous-system .hero__img-wrapper.hero__img-wrapper--natural {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    max-width: 300px;
}

.category-blog.category-blog--all-in-the-head-nervous-system .hero__text {
    margin-top: 1.25rem;
}

.category-blog.category-blog--all-in-the-head-nervous-system .hero__text p {
    margin-bottom: 1rem;
}

.category-blog.category-blog--all-in-the-head-nervous-system .hero__text p:last-child {
    margin-bottom: 0;
}

.category-blog.category-blog--all-in-the-head-nervous-system .hero__search-row {
    grid-column: 1;
    grid-row: 2;
    margin-top: 1.75rem;
}

@media (max-width: 900px) {
    .category-blog.category-blog--all-in-the-head-nervous-system .hero__inner {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 2rem;
    }

    .category-blog.category-blog--all-in-the-head-nervous-system .hero__img-wrapper.hero__img-wrapper--natural {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        max-width: min(220px, 60%);
    }

    .category-blog.category-blog--all-in-the-head-nervous-system .hero__col {
        grid-row: 2;
    }

    .category-blog.category-blog--all-in-the-head-nervous-system .hero__search-row {
        grid-row: 3;
        margin-top: 0;
    }
}
