/* PeptideRanker — Article / Guide / Comparison page styles */

/* Kill the old duplicate disclosure bar */
.disclosure-bar { display: none !important; }

/* Kill old mobile menu (header replaced it) */
.mobile-menu { display: none !important; }

/* Base typography override */
body, h1, h2, h3, h4, h5, h6, p, li, td, th, a, button, input, label {
  font-family: 'Inter', -apple-system, sans-serif !important;
}

/* ── HERO ─────────────────────────────────────────────────────────── */
section.hero, .hero-section, .hero-blog, section.hero-blog {
  background: #0A0B0D !important;
  padding: 64px 0 56px !important;
  border-bottom: none !important;
  position: relative;
}
section.hero .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 32px;
}
section.hero h1, .hero-blog h1 {
  font-size: clamp(28px, 3.6vw, 48px) !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  line-height: 1.1 !important;
  letter-spacing: -0.03em !important;
  margin-bottom: 14px !important;
}
section.hero .hero-subtitle,
section.hero p,
.hero-blog p,
.hero-blog .sub {
  font-size: 17px !important;
  color: rgba(255,255,255,0.72) !important;
  max-width: 640px !important;
  line-height: 1.6 !important;
  margin: 0 auto !important;
}
/* Hero badge / breadcrumb */
.hero-badge, .hero-eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: rgba(255,255,255,0.1) !important;
  color: rgba(255,255,255,0.8) !important;
  border: none !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 5px 14px !important;
  margin-bottom: 20px !important;
}

/* ── MAIN LAYOUT ──────────────────────────────────────────────────── */
main, .main-content {
  background: #F7F9FC;
}
main .container, .main-content .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 32px 80px;
}

/* ── ARTICLE META ─────────────────────────────────────────────────── */
.article-meta {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  margin-bottom: 24px !important;
  font-size: 13px !important;
  color: #8A93A6 !important;
  font-family: 'Inter', sans-serif !important;
  border-bottom: 1px solid #E5E9F2 !important;
  padding-bottom: 16px !important;
}

/* ── CONTENT CARD ─────────────────────────────────────────────────── */
.content-card {
  background: #ffffff !important;
  border: 1px solid #E5E9F2 !important;
  border-radius: 16px !important;
  padding: 36px 40px !important;
  box-shadow: 0 1px 2px rgba(10,11,13,0.04) !important;
  margin-bottom: 20px !important;
}
.content-card + .content-card {
  margin-top: 0;
}

/* ── TYPOGRAPHY INSIDE CONTENT ────────────────────────────────────── */
.content-card h2 {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #0A0B0D !important;
  letter-spacing: -0.02em !important;
  margin: 32px 0 12px !important;
  padding-top: 8px !important;
  border-top: 1px solid #E5E9F2 !important;
}
.content-card h2:first-child {
  margin-top: 0 !important;
  border-top: none !important;
  padding-top: 0 !important;
}
.content-card h3 {
  font-size: 17px !important;
  font-weight: 600 !important;
  color: #0A0B0D !important;
  letter-spacing: -0.01em !important;
  margin: 24px 0 8px !important;
}
.content-card p {
  font-size: 15px !important;
  color: #5B616E !important;
  line-height: 1.7 !important;
  margin-bottom: 14px !important;
}
.content-card ul, .content-card ol {
  margin: 0 0 14px 20px !important;
}
.content-card li {
  font-size: 15px !important;
  color: #5B616E !important;
  line-height: 1.7 !important;
  margin-bottom: 6px !important;
}
.content-card a {
  color: #0052FF !important;
  text-decoration: none !important;
}
.content-card a:hover {
  text-decoration: underline !important;
}
.content-card strong {
  font-weight: 600 !important;
  color: #0A0B0D !important;
}

/* ── TABLES ───────────────────────────────────────────────────────── */
.content-card table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-size: 14px !important;
  margin-bottom: 20px !important;
  border: 1px solid #E5E9F2 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}
.content-card th {
  background: #F7F9FC !important;
  color: #8A93A6 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: .08em !important;
  padding: 10px 14px !important;
  text-align: left !important;
  border-bottom: 1px solid #E5E9F2 !important;
}
.content-card td {
  padding: 12px 14px !important;
  color: #5B616E !important;
  border-bottom: 1px solid #E5E9F2 !important;
}
.content-card tr:last-child td { border-bottom: none !important; }
.content-card tbody tr:hover { background: #F7F9FC !important; }

/* ── CTA BUTTONS ─────────────────────────────────────────────────── */
.cta-button, .btn-cta, a.cta-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #0052FF !important;
  color: #ffffff !important;
  border-radius: 999px !important;
  padding: 11px 24px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  font-family: 'Inter', sans-serif !important;
  text-decoration: none !important;
  border: none !important;
  transition: background .15s !important;
  width: auto !important;
}
.cta-button:hover, a.cta-button:hover {
  background: #0039B3 !important;
  text-decoration: none !important;
}

/* ── SCORE / RATING CHIPS (carry over from vendor cards) ──────────── */
.rating-score {
  background: #0052FF !important;
  color: white !important;
  border-radius: 8px !important;
}

/* ── VENDOR CALLOUT CARDS (small vendor cards on guide pages) ─────── */
.vendor-card-small, .vendor-callout {
  border: 1px solid #E5E9F2 !important;
  border-radius: 12px !important;
  background: #ffffff !important;
}

/* ── COMPARISON / VS LAYOUT ───────────────────────────────────────── */
.vs-grid, .comparison-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 20px !important;
  margin: 20px 0 !important;
}
.vs-card {
  border: 1px solid #E5E9F2 !important;
  border-radius: 12px !important;
  padding: 20px !important;
  background: #ffffff !important;
}
.vs-card h3 {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #0052FF !important;
  margin-bottom: 12px !important;
}

/* ── SIDEBAR (if present) ─────────────────────────────────────────── */
.sidebar, .article-sidebar {
  background: #ffffff !important;
  border: 1px solid #E5E9F2 !important;
  border-radius: 16px !important;
  padding: 20px !important;
}

/* ── UTILITY / SIMPLE PAGES ───────────────────────────────────────── */
.page-hero, .simple-hero {
  background: #0A0B0D !important;
  padding: 48px 0 !important;
}
.page-hero h1 { color: white !important; }
.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 32px 80px;
}
.page-content h2 {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #0A0B0D !important;
  margin: 32px 0 10px !important;
}
.page-content p {
  font-size: 15px !important;
  color: #5B616E !important;
  line-height: 1.7 !important;
  margin-bottom: 14px !important;
}

/* ── RESPONSIVE ───────────────────────────────────────────────────── */
@media (max-width: 768px) {
  section.hero { padding: 40px 0 36px !important; }
  section.hero h1 { font-size: 28px !important; }
  main .container, .main-content .container { padding: 24px 16px 60px !important; }
  .content-card { padding: 24px 20px !important; }
  .vs-grid, .comparison-grid { grid-template-columns: 1fr !important; }
}
