/* news.css — News page only (loads after index.css). Mobile filters first, bigger tap targets, "Show more". */

/* ---------- "Show more stories" ---------- */
.news-page .alumni-blog.is-limited .alumni-post.is-late { display: none; }
.news-page .news-more { display: flex; justify-content: center; margin: 1.6rem 0 0.4rem; }
.news-page .news-more[hidden] { display: none; }
.news-page .news-more button {
  min-height: 48px;
  padding: 0.9rem 1.9rem;
  border: 0;
  border-radius: 999px;
  background: #F5C200;
  color: #0c1e42;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.news-page .news-more button:hover { background: #ffd84a; transform: translateY(-2px); }
.news-page .news-more button:focus-visible { outline: 3px solid #C9902A; outline-offset: 3px; }

/* Follow card that sits at the bottom on small screens (the sidebar copy is used on desktop) */
.news-page .news-follow-bottom { display: none; }

/* ---------- Small screens: compact filters on top, bigger buttons ---------- */
@media (max-width: 980px) {
  /* let the single column shrink to the screen instead of stretching to the chip row */
  .news-page .alumni-blog:not(.is-single) { grid-template-columns: minmax(0, 1fr); }
  .news-page .alumni-blog-sidebar, .news-page .alumni-widget, .news-page .alumni-blog-main { min-width: 0; }
  .news-page .alumni-blog:not(.is-single) .alumni-blog-sidebar { order: -1; gap: 0.6rem; }
  .news-page .alumni-blog:not(.is-single) .alumni-blog-sidebar .alumni-widget--cta { display: none; }
  .news-page .alumni-blog:not(.is-single) .news-follow-bottom { display: block; }

  .news-page .alumni-blog:not(.is-single) .alumni-widget:not(.alumni-widget--cta) {
    display: flex; align-items: center; gap: 0.6rem;
    padding: 0.35rem 0.4rem 0.35rem 1rem;
    border-radius: 16px;
  }
  .news-page .alumni-blog:not(.is-single) .alumni-widget:not(.alumni-widget--cta) .alumni-widget-title {
    flex: 0 0 auto; margin: 0; padding: 0; border: 0; background: none; font-size: 0.72rem;
  }
  .news-page .alumni-blog:not(.is-single) .alumni-widget:not(.alumni-widget--cta) .alumni-widget-title::after { display: none; }
  .news-page .alumni-blog:not(.is-single) .alumni-widget:not(.alumni-widget--cta) .alumni-widget-list {
    display: flex; flex: 1 1 auto; gap: 0.4rem; min-width: 0;
    padding: 0.2rem 0.6rem 0.2rem 0; overflow-x: auto; scrollbar-width: none;
  }
  .news-page .alumni-blog:not(.is-single) .alumni-widget-list::-webkit-scrollbar { display: none; }
  .news-page .alumni-blog:not(.is-single) .alumni-widget-list li { flex: 0 0 auto; }
  .news-page .alumni-blog:not(.is-single) .alumni-widget:not(.alumni-widget--cta) .alumni-archive-link {
    min-height: 44px; padding: 0 0.95rem; gap: 0.5rem; white-space: nowrap;
    border: 1px solid var(--card-border, rgba(26,42,74,.12)); border-radius: 999px;
  }
}

/* Touch-friendly "Continue reading" on small or touch screens */
@media (max-width: 980px), (pointer: coarse) {
  .news-page .alumni-blog:not(.is-single) .alumni-read-more {
    align-items: center; min-height: 44px; padding: 0 1.25rem;
    border: 2px solid #F5C200; border-radius: 999px;
    font-size: 0.82rem; text-decoration: none;
    transition: background .15s ease;
  }
  .news-page .alumni-blog:not(.is-single) .alumni-read-more:hover,
  .news-page .alumni-blog:not(.is-single) .alumni-read-more:focus-visible {
    background: rgba(245, 194, 0, 0.18); text-decoration: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-page .news-more button, .news-page .alumni-read-more { transition: none; }
  .news-page .news-more button:hover { transform: none; }
}
