/* News page — TechCrunch-style category layout */

.news-page-header {
  padding: var(--sp-8) 0 var(--sp-6);
  border-bottom: 3px solid var(--accent);
  margin-bottom: var(--sp-8);
}
.news-page-header h1 {
  font-family: var(--font-serif);
  font-size: var(--text-4xl);
  font-weight: 900;
  margin: 0 0 var(--sp-2);
  letter-spacing: -0.02em;
}
.news-page-header p {
  font-size: var(--text-lg);
  color: var(--text-muted);
  margin: 0;
}

/* ── TechCrunch-Style Section ──────────────────────────────── */
.tc-section {
  margin-bottom: var(--sp-12);
}

.tc-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-3);
  border-bottom: 3px solid var(--accent);   /* Purple underline — like TechCrunch green */
}

.tc-section-title {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: 900;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text);
}

.tc-see-more {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
}
.tc-see-more:hover { color: var(--cyan); text-decoration: underline; }

/* ── 5-Column Article Row ───────────────────────────────────── */
.tc-article-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-5);
  align-items: start;
}

.tc-article-card {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tc-card-img {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: var(--sp-3);
  background: var(--bg-surface2);
}

.tc-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s;
}

.tc-card-img:hover img { transform: scale(1.03); }

.tc-card-body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.tc-card-cat {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 2px;
}

.tc-card-title {
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}

.tc-card-title a {
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tc-card-title a:hover { color: var(--accent); }

.tc-card-date {
  font-size: var(--text-xs);
  color: var(--text-faint);
  margin-top: var(--sp-1);
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .tc-article-row { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .tc-article-row { grid-template-columns: repeat(2, 1fr); }
  .news-page-header h1 { font-size: var(--text-3xl); }
}

@media (max-width: 400px) {
  .tc-article-row { grid-template-columns: 1fr; }
}