/* tt360/latest-issue and tt360/newsletter-issue-grid, ported from the
   prototype's own layout/newsletter-archive.css (the .nl-* classes) and
   insights.html's own .newsletter-latest (the "plain" variant of
   tt360/latest-issue). */

/* The sitewide 55px section-heading-to-content gap (module-cards.css, team.css, video-
   player.css, etc.) — missing here because these two blocks sit directly on the page, not
   inside a card-grid/video-player/team wrapper that already carried it. */
.nl-latest-issue,
.nl-issue-list-wrap {
    margin-top: 55px;
}

.nl-latest-issue {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px;
    background-color: rgba(var(--white), 1);
    border: 1px solid rgba(var(--terra-green), 0.15);
    border-radius: 4px;
}

.nl-latest-issue .issue-meta {
    margin: 0;
    font-size: 13px;
    color: rgba(var(--warm-gray-dark), 1);
}

.nl-latest-issue .title {
    margin: 8px 0 0;
    font-size: 32px;
    color: rgba(var(--terra-green), 1);
}

.nl-latest-issue .summary {
    margin: 8px 0 0;
    font-size: 16px;
    line-height: 1.6;
}

.nl-latest-issue .cta-button {
    flex: none;
}

/* The "plain" variant (Insights page): its own eyebrow, no border/card
   treatment, a text link instead of a button. */
.newsletter-latest .eyebrow {
    margin: 0;
}

.newsletter-latest .issue-meta {
    margin: 16px 0 0;
    font-size: 13px;
    color: rgba(var(--warm-gray-dark), 1);
}

.newsletter-latest .title {
    margin: 8px 0 0;
    font-size: 32px;
    color: rgba(var(--terra-green), 1);
}

.newsletter-latest .summary {
    margin: 8px 0 0;
    font-size: 16px;
    line-height: 1.6;
}

.newsletter-latest .read-link {
    display: inline-block;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(var(--terra-green), 1);
    text-decoration: none;
}

.newsletter-latest .read-link:hover,
.newsletter-latest .read-link:focus {
    text-decoration: underline;
}

.nl-issue-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nl-issue-list-wrap .filter-pills {
    margin-bottom: 24px;
}

.nl-issue-row {
    display: grid;
    grid-template-columns: 220px 1fr auto;
    align-items: start;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(var(--terra-green), 0.15);
}

.nl-issue-row:first-child {
    padding-top: 0;
}

.nl-issue-row:last-child {
    border-bottom: 0;
}

.nl-issue-row .issue-meta {
    margin: 0;
    font-size: 13px;
    color: rgba(var(--warm-gray-dark), 1);
}

.nl-issue-row .title {
    margin: 0;
    font-size: 20px;
    color: rgba(var(--terra-green), 1);
}

.nl-issue-row .summary {
    margin: 6px 0 0;
    font-size: 14px;
    line-height: 1.5;
}

.nl-issue-row .read-link {
    font-size: 14px;
    font-weight: 500;
    color: rgba(var(--terra-green), 1);
    text-decoration: none;
}

.nl-issue-row .read-link:hover,
.nl-issue-row .read-link:focus {
    text-decoration: underline;
}

.nl-load-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
}

.nl-count {
    margin: 0;
    font-size: 14px;
    color: rgba(var(--charcoal), 1);
}

/* md */
@media (max-width: 767.98px) {
    .nl-latest-issue {
        flex-direction: column;
        align-items: flex-start;
    }

    .nl-issue-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .nl-issue-row .read-link {
        margin-top: 8px;
    }
}

/* sm */
@media (max-width: 575.98px) {
    .nl-latest-issue {
        padding: 16px;
    }

    .nl-latest-issue .cta-button,
    .nl-load-more .cta-button {
        width: 100%;
    }
}
