/*
Theme Name: JINR Child - SportsPulse F1 Hub
Theme URI: https://www.sportspulse.site
Description: SportsPulse F1 HUB production implementation child theme for JIN:R
Author: SportsPulse Engineering
Version: 1.0.0
Template: jinr
Text Domain: jinr-child
*/

:root {
  --spc-bg-soft: #f7faff;
  --spc-border: #d8e2f0;
  --spc-text: #0f172a;
  --spc-muted: #475569;
  --spc-accent: #e10600;
}

.spc-hub-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 16px 40px;
}

.spc-hub-header {
  border: 1px solid var(--spc-border);
  border-radius: 14px;
  padding: 20px;
  background: var(--spc-bg-soft);
  margin-bottom: 16px;
}

.spc-hub-header h1 {
  margin: 0 0 6px;
  color: var(--spc-text);
  font-size: 30px;
  line-height: 1.2;
}

.spc-hub-header p {
  margin: 0;
  color: var(--spc-muted);
}

.spc-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.spc-hub-block {
  border: 1px solid var(--spc-border);
  border-radius: 12px;
  padding: 16px;
  background: #fff;
}

.spc-hub-block h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.spc-hub-block p {
  margin: 0 0 12px;
  color: var(--spc-muted);
}

.spc-hub-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.spc-hub-list li + li {
  margin-top: 8px;
}

.spc-hub-list a {
  display: block;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #ffffff;
  color: var(--spc-text);
  text-decoration: none;
  padding: 10px;
}

.spc-hub-list a strong {
  display: block;
  margin-bottom: 4px;
  line-height: 1.35;
}

.spc-hub-item-meta {
  font-size: 12px;
  color: #64748b;
}

.spc-hub-list-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  text-decoration: underline;
  color: #334155;
}

.spc-article-intro {
  border: 1px solid var(--spc-border);
  border-radius: 12px;
  background: var(--spc-bg-soft);
  padding: 16px;
  margin-bottom: 20px;
}

.spc-article-shell {
  border-radius: 12px;
}

.spc-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
  font-weight: 700;
}

.spc-difficulty-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--spc-border);
  background: #fff;
}

.spc-article-intro ul {
  margin: 8px 0 0 18px;
}

.spc-article-cta {
  border: 1px solid var(--spc-border);
  border-radius: 12px;
  background: #f8fbff;
  padding: 16px;
  margin-top: 24px;
}

.spc-article-cta-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.spc-article-cta-links a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  border: 1px solid #cdd9ea;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 700;
  color: #0f172a;
  background: #fff;
  text-align: center;
  padding: 10px;
}

.spc-seed-figure {
  margin: 18px 0;
}

.spc-seed-figure img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid #d6deeb;
}

.spc-inline-revenue {
  border: 1px solid #e6d7b6;
  border-radius: 12px;
  background: #fff8e8;
  padding: 14px;
  margin: 18px 0;
}

.spc-inline-revenue a {
  display: block;
  margin-top: 8px;
  word-break: break-word;
}

@media (max-width: 820px) {
  .spc-hub-grid,
  .spc-article-cta-links {
    grid-template-columns: 1fr;
  }
}
