/* News list page (Components/Pages/News/NewsList.razor).
   Mobile: news items, then the newsletter signup below them.
   Tablet/desktop (768px+): news items in a left column, signup in a right column, with a vertical
   divider (same 2px gold line as the home page) centred in the gap between them. */

/* Same spacing as the campaigns page: room below the nav bar and above the footer */
.news-page.section-top { padding-top: 2.5rem; padding-bottom: 3.5rem; }

@media (min-width: 768px) {
    .news-page.section-top { padding-top: 3.5rem; padding-bottom: 4.5rem; }

    .news-page > .mud-grid > .mud-grid-item.news-list-column {
        flex-basis: 50%;
        max-width: 50%;
        padding-right: 2.5rem;
    }
    .news-page > .mud-grid > .mud-grid-item.news-signup-column {
        flex-basis: 50%;
        max-width: 50%;
        padding-left: 2.5rem;   /* same as the list column's right padding, so the line is centred */
        border-left: 2px solid var(--color-secondary);
    }
    /* Signup card fills its column and lines up with the top of the news list */
    .news-page .news-newsletter-signup {
        max-width: none;
        margin-top: 0;
    }
}
