/* ============================================
   LEAN EDGE SPORTS — News / Trades / Articles
   news.css

   Shared by /news, /news/trades, and every individual
   /news/<slug> article page. Reuses the site's existing --red/
   --darkest-navy tokens from leanedgesports_styles.css.
   ============================================ */

/* --- PAGE HERO (same convention as player-stats.css etc.) --- */
.page-hero {
  padding: 120px 60px 40px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.page-hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 52px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -1px;
  margin-bottom: 12px;
  line-height: 1;
}

.page-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 550px;
  margin: 0 auto;
  line-height: 1.6;
}

/* --- LISTING GRID (/news, /news/trades, related articles) --- */
.article-list-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 40px 60px;
}

.article-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.article-list-empty {
  color: var(--text-muted);
  text-align: center;
  padding: 40px 0;
  grid-column: 1 / -1;
}

/* --- ARTICLE CARD --- */
.article-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  background: rgba(17, 29, 66, .35);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.15s;
}

.article-card:hover {
  border-color: rgba(196, 18, 48, 0.4);
  transform: translateY(-2px);
}

.article-card-cat {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Category colour coding -- distinct enough to scan at a glance,
   "trade" gets the site's primary red since it's the category most
   visitors will care about most. */
.article-cat-trade    { background: rgba(196,18,48,0.18); color: #ff6b6b; }
.article-cat-signing  { background: rgba(34,197,94,0.15); color: #4ade80; }
.article-cat-injury   { background: rgba(249,115,22,0.15); color: #fb923c; }
.article-cat-draft    { background: rgba(96,165,250,0.15); color: #60a5fa; }
.article-cat-rumour   { background: rgba(168,85,247,0.15); color: #c084fc; }
.article-cat-news     { background: rgba(255,255,255,0.08); color: var(--white); }

.article-card-headline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.article-card-summary {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
}

.article-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.article-card-source { font-weight: 600; }

/* --- INDIVIDUAL ARTICLE PAGE --- */
.article-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 40px 20px;
}

.article-headline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 40px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin: 14px 0 12px;
}

.article-byline {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.article-related-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  margin-bottom: 28px;
  font-size: 13px;
}

.article-related-label {
  color: var(--text-muted);
  font-weight: 600;
}

.article-tag-link {
  color: #ff6b6b;
  text-decoration: none;
  font-weight: 600;
}
.article-tag-link:hover { text-decoration: underline; }

.article-body p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--white);
  margin-bottom: 18px;
}

.article-source {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 13px;
  color: var(--text-muted);
}

.article-source a {
  color: #ff6b6b;
  text-decoration: none;
  font-weight: 600;
}
.article-source a:hover { text-decoration: underline; }

.article-related-section {
  max-width: 1100px;
  margin: 20px auto 60px;
  padding: 0 40px;
}

.article-related-section .section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .page-hero { padding: 100px 24px 30px; }
  .page-hero h1 { font-size: 38px; }
  .article-list-wrap { padding: 24px 20px 40px; }
  .article-page { padding: 24px 20px 10px; }
  .article-headline { font-size: 30px; }
  .article-related-section { padding: 0 20px; }
}
