
    :root {
      --primary: #5e3bee;
      --primary-hover: #4827d0;
      --primary-light: #ebe8fc;
      --primary-soft: #f4f3fc;
      --heading: #0a0a4a;
      --body: #6b6b8c;
      --border: #e8e6f5;
      --gradient-primary: linear-gradient(135deg, #6f57e9 0%, #5e3bee 100%);
      --shadow-sm: 0 4px 20px rgba(94,59,238,0.06);
      --shadow-md: 0 8px 40px rgba(94,59,238,0.10);
    }
    * { margin: 0; padding: 0; box-sizing: border-box; }
    body.blog-page { background: var(--primary-soft); font-family: 'Mulish', sans-serif; color: var(--body); line-height: 1.7; }
    a { color: inherit; }
    .container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

    /* HEADER */
    header { position: sticky; top: 0; background: rgba(244,243,252,0.92); backdrop-filter: blur(10px); z-index: 100; padding: 22px 0; border-bottom: 1px solid rgba(94,59,238,0.06); }
    nav { display: flex; align-items: center; justify-content: space-between; }
    .logo { font-size: 28px; font-weight: 900; letter-spacing: 1.5px; background: linear-gradient(90deg, #0a0a4a 0%, #5e3bee 50%, #c5b3ff 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-decoration: none; }
    .nav-links { display: flex; list-style: none; align-items: center; gap: 36px; }
    .nav-links a { color: var(--heading); text-decoration: none; font-weight: 600; font-size: 15px; transition: color 0.25s; }
    .nav-links a:hover, .nav-links a.active { color: var(--primary); }
    .btn-download { background: var(--primary); color: white !important; padding: 14px 32px; border-radius: 50px; font-weight: 700; box-shadow: 0 8px 24px rgba(94,59,238,0.25); transition: 0.3s; }
    .btn-download:hover { background: var(--primary-hover); transform: translateY(-2px); }

    /* HERO - compact */
    .page-hero {
      padding: 70px 0 110px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .page-hero .container { position: relative; z-index: 2; }

    /* Animation lines (falling vertical lines, matching homepage) */
    .anim-lines {
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 100%;
      max-width: 1240px;
      height: 100%;
      pointer-events: none;
      z-index: 0;
    }
    .anim-lines span {
      position: absolute;
      top: 0;
      width: 1px;
      height: 140px;
      background: linear-gradient(180deg, transparent 0%, rgba(94, 59, 238, 0.4) 50%, transparent 100%);
      animation: anim-drop 6s linear infinite;
      opacity: 0;
    }
    .anim-lines span:nth-child(1) { left: 7%;  animation-delay: 0s;   }
    .anim-lines span:nth-child(2) { left: 18%; animation-delay: 0.7s; }
    .anim-lines span:nth-child(3) { left: 30%; animation-delay: 1.4s; }
    .anim-lines span:nth-child(4) { left: 42%; animation-delay: 2.1s; }
    .anim-lines span:nth-child(5) { left: 56%; animation-delay: 2.8s; }
    .anim-lines span:nth-child(6) { left: 68%; animation-delay: 3.5s; }
    .anim-lines span:nth-child(7) { left: 80%; animation-delay: 4.2s; }
    .anim-lines span:nth-child(8) { left: 91%; animation-delay: 4.9s; }
    .anim-lines span:nth-child(9) { left: 97%; animation-delay: 5.6s; }

    @keyframes anim-drop {
      0%   { transform: translateY(-150px); opacity: 0; }
      15%  { opacity: 0.7; }
      85%  { opacity: 0.7; }
      100% { transform: translateY(450px); opacity: 0; }
    }

    /* Hero wave divider */
    .hero-wave {
      position: absolute;
      bottom: 0; left: 0; right: 0;
      width: 100%;
      height: 90px;
      pointer-events: none;
      z-index: 1;
    }
    .hero-wave svg { width: 100%; height: 100%; display: block; }

    .breadcrumbs {
      display: inline-flex; gap: 10px;
      font-size: 13px; color: var(--body);
      align-items: center;
      background: white;
      padding: 8px 20px;
      border-radius: 50px;
      box-shadow: var(--shadow-sm);
      margin-bottom: 22px;
    }
    .breadcrumbs a { color: var(--primary); text-decoration: none; font-weight: 700; }
    .breadcrumbs i { font-size: 11px; opacity: 0.5; }
    .page-hero h1 { font-size: 50px; font-weight: 700; color: var(--heading); line-height: 1.1; letter-spacing: -1px; margin-bottom: 14px; }
    .page-hero h1 span { color: var(--primary); }
    .page-hero p { font-size: 17px; max-width: 600px; margin: 0 auto; }

    /* MAIN LAYOUT */
    .main-layout {
      display: grid;
      grid-template-columns: 1fr 320px;
      gap: 50px;
      padding: 20px 0 80px;
      align-items: start;
    }

    /* MAIN COL */
    .main-col {
      display: flex;
      flex-direction: column;
      gap: 24px;
    }

    /* Featured (horizontal large) */
    .post-card-featured {
      background: white;
      border-radius: 22px;
      overflow: hidden;
      box-shadow: var(--shadow-sm);
      transition: 0.35s;
      display: grid;
      grid-template-columns: 1fr 1fr;
      align-items: stretch;
    }
    .post-card-featured:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
    .post-card-featured .img {
      background: var(--gradient-primary);
      position: relative;
      min-height: 320px;
      overflow: hidden;
    }
    .post-card-featured .img .badge {
      position: absolute; top: 18px; left: 18px;
      background: white; color: var(--primary);
      padding: 8px 16px; border-radius: 50px;
      font-size: 11px; font-weight: 700;
      text-transform: uppercase; letter-spacing: 1.5px;
      z-index: 2;
    }
    .post-card-featured .content { padding: 32px; display: flex; flex-direction: column; justify-content: center; }
    .post-card-featured .cat-tag {
      display: inline-block;
      background: var(--primary-light); color: var(--primary);
      padding: 6px 14px; border-radius: 50px;
      font-size: 11px; font-weight: 700;
      text-transform: uppercase; letter-spacing: 1px;
      margin-bottom: 14px;
      align-self: flex-start;
    }
    .post-card-featured h2 {
      font-size: 28px; color: var(--heading);
      font-weight: 700; line-height: 1.2;
      margin-bottom: 12px; letter-spacing: -0.5px;
    }
    .post-card-featured h2 a { color: inherit; text-decoration: none; transition: color 0.3s; }
    .post-card-featured h2 a:hover { color: var(--primary); }
    .post-card-featured > div > p { color: var(--body); font-size: 15px; margin-bottom: 18px; }
    .post-meta {
      display: flex; gap: 14px; align-items: center;
      font-size: 13px; color: var(--body); font-weight: 600;
      flex-wrap: wrap; margin-bottom: 18px;
    }
    .post-meta .author { display: flex; align-items: center; gap: 8px; color: var(--heading); font-weight: 700; }
    .post-meta .meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--border); }
    .author-avatar-sm { width: 28px; height: 28px; border-radius: 50%; background: var(--gradient-primary); color: white; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; }
    .btn-read {
      display: inline-flex; align-items: center; gap: 8px;
      background: var(--primary); color: white;
      padding: 12px 24px; border-radius: 50px;
      text-decoration: none; font-weight: 700;
      font-size: 13px; transition: 0.3s;
      box-shadow: 0 6px 18px rgba(94,59,238,0.25);
      align-self: flex-start;
    }
    .btn-read:hover { background: var(--primary-hover); transform: translateY(-2px); }

    /* Regular post card horizontal */
    .post-card {
      background: white;
      border-radius: 18px;
      overflow: hidden;
      box-shadow: var(--shadow-sm);
      display: grid;
      grid-template-columns: 220px 1fr;
      transition: 0.35s;
    }
    .post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
    .post-card .img {
      background: var(--gradient-primary);
      position: relative;
      min-height: 200px;
      overflow: hidden;
    }
    .post-card .content { padding: 24px; display: flex; flex-direction: column; }
    .post-card .cat-tag {
      display: inline-block;
      color: var(--primary);
      font-size: 11px; font-weight: 700;
      letter-spacing: 1.5px; text-transform: uppercase;
      margin-bottom: 10px;
    }
    .post-card h3 {
      font-size: 19px; color: var(--heading);
      font-weight: 700; line-height: 1.3;
      margin-bottom: 10px; letter-spacing: -0.3px;
    }
    .post-card h3 a { color: inherit; text-decoration: none; transition: color 0.3s; }
    .post-card h3 a:hover { color: var(--primary); }
    .post-card > div > p { color: var(--body); font-size: 14px; margin-bottom: 14px; line-height: 1.6; }
    .post-card .meta-row, .post-card-featured .meta-row { display: flex; justify-content: space-between; align-items: center; margin-top: auto; font-size: 12.5px; color: var(--body); font-weight: 600; }
    .post-card .read-link, .post-card-featured .read-link { color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 11px; text-decoration: none; }
    .post-card .read-link:hover, .post-card-featured .read-link:hover { gap: 8px; }

    /* SIDEBAR */
    .sidebar {
      position: sticky;
      top: 100px;
      display: flex;
      flex-direction: column;
      gap: 24px;
    }
    .sidebar-card {
      background: white;
      border-radius: 18px;
      padding: 24px;
      box-shadow: var(--shadow-sm);
    }
    .sidebar-card h4 {
      font-size: 16px; font-weight: 700;
      color: var(--heading);
      margin-bottom: 18px;
      letter-spacing: -0.2px;
      position: relative;
      padding-bottom: 12px;
    }
    .sidebar-card h4::after {
      content: ""; position: absolute;
      bottom: 0; left: 0;
      width: 32px; height: 3px;
      background: var(--primary);
      border-radius: 2px;
    }

    /* Search */
    .sidebar-search {
      display: flex;
      background: var(--primary-soft);
      border-radius: 50px;
      padding: 5px 5px 5px 20px;
      align-items: center;
    }
    .sidebar-search input { border: none; outline: none; background: transparent; flex: 1; padding: 8px 0; font-family: inherit; font-size: 14px; color: var(--heading); }
    .sidebar-search input::placeholder { color: #aaa6c0; }
    .sidebar-search button { background: var(--primary); color: white; border: none; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.3s; }
    .sidebar-search button:hover { background: var(--primary-hover); }

    /* Popular posts */
    .popular-list { display: flex; flex-direction: column; gap: 18px; }
    .popular-item {
      display: grid;
      grid-template-columns: 64px 1fr;
      gap: 14px;
      align-items: center;
      cursor: pointer;
      transition: 0.3s;
    }
    .popular-item:hover .popular-title { color: var(--primary); }
    .popular-thumb {
      width: 64px; height: 64px;
      border-radius: 12px;
      background: var(--gradient-primary);
      overflow: hidden;
      position: relative;
    }
    .popular-content { display: flex; flex-direction: column; gap: 4px; }
    .popular-cat {
      font-size: 10px; font-weight: 700;
      color: var(--primary);
      letter-spacing: 1px; text-transform: uppercase;
    }
    .popular-title {
      font-size: 13.5px; font-weight: 700;
      color: var(--heading); line-height: 1.35;
      transition: color 0.3s;
      text-decoration: none;
    }
    .popular-date { font-size: 11.5px; color: var(--body); font-weight: 600; }

    /* Categories */
    .cat-list { list-style: none; display: flex; flex-direction: column; gap: 4px; }
    .cat-list a {
      display: flex; justify-content: space-between; align-items: center;
      padding: 11px 14px;
      border-radius: 10px;
      text-decoration: none;
      color: var(--heading);
      font-weight: 600; font-size: 14px;
      transition: 0.3s;
    }
    .cat-list a:hover { background: var(--primary-light); color: var(--primary); }
    .cat-list .count {
      background: var(--primary-soft); color: var(--primary);
      padding: 2px 10px; border-radius: 50px;
      font-size: 12px; font-weight: 700;
      transition: 0.3s;
    }
    .cat-list a:hover .count { background: var(--primary); color: white; }

    /* Tags cloud */
    .tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
    .tag-cloud a {
      display: inline-block;
      background: var(--primary-soft);
      color: var(--heading);
      padding: 6px 14px;
      border-radius: 50px;
      text-decoration: none;
      font-size: 12.5px;
      font-weight: 700;
      transition: 0.3s;
    }
    .tag-cloud a:hover { background: var(--primary); color: white; }

    /* Sidebar newsletter */
    .sidebar-newsletter {
      background: var(--gradient-primary);
      border-radius: 18px;
      padding: 28px 24px;
      color: white;
      position: relative;
      overflow: hidden;
    }
    .sidebar-newsletter::before {
      content: ""; position: absolute;
      top: -40px; right: -40px;
      width: 140px; height: 140px;
      background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 70%);
      border-radius: 50%;
    }
    .sidebar-newsletter h4 {
      font-size: 20px; color: white;
      font-weight: 700; margin-bottom: 8px;
      position: relative;
      padding-bottom: 0;
    }
    .sidebar-newsletter h4::after { display: none; }
    .sidebar-newsletter p { font-size: 13.5px; color: rgba(255,255,255,0.88); margin-bottom: 18px; position: relative; }
    .sidebar-newsletter form { display: flex; flex-direction: column; gap: 10px; position: relative; }
    .sidebar-newsletter input { padding: 12px 18px; border: none; border-radius: 50px; outline: none; font-family: inherit; font-size: 13.5px; color: var(--heading); }
    .sidebar-newsletter button {
      background: var(--heading); color: white;
      border: none; padding: 12px; border-radius: 50px;
      font-family: inherit; font-weight: 700;
      cursor: pointer; transition: 0.3s; font-size: 13px;
    }
    .sidebar-newsletter button:hover { background: #1a1a6e; }

    /* PAGINATION */
    .pagination { display: flex; justify-content: center; gap: 10px; padding: 40px 0 10px; list-style: none; flex-wrap: wrap; }
    .pagination a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; border-radius: 50%; background: white; color: var(--heading); text-decoration: none; font-weight: 700; font-size: 14px; transition: 0.3s; box-shadow: var(--shadow-sm); }
    .pagination a.active, .pagination a:hover { background: var(--primary); color: white; }
    .pagination .arrow { width: auto; padding: 0 22px; border-radius: 50px; gap: 8px; }

    /* Responsive */
    @media (max-width: 992px) {
      .main-layout { grid-template-columns: 1fr; gap: 30px; }
      .sidebar { position: static; }
      .page-hero h1 { font-size: 40px; }
      .post-card-featured { grid-template-columns: 1fr; }
      .post-card-featured .img { min-height: 220px; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 700px) {
      .nav-links { display: none; }
      .page-hero h1 { font-size: 32px; }
      .post-card { grid-template-columns: 1fr; }
      .post-card .img { min-height: 180px; }
      .footer-grid { grid-template-columns: 1fr; }
    }
  


:root {
  --primary: #5e3bee;
  --primary-hover: #4827d0;
  --primary-light: #ebe8fc;
  --primary-soft: #f4f3fc;
  --heading: #0a0a4a;
  --body: #4d4d6b;
  --body-light: #6b6b8c;
  --border: #e8e6f5;
  --white: #ffffff;
  --gradient-primary: linear-gradient(135deg, #6f57e9 0%, #5e3bee 100%);
  --shadow-sm: 0 4px 20px rgba(94,59,238,0.06);
  --shadow-md: 0 8px 40px rgba(94,59,238,0.10);
  --shadow-lg: 0 20px 60px rgba(94,59,238,0.15);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

a { color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

.btn-download { background: var(--primary); color: white !important; padding: 14px 32px; border-radius: 50px; font-weight: 700; box-shadow: 0 8px 24px rgba(94,59,238,0.25); transition: 0.3s; }
.btn-download:hover { background: var(--primary-hover); transform: translateY(-2px); }

/* Hero */
.article-hero { padding: 70px 0 110px; text-align: center; position: relative; overflow: hidden; }
.article-hero .container { position: relative; z-index: 2; }
.breadcrumbs { display: inline-flex; gap: 10px; font-size: 13px; color: var(--body-light); align-items: center; background: white; padding: 8px 20px; border-radius: 50px; box-shadow: var(--shadow-sm); margin-bottom: 24px; }
.breadcrumbs a { color: var(--primary); text-decoration: none; font-weight: 700; }
.breadcrumbs i { font-size: 11px; opacity: 0.5; }
.article-category { display: inline-block; background: var(--primary-light); color: var(--primary); padding: 7px 18px; border-radius: 50px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 20px; }
.article-hero h1 { font-size: 52px; font-weight: 700; color: var(--heading); line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 18px; max-width: 880px; margin-left: auto; margin-right: auto; }
.article-hero h1 span { color: var(--primary); }
.article-hero .subtitle { font-size: 19px; color: var(--body-light); max-width: 700px; margin: 0 auto 32px; line-height: 1.6; font-weight: 500; }
.article-meta { display: inline-flex; align-items: center; gap: 18px; background: white; padding: 10px 24px 10px 12px; border-radius: 50px; box-shadow: var(--shadow-sm); font-size: 14px; color: var(--body-light); font-weight: 600; flex-wrap: wrap; justify-content: center; }
.article-meta .author { display: flex; align-items: center; gap: 10px; color: var(--heading); font-weight: 700; }
.author-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--gradient-primary); color: white; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--border); }

/* Animation lines */
.anim-lines { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 1240px; height: 100%; pointer-events: none; z-index: 0; }
.anim-lines span { position: absolute; top: 0; width: 1px; height: 140px; background: linear-gradient(180deg, transparent 0%, rgba(94,59,238,0.4) 50%, transparent 100%); animation: anim-drop 6s linear infinite; opacity: 0; }
.anim-lines span:nth-child(1) { left: 7%; animation-delay: 0s; }
.anim-lines span:nth-child(2) { left: 18%; animation-delay: 0.7s; }
.anim-lines span:nth-child(3) { left: 30%; animation-delay: 1.4s; }
.anim-lines span:nth-child(4) { left: 42%; animation-delay: 2.1s; }
.anim-lines span:nth-child(5) { left: 56%; animation-delay: 2.8s; }
.anim-lines span:nth-child(6) { left: 68%; animation-delay: 3.5s; }
.anim-lines span:nth-child(7) { left: 80%; animation-delay: 4.2s; }
.anim-lines span:nth-child(8) { left: 91%; animation-delay: 4.9s; }
/* Layout */
.container-narrow { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.article-layout { display: grid; grid-template-columns: 1fr 280px; gap: 80px; padding: 40px 0 60px; align-items: start; }

/* Article body */
.article-
.article-body .lead { font-size: 20px; line-height: 1.7; color: var(--heading); font-weight: 500; margin-bottom: 32px; }
.article-body p { margin-bottom: 22px; }
.article-body h2 { font-size: 34px; font-weight: 700; color: var(--heading); line-height: 1.2; letter-spacing: -0.8px; margin: 50px 0 22px; scroll-margin-top: 80px; position: relative; padding-top: 14px; }
.article-body h2::before { content: ""; position: absolute; top: 0; left: 0; width: 50px; height: 4px; background: var(--primary); border-radius: 2px; }
.article-body strong { color: var(--heading); font-weight: 700; }

/* TOC sidebar */
.toc-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 22px; }
.toc-card { background: white; border-radius: 18px; padding: 24px 22px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.toc-card h4 { font-size: 13px; font-weight: 700; color: var(--heading); margin-bottom: 18px; letter-spacing: 2px; text-transform: uppercase; position: relative; padding-bottom: 12px; }
.toc-card h4::after { content: ""; position: absolute; bottom: 0; left: 0; width: 28px; height: 3px; background: var(--primary); border-radius: 2px; }
.toc-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.toc-list a { display: block; padding: 9px 12px; color: var(--body-light); text-decoration: none; font-size: 13.5px; font-weight: 600; border-radius: 8px; border-left: 2px solid transparent; transition: 0.25s; line-height: 1.4; }
.toc-list a:hover { color: var(--primary); background: var(--primary-soft); }
.toc-list a.active { color: var(--primary); background: var(--primary-soft); border-left-color: var(--primary); font-weight: 700; }
.toc-list li.sub a { padding-left: 28px; font-size: 13px; }

/* Reading progress */
.reading-progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; background: transparent; z-index: 1000; }
.reading-progress-bar { height: 100%; background: var(--gradient-primary); width: 0%; transition: width 0.1s linear; }

@media (max-width: 992px) {
  .article-hero h1 { font-size: 40px; }
  .article-hero .subtitle { font-size: 17px; }
  .article-layout { grid-template-columns: 1fr; gap: 40px; padding: 30px 0 30px; }
  .toc-sidebar { position: static; }
  .article-body h2 { font-size: 28px; }
  .marketplace h3 { font-size: 26px !important; }
}
@media (max-width: 700px) {
  .nav-links { display: none; }
  .article-hero { padding: 50px 0 90px; }
  .article-hero h1 { font-size: 30px; letter-spacing: -0.8px; }
  .article-hero .subtitle { font-size: 16px; }
  .featured-image-wrap { padding: 0 16px; margin-top: -50px; }
  .featured-image { aspect-ratio: 4 / 3; border-radius: 18px; }
  .article-
  .article-body .lead { font-size: 18px; }
  .article-body h2 { font-size: 24px; }
  .marketplace h3 { font-size: 22px !important; }
  .article-cta { padding: 30px 24px; }
  .article-cta h3 { font-size: 22px !important; }
  .author-bio { grid-template-columns: 1fr; text-align: center; }
  .author-bio-avatar { margin: 0 auto; }
  .author-socials { justify-content: center; }
  .related-grid { grid-template-columns: 1fr; }
  .newsletter-section { grid-template-columns: 1fr; padding: 50px 36px; text-align: center; }
  .newsletter-illustration { order: -1; max-height: 200px; }
  .footer-grid { grid-template-columns: 1fr; }
  .share-strip { flex-wrap: wrap; }
  .share-buttons { margin-left: 0; }
}




.article-body h1, .article-body h2, .article-body h3, .article-body h4, .article-body h5, .article-body h6 { font-weight: 700 !important; }


/* Fix for sticky TOC sidebar */
.page_wrapper { overflow: visible !important; overflow-x: clip !important; }



/* Force sticky for TOC sidebar */
.toc-sidebar { align-self: start !important; position: -webkit-sticky !important; position: sticky !important; top: 90px !important; }



/* Fix header overlap */
.page-hero, .article-hero { padding-top: 110px !important; }

@media (max-width: 992px) {
  .page-hero, .article-hero { padding-top: 90px !important; }
}


.anim-lines span:nth-child(9) { left: 97%; animation-delay: 5.6s; }
@keyframes anim-drop {
  0% { transform: translateY(-150px); opacity: 0; }
  15% { opacity: 0.7; }
  85% { opacity: 0.7; }
  100% { transform: translateY(450px); opacity: 0; }
}
/* Featured image */
.featured-image-wrap { margin-top: -60px; position: relative; z-index: 5; padding: 0 24px; }
.featured-image { max-width: 1100px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--gradient-primary); }
.featured-image svg { width: 100%; height: 100%; display: block; }


/* Update hero wave to match homepage design */
.hero-wave {
    background-image: url('/wp-content/uploads/banner-shape.svg') !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    width: 100% !important;
    height: 100px !important;
    background-position: center !important;
    position: absolute !important;
    bottom: 0 !important;
    margin-top: 0 !important;
}
.hero-wave svg { display: none !important; }


.article-body h2::before { content: ''; position: absolute; top: 0; left: 0; width: 50px; height: 4px; background: var(--primary); border-radius: 2px; }
.article-cta { background: var(--gradient-primary); border-radius: 24px; padding: 40px; margin: 50px 0 40px; color: white; position: relative; overflow: hidden; }
.article-cta::before { content: ''; position: absolute; top: -60px; right: -60px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 70%); border-radius: 50%; }
.article-cta h3 { font-size: 26px !important; font-weight: 800; color: white !important; margin: 0 0 10px !important; letter-spacing: -0.5px; position: relative; padding: 0 !important; }
.article-cta h3::before { display: none !important; }
.article-cta p { color: rgba(255,255,255,0.9); margin-bottom: 22px; position: relative; font-size: 15.5px; }
.cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }
.cta-btn { display: inline-flex; align-items: center; gap: 8px; background: white; color: var(--primary) !important; padding: 13px 26px; border-radius: 50px; text-decoration: none !important; font-weight: 700; font-size: 14px; transition: 0.3s; }
.cta-btn:hover { background: var(--heading); color: white !important; transform: translateY(-2px); }
.author-bio { display: grid; grid-template-columns: 80px 1fr; gap: 22px; background: white; border-radius: 22px; padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); margin-top: 50px; align-items: center; }
.author-bio-avatar { width: 80px; height: 80px; border-radius: 50%; background: var(--gradient-primary); display: flex; align-items: center; justify-content: center; color: white; font-weight: 800; font-size: 26px; overflow: hidden; }
.author-bio-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-bio .label { font-size: 11px; font-weight: 800; color: var(--primary); letter-spacing: 1.5px; text-transform: uppercase; display: block; margin-bottom: 4px; }
.author-bio h4 { font-size: 19px !important; font-weight: 800; color: var(--heading); margin-bottom: 6px !important; padding: 0 !important; }
.author-bio h4::before { display: none !important; }
.author-bio p { font-size: 14px; color: var(--body-light); margin: 0 0 10px; line-height: 1.55; }
.author-socials { display: flex; gap: 8px; }
.author-socials a { width: 32px; height: 32px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; text-decoration: none !important; font-size: 14px; transition: 0.25s; }
.author-socials a:hover { background: var(--primary); color: white; }
.share-strip { display: flex; align-items: center; gap: 14px; padding: 22px 0; margin: 30px 0 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.share-strip .share-label { font-size: 12px; font-weight: 800; color: var(--heading); letter-spacing: 1.5px; text-transform: uppercase; }
.share-buttons { display: flex; gap: 8px; margin-left: auto; }
.share-buttons a { width: 38px; height: 38px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; text-decoration: none !important; transition: 0.25s; font-size: 15px; }
.share-buttons a:hover { background: var(--primary); color: white; transform: translateY(-2px); }


.marketplace { margin: 50px 0; scroll-margin-top: 80px; }
.marketplace .rank-prefix { display: block; font-size: 12px; font-weight: 800; color: var(--primary); letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 6px; }
.marketplace h3 { font-size: 30px !important; font-weight: 800 !important; color: var(--heading); letter-spacing: -0.6px; margin: 0 0 16px !important; line-height: 1.15 !important; padding: 0 !important; }
.marketplace h3::before { display: none !important; }
.stat-block { margin: 18px 0 22px; }
.stat-line { display: block; padding: 9px 0; border-bottom: 1px dashed var(--border); font-size: 16px; line-height: 1.5; }
.stat-line:last-of-type { border-bottom: none; }
.stat-line strong { color: var(--primary); font-weight: 800; margin-right: 8px; }
.stat-line em { font-style: normal; color: var(--body); }
.marketplace .note { color: var(--body-light); font-size: 15.5px; font-style: italic; margin: 22px 0 18px; padding-left: 16px; border-left: 3px solid var(--primary); }
.marketplace .note strong { font-style: normal; color: var(--primary); }
.visit-link { color: var(--primary); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(94,59,238,0.3); text-underline-offset: 4px; }
.visit-link:hover { text-decoration-color: var(--primary); }

