main.categories-page ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    list-style: none;
    padding: 0;
}

main li {
    /* border: 1px solid #ddd; */
    /* border-radius: 4px; */
    overflow: hidden;
}

main a {
    text-decoration: none;
    color: #000;
}

main figure {
    margin: 0;
}

main img {
    width: 100%;
    height: auto;
    display: block;
}

main figcaption {
    padding: 1rem;
    text-align: start;
    /* background: #f4f4f4; */
}
