/*
Theme Name: The Newspaper Child
Theme URI: http://cmsmasters.net/the-newspaper-child/
Author: cmsmasters
Author URI: http://cmsmasters.net/
Description: The Newspaper Child Theme
Template: the-newspaper
Version: 1.0.0
License:
License URI:
Text Domain: the-newspaper-child
Tags: one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
*/

/* Homepage menu */
body.home .homepage-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

body.home .homepage-category-grid > li {
    margin: 0;
    padding: 0;
    list-style: none;
}

body.home .homepage-category-grid > li > a {
    display: block;
    padding: 20px;
    text-align: center;
    font-family: 'Merriweather', Georgia, serif;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    color: #222;
    background: #f5f5f5;
    transition: background 0.2s ease;
}

body.home .homepage-category-grid > li > a:hover {
    background: #e5e5e5;
}

/* Mobile: two columns */
@media (max-width: 767px) {
    body.home .homepage-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    body.home .homepage-category-grid > li > a {
        padding: 16px 8px;
        font-size: 16px;
    }
}