/* =========================================================
   NEXURION SYSTEMS — Artikel
   ========================================================= */

body > section:first-of-type { padding: calc(var(--nav-h) + 56px) 0 96px !important; }

.back-link {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .95rem; color: var(--accent); margin-bottom: 40px;
}
.back-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease-out); }
.back-link:hover svg { transform: translateX(-3px); }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 72px; align-items: start; }
.article-layout > article { max-width: 700px; }

.article-header { margin-bottom: 48px; }
.article-meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .9rem; color: var(--text-3); margin-bottom: 1.1rem; }
.article-cat { color: var(--accent); font-weight: 600; }
.article-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.08; letter-spacing: -0.035em; font-weight: 700;
}
.article-lead {
  font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.45; letter-spacing: -0.014em;
  color: var(--text-2); font-weight: 500; margin-top: 1.4rem;
}

.article-body { font-size: 1.1875rem; line-height: 1.65; letter-spacing: -0.012em; }
.article-body h2 { font-size: 1.85rem; line-height: 1.15; letter-spacing: -0.026em; margin: 2.8rem 0 1rem; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { font-size: 1.3rem; letter-spacing: -0.018em; margin: 2rem 0 .6rem; }
.article-body p { margin-bottom: 1.2rem; color: var(--text); }
.article-body strong { font-weight: 600; }
.article-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.article-body ul, .article-body ol { margin: 0 0 1.4rem 1.3rem; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: .5rem; padding-left: .2rem; }
.article-body li::marker { color: var(--text-3); }

.article-tip {
  background: var(--tile); border-radius: var(--radius);
  padding: 24px 28px; margin: 2rem 0;
}
.article-tip strong { display: block; font-size: 1.05rem; margin-bottom: .4rem; }
.article-tip p { margin: 0; color: var(--text-2); font-size: 1.05rem; }

.article-author { display: flex; align-items: center; gap: 14px; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.author-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--tile-2); display: grid; place-items: center; font-weight: 600; font-size: .9rem; }
.author-name { font-weight: 600; font-size: 1rem; }
.author-role { color: var(--text-2); font-size: .9rem; }

.article-sidebar { position: sticky; top: calc(var(--nav-h) + 32px); display: grid; gap: 16px; }
.sidebar-box { background: var(--tile); border-radius: var(--radius); padding: 24px; }
.sidebar-box h4 { font-size: 1rem; letter-spacing: -.012em; margin-bottom: .9rem; }
.sidebar-related li, .sidebar-toc li { border-top: 1px solid var(--line); }
.sidebar-related li:first-child, .sidebar-toc li:first-child { border-top: 0; }
.sidebar-related a, .sidebar-toc a { display: block; padding: .7rem 0; font-size: .95rem; color: var(--text-2); line-height: 1.4; transition: color .2s ease; }
.sidebar-related a:hover, .sidebar-toc a:hover { color: var(--text); }
.sidebar-cta p { color: var(--text-2); font-size: .95rem; margin-bottom: 1.1rem; }
.sidebar-cta .btn { width: 100%; }

@media (max-width: 960px) {
  .article-layout { grid-template-columns: 1fr; gap: 56px; }
  .article-sidebar { position: static; }
}
@media (max-width: 520px) {
  .article-body { font-size: 1.0625rem; }
  .article-body h2 { font-size: 1.5rem; }
}
