/* =====================================================================
   CS16-GO — article-detail.css
   Dedicated stylesheet for article-detail.html (V65).
   Loaded after /css/style.css; critical first-viewport rules are inline.
===================================================================== */

/* =====================================================================
   ARTICLE DETAIL — shared page-shell dependencies
   These shared rules also remain in page-specific.css for pages not yet migrated.
===================================================================== */
.site > .main-layout {
    padding-top: 18px;
}

.site-footer-intro,
.site-footer-directory {
    background: linear-gradient(145deg, #171b1e, #141719 70%, #15191b);
}

/* =====================================================================
   PAGE 8 — article-detail.html
   Full article page: cover, body, map cards, publication list and related stories.
===================================================================== */

/* FULL ARTICLE DETAIL PAGE */
.article-full-page { padding-top: 0; }
.article-full-wrap { width: 100%; min-width: 0; }
.article-full-breadcrumbs { margin-bottom: 12px; }
.article-full-card { overflow: hidden; background: var(--bg); border: 1px solid var(--border-article); border-radius: 14px; box-shadow: inset 0 1px 0 rgb(255 255 255 / 3%); }

.article-full-cover { position: relative; height: clamp(230px, 28vw, 340px); margin: 18px 18px 0; overflow: hidden; border-radius: 12px; border: 1px solid var(--border); background: var(--surface-related-card); isolation: isolate; }
.article-full-cover img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.article-full-cover-overlay { position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(13,14,14,.04) 0%, rgba(13,14,14,.08) 36%, rgba(13,14,14,.7) 100%), linear-gradient(0deg, rgba(10,11,11,.72), transparent 55%); pointer-events: none; }
.article-full-cover-rating { position: absolute; top: 17px; left: 17px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; min-height: 31px; padding: 6px 10px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(15,18,20,.72); box-shadow: 0 5px 18px rgba(0,0,0,.2); color: #e8c978; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.article-full-cover-rating svg { display: block; width: 14px; height: 14px; flex: 0 0 14px; }
.article-full-cover-rating span { color: #f2f4f5; font-size: 10px; font-weight: 700; line-height: 1; letter-spacing: .035em; }
.article-full-cover-caption { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; color: var(--white); text-shadow: 0 2px 10px rgba(var(--black-rgb), .65); }

.article-full-body { padding: 26px 30px 30px; color: var(--text-secondary); font-size: 15px; line-height: 1.85; }
.article-full-body p { margin: 0 0 16px; color: var(--text-secondary); font-size: 15px; line-height: 1.8; }
.article-full-body p:last-child { margin-bottom: 0; }
.article-full-body strong { color: var(--text); font-weight: 600; }
.article-full-body h2 { position: relative; margin: 30px 0 12px; padding: 0 0 0 14px; color: var(--text); font-size: 22px; font-weight: 600; line-height: 1.35; }
.article-full-body h2::before { content: ""; position: absolute; top: 3px; bottom: 3px; left: 0; width: 3px; border-radius: 3px; background: linear-gradient(180deg, var(--accent-light), var(--accent-deep)); }
.article-full-body .article-full-lead { margin-bottom: 22px; color: var(--text-contrast); font-size: 16px; line-height: 1.8; }
.article-map-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin: 20px 0 24px; }
.article-map-card { min-width: 0; overflow: hidden; background: var(--surface); border: 1px solid #303232; border-radius: 11px; color: inherit; transition: border-color .2s, transform .2s, background .2s; }
.article-map-card:hover { border-color: rgba(var(--accent-rgb), .65); transform: translateY(-2px); background: #202222; }
.article-map-card-image { aspect-ratio: 16/9; overflow: hidden; background: #101212; }
.article-map-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.article-map-card:hover .article-map-card-image img { transform: scale(1.025); }
.article-map-card-copy { padding: 12px 13px 14px; }
.article-map-card-copy > span { color: var(--text-secondary); font-size: 9px; font-weight: 700; letter-spacing: .1em; }
.article-map-card-copy strong { display: block; margin: 5px 0 4px; color: var(--text); font-size: 15px; }
.article-map-card-copy p { margin: 0; color: var(--text-muted); font-size: 12px; line-height: 1.55; }
.article-full-note { display: flex; align-items: flex-start; gap: 13px; margin: 20px 0 24px; padding: 15px 17px; border: 1px solid rgba(var(--accent-rgb), .25); border-radius: 11px; background: linear-gradient(115deg, rgba(var(--accent-rgb), .09), rgba(255,255,255,.015)); }
.article-note-icon { display: flex; align-items: center; justify-content: center; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 9px; background: rgba(var(--accent-rgb), .16); color: var(--accent-light); font-size: 16px; }
.article-full-note strong { display: block; margin: 0 0 3px; font-size: 14px; }
.article-full-note p { margin: 0; color: var(--text-secondary); font-size: 13px; line-height: 1.65; }
.article-full-list { display: grid; gap: 9px; list-style: none; margin: 14px 0 18px; padding: 0; }
.article-full-list li { position: relative; padding: 11px 14px 11px 36px; border: 1px solid var(--border); border-radius: 9px; background: rgba(255,255,255,.018); color: var(--text-secondary); font-size: 14px; line-height: 1.65; }
.article-full-list li::before { content: "✓"; position: absolute; left: 13px; top: 10px; color: var(--accent-soft); font-weight: 700; }
.article-publication-row { padding: 17px 24px 20px; border-top: 1px solid var(--border); background: #191b1b; }
.article-publication-label { margin-bottom: 13px; color: var(--text-muted); font-size: 10px; font-weight: 700; letter-spacing: .11em; }
.article-publication-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.article-publication-item { display: inline-flex; align-items: center; gap: 8px; color: var(--text-secondary); font-size: 12px; }
.article-publication-item svg { width: 17px; height: 17px; flex: 0 0 17px; color: var(--accent-soft); }
.article-publication-item strong { color: var(--text); font-weight: 600; }
.article-publication-item a { color: var(--accent-pale); font-weight: 600; text-decoration: none; }
.article-publication-item a:hover { color: var(--white); text-decoration: underline; }
/* Related materials — native uCoz $RELATED_ENTRIES$ output.
   Expected markup: .releated > ul.uRelatedEntries > li.related-block > a > img + span */
.article-related-section { margin-top: 22px; }
.article-related-header { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 13px; padding: 0 2px; }
.article-related-kicker { color: var(--accent-soft); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.article-related-header h2 { margin: 4px 0 0; color: var(--text); font-size: 23px; font-weight: 600; }
.article-related-all { color: var(--text-secondary); font-size: 12px; text-decoration: none; white-space: nowrap; }
.article-related-all:hover { color: var(--accent-pale); }

/* Reset uCoz's default list and build a responsive card grid. */
.article-related-section .releated { min-width: 0; }
.article-related-section .releated ul.uRelatedEntries {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 13px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}
.article-related-section .releated ul.uRelatedEntries > li.related-block {
    display: block;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}
.article-related-section .releated ul.uRelatedEntries > li.related-block::before,
.article-related-section .releated ul.uRelatedEntries > li.related-block::marker {
    content: none;
    display: none;
}
.article-related-section .releated ul.uRelatedEntries > li.related-block > a {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--border-related-card);
    border-radius: 12px;
    background: var(--surface-related-card);
    color: var(--text);
    text-decoration: none;
    transition: border-color .2s ease, transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.article-related-section .releated ul.uRelatedEntries > li.related-block > a:hover {
    transform: translateY(-2px);
    border-color: rgba(var(--accent-rgb), .58);
    background: var(--surface-related-card-hover);
    box-shadow: 0 9px 22px rgba(var(--black-rgb), .16);
}
.article-related-section .releated ul.uRelatedEntries > li.related-block > a:focus-visible {
    outline: 2px solid rgba(var(--accent-mint-rgb), .72);
    outline-offset: 3px;
}
.article-related-section .releated ul.uRelatedEntries > li.related-block > a > img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 32 / 15;
    margin: 0;
    border: 0;
    border-radius: 0;
    object-fit: cover;
    background: var(--surface-related-media);
    transition: transform .25s ease;
}
.article-related-section .releated ul.uRelatedEntries > li.related-block > a:hover > img {
    transform: scale(1.025);
}
.article-related-section .releated ul.uRelatedEntries > li.related-block > a > span {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    padding: 13px 14px 15px;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    overflow-wrap: anywhere;
    transition: color .2s ease;
}
.article-related-section .releated ul.uRelatedEntries > li.related-block > a:hover > span {
    color: var(--accent-pale);
}
@media (max-width: 1050px) {
  .article-full-cover { height: 300px; }
  .article-full-body { padding: 23px 24px 26px; }
}
@media (max-width: 800px) {
  
  
  .article-full-cover { height: 255px; margin: 12px 12px 0; }
  .article-full-body { padding: 20px 18px 23px; }
  .article-map-card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .article-map-card:last-child { display: none; }
  .article-related-section .releated ul.uRelatedEntries { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 560px) {
  .article-full-breadcrumbs { margin-bottom: 8px; }
  .article-full-card { border-radius: 11px; }
  
  
  
  
  .article-full-cover { height: 205px; margin: 10px 10px 0; border-radius: 9px; }
  .article-full-cover-caption { left: 14px; right: 14px; bottom: 13px; gap: 6px; }
  .article-full-cover-rating { top: 10px; left: 10px; min-height: 28px; padding: 5px 8px; }
  .article-full-cover-rating span { font-size: 9px; }
  
  .article-full-body { padding: 18px 14px 21px; font-size: 14px; line-height: 1.75; }
  .article-full-body p { font-size: 14px; line-height: 1.75; margin-bottom: 13px; }
  .article-full-body .article-full-lead { font-size: 14px; }
  .article-full-body h2 { margin: 24px 0 10px; font-size: 19px; }
  .article-map-card-grid { grid-template-columns: 1fr; gap: 9px; }
  .article-map-card { display: grid; grid-template-columns: 112px minmax(0,1fr); align-items: stretch; }
  .article-map-card-image { height: 100%; min-height: 95px; aspect-ratio: auto; }
  .article-map-card-copy { padding: 10px 11px; }
  .article-map-card-copy strong { font-size: 13px; margin: 3px 0; }
  .article-map-card-copy p { font-size: 11px; }
  .article-map-card:last-child { display: grid; }
  .article-full-list li { font-size: 13px; padding: 10px 11px 10px 31px; }
  .article-full-list li::before { left: 11px; }
  .article-publication-row { padding: 15px 14px 16px; }
  .article-publication-meta { display: grid; gap: 10px; }
  .article-related-header { align-items: flex-start; flex-direction: column; gap: 7px; }
  .article-related-header h2 { font-size: 20px; }
  .article-related-section .releated ul.uRelatedEntries { grid-template-columns: 1fr; gap: 10px; }
  .article-related-section .releated ul.uRelatedEntries > li.related-block > a { display: grid; grid-template-columns: 116px minmax(0,1fr); align-items: stretch; }
  .article-related-section .releated ul.uRelatedEntries > li.related-block > a > img { width: 116px; height: 88px; min-height: 88px; aspect-ratio: auto; }
  .article-related-section .releated ul.uRelatedEntries > li.related-block > a > span { align-self: center; padding: 11px 12px; font-size: 13px; line-height: 1.4; }
}

/* Full article page links, related links, and list/icon accents. */
.article-publication-item a {
    color: var(--accent-light);
    text-decoration-color: rgba(var(--accent-light-rgb), .42);
}
.article-publication-item a:hover {
    color: var(--accent-pale);
    text-decoration-color: currentColor;
}
.article-note-icon, .article-full-list li::before { color: var(--accent-light); }
/* =====================================================================
   ARTICLE BODY — editorial content components (V64)
   Lists, advice callouts, parameter tables and feature cards used in
   the published CS16-GO guides. Kept below the fold; not part of Critical CSS.
===================================================================== */

/* Secondary headings used inside long-form guides. */
.article-full-body h3 {
    margin: 23px 0 9px;
    color: var(--text);
    font-size: 18px;
    font-weight: 650;
    line-height: 1.4;
    letter-spacing: -.01em;
}

.article-full-body h4 {
    margin: 20px 0 8px;
    color: var(--text-contrast);
    font-size: 15px;
    font-weight: 650;
    line-height: 1.45;
}

.article-full-body a {
    color: var(--accent-light);
    text-decoration-color: rgba(var(--accent-light-rgb), .38);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color .18s ease, text-decoration-color .18s ease;
}

.article-full-body a:hover {
    color: var(--accent-pale);
    text-decoration-color: currentColor;
}

/* Regular unordered lists. The designed .article-full-list component stays untouched. */
.article-full-body ul:not(.article-full-list):not(.build-hero-features) {
    display: grid;
    gap: 8px;
    margin: 14px 0 20px;
    padding: 0;
    list-style: none;
}

.article-full-body ul:not(.article-full-list):not(.build-hero-features) > li {
    position: relative;
    min-width: 0;
    margin: 0;
    padding: 0 0 0 23px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.72;
}

.article-full-body ul:not(.article-full-list):not(.build-hero-features) > li::before {
    content: "";
    position: absolute;
    top: .72em;
    left: 5px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-soft);
    box-shadow: 0 0 0 3px rgba(var(--accent-mint-rgb), .075);
}

/* Ordered lists: quiet numbered markers instead of browser-default bullets. */
.article-full-body ol {
    display: grid;
    gap: 9px;
    margin: 15px 0 21px;
    padding: 0;
    list-style: none;
    counter-reset: article-step;
}

.article-full-body ol > li {
    position: relative;
    min-width: 0;
    min-height: 29px;
    margin: 0;
    padding: 3px 0 3px 40px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    counter-increment: article-step;
}

.article-full-body ol > li::before {
    content: counter(article-step);
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    border: 1px solid rgba(var(--accent-mint-rgb), .18);
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(var(--accent-rgb), .12), rgba(var(--accent-deep-rgb), .10));
    color: var(--accent-light);
    font-size: 11px;
    font-weight: 750;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.article-full-body li > ul,
.article-full-body li > ol {
    margin-top: 9px;
    margin-bottom: 7px;
}

.article-full-body li > p {
    margin: 5px 0 0;
}

/* Advice callout used for short, practical instructions inside articles. */
.article-full-body .advice-box {
    position: relative;
    display: block;
    margin: 19px 0 22px;
    padding: 13px 17px 14px;
    border: 1px solid rgba(255, 255, 255, .055);
    border-left: 4px solid rgba(var(--accent-mint-rgb), .58);
    border-radius: 9px;
    background: linear-gradient(110deg, rgba(255, 255, 255, .035), rgba(var(--accent-rgb), .035) 72%, rgba(255, 255, 255, .012));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .018);
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

.article-full-body .advice-box > :first-child { margin-top: 0; }
.article-full-body .advice-box > :last-child { margin-bottom: 0; }
.article-full-body .advice-box p { margin: 0 0 5px; font-size: inherit; line-height: inherit; }
.article-full-body .advice-box strong { color: var(--text-contrast); font-weight: 700; }
.article-full-body .advice-box a { color: var(--accent-pale); }

/* Published comparison / parameter tables. */
.article-full-body table.table-publ {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 18px 0 23px;
    overflow-x: auto;
    border: 1px solid var(--border-article);
    border-radius: 11px;
    border-spacing: 0;
    border-collapse: separate;
    background: #17191b;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.55;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(var(--accent-mint-rgb), .5) #111416;
}

/* Keep a table caption full-width when the table itself is scrollable. */
.article-full-body table.table-publ > caption {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 11px 15px;
    color: var(--text-contrast);
    background: linear-gradient(110deg, rgba(var(--accent-rgb), .075), #1b1e20 68%);
    border-bottom: 1px solid rgba(255, 255, 255, .075);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.5;
    text-align: left;
    white-space: normal;
    overflow-wrap: break-word;
}

.article-full-body table.table-publ::-webkit-scrollbar { height: 7px; }
.article-full-body table.table-publ::-webkit-scrollbar-track { background: #111416; border-radius: 999px; }
.article-full-body table.table-publ::-webkit-scrollbar-thumb { background: rgba(var(--accent-mint-rgb), .42); border: 2px solid #111416; border-radius: 999px; }

.article-full-body .table-publ thead,
.article-full-body .table-publ tbody {
    display: table;
    width: 100%;
    min-width: 100%;
    table-layout: auto;
}

.article-full-body .table-publ th,
.article-full-body .table-publ td {
    padding: 10px 13px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .065);
    color: var(--text-secondary);
    text-align: left;
    vertical-align: middle;
}

.article-full-body .table-publ th {
    background: linear-gradient(180deg, #202427, #1b1e20);
    color: var(--text-contrast);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .025em;
    white-space: nowrap;
}

.article-full-body .table-publ tbody tr:nth-child(even) td {
    background: rgba(255, 255, 255, .014);
}

.article-full-body .table-publ tbody tr:hover td {
    background: rgba(var(--accent-rgb), .045);
}

.article-full-body .table-publ tbody tr:last-child td { border-bottom: 0; }
.article-full-body .table-publ th:first-child,
.article-full-body .table-publ td:first-child { padding-left: 15px; }
.article-full-body .table-publ th:last-child,
.article-full-body .table-publ td:last-child { padding-right: 15px; }

/* Compact value chips such as 125 Hz, 1000 Hz, DPI and launch switches. */
.article-full-body .table-publ span.param {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 25px;
    padding: 3px 9px;
    border: 1px solid rgba(255, 255, 255, .075);
    border-radius: 7px;
    background: #0e1113;
    color: #dce3e8;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.25;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

/* Muted status colors. These work on span.param and ordinary colored spans. */
.article-full-body .table-publ span.red,
.article-full-body .table-publ span.param.red {
    color: #e1a0a0;
    border-color: rgba(190, 105, 105, .22);
    background-color: rgba(139, 55, 55, .12);
}

.article-full-body .table-publ span.green,
.article-full-body .table-publ span.param.green {
    color: #9bcdb0;
    border-color: rgba(104, 173, 132, .22);
    background-color: rgba(50, 115, 77, .13);
}

.article-full-body .table-publ span.blue,
.article-full-body .table-publ span.param.blue {
    color: #9db9e8;
    border-color: rgba(111, 148, 205, .24);
    background-color: rgba(58, 91, 145, .14);
}

.article-full-body .table-publ span.white,
.article-full-body .table-publ span.param.white {
    color: #e1e5e8;
    border-color: rgba(255, 255, 255, .075);
    background-color: rgba(255, 255, 255, .035);
}

/* Feature card from legacy article content, adapted to the full-article look. */
.article-full-body .card-param {
    position: relative;
    isolation: isolate;
    min-height: 0;
    margin: 17px 0 20px;
    padding: 18px 20px;
    overflow: hidden;
    border: 1px solid rgba(var(--accent-mint-rgb), .15);
    border-radius: 12px;
    background: linear-gradient(118deg, #191b1e 0%, #171a1c 66%, #1b1b1d 100%);
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.72;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.article-full-body .card-param::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: -75%;
    right: 16%;
    width: 35%;
    height: 230%;
    transform: skewX(-28deg);
    background: linear-gradient(180deg, rgba(var(--accent-rgb), .035), rgba(var(--accent-deep-rgb), .012));
    pointer-events: none;
}

.article-full-body .card-param:hover {
    border-color: rgba(var(--accent-mint-rgb), .26);
    background: linear-gradient(118deg, #1b1e20 0%, #181b1d 66%, #1c1c1e 100%);
    box-shadow: 0 8px 22px rgba(var(--black-rgb), .14), inset 0 1px 0 rgba(255, 255, 255, .03);
}

.article-full-body .card-param h3 {
    margin: 0 0 8px;
    color: var(--text-contrast);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.42;
}

.article-full-body .card-param p { margin: 0 0 9px; font-size: inherit; line-height: inherit; }
.article-full-body .card-param p:last-child { margin-bottom: 0; }
.article-full-body .card-param strong { color: var(--text-contrast); }
.article-full-body .card-param a { color: var(--accent-pale); }
.article-full-body .card-param ul,
.article-full-body .card-param ol { margin-top: 9px; margin-bottom: 4px; }

/* Keep the existing optional image treatment for card-param.card-with-icon. */
.article-full-body .card-param.card-with-icon {
    min-height: 108px;
    padding-left: 110px;
}

.article-full-body .card-param .card-param-image {
    position: absolute;
    top: 50%;
    left: 17px;
    display: block;
    width: 74px;
    height: 74px;
    transform: translateY(-50%);
    border-radius: 12px;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .17));
    pointer-events: none;
}

/* Helpful formatting for inline commands and code examples in the guides. */
.article-full-body code {
    display: inline-block;
    max-width: 100%;
    padding: 2px 6px;
    border: 1px solid rgba(255, 255, 255, .065);
    border-radius: 5px;
    background: #101315;
    color: #cbd8e7;
    font-family: Consolas, "Courier New", monospace;
    font-size: .9em;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.article-full-body pre {
    margin: 15px 0 20px;
    padding: 14px 16px;
    overflow-x: auto;
    border: 1px solid var(--border-article);
    border-radius: 10px;
    background: #101315;
    color: #cbd8e7;
    font-size: 13px;
    line-height: 1.65;
    scrollbar-width: thin;
    scrollbar-color: rgba(var(--accent-mint-rgb), .45) #101315;
}

.article-full-body pre code {
    display: block;
    max-width: none;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font-size: inherit;
    overflow-wrap: normal;
    white-space: pre;
}

.article-full-body blockquote {
    margin: 18px 0 21px;
    padding: 12px 17px;
    border-left: 3px solid rgba(var(--accent-mint-rgb), .48);
    border-radius: 0 9px 9px 0;
    background: rgba(255, 255, 255, .025);
    color: var(--text-secondary);
}

.article-full-body blockquote > :first-child { margin-top: 0; }
.article-full-body blockquote > :last-child { margin-bottom: 0; }

.article-full-body figure {
    margin: 18px 0 22px;
}

.article-full-body figure img,
.article-full-body > img,
.article-full-body p > img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 16px auto 20px;
    border: 1px solid var(--border-article);
    border-radius: 10px;
    background: #111416;
}

.article-full-body figcaption {
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.5;
    text-align: center;
}

.article-full-body hr {
    height: 0;
    margin: 23px 0;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, .075);
}

/* Ограничения и важные пояснения внутри статей */
.article-full-body .article-limit-note {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 17px 0 20px;
    padding: 12px 15px;
    background: linear-gradient(
        110deg,
        rgba(var(--accent-rgb), .055),
        rgba(255, 255, 255, .018) 75%
    );
    border: 1px solid rgba(var(--accent-rgb), .13);
    border-left: 3px solid rgba(var(--accent-rgb), .75);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.65;
}

.article-full-body .article-limit-note__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 15px;
    width: 15px;
    height: 19px;
    color: var(--accent-light);
    font-size: 17px;
    font-weight: 800;
    line-height: 1;
}

.article-full-body .article-limit-note p {
    margin: 0;
    color: var(--text-secondary);
    font-size: inherit;
    line-height: inherit;
}

.article-full-body .article-limit-note strong {
    color: var(--text-contrast);
    font-weight: 650;
}

@media (max-width: 560px) {
    .article-full-body .article-limit-note {
        gap: 9px;
        margin: 15px 0 17px;
        padding: 10px 12px;
        font-size: 12px;
    }
}

@media (max-width: 760px) {
    .article-full-body ul:not(.article-full-list):not(.build-hero-features) > li,
    .article-full-body ol > li { font-size: 13px; }

    .article-full-body .advice-box { padding: 12px 13px 13px; font-size: 13px; }
    .article-full-body table.table-publ th,
    .article-full-body table.table-publ td { padding: 9px 10px; }
    .article-full-body .card-param { padding: 15px 16px; font-size: 13px; }
    .article-full-body .card-param h3 { font-size: 15px; }
    .article-full-body .card-param.card-with-icon { padding: 81px 15px 15px; }
    .article-full-body .card-param .card-param-image { top: 12px; left: 14px; width: 58px; height: 58px; transform: none; }
}

@media (max-width: 560px) {
    .article-full-body h3 { margin-top: 20px; font-size: 16px; }
    .article-full-body h4 { font-size: 14px; }
    .article-full-body ul:not(.article-full-list):not(.build-hero-features) { gap: 7px; }
    .article-full-body ol { gap: 8px; }
    .article-full-body .advice-box { margin: 16px 0 19px; }
    .article-full-body table.table-publ { font-size: 12px; }
    .article-full-body .table-publ span.param { min-height: 23px; padding: 3px 7px; font-size: 10px; }
    .article-full-body .card-param { margin: 14px 0 17px; border-radius: 10px; }
}

/* Preserve the compact editorial section banner used by older article bodies. */
.article-full-body .article-section-banner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 24px 0 13px;
    padding: 10px 13px;
    border: 1px solid rgba(var(--accent-mint-rgb), .14);
    border-radius: 10px;
    background: linear-gradient(105deg, rgba(var(--accent-rgb), .065), rgba(255, 255, 255, .012) 68%);
}

.article-full-body .article-section-banner-icon {
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(var(--accent-mint-rgb), .17);
    border-radius: 9px;
    background: rgba(var(--accent-rgb), .09);
    color: var(--accent-light);
}

.article-full-body .article-section-banner-icon svg { display: block; width: 18px; height: 18px; }
.article-full-body .article-section-banner h2 { margin: 0; padding: 0; font-size: 17px; line-height: 1.38; }
.article-full-body .article-section-banner h2::before { display: none; }

.article-full-body .article-section-heading {
    display: flex;
    align-items: center;
    min-height: 40px;
    margin: 27px 0 13px;
    padding: 0 0 9px 4px;
    border-bottom: 1px solid rgba(var(--accent-rgb), .15);
    color: var(--text-contrast);
    font-size: 19px;
    font-weight: 650;
    line-height: 1.35;
}

/* Image groups found in the older guide markup, now styled inside the new article body. */
.article-full-body .one-img,
.article-full-body .two-img,
.article-full-body .three-img,
.article-full-body .banner-img,
.article-full-body picture.one-img {
    display: grid;
    gap: 13px;
    margin: 18px 0 22px;
    min-width: 0;
}

.article-full-body .one-img,
.article-full-body .banner-img,
.article-full-body picture.one-img {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
}

.article-full-body .two-img { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.article-full-body .three-img {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 12px;
    border: 1px solid var(--border-article);
    border-radius: 11px;
    background: #141719;
}

.article-full-body .one-img a,
.article-full-body .two-img a,
.article-full-body .three-img a,
.article-full-body .banner-img a,
.article-full-body picture.one-img a {
    display: block;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .065);
    border-radius: 8px;
    background: #101315;
}

.article-full-body .one-img img,
.article-full-body .two-img img,
.article-full-body .three-img img,
.article-full-body .banner-img img,
.article-full-body picture.one-img img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    border: 0;
    border-radius: 7px;
    opacity: .9;
    transition: opacity .2s ease, transform .2s ease;
}

.article-full-body .one-img a:hover img,
.article-full-body .two-img a:hover img,
.article-full-body .three-img a:hover img,
.article-full-body .banner-img a:hover img,
.article-full-body picture.one-img a:hover img {
    opacity: 1;
    transform: scale(1.012);
}

.article-full-body .table-publ span.red:not(.param),
.article-full-body .table-publ span.green:not(.param),
.article-full-body .table-publ span.blue:not(.param),
.article-full-body .table-publ span.white:not(.param) {
    display: inline-block;
    padding: 2px 6px;
    border: 1px solid transparent;
    border-radius: 5px;
    font-weight: 650;
    line-height: 1.35;
}

@media (max-width: 760px) {
    .article-full-body .article-section-banner { gap: 9px; margin: 21px 0 12px; padding: 9px 10px; }
    .article-full-body .article-section-banner-icon { width: 31px; height: 31px; flex-basis: 31px; }
    .article-full-body .article-section-banner h2 { font-size: 15px; }
    .article-full-body .three-img { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 10px; gap: 9px; }
}

@media (max-width: 560px) {
    .article-full-body .article-section-heading { min-height: 36px; margin: 22px 0 11px; font-size: 17px; }
    .article-full-body .two-img { gap: 8px; }
    .article-full-body .three-img { grid-template-columns: 1fr; }
}

