/**
 * Content pages — blog single, archive, niche pages, tools.
 * Uses variables from hypro-typography.css.
 *
 * @package Hypro_Child
 */

/* ==========================================================================
   1. Layout wrapper
   ========================================================================== */

.content-page {
  min-height: 100vh;
  background: #fff;
  font-family: var(--hypro-font-ui, 'DM Sans', sans-serif);
  color: var(--hypro-near-black, #0c0c0a);
  -webkit-font-smoothing: antialiased;
}

.content-inner {
  max-width: 720px;
  margin-inline: auto;
  padding-inline: 24px;
}

.content-inner--wide {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* ==========================================================================
   2. Article hero
   ========================================================================== */

.article-hero {
  background: var(--hypro-off-white, #F4F3EF);
  padding: 64px 24px 48px;
  text-align: center;
}

.article-hero__eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hypro-blue, #1526BE);
  background: rgba(21, 38, 190, 0.08);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.article-hero__title {
  font-family: var(--hypro-font-display, 'Yumex', sans-serif);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--hypro-near-black, #0c0c0a);
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 20px;
  text-wrap: balance;
}

.article-hero__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--hypro-muted, #6B6B68);
}

.article-hero__meta span::before {
  content: '·';
  margin-right: 16px;
}

.article-hero__meta span:first-child::before {
  content: none;
}

/* ==========================================================================
   3. Article prose content
   ========================================================================== */

.article-content {
  padding: 56px 24px 64px;
}

/* Prose typography */
.prose-hypro {
  max-width: 720px;
  margin-inline: auto;
}

.prose-hypro p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #1a1a18;
  margin-bottom: 1.5em;
}

.prose-hypro p:first-child {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--hypro-near-black, #0c0c0a);
}

.prose-hypro h2 {
  font-family: var(--hypro-font-display, 'Yumex', sans-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--hypro-near-black, #0c0c0a);
  margin-top: 2.5em;
  margin-bottom: 0.75em;
  line-height: 1.2;
}

.prose-hypro h3 {
  font-family: var(--hypro-font-ui, 'DM Sans', sans-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--hypro-near-black, #0c0c0a);
  margin-top: 2em;
  margin-bottom: 0.5em;
}

.prose-hypro ul,
.prose-hypro ol {
  margin-bottom: 1.5em;
  padding-left: 1.5em;
}

.prose-hypro li {
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 0.5em;
  color: #1a1a18;
}

.prose-hypro strong {
  font-weight: 700;
  color: var(--hypro-near-black, #0c0c0a);
}

.prose-hypro a {
  color: var(--hypro-blue, #1526BE);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose-hypro a:hover {
  opacity: 0.8;
}

.prose-hypro blockquote {
  border-left: 3px solid var(--hypro-blue, #1526BE);
  padding-left: 1.25em;
  margin-left: 0;
  font-style: italic;
  color: var(--hypro-muted, #6B6B68);
}

/* Stat highlight box */
.prose-hypro .stat-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
  background: var(--hypro-off-white, #F4F3EF);
  border-radius: 16px;
  padding: 28px;
  margin: 2em 0;
  text-align: center;
}

.prose-hypro .stat-box__item strong {
  display: block;
  font-family: var(--hypro-font-display, 'Yumex', sans-serif);
  font-size: 2rem;
  color: var(--hypro-blue, #1526BE);
}

.prose-hypro .stat-box__item span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--hypro-muted, #6B6B68);
}

/* Comparison table */
.prose-hypro table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  margin: 2em 0;
}

.prose-hypro th {
  background: var(--hypro-blue, #1526BE);
  color: #fff;
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
}

.prose-hypro td {
  padding: 10px 14px;
  border-bottom: 1px solid #e8e8e4;
  color: #1a1a18;
}

.prose-hypro tr:nth-child(even) td {
  background: var(--hypro-off-white, #F4F3EF);
}

/* ==========================================================================
   4. Inline CTA (mid-article)
   ========================================================================== */

.content-cta {
  background: var(--hypro-blue, #1526BE);
  border-radius: 20px;
  padding: 36px 32px;
  margin: 2.5em 0;
  text-align: center;
  color: #fff;
}

.prose-hypro .content-cta .content-cta__text {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.4;
  color: #fff;
}

.prose-hypro .content-cta .content-cta__btn,
.prose-hypro .content-cta .content-cta__btn:hover {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: var(--hypro-blue, #1526BE);
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 32px;
  border-radius: 100px;
  text-decoration: none;
  opacity: 1;
  transition: opacity 0.2s;
}

.prose-hypro .content-cta .content-cta__btn:hover {
  opacity: 0.88;
}

/* ==========================================================================
   5. FAQ section (in articles and niche pages)
   ========================================================================== */

.article-faq {
  background: var(--hypro-off-white, #F4F3EF);
  padding: 60px 24px;
}

.article-faq__heading {
  font-family: var(--hypro-font-display, 'Yumex', sans-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 40px;
  color: var(--hypro-near-black, #0c0c0a);
}

.faq-list {
  max-width: 720px;
  margin-inline: auto;
  list-style: none;
  padding: 0;
}

.faq-item {
  border-bottom: 1px solid #ddddd8;
}

.faq-item:first-child {
  border-top: 1px solid #ddddd8;
}

.faq-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  text-align: left;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--hypro-font-ui, 'DM Sans', sans-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--hypro-near-black, #0c0c0a);
  line-height: 1.4;
}

.faq-toggle__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item[open] .faq-toggle__icon,
.faq-toggle[aria-expanded="true"] .faq-toggle__icon {
  transform: rotate(45deg);
}

.faq-body {
  padding-bottom: 20px;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #3a3a38;
}

/* details/summary native faq pattern */
.faq-details {
  border-bottom: 1px solid #ddddd8;
}

.faq-details:first-of-type {
  border-top: 1px solid #ddddd8;
}

.faq-details summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  list-style: none;
}

.faq-details summary::-webkit-details-marker { display: none; }

.faq-details summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
  flex-shrink: 0;
  color: var(--hypro-blue, #1526BE);
  transition: transform 0.2s;
}

.faq-details[open] summary::after {
  transform: rotate(45deg);
}

.faq-details p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #3a3a38;
  padding-bottom: 20px;
  margin: 0;
}

/* ==========================================================================
   6. End CTA (after article)
   ========================================================================== */

.article-end-cta {
  background: var(--hypro-blue, #1526BE);
  padding: 80px 24px;
  text-align: center;
  color: #fff;
}

.article-end-cta__eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}

.article-end-cta__heading {
  font-family: var(--hypro-font-display, 'Yumex', sans-serif);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 12px;
}

.article-end-cta__sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  max-width: 440px;
  margin-inline: auto;
  margin-bottom: 32px;
  line-height: 1.5;
}

.article-end-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: var(--hypro-blue, #1526BE);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 36px;
  border-radius: 100px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.article-end-cta__btn:hover { opacity: 0.88; }

/* ==========================================================================
   7. Blog archive / hub grid
   ========================================================================== */

.blog-hub {
  padding: 64px 24px 80px;
}

.blog-hub__heading {
  font-family: var(--hypro-font-display, 'Yumex', sans-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 8px;
  color: var(--hypro-near-black, #0c0c0a);
}

.blog-hub__sub {
  text-align: center;
  font-size: 1.0625rem;
  color: var(--hypro-muted, #6B6B68);
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 52px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin-inline: auto;
}

.blog-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e8e8e4;
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  box-shadow: 0 8px 32px rgba(21,38,190,0.10);
  transform: translateY(-3px);
}

.blog-card__thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--hypro-off-white, #F4F3EF);
}

.blog-card__thumb--placeholder {
  height: 200px;
  background: linear-gradient(135deg, var(--hypro-blue, #1526BE) 0%, #0B1590 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--hypro-font-display, 'Yumex', sans-serif);
  font-size: 2.5rem;
  color: rgba(255,255,255,0.15);
  font-weight: 900;
  letter-spacing: -0.02em;
  padding: 24px;
  text-align: center;
  line-height: 1.1;
}

.blog-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card__cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hypro-blue, #1526BE);
  margin-bottom: 8px;
}

.blog-card__title {
  font-family: var(--hypro-font-display, 'Yumex', sans-serif);
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--hypro-near-black, #0c0c0a);
  margin-bottom: 10px;
  flex: 1;
}

.blog-card__excerpt {
  font-size: 0.875rem;
  color: var(--hypro-muted, #6B6B68);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__meta {
  font-size: 0.8rem;
  color: var(--hypro-muted, #6B6B68);
}

/* ==========================================================================
   8. Niche page specific
   ========================================================================== */

.niche-hero {
  background: var(--hypro-blue, #1526BE);
  color: #fff;
  padding: 80px 24px 72px;
  text-align: center;
}

.niche-hero__eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 16px;
}

.niche-hero__title {
  font-family: var(--hypro-font-display, 'Yumex', sans-serif);
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 20px;
  max-width: 700px;
  margin-inline: auto;
  text-wrap: balance;
}

.niche-hero__sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.82);
  max-width: 540px;
  margin-inline: auto;
  line-height: 1.6;
  margin-bottom: 36px;
}

.niche-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: var(--hypro-blue, #1526BE);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 36px;
  border-radius: 100px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.niche-hero__cta:hover { opacity: 0.88; }

/* Niche stats strip */
.niche-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  background: var(--hypro-off-white, #F4F3EF);
  border-bottom: 1px solid #ddddd8;
}

.niche-stats__item {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: 32px 20px;
  border-right: 1px solid #ddddd8;
}

.niche-stats__item:last-child { border-right: none; }

.niche-stats__number {
  font-family: var(--hypro-font-display, 'Yumex', sans-serif);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--hypro-blue, #1526BE);
  line-height: 1;
  margin-bottom: 6px;
}

.niche-stats__label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hypro-muted, #6B6B68);
}

/* Niche features grid */
.niche-features {
  padding: 72px 24px;
}

.niche-features__heading {
  font-family: var(--hypro-font-display, 'Yumex', sans-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 48px;
  color: var(--hypro-near-black, #0c0c0a);
}

.niche-features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin-inline: auto;
}

.niche-feature-card {
  background: var(--hypro-off-white, #F4F3EF);
  border-radius: 16px;
  padding: 28px;
}

.niche-feature-card__title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--hypro-near-black, #0c0c0a);
  margin-bottom: 8px;
}

.niche-feature-card__desc {
  font-size: 0.9rem;
  color: var(--hypro-muted, #6B6B68);
  line-height: 1.6;
}

/* Niche related links */
.niche-related {
  background: var(--hypro-off-white, #F4F3EF);
  padding: 48px 24px;
  text-align: center;
}

.niche-related__heading {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hypro-muted, #6B6B68);
  margin-bottom: 20px;
}

.niche-related__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.niche-related__link {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--hypro-blue, #1526BE);
  color: var(--hypro-blue, #1526BE);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.niche-related__link:hover {
  background: var(--hypro-blue, #1526BE);
  color: #fff;
}

/* ==========================================================================
   9. Calculator
   ========================================================================== */

.calc-page {
  padding: 60px 24px 80px;
}

.calc-card {
  max-width: 600px;
  margin-inline: auto;
  background: #fff;
  border-radius: 24px;
  border: 1px solid #e8e8e4;
  padding: 44px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.calc-card__heading {
  font-family: var(--hypro-font-display, 'Yumex', sans-serif);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--hypro-near-black, #0c0c0a);
  margin-bottom: 8px;
}

.calc-card__sub {
  font-size: 0.9375rem;
  color: var(--hypro-muted, #6B6B68);
  margin-bottom: 32px;
  line-height: 1.5;
}

.calc-field {
  margin-bottom: 20px;
}

.calc-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--hypro-near-black, #0c0c0a);
  margin-bottom: 6px;
}

.calc-field input,
.calc-field select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #ddddd8;
  border-radius: 12px;
  font-size: 1rem;
  font-family: var(--hypro-font-ui, 'DM Sans', sans-serif);
  color: var(--hypro-near-black, #0c0c0a);
  background: #fafafa;
  appearance: none;
  transition: border-color 0.15s;
  box-sizing: border-box;
}

.calc-field input:focus,
.calc-field select:focus {
  outline: none;
  border-color: var(--hypro-blue, #1526BE);
}

.calc-btn {
  width: 100%;
  padding: 15px;
  background: var(--hypro-blue, #1526BE);
  color: #fff;
  font-family: var(--hypro-font-ui, 'DM Sans', sans-serif);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: opacity 0.2s;
  margin-top: 8px;
}

.calc-btn:hover { opacity: 0.88; }

.calc-result {
  margin-top: 28px;
  padding: 28px;
  background: var(--hypro-off-white, #F4F3EF);
  border-radius: 16px;
  display: none;
}

.calc-result.visible { display: block; }

.calc-result__grams {
  font-family: var(--hypro-font-display, 'Yumex', sans-serif);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--hypro-blue, #1526BE);
  line-height: 1;
  margin-bottom: 4px;
}

.calc-result__unit {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hypro-muted, #6B6B68);
  margin-bottom: 16px;
}

.calc-result__detail {
  font-size: 0.9375rem;
  color: #3a3a38;
  line-height: 1.6;
  margin-bottom: 20px;
}

.calc-result__hypro {
  background: var(--hypro-blue, #1526BE);
  color: #fff;
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.calc-result__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: var(--hypro-blue, #1526BE);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 10px 24px;
  border-radius: 100px;
  text-decoration: none;
  margin-top: 14px;
  transition: opacity 0.2s;
}

.calc-result__cta:hover { opacity: 0.88; }

/* ==========================================================================
   10. Content site footer
   ========================================================================== */

.content-footer {
  background: var(--hypro-near-black, #0c0c0a);
  color: #fff;
  padding: 48px 24px 32px;
}

.content-footer__inner {
  max-width: 1100px;
  margin-inline: auto;
}

.content-footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 40px;
}

.content-footer__brand {
  max-width: 280px;
}

.content-footer__tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin-top: 12px;
}

.content-footer__col-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 14px;
}

.content-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.content-footer__links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.15s;
}

.content-footer__links a:hover { color: #fff; }

.content-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.content-footer__bottom a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
}

.content-footer__bottom a:hover { color: rgba(255,255,255,0.7); }

@media (max-width: 640px) {
  .niche-stats { flex-direction: column; }
  .niche-stats__item { border-right: none; border-bottom: 1px solid #ddddd8; }
  .niche-stats__item:last-child { border-bottom: none; }
  .calc-card { padding: 28px 20px; }
  .content-footer__top { flex-direction: column; gap: 28px; }
}

/* ==========================================================================
   VS — Comparison pages
   ========================================================================== */

/* Hero ─────────────────────────────────────────────────────────────────── */

.vs-hero {
  background: var(--hypro-near-black, #0c0c0a);
  color: #fff;
  text-align: center;
  padding: 64px 24px 56px;
}

.vs-hero__eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 32px;
}

.vs-hero__matchup {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.vs-hero__product {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.vs-hero__badge {
  display: inline-block;
  background: var(--hypro-blue, #1526BE);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}

.vs-hero__name {
  font-family: var(--hypro-font-display, 'Yumex', sans-serif);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
}

.vs-hero__product--rival .vs-hero__name {
  color: rgba(255,255,255,0.65);
}

.vs-hero__divider {
  font-family: var(--hypro-font-display, 'Yumex', sans-serif);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 900;
  color: rgba(255,255,255,0.3);
  flex-shrink: 0;
}

.vs-hero__sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  margin-inline: auto;
  line-height: 1.65;
  margin-bottom: 28px;
}

.vs-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--hypro-blue, #1526BE);
  color: #fff;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 13px 32px;
  border-radius: 100px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.vs-hero__cta:hover { opacity: 0.88; }

/* Score strip ──────────────────────────────────────────────────────────── */

.vs-score-strip {
  background: var(--hypro-off-white, #F4F3EF);
  padding: 32px 24px;
  border-bottom: 1px solid #e8e7e3;
}

.vs-score-strip__inner {
  max-width: 560px;
  margin-inline: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
}

.vs-score-strip__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.vs-score-strip__num {
  font-family: var(--hypro-font-display, 'Yumex', sans-serif);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

.vs-score-strip__item--hypro .vs-score-strip__num {
  color: var(--hypro-blue, #1526BE);
}

.vs-score-strip__item--rival .vs-score-strip__num {
  color: var(--hypro-muted, #6B6B68);
}

.vs-score-strip__label {
  font-size: 0.8125rem;
  color: var(--hypro-muted, #6B6B68);
  line-height: 1.4;
}

.vs-score-strip__label strong {
  color: var(--hypro-near-black, #0c0c0a);
  font-weight: 700;
}

.vs-score-strip__sep {
  font-family: var(--hypro-font-display, 'Yumex', sans-serif);
  font-size: 1.5rem;
  font-weight: 900;
  color: rgba(0,0,0,0.18);
  padding-top: 6px;
  line-height: 3rem;
}

/* Comparison table ─────────────────────────────────────────────────────── */

.vs-table-section {
  padding: 60px 24px;
  background: #fff;
}

.vs-table-wrap {
  max-width: 800px;
  margin-inline: auto;
}

.vs-table__intro {
  font-size: 0.875rem;
  color: var(--hypro-muted, #6B6B68);
  text-align: center;
  margin-bottom: 28px;
  line-height: 1.6;
}

.vs-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 16px;
  box-shadow: 0 2px 24px rgba(0,0,0,0.07), 0 0 0 1px rgba(0,0,0,0.05);
}

.vs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  min-width: 480px;
}

/* Header row */
.vs-table thead tr {
  background: var(--hypro-near-black, #0c0c0a);
}

.vs-table__th-feature {
  padding: 16px 20px;
  text-align: left;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  width: 36%;
}

.vs-table__th {
  padding: 16px 20px;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  width: 32%;
}

.vs-table__th--hypro {
  background: var(--hypro-blue, #1526BE);
  color: #fff;
  position: relative;
}

.vs-table__th-pill {
  display: block;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 2px;
}

.vs-table__th--rival {
  color: rgba(255,255,255,0.6);
}

/* Body rows */
.vs-table tbody tr {
  border-bottom: 1px solid #f0efeb;
  transition: background 0.1s;
}

.vs-table tbody tr:last-child {
  border-bottom: none;
}

.vs-table tbody tr:hover {
  background: #fafaf8;
}

.vs-table__feature {
  padding: 14px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--hypro-near-black, #0c0c0a);
  text-align: left;
}

.vs-table__cell {
  padding: 14px 20px;
  text-align: center;
  color: var(--hypro-muted, #6B6B68);
  font-size: 0.9rem;
  line-height: 1.4;
  position: relative;
}

.vs-table__cell--hypro {
  background: #f0f2ff;
  font-weight: 500;
  color: var(--hypro-near-black, #0c0c0a);
}

.vs-table__cell--winner {
  background: #e8ecff;
  color: var(--hypro-blue, #1526BE);
  font-weight: 700;
}

.vs-table__cell--winner-rival {
  font-weight: 700;
  color: var(--hypro-near-black, #0c0c0a);
}

.vs-table__win-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: var(--hypro-blue, #1526BE);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 900;
  border-radius: 50%;
  margin-left: 6px;
  vertical-align: middle;
  flex-shrink: 0;
}

.vs-table__win-badge--rival {
  background: var(--hypro-near-black, #0c0c0a);
}

/* Verdict ──────────────────────────────────────────────────────────────── */

.vs-verdict {
  background: var(--hypro-near-black, #0c0c0a);
  padding: 72px 24px;
  text-align: center;
  color: #fff;
}

.vs-verdict__inner {
  max-width: 680px;
  margin-inline: auto;
}

.vs-verdict__eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 12px;
}

.vs-verdict__heading {
  font-family: var(--hypro-font-display, 'Yumex', sans-serif);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 28px;
  color: #fff;
}

.vs-verdict__quote {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.72);
  border-left: 3px solid var(--hypro-blue, #1526BE);
  padding-left: 20px;
  margin: 0 auto 36px;
  text-align: left;
  max-width: 600px;
}

.vs-verdict__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--hypro-blue, #1526BE);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 36px;
  border-radius: 100px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.vs-verdict__cta:hover { opacity: 0.88; }

/* Related comparisons ──────────────────────────────────────────────────── */

.vs-related {
  background: var(--hypro-off-white, #F4F3EF);
  padding: 48px 24px;
}

.vs-related__inner {
  max-width: 800px;
  margin-inline: auto;
}

.vs-related__heading {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hypro-muted, #6B6B68);
  margin-bottom: 20px;
  text-align: center;
}

.vs-related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.vs-related__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #fff;
  border: 1px solid #e8e7e3;
  border-radius: 12px;
  padding: 14px 18px;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.vs-related__card:hover {
  border-color: var(--hypro-blue, #1526BE);
  box-shadow: 0 2px 12px rgba(21,38,190,0.1);
}

.vs-related__card-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--hypro-near-black, #0c0c0a);
}

.vs-related__card-arrow {
  font-size: 0.875rem;
  color: var(--hypro-blue, #1526BE);
  flex-shrink: 0;
}

.vs-related__card--all {
  background: var(--hypro-blue, #1526BE);
  border-color: var(--hypro-blue, #1526BE);
}

.vs-related__card--all .vs-related__card-label,
.vs-related__card--all .vs-related__card-arrow {
  color: #fff;
}

.vs-related__card--all:hover {
  box-shadow: 0 2px 12px rgba(21,38,190,0.25);
}

/* VS mobile ────────────────────────────────────────────────────────────── */

@media (max-width: 640px) {
  .vs-hero__matchup { gap: 12px; }
  .vs-hero__divider { font-size: 1.25rem; }
  .vs-score-strip__inner { gap: 16px; }
  .vs-score-strip__num { font-size: 2.25rem; }
  .vs-related__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Glosario de proteínas
   ========================================================================== */

.glosario-intro {
  font-size: 1.0625rem;
  color: var(--hypro-muted, #6B6B68);
  margin-bottom: 2em;
  line-height: 1.65;
}

/* Índice de navegación alfabético */
.glosario-nav {
  background: var(--hypro-off-white, #F4F3EF);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 2.5em;
  font-size: 0.9375rem;
  line-height: 1.8;
}

.glosario-nav a {
  color: var(--hypro-blue, #1526BE);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.15s;
}

.glosario-nav a:hover { opacity: 0.7; }

/* Lista de definiciones */
.glosario-list {
  margin: 0;
  padding: 0;
}

.glosario-item {
  padding: 32px 0;
  border-bottom: 1px solid #e8e8e4;
  scroll-margin-top: 80px;
}

.glosario-item:first-child { border-top: 1px solid #e8e8e4; }

.glosario-term {
  font-family: var(--hypro-font-display, 'Yumex', sans-serif);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--hypro-near-black, #0c0c0a);
  margin-bottom: 6px;
  line-height: 1.2;
}

.glosario-alt {
  display: inline-block;
  font-family: var(--hypro-font-ui, 'DM Sans', sans-serif);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--hypro-muted, #6B6B68);
  margin-left: 8px;
  vertical-align: middle;
}

.glosario-def {
  margin: 12px 0 0;
  font-size: 1rem;
  line-height: 1.75;
  color: #1a1a18;
}

.glosario-def strong {
  font-weight: 700;
  color: var(--hypro-near-black, #0c0c0a);
}

.glosario-related {
  margin: 12px 0 0;
  font-size: 0.875rem;
  color: var(--hypro-muted, #6B6B68);
}

.glosario-related a {
  color: var(--hypro-blue, #1526BE);
  text-decoration: none;
  font-weight: 500;
}

.glosario-related a:hover { text-decoration: underline; }

/* CTA al final */
.glosario-cta {
  margin-top: 3em;
  padding: 28px 32px;
  background: var(--hypro-blue, #1526BE);
  border-radius: 16px;
  font-size: 1rem;
  color: #fff;
  line-height: 1.5;
}

.glosario-cta p,
.glosario-cta p:first-child { margin: 0; color: #fff; font-size: 1rem; font-weight: 400; }

.glosario-cta a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.glosario-cta a:hover { opacity: 0.85; }

@media (max-width: 640px) {
  .glosario-item { padding: 24px 0; }
  .glosario-term { font-size: 1.15rem; }
  .glosario-cta { padding: 20px; }
}
