/* CHL:PUBLISHING T9 R2 — the Poetry tab's card chrome.
 *
 * Deliberately a SEPARATE file rather than an addition to publishing.css:
 * that stylesheet is served with a `?v=p1-4` cache bust repeated across nine
 * templates, so editing it means bumping all nine in the same window (the
 * M-12 lesson). A new file needs no bust and cannot invalidate the frozen
 * reader's styling.
 *
 * It only styles things that did not exist before: the poem badge and the
 * poem thumbnail fallback plate. It never restyles an existing format.
 */
.pub-type-badge.badge-poem {
    background-color: #4c1d95;
    letter-spacing: .04em;
}
.pub-thumb-fallback--poem {
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    color: #5b21b6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    font-style: italic;
}
.pub-thumb-fallback--poem::after { content: "\201C"; line-height: 1; }

/* CHL PUBLISHING P0 | 2026-11-21 | narrow mobile front-page overflow guard.
 * The shared Publishing hero/Most Read grid must be allowed to shrink below
 * its legacy min-content width. This additive rule is scoped only to the
 * Publishing Hub front row; magazine/newspaper/poem reader designs unchanged.
 * Live baseline: 390px viewport scrolled to 408px before this guard.
 */
@media (max-width: 1024px) {
    .pub-hub .pub-frontrow {
        grid-template-columns: minmax(0, 1fr);
    }
    .pub-hub .pub-frontrow-main,
    .pub-hub .pub-frontrow-rail,
    .pub-hub .pub-frontrow .pub-lead {
        min-width: 0;
        max-width: 100%;
    }
}
