.article-page [hidden] { display: none !important; }
.article-header { background: #07090b; border-bottom-color: var(--line); }
.article-main { padding-top: var(--measured-header-height, var(--header-height)); }
.article-container { width: min(calc(100% - 48px), 1100px); margin-inline: auto; }
.article-intro { padding-block: 48px 36px; border-bottom: 1px solid var(--line); }
.article-breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: .88rem; margin-bottom: 32px; }
.article-breadcrumbs a:hover { color: var(--text); }
.article-intro h1 { max-width: 880px; font-size: 2.75rem; line-height: 1.15; margin-bottom: 24px; }
.article-lead { max-width: 780px; color: #c3cad2; font-size: 1.15rem; }
.article-byline { display: flex; flex-wrap: wrap; gap: 12px; font-size: .85rem; margin: 24px 0 0; }
.article-byline a { color: var(--green); }
.article-layout { display: grid; grid-template-columns: minmax(0, 720px) minmax(220px, 1fr); gap: 64px; padding-block: 40px 64px; }
.article-body { min-width: 0; }
.article-body section { margin-bottom: 40px; }
.article-body h2 { font-size: 1.6rem; line-height: 1.3; margin-bottom: 16px; }
.article-body p, .article-body li { font-size: 1.05rem; line-height: 1.8; color: #bfc6cf; }
.article-body ol { padding-left: 24px; }
.article-body li { padding-left: 8px; margin-bottom: 12px; }
.article-body li::marker { color: var(--green); font-weight: 700; }
.article-sidebar { min-width: 0; }
.article-toc { border-left: 2px solid var(--green); padding-left: 20px; }
.article-toc h2 { font-size: .95rem; line-height: 1.4; margin-bottom: 12px; }
.article-toc ol { list-style: none; margin: 0; padding: 0; }
.article-toc li + li { margin-top: 12px; }
.article-toc a { display: block; color: var(--muted); font-size: .92rem; line-height: 1.6; }
.article-toc a:hover { color: white; }
.article-screen { margin: 32px 0 0; }
.article-screen img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 6px; }
.article-screen figcaption { color: var(--muted); font-size: .78rem; line-height: 1.6; margin-top: 12px; }
.article-back { margin-top: 12px; }
.article-related { border-block: 1px solid var(--line); padding-block: 40px; background: #0d100f; }
.article-related h2, .guide-category h2, .article-download h2 { font-size: 1.5rem; line-height: 1.3; }
.article-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; }
.article-link { display: grid; grid-template-columns: 24px minmax(0, 1fr) 18px; align-items: start; gap: 16px; padding-block: 24px; border-bottom: 1px solid var(--line); height: 100%; }
.article-link > svg { width: 24px; height: 24px; color: var(--green); }
.article-link > svg:last-child { width: 18px; height: 18px; color: var(--muted); }
.article-link strong { display: block; font-size: 1.1rem; line-height: 1.5; margin-bottom: 6px; }
.article-link span span { display: block; color: var(--muted); font-size: .92rem; line-height: 1.65; }
.article-link:hover strong { color: #73b9ff; }
.article-link:hover > svg:last-child { color: var(--text); }
.article-download { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 48px; }
.article-download h2 { margin-bottom: 8px; }
.article-download p { margin-bottom: 0; }
.article-download .primary-button { flex-shrink: 0; }
.guide-search { max-width: 640px; margin-top: 32px; }
.guide-featured { margin-top: 24px; }
.guide-featured span { min-width: 0; }
.guide-featured svg { flex-shrink: 0; }
.guide-search label { display: block; margin-bottom: 10px; font-weight: 600; }
.guide-search-field { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.guide-search-field:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
.guide-search-field > svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--muted); }
.guide-search input { width: 100%; min-width: 0; font: inherit; padding: 12px 0; border: 0; outline: 0; background: transparent; color: var(--text); }
.guide-search input::placeholder { color: var(--muted); }
.guide-search .icon-button { flex-shrink: 0; }
.guide-search [role="status"] { margin: 12px 0 0; min-height: 1.65em; font-size: .88rem; }
.guide-topics { display: flex; flex-wrap: wrap; gap: 16px 28px; margin-top: 24px; }
.guide-topics a { color: #8ac4ff; text-decoration: underline; text-underline-offset: 5px; font-size: .95rem; line-height: 1.6; }
.guide-directory { padding-block: 36px 64px; }
.guide-category { margin-bottom: 48px; }
.guide-category h2 { margin: 0; }
.guide-empty { padding: 32px 0; }
.article-page a:focus-visible, .article-page button:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.skip-link { position: fixed; top: -100px; left: 12px; z-index: 100; padding: 12px; background: white; color: black; }
.skip-link:focus { top: 12px; }
@media (max-width: 980px) {
  .article-layout { gap: 32px; grid-template-columns: minmax(0, 1fr) 230px; }
}
@media (max-width: 700px) {
  .article-container { width: calc(100% - 40px); }
  .article-intro { padding-block: 32px; }
  .article-intro h1 { font-size: 2rem; }
  .article-lead { font-size: 1.05rem; }
  .article-layout { display: flex; flex-direction: column; gap: 32px; padding-top: 28px; }
  .article-sidebar { order: -1; }
  .article-screen { display: none; }
  .article-toc { padding-left: 16px; }
  .article-toc li + li { margin-top: 8px; }
  .article-links { grid-template-columns: 1fr; }
  .article-download { flex-direction: column; align-items: flex-start; }
  .article-body h2 { font-size: 1.4rem; }
  .article-body p, .article-body li { font-size: 1rem; }
}
