/* ============================================================
   Northline single article — exact port of the live Shopify
   section main-blog-post.liquid (live settings).
   Scope: #nl-article (+ global .nla-* classes, same as live)
   ============================================================ */
#nl-article {
    background: #151515;
    color: #b0b0b0;
    font-family: Inter, system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
  }

  #nl-article *,
  #nl-article *::before,
  #nl-article *::after { box-sizing: border-box; }

  /* ── Hero ── */
  .nla-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 180px 40px 48px;
  }

  .nla-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #777777;
    text-decoration: none;
    margin-bottom: 28px;
    transition: color 0.25s;
    opacity: 0;
    transform: translateY(12px);
  }

  .nla-back:hover { color: #e8553a; }

  .nla-back svg {
    width: 16px; height: 16px;
    stroke: currentColor; fill: none;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  }

  .nla-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(14px);
  }

  .nla-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #e8553a;
    background: #1f1f1f;
    padding: 5px 12px;
    border-radius: 4px;
    text-decoration: none;
    transition: opacity 0.2s;
  }

  .nla-tag:hover { opacity: 0.8; }

  .nla-date {
    font-size: 14px;
    color: #777777;
  }

  .nla-reading {
    font-size: 14px;
    color: #777777;
  }

  .nla-dot {
    width: 4px; height: 4px;
    border-radius: 50%;
    background: #777777;
    opacity: 0.5;
  }

  .nla-title {
    font-size: 64px;
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin: 0 0 16px;
    max-width: 900px;
    opacity: 0;
    transform: translateY(20px);
  }

  .nla-excerpt {
    font-size: 19px;
    line-height: 1.6;
    color: #777777;
    max-width: 680px;
    margin: 0;
    opacity: 0;
    transform: translateY(14px);
  }

  .nla-divider {
    width: 100%;
    height: 1px;
    background: #2a2a2a;
    margin-top: 32px;
    opacity: 0;
  }

  /* ── Featured Image ── */
  .nla-featured {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    margin-bottom: 48px;
    opacity: 0;
    transform: translateY(20px);
  }

  .nla-featured img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
  }

  /* ── Article Body ── */
  .nla-body-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 48px;
    align-items: start;
  }

  /* Sidebar (share + author) */
  .nla-sidebar {
    position: sticky;
    top: 100px;
    padding-top: 4px;
  }

  .nla-author-block {
    margin-bottom: 32px;
  }

  .nla-author-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #777777;
    margin-bottom: 8px;
  }

  .nla-author-name {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.3;
  }

  .nla-share-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #777777;
    margin-bottom: 12px;
  }

  .nla-share-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .nla-share-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #777777;
    text-decoration: none;
    transition: color 0.25s;
  }

  .nla-share-link:hover { color: #ffffff; }

  .nla-share-link svg {
    width: 16px; height: 16px;
    stroke: currentColor; fill: none;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  }

  /* Body content */
  .nla-body {
    max-width: 680px;
    padding-bottom: 80px;
  }

  .nla-body h2 {
    font-size: 28px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin: 40px 0 16px;
  }

  .nla-body h3 {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.3;
    margin: 32px 0 12px;
  }

  .nla-body p {
    font-size: 17px;
    line-height: 1.75;
    color: #b0b0b0;
    margin: 0 0 20px;
  }

  .nla-body ul, .nla-body ol {
    font-size: 17px;
    line-height: 1.75;
    color: #b0b0b0;
    padding-left: 24px;
    margin: 0 0 20px;
  }

  .nla-body li { margin-bottom: 8px; }

  .nla-body a {
    color: #e8553a;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.2s;
  }

  .nla-body a:hover { opacity: 0.7; }

  .nla-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 28px 0;
    display: block;
  }

  .nla-body blockquote {
    border-left: 3px solid #e8553a;
    margin: 28px 0;
    padding: 4px 0 4px 24px;
    font-size: 19px;
    font-style: italic;
    color: #ffffff;
    line-height: 1.6;
  }

  .nla-body strong { color: #ffffff; font-weight: 600; }

  .nla-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 16px;
  }

  .nla-body table th, .nla-body table td {
    text-align: left;
    padding: 12px 16px;
    border-bottom: 1px solid #2a2a2a;
    vertical-align: top;
  }

  .nla-body table th {
    font-weight: 600;
    color: #ffffff;
  }

  /* ── Tags bottom ── */
  .nla-tags-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 32px;
    border-top: 1px solid #2a2a2a;
    margin-top: 48px;
  }

  /* ── Prev/Next ── */
  .nla-prevnext {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    border-top: 1px solid #2a2a2a;
  }

  .nla-pn-item {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: opacity 0.25s;
  }

  .nla-pn-item:hover { opacity: 0.7; }

  .nla-pn-item--next { text-align: right; align-items: flex-end; }

  .nla-pn-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #777777;
  }

  .nla-pn-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.3;
  }

  /* ── Comments ── */
  .nla-comments {
    max-width: 680px;
    margin: 0 auto;
    padding: 48px 40px 80px;
  }

  .nla-comments-title {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 24px;
  }

  .nla-comment {
    padding: 20px 0;
    border-bottom: 1px solid #2a2a2a;
  }

  .nla-comment-author {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
  }

  .nla-comment-date {
    font-size: 13px;
    color: #777777;
    margin-left: 12px;
  }

  .nla-comment-body {
    font-size: 17px;
    line-height: 1.75;
    color: #b0b0b0;
    margin-top: 8px;
  }

  .nla-comment-form { margin-top: 32px; }

  .nla-comment-form label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #777777;
    margin-bottom: 6px;
  }

  .nla-comment-form input,
  .nla-comment-form textarea {
    width: 100%;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 15px;
    color: #ffffff;
    font-family: inherit;
    margin-bottom: 16px;
    outline: none;
    transition: border-color 0.2s;
  }

  .nla-comment-form input:focus,
  .nla-comment-form textarea:focus {
    border-color: #e8553a;
  }

  .nla-comment-form textarea { min-height: 120px; resize: vertical; }

  .nla-comment-form .nla-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .nla-comment-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: #e8553a;
    color: #ffffff;
    border: none;
    border-radius: 32px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
    font-family: inherit;
  }

  .nla-comment-form button:hover { opacity: 0.85; }

  /* ── Animations ── */
  #nl-article.nla-in .nla-back { opacity: 1; transform: translateY(0); transition: opacity 0.6s ease 0.05s, transform 0.6s ease 0.05s; }
  #nl-article.nla-in .nla-meta { opacity: 1; transform: translateY(0); transition: opacity 0.6s ease 0.15s, transform 0.6s ease 0.15s; }
  #nl-article.nla-in .nla-title { opacity: 1; transform: translateY(0); transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s; }
  #nl-article.nla-in .nla-excerpt { opacity: 1; transform: translateY(0); transition: opacity 0.6s ease 0.35s, transform 0.6s ease 0.35s; }
  #nl-article.nla-in .nla-divider { opacity: 1; transition: opacity 0.5s ease 0.4s; }
  #nl-article.nla-in .nla-featured { opacity: 1; transform: translateY(0); transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s; }

  @media (prefers-reduced-motion: reduce) {
    .nla-back, .nla-meta, .nla-title, .nla-excerpt, .nla-divider, .nla-featured {
      opacity: 1 !important; transform: none !important; transition: none !important;
    }
  }

  /* ── Mobile ── */
  @media (max-width: 768px) {
    .nla-hero {
      padding-top: 120px;
      padding-left: 20px;
      padding-right: 20px;
    }
    .nla-title { font-size: 36px; }
    .nla-featured { padding: 0 20px; }
    .nla-body-wrap {
      grid-template-columns: 1fr;
      padding-left: 20px;
      padding-right: 20px;
    }
    .nla-sidebar {
      position: relative;
      top: auto;
      display: flex;
      gap: 24px;
      align-items: center;
      flex-wrap: wrap;
      border-bottom: 1px solid #2a2a2a;
      padding-bottom: 20px;
      margin-bottom: 24px;
    }
    .nla-author-block { margin-bottom: 0; }
    .nla-share-links { flex-direction: row; }
    .nla-prevnext {
      grid-template-columns: 1fr;
      padding-left: 20px;
      padding-right: 20px;
    }
    .nla-pn-item--next { text-align: left; align-items: flex-start; }
    .nla-comments {
      padding-left: 20px;
      padding-right: 20px;
    }
    .nla-comment-form .nla-form-row { grid-template-columns: 1fr; }
  }
