/* Comparison page (page-comparison.php) — TC-09 AEO/SEO/GEO. */

/* Hero — centred, matches /learn/ + /reviews/ style */
.cmp-hero {
  background: var(--bg1, #FAF5E4);
  padding: 56px 0 32px;
  border-bottom: 1px solid var(--br, #e5e0d0);
  text-align: center;
}
.cmp-hero .container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}
.cmp-eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent, #6B1F2B);
  margin-bottom: 10px;
  font-weight: 600;
}
.cmp-h1 {
  font-family: var(--font-d, 'Gloock', serif);
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 400;
  margin: 0 0 12px;
  color: var(--t1, #1a1a1a);
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.cmp-hero .tac-updated {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--t2, #555);
}

/* Sections wrap content in a centred constrained column */
.cmp-section {
  padding: 48px 0;
}
.cmp-section .container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}
.cmp-section-tiles .container,
.cmp-section-related .container {
  max-width: 1180px;  /* wider for the related-amulet grid */
}
.cmp-section + .cmp-section {
  border-top: 1px solid var(--br, #e5e0d0);
}
.cmp-section-title {
  font-family: var(--font-d, 'Gloock', serif);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 400;
  margin: 0 0 26px;
  color: var(--t1, #1a1a1a);
  text-align: center;
}

/* Prose body — centred column inside the section container */
.cmp-prose {
  max-width: 820px;
  margin: 0 auto;
}
.cmp-prose h2 {
  font-family: var(--font-d, 'Gloock', serif);
  font-size: clamp(20px, 2.1vw, 26px);
  font-weight: 400;
  margin: 32px 0 12px;
  color: var(--t1, #1a1a1a);
  line-height: 1.3;
}
.cmp-prose h2:first-child { margin-top: 0; }
.cmp-prose h3 {
  font-family: var(--font-d, 'Gloock', serif);
  font-size: 18px;
  font-weight: 400;
  margin: 24px 0 10px;
  color: var(--t1, #1a1a1a);
}
.cmp-prose p {
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 18px;
  color: var(--t1, #1a1a1a);
}
.cmp-prose a {
  color: var(--accent, #6B1F2B);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Comparison tables (editor block tables) */
.cmp-prose table,
.cmp-prose .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14.5px;
}
.cmp-prose th,
.cmp-prose td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--br, #e5e0d0);
  vertical-align: top;
}
.cmp-prose thead th {
  background: var(--bg1, #FAF5E4);
  font-family: var(--font-d, 'Gloock', serif);
  font-weight: 500;
  color: var(--accent, #6B1F2B);
  border-bottom: 2px solid var(--accent, #6B1F2B);
}
.cmp-prose tbody tr:hover { background: rgba(107,31,43,0.03); }

/* Related amulets grid uses existing .product-grid styles */

@media (max-width: 600px) {
  .cmp-hero { padding: 32px 0 20px; }
  .cmp-section { padding: 28px 0; }
  .cmp-prose h2 { margin-top: 24px; }
  .cmp-prose p { font-size: 15px; }
  .cmp-prose table { font-size: 13px; }
  .cmp-prose th, .cmp-prose td { padding: 8px 10px; }
}
