/*
 * Blog module — placeholder stylesheet (Phase 08). Served through the
 * `module.asset` route, never published to public/. Every selector is
 * namespaced `.cms-module-blog-*` — no generic `.container` / `.title` /
 * `.button`, no leaking into Core, a theme or another module.
 */

.cms-module-blog-root {
    display: block;
    padding-block: 3rem;
}

.cms-module-blog-inner {
    margin-inline: auto;
    max-width: 72rem;
    padding-inline: 1.5rem;
}

.cms-module-blog-title {
    margin: 0 0 1rem;
    font-size: 1.75rem;
}

/* The grid itself (display/gap/columns) is owned by the shared
   resources/css/frontend.css — a module.css copy here would fight it via
   cascade order (a real bug found via live-Chrome screenshot QA). */
.cms-module-blog-grid {
    margin-block: 1.5rem;
}

.cms-module-blog-item {
    display: block;
    padding: var(--cms-fe-space-md, 1rem);
    border: 1px solid var(--cms-fe-color-border, #e5e7eb);
    border-radius: var(--cms-fe-radius, 0.5rem);
    background: var(--cms-fe-color-bg, #fff);
}

.cms-module-blog-item-link {
    display: block;
    color: var(--cms-fe-color-heading, #111827);
    font-weight: 700;
    text-decoration: none;
}

.cms-module-blog-item-link:hover {
    color: var(--cms-fe-color-primary, #1d4ed8);
}

.cms-module-blog-item-date {
    display: block;
    margin-top: 0.35rem;
    color: var(--cms-fe-color-muted, #6b7280);
    font-size: 0.85rem;
}

.cms-module-blog-empty {
    opacity: 0.6;
    font-style: italic;
}
