/* === Blog Article Page === */
    .article-wrap { padding: 36px 0 64px; }
    .article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: start; }

    /* Article card */
    .article-card {
      background: var(--white);
      border-radius: 20px;
      border: 1px solid var(--border);
      padding: 48px 52px;
    }

    .article-card h1 {
      font-size: 30px; font-weight: 900; color: var(--text);
      line-height: 1.25; margin-bottom: 24px;
    }

    /* Author block */
    .article-author {
      display: flex; align-items: center; gap: 14px;
      margin-bottom: 28px; padding-bottom: 24px;
      border-bottom: 1px solid var(--border);
    }
    .article-author__img {
      width: 56px; height: 56px; border-radius: 50%;
      object-fit: cover; flex-shrink: 0;
    }
    .article-author__info { display: flex; flex-direction: column; gap: 4px; }
    .article-author__name { font-size: 14px; font-weight: 700; color: var(--blue); }
    .article-author__role { font-size: 13px; color: var(--text-muted); }
    .article-author__meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 2px; }
    .article-author__meta span { font-size: 12px; color: var(--text-light); display: flex; align-items: center; gap: 4px; }
    .article-author__meta span::before { content: "•"; color: var(--border); }
    .article-author__meta span:first-child::before { content: ""; }

    /* TOC */
    .article-toc {
      background: var(--gray-bg); border-radius: 14px;
      padding: 20px 24px; margin-bottom: 32px;
    }
    .article-toc__header {
      display: flex; justify-content: space-between; align-items: center;
      margin-bottom: 14px;
    }
    .article-toc__title { font-size: 15px; font-weight: 800; color: var(--text); }
    .article-toc__toggle {
      font-size: 13px; color: var(--text-muted); cursor: pointer;
      background: none; border: none; padding: 0; font-family: inherit;
    }
    .article-toc ol { counter-reset: toc; display: flex; flex-direction: column; gap: 5px; }
    .article-toc > ol > li { counter-increment: toc; }
    .article-toc > ol > li > a {
      font-size: 14px; font-weight: 600; color: var(--text);
      transition: color .2s;
    }
    .article-toc > ol > li > a:hover { color: var(--blue); }
    .article-toc ol ol { padding-left: 16px; margin-top: 4px; }
    .article-toc ol ol li a { font-size: 13px; color: var(--text-muted); font-weight: 500; }
    .article-toc ol ol li a:hover { color: var(--blue); }

    /* Article meta date */
    .blog-article__meta {
      font-size: 13px;
      color: var(--text-light);
      margin-bottom: 16px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    /* Article hero image */
    .blog-article__hero {
      margin-bottom: 32px;
      border-radius: 12px;
      overflow: hidden;
    }
    .blog-article__hero img {
      width: 100%;
      height: auto;
      display: block;
    }

    /* Article body */
    .article-body p { font-size: 15px; color: var(--text); line-height: 1.8; margin-bottom: 16px; }
    .article-body h2 {
      font-size: 22px; font-weight: 800; color: var(--text);
      margin: 40px 0 16px; padding-bottom: 12px;
      position: relative;
    }
    .article-body h2::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 48px;
      height: 3px;
      background: var(--blue, #1B93D4);
      border-radius: 2px;
    }
    .article-body h3 {
      font-size: 17px; font-weight: 700; color: var(--text);
      margin: 28px 0 10px;
    }
    .article-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
    .article-body a:hover { color: var(--blue-dark); }
    .article-body ul, .article-body ol { margin: 0 0 16px 20px; display: flex; flex-direction: column; gap: 6px; }
    .article-body ul { list-style: disc; }
    .article-body ol { list-style: decimal; }
    .article-body li { font-size: 15px; color: var(--text); line-height: 1.65; }
    .article-body strong { font-weight: 700; }

    /* Tables — scroll wrapper */
    .article-body table {
      width: 100%;
      border-collapse: separate;
      border-spacing: 0;
      margin: 24px 0 28px;
      font-size: 14px;
      line-height: 1.5;
      border-radius: 10px;
      overflow: hidden;
      border: 1px solid #e0e4e8;
    }
    .article-body thead th {
      background: var(--dark, #0D1E35);
      color: #fff;
      font-weight: 600;
      text-align: left;
      padding: 14px 18px;
      font-size: 13px;
      letter-spacing: 0.3px;
    }
    .article-body tbody td {
      padding: 12px 18px;
      border-top: 1px solid #edf0f3;
      color: var(--text, #333);
      vertical-align: top;
    }
    .article-body tbody tr:nth-child(even) {
      background: #f8f9fb;
    }
    .article-body tbody tr:hover {
      background: #eef6fd;
    }
    .article-body td:first-child {
      font-weight: 600;
      color: var(--dark, #0D1E35);
    }

    /* Blockquotes */
    .article-body blockquote {
      margin: 28px 0;
      padding: 24px 28px;
      background: linear-gradient(135deg, #f0f7fd 0%, #e8f4fd 100%);
      border-left: 4px solid var(--blue, #1B93D4);
      border-radius: 0 12px 12px 0;
      font-size: 15px;
      line-height: 1.7;
      color: var(--text, #333);
      position: relative;
    }
    .article-body blockquote::before {
      content: '\201C';
      position: absolute;
      top: 12px;
      left: 14px;
      font-size: 48px;
      color: var(--blue, #1B93D4);
      opacity: 0.15;
      font-family: Georgia, serif;
      line-height: 1;
    }
    .article-body blockquote p {
      margin-bottom: 8px;
      position: relative;
    }
    .article-body blockquote p:last-child {
      margin-bottom: 0;
    }
    .article-body blockquote strong {
      color: var(--dark, #0D1E35);
    }

    /* Images */
    .article-body img {
      max-width: 100%;
      height: auto;
      border-radius: 10px;
      margin: 20px 0;
    }

    /* Horizontal rule */
    .article-body hr {
      border: none;
      border-top: 2px solid #edf0f3;
      margin: 36px 0;
    }

    /* Nested lists */
    .article-body ul ul,
    .article-body ol ul,
    .article-body ul ol {
      margin: 6px 0 6px 16px;
    }

    /* Mobile table scroll */
    @media (max-width: 640px) {
      .article-body table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
      }
      .article-body thead,
      .article-body tbody,
      .article-body tr {
        display: revert;
      }
    }

    /* Infobox */
    .article-infobox {
      background: var(--gray-bg); border-radius: 12px;
      padding: 18px 22px; margin: 0 0 20px;
    }
    .article-infobox ul { margin: 0; list-style: none; display: flex; flex-direction: column; gap: 5px; }
    .article-infobox li { font-size: 14px; color: var(--text); }

    /* Project cards in article */
    .proj-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 20px 0 28px; }
    .proj-card { background: var(--gray-bg); border-radius: 14px; padding: 20px; }
    .proj-card h3 { font-size: 15px; font-weight: 700; color: var(--text); margin: 0 0 8px; border: none; padding: 0; }
    .proj-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin: 0 0 10px; }
    .proj-card__meta { font-size: 12px; color: var(--text-light); }

    /* Timeline/stages */
    .stages-list { display: flex; flex-direction: column; gap: 16px; margin: 20px 0 28px; }
    .stage-item { display: flex; gap: 16px; align-items: flex-start; }
    .stage-num {
      width: 36px; height: 36px; border-radius: 50%;
      background: var(--blue); color: #fff;
      display: flex; align-items: center; justify-content: center;
      font-size: 15px; font-weight: 800; flex-shrink: 0; margin-top: 2px;
    }
    .stage-body h3 { font-size: 15px; font-weight: 700; color: var(--text); margin: 0 0 4px; }
    .stage-body p { font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.6; }

    /* Licenses */
    .cert-list { display: flex; flex-direction: column; gap: 10px; margin: 16px 0 28px; }
    .cert-item {
      display: flex; align-items: flex-start; gap: 10px;
      background: var(--gray-bg); border-radius: 10px; padding: 14px 16px;
      font-size: 14px; color: var(--text); line-height: 1.55;
    }
    .cert-item::before {
      content: "✓"; color: var(--blue); font-weight: 900;
      font-size: 16px; flex-shrink: 0; margin-top: 1px;
    }

    /* FAQ */
    .faq-list { display: flex; flex-direction: column; gap: 12px; margin: 16px 0; }
    .faq-item { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
    .faq-q {
      padding: 16px 20px; font-size: 15px; font-weight: 700; color: var(--text);
      cursor: pointer; display: flex; justify-content: space-between; align-items: center;
      gap: 12px;
    }
    .faq-q::after { content: "+"; font-size: 20px; font-weight: 400; color: var(--text-muted); flex-shrink: 0; }
    .faq-item input[type="checkbox"] { display: none; }
    .faq-item input:checked ~ .faq-q::after { content: "−"; }
    .faq-a { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height .3s, padding .3s; }
    .faq-item input:checked ~ .faq-a {
      max-height: 400px; padding: 0 20px 16px;
    }
    .faq-a p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin: 0; }

    /* Share buttons */
    .blog-article__share {
      display: flex; align-items: center; gap: 10px;
      padding: 20px 0; margin-top: 24px; border-top: 1px solid var(--border);
    }
    .blog-article__share-label { font-size: 13px; font-weight: 600; color: var(--text-muted); }
    .blog-article__share-btn {
      width: 40px; height: 40px; border-radius: 10px;
      display: inline-flex; align-items: center; justify-content: center;
      background: var(--gray-bg); color: var(--text-muted); border: none;
      cursor: pointer; transition: background .2s, color .2s;
      text-decoration: none;
    }
    .blog-article__share-btn:hover { background: var(--blue); color: #fff; }

    /* Author footer */
    .article-author-footer {
      display: flex; gap: 16px; align-items: flex-start;
      padding: 24px 0 0; margin-top: 32px; border-top: 1px solid var(--border);
    }
    .article-author-footer__img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
    .article-author-footer__name { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
    .article-author-footer__role { font-size: 13px; color: var(--text-muted); }
    .article-author-footer__bio { font-size: 13px; color: var(--text-muted); margin-top: 6px; line-height: 1.6; }

    /* Sidebar */
    .article-sidebar { position: sticky; top: 72px; display: flex; flex-direction: column; gap: 20px; }
    .consult-widget {
      background: var(--navy); border-radius: 18px; padding: 28px 24px;
      color: #fff;
    }
    .consult-widget__title { font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 8px; }
    .consult-widget__sub { font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 16px; line-height: 1.55; }
    .consult-widget__list { display: flex; flex-direction: column; gap: 7px; margin-bottom: 20px; }
    .consult-widget__item { font-size: 13px; color: rgba(255,255,255,.8); display: flex; align-items: flex-start; gap: 8px; }
    .consult-widget__item::before { content: "→"; color: var(--blue); flex-shrink: 0; }
    .consult-widget input {
      width: 100%; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
      border-radius: 8px; padding: 10px 14px; color: #fff; font-size: 14px; font-family: inherit;
      outline: none; margin-bottom: 10px; transition: border-color .2s;
    }
    .consult-widget input::placeholder { color: rgba(255,255,255,.35); }
    .consult-widget input:focus { border-color: var(--blue); }
    .consult-widget__btn {
      width: 100%; background: var(--red); color: #fff; border: none;
      border-radius: 8px; padding: 12px; font-size: 14px; font-weight: 700;
      cursor: pointer; transition: background .2s; font-family: inherit;
    }
    .consult-widget__btn:hover { background: var(--red-dark); }
    .consult-widget__agree { font-size: 11px; color: rgba(255,255,255,.3); margin-top: 10px; text-align: center; }

    /* Related articles */
    .related-section { padding: 48px 0 64px; background: var(--gray-bg); }
    .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; }
    .related-card {
      background: var(--white); border-radius: var(--radius); border: 1px solid var(--border);
      overflow: hidden; display: flex; flex-direction: column;
      transition: box-shadow .2s, transform .2s;
    }
    .related-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.08); transform: translateY(-2px); }
    .related-card__img { display: block; aspect-ratio: 16/10; overflow: hidden; }
    .related-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
    .related-card:hover .related-card__img img { transform: scale(1.04); }
    .related-card__body { padding: 16px 18px 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
    .related-card__time { font-size: 12px; color: var(--text-light); display: flex; align-items: center; gap: 4px; }
    .related-card__title { font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.4; transition: color .2s; }
    .related-card__title:hover { color: var(--blue); }
    .related-card__excerpt { font-size: 13px; color: var(--text-muted); line-height: 1.6; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

    /* CTA form */
    .cta-section { padding: 56px 0; background: var(--white); }
    .cta-inner {
      background: var(--navy); border-radius: 24px; padding: 52px 60px;
      display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start;
    }
    .cta-left h2 { font-size: 26px; font-weight: 900; color: #fff; margin-bottom: 12px; }
    .cta-left p { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.65; margin-bottom: 20px; }
    .cta-contacts { display: flex; flex-direction: column; gap: 8px; }
    .cta-contact { font-size: 14px; color: rgba(255,255,255,.7); }
    .cta-contact a { color: var(--blue); font-weight: 700; }
    .cta-form { display: flex; flex-direction: column; gap: 12px; }
    .cta-form input, .cta-form textarea {
      background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
      border-radius: 10px; padding: 12px 16px; color: #fff; font-size: 14px; font-family: inherit;
      outline: none; transition: border-color .2s;
    }
    .cta-form input:focus, .cta-form textarea:focus { border-color: var(--blue); }
    .cta-form input::placeholder, .cta-form textarea::placeholder { color: rgba(255,255,255,.3); }
    .cta-form textarea { resize: none; height: 100px; }
    .cta-form__btn {
      background: var(--red); color: #fff; border: none; border-radius: 10px;
      padding: 14px; font-size: 15px; font-weight: 700; cursor: pointer; font-family: inherit;
      transition: background .2s;
    }
    .cta-form__btn:hover { background: var(--red-dark); }
    .cta-agree { font-size: 12px; color: rgba(255,255,255,.3); text-align: center; }
    .cta-agree a { color: rgba(255,255,255,.5); }

    @media (max-width: 1060px) {
      .article-layout { grid-template-columns: 1fr 260px; }
      .article-card { padding: 36px 36px; }
    }
    @media (max-width: 960px) {
      .article-layout { grid-template-columns: 1fr; }
      .article-sidebar { position: static; }
      .proj-grid { grid-template-columns: 1fr; }
      .related-grid { grid-template-columns: repeat(2, 1fr); }
      .cta-inner { grid-template-columns: 1fr; padding: 36px 32px; gap: 32px; }
    }
    @media (max-width: 640px) {
      .article-card { padding: 24px 20px; }
      .article-card h1 { font-size: 22px; }
      .related-grid { grid-template-columns: 1fr; }
    }

    /* ── Blog Sticky TOC Sidebar ─────────────────────────── */
    #blogToc {
      position: fixed;
      right: 24px;
      top: 50%;
      transform: translateY(-50%);
      z-index: 90;
      opacity: 0;
      pointer-events: none;
      transition: opacity .3s;
    }
    #blogToc.mv-toc--visible {
      opacity: 1;
      pointer-events: auto;
    }
    #blogToc .mv-toc__inner {
      background: var(--white, #fff);
      border: 1px solid var(--border, #e9ecef);
      border-radius: 12px;
      padding: 14px 16px;
      box-shadow: 0 4px 20px rgba(0,0,0,.08);
      max-height: 60vh;
      overflow-y: auto;
      min-width: 200px;
      max-width: 260px;
    }
    #blogToc .mv-toc__link {
      display: block;
      padding: 6px 10px;
      font-size: 12px;
      line-height: 1.4;
      color: var(--text-light, #8c95a0);
      text-decoration: none;
      border-left: 2px solid transparent;
      border-radius: 0 4px 4px 0;
      transition: color .2s, border-color .2s, background .2s;
    }
    #blogToc .mv-toc__link:hover {
      color: var(--blue, #1B93D4);
      background: #f0f7ff;
    }
    #blogToc .mv-toc__link--active {
      color: var(--blue, #1B93D4);
      border-left-color: var(--blue, #1B93D4);
      font-weight: 600;
    }
    @media (max-width: 1400px) {
      #blogToc { display: none; }
    }