/*!
 * ZZZ Fitness Club — Blog Page Stylesheet
 *
 * Depends on assets/css/main.css (loaded first).
 *
 * Sections:
 *   1.  Page Hero — blog bg image override
 *   2.  Blog Hub — count card, filter chips, layout
 *   3.  Blog List Panel — toolbar, cards, meta, tags, CTA
 *   4.  Blog Sidebar
 *   5.  Contact Highlights (blog variant)
 *   6.  SEO Content Block
 *   7.  Ghost + ghost-btn utilities
 *   8.  Responsive overrides
 *
 * No new JS needed — reveal IO, header-hide, WA float
 * all handled by main.js.
 *
 * @package ZZZ_Fitness_Theme
 * @version 1.0.0
 */

/* ============================================================================
   1. PAGE HERO — blog-specific background image
   ============================================================================ */

.page-hero--blog::before {
  background-image:
    linear-gradient(110deg,
      rgba(26, 26, 26, 0.96) 0%,
      rgba(26, 26, 26, 0.78) 42%,
      rgba(26, 26, 26, 0.55) 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Ghost CTA in hero */
.btn-ghost {
  background: rgba(0, 0, 0, 0.4);
  color: var(--text);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: .35s var(--ease);
}

.btn-ghost:hover {
  border-color: var(--accent);
  background: rgba(211, 47, 47, 0.12);
  transform: translateY(-3px);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.4);
}

.page-hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.page-hero-ctas .btn {
  white-space: nowrap;
}

@media (max-width: 600px) {
  .page-hero-ctas {
    width: 100%;
  }

  .page-hero-ctas .btn {
    flex: 1;
    min-width: 0;
    justify-content: center;
  }
}


/* ============================================================================
   2. BLOG HUB — count card + filter chips + two-column layout
   ============================================================================ */

.blog-hub {
  background:
    radial-gradient(circle at 8% 10%, rgba(211, 47, 47, 0.10), transparent 32%),
    radial-gradient(circle at 92% 42%, rgba(245, 124, 0, 0.06), transparent 34%),
    var(--bg);
  padding: 92px 0 72px;
  border-bottom: 1px solid var(--line);
}

/* Section head row: text left, count card right */
.blog-head-row {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: end;
  margin-bottom: 26px;
}

@media (min-width: 900px) {
  .blog-head-row {
    grid-template-columns: minmax(0, 1fr) 180px;
  }
}

/* Stat card — "07 Total Blogs" */
.blog-count-card {
  justify-self: start;
  width: 180px;
  padding: 20px 22px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(211, 47, 47, 0.16), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(211, 47, 47, 0.35);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28);
}

@media (min-width: 900px) {
  .blog-count-card {
    justify-self: end;
  }
}

.blog-count-card strong {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 44px;
  line-height: .9;
  letter-spacing: -0.05em;
  color: var(--accent);
}

.blog-count-card span {
  display: block;
  margin-top: 9px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
}

/* Filter chips */
.blog-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  margin-bottom: 32px;
}

.blog-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .035);
  border-radius: 999px;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color .3s var(--ease), background .3s var(--ease),
    color .3s var(--ease), transform .3s var(--ease);
}

.blog-chip:hover,
.blog-chip.active {
  border-color: rgba(211, 47, 47, .55);
  background: rgba(211, 47, 47, .12);
  color: var(--text);
  transform: translateY(-2px);
}

/* Two-column layout: list panel left, sidebar right */
.blog-list-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

@media (min-width: 1120px) {
  .blog-list-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
  }
}


/* ============================================================================
   3. BLOG LIST PANEL — toolbar + cards
   ============================================================================ */

.blog-list-panel {
  padding: 18px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.026);
  border: 1px solid rgba(255, 255, 255, 0.075);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.23);
}

/* Toolbar */
.blog-list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 8px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  margin-bottom: 16px;
}

.toolbar-kicker {
  display: block;
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
}

.blog-list-toolbar h3 {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--text);
}

.toolbar-link {
  flex-shrink: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  text-decoration: none;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.toolbar-link span {
  color: var(--accent);
}

.toolbar-link:hover span {
  color: var(--accent-hover);
}

/* Card stack */
.blog-list-stack {
  display: grid;
  gap: 18px;
}

/* Individual post card */
.blog-list-card {
  position: relative;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 18px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 12% 20%, rgba(211, 47, 47, 0.14), transparent 35%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.026));
  border: 1px solid rgba(211, 47, 47, 0.28);
  overflow: hidden;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.22);
  transition:
    transform .35s var(--ease), border-color .35s var(--ease),
    box-shadow .35s var(--ease), background .35s var(--ease);
}

/* Accent left-edge stripe */
.blog-list-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent-hover));
  opacity: .8;
  transition: opacity .35s var(--ease), width .35s var(--ease);
}

.blog-list-card:hover {
  transform: translateY(-4px);
  border-color: rgba(211, 47, 47, 0.56);
  background:
    radial-gradient(circle at 12% 20%, rgba(211, 47, 47, 0.18), transparent 36%),
    linear-gradient(135deg, rgba(211, 47, 47, 0.09), rgba(255, 255, 255, 0.032));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
}

.blog-list-card:hover::before {
  opacity: 1;
  width: 4px;
}

/* Thumbnail */
.blog-list-media {
  position: relative;
  display: block;
  height: 158px;
  border-radius: 18px;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .24);
}

.blog-list-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.62));
  pointer-events: none;
}

.blog-list-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .75s var(--ease), filter .75s var(--ease);
}

.blog-list-card:hover .blog-list-media img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.04);
}

/* Text content */
.blog-list-content {
  min-width: 0;
}

.blog-list-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 10px;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 10px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.blog-list-meta .post-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(211, 47, 47, 0.13);
  border: 1px solid rgba(211, 47, 47, 0.32);
  color: var(--accent);
  letter-spacing: .08em;
}

.blog-list-meta .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .8;
}

.blog-list-content h3 {
  margin: 0 0 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(24px, 2.25vw, 32px);
  line-height: 1.03;
  letter-spacing: -0.045em;
  color: var(--text);
}

.blog-list-content h3 a {
  text-decoration: none;
  transition: color .25s var(--ease);
  color: var(--text);
}

.blog-list-content h3 a:hover {
  color: var(--accent);
}

.blog-list-content p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
  margin: 0 0 14px;
  max-width: 640px;
}

.blog-list-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.blog-list-tags span {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.58);
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Read CTA button */
.blog-list-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 88px;
  padding: 13px 18px;
  border-radius: 999px;
  background: rgba(211, 47, 47, 0.12);
  border: 1px solid rgba(211, 47, 47, 0.34);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    background-color .3s var(--ease), border-color .3s var(--ease),
    transform .3s var(--ease), box-shadow .3s var(--ease);
}

.blog-list-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateX(3px);
  box-shadow: 0 10px 28px rgba(211, 47, 47, .28);
}

/* ============================================================
     PAGE HERO (shared page banner style — matched with Contact page)
     ============================================================ */
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 110px 0 100px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

/* Hero photograph + brand-tinted overlay stack */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(110deg,
      rgba(26, 26, 26, 0.95) 0%,
      rgba(26, 26, 26, 0.78) 38%,
      rgba(26, 26, 26, 0.55) 75%,
      rgba(26, 26, 26, 0.45) 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
}

/* Brand-red glow + subtle grid for texture */
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 18%, rgba(211, 47, 47, 0.20) 0%, transparent 40%),
    radial-gradient(circle at 12% 88%, rgba(245, 124, 0, 0.10) 0%, transparent 45%),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 60px 60px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 60px 60px;
  z-index: -1;
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
}

/* In-hero breadcrumb — replaces the old "Open Now" pill */
.page-hero .bc-list {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}

.page-hero .bc-list a {
  color: var(--muted);
  transition: color .3s var(--ease);
}

.page-hero .bc-list a:hover {
  color: var(--accent);
}

.page-hero .bc-list .sep {
  color: rgba(255, 255, 255, 0.25);
}

.page-hero .bc-list .current {
  color: var(--text);
}

.page-hero .section-title {
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
  max-width: 900px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.page-hero .section-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.65;
  max-width: 660px;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 36px;
}

/* Blog detail hero — full centre alignment */
.blog-detail-hero .page-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.blog-detail-hero .bc-list {
  justify-content: center;
}

.blog-detail-hero .section-title {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.blog-detail-hero .section-sub {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.page-hero-ctas .btn {
  white-space: nowrap;
}

@media (max-width: 600px) {
  .page-hero {
    padding: 80px 0 70px;
  }

  .page-hero-ctas {
    width: 100%;
  }

  .page-hero-ctas .btn {
    flex: 1;
    min-width: 0;
    justify-content: center;
  }
}

/* Standalone breadcrumb bar — kept for legacy structure but no longer used on this page */
.breadcrumb {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
}

.bc-list {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.bc-list a {
  color: var(--muted);
  transition: color .3s var(--ease);
}

.bc-list a:hover {
  color: var(--accent);
}

.bc-list .sep {
  color: rgba(255, 255, 255, 0.25);
}

.bc-list .current {
  color: var(--text);
}

/* Ghost button — secondary CTA in hero */
.btn-ghost {
  background: rgba(0, 0, 0, 0.4);
  color: var(--text);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  border-color: var(--accent);
  background: rgba(211, 47, 47, 0.12);
  transform: translateY(-3px);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.4);
}


/* ============================================================
   BLOG DETAILS PAGE — Premium Article UI
   Matches the blog list card visual system: warm red-tinted cards,
   rounded edges, dark theme, Inter typography and clear conversion blocks.
   ============================================================ */
.page-hero.blog-detail-hero::before {
  background-image:
    linear-gradient(110deg, rgba(26, 26, 26, .96) 0%, rgba(26, 26, 26, .82) 40%, rgba(26, 26, 26, .58) 74%, rgba(26, 26, 26, .48) 100%),
    url('https://zzzfitnessclub.com/wp-content/uploads/2026/04/85_11zon-scaled.webp');
}

/* Blog detail hero — clean image-only background (no grid, no glow), tighter height + smaller title */
.page-hero.blog-detail-hero {
  padding: 64px 0 56px;
}

.page-hero.blog-detail-hero::after {
  content: none;
  background: none;
}

.page-hero.blog-detail-hero .section-title {
  font-size: clamp(32px, 4.4vw, 56px);
  margin-bottom: 16px;
}

.page-hero.blog-detail-hero .section-sub {
  font-size: clamp(14px, 1.1vw, 16px);
  margin-bottom: 0;
}

.blog-detail-wrap {
  background:
    radial-gradient(circle at 7% 8%, rgba(211, 47, 47, .10), transparent 36%),
    radial-gradient(circle at 92% 42%, rgba(245, 124, 0, .06), transparent 32%),
    var(--bg);
  padding: 86px 0;
  border-bottom: 1px solid var(--line);
}

.blog-detail-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

@media (min-width: 1120px) {
  .blog-detail-shell {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 34px;
  }
}

.article-feature-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  /* Flat design — no card wrapper. Content sits directly on the page. */
}

.article-feature-media {
  position: relative;
  width: 100%;
  min-height: 430px;
  aspect-ratio: 16 / 8.4;
  overflow: hidden;
  background: #111;
  border-radius: 4px;
}

.article-feature-media img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: center;
  filter: saturate(.92) contrast(1.06);
}

.article-feature-content {
  padding: clamp(28px, 4vw, 46px) 0 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
}

.article-meta-row .post-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--accent);
  border: 1px solid rgba(211, 47, 47, .55);
  background: rgba(211, 47, 47, .12);
}

.article-meta-row .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .9;
}

.article-feature-content h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(34px, 5vw, 58px);
  line-height: .98;
  letter-spacing: -.05em;
  color: var(--text);
  margin: 0 0 18px;
}

.article-feature-content p {
  color: rgba(255, 255, 255, .76);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.72;
  max-width: 760px;
  margin: 0 0 24px;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-tags span,
.article-tags a {
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .065);
  border: 1px solid rgba(255, 255, 255, .10);
  color: rgba(255, 255, 255, .76);
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.article-body-card {
  margin-top: 44px;
  /* Flat design — no surrounding card. Article content sits on the page. */
}

.article-body-card h2,
.article-body-card h3 {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  letter-spacing: -.03em;
}

.article-body-card h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.08;
  margin: 32px 0 16px;
}

.article-body-card h2:first-child {
  margin-top: 0;
}

.article-body-card h3 {
  font-size: 22px;
  line-height: 1.2;
  margin: 26px 0 12px;
}

.article-body-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.82;
  margin: 0 0 18px;
}

.article-body-card strong {
  color: var(--text);
}

.article-body-card a {
  color: var(--accent);
  font-weight: 800;
}

.article-body-card ul,
.article-body-card ol {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 18px 0 24px;
}

.article-body-card li {
  position: relative;
  padding: 4px 0 4px 32px;
  color: rgba(255, 255, 255, .78);
  line-height: 1.72;
  font-size: 16px;
}

.article-body-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 4px;
  color: var(--accent);
  font-weight: 900;
  font-size: 16px;
}

.article-callout {
  margin: 32px 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--accent);
  background: transparent;
}

.article-callout .label {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.article-callout p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, .86);
}

.article-plan-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 22px 0 28px;
}

@media (min-width: 700px) {
  .article-plan-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.plan-mini-card {
  padding: 22px 0;
  border-top: 1px solid var(--line);
  background: transparent;
}

.plan-mini-card:last-child {
  border-bottom: 1px solid var(--line);
}

.plan-mini-card .price {
  font-family: 'Inter', sans-serif;
  font-size: 30px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -.04em;
  margin-bottom: 8px;
}

.plan-mini-card h3 {
  margin: 0 0 10px;
}

.plan-mini-card p {
  font-size: 14px;
  margin-bottom: 0;
}

.article-bottom-cta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 48px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
}

@media (min-width: 760px) {
  .article-bottom-cta {
    grid-template-columns: 1fr auto;
  }
}

.article-bottom-cta h3 {
  margin: 0 0 8px;
  font-size: 25px;
}

.article-bottom-cta p {
  margin: 0;
  font-size: 14px;
}

.article-bottom-cta .btn {
  white-space: nowrap;
}

/* In-article inline images */
.article-inline-figure {
  margin: 40px 0;
}

.article-inline-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.article-inline-figure figcaption {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
  padding-left: 2px;
}


@media (max-width: 1119px) {
  .article-sidebar {
    position: static;
    padding: 28px;
  }
}

@media (max-width: 600px) {
  .article-sidebar {
    padding: 24px;
    border-radius: 16px;
  }
}

/* ===== Right column wrapper (holds the standalone CTA + the unified card) ===== */
.sidebar-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-self: stretch;
  min-width: 0;
}

@media (max-width: 1119px) {
  .sidebar-column {
    align-self: auto;
  }
}

/* ===== Sidebar CTA Banner — separate section with bg image + overlay, no borders ===== */
.sidebar-cta-banner {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 320px;
  border-radius: 20px;
  overflow: hidden;
  background-color: #111;
  isolation: isolate;
}

.sidebar-cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://zzzfitnessclub.com/wp-content/uploads/2026/04/5_11zon.webp');
  background-size: cover;
  background-position: center;
  z-index: 0;
  transition: transform 1.2s var(--ease);
}

.sidebar-cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .20) 0%, rgba(0, 0, 0, .55) 45%, rgba(0, 0, 0, .94) 100%),
    radial-gradient(circle at 85% 8%, rgba(211, 47, 47, .55), transparent 55%);
  z-index: 1;
}

.sidebar-cta-banner:hover::before {
  transform: scale(1.04);
}

.sidebar-cta-banner-content {
  position: relative;
  z-index: 2;
  padding: 30px 28px 28px;
  width: 100%;
  color: #fff;
}

.sidebar-cta-banner .eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.sidebar-cta-banner h3 {
  font-family: 'Inter', sans-serif;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.05;
  margin: 0 0 12px;
  color: #fff;
}

.sidebar-cta-banner p {
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 22px;
}

.sidebar-cta-banner .btn {
  width: 100%;
  padding: 15px 20px;
  font-size: 12px;
  letter-spacing: .12em;
}

@media (max-width: 600px) {
  .sidebar-cta-banner {
    min-height: 280px;
    border-radius: 16px;
  }

  .sidebar-cta-banner-content {
    padding: 26px 22px 24px;
  }

  .sidebar-cta-banner h3 {
    font-size: 24px;
  }
}

.sidebar-card {
  padding: 26px 0;
  border: 0;
  border-radius: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  box-shadow: none;
}

.sidebar-card:first-child {
  border-top: 0;
  padding-top: 0;
}

.sidebar-card:last-child {
  padding-bottom: 0;
}

.sidebar-card.highlight {
  background: transparent;
  border-top: 1px solid var(--line);
  position: relative;
  padding-left: 18px;
}

.sidebar-card.highlight::before {
  content: '';
  position: absolute;
  left: 0;
  top: 26px;
  bottom: 26px;
  width: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.sidebar-card.highlight:first-child::before {
  top: 0;
}

.sidebar-card.highlight:last-child::before {
  bottom: 0;
}

.sidebar-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.02em;
  margin: 0 0 14px;
}

.sidebar-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 16px;
}

.sidebar-card .btn {
  width: 100%;
  padding: 14px 20px;
  font-size: 12px;
}

/* Sidebar category list */
.sidebar-category-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-category-list li {
  border-bottom: 1px solid var(--line);
}

.sidebar-category-list li:last-child {
  border-bottom: 0;
}

.sidebar-category-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  transition: color .25s var(--ease), padding-left .25s var(--ease);
}

.sidebar-category-list a::after {
  content: '→';
  font-size: 12px;
  color: var(--accent);
  opacity: 0;
  transition: opacity .25s var(--ease);
}

.sidebar-category-list a:hover {
  color: var(--accent);
  padding-left: 6px;
}

.sidebar-category-list a:hover::after {
  opacity: 1;
}

/* ===== Sidebar Book Free Trial Form (flat) ===== */
.sidebar-form {
  display: grid;
  gap: 16px;
}

.sidebar-form-group {
  display: grid;
  gap: 8px;
}

.sidebar-form label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--muted);
}

.sidebar-form input,
.sidebar-form select {
  width: 100%;
  padding: 14px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  transition: border-color .25s var(--ease), background .25s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.sidebar-form input::placeholder {
  color: rgba(255, 255, 255, .32);
  font-weight: 400;
}

.sidebar-form input:hover,
.sidebar-form select:hover {
  border-color: rgba(255, 255, 255, .22);
}

.sidebar-form input:focus,
.sidebar-form select:focus {
  border-color: var(--accent);
  background: rgba(211, 47, 47, .04);
}

.sidebar-form select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' opacity='0.6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
  cursor: pointer;
}

.sidebar-form select option {
  background: var(--bg-2);
  color: var(--text);
}

.sidebar-form button {
  width: 100%;
  margin-top: 6px;
  padding: 16px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background .25s var(--ease), transform .2s var(--ease), box-shadow .25s var(--ease);
  box-shadow: 0 10px 30px rgba(211, 47, 47, .32);
}

.sidebar-form button:hover {
  background: var(--accent-hover, #b91c1c);
  transform: translateY(-1px);
  box-shadow: 0 14px 40px rgba(211, 47, 47, .42);
}

.sidebar-form button:active {
  transform: translateY(0);
}

.sidebar-form .form-note {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}

.article-toc {
  display: grid;
  gap: 0;
}

.article-toc a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  color: var(--muted);
  background: transparent;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  transition: color .25s var(--ease), padding-left .25s var(--ease);
}

.article-toc a:last-child {
  border-bottom: 0;
}

.article-toc a:hover {
  color: var(--accent);
  padding-left: 6px;
}

.article-toc a span {
  color: var(--accent);
}

.quick-info-list {
  display: grid;
  gap: 11px;
}

.quick-info-list div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.quick-info-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.quick-info-list b {
  color: var(--text);
  font-size: 13px;
}

.quick-info-list span {
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

/* ============================================================================
   4. BLOG SIDEBAR
   ============================================================================ */

.blog-sidebar {
  position: sticky;
  top: 102px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .025));
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 20px;
  padding: 24px;
}

/* CTA card variant */
.sidebar-cta-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(211, 47, 47, .18), transparent 40%),
    linear-gradient(135deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .025));
}

.side-eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--accent);
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.sidebar-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.02em;
  margin: 0 0 12px;
  color: var(--text);
}

.sidebar-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
  margin: 0 0 18px;
}

.category-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.category-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: color .25s var(--ease), padding-left .25s var(--ease);
}

.category-list a:hover {
  color: var(--accent);
  padding-left: 6px;
}

.category-list span {
  color: var(--text-muted);
}

/* Mini contact card */
.blog-contact-mini b {
  color: var(--text);
}

.blog-contact-mini a {
  color: var(--accent);
}

.blog-contact-mini p {
  margin-bottom: 10px;
}


/* ============================================================================
   5. CONTACT HIGHLIGHTS (blog-page variant)
   ============================================================================ */

.contact-highlights-blog {
  background: var(--bg-2);
  padding: 76px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-highlights-blog .section-label {
  display: inline-flex;
  justify-content: center;
}

.ch-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 34px;
}

@media (min-width: 900px) {
  .ch-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.ch-card {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition:
    transform .35s var(--ease), border-color .35s var(--ease),
    box-shadow .35s var(--ease);
}

.ch-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .38);
}

.ch-card .ic {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(211, 47, 47, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
}

.ch-card svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ch-card h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 18px;
  margin: 0 0 8px;
  color: var(--text);
}

.ch-card p,
.ch-card a {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.ch-card a {
  text-decoration: none;
}

.ch-card a:hover {
  color: var(--accent);
}


/* ============================================================================
   6. SEO CONTENT BLOCK
   ============================================================================ */

.blog-seo-content {
  background: var(--bg);
  padding: 74px 0;
}

.blog-seo-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

@media (min-width: 900px) {
  .blog-seo-wrap {
    grid-template-columns: 1.1fr .9fr;
  }
}

.blog-seo-panel {
  padding: 30px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .08);
}

.blog-seo-panel h2,
.blog-seo-panel h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  letter-spacing: -.03em;
  margin: 0 0 14px;
  color: var(--text);
}

.blog-seo-panel h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
}

.blog-seo-panel h3 {
  font-size: 24px;
}

.blog-seo-panel p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.78;
  margin: 0 0 14px;
}

.blog-seo-panel ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 18px;
}

.blog-seo-panel li {
  color: var(--text-body);
  padding: 12px 14px;
  border-left: 2px solid var(--accent);
  background: rgba(255, 255, 255, .025);
  border-radius: 10px;
  font-size: 14px;
}


/* ============================================================================
   7. RESPONSIVE OVERRIDES
   ============================================================================ */

/* Tablet ≤1119px */
@media (max-width: 1119px) {
  .blog-sidebar {
    position: static;
  }
}

/* Tablet overlap 760–980px — hide third column */
@media (max-width: 980px) and (min-width: 761px) {
  .blog-list-card {
    grid-template-columns: 200px minmax(0, 1fr);
  }

  .blog-list-cta {
    grid-column: 2;
    justify-self: start;
    margin-top: -2px;
  }
}

/* Mobile ≤760px */
@media (max-width: 760px) {
  .blog-hub {
    padding: 68px 0 56px;
  }

  .blog-list-panel {
    padding: 12px;
    border-radius: 22px;
  }

  .blog-list-toolbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 8px 6px 16px;
  }

  .toolbar-link {
    align-items: flex-start;
  }

  .blog-list-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px;
  }

  .blog-list-media {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .blog-list-cta {
    width: 100%;
  }

  .contact-highlights-blog {
    padding: 56px 0;
  }

  .ch-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .ch-card {
    min-height: auto;
    padding: 18px;
  }

  .blog-seo-content {
    padding: 52px 0;
  }

  .blog-seo-panel {
    padding: 22px;
  }

  .blog-seo-panel h2 {
    font-size: 26px;
  }
}

/* Small phone ≤480px */
@media (max-width: 480px) {
  .blog-count-card strong {
    font-size: 36px;
  }

  .ch-grid {
    grid-template-columns: 1fr;
  }

  .blog-seo-panel {
    padding: 18px;
  }
}


/* ============================================================================
   BLOG DETAIL PAGE — single.php / template-blog-detail.php
   ============================================================================

   Sections (appended to blog.css):
     9.  Detail Hero — article hero banner
    10.  Article Layout — content column + sticky sidebar
    11.  Prose Typography — the_content() styles
    12.  Article Meta Bar (top + bottom)
    13.  Share Strip
    14.  Related Posts
    15.  Author Card
    16.  Detail Sidebar
    17.  Detail Responsive overrides

   ============================================================================ */


/* ============================================================================
   9. DETAIL HERO — article header banner with cover image
   ============================================================================ */

.article-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  padding: 0;
  background: var(--bg);
}

/* Cover image */
.article-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  z-index: -2;
  transition: transform 8s linear;
}

.article-hero:hover .article-hero-bg {
  transform: scale(1.03);
}

/* Dark gradient overlay */
.article-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(26, 26, 26, 0.45) 0%,
      rgba(26, 26, 26, 0.70) 40%,
      rgba(26, 26, 26, 0.96) 100%);
  z-index: -1;
  pointer-events: none;
}

/* Inner content */
.article-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 120px 0 56px;
}

/* Breadcrumb inside hero */
.article-hero .bc-list {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--muted);
  margin-bottom: 20px;
}

.article-hero .bc-list a {
  color: var(--muted);
  text-decoration: none;
  transition: color .25s var(--ease);
}

.article-hero .bc-list a:hover {
  color: var(--accent);
}

.article-hero .bc-list .sep {
  color: rgba(255, 255, 255, 0.25);
}

.article-hero .bc-list .current {
  color: rgba(255, 255, 255, 0.85);
}

/* Category + read-time pill row */
.article-hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.ah-cat {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: var(--accent);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  border-radius: 999px;
}

.ah-read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.65);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
}

.ah-read svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .7;
}

/* Article title */
.article-hero h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(32px, 5.5vw, 68px);
  line-height: 1.01;
  letter-spacing: -0.04em;
  color: var(--text);
  margin: 0 0 18px;
  max-width: 860px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

/* Lead summary */
.article-hero .article-lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.65;
  max-width: 640px;
  margin: 0 0 28px;
}

/* Author + date row */
.article-author-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.aa-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: var(--surface);
  border: 2px solid rgba(211, 47, 47, 0.5);
  flex-shrink: 0;
}

.aa-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.aa-info strong {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.aa-info span {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: .02em;
}


/* ============================================================================
   10. ARTICLE LAYOUT — two-column: content + sticky sidebar
   ============================================================================ */

.article-wrap {
  background: var(--bg);
  padding: 64px 0 100px;
  border-bottom: 1px solid var(--line);
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

@media (min-width: 1080px) {
  .article-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 52px;
  }
}

/* Content column outer wrapper */
.article-body {
  min-width: 0;
}

/* Tag pills — shown above the article body */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.article-tags a {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}

.article-tags a:hover {
  border-color: rgba(211, 47, 47, 0.5);
  color: var(--accent);
  transform: translateY(-2px);
}


/* ============================================================================
   11. PROSE TYPOGRAPHY — the_content() rendered inside .article-prose
   ============================================================================ */

.article-prose {
  font-family: 'Archivo', sans-serif;
  font-size: 17px;
  line-height: 1.80;
  color: var(--text-body);
  max-width: 780px;
}

/* Headings */
.article-prose h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.10;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 52px 0 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(211, 47, 47, 0.3);
}

.article-prose h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text);
  margin: 40px 0 14px;
}

.article-prose h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 32px 0 12px;
}

/* Paragraphs */
.article-prose p {
  margin: 0 0 22px;
  color: var(--text-body);
}

.article-prose p:last-child {
  margin-bottom: 0;
}

/* Bold & italic */
.article-prose strong {
  color: var(--text);
  font-weight: 700;
}

.article-prose em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.78);
}

/* Links */
.article-prose a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(211, 47, 47, 0.4);
  text-underline-offset: 3px;
  transition: color .25s var(--ease), text-decoration-color .25s var(--ease);
}

.article-prose a:hover {
  color: var(--accent-hover);
  text-decoration-color: rgba(245, 124, 0, 0.6);
}

/* Unordered list */
.article-prose ul {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-prose ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  font-size: 15.5px;
  color: var(--text-body);
  line-height: 1.6;
}

.article-prose ul li::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(211, 47, 47, 0.7);
  margin-top: 7px;
}

/* Ordered list */
.article-prose ol {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  counter-reset: art-ol;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-prose ol li {
  counter-increment: art-ol;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  font-size: 15.5px;
  color: var(--text-body);
  line-height: 1.6;
}

.article-prose ol li::before {
  content: counter(art-ol, decimal-leading-zero);
  flex-shrink: 0;
  min-width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(211, 47, 47, 0.12);
  border: 1px solid rgba(211, 47, 47, 0.3);
  border-radius: 50%;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: .04em;
  margin-top: 2px;
}

/* Blockquote */
.article-prose blockquote {
  margin: 32px 0;
  padding: 28px 30px;
  background: linear-gradient(135deg, rgba(211, 47, 47, 0.08), rgba(255, 255, 255, 0.025));
  border-left: 4px solid var(--accent);
  border-radius: 4px 16px 16px 4px;
  color: var(--text);
  font-size: 18px;
  font-style: italic;
  line-height: 1.65;
  position: relative;
}

.article-prose blockquote::before {
  content: '"';
  position: absolute;
  top: -16px;
  left: 20px;
  font-family: 'Inter', sans-serif;
  font-size: 72px;
  font-style: normal;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.25;
  line-height: 1;
}

/* Images */
.article-prose img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  margin: 32px 0;
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: block;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

/* Figure captions */
.article-prose figcaption {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: -18px;
  margin-bottom: 28px;
  font-style: italic;
}

/* Code */
.article-prose code {
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 2px 7px;
  color: var(--accent-hover);
}

.article-prose pre {
  background: #0d0d0d;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 24px;
  overflow-x: auto;
  margin: 28px 0;
}

.article-prose pre code {
  background: transparent;
  border: none;
  padding: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

/* HR */
.article-prose hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 44px 0;
}

/* Info/tip callout box — add class="tip" to a paragraph wrapper */
.article-prose .tip {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  background: rgba(245, 124, 0, 0.07);
  border: 1px solid rgba(245, 124, 0, 0.25);
  border-radius: 14px;
  margin: 28px 0;
  color: var(--text-body);
  font-size: 15px;
}

.article-prose .tip::before {
  content: '💡';
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Table */
.article-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 14px;
}

.article-prose th {
  background: rgba(211, 47, 47, 0.12);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 2px solid rgba(211, 47, 47, 0.3);
}

.article-prose td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-body);
  vertical-align: top;
}

.article-prose tr:last-child td {
  border-bottom: none;
}

.article-prose tr:hover td {
  background: rgba(255, 255, 255, 0.025);
}


/* ============================================================================
   12. ARTICLE META BAR (bottom) — tags + share
   ============================================================================ */

.article-meta-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.amb-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted);
  margin-bottom: 10px;
}


/* ============================================================================
   13. SHARE STRIP — social share buttons
   ============================================================================ */

.share-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.share-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted);
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .3s var(--ease), border-color .3s var(--ease),
    color .3s var(--ease), transform .3s var(--ease);
}

.share-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex-shrink: 0;
}

.share-btn:hover {
  transform: translateY(-2px);
}

.share-btn.wa {
  --sb: rgba(37, 211, 102, 0.15);
  --sb-h: #25d366;
}

.share-btn.fb {
  --sb: rgba(24, 119, 242, 0.12);
  --sb-h: #1877f2;
}

.share-btn.tw {
  --sb: rgba(29, 161, 242, 0.12);
  --sb-h: #1da1f2;
}

.share-btn.cp {
  --sb: rgba(255, 255, 255, 0.06);
  --sb-h: var(--accent);
}

.share-btn:hover {
  background: var(--sb);
  border-color: var(--sb-h);
  color: var(--text);
}


/* ============================================================================
   14. RELATED POSTS — 3-card grid below the article
   ============================================================================ */

.related-posts {
  background: var(--bg-2);
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}

.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}

@media (min-width: 700px) {
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1050px) {
  .related-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.related-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition:
    transform .35s var(--ease), border-color .35s var(--ease),
    box-shadow .35s var(--ease);
}

.related-card:hover {
  transform: translateY(-5px);
  border-color: rgba(211, 47, 47, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.42);
}

.related-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #111;
}

.related-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}

.related-card:hover .related-card-img img {
  transform: scale(1.06);
}

.related-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.75));
  pointer-events: none;
}

/* Category badge overlay */
.related-card-img .rc-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 11px;
  background: var(--accent);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: 999px;
}

.related-card-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.related-card-body .rc-meta {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.related-card-body h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0;
  flex: 1;
}

.related-card:hover .related-card-body h3 {
  color: var(--accent);
}

.related-card-body .rc-read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: auto;
  transition: gap .25s var(--ease);
}

.related-card:hover .related-card-body .rc-read {
  gap: 10px;
}


/* ============================================================================
   15. AUTHOR CARD — shown below the article, above related posts
   ============================================================================ */

.author-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px;
  background: linear-gradient(135deg, rgba(211, 47, 47, 0.07), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(211, 47, 47, 0.22);
  border-radius: 20px;
  margin-top: 48px;
}

.author-card-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: var(--surface);
  border: 3px solid rgba(211, 47, 47, 0.4);
  flex-shrink: 0;
}

.author-card-info {
  flex: 1;
  min-width: 0;
}

.author-card-info .ac-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
  display: block;
}

.author-card-info h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 8px;
}

.author-card-info p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}


/* ============================================================================
   16. DETAIL SIDEBAR — sticky: trial CTA + related posts + contact mini
   ============================================================================ */

.article-sidebar {
  position: sticky;
  top: 102px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Progress bar — tracks reading progress */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  z-index: 999;
  transition: width .1s linear;
}

/* Sidebar cards re-use .sidebar-card from the hub page */
.article-sidebar .sidebar-card {
  padding: 22px;
}

/* Mini post list (recent articles in sidebar) */
.mini-post-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mini-post-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.mini-post-list li:last-child {
  border-bottom: none;
}

.mini-post-list a {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  text-decoration: none;
  color: inherit;
  transition: color .25s var(--ease);
}

.mini-post-list a:hover {
  color: var(--accent);
}

.mini-post-list .mp-thumb {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--surface);
}

.mini-post-list .mp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}

.mini-post-list a:hover .mp-thumb img {
  transform: scale(1.08);
}

.mini-post-list .mp-info {
  min-width: 0;
}

.mini-post-list .mp-cat {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 4px;
}

.mini-post-list .mp-title {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Table of contents (sidebar) */
.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.toc-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background .25s var(--ease), color .25s var(--ease), padding-left .25s var(--ease);
}

.toc-list a::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(211, 47, 47, 0.4);
  transition: background .25s var(--ease);
}

.toc-list a:hover,
.toc-list a.active {
  background: rgba(211, 47, 47, 0.08);
  color: var(--text);
  padding-left: 16px;
}

.toc-list a:hover::before,
.toc-list a.active::before {
  background: var(--accent);
}


/* ============================================================================
   17. DETAIL RESPONSIVE OVERRIDES
   ============================================================================ */

/* Tablet ≤1079px */
@media (max-width: 1079px) {
  .article-sidebar {
    position: static;
  }

  .article-hero {
    min-height: 400px;
  }

  .article-wrap {
    padding: 48px 0 80px;
  }
}

/* Mobile ≤768px */
@media (max-width: 768px) {
  .article-hero {
    min-height: 340px;
  }

  .article-hero-inner {
    padding: 90px 0 44px;
  }

  .article-hero h1 {
    font-size: clamp(28px, 8vw, 44px);
  }

  .article-hero .article-lead {
    font-size: 15px;
  }

  .article-wrap {
    padding: 36px 0 64px;
  }

  .article-prose {
    font-size: 16px;
  }

  .article-prose h2 {
    font-size: 26px;
    margin: 38px 0 14px;
  }

  .article-prose h3 {
    font-size: 22px;
    margin: 30px 0 12px;
  }

  .article-prose blockquote {
    padding: 20px 22px;
    font-size: 16px;
  }

  .article-prose ul li,
  .article-prose ol li {
    font-size: 14.5px;
    padding: 10px 14px;
  }

  .author-card {
    flex-direction: column;
    gap: 16px;
    padding: 22px;
  }

  .author-card-avatar {
    width: 58px;
    height: 58px;
  }

  .share-strip {
    gap: 8px;
  }

  .share-btn {
    padding: 8px 12px;
    font-size: 10px;
  }

  .related-posts {
    padding: 56px 0;
  }

  .related-grid {
    gap: 14px;
  }

  .related-card-img {
    height: 170px;
  }

  .related-card-body {
    padding: 18px;
  }

  .related-card-body h3 {
    font-size: 16px;
  }
}

/* Small phone ≤480px */
@media (max-width: 480px) {
  .article-hero-inner {
    padding: 72px 0 36px;
  }

  .article-hero h1 {
    font-size: 26px;
  }

  .article-hero .article-lead {
    font-size: 14px;
  }

  .article-prose {
    font-size: 15px;
  }

  .article-prose h2 {
    font-size: 22px;
  }

  .article-prose h3 {
    font-size: 19px;
  }

  .article-tags a {
    font-size: 10px;
    padding: 5px 10px;
  }

  .share-btn span {
    display: none;
  }

  /* icons only on tiny screens */
}