/* The Public Defender: one quiet card that points readers to the magazine.
   Used in the home page's Newsroom section (#news, above the stories js/home.js
   writes into #homeFront) and at the top of newsroom.html. It is styled like the site's own news items: the cover as
   printed, a category line, a headline, a sentence and a read link. No effects.
   Tokens only (css/styles.css :root). The cover image is made by
   scripts/magazine/make_promo.py. */

.mzp {
    display: grid;
    grid-template-columns: 168px minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
    margin: 0 0 2rem;
    padding: 1.75rem 2rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-control-lg);
    background: var(--bg-light);
    color: var(--text-dark);
    text-decoration: none;
}
/* On a tinted section (the home page's Newsroom), the card takes the white surface. */
.home-rec--tint .mzp { background: var(--bg-white); }
.mzp:focus-visible { outline: none; box-shadow: var(--focus-ring); }

.mzp-cover {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 2px;
    box-shadow: var(--shadow-md);
}

.mzp-kicker {
    display: block;
    font-size: var(--t-meta);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-text);
}
.mzp-title {
    display: block;
    margin-top: 0.5rem;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 500;
    font-size: var(--h-sub);
    line-height: 1.25;
    color: var(--text-dark);
}
.mzp-desc {
    display: block;
    margin-top: 0.6rem;
    max-width: 38rem;
    font-size: var(--t-sm);
    line-height: 1.65;
    color: var(--text-medium);
}
.mzp-go {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1rem;
    font-size: var(--t-fine);
    font-weight: 600;
    color: var(--primary-text);
}
.mzp-go svg { width: 15px; height: 15px; }
.mzp:hover .mzp-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

@media (max-width: 600px) {
    .mzp {
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 1.1rem;
        align-items: start;
        padding: 1.1rem 1.2rem;
    }
    .mzp-desc { display: none; }
    .mzp-go { margin-top: 0.6rem; }
}
