/* PureHomeX site chrome — homepage + category hubs */

.home-h2 {
  font-size: 1.35rem;
  color: #c2410c !important;
  margin: 0 0 16px;
  font-weight: 800;
}
.home-lead {
  color: var(--muted);
  max-width: 52rem;
  margin: -6px 0 18px;
  line-height: 1.6;
  font-size: 0.95rem;
}

.hero-home {
  padding: 56px 24px 40px;
  max-width: var(--max-w);
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}
.hero-home h1 span {
  color: #c2410c;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
}
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.84rem;
  color: var(--muted);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.trust-icon {
  color: #c2410c;
  font-weight: 800;
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 8px;
}
.method-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 14px;
  box-shadow: var(--shadow);
}
.method-card h3 {
  font-size: 0.98rem;
  margin: 0 0 8px;
  color: #292524 !important;
}
.method-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}
.page-prose .check-list {
  margin: 10px 0 0;
  padding-left: 1.15rem;
  line-height: 1.65;
}
.page-prose .check-list li { margin-bottom: 8px; }
.prose-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 22px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
  line-height: 1.7;
}
.prose-card h2 {
  font-size: 1.15rem;
  margin: 0 0 10px;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin: 8px 0 20px;
}
.stat {
  background: linear-gradient(160deg, #fff7ed, #fff);
  border: 1px solid #fdba74;
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}
.stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: #c2410c;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 4px;
}

/* Category cards on home */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}
.cat-card {
  display: flex;
  flex-direction: column;
  padding: 20px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  text-decoration: none !important;
  box-shadow: var(--shadow);
  transition: 0.18s ease;
  min-height: 160px;
}
.cat-card:hover {
  border-color: #5eead4;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.cat-card-all {
  background: linear-gradient(160deg, #fff7ed, #fff);
  border-color: #fdba74;
}
.cat-icon { font-size: 1.6rem; margin-bottom: 10px; }
.cat-title {
  color: #c2410c !important;
  font-weight: 800;
  font-size: 1.08rem;
  margin-bottom: 8px;
}
.cat-desc {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
  flex: 1;
}
.cat-count {
  margin-top: 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #c2410c;
}

/* Featured grid */
.art-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.art-card {
  display: block;
  padding: 18px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none !important;
  box-shadow: var(--shadow);
  transition: 0.18s ease;
}
.art-card:hover {
  border-color: #fdba74;
  box-shadow: var(--shadow-md);
}
.art-cat {
  font-size: 0.7rem;
  color: #c2410c;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 800;
}
.art-title {
  color: #431407 !important;
  font-size: 1.08rem;
  font-weight: 800;
  margin: 6px 0 6px;
  line-height: 1.35;
}
.art-meta {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

/* Category hero */
.cat-hero {
  padding: 12px 24px 8px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.cat-hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  color: #431407 !important;
  margin: 0 0 12px;
  font-weight: 800;
}
.cat-intro {
  color: #57534e;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 0 14px;
}
.cat-hero .cat-count {
  display: inline-block;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #166534;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-top: 4px;
}

/* Category article grid (SpruceRank-like list) */
.cat-article-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.cat-card-article {
  display: block;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none !important;
  box-shadow: var(--shadow);
  transition: 0.18s ease;
}
.cat-card-article:hover {
  border-color: #ea580c;
  transform: translateX(2px);
  box-shadow: var(--shadow-md);
}
.cat-card-title {
  color: #431407;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 6px;
  line-height: 1.3;
}
.cat-card-blurb {
  color: #5c6b5e;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 8px;
}
.cat-card-meta {
  font-size: 0.78rem;
  color: #6b7c6e;
  font-weight: 600;
}
.empty-cat {
  color: var(--muted);
  padding: 24px;
  text-align: center;
}

@media (min-width: 720px) {
  .art-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cat-article-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Static pages: about.html / contact.html / disclaimer.html */
.page-hero {
  padding: 16px 24px 8px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  color: #431407 !important;
  margin: 0 0 8px;
  line-height: 1.15;
}
.page-hero h1 span {
  background: linear-gradient(120deg, #c2410c, #ea580c, #b45309);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-prose {
  max-width: var(--max-w);
}
.prose-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: var(--shadow);
  margin-bottom: 14px;
}
.prose-card h2 {
  font-size: 1.15rem;
  color: #431407 !important;
  margin: 0 0 10px;
}
.prose-card p {
  color: #57534e;
  line-height: 1.7;
  margin: 0 0 12px;
  font-size: 1.02rem;
}
.prose-card p:last-child { margin-bottom: 0; }
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}
.stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  box-shadow: var(--shadow);
}
.stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: #c2410c;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 600;
}

@media (max-width: 720px) {
  .hero-home { padding: 40px 20px 32px; }
  .trust-bar { gap: 12px; }
  .stats-row { grid-template-columns: 1fr; }
}
