/* ============================================================
   NEWS & NOTES PAGE STYLES
   ============================================================ */

.news-feed {
  background: var(--navy);
  padding-top: var(--space-md);
}

/* ── Individual news item ──────────────────────────────────── */
.news-item {
  padding: 1.2rem 0;
}

.news-item-header {
  margin-bottom: var(--space-sm);
}

.news-date {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--gold-mid);
}

.news-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--white);
  line-height: 1.25;
  margin-bottom: var(--space-md);
  max-width: 60ch;
}

.news-image {
  width: 100%;
  max-width: 640px;
  border-radius: 6px;
  margin-bottom: var(--space-md);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.news-body {
  font-size: 1.1rem;
  color: var(--white-muted);
  line-height: 1.9;
  max-width: 66ch;
  margin-bottom: var(--space-md);
}

.news-link {
  max-width: none;
  font-size: 1rem;
}

.news-link a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gold-mid);
  letter-spacing: 0.03em;
}

.news-link a:hover { color: var(--gold-light); }

/* ── Divider between items ─────────────────────────────────── */
.news-divider {
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,0.55);
  margin-top: 1.2rem;
}

/* ── Empty state ───────────────────────────────────────────── */
.news-empty-text {
  font-size: 1.1rem;
  color: var(--white-muted);
  max-width: 52ch;
  line-height: 1.8;
}

/* ── Scrolling news container ──────────────────────────────── */
.news-scroll-container {
  max-height: 800px;
  overflow-y: auto;
  padding-right: var(--space-md);
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dark) rgba(255,255,255,0.08);
}

/* Webkit scrollbar styling */
.news-scroll-container::-webkit-scrollbar {
  width: 6px;
}

.news-scroll-container::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
}

.news-scroll-container::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 3px;
}

.news-scroll-container::-webkit-scrollbar-thumb:hover {
  background: var(--gold-mid);
}

/* Fade effect at bottom to indicate more content */
.news-scroll-wrap {
  position: relative;
}

.news-scroll-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: var(--space-md);
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--navy));
  pointer-events: none;
}
