/* =========================
   ARTICLE PAGE
========================= */

.reading-progress {
    position: fixed;
    inset: 0 0 auto 0;
    height: 3px;
    z-index: 120;
    background: transparent;
  }
  
  .reading-progress__bar {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #62f2c1);
    box-shadow: 0 0 18px rgba(46, 230, 166, 0.45);
    transition: width 120ms linear;
  }
  
  .article-hero {
    position: relative;
    overflow: hidden;
    padding-top: 54px;
    padding-bottom: 40px;
  }
  
  .article-hero::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    top: 10px;
    right: -100px;
    background: rgba(46, 230, 166, 0.1);
    border-radius: 999px;
    filter: blur(80px);
    z-index: 0;
  }
  
  .article-hero::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    left: -80px;
    bottom: 0;
    background: rgba(46, 230, 166, 0.05);
    border-radius: 999px;
    filter: blur(70px);
    z-index: 0;
  }
  
  .article-hero .container,
  .article-shell .container {
    position: relative;
    z-index: 1;
  }
  
  .article-hero__grid {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 42px;
    align-items: center;
  }
  
  .article-breadcrumb {
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
    color: var(--text-soft);
    font-weight: 600;
    transition: color var(--transition), transform var(--transition);
  }
  
  .article-breadcrumb:hover {
    color: var(--primary);
    transform: translateX(-2px);
  }
  
  .article-hero__content h1 {
    margin: 0 0 18px;
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 0.96;
    letter-spacing: -0.06em;
    max-width: 12ch;
    color: var(--text);
  }
  
  .article-title-accent {
    position: relative;
    display: inline;
    color: var(--primary);
  }
  
  .article-title-accent::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.06em;
    height: 0.16em;
    background: linear-gradient(90deg, rgba(46, 230, 166, 0.18), rgba(46, 230, 166, 0.34));
    border-radius: 999px;
    z-index: -1;
  }
  
  .article-hero__lead {
    margin: 0;
    max-width: 760px;
    color: var(--text-soft);
    font-size: 1.12rem;
    line-height: 1.8;
  }
  
  .article-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
  }
  
  .article-meta-pill {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text-soft);
    font-size: 0.88rem;
    font-weight: 700;
  }
  
  .article-cover-card {
    overflow: hidden;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(22, 29, 26, 0.98), rgba(14, 19, 17, 0.98));
    border: 1px solid var(--border);
    box-shadow: var(--shadow-strong);
  }
  
  .article-cover-card img {
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    display: block;
  }
  
  /* Layout */
  
  .article-shell {
    padding-top: 28px;
  }
  
  .article-layout--enhanced {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 34px;
    align-items: start;
  }
  
  .article-main {
    min-width: 0;
  }
  
  .article-sidebar {
    position: sticky;
    top: 110px;
  }
  
  /* Intro card */
  
  .article-intro-card {
    margin-bottom: 28px;
    padding: 28px;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(22, 29, 26, 0.96), rgba(14, 19, 17, 0.98));
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  
  .article-intro-card h2 {
    margin: 0 0 18px;
    font-size: 1.6rem;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--text);
  }
  
  .article-intro-card__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  
  .article-intro-point {
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
  }
  
  .article-intro-point__label {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--primary);
    font-size: 0.92rem;
    font-weight: 800;
  }
  
  .article-intro-point p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.7;
  }
  
  /* Content */
  
  .article-content {
    color: var(--text-soft);
  }
  
  .article-section {
    margin-bottom: 34px;
  }
  
  .article-section h2 {
    margin: 0 0 16px;
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    line-height: 1.06;
    letter-spacing: -0.04em;
    color: var(--text);
  }
  
  .article-section h3 {
    margin: 0 0 12px;
    font-size: 1.28rem;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: var(--text);
  }
  
  .article-section p {
    margin: 0 0 16px;
    line-height: 1.85;
    font-size: 1.04rem;
  }
  
  .article-section p:last-child {
    margin-bottom: 0;
  }
  
  .article-section strong {
    color: var(--text);
  }
  
  /* Comparison table */
  
  .compare-table-card {
    margin: 24px 0 28px;
    padding: 16px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(22, 29, 26, 0.96), rgba(14, 19, 17, 0.98));
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow-x: auto;
  }
  
  .compare-table {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    min-width: 720px;
  }
  
  .compare-table__head,
  .compare-table__cell {
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
  }
  
  .compare-table__head {
    color: var(--text);
    font-weight: 800;
    background: rgba(255, 255, 255, 0.03);
  }
  
  .compare-table__label {
    color: var(--text);
    font-weight: 700;
  }
  
  .compare-table__cell {
    color: var(--text-soft);
    line-height: 1.6;
  }
  
  .compare-table > *:nth-last-child(-n + 3) {
    border-bottom: 0;
  }
  
  /* Number cards */
  
  .article-number-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .article-number-card {
    padding: 24px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(22, 29, 26, 0.96), rgba(14, 19, 17, 0.98));
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  
  .article-number-card__n {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 16px;
    border-radius: 14px;
    background: rgba(46, 230, 166, 0.1);
    border: 1px solid rgba(46, 230, 166, 0.18);
    color: var(--primary);
    font-weight: 800;
    font-size: 1rem;
  }
  
  .article-number-card p {
    margin: 0;
  }
  
  /* Decision boxes */
  
  .decision-box {
    padding: 26px;
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  
  .decision-box--positive {
    background: linear-gradient(180deg, rgba(12, 58, 43, 0.3), rgba(14, 19, 17, 0.98));
    border-color: rgba(46, 230, 166, 0.18);
  }
  
  .decision-box--neutral {
    background: linear-gradient(180deg, rgba(22, 29, 26, 0.96), rgba(14, 19, 17, 0.98));
  }
  
  .decision-list {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: grid;
    gap: 14px;
  }
  
  .decision-list li {
    position: relative;
    padding-left: 34px;
    color: var(--text-soft);
    line-height: 1.75;
  }
  
  .decision-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.1em;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(46, 230, 166, 0.12);
    border: 1px solid rgba(46, 230, 166, 0.18);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 800;
  }
  
  /* Highlight */
  
  .article-highlight-box {
    margin-top: 22px;
    padding: 22px 24px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(46, 230, 166, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(46, 230, 166, 0.14);
    box-shadow: var(--shadow);
    display: grid;
    gap: 6px;
  }
  
  .article-highlight-box strong {
    color: var(--text);
    font-size: 1.02rem;
  }
  
  .article-highlight-box span {
    color: var(--text-soft);
  }
  
  /* Inline CTA */
  
  .article-inline-cta {
    margin-top: 42px;
  }
  
  .article-inline-cta__content {
    padding: 34px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(16, 23, 20, 0.98), rgba(14, 19, 17, 0.98));
    border: 1px solid var(--border);
    box-shadow: var(--shadow-strong);
  }
  
  .article-inline-cta__eyebrow {
    display: inline-flex;
    margin: 0 0 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(46, 230, 166, 0.08);
    border: 1px solid rgba(46, 230, 166, 0.14);
    color: var(--primary);
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  
  .article-inline-cta__content h2 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.06;
    letter-spacing: -0.04em;
    color: var(--text);
  }
  
  .article-inline-cta__content p {
    margin: 0;
    max-width: 760px;
    color: var(--text-soft);
    line-height: 1.8;
  }
  
  .article-inline-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
  }
  
  /* Sidebar */
  
  .article-sidebar__box {
    margin-bottom: 20px;
    padding: 22px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(22, 29, 26, 0.96), rgba(14, 19, 17, 0.98));
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  
  .article-sidebar__box h2 {
    margin: 0 0 14px;
    font-size: 1.2rem;
    letter-spacing: -0.03em;
    color: var(--text);
  }
  
  .article-sidebar__box p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.75;
  }
  
  .article-sidebar__toc ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
  }
  
  .article-sidebar__toc a {
    display: block;
    padding: 10px 12px;
    border-radius: 14px;
    color: var(--text-soft);
    font-weight: 600;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
    border: 1px solid transparent;
  }
  
  .article-sidebar__toc a:hover,
  .article-sidebar__toc a.is-active {
    background: rgba(46, 230, 166, 0.08);
    border-color: rgba(46, 230, 166, 0.12);
    color: var(--text);
  }
  
  .sidebar-related-post + .sidebar-related-post {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
  }
  
  .sidebar-related-post a {
    color: var(--text);
    font-weight: 700;
    line-height: 1.55;
  }
  
  .sidebar-related-post a:hover {
    color: var(--primary);
  }
  
  /* Responsive */
  
  @media (max-width: 1080px) {
    .article-hero__grid,
    .article-layout--enhanced {
      grid-template-columns: 1fr;
    }
  
    .article-sidebar {
      position: static;
      top: auto;
    }
  }
  
  @media (max-width: 900px) {
    .article-intro-card__grid,
    .article-number-grid {
      grid-template-columns: 1fr;
    }
  }
  
  @media (max-width: 640px) {
    .article-hero {
      padding-top: 36px;
      padding-bottom: 24px;
    }
  
    .article-intro-card,
    .article-inline-cta__content,
    .article-sidebar__box,
    .compare-table-card,
    .article-number-card,
    .decision-box {
      padding: 22px;
    }
  
    .article-inline-cta__actions {
      flex-direction: column;
      align-items: stretch;
    }
  
    .article-meta-row {
      gap: 8px;
    }
  
    .article-meta-pill {
      width: 100%;
      justify-content: center;
    }
  }