/* ── SEO Audit Report — custom styles only ── */
/* Everything else uses Bootstrap / theme-event.css */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&display=swap');


.article h1, .article h2, .article h3, .article h4, .article h5, .article h6 {
  font-family: 'Circularstd-Book', sans-serif;
  font-weight: 700;
  color: #000;
  line-height: 1.1;
  --webkit-font-smoothing: subpixel-antialiased;
}



/* Section number labels */
.section-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #D97706;
  display: block;
  margin-bottom: 0.4rem;
}

/* Stat cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.stat-card {
  background: #fafafa;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  padding: 1.4rem 1.2rem;
  text-align: center;
}

.stat-card .stat-value {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #B45309;
  line-height: 1.1;
}

.stat-card .stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #999;
  margin-top: 0.5rem;
}

/* Bar charts */
.bar-chart { margin: 1.5rem 0; }

.bar-row {
  display: flex;
  align-items: center;
  margin-bottom: 0.4rem;
}

.bar-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  width: 80px;
  flex-shrink: 0;
  color: #999;
}

.bar-track {
  flex: 1;
  height: 22px;
  background: #f0f0f0;
  border-radius: 2px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: #000;
  border-radius: 2px;
  min-width: 2px;
}

.bar-fill.accent { background: #F59E0B; }
.bar-fill.ochre { background: #D97706; }

.bar-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  width: 80px;
  text-align: right;
  flex-shrink: 0;
  color: #495057;
  padding-left: 0.5rem;
}

/* Callout boxes */
.report-callout {
  border-left: 3px solid #D97706;
  background: #fafafa;
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 4px 4px 0;
}

.report-callout p { margin-bottom: 0.5rem; color: #495057; font-size: 0.95rem; }
.report-callout p:last-child { margin-bottom: 0; }

.report-callout.sage { border-left-color: #92400E; }
.report-callout.ochre { border-left-color: #D97706; }

/* Code / mono blocks */
.mono-block {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  background: #000;
  color: #ccc;
  padding: 1.5rem;
  border-radius: 4px;
  overflow-x: auto;
  margin: 1.5rem 0;
  line-height: 1.8;
}

.mono-block .hl { color: #FBBF24; }
.mono-block .dim { color: #666; }
.mono-block .accent { color: #F59E0B; }

/* Tags */
.report-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  background: #f0f0f0;
  color: #666;
  margin: 0.15rem 0.2rem 0.15rem 0;
}

.report-tag.dark { background: #D97706; color: #fff; }
.report-tag.mid { background: #fef3c7; color: #92400e; }

/* Comparison grid */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

.compare-card {
  background: #fafafa;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  padding: 1.5rem;
}

.compare-card h4 {
  margin-top: 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #dee2e6;
  margin-bottom: 0.8rem;
}

.compare-card ul { list-style: none; padding: 0; }

.compare-card li {
  font-size: 0.9rem;
  color: #495057;
  padding: 0.3rem 0 0.3rem 1.2rem;
  position: relative;
}

.compare-card li::before {
  content: '\2014';
  position: absolute;
  left: 0;
  color: #999;
}

/* Verdict (dark callout) */
.report-verdict {
  background: #000;
  color: #ccc;
  padding: 2rem;
  border-radius: 4px;
  margin: 2rem 0;
}

.report-verdict h4 {
  color: #FBBF24;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.report-verdict p { color: #aaa; margin-bottom: 0.8rem; }
.report-verdict strong { color: #fff; }

/* TOC */
.report-toc ol {
  list-style: none;
  padding: 0;
  counter-reset: toc;
}

.report-toc li {
  counter-increment: toc;
  padding: 0.4rem 0;
  border-bottom: 1px solid #dee2e6;
}

.report-toc li:last-child { border-bottom: none; }

.report-toc a {
  color: #495057;
  text-decoration: none;
  font-size: 0.95rem;
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
}

.report-toc a:hover { color: #D97706; }

.report-toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: #D97706;
  flex-shrink: 0;
}

/* Pillar blocks */
.pillar {
  margin: 1rem 0;
  padding: 1rem 1.2rem;
  background: #fafafa;
  border: 1px solid #dee2e6;
  border-radius: 4px;
}

.pillar-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.3rem;
}

.pillar-name { font-weight: 600; color: #000; font-size: 0.95rem; }

.pillar-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: #D97706;
}

.pillar-bar {
  height: 4px;
  background: #f0f0f0;
  border-radius: 2px;
  margin-top: 0.5rem;
}

.pillar-bar-fill {
  height: 100%;
  background: #D97706;
  border-radius: 2px;
}

.pillar-subs {
  font-size: 0.82rem;
  color: #999;
  margin-top: 0.5rem;
  line-height: 1.6;
}

/* Highlighted rows — blue tint */
.article .table-active,
.article .table-active > th,
.article .table-active > td {
  background-color: rgba(217, 119, 6, 0.06);
}

/* Table num alignment */
.num { text-align: right; }
td.num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
}
thead th.num { text-align: right; }

/* Report footer */
.report-footer {
  text-align: center;
  padding: 3rem 2rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: #999;
  letter-spacing: 0.05em;
}

/* Subscribe wall */
.subscribe-wall {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.subscribe-wall.active {
  pointer-events: auto;
  opacity: 1;
}

.subscribe-wall-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.95) 40%, rgba(255,255,255,1) 100%);
}

.subscribe-wall-content {
  max-width: 750px;
  z-index: 1000;
  position: relative;
  margin: auto;
}

#wall-form {
  width: 100%;
  max-width: 600px;
  margin: auto;
}

@media (max-width: 640px) {
  .subscribe-wall-content {
    max-width: 100%;
    padding: 0 1rem;
  }
}

.wall-status {
  font-size: 0.85rem;
  min-height: 1.2em;
}

/* Responsive */
@media (max-width: 640px) {
  .compare-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .bar-value { width: 70px; font-size: 0.65rem; }
}
