/* ==========================================================
   Peptides Reviewed — Global Stylesheet
   ========================================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #ffffff;
  --bg-alt: #f4f6f8;
  --bg-dark: #1e293b;
  --text: #1a1a2e;
  --text-soft: #64748b;
  --green: #22c55e;
  --green-dark: #16a34a;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --gold: #f59e0b;
  --teal: #0d9488;
  --border: #e5e7eb;
  --hero-grad: linear-gradient(135deg, #e0f2fe, #f0fdf4);
  --shadow-card: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --radius-card: 12px;
  --radius-pill: 50px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; color: var(--text); letter-spacing: -0.02em; }
h1 { font-size: 2.8rem; font-weight: 800; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.3rem; }
p  { color: var(--text); }

/* ==========================================================
   Affiliate Disclosure Top Banner
   ========================================================== */
.disclosure-bar {
  background: #fff7ed;
  color: #92400e;
  font-size: 0.78rem;
  text-align: center;
  padding: 6px 16px;
  border-bottom: 1px solid #fed7aa;
}

/* ==========================================================
   Header / Nav
   ========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.brand:hover { text-decoration: none; }
.brand .logo-mark {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--teal), #14b8a6);
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
}
.brand .logo-mark svg { width: 20px; height: 20px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links .dropdown {
  position: relative;
  padding-bottom: 14px;
  margin-bottom: -14px;
}
.nav-links .dropdown > a::after { content: " ▾"; font-size: 0.75rem; }
.nav-links .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px;
  box-shadow: var(--shadow-lg);
  display: none;
}
.nav-links .dropdown:hover .dropdown-menu,
.nav-links .dropdown.open .dropdown-menu { display: block; }
.nav-links .dropdown-menu a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.92rem;
}
.nav-links .dropdown-menu a:hover { background: var(--bg-alt); text-decoration: none; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--teal), var(--green-dark));
  color: #fff !important;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 4px 14px rgba(13,148,136,0.32);
  transition: transform 0.15s, box-shadow 0.2s;
}
.nav-cta:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(13,148,136,0.45);
}
.nav-cta svg { width: 14px; height: 14px; }

.hamburger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); margin: 5px 0;
  transition: 0.25s;
}

@media (max-width: 820px) {
  .nav-links {
    position: absolute;
    top: 100%;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    display: none;
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links .dropdown-menu { position: static; box-shadow: none; border: 0; padding-left: 14px; }
  .hamburger { display: block; }
}

/* ==========================================================
   Hero
   ========================================================== */
.hero {
  position: relative;
  background: var(--hero-grad);
  padding: 88px 0 104px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13,148,136,0.18), rgba(13,148,136,0) 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(15,118,110,0.18) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  background-position: 12px 12px;
  opacity: 0.4;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
}
.hero-copy { max-width: 620px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(13,148,136,0.25);
  color: var(--teal);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}
.hero-badge svg { width: 14px; height: 14px; }
.hero h1 {
  font-size: 3.2rem;
  line-height: 1.08;
  margin-bottom: 18px;
  letter-spacing: -0.025em;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--teal), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: 1.15rem;
  color: var(--text-soft);
  max-width: 560px;
  margin-bottom: 28px;
  line-height: 1.65;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}
.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(15,118,110,0.18);
  padding-top: 24px;
}
.hero-stats > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-stats strong {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-stats span {
  font-size: 0.82rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* Right-side preview card — mock "editor's pick" provider card */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
}
.hero-pick-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px 26px 26px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 24px 60px rgba(15,23,42,0.16), 0 0 0 1px rgba(15,23,42,0.04);
  position: relative;
  border-top: 4px solid var(--gold);
}
.hero-pick-flag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold);
  color: #fff;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}
.hero-pick-card .logo-slot { margin: 4px 0 12px; }
.hero-pick-card .logo-slot img { height: 44px; max-width: 220px; }
.hero-pick-card .logo-slot .logo-text { font-size: 1.5rem; font-weight: 800; color: var(--text); }
.hero-pick-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-soft);
  margin-bottom: 18px;
}
.hero-pick-rating .stars { color: var(--gold); letter-spacing: 1.5px; font-size: 1rem; }
.hero-pick-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
  color: #334155;
  margin-bottom: 22px;
  line-height: 1.45;
}
.hero-pick-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.hero-pick-bullets li::before {
  content: "";
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #ecfdf5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
  margin-top: 1px;
}
.hero-pick-card .btn { width: 100%; justify-content: center; }
.hero-pick-card .btn-cta-gold { padding: 13px 18px; font-size: 0.95rem; }
.hero-pick-price {
  display: block;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-soft);
  margin-top: 10px;
}

@media (max-width: 920px) {
  .hero { padding: 64px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { max-width: none; }
  .hero h1 { font-size: 2.6rem; }
  .hero-visual { justify-content: center; }
}
@media (max-width: 540px) {
  .hero { padding: 48px 0 64px; }
  .hero h1 { font-size: 2.1rem; }
  .hero p.lead { font-size: 1.02rem; }
  .hero-stats { gap: 22px; }
  .hero-stats strong { font-size: 1.4rem; }
}

/* ==========================================================
   Buttons
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.98rem;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  text-decoration: none !important;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,99,235,0.35); }
.btn-dark { background: var(--text); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--text);
  padding: 11px 26px;
}
.btn-outline:hover { background: var(--text); color: #fff; }
.btn-cta-gold {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(245,158,11,0.35), 0 8px 22px rgba(37,99,235,0.3);
  font-size: 1.02rem;
  padding: 14px 32px;
}
.btn-cta-gold:hover { background: var(--blue-dark); transform: translateY(-1px); }

/* ==========================================================
   Sections — generic
   ========================================================== */
section { padding: 96px 0; }
section.alt { background: var(--bg-alt); }
section.tight { padding: 56px 0; }

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 14px;
  display: inline-block;
  position: relative;
  padding-bottom: 12px;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--teal));
  border-radius: 2px;
}
/* Centered variant — accent stays under the text, not flush left */
.section-title.center-accent { display: inline-block; }
.section-title.center-accent::after { left: 50%; transform: translateX(-50%); }

/* Legacy squiggle — kept hidden so older markup doesn't break */
.squiggle { display: none; }

.section-sub {
  color: var(--text-soft);
  font-size: 1.05rem;
  max-width: 580px;
  margin-top: 14px;
  line-height: 1.65;
}

@media (max-width: 640px) {
  section { padding: 64px 0; }
  .section-title { font-size: 1.8rem; }
}

/* ==========================================================
   "As featured in" bar
   ========================================================== */
.featured-bar {
  padding: 48px 0;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.featured-bar .featured-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.featured-bar h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: var(--text-soft);
}
.featured-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 36px 64px;
  align-items: center;
  justify-content: center;
}
.featured-logos > * {
  flex: 0 0 auto;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.featured-logos > *:hover { opacity: 1; }

/* ==========================================================
   Category / Compare 2-col layout
   ========================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}
.split .copy h2 { font-size: 2rem; margin-bottom: 14px; }
.split .copy p { color: var(--text-soft); margin-bottom: 22px; }
.split .copy .btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

.tag-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.tag {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text);
  transition: transform 0.18s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}
.tag::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--accent, var(--green));
  opacity: 0.85;
}
.tag:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: transparent;
  text-decoration: none;
}
.tag .tag-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--accent-tint, #ecfdf5);
  color: var(--accent, var(--green-dark));
}
.tag .tag-icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tag.t-trt       { --accent: #2563eb; --accent-tint: #dbeafe; }
.tag.t-weight    { --accent: #f97316; --accent-tint: #ffedd5; }
.tag.t-hair      { --accent: #a855f7; --accent-tint: #f3e8ff; }
.tag.t-longevity { --accent: #10b981; --accent-tint: #d1fae5; }
.tag.t-sexual    { --accent: #ef4444; --accent-tint: #fee2e2; }
.tag.t-peptide   { --accent: #0d9488; --accent-tint: #ccfbf1; }

@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .tag-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .tag-grid { grid-template-columns: 1fr; }
}

/* ==========================================================
   "How we review" trust strip
   ========================================================== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.trust-item h4 { font-size: 1.05rem; margin: 14px 0 6px; font-weight: 700; }
.trust-item p { color: var(--text-soft); font-size: 0.92rem; }
.trust-icon {
  width: 48px; height: 48px;
  background: #ecfdf5;
  border-radius: 12px;
  display: grid; place-items: center;
  color: var(--green-dark);
}
.trust-icon svg { width: 24px; height: 24px; }
@media (max-width: 820px) { .trust-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .trust-grid { grid-template-columns: 1fr; } }

/* ==========================================================
   Card grid (recent reviews)
   ========================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}
.review-card {
  background: #fff;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.review-card .ph {
  height: 180px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 22px;
}
.review-card .ph .brand-logo { font-size: 1.7rem; color: #fff; opacity: 0.95; }
.review-card .ph .brand-logo::after,
.review-card .ph .brand-logo::before { background: #fff !important; color: rgba(255,255,255,0.9) !important; }

/* White pill behind a logo (sits inside .ph gradient) */
.ph-logo-pill {
  background: #fff;
  border-radius: 14px;
  padding: 14px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(15,23,42,0.18);
  max-width: 80%;
}
.ph-logo-pill.ph-vs { gap: 14px; padding: 12px 18px; }
.ph-logo-pill.ph-vs .ph-vs-divider {
  color: var(--text-soft);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.ph-logo-pill .logo-slot img { height: 36px; max-width: 160px; }
.ph-logo-pill.ph-vs .logo-slot img { height: 28px; max-width: 110px; }

/* Text-only thumbnail variant */
.ph-text {
  text-align: center;
  flex-direction: column;
}
.ph-text .ph-eyebrow {
  display: block;
  color: rgba(255,255,255,0.78);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  margin-bottom: 6px;
}
.ph-text .ph-headline {
  display: block;
  color: #fff;
  font-weight: 800;
  font-size: 1.65rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.ph-text .ph-sub {
  display: block;
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 8px;
}
.ph-1 { background: linear-gradient(135deg,#0ea5e9,#0d9488); }
.ph-2 { background: linear-gradient(135deg,#a855f7,#3b82f6); }
.ph-3 { background: linear-gradient(135deg,#f59e0b,#ef4444); }
.ph-4 { background: linear-gradient(135deg,#10b981,#06b6d4); }
.ph-5 { background: linear-gradient(135deg,#6366f1,#a855f7); }
.ph-6 { background: linear-gradient(135deg,#f97316,#ec4899); }
.ph-7 { background: linear-gradient(135deg,#0d9488,#10b981); }
.ph-hero { background: linear-gradient(135deg,#0d9488,#1d4ed8); }
.ph::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.18) 1px, transparent 1px);
  background-size: 14px 14px;
  opacity: 0.7;
  pointer-events: none;
}
.ph > * { position: relative; z-index: 1; }
.review-card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.review-card h3 { font-size: 1.18rem; line-height: 1.35; margin-bottom: 12px; }
.review-card .meta { color: var(--text-soft); font-size: 0.82rem; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.08em; }
.read-more {
  margin-top: auto;
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.92rem;
}
.read-more::after { content: " →"; }

@media (max-width: 820px) { .card-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px) { .card-grid { grid-template-columns: 1fr; } }

/* ==========================================================
   Newsletter strip
   ========================================================== */
.newsletter {
  background: var(--bg-dark);
  color: #fff;
  border-radius: 20px;
  padding: 40px 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  margin: 24px auto;
  max-width: 1100px;
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(34,197,94,0.18), transparent 55%);
  pointer-events: none;
}
.newsletter h2 { color: #fff; font-size: 2rem; margin-bottom: 8px; position: relative; }
.newsletter p { color: #cbd5e1; position: relative; }
.newsletter form {
  display: flex;
  gap: 8px;
  position: relative;
  background: #fff;
  border-radius: var(--radius-pill);
  padding: 6px;
  min-width: 0;
}
.newsletter input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 12px 18px;
  font-size: 0.95rem;
  background: transparent;
  outline: none;
  color: var(--text);
}
.newsletter button {
  background: var(--green);
  color: #fff;
  border: 0;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  cursor: pointer;
  font-size: 0.95rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.newsletter button:hover { background: var(--green-dark); }
@media (max-width: 820px) {
  .newsletter { grid-template-columns: 1fr; padding: 36px 28px; }
}

/* ==========================================================
   Footer
   ========================================================== */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 48px 0 24px;
}
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}
.footer-grid h5 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  font-weight: 700;
}
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 0.93rem; }
.footer-brand { color: #fff; font-size: 1.1rem; font-weight: 800; margin-bottom: 14px; }
.footer-brand .logo-mark { display: inline-grid; vertical-align: middle; margin-right: 8px; }
.footer-tag { font-size: 0.92rem; max-width: 280px; line-height: 1.6; }
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid #334155;
  border-radius: 50%;
  display: grid; place-items: center;
  transition: 0.2s;
}
.footer-social a:hover { background: #fff; color: #0f172a; border-color: #fff; }
.footer-social svg { width: 16px; height: 16px; }

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 24px;
  font-size: 0.78rem;
  color: #64748b;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

@media (max-width: 920px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

/* ==========================================================
   Comparison page (best-peptide-providers)
   ========================================================== */
.article-header {
  background: var(--hero-grad);
  padding: 72px 0 56px;
  position: relative;
  overflow: hidden;
}
.article-header::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(13,148,136,0.18) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  opacity: 0.4;
  pointer-events: none;
}
.article-header .container { position: relative; z-index: 1; }
.article-header .crumbs { font-size: 0.85rem; color: var(--text-soft); margin-bottom: 14px; }
.article-header h1 { font-size: 2.6rem; max-width: 880px; margin-bottom: 16px; }
.article-meta {
  display: flex; flex-wrap: wrap; gap: 18px;
  font-size: 0.9rem; color: var(--text-soft);
  align-items: center;
  margin-bottom: 16px;
}
.article-meta .author { font-weight: 600; color: var(--text); }
.editor-pick-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fffbeb;
  border: 1px solid var(--gold);
  color: #92400e;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.9rem;
}

.compare-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  padding: 64px 0 96px;
  align-items: start;
}
.toc {
  position: sticky;
  top: 90px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}
.toc h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-soft);
  margin-bottom: 14px;
}
.toc ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.toc a {
  font-size: 0.92rem;
  color: var(--text);
  font-weight: 500;
  padding: 6px 8px;
  border-radius: 6px;
  display: block;
}
.toc a:hover { background: var(--bg-alt); text-decoration: none; }
.toc a.active { background: #ecfdf5; color: var(--green-dark); }

@media (max-width: 920px) {
  .compare-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
}

/* Provider review cards */
.provider-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 32px;
  position: relative;
  box-shadow: var(--shadow-card);
}
.provider-card.featured {
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(245,158,11,0.12), var(--shadow-lg);
}
.rank-badge {
  position: absolute;
  top: -16px; left: 24px;
  background: var(--text);
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: var(--shadow-card);
}
.provider-card.featured .rank-badge {
  background: var(--gold);
  width: auto;
  height: auto;
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.provider-head {
  display: grid;
  grid-template-columns: 1.2fr 1.6fr;
  gap: 28px;
  align-items: start;
}
.provider-thumb {
  height: 200px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
.provider-thumb::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.16) 1px, transparent 1px);
  background-size: 14px 14px;
}
.provider-info h2 { margin-bottom: 8px; font-size: 1.6rem; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 1.05rem; }
.stars + .rating-num { color: var(--text-soft); font-size: 0.9rem; margin-left: 8px; }
.provider-pricing { margin: 14px 0 18px; font-weight: 700; font-size: 1.05rem; color: var(--text); }
.provider-pricing span { color: var(--green-dark); }

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
}
.pros-cons h5 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }
.pros h5 { color: var(--green-dark); }
.cons h5 { color: #b91c1c; }
.pros-cons ul { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 0.94rem; line-height: 1.55; }
.pros li::before { content: "✓ "; color: var(--green-dark); font-weight: 700; }
.cons li::before { content: "✕ "; color: #b91c1c; font-weight: 700; }

.cta-row { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-row .small-note { color: var(--text-soft); font-size: 0.82rem; }

@media (max-width: 720px) {
  .provider-head { grid-template-columns: 1fr; }
  .pros-cons { grid-template-columns: 1fr; }
}

/* Methodology / FAQ blocks */
.prose { max-width: 760px; }
.prose h2 { margin: 36px 0 14px; }
.prose p { margin-bottom: 16px; color: #334155; }
.faq-item {
  border-top: 1px solid var(--border);
  padding: 18px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-item h4 { font-size: 1.08rem; margin-bottom: 8px; }
.faq-item p { color: var(--text-soft); font-size: 0.96rem; }

.verdict-box {
  background: linear-gradient(135deg, #ecfdf5, #eff6ff);
  border: 1px solid #bbf7d0;
  border-radius: 16px;
  padding: 32px;
  margin: 32px 0;
}
.verdict-box h2 { margin-bottom: 12px; }

/* ==========================================================
   Single review page (prescribedrx-review)
   ========================================================== */
.review-hero {
  background: linear-gradient(135deg, #0d9488, #1d4ed8);
  color: #fff;
  padding: 88px 0 104px;
  position: relative;
  overflow: hidden;
}
.review-hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.18) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  opacity: 0.35;
  pointer-events: none;
}
.review-hero .container { position: relative; z-index: 1; }
.review-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: center;
}
.review-hero h1 { color: #fff; font-size: 2.7rem; line-height: 1.15; margin-bottom: 16px; }
.review-hero .lead { color: rgba(255,255,255,0.9); font-size: 1.1rem; margin-bottom: 18px; }
.review-hero-img {
  height: 280px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.4), transparent 50%),
    linear-gradient(135deg,#fbbf24,#f97316,#ec4899);
  position: relative;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.review-hero-img::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.25) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.55;
}
.affiliate-pill {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.collapsible-bar {
  background: var(--text);
  color: #fff;
  border-radius: 12px;
  padding: 16px 22px;
  margin: -24px auto 32px;
  max-width: 1100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  position: relative; z-index: 5;
  box-shadow: var(--shadow-lg);
}
.collapsible-bar h4 { color: #fff; font-size: 0.92rem; font-weight: 600; }
.collapsible-bar .plus {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: grid; place-items: center;
  font-weight: 700;
}

.review-body {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  padding: 56px 0 96px;
  align-items: start;
}
.review-body .prose h2 { font-size: 1.55rem; margin: 36px 0 14px; }
.review-body .prose p { font-size: 1.02rem; line-height: 1.75; color: #334155; }

.top-pick-card {
  background: #fff;
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(245,158,11,0.14), var(--shadow-lg);
  border-radius: 16px;
  padding: 26px;
  margin: 24px 0 36px;
  position: relative;
}
.top-pick-card .pick-flag {
  position: absolute;
  top: -14px; left: 22px;
  background: var(--gold);
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.top-pick-card h3 { font-size: 1.4rem; margin-bottom: 6px; }
.top-pick-card .price { color: var(--green-dark); font-weight: 700; margin-bottom: 14px; }
.top-pick-card ul { list-style: none; margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.top-pick-card ul li::before { content: "✓ "; color: var(--green-dark); font-weight: 700; }

.rating-widget {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-alt);
  border-radius: 14px;
  padding: 18px 22px;
  margin: 24px 0;
}
.rating-widget .num { font-size: 2.4rem; font-weight: 800; color: var(--text); line-height: 1; }
.rating-widget .out { color: var(--text-soft); font-size: 0.9rem; }
.rating-widget .stars-big { color: var(--gold); font-size: 1.4rem; letter-spacing: 3px; }

.proscons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 28px 0;
}
.proscons-grid > div {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}
.proscons-grid .pc-pros { background: #f0fdf4; border-color: #bbf7d0; }
.proscons-grid .pc-cons { background: #fef2f2; border-color: #fecaca; }
.proscons-grid h4 { margin-bottom: 12px; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; }
.proscons-grid ul { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 0.95rem; }
.proscons-grid .pc-pros li::before { content: "✓ "; color: var(--green-dark); font-weight: 700; }
.proscons-grid .pc-cons li::before { content: "✕ "; color: #b91c1c; font-weight: 700; }

.review-aside {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.aside-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--shadow-card);
}
.aside-card h4 { margin-bottom: 14px; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-soft); }
.aside-card .related { display: flex; flex-direction: column; gap: 14px; }
.aside-card .related a { display: flex; gap: 12px; align-items: center; color: var(--text); font-weight: 600; font-size: 0.92rem; line-height: 1.4; }
.aside-card .related a:hover { color: var(--green-dark); text-decoration: none; }
.aside-card .related .mini-thumb {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.aside-card .related .mini-thumb-text {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #fff;
  font-weight: 800;
  font-size: 0.7rem;
  text-align: center;
  line-height: 1.1;
  border: 0;
}

@media (max-width: 920px) {
  .review-hero-grid { grid-template-columns: 1fr; }
  .review-body { grid-template-columns: 1fr; }
  .review-aside { position: static; }
  .proscons-grid { grid-template-columns: 1fr; }
}

/* Sticky mobile floating CTA */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  z-index: 200;
  background: var(--blue);
  color: #fff;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  text-align: center;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(37,99,235,0.45), 0 0 0 3px rgba(245,158,11,0.4);
}
.mobile-sticky-cta:hover { text-decoration: none; }
@media (max-width: 720px) {
  .mobile-sticky-cta { display: block; }
}

/* ==========================================================
   About page
   ========================================================== */
.about-hero {
  background: var(--hero-grad);
  padding: 80px 0;
}
.about-hero h1 { max-width: 720px; }
.about-hero p { color: var(--text-soft); font-size: 1.1rem; max-width: 680px; margin-top: 14px; }

.about-content {
  padding: 72px 0 96px;
}
.about-content .prose { max-width: 780px; margin: 0 auto; }
.about-content .prose h2 { margin: 32px 0 12px; }
.about-content .prose p { margin-bottom: 16px; color: #334155; font-size: 1.02rem; }
.about-content .callout {
  background: var(--bg-alt);
  border-left: 4px solid var(--green);
  padding: 22px 26px;
  margin: 24px 0;
  border-radius: 0 12px 12px 0;
}
.about-content .callout strong { color: var(--text); }

/* ==========================================================
   Brand wordmarks (CSS-styled logos, no external assets)
   ========================================================== */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
  font-size: 1.55rem;
}

/* Hims — lowercase, deep olive green + square dot */
.brand-hims {
  color: #2e3d2f;
  text-transform: lowercase;
  letter-spacing: -0.05em;
}
.brand-hims::after {
  content: "";
  width: 0.34em; height: 0.34em;
  background: currentColor;
  margin-left: 0.06em;
  border-radius: 1px;
  align-self: flex-end;
  margin-bottom: 0.04em;
}

/* Hers — same wordmark style, dusty terracotta */
.brand-hers {
  color: #b85e51;
  text-transform: lowercase;
  letter-spacing: -0.05em;
}
.brand-hers::after {
  content: "";
  width: 0.34em; height: 0.34em;
  background: currentColor;
  margin-left: 0.06em;
  border-radius: 1px;
  align-self: flex-end;
  margin-bottom: 0.04em;
}

/* Keeps — navy bold sans wordmark */
.brand-keeps {
  color: #1c2c4c;
  letter-spacing: -0.02em;
  font-weight: 800;
}

/* Ro — black circle wordmark "Ro." */
.brand-ro {
  background: #0a0a0a;
  color: #fff;
  padding: 0.36em 0.5em 0.34em;
  border-radius: 999px;
  font-size: 0.78em;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.brand-ro::after { content: "."; margin-left: 0.02em; }

/* Noom — bright lime/teal */
.brand-noom {
  color: #21c97e;
  font-weight: 900;
  letter-spacing: -0.04em;
}

/* PrescribedRX — dark navy with Rx mark */
.brand-prx {
  color: #0d2845;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.brand-prx::before {
  content: "℞";
  color: #2563eb;
  font-weight: 700;
  margin-right: 0.18em;
  font-size: 1.05em;
}
.brand-prx .rx-dot {
  display: inline-block;
  width: 0.2em; height: 0.2em;
  background: #2563eb;
  border-radius: 50%;
  margin: 0 0.2em 0.55em 0.2em;
  vertical-align: middle;
}

/* Forbes — italic serif */
.brand-forbes {
  font-family: 'Times New Roman', Georgia, serif;
  font-style: italic;
  font-weight: 700;
  color: #111;
  letter-spacing: -0.02em;
  font-size: 1.7rem;
}

/* Sharecare — sans + plus mark */
.brand-sharecare {
  color: #00a3d9;
  font-weight: 700;
  text-transform: lowercase;
  letter-spacing: -0.02em;
}
.brand-sharecare::before {
  content: "+";
  color: #f7941d;
  font-weight: 800;
  margin-right: 0.12em;
  font-size: 0.95em;
}

/* Top10.com — red + black */
.brand-top10 {
  color: #e53935;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.brand-top10 .com {
  color: #1a1a1a;
  font-weight: 700;
  margin-left: 0.04em;
}

/* Healthcare Business Today — serif red */
.brand-hbt {
  font-family: 'Times New Roman', Georgia, serif;
  font-weight: 700;
  color: #b91c1c;
  letter-spacing: -0.01em;
  font-size: 1.2rem;
  text-align: left;
  display: inline-block;
  line-height: 1.05;
}
.brand-hbt small {
  display: block;
  font-size: 0.62em;
  color: #475569;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 3px;
}

/* Sizes */
.brand-lg { font-size: 2.4rem; }
.brand-xl { font-size: 3rem; }
.brand-sm { font-size: 1.05rem; }

/* ==========================================================
   Provider thumbnails (reviewed brand logo on tinted bg)
   ========================================================== */
.thumb-brand {
  display: grid;
  place-items: center;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}
.thumb-brand .brand-logo { z-index: 1; }
.thumb-brand::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(0,0,0,0.05) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.5;
  pointer-events: none;
}
.thumb-prx  { background: linear-gradient(135deg,#dbeafe,#e0f2fe); }
.thumb-hims { background: linear-gradient(135deg,#e7eee0,#f0f4e8); }
.thumb-hers { background: linear-gradient(135deg,#fbe6e1,#fef0ec); }
.thumb-keeps{ background: linear-gradient(135deg,#dde4f1,#e8eef9); }
.thumb-ro   { background: linear-gradient(135deg,#f1f5f9,#e2e8f0); }
.thumb-noom { background: linear-gradient(135deg,#dffbe9,#e9faef); }

/* Tag pill that uses a brand wordmark instead of letter icon */
.tag.tag-brand {
  padding: 12px 16px;
  justify-content: flex-start;
  gap: 12px;
  min-height: 60px;
}
.tag.tag-brand .brand-logo { font-size: 1.15rem; }

/* ==========================================================
   Provider leaderboard (homepage section 2)
   ========================================================== */
.leaderboard {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 28px;
  background: #fff;
  border-radius: 16px;
  padding: 12px;
  box-shadow: var(--shadow-card);
}
/* Shared grid for header + rows so columns align */
.lb-head,
.lb-row {
  display: grid;
  grid-template-columns: 64px minmax(180px, 1fr) 160px 120px 200px;
  gap: 18px;
  align-items: center;
}
.lb-head {
  padding: 10px 18px 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-soft);
  font-weight: 700;
}
.lb-head span { display: block; }
.lb-head .lb-h-rank { text-align: center; }
.lb-row {
  padding: 14px 18px;
  border-radius: 12px;
  transition: background 0.15s;
}
.lb-row:hover { background: var(--bg-alt); }
.lb-row.featured {
  background: linear-gradient(135deg,#fffbeb,#fff7ed);
  border: 1.5px solid var(--gold);
  box-shadow: 0 0 0 3px rgba(245,158,11,0.12);
}
.lb-row .lb-rank {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-soft);
  text-align: center;
  white-space: nowrap;
}
.lb-row.featured .lb-rank {
  background: var(--gold);
  color: #fff;
  border-radius: 999px;
  padding: 6px 0;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.lb-row .lb-brand { min-width: 0; display: flex; align-items: center; }
.lb-row .lb-rating { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.9rem; color: var(--text-soft); }
.lb-row .lb-rating .stars { color: var(--gold); letter-spacing: 1.5px; font-size: 0.95rem; }
.lb-row .lb-price { font-weight: 700; color: var(--text); font-size: 0.95rem; white-space: nowrap; }
.lb-row .btn {
  width: 100%;
  justify-content: center;
  padding: 11px 16px;
  font-size: 0.88rem;
  white-space: nowrap;
}
.lb-row.featured .btn {
  padding: 13px 16px;
  font-size: 0.92rem;
  box-shadow: 0 0 0 3px rgba(245,158,11,0.35), 0 6px 18px rgba(37,99,235,0.28);
}

@media (max-width: 920px) {
  .lb-head { display: none; }
  .lb-row {
    grid-template-columns: 44px 1fr 180px;
    grid-template-areas:
      "rank brand cta"
      "rank rating cta"
      "rank price cta";
    row-gap: 4px;
    column-gap: 14px;
  }
  .lb-row .lb-rank { grid-area: rank; }
  .lb-row .lb-brand { grid-area: brand; }
  .lb-row .lb-rating { grid-area: rating; }
  .lb-row .lb-price { grid-area: price; }
  .lb-row .btn { grid-area: cta; }
}
@media (max-width: 540px) {
  .lb-row {
    grid-template-columns: 36px 1fr;
    grid-template-areas:
      "rank brand"
      "rank rating"
      "rank price"
      "cta cta";
    row-gap: 6px;
  }
  .lb-row .btn { width: 100%; }
}

/* Provider-card thumb override (logo display) */
.provider-thumb {
  display: grid;
  place-items: center;
}
.provider-thumb .brand-logo { font-size: 2.4rem; z-index: 1; position: relative; }
.provider-thumb.thumb-brand::after { background-size: 18px 18px; }

/* ==========================================================
   Logo slots — real logo <img> with clean text fallback
   ========================================================== */
.logo-slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  position: relative;
  z-index: 1;
  max-width: 100%;
}
.logo-slot img {
  display: block;
  height: 32px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}
/* Fallback text — hidden when image is present, shown after img is removed by onerror */
.logo-slot .logo-text {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: -0.015em;
  font-family: 'Inter', sans-serif;
}
.logo-slot img + .logo-text { display: none; }

/* Size variants */
.logo-slot.sm img { height: 22px; max-width: 120px; }
.logo-slot.sm .logo-text { font-size: 0.85rem; font-weight: 700; }
.logo-slot.md img { height: 36px; max-width: 170px; }
.logo-slot.md .logo-text { font-size: 1.15rem; font-weight: 800; }
.logo-slot.lg img { height: 56px; max-width: 260px; }
.logo-slot.lg .logo-text { font-size: 1.6rem; font-weight: 800; }
.logo-slot.xl img { height: 80px; max-width: 360px; }
.logo-slot.xl .logo-text { font-size: 2rem; font-weight: 800; }

/* Modifier — for dark backgrounds (review cards, review hero) */
.logo-slot.on-dark img { filter: brightness(0) invert(1); }
.logo-slot.on-dark .logo-text { color: #fff; }

/* Modifier — for the featured-publications bar (subtle desat) */
.logo-slot.publication { height: 36px; }
.logo-slot.publication img { height: 32px; max-width: 200px; }
.logo-slot.publication .logo-text {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-soft);
  font-weight: 700;
  white-space: nowrap;
}
@media (max-width: 820px) {
  .featured-logos { gap: 28px 40px; }
}
@media (max-width: 540px) {
  .featured-logos { gap: 22px 28px; }
  .logo-slot.publication { height: 30px; }
  .logo-slot.publication img { height: 26px; max-width: 140px; }
}

/* When used inside the homepage review-card .ph */
/* Logos inside .ph-logo-pill render in original colors on white pill — no inversion. */
.ph-logo-pill .logo-slot { max-width: 100%; }
.ph-logo-pill .logo-slot img { height: 36px; max-width: 160px; }
.ph-logo-pill .logo-slot .logo-text { color: var(--text); font-size: 1.15rem; font-weight: 800; }
.ph-logo-pill.ph-vs .logo-slot img { height: 28px; max-width: 110px; }
.ph-logo-pill.ph-vs .logo-slot .logo-text { font-size: 0.95rem; }

/* When used inside provider-thumb (light tinted bg, large) */
.provider-thumb .logo-slot {
  max-width: 86%;
  padding: 18px 26px;
  background: rgba(255,255,255,0.92);
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(15,23,42,0.08), 0 0 0 1px rgba(15,23,42,0.04);
}
.provider-thumb .logo-slot img { height: 56px; max-width: 100%; }
.provider-thumb .logo-slot .logo-text { font-size: 1.8rem; font-weight: 800; color: var(--text); }

/* Leaderboard row — fixed display box so all rows align */
.lb-row .lb-brand .logo-slot {
  width: 100%;
  height: 36px;
  justify-content: flex-start;
}
.lb-row .lb-brand .logo-slot img { height: 28px; max-width: 150px; }
.lb-row .lb-brand .logo-slot .logo-text { font-size: 1.05rem; font-weight: 800; }

/* Review hero — white card */
.review-hero-img .logo-slot {
  background: #fff;
  padding: 22px 32px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  max-width: 86%;
}
.review-hero-img .logo-slot img { height: 60px; max-width: 100%; }
.review-hero-img .logo-slot .logo-text { font-size: 1.8rem; color: #0d2845; font-weight: 800; }

/* Mini thumbs in review aside — small white squares with the brand logo */
.related .mini-thumb .logo-slot { max-width: 88%; }
.related .mini-thumb .logo-slot img { height: 28px; max-width: 100%; }
.related .mini-thumb .logo-slot .logo-text { font-size: 0.72rem; color: var(--text); font-weight: 700; text-align: center; line-height: 1.1; }
