/* ==============================================
   Card Component (shared)
   Used by the latest-news strip on dark sections.
   ============================================== */
.ch-card {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

/* When the section behind the card is already dark, lift the card slightly
   so it reads as its own object. */
.has-background .ch-card,
.ch-card--on-dark {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

.ch-card-header {
  background: var(--primary);
  border-bottom: 2px solid var(--primary-dark);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ch-card-header-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
}

.ch-card-header-link {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.15s ease;
  text-decoration: none;
}

.ch-card-header-link:hover {
  color: #fff;
}

.ch-card-body {
  padding: 4px 22px;
}

.ch-card--headless .ch-card-body {
  padding: 4px 22px;
}

/* ==============================================
   News Items (latest-news compact list)
   ============================================== */
.ch-news-item {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ch-news-item:last-child {
  border-bottom: none;
}

.ch-news-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  line-height: 1;
  margin: 0;
}

.ch-news-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.1;
  margin: 0;
}

.ch-news-title a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.18s ease;
}

.ch-news-title a:hover {
  color: var(--primary);
}

.ch-news-excerpt {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

.ch-news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.18s ease, gap 0.18s ease;
}

.ch-news-read-more:hover {
  color: #fff;
  gap: 10px;
}
