/**
 * Blog Common Styles
 * Shared styles for all blog pages across both brands
 */

/* =============================================
   CSS Variables (defaults, overridden by brand)
   ============================================= */
:root {
  --blog-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --blog-font-serif: Georgia, 'Times New Roman', serif;
  --blog-font-mono: 'Fira Code', Consolas, Monaco, monospace;

  --blog-primary: #3B82F6;
  --blog-primary-dark: #2563EB;
  --blog-secondary: #64748B;
  --blog-accent: #F59E0B;

  --blog-bg: #FFFFFF;
  --blog-bg-alt: #F8FAFC;
  --blog-text: #1E293B;
  --blog-text-muted: #64748B;
  --blog-border: #E2E8F0;

  --blog-success: #10B981;
  --blog-warning: #F59E0B;
  --blog-error: #EF4444;

  --blog-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --blog-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --blog-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);

  --blog-radius-sm: 0.375rem;
  --blog-radius: 0.5rem;
  --blog-radius-lg: 0.75rem;

  --blog-max-width: 1200px;
  --blog-content-width: 720px;

  /* Layout v2: Grid system for Content + Sidebar layout */
  --blog-main-width: 780px;
  --blog-sidebar-width: 300px;
  --blog-layout-gap: 2rem;
  --blog-fullwidth-max: 1400px;
  --blog-ad-min-height: 250px;
  /* IAB Medium Rectangle height for future AdSense */
}

/* =============================================
   Reset & Base Styles
   ============================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body.blog-page {
  font-family: var(--blog-font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--blog-text);
  background: var(--blog-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blog-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--blog-primary-dark);
  text-decoration: underline;
}

/* =============================================
   Typography
   ============================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.75em;
  color: var(--blog-text);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

ul,
ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  border-left: 4px solid var(--blog-primary);
  background: var(--blog-bg-alt);
  font-style: italic;
}

code {
  font-family: var(--blog-font-mono);
  font-size: 0.875em;
  background: var(--blog-bg-alt);
  padding: 0.125em 0.375em;
  border-radius: var(--blog-radius-sm);
}

pre {
  background: #1E293B;
  color: #E2E8F0;
  padding: 1.5rem;
  border-radius: var(--blog-radius);
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

pre code {
  background: none;
  padding: 0;
  color: inherit;
}

/* =============================================
   Header
   ============================================= */
.blog-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--blog-bg);
  border-bottom: 1px solid var(--blog-border);
}

.blog-header__container {
  max-width: var(--blog-max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.blog-header__logo img {
  height: 40px;
  width: auto;
}

.blog-header__nav-list {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
}

.blog-header__nav-list a {
  color: var(--blog-text);
  font-weight: 500;
  font-size: 0.9375rem;
}

.blog-header__nav-list a:hover {
  color: var(--blog-primary);
  text-decoration: none;
}

.blog-header__menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.blog-header__menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--blog-text);
  transition: transform 0.2s ease;
}

@media (max-width: 768px) {
  .blog-header__nav {
    display: none;
  }

  .blog-header__menu-toggle {
    display: flex;
  }
}

/* =============================================
   Main Content
   ============================================= */
.blog-main {
  max-width: var(--blog-max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.blog-main--centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
}

/* =============================================
   Post Content
   ============================================= */
.blog-post {
  max-width: var(--blog-content-width);
  margin: 0 auto;
}

/* =============================================
   Layout v2: Content + Sidebar Grid System
   ============================================= */

/**
 * Layout v2 uses CSS Grid to create a content + sidebar layout on desktop.
 * The grid has 4 columns: [gutter] [main] [sidebar] [gutter]
 * 
 * Grid areas:
 * - header: spans full width inside gutters
 * - hero: full bleed (spans all 4 columns)
 * - main: primary content column (780px)
 * - sidebar: sticky sidebar (300px)
 * - fullwidth: full-width sections like testimonials
 * - footer: spans full width inside gutters
 */

.blog-layout-v2 {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "header"
    "hero"
    "content"
    "fullwidth"
    "footer";
  gap: 0;
  min-height: 100vh;
}

/* Content area wrapper for main + sidebar */
.blog-layout-v2 .blog-content-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "main" "sidebar";
  gap: var(--blog-layout-gap);
  max-width: calc(var(--blog-main-width) + var(--blog-sidebar-width) + var(--blog-layout-gap));
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Desktop: Two-column layout for main + sidebar */
@media (min-width: 1024px) {
  .blog-layout-v2 .blog-content-wrapper {
    grid-template-columns: var(--blog-main-width) var(--blog-sidebar-width);
    grid-template-areas: "main sidebar";
    padding: 0 2rem;
  }
}

/* Grid area assignments for outer layout */
.blog-layout-v2 .blog-header {
  grid-area: header;
}

.blog-layout-v2 .blog-hero-wrapper {
  grid-area: hero;
}

.blog-layout-v2 .blog-content-wrapper {
  grid-area: content;
}

.blog-layout-v2 .blog-fullwidth-sections {
  grid-area: fullwidth;
  max-width: var(--blog-fullwidth-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.blog-layout-v2 .blog-footer {
  grid-area: footer;
}

/* Grid area assignments for content wrapper (main + sidebar) */
.blog-layout-v2 .blog-main-content {
  grid-area: main;
  min-width: 0;
  /* Prevent overflow */
}

.blog-layout-v2 [id] {
  scroll-margin-top: 6rem;
}

.blog-layout-v2 .blog-sidebar {
  grid-area: sidebar;
}


/* Sidebar - sticky positioning */
.blog-sidebar {
  display: none;
  /* Hidden by default, shown in v2 */
}

.blog-layout-v2 .blog-sidebar {
  display: block;
  padding-top: 2rem;
}

.blog-sidebar__inner {
  position: sticky;
  top: 5rem;
  /* Below header */
  max-height: calc(100vh - 6rem);
  overflow-y: auto;
}

/* Sidebar TOC */
.blog-sidebar__toc {
  background: var(--blog-bg-alt);
  border: 1px solid var(--blog-border);
  border-radius: var(--blog-radius);
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.blog-sidebar__toc-title {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blog-text-muted);
  margin-bottom: 0.75rem;
}

.blog-sidebar__toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-sidebar__toc-list li {
  margin-bottom: 0.25rem;
}

.blog-sidebar__toc-list a {
  display: block;
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  color: var(--blog-text-muted);
  border-radius: var(--blog-radius-sm);
  transition: color 0.2s, background 0.2s;
}

.blog-sidebar__toc-list a:hover,
.blog-sidebar__toc-list a.active {
  color: var(--blog-primary);
  background: var(--blog-bg);
  text-decoration: none;
}

.blog-sidebar__toc-list a.active {
  font-weight: 500;
}

/* Sidebar Key Facts box */
.blog-sidebar__facts {
  background: var(--blog-bg-alt);
  border: 1px solid var(--blog-border);
  border-radius: var(--blog-radius);
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.blog-sidebar__facts-title {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blog-text-muted);
  margin-bottom: 0.75rem;
}

.blog-sidebar__facts-list {
  display: grid;
  gap: 0.5rem;
}

.blog-sidebar__facts-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9375rem;
}

.blog-sidebar__facts-label {
  color: var(--blog-text-muted);
}

.blog-sidebar__facts-value {
  font-weight: 600;
  color: var(--blog-text);
}

.blog-sidebar__facts-value--highlight {
  color: var(--blog-primary);
}

/* Sidebar CTA */
.blog-sidebar__cta {
  margin-bottom: 1.5rem;
}

.blog-sidebar__cta .btn {
  width: 100%;
  text-align: center;
  padding: 0.875rem 1rem;
}

/* Ad Slots (future AdSense) */
.blog-ad-slot,
.blog-sidebar__ad-slot {
  width: 100%;
  min-height: var(--blog-ad-min-height);
  background: var(--blog-bg-alt);
  border: 1px dashed var(--blog-border);
  border-radius: var(--blog-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
}

.blog-ad-slot[data-ad-enabled="true"],
.blog-sidebar__ad-slot[data-ad-enabled="true"] {
  background: transparent;
  border: none;
}

.blog-ad-slot[data-ad-enabled="false"],
.blog-sidebar__ad-slot[data-ad-enabled="false"] {
  display: none;
  /* Hide when ads not enabled */
}

.blog-ad-slot[data-ad-size="300x600"],
.blog-sidebar__ad-slot[data-ad-size="300x600"] {
  min-height: 600px;
}

.blog-ad-slot[data-ad-size="336x280"],
.blog-sidebar__ad-slot[data-ad-size="336x280"] {
  min-height: 280px;
}

.blog-ad-slot[data-ad-size="728x90"],
.blog-sidebar__ad-slot[data-ad-size="728x90"] {
  min-height: 90px;
}

.blog-ad-slot[data-ad-size="320x50"],
.blog-sidebar__ad-slot[data-ad-size="320x50"] {
  min-height: 50px;
}

/* Full-width sections container */
.blog-fullwidth-sections {
  width: 100%;
}

.blog-section--fullwidth {
  width: 100%;
  max-width: var(--blog-fullwidth-max);
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* Full-width section visual enhancement */
.blog-section--fullwidth .blog-testimonials__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.blog-section--fullwidth .blog-ingredients__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Mobile fixed CTA bar */
.blog-mobile-cta-bar {
  display: none;
}

/* =============================================
   Layout v2: Mobile Responsive
   ============================================= */
@media (max-width: 1023px) {
  .blog-layout-v2 {
    grid-template-columns: minmax(0, 1fr);
    /* Prevent grid blowout */
    grid-template-areas:
      "header"
      "hero"
      "content"
      "fullwidth"
      "footer";
    gap: 0;
    overflow-x: hidden;
    /* Force clip horizontal overflow */
    width: 100%;
  }

  .blog-layout-v2 .blog-main-content {
    padding: 0;
    /* Wrapper handles horizontal padding */
    min-width: 0;
    /* Prevent flex/grid item blowout */
  }

  /* Ensure wrapper has padding on mobile */
  .blog-layout-v2 .blog-content-wrapper {
    grid-template-areas: "main";
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 0 1.25rem;
    /* Slightly reduced from desktop 1.5rem */
    width: 100%;
    box-sizing: border-box;
  }

  .blog-layout-v2 .blog-mobile-inline-toc {
    display: block;
  }

  .blog-layout-v2 .blog-sidebar {
    display: none;
  }

  .blog-sidebar__inner {
    position: relative;
    top: 0;
    max-height: none;
    overflow-y: visible;
  }

  .blog-sidebar__toc {
    display: none;
    /* Use inline TOC on mobile */
  }

  .blog-sidebar__ad-slot {
    display: none;
    /* No sidebar ads on mobile */
  }

  /* Full-width sections revert to responsive grids */
  .blog-section--fullwidth .blog-testimonials__grid {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .blog-section--fullwidth .blog-testimonials__grid::-webkit-scrollbar {
    display: none;
  }

  .blog-section--fullwidth .blog-testimonial {
    flex: 0 0 auto;
    width: min(420px, 100%);
    max-width: 100%;
    scroll-snap-align: start;
  }

  .blog-section--fullwidth .blog-ingredients__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Show mobile CTA bar */
  .blog-mobile-cta-bar {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--blog-bg);
    padding: 0.75rem 1rem;
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    border-top: 1px solid var(--blog-border);
  }

  .blog-mobile-cta-bar .btn {
    width: 100%;
    text-align: center;
  }

  /* Add padding to body to account for fixed CTA bar */
  .blog-layout-v2 .blog-footer {
    padding-bottom: calc(5rem + env(safe-area-inset-bottom));
  }
}

@media (max-width: 640px) {
  .blog-section--fullwidth .blog-testimonials__grid {
    grid-template-columns: 1fr;
  }

  .blog-section--fullwidth .blog-ingredients__grid {
    grid-template-columns: 1fr;
  }
}



/* Hero Block */
.blog-hero {
  position: relative;
  margin-bottom: 2rem;
  padding: 3rem 1.5rem;
  /* Added horizontal padding */
}

.blog-hero__image {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.55);
}

.blog-hero--affiliate .blog-hero__image+.blog-hero__content {
  color: white;
}

.blog-hero--health .blog-hero__image+.blog-hero__content {
  color: white;
}

.blog-hero__content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  /* Constrain text width for readability */
  margin: 0 auto;
  /* Center content */
  padding: 0 1rem;
  /* Extra padding on mobile */
}

/* Layout v2: More precise hero styling */
.blog-layout-v2 .blog-hero {
  padding: 4rem 2rem;
}

.blog-layout-v2 .blog-hero__content {
  max-width: 800px;
  padding: 0;
}

.blog-hero__headline {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  margin-bottom: 0.5rem;
  color: inherit;
  line-height: 1.2;
  overflow-wrap: break-word;
  /* Prevent long words from breaking layout */
}

.blog-hero__subheadline {
  font-size: clamp(1rem, 4vw, 1.25rem);
  opacity: 0.9;
  margin-bottom: 1rem;
}

.blog-hero__image+.blog-hero__content .blog-hero__headline,
.blog-hero__image+.blog-hero__content .blog-hero__subheadline,
.blog-hero__image+.blog-hero__content .blog-hero__meta {
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.blog-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  opacity: 0.8;
}

/* Rich Text Block */
.blog-richtext {
  margin-bottom: 2rem;
}

.blog-richtext__content h2 {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--blog-border);
}

.blog-richtext__content h3 {
  margin-top: 2rem;
}

/* Image Block */
.blog-image {
  margin: 2rem 0;
}

.blog-image--center {
  text-align: center;
}

.blog-image--left {
  float: left;
  margin-right: 1.5rem;
  max-width: 50%;
}

.blog-image--right {
  float: right;
  margin-left: 1.5rem;
  max-width: 50%;
}

.blog-image--full {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.blog-image img {
  border-radius: var(--blog-radius);
  box-shadow: var(--blog-shadow);
}

.blog-image figcaption {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--blog-text-muted);
  text-align: center;
}

/* Steps Block */
.blog-steps {
  margin: 2rem 0;
  padding: 1.5rem;
  border: 1px solid var(--blog-border);
  border-radius: var(--blog-radius-lg);
  background: var(--blog-bg-alt);
}

.blog-steps__heading {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.blog-steps__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.blog-steps__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  background: var(--blog-bg);
  border: 1px solid var(--blog-border);
  border-radius: var(--blog-radius);
}

.blog-steps__number {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--blog-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.blog-steps__title {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.blog-steps__description {
  color: var(--blog-text-muted);
  margin-bottom: 0;
}

.blog-steps__image {
  margin-top: 0.75rem;
  border-radius: var(--blog-radius);
  box-shadow: var(--blog-shadow-sm);
}

/* CTA Block */
.blog-cta {
  padding: 2rem;
  margin: 2rem 0;
  border-radius: var(--blog-radius-lg);
  text-align: center;
}

.blog-cta--primary {
  background: linear-gradient(135deg, var(--blog-primary), var(--blog-primary-dark));
  color: white;
}

.blog-cta--secondary {
  background: var(--blog-bg-alt);
  border: 1px solid var(--blog-border);
}

.blog-cta--subtle {
  background: transparent;
  border: 2px dashed var(--blog-border);
}

.blog-cta__headline {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.blog-cta__subheadline {
  margin-bottom: 1rem;
  opacity: 0.9;
}

.blog-cta__button {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: white;
  color: var(--blog-primary);
  font-weight: 600;
  border-radius: var(--blog-radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-cta--primary .blog-cta__button:hover {
  transform: translateY(-2px);
  box-shadow: var(--blog-shadow-lg);
  text-decoration: none;
}

.blog-cta--secondary .blog-cta__button {
  background: var(--blog-primary);
  color: white;
}

/* FAQ Block */
.blog-faq {
  margin: 2rem 0;
}

.blog-faq__title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.blog-faq__item {
  border: 1px solid var(--blog-border);
  border-radius: var(--blog-radius);
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.blog-faq__question {
  padding: 1rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--blog-bg-alt);
  list-style: none;
}

.blog-faq__question::-webkit-details-marker {
  display: none;
}

.blog-faq__question::after {
  content: '+';
  float: right;
  font-size: 1.25rem;
}

.blog-faq__item[open] .blog-faq__question::after {
  content: '−';
}

.blog-faq__answer {
  padding: 1rem 1.5rem;
}

/* Quote Block */
.blog-quote {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  position: relative;
}

.blog-quote__layout {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.blog-quote__media {
  flex-shrink: 0;
}

.blog-quote__image {
  width: 80px;
  height: 80px;
  border-radius: 9999px;
  object-fit: cover;
  box-shadow: var(--blog-shadow);
  background: var(--blog-bg);
}

.blog-quote__content {
  flex: 1;
  min-width: 0;
}

.blog-quote--pullquote .blog-quote__layout {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@media (max-width: 480px) {
  .blog-quote__image {
    width: 64px;
    height: 64px;
  }
}

.blog-quote--blockquote {
  border-left: 4px solid var(--blog-primary);
  background: var(--blog-bg-alt);
}

.blog-quote--pullquote {
  font-size: 1.5rem;
  text-align: center;
  border: none;
  background: none;
}

.blog-quote--testimonial {
  background: var(--blog-bg-alt);
  border-radius: var(--blog-radius-lg);
  border: none;
}

.blog-quote__text {
  font-style: italic;
  margin-bottom: 0.75rem;
}

.blog-quote__footer {
  font-size: 0.875rem;
  color: var(--blog-text-muted);
}

.blog-quote__author {
  font-weight: 600;
}

/* Testimonials Block */
.blog-testimonials {
  margin: 3rem 0;
}

.blog-testimonials__title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.blog-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 1024px) {
  .blog-testimonials--carousel .blog-testimonials__carousel {
    position: relative;
  }

  .blog-testimonials--carousel .blog-testimonials__grid {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0 2.75rem 0.5rem;
    scroll-padding: 0 2.75rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .blog-testimonials--carousel .blog-testimonials__grid::-webkit-scrollbar {
    display: none;
  }

  .blog-testimonials--carousel .blog-testimonial {
    flex: 0 0 auto;
    width: 320px;
    scroll-snap-align: start;
  }

  .blog-testimonials--carousel .blog-carousel-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid var(--blog-border);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--blog-shadow);
    color: var(--blog-text);
    cursor: pointer;
    z-index: 2;
  }

  .blog-testimonials--carousel .blog-carousel-arrow--prev {
    left: 0.5rem;
  }

  .blog-testimonials--carousel .blog-carousel-arrow--next {
    right: 0.5rem;
  }

  .blog-testimonials--carousel .blog-carousel-arrow:hover {
    background: rgba(248, 250, 252, 0.96);
  }

  .blog-testimonials--carousel .blog-carousel-arrow:focus-visible {
    outline: 3px solid rgba(59, 130, 246, 0.45);
    outline-offset: 2px;
  }

  .blog-testimonials--carousel .blog-carousel-arrow:disabled {
    opacity: 0.45;
    cursor: default;
  }
}

.blog-carousel-hint {
  display: none;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--blog-text-muted);
  text-align: center;
  user-select: none;
}

.blog-carousel-hint__arrow {
  display: inline-block;
  margin-left: 0.25rem;
  font-weight: 700;
}

@media (max-width: 1023px) {
  .blog-section--fullwidth .blog-carousel-hint {
    display: block;
  }
}

@media (max-width: 640px) {
  .blog-carousel-hint {
    display: block;
  }
}

.blog-testimonial {
  border: 1px solid var(--blog-border);
  border-radius: var(--blog-radius-lg);
  background: var(--blog-bg-alt);
  padding: 1.25rem;
  box-shadow: var(--blog-shadow-sm);
  text-align: center;
}

.blog-testimonial__avatar {
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: center;
}

.blog-testimonial__avatar-img {
  width: 72px;
  height: 72px;
  border-radius: 9999px;
  object-fit: cover;
  border: 3px solid rgba(16, 185, 129, 0.35);
  background: var(--blog-bg);
}

.blog-testimonial__name {
  font-weight: 700;
  margin-top: 0.25rem;
}

.blog-testimonial__meta {
  font-size: 0.875rem;
  color: var(--blog-text-muted);
  margin-top: 0.15rem;
}

.blog-testimonial__rating {
  margin-top: 0.5rem;
  color: #fbbf24;
  letter-spacing: 0.02em;
}

.blog-testimonial__text {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  color: var(--blog-text);
  overflow-wrap: break-word;
}

@media (max-width: 900px) {
  .blog-testimonials__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .blog-testimonials__grid {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .blog-testimonials__grid::-webkit-scrollbar {
    display: none;
  }

  .blog-testimonial {
    flex: 0 0 auto;
    width: min(420px, 100%);
    max-width: 100%;
    scroll-snap-align: start;
  }
}

/* Author Box */
.blog-author-box {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--blog-bg-alt);
  border-radius: var(--blog-radius-lg);
  margin: 2rem 0;
}

.blog-author-box__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.blog-author-box__name {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.blog-author-box__name a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}

.blog-author-box__credentials {
  font-weight: 400;
  font-size: 0.875rem;
  color: var(--blog-text-muted);
  margin-left: 0.5rem;
}

.blog-author-box__bio {
  font-size: 0.9375rem;
  color: var(--blog-text-muted);
  margin-bottom: 0.75rem;
}

.blog-author-box__social {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
}

/* Ingredients (Collection) Block */
.blog-ingredients {
  margin: 3rem 0;
}

.blog-ingredients__title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.blog-ingredients__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 768px) {
  .blog-ingredients__grid {
    grid-template-columns: 1fr;
  }
}

.blog-ingredients__toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.blog-ingredients__toggle-button {
  display: none;
}

.blog-ingredients__toggle-label--open {
  display: none;
}

@media (min-width: 1024px) {
  .blog-ingredients--carousel .blog-ingredients__carousel {
    position: relative;
  }

  .blog-ingredients--carousel .blog-ingredients__grid {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0 2.75rem 0.5rem;
    scroll-padding: 0 2.75rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .blog-ingredients--carousel .blog-ingredients__grid::-webkit-scrollbar {
    display: none;
  }

  .blog-ingredients--carousel .blog-ingredient-card {
    flex: 0 0 auto;
    width: 320px;
    scroll-snap-align: start;
  }

  .blog-ingredients--carousel .blog-carousel-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid var(--blog-border);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--blog-shadow);
    color: var(--blog-text);
    cursor: pointer;
    z-index: 2;
  }

  .blog-ingredients--carousel .blog-carousel-arrow--prev {
    left: 0.5rem;
  }

  .blog-ingredients--carousel .blog-carousel-arrow--next {
    right: 0.5rem;
  }

  .blog-ingredients--carousel .blog-carousel-arrow:hover {
    background: rgba(248, 250, 252, 0.96);
  }

  .blog-ingredients--carousel .blog-carousel-arrow:focus-visible {
    outline: 3px solid rgba(59, 130, 246, 0.45);
    outline-offset: 2px;
  }

  .blog-ingredients--carousel .blog-carousel-arrow:disabled {
    opacity: 0.45;
    cursor: default;
  }

  .blog-carousel-arrow__icon {
    font-size: 1.6rem;
    line-height: 1;
  }
}

@media (max-width: 1023px) {
  .blog-ingredients--mobile-collapsible .blog-ingredients__toggle:not(:checked) ~ .blog-ingredients__grid .blog-ingredient-card:nth-child(n+4),
  .blog-ingredients--mobile-collapsible .blog-ingredients__toggle:not(:checked) ~ .blog-ingredients__carousel .blog-ingredient-card:nth-child(n+4) {
    display: none;
  }

  .blog-ingredients--mobile-collapsible .blog-ingredients__toggle-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem auto 0;
    padding: 0.75rem 1rem;
    border: 1px solid var(--blog-border);
    border-radius: var(--blog-radius);
    background: var(--blog-bg);
    color: var(--blog-primary);
    font-weight: 600;
    cursor: pointer;
  }

  .blog-ingredients--mobile-collapsible .blog-ingredients__toggle-button:hover {
    background: var(--blog-bg-alt);
  }

  .blog-ingredients--mobile-collapsible .blog-ingredients__toggle:checked ~ .blog-ingredients__toggle-button .blog-ingredients__toggle-label--closed {
    display: none;
  }

  .blog-ingredients--mobile-collapsible .blog-ingredients__toggle:checked ~ .blog-ingredients__toggle-button .blog-ingredients__toggle-label--open {
    display: inline;
  }
}

.blog-ingredient-card {
  border: 1px solid var(--blog-border);
  border-radius: var(--blog-radius-lg);
  background: var(--blog-bg-alt);
  padding: 1.25rem;
  box-shadow: var(--blog-shadow-sm);
}

.blog-ingredient-card__header {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.blog-ingredient-card__image {
  width: 80px;
  height: 80px;
  border-radius: var(--blog-radius);
  object-fit: cover;
  box-shadow: var(--blog-shadow);
  background: var(--blog-bg);
  flex-shrink: 0;
}

.blog-ingredient-card__name {
  margin: 0;
}

.blog-ingredient-card__scientific,
.blog-ingredient-card__nickname {
  color: var(--blog-text-muted);
  font-size: 0.9375rem;
}

.blog-ingredient-card__benefits {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
}

.blog-ingredient-card__details {
  margin-top: 0.75rem;
  border-top: 1px solid var(--blog-border);
  padding-top: 0.75rem;
  display: flex;
  flex-direction: column;
}

.blog-ingredient-card__summary {
  cursor: pointer;
  color: var(--blog-primary);
  font-weight: 600;
  list-style: none;
  order: 0;
}

.blog-ingredient-card__details-content {
  order: 1;
}

.blog-ingredient-card__details[open] .blog-ingredient-card__summary {
  order: 2;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--blog-border);
}

.blog-ingredient-card__summary-label--open {
  display: none;
}

.blog-ingredient-card__details[open] .blog-ingredient-card__summary-label--closed {
  display: none;
}

.blog-ingredient-card__details[open] .blog-ingredient-card__summary-label--open {
  display: inline;
}

.blog-ingredient-card__summary::-webkit-details-marker {
  display: none;
}

.blog-ingredient-card__summary::after {
  content: '+';
  float: right;
  font-size: 1.25rem;
}

.blog-ingredient-card__details[open] .blog-ingredient-card__summary::after {
  content: '−';
}

.blog-ingredient-card__details-content {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.75rem;
}

.blog-ingredient-card__details-label {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.blog-ingredient-card__details-list {
  margin: 0;
  padding-left: 1.25rem;
}

.blog-ingredient-card__details-source {
  color: var(--blog-text-muted);
  font-size: 0.9375rem;
}

.blog-ingredient-card__details-html p {
  margin: 0.5rem 0;
}

.blog-ingredient-card__details-html p:first-child {
  margin-top: 0;
}

.blog-ingredient-card__details-html p:last-child {
  margin-bottom: 0;
}

.blog-ingredient-card__details-html ul,
.blog-ingredient-card__details-html ol {
  margin: 0.5rem 0;
}

.blog-ingredient-card__details-html details {
  margin-top: 0.5rem;
}

.blog-ingredient-card__details-html summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--blog-primary);
}

/* Ingredient Block */
.blog-ingredient {
  margin: 2rem 0;
  padding: 1.75rem;
  border: 1px solid var(--blog-border);
  border-radius: var(--blog-radius-lg);
  background: var(--blog-bg-alt);
}

.blog-ingredient__name {
  margin-bottom: 0.25rem;
}

.blog-ingredient__scientific {
  color: var(--blog-text-muted);
  margin-bottom: 0.5rem;
}

.blog-ingredient__nickname {
  color: var(--blog-text-muted);
  margin-bottom: 0;
}

.blog-ingredient__image {
  margin: 1rem 0 1.25rem;
  border-radius: var(--blog-radius);
  box-shadow: var(--blog-shadow);
}

.blog-ingredient__section {
  margin-top: 1.25rem;
}

.blog-ingredient__benefits {
  margin: 0.75rem 0 0;
}

.blog-ingredient__studies {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
}

.blog-ingredient__study-source {
  color: var(--blog-text-muted);
  font-size: 0.9375rem;
}

/* References Block */
.blog-references {
  margin: 3rem 0 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--blog-border);
}

.blog-references__title {
  font-size: 1.5rem;
}

.blog-references__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.blog-references__item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.5rem;
  align-items: start;
}

.blog-references__marker {
  color: var(--blog-text-muted);
  font-family: var(--blog-font-mono);
}

.blog-references__text {
  color: var(--blog-text);
}

.blog-references__link {
  white-space: nowrap;
  font-size: 0.875rem;
}

.blog-references__access-date {
  grid-column: 2 / -1;
  color: var(--blog-text-muted);
  font-size: 0.875rem;
}

/* Comparison Table */
.blog-comparison {
  margin: 2rem 0;
  overflow-x: auto;
}

.blog-comparison__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.blog-comparison__table th,
.blog-comparison__table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--blog-border);
}

.blog-comparison__table th {
  background: var(--blog-bg-alt);
  font-weight: 600;
}

.blog-comparison__table .badge {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  background: var(--blog-success);
  color: white;
  font-size: 0.75rem;
  border-radius: 999px;
  margin-left: 0.5rem;
}

/* Pros/Cons Block */
.blog-proscons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

@media (max-width: 640px) {
  .blog-proscons {
    grid-template-columns: 1fr;
  }
}

.blog-proscons__col {
  padding: 1.5rem;
  border-radius: var(--blog-radius);
}

.blog-proscons__col--pros {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
}

.blog-proscons__col--cons {
  background: #FEF2F2;
  border: 1px solid #FECACA;
}

.blog-proscons__col h4 {
  margin-bottom: 1rem;
}

.blog-proscons__col--pros h4 {
  color: var(--blog-primary-dark);
}

.blog-proscons__col--cons h4 {
  color: #B91C1C;
}

.blog-proscons__col ul {
  margin: 0;
  padding-left: 1.25rem;
}

/* Verdict Block */
.blog-verdict {
  padding: 2rem;
  margin: 2rem 0;
  border-radius: var(--blog-radius-lg);
  text-align: center;
}

.blog-verdict--highly-recommended {
  background: linear-gradient(135deg, #059669, #10B981);
  color: white;
}

.blog-verdict--recommended {
  background: linear-gradient(135deg, #0891B2, #06B6D4);
  color: white;
}

.blog-verdict--neutral {
  background: var(--blog-bg-alt);
  border: 1px solid var(--blog-border);
}

.blog-verdict--not-recommended {
  background: #FEF2F2;
  border: 1px solid #FECACA;
}

.blog-verdict__title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.blog-verdict__rating {
  margin-bottom: 1rem;
}

.blog-verdict__score {
  font-size: 2.5rem;
  font-weight: 700;
}

.blog-verdict__label {
  display: block;
  font-size: 0.875rem;
  opacity: 0.9;
}

.blog-verdict__cta {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: white;
  color: var(--blog-primary);
  font-weight: 600;
  border-radius: var(--blog-radius);
  margin-top: 1rem;
}

/* Video Block */
.blog-video {
  margin: 2rem 0;
}

.blog-video__wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--blog-radius);
  background: #000;
}

.blog-video__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Divider */
.blog-divider {
  border: none;
  height: 1px;
  background: var(--blog-border);
  margin: 2rem 0;
}

.blog-divider--dashed {
  background: none;
  border-top: 2px dashed var(--blog-border);
}

.blog-divider--dotted {
  background: none;
  border-top: 2px dotted var(--blog-border);
}

/* TOC Block */
.blog-toc,
.blog-mobile-inline-toc {
  background: var(--blog-bg-alt);
  padding: 1.5rem;
  border-radius: var(--blog-radius);
  margin: 2rem 0;
}

.blog-mobile-inline-toc {
  display: none;
}

.blog-toc__title,
.blog-mobile-inline-toc__title {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.blog-toc__list,
.blog-mobile-inline-toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-toc__list a,
.blog-mobile-inline-toc__list a {
  display: block;
  padding: 0.375rem 0;
  color: var(--blog-text);
  font-size: 0.9375rem;
}

.blog-toc__list a:hover,
.blog-mobile-inline-toc__list a:hover {
  color: var(--blog-primary);
}

.blog-toc__list a.active,
.blog-mobile-inline-toc__list a.active {
  color: var(--blog-primary);
  font-weight: 500;
}

/* Disclaimer Block */
.blog-disclaimer {
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: var(--blog-radius);
  font-size: 0.875rem;
}

.blog-disclaimer--fda {
  background: #FEF9C3;
  border: 1px solid #FDE047;
}

.blog-disclaimer--affiliate {
  background: #F0F9FF;
  border: 1px solid #BAE6FD;
}

.blog-disclaimer p {
  margin-bottom: 0.75rem;
}

.blog-disclaimer p:last-child {
  margin-bottom: 0;
}

/* =============================================
   Category/Listing Pages
   ============================================= */
.blog-category-header {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--blog-border);
}

.blog-category-header h1 {
  margin-bottom: 0.5rem;
}

.blog-category-header p {
  color: var(--blog-text-muted);
  margin: 0;
}

.blog-post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.blog-post-card {
  background: var(--blog-bg);
  border-radius: var(--blog-radius-lg);
  overflow: hidden;
  box-shadow: var(--blog-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--blog-shadow-lg);
}

.blog-post-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-post-card__content {
  padding: 1.5rem;
}

.blog-post-card__title {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.blog-post-card__title a {
  color: var(--blog-text);
}

.blog-post-card__title a:hover {
  color: var(--blog-primary);
  text-decoration: none;
}

.blog-post-card__excerpt {
  color: var(--blog-text-muted);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-post-card__meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--blog-text-muted);
}

/* =============================================
   Related Posts Block
   ============================================= */
.blog-related {
  margin: 3rem 0;
}

.blog-related__title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.blog-related__image-link {
  display: block;
  text-decoration: none;
}

.blog-related__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.blog-related__list {
  display: grid;
  gap: 1rem;
}

.blog-related--list .blog-post-card {
  display: flex;
  align-items: stretch;
}

.blog-related--list .blog-related__image-link {
  width: 120px;
  flex-shrink: 0;
}

.blog-related--list .blog-post-card__image {
  width: 120px;
  height: 120px;
  object-fit: cover;
}

.blog-related--list .blog-post-card__content {
  padding: 1rem;
}

@media (max-width: 768px) {
  .blog-related__grid {
    grid-template-columns: 1fr;
  }

  .blog-related--list .blog-related__image-link {
    width: 96px;
  }

  .blog-related--list .blog-post-card__image {
    width: 96px;
    height: 96px;
  }
}

/* =============================================
   Author Page
   ============================================= */
.blog-author-header {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--blog-border);
}

.blog-author-header__avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.blog-author-header__credentials {
  color: var(--blog-text-muted);
  font-size: 1rem;
  margin-top: 0.25rem;
}

.blog-author-header__bio {
  margin-top: 1rem;
  color: var(--blog-text-muted);
}

.blog-author-posts h2 {
  margin-bottom: 1.5rem;
}

.blog-post-list-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--blog-border);
}

.blog-post-list-item h3 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.blog-post-list-item__meta {
  font-size: 0.875rem;
  color: var(--blog-text-muted);
}

/* =============================================
   Homepage
   ============================================= */
.blog-hero-home {
  text-align: center;
  padding: 4rem 0;
  margin-bottom: 3rem;
}

.blog-hero-home h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.blog-hero-home p {
  font-size: 1.25rem;
  color: var(--blog-text-muted);
}

.blog-categories {
  margin-bottom: 3rem;
}

.blog-categories h2 {
  margin-bottom: 1.5rem;
}

.blog-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.blog-category-card {
  padding: 1.5rem;
  background: var(--blog-bg-alt);
  border-radius: var(--blog-radius);
  transition: background 0.2s ease;
}

.blog-category-card:hover {
  background: var(--blog-primary);
  color: white;
  text-decoration: none;
}

.blog-category-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.blog-category-card p {
  font-size: 0.875rem;
  opacity: 0.8;
  margin: 0;
}

.blog-recent-posts h2 {
  margin-bottom: 1.5rem;
}

/* =============================================
   404 Page
   ============================================= */
.blog-404 {
  text-align: center;
}

.blog-404 h1 {
  font-size: 6rem;
  margin-bottom: 0.5rem;
  opacity: 0.2;
}

.blog-404 p {
  font-size: 1.25rem;
  color: var(--blog-text-muted);
  margin-bottom: 2rem;
}

/* =============================================
   Footer
   ============================================= */
.blog-footer {
  background: var(--blog-bg-alt);
  border-top: 1px solid var(--blog-border);
  margin-top: 4rem;
  padding: 2rem 0;
}

.blog-footer__container {
  max-width: var(--blog-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.blog-footer__disclaimer {
  padding: 1.5rem;
  background: #FEF9C3;
  border: 1px solid #FDE047;
  border-radius: var(--blog-radius);
  font-size: 0.8125rem;
  margin-bottom: 2rem;
}

.blog-footer__disclaimer p {
  margin-bottom: 0.75rem;
}

.blog-footer__disclaimer p:last-child {
  margin-bottom: 0;
}

.blog-footer__links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.blog-footer__links a {
  font-size: 0.875rem;
  color: var(--blog-text-muted);
}

.blog-footer__copyright {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--blog-text-muted);
}

/* =============================================
   Utility Classes
   ============================================= */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--blog-primary);
  color: white;
  font-weight: 600;
  border-radius: var(--blog-radius);
  text-decoration: none;
  transition: background 0.2s ease;
}

.btn:hover {
  background: var(--blog-primary-dark);
  color: white;
  text-decoration: none;
}

/* =============================================
   Responsive Adjustments
   ============================================= */
@media (max-width: 768px) {
  :root {
    --blog-content-width: 100%;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .blog-hero__headline {
    font-size: 2rem;
  }

  .blog-hero-home h1 {
    font-size: 2rem;
  }

  .blog-author-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .blog-author-box {
    flex-direction: column;
    text-align: center;
  }
}
