/* =========================================================
   CS16-GO — ARTICLE / BUILD DETAIL PAGE CSS
   V38: extracted from page-specific.css; cascade order preserved.
   Shared system-requirements/FAQ component is included because article.html uses it.
========================================================= */

/* =====================================================================
   SHARED COMPONENT — SYSTEM REQUIREMENTS + FAQ
   Used by: main_mobile_drawer.html and article.html
===================================================================== */

/* =========================================================
   SYSTEM REQUIREMENTS + FAQ
========================================================= */
.cs-section,
.cs-faq-wrap {
    position: relative;
    margin: 18px 0;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    overflow: hidden;
}

.cs-section::before,
.cs-faq-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(var(--accent-rgb), .045), transparent 42%);
}

.cs-section-title,
.cs-faq-title {
    position: relative;
    margin-bottom: 13px;
}

.cs-section-title h3,
.cs-faq-title h3 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    padding: 0;
    color: #f5f5f7;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 600;
}

.cs-sysreq-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.cs-sysreq-card {
    position: relative;
    padding: 12px;
    background: var(--bg);
    border: 1px solid var(--border-card);
    border-radius: 10px;
}

.cs-sysreq-card.cs-recommended {
    border-color: rgba(var(--accent-mint-rgb), .28);
    background: linear-gradient(145deg, rgba(var(--accent-rgb), .1), var(--bg) 68%);
    box-shadow: inset 0 1px 0 var(--overlay-inset);
}

.cs-card-title {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
}

.cs-card-title::before {
    content: "";
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .13);
}

.cs-sysreq-card:not(.cs-recommended) .cs-card-title::before {
    background: #666;
    box-shadow: 0 0 0 4px var(--border-faint);
}

.cs-req-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-top: 1px solid var(--border-subtle);
}

.cs-req-label {
    min-width: 0;
    color: #aeb1b6;
    font-size: 12px;
    line-height: 1.35;
}

.cs-req-value {
    flex: 0 0 auto;
    color: #e6e6e8;
    font-size: 12px;
    line-height: 1.35;
    text-align: right;
}

.cs-faq-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.cs-faq-card {
    position: relative;
    padding: 13px 13px 12px 45px;
    background: var(--bg);
    border: 1px solid var(--border-card);
    border-radius: 10px;
    transition: border-color .2s ease, transform .2s ease, background .2s ease;
}

.cs-faq-card:hover {
    transform: translateY(-1px);
    border-color: rgba(var(--accent-mint-rgb), .32);
    background: var(--surface-faq-hover);
}

.cs-faq-num {
    position: absolute;
    top: 13px;
    left: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 7px;
    background: rgba(var(--accent-rgb), .13);
    border: 1px solid rgba(var(--accent-rgb), .28);
    color: var(--accent-light);
    font-size: 11px;
    font-weight: 600;
    border-color: rgba(var(--accent-mint-rgb), .28);
}

.cs-faq-q,
.cs-faq-a {
    margin: 0;
}

.cs-faq-q {
    color: #f0f0f2;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 600;
}

.cs-faq-sep {
    width: 100%;
    height: 1px;
    margin: 9px 0;
    background: var(--separator-color);
}

.cs-faq-a {
    color: #9fa2a8;
    font-size: 12px;
    line-height: 1.55;
}

@media (max-width: 800px) {
    .cs-sysreq-grid,
    .cs-faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .cs-section,
    .cs-faq-wrap {
        padding: 13px;
    }

    .cs-req-row {
        align-items: flex-start;
    }

    .cs-req-value {
        max-width: 52%;
    }
}

/* Shared FAQ number accent for the home and build detail pages. */
.cs-faq-num { color: var(--accent-light); }

/* =====================================================================
   PAGE 3 — article.html
   Build detail: build Hero/gallery, feature cards, installation guide and article picker.
===================================================================== */

/* =========================================================
   ARTICLE / BUILD PAGE
========================================================= */

/* =========================================================
   BUILD HERO — three separate levels: main visual, gallery rail, features
========================================================= */
.build-hero-gallery {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
    align-items: stretch;
    min-height: clamp(320px, 27vw, 355px);
    margin: 0;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid var(--border-faint);
    border-radius: 18px;
    background: var(--build-hero-bg);
    box-shadow: var(--build-hero-gallery-shadow);
}

.build-hero-info {
    position: relative;
    z-index: 3;
    grid-column: 1;
    grid-row: 1;
    display: flex;
    min-width: 0;
    min-height: clamp(320px, 27vw, 355px);
    box-sizing: border-box;
    flex-direction: column;
    align-items: stretch;
    padding: clamp(22px, 2.2vw, 32px);
    background: var(--build-hero-info-bg);
}

/* The gradient spills over the image edge so the left/right sections feel like one scene. */
.build-hero-info::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    right: calc(0px - clamp(220px, 20vw, 330px));
    bottom: 0;
    width: clamp(220px, 20vw, 330px);
    pointer-events: none;
    background: var(--build-hero-image-transition);
}

.build-hero-info > * {
    position: relative;
    z-index: 1;
}

.build-hero-image-live {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: var(--accent-bright);
    box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .12);
}

.build-hero-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.article-title {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    overflow: hidden;
    color: var(--text);
    font-size: clamp(22px, 2.45vw, 36px);
    font-weight: 760;
    line-height: 1.12;
    letter-spacing: -.04em;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.article-rating {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    margin-top: 2px;
    padding: 8px 10px;
    border: 1px solid var(--build-hero-rating-border);
    border-radius: 9px;
    background: var(--build-hero-rating-bg);
    line-height: 1;
    white-space: nowrap;
}

.article-rating-stars {
    color: var(--build-hero-rating-star);
    font-size: 13px;
    letter-spacing: 1px;
}

.article-rating-score {
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 750;
}

.article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 11px;
    min-height: 0;
    margin: 0;
    padding: 0 0 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .075);
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.5;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.meta-icon {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    color: var(--text-muted);
}

.article-meta strong {
    color: var(--text-secondary);
    font-weight: 650;
}

.article-quick-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin: 11px 0 0;
}

.article-quick-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 32px;
    min-width: 0;
    padding: 6px 10px;
    border: 1px solid rgba(var(--accent-mint-rgb), .15);
    border-radius: 8px;
    background: rgba(255,255,255,.025);
    color: var(--text-secondary);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    white-space: nowrap;
    transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.article-quick-link svg { display: block; width: 15px; height: 15px; flex: 0 0 15px; color: var(--accent-light); }
.article-quick-link b { display: inline-grid; place-items: center; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 5px; background: rgba(var(--accent-rgb), .13); color: var(--accent-light); font-size: 9px; font-weight: 800; }
.article-quick-link:hover { transform: translateY(-1px); border-color: rgba(var(--accent-mint-rgb), .38); background: rgba(var(--accent-rgb), .09); color: var(--text); }
.article-quick-link:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; }
#articleScreenshots, #buildFeatures, #system-requirements { scroll-margin-top: 95px; }

.meta-divider {
    width: 3px;
    height: 3px;
    flex: 0 0 3px;
    border-radius: 50%;
    background: var(--border-light);
}

.build-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    margin: auto 0 0;
    padding-top: 17px;
}

.build-actions .build-btn {
    display: flex;
    width: auto;
    min-width: 0;
    min-height: 66px;
    height: auto;
    align-items: center;
    justify-content: flex-start;
    padding: 11px 13px;
    gap: 11px;
    border-radius: 13px;
    box-sizing: border-box;
    text-align: left;
    transform: translateY(0);
    transition: transform .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease, filter .22s ease;
}

.build-actions .build-btn > svg:first-child {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
}

.build-btn-copy {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    line-height: 1.2;
}

.build-btn-copy strong {
    color: inherit;
    font-size: 13px;
    font-weight: 750;
}

.build-btn-copy small {
    color: currentColor;
    font-size: 10px;
    font-weight: 450;
    opacity: .78;
}

.build-actions .build-btn .hero-button-arrow {
    margin-left: auto;
    opacity: .82;
    transition: transform .22s ease, opacity .22s ease;
}

.build-actions .build-btn.secondary .hero-button-arrow {
    background: rgba(var(--accent-rgb), .14);
    color: var(--accent-light);
}

.build-actions .build-btn.primary {
    border: 1px solid rgba(var(--accent-light-rgb), .42);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 56%, var(--accent-deep) 100%);
    color: var(--white);
    box-shadow: 0 8px 22px rgba(var(--accent-dark-rgb), .24), inset 0 1px 0 rgba(255, 255, 255, .09);
}

.build-actions .build-btn.primary:hover {
    background: linear-gradient(135deg, var(--accent-bright) 0%, var(--accent-hover-strong) 56%, var(--accent-hover-deep) 100%);
    box-shadow: 0 11px 27px rgba(var(--accent-dark-rgb), .3), inset 0 1px 0 rgba(255, 255, 255, .12);
    transform: translateY(-2px);
}

.build-actions .build-btn.secondary {
    border: 1px solid var(--build-hero-secondary-border);
    background: var(--build-hero-secondary-bg);
    color: var(--text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.build-actions .build-btn.secondary:hover {
    border-color: rgba(var(--accent-mint-rgb), .3);
    background: var(--build-hero-secondary-hover-bg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
    transform: translateY(-2px);
}

.build-actions .build-btn:hover .hero-button-arrow {
    opacity: 1;
    transform: translateX(2px);
}

.build-btn:focus-visible,
.build-hero-image-link:focus-visible,
.thumbs-nav:focus-visible,
.build-thumbs a:focus-visible {
    outline: 2px solid rgba(var(--accent-soft-rgb), .85);
    outline-offset: 3px;
}

/* Top block: image only; the thumbs and feature panel are independent components below. */
.build-hero-media {
    position: relative;
    z-index: 1;
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    min-height: clamp(320px, 27vw, 355px);
    overflow: hidden;
    background: var(--bg-dark);
}

.build-hero-image-stage {
    position: absolute;
    inset: 0;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: var(--bg-dark);
}

.build-hero-image-link {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
    background: var(--bg-dark);
}

.build-hero-image-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 74% center;
    filter: var(--build-hero-image-filter);
    opacity: 1;
    transition: transform .55s ease, filter .35s ease, opacity .2s ease;
}

.build-hero-image-link img.is-swapping { opacity: .38; }

.build-hero-image-link:hover img {
    transform: scale(1.025);
    filter: var(--build-hero-image-hover-filter);
}

.build-hero-image-shade {
    position: absolute;
    inset: 0;
    background: var(--build-hero-image-shade);
    pointer-events: none;
}

.build-hero-image-label {
    position: absolute;
    z-index: 3;
    left: 20px;
    bottom: 17px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .86);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .4);
    pointer-events: none;
}

.build-hero-image-live {
    width: 6px;
    height: 6px;
    flex-basis: 6px;
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .15);
}

.build-hero-image-zoom {
    position: absolute;
    z-index: 3;
    right: 17px;
    bottom: 15px;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 11px;
    background: rgba(9, 12, 13, .58);
    color: var(--white);
    backdrop-filter: blur(8px);
    pointer-events: none;
}

.build-hero-image-zoom svg { width: 19px; height: 19px; }

/* Independent screenshot strip */
.build-thumbs-wrap {
    position: relative;
    z-index: 1;
    margin: 12px 0 22px;
    padding: 15px 17px 17px;
    border: 1px solid var(--build-hero-thumbs-border);
    border-radius: 15px;
    background: var(--build-hero-thumbs-panel-bg);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .12);
}

.build-thumbs-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 1px 12px;
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 760;
    letter-spacing: .065em;
    line-height: 1.4;
    text-transform: uppercase;
}

.build-thumbs-heading-title {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 9px;
}

.build-thumbs-heading-icon {
    display: grid;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    place-items: center;
    border: 1px solid rgba(var(--accent-mint-rgb), .15);
    border-radius: 8px;
    background: rgba(var(--accent-rgb), .09);
    color: var(--accent-light);
}

.build-thumbs-heading-icon svg { display: block; width: 16px; height: 16px; }

.build-thumbs-count {
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 650;
    letter-spacing: .02em;
    text-transform: none;
    white-space: nowrap;
}

.build-thumbs-rail {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.build-thumbs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: stretch;
    gap: 10px;
    width: 100%;
    height: 86px;
    min-width: 0;
    padding: 0;
    opacity: 1;
    transform: translateX(0);
    transition: opacity .22s ease, transform .22s ease;
    box-sizing: border-box;
}

.build-thumbs.is-changing-next { opacity: 0; transform: translateX(-10px); }
.build-thumbs.is-changing-prev { opacity: 0; transform: translateX(10px); }

.build-thumbs a {
    display: none;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--build-hero-thumb-border);
    border-radius: 10px;
    background: var(--surface-raised);
    opacity: .78;
    transition: opacity .2s ease, border-color .2s ease, transform .2s ease, filter .2s ease, box-shadow .2s ease;
}

.build-thumbs a.is-visible { display: block; animation: thumbFadeIn .25s ease both; }
.build-thumbs a:hover { opacity: 1; border-color: rgba(var(--accent-mint-rgb), .72); transform: translateY(-2px); box-shadow: 0 0 0 2px rgba(var(--accent-rgb), .13), 0 8px 18px rgba(0, 0, 0, .24); }
.build-thumbs a.is-active { opacity: 1; border-color: var(--accent-bright); box-shadow: 0 0 0 2px rgba(var(--accent-rgb), .24); }
.build-thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; transition: filter .2s ease, transform .2s ease; }
.build-thumbs a:hover img { filter: brightness(1.08) saturate(1.06); transform: scale(1.025); }

.thumbs-nav {
    display: grid;
    width: 40px;
    height: 70px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 11px;
    background: var(--build-hero-nav-bg);
    color: var(--text-secondary);
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, color .2s ease, opacity .2s ease, transform .2s ease;
}

.thumbs-nav svg { display: block; width: 21px; height: 21px; }
.thumbs-nav:not(:disabled):hover { border-color: rgba(var(--accent-mint-rgb), .38); background: var(--surface-2); color: var(--white); transform: translateY(-1px); }
.thumbs-nav:disabled {
    color: var(--text-muted);
    border-color: var(--build-hero-thumb-border);
    background: var(--build-hero-nav-bg);
    opacity: .38;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.thumbs-nav:disabled:hover { color: var(--text-muted); transform: none; }

@keyframes thumbFadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Separate features panel below the gallery */
.build-feature-panel {
    margin: 12px 0 20px;
    padding: clamp(17px, 2vw, 24px);
    border: 1px solid var(--build-hero-feature-panel-border);
    border-radius: 16px;
    background: var(--build-hero-feature-panel-bg);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .12);
}

.build-feature-panel-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 0 0 16px;
    padding: 0 0 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .065);
}

.build-feature-panel-heading-icon {
    display: grid;
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    place-items: center;
    border: 1px solid rgba(var(--accent-mint-rgb), .18);
    border-radius: 13px;
    background: var(--build-hero-feature-icon-bg);
    color: var(--accent-light);
}

.build-feature-panel-heading-icon svg { width: 24px; height: 24px; }

.build-feature-panel-heading-copy { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.build-feature-panel-heading-copy h2 { margin: 0; color: var(--text); font-size: 19px; font-weight: 760; line-height: 1.2; }
.build-feature-panel-heading-copy p { margin: 0; color: var(--text-muted); font-size: 11px; line-height: 1.45; }
.build-feature-panel-count { margin-left: auto; padding: 7px 10px; border: 1px solid var(--border-faint); border-radius: 999px; color: var(--text-muted); font-size: 10px; font-weight: 650; white-space: nowrap; }

.build-hero-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.build-hero-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    min-height: 92px;
    padding: 13px;
    border: 1px solid var(--build-hero-feature-border);
    border-radius: 13px;
    background: var(--build-hero-feature-bg);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
    color: var(--text-secondary);
    line-height: 1.35;
    transition: border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.build-hero-features li:hover {
    border-color: rgba(var(--accent-mint-rgb), .24);
    background: var(--build-hero-feature-hover-bg);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .13);
    transform: translateY(-2px);
}

.build-feature-icon {
    display: grid;
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    place-items: center;
    border: 1px solid var(--build-hero-feature-icon-border);
    border-radius: 13px;
    background: var(--build-hero-feature-icon-bg);
    color: var(--accent-light);
}

.build-feature-icon svg { display: block; width: 22px; height: 22px; }
.build-feature-copy { display: flex; min-width: 0; flex-direction: column; gap: 5px; }
.build-feature-copy strong { color: var(--text); font-size: 12px; font-weight: 730; line-height: 1.3; }
.build-feature-copy small { color: var(--text-secondary); font-size: 10.5px; font-weight: 450; line-height: 1.48; }

@media (max-width: 1180px) {
    .build-hero-gallery { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr); min-height: 330px; }
    .build-hero-info, .build-hero-media { min-height: 330px; }
    .build-hero-info { padding: 22px 20px; }
    .build-hero-info::after { right: -230px; width: 230px; }
    .build-hero-heading { align-items: flex-start; gap: 8px; }
    .article-title { font-size: clamp(22px, 2.3vw, 31px); }
    .article-rating { padding: 7px 8px; gap: 5px; }
    .article-rating-stars { font-size: 11px; }
    .build-actions { gap: 8px; padding-top: 22px; }
    .build-actions .build-btn { min-height: 61px; padding: 9px 10px; gap: 8px; }
    .build-btn-copy strong { font-size: 11px; }
    .build-btn-copy small { font-size: 9px; }
    .build-thumbs { height: 78px; gap: 7px; }
    .build-hero-features { gap: 8px; }
    .build-hero-features li { min-height: 86px; padding: 10px; gap: 9px; }
    .build-feature-icon { width: 38px; height: 38px; flex-basis: 38px; border-radius: 11px; }
    .build-feature-icon svg { width: 20px; height: 20px; }
    .build-feature-copy strong { font-size: 11px; }
    .build-feature-copy small { font-size: 10px; }
}

@media (max-width: 900px) {
    .build-hero-gallery { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    .build-hero-info {
        grid-column: 1;
        grid-row: 1;
        min-height: 0;
        padding: 24px;
        background: linear-gradient(145deg, var(--build-hero-surface), var(--bg) 100%);
    }
    .build-hero-info::after { content: none; }
    .build-hero-media {
        grid-column: 1;
        grid-row: 2;
        height: clamp(235px, 45vw, 355px);
        min-height: 0;
        border-top: 1px solid var(--border-faint);
    }
    .build-hero-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .build-hero-features li { min-height: 84px; }
    .build-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); height: 76px; gap: 7px; }
    .build-thumbs-rail { grid-template-columns: 36px minmax(0, 1fr) 36px; gap: 8px; }
    .thumbs-nav { width: 36px; height: 64px; }
}

@media (max-width: 560px) {
    .build-hero-gallery { border-radius: 14px; }
    .build-hero-info { padding: 19px 15px 16px; }
    .build-hero-heading { flex-direction: column; align-items: flex-start; gap: 9px; }
    .article-title { width: 100%; font-size: clamp(19px, 5.4vw, 24px); }
    .article-rating { padding: 7px 9px; }
    .article-meta { gap: 7px 9px; padding-bottom: 12px; font-size: 10px; }
    .build-actions { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-top: 18px; }
    .build-actions .build-btn { min-height: 54px; padding: 10px 12px; }
    .build-btn-copy strong { font-size: 12px; }
    .build-btn-copy small { font-size: 9px; }
    .build-hero-media { height: clamp(205px, 54vw, 300px); }
    .build-hero-image-label { left: 13px; bottom: 12px; font-size: 9px; }
    .build-hero-image-zoom { right: 12px; bottom: 11px; width: 34px; height: 34px; }
    .build-thumbs-wrap { margin-top: 9px; padding: 12px 10px 13px; border-radius: 13px; }
    .build-thumbs-heading { margin-bottom: 9px; font-size: 10px; }
    .build-thumbs-heading-icon { width: 25px; height: 25px; flex-basis: 25px; }
    .build-thumbs-rail { grid-template-columns: 29px minmax(0, 1fr) 29px; gap: 6px; }
    .build-thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); height: 62px; gap: 5px; }
    .thumbs-nav { width: 29px; height: 48px; border-radius: 9px; }
    .thumbs-nav svg { width: 18px; height: 18px; }
    .build-feature-panel { margin-top: 9px; padding: 14px 11px; border-radius: 13px; }
    .build-feature-panel-heading { gap: 9px; margin-bottom: 11px; padding-bottom: 12px; }
    .build-feature-panel-heading-icon { width: 38px; height: 38px; flex-basis: 38px; border-radius: 11px; }
    .build-feature-panel-heading-icon svg { width: 20px; height: 20px; }
    .build-feature-panel-heading-copy h2 { font-size: 16px; }
    .build-feature-panel-heading-copy p { font-size: 10px; }
.build-feature-panel-count { display: none; }
    .build-hero-features { grid-template-columns: minmax(0, 1fr); gap: 7px; }
    .build-hero-features li { min-height: 67px; padding: 9px 10px; gap: 10px; }
    .build-feature-icon { width: 39px; height: 39px; flex-basis: 39px; }
    .build-feature-copy strong { font-size: 12px; }
    .build-feature-copy small { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    .build-hero-gallery *,
    .build-hero-gallery *::before,
    .build-hero-gallery *::after,
    .build-thumbs-wrap *,
    .build-thumbs-wrap *::before,
    .build-thumbs-wrap *::after,
    .build-feature-panel *,
    .build-feature-panel *::before,
    .build-feature-panel *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
}

.article-body {
    padding: 30px;
    margin: 0 0 24px;
    border: 1px solid var(--border-article);
    border-top: 1px solid var(--border-article);
    border-radius: 12px;
    background: var(--surface-article);
    color: var(--text-article);
    font-size: 15px;
    line-height: 27px;
}

.article-body p {
    margin: 0 0 18px;
    color: var(--text-article);
    font-size: 15px;
    line-height: 27px;
}

.article-body p:last-child { margin-bottom: 0; }

.article-section-heading {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 44px;
    margin: 30px 0 16px;
    padding: 0 0 0 5px;
    border-bottom: 1px solid rgba(var(--accent-rgb), .16);
    color: var(--white);
    font-size: 21px;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: -.01em;
}

.article-section-heading--icon { gap: 11px; padding-left: 0; }
.article-section-heading-icon { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border: 1px solid rgba(var(--accent-mint-rgb), .18); border-radius: 10px; background: rgba(var(--accent-rgb), .09); color: var(--accent-light); }
.article-section-heading-icon svg { display: block; width: 18px; height: 18px; }
.card-actions-related { display: flex; }
.card-actions-related .card-related-more { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 38px; padding: 8px 12px; border: 1px solid rgba(var(--accent-mint-rgb), .18); border-radius: 8px; background: linear-gradient(135deg, rgba(var(--accent-rgb), .14), rgba(var(--accent-deep-rgb), .10)); color: var(--text); font-size: 12px; font-weight: 750; text-decoration: none; transition: border-color .18s ease, background .18s ease, transform .18s ease, color .18s ease; }
.card-actions-related .card-related-more svg { display: block; width: 16px; height: 16px; color: var(--accent-light); }
.card-actions-related .card-related-more:hover { transform: translateY(-1px); border-color: rgba(var(--accent-mint-rgb), .45); background: linear-gradient(135deg, rgba(var(--accent-rgb), .22), rgba(var(--accent-deep-rgb), .16)); color: var(--white); }
.article-similar-grid .card-actions { gap: 0; }

.article-section-banner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 62px;
    margin: 24px 0 14px;
    padding: 11px 15px;
    overflow: hidden;
    border: 1px solid var(--border-faint);
    border-radius: 10px;
    background: linear-gradient(110deg, #191b1d 0%, #17191a 72%, #141618 100%);
    color: var(--text-secondary);
    box-sizing: border-box;
}

.article-section-banner::after {
    content: "";
    position: absolute;
    top: -22px;
    right: -16px;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--accent-rgb), .075), transparent 70%);
    pointer-events: none;
}

.article-section-banner-icon {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border: 1px solid rgba(var(--accent-mint-rgb), .19);
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(var(--accent-rgb), .22), rgba(var(--accent-deep-rgb), .12));
    color: var(--accent-light);
}

.article-section-banner-icon svg { width: 20px; height: 20px; }

.article-section-banner h2 {
    position: relative;
    z-index: 1;
    min-width: 0;
    margin: 0;
    color: var(--text-secondary);
    font-size: clamp(16px, 1.4vw, 18px);
    line-height: 1.42;
    font-weight: 630;
    letter-spacing: -.015em;
}

/* Article feature cards: graphite surfaces with restrained emerald icon plates. */
.card-param {
    position: relative;
    margin: 14px 0;
    min-height: 108px;
    padding: 19px 22px 18px 110px;
    border: 1px solid var(--article-param-border);
    border-radius: 12px;
    background: var(--article-param-background);
    color: var(--article-param-text);
    font-size: 14px;
    line-height: 1.72;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .018);
    transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.card-param h3 {
    margin: 0 0 8px;
    color: var(--text);
    font-size: 16px;
    font-weight: 650;
    line-height: 1.42;
    letter-spacing: -.01em;
}


.card-param:hover {
    transform: translateY(-2px);
    border-color: var(--article-param-hover-border);
    background: var(--article-param-hover-background);
    box-shadow: 0 9px 22px rgba(var(--black-rgb), .17), inset 0 1px 0 rgba(255, 255, 255, .025);
}

.card-param h3 + * {
    margin-top: 0;
}

.two-img,
.three-img,
picture.one-img {
    display: grid;
    gap: 16px;
    margin: 18px 0;
}

.one-img,
.banner-img {
    grid-template-columns: 1fr;
    text-align: center;
}

.two-img { grid-template-columns: repeat(2, minmax(0,1fr)); }
.three-img {
    grid-template-columns: repeat(3, minmax(0,1fr));
    padding: 16px;
    border: 1px solid var(--overlay-subtle);
    border-radius: 10px;
    background: #121212;
}

.two-img img,
.three-img img,
.banner-img img {
    display: block;
    width: 100%;
    border-radius: 7px;
    opacity: .86;
    transition: opacity .2s ease, transform .2s ease;
}

.two-img a:hover img,
.three-img a:hover img,
.banner-img a:hover img {
    opacity: 1;
    transform: translateY(-1px);
}

/* Installation guide: focused three-step path with compact, icon-led cards. */
.guide-block {
    margin: 23px 0;
    overflow: hidden;
    border: 1px solid rgba(var(--accent-mint-rgb), .18);
    border-radius: 15px;
    background: linear-gradient(145deg, rgba(var(--accent-rgb), .035), var(--surface) 45%, var(--bg) 100%);
    box-shadow: 0 12px 30px rgba(var(--black-rgb), .12), inset 0 1px 0 rgba(255,255,255,.025);
}

.guide-header {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 15px 18px;
    border-bottom: 1px solid rgba(var(--accent-mint-rgb), .12);
    background: linear-gradient(100deg, rgba(var(--accent-rgb), .08), var(--surface-raised) 45%, var(--surface));
    color: var(--text);
}

.guide-header-copy { display: grid; min-width: 0; gap: 3px; }
.guide-header h2 {
    margin: 0;
    color: var(--text);
    font-size: 18px;
    line-height: 1.25;
    font-weight: 760;
}
.guide-header-copy p { margin: 0; color: var(--text-muted); font-size: 11px; line-height: 1.4; }
.guide-steps-count { margin-left: auto; padding: 6px 9px; border: 1px solid rgba(var(--accent-mint-rgb), .17); border-radius: 999px; color: var(--accent-light); font-size: 9px; font-weight: 800; white-space: nowrap; }

.guide-icon {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    color: var(--accent-soft);
}

.guide-content {
    padding: 14px;
    background: transparent;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.step {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 184px;
    flex-direction: column;
    margin: 0;
    padding: 18px 16px 14px;
    overflow: hidden;
    border: 1px solid var(--content-card-border);
    border-radius: 14px;
    background: radial-gradient(circle at 90% 0%, rgba(var(--accent-rgb), .10), transparent 47%), linear-gradient(145deg, var(--surface-raised), var(--bg));
    transition: transform .22s ease, border-color .22s ease, background-color .22s ease, box-shadow .22s ease;
}
.step::after { content: ""; position: absolute; right: -29px; bottom: -35px; width: 100px; height: 100px; border: 1px solid rgba(var(--accent-mint-rgb), .07); border-radius: 50%; box-shadow: 0 0 0 12px rgba(var(--accent-rgb), .025), 0 0 0 25px rgba(var(--accent-rgb), .018); pointer-events: none; }

.step-number {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    border: 1px solid rgba(var(--accent-mint-rgb), .24);
    border-radius: 9px;
    background: rgba(var(--accent-rgb), .10);
    color: var(--accent-light);
    font-size: 10px;
    font-weight: 850;
    line-height: 1;
    pointer-events: none;
}

.step-heading {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
    min-height: 0;
    padding-right: 30px;
}

.step-icon {
    display: grid;
    flex: 0 0 48px;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(var(--accent-mint-rgb), .24);
    border-radius: 15px;
    background: linear-gradient(145deg, rgba(var(--accent-rgb), .2), rgba(var(--accent-deep-rgb), .24));
    color: var(--accent-light);
    box-shadow: 0 3px 9px rgba(var(--black-rgb), .18);
}

.step-icon svg {
    display: block;
    width: 20px;
    height: 20px;
}

.step-icon-play {
    border-color: transparent;
    background: linear-gradient(145deg, var(--accent), var(--accent-deep));
    color: var(--white);
    box-shadow: 0 4px 12px rgba(var(--accent-dark-rgb), .28);
}

.step-heading h3 {
    min-width: 0;
    margin: 0;
    color: var(--text);
    font-size: 14px;
    font-weight: 760;
    line-height: 1.32;
}

.step-description {
    position: relative;
    z-index: 1;
    margin: 12px 0 0;
    color: var(--text-body);
    font-size: 12px;
    line-height: 1.58;
}

.step-description code {
    padding: 1px 4px;
    border: 1px solid var(--border-faint);
    border-radius: 4px;
    background: var(--surface-2);
    color: var(--accent-light);
    font-size: .94em;
}

.step-footnote { display: flex; align-items: center; gap: 5px; margin-top: auto; padding-top: 14px; color: var(--text-muted); font-size: 8px; font-weight: 850; letter-spacing: .12em; }
.step-footnote i { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-left: auto; border-radius: 6px; background: rgba(var(--accent-rgb), .10); color: var(--accent-light); font-size: 11px; font-style: normal; letter-spacing: 0; }
.step:hover {
    transform: translateY(-2px);
    border-color: rgba(var(--accent-mint-rgb), .25);
    background: linear-gradient(145deg, var(--surface), var(--surface-raised));
    box-shadow: 0 7px 18px rgba(var(--black-rgb), .16);
}

@media (max-width: 960px) {
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
    .guide-content { padding: 10px; }
    .steps { grid-template-columns: 1fr; gap: 9px; }
    .step { min-height: 0; padding: 13px; }
    .step-description { margin-top: 10px; padding-left: 0; }
    .step { min-height: 0; padding: 15px 13px 12px; }
    .step-heading { gap: 10px; }
    .step-heading h3 { font-size: 13px; }
    .guide-header { padding: 13px 14px; }
    .guide-header h2 { font-size: 17px; }
    .guide-header-copy p { font-size: 10px; }
    .guide-steps-count { display: none; }
}

.author-box {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 12px 0 26px;
    padding: 14px;
    border: 1px solid rgba(var(--accent-rgb), .16);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(var(--accent-rgb), .055), var(--surface-deep) 72%);
}

.author-avatar {
    width: 60px;
    height: 60px;
    flex: 0 0 60px;
    border-radius: 14px;
    object-fit: cover;
    border: 1px solid var(--overlay-border);
}

.author-name {
    margin-bottom: 3px;
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
}

.author-name a { color: var(--accent-light); }
.author-text { color: var(--text-muted); font-size: 12px; line-height: 1.65; }

.article-build-picker {
    position: relative;
    margin: 18px 0 28px;
    overflow: hidden;
    border: 1px solid var(--border-faint);
    border-radius: 12px;
    background: var(--surface-article);
    isolation: isolate;
}

.article-picker-banner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 122px;
    padding: 18px 20px;
    overflow: hidden;
    border-bottom: 1px solid var(--border-faint);
    background: #141516;
}

.article-picker-banner > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 16% 48%;
    filter: saturate(.76) brightness(.54) contrast(1.02);
    transform: scale(1.02);
}

.article-picker-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(18, 20, 21, .28) 0%, rgba(18, 20, 21, .84) 54%, #181818 100%), linear-gradient(180deg, rgba(18, 20, 21, .08), rgba(18, 20, 21, .68));
    pointer-events: none;
}

.article-picker-banner-copy {
    position: relative;
    z-index: 1;
    min-width: 0;
    max-width: 760px;
}

.article-picker-eyebrow {
    display: block;
    margin-bottom: 6px;
    color: var(--accent-light);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .13em;
}

.article-picker-title {
    margin: 0;
    color: var(--text);
    font-size: clamp(19px, 2vw, 24px);
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -.025em;
}

.article-picker-banner-copy p {
    margin: 7px 0 0;
    color: var(--hero-description-color);
    font-size: 13px;
    line-height: 1.5;
}

.article-picker-banner-icon {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    margin-left: auto;
    border: 1px solid rgba(var(--accent-mint-rgb), .24);
    border-radius: 12px;
    background: linear-gradient(145deg, var(--accent) 0%, var(--accent-strong) 58%, var(--accent-deep) 100%);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(var(--accent-dark-rgb), .2), inset 0 1px 0 rgba(255,255,255,.12);
}

.article-picker-banner-icon svg {
    display: block;
    width: 25px;
    height: 25px;
}

.article-picker-main { padding: 20px; }

.article-picker-status {
    margin-bottom: 14px;
    color: var(--text-secondary);
    font-size: 13px;
}

.article-picker-progress { margin-bottom: 16px; }
.article-picker-progress-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 7px;
    color: var(--text-secondary);
    font-size: 12px;
}

.article-picker-progress-line {
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
}

.article-picker-progress-fill {
    width: 20%;
    height: 100%;
    border-radius: inherit;
    background: var(--accent);
    transition: width .25s ease;
}

.article-picker-step { display: none; }
.article-picker-step.active { display: block; }

.article-picker-label {
    margin-bottom: 10px;
    color: var(--white);
    font-size: 15px;
    font-weight: 500;
}

.article-picker-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.article-picker-btn {
    padding: 9px 12px;
    border: 1px solid rgba(var(--accent-rgb), .18);
    border-radius: 9px;
    background: var(--surface-raised);
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.3;
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.article-picker-btn:hover,
.article-picker-btn.active {
    border-color: var(--accent);
    background: rgba(var(--accent-rgb), .14);
    color: var(--white);
}

.article-picker-nav {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.article-picker-nav-btn,
.article-picker-random-btn,
.article-picker-more {
    padding: 9px 14px;
    border: 1px solid rgba(var(--accent-rgb), .22);
    border-radius: 9px;
    background: var(--overlay-subtle);
    color: var(--text-soft);
    font-size: 13px;
    cursor: pointer;
    transition: .2s ease;
}

.article-picker-nav-btn.primary {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.article-picker-nav-btn:disabled { opacity: .45; cursor: not-allowed; }
.article-picker-nav-btn:hover:not(:disabled),
.article-picker-random-btn:hover,
.article-picker-more:hover { border-color: var(--accent); color: var(--white); }

.article-picker-builds {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 10px;
    margin-top: 15px;
}

.article-picker-build {
    display: block;
    overflow: hidden;
    border: 1px solid rgba(var(--accent-rgb), .15);
    border-radius: 10px;
    background: var(--overlay-inset);
    color: var(--white);
    text-decoration: none;
    transition: .2s ease;
}

.article-picker-build:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
}

.article-picker-build img {
    display: block;
    width: 100%;
    height: 105px;
    object-fit: cover;
}

.article-picker-build-body {
    display: block;
    padding: 9px;
}

.article-picker-tag {
    display: inline-flex;
    margin-bottom: 5px;
    padding: 3px 7px;
    border-radius: 999px;
    background: rgba(var(--accent-rgb), .13);
    color: var(--accent-light);
    font-size: 10px;
}

.article-picker-build strong {
    display: block;
    color: var(--text);
    font-size: 12px;
    line-height: 1.4;
}

.article-picker-empty {
    grid-column: 1 / -1;
    padding: 14px;
    border: 1px dashed rgba(var(--accent-rgb), .18);
    border-radius: 9px;
    color: var(--text-secondary);
    font-size: 12px;
}

.article-picker-random {
    margin-top: 14px;
}

.article-picker-random-text {
    margin-bottom: 7px;
    color: var(--text-muted);
    font-size: 11px;
}

.article-picker-more[hidden] { display: none; }

.article-similar-grid { margin-bottom: 0; }

@media (max-width: 900px) {
    .article-picker-builds { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 760px) {
    .article-body { padding: 22px 18px; }
    .article-body p { font-size: 14px; line-height: 24px; }
    .article-section-banner { gap: 10px; margin: 22px 0 13px; padding: 10px 11px; }
    .article-section-banner-icon { width: 35px; height: 35px; flex-basis: 35px; }
    .article-section-banner-icon svg { width: 18px; height: 18px; }
    .article-section-banner h2 { font-size: 16px; }
    .article-section-heading {
        min-height: 40px;
        margin-top: 26px;
        margin-bottom: 14px;
        font-size: 18px;
    }
    .three-img { grid-template-columns: 1fr; padding: 10px; }
    .card-param { min-height: 0; padding: 80px 15px 15px; font-size: 13px; line-height: 1.68; }
    .card-param h3 { margin-bottom: 7px; font-size: 15px; }
    .article-picker-builds { grid-template-columns: 1fr; }
    .article-picker-banner { min-height: 116px; padding: 16px; gap: 10px; }
    .article-picker-banner-icon { width: 40px; height: 40px; flex-basis: 40px; border-radius: 10px; }
    .article-picker-banner-icon svg { width: 22px; height: 22px; }
    .article-picker-title { font-size: 19px; }
    .article-picker-banner-copy p { font-size: 12px; }
    .article-picker-main { padding: 15px; }
    .article-picker-options { display: grid; grid-template-columns: 1fr 1fr; }
    .article-picker-btn { width: 100%; }
}

@media (max-width: 520px) {
    .meta-item { gap: 5px; }
    .article-picker-options { grid-template-columns: 1fr; }
    .article-picker-main { padding: 14px; }
    .author-box { align-items: flex-start; }
}

/* Build detail link accents. */
.article-body a, .card-param a, .author-name a {
    color: var(--accent-light);
    text-decoration-color: rgba(var(--accent-light-rgb), .42);
}
.article-body a:hover, .card-param a:hover {
    color: var(--accent-light);
    text-decoration-color: rgba(var(--accent-light-rgb), .42);
}


/* =========================================================
   V39 — ARTICLE PAGE VISUAL REGRESSION FIXES
   Restore feature-image placement, align system requirements
   with the installation guide, and scope related cards to 3 columns.
========================================================= */

/* Feature cards: image is a positioned visual on the left, copy stays beside it. */
.article-page .card-param.card-with-icon {
    display: block;
    padding: 19px 22px 18px 110px;
}

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

/* System requirements use the same outer frame/header treatment as "Как установить". */
.article-requirements-shell > .cs-section {
    position: relative;
    margin: 23px 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(var(--accent-mint-rgb), .18);
    border-radius: 15px;
    background: linear-gradient(145deg, rgba(var(--accent-rgb), .035), var(--surface) 45%, var(--bg) 100%);
    box-shadow: 0 12px 30px rgba(var(--black-rgb), .12), inset 0 1px 0 rgba(255,255,255,.025);
}

.article-requirements-shell > .cs-section::before {
    opacity: .22;
    pointer-events: none;
}

.article-requirements-shell .article-requirements-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0;
    padding: 15px 18px;
    border: 0;
    border-bottom: 1px solid rgba(var(--accent-mint-rgb), .12);
    border-radius: 0;
    background: linear-gradient(100deg, rgba(var(--accent-rgb), .08), var(--surface-raised) 45%, var(--surface));
    color: var(--text);
}

.article-requirements-shell .article-requirements-header .guide-icon {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    color: var(--accent-soft);
}

.article-requirements-shell .article-requirements-header .guide-header-copy {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.article-requirements-shell .article-requirements-header h2 {
    margin: 0;
    color: var(--text);
    font-size: 18px;
    line-height: 1.25;
    font-weight: 760;
}

.article-requirements-shell .article-requirements-header p {
    margin: 0;
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.45;
}

.article-requirements-shell .cs-sysreq-grid {
    position: relative;
    z-index: 1;
    padding: 14px;
}

/* Related builds: exactly three columns on wide screens, matching the page design. */
.article-page .article-similar-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .article-page .article-similar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .article-page .card-param.card-with-icon {
        min-height: 0;
        padding: 82px 15px 15px;
        font-size: 13px;
        line-height: 1.68;
    }

    .article-page .card-param-image {
        left: 15px;
        top: 13px;
        width: 62px;
        height: 62px;
        transform: none;
    }

    .article-requirements-shell .article-requirements-header {
        padding: 13px 14px;
    }

    .article-requirements-shell .article-requirements-header h2 {
        font-size: 17px;
    }

    .article-requirements-shell .article-requirements-header p {
        font-size: 10px;
    }

    .article-requirements-shell .cs-sysreq-grid {
        padding: 10px;
    }
}

@media (max-width: 560px) {
    .article-page .article-similar-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .article-requirements-shell .cs-sysreq-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}


/* =====================================================================
   UCOZ ARTICLE TEMPLATE — V40 COMPATIBILITY LAYER
   Only applies to the converted uCoz entry template (body.ucoz-article-page).
===================================================================== */

body.ucoz-article-page .ucoz-site {
    padding-bottom: 22px;
}

body.ucoz-article-page .ucoz-site-header {
    min-width: 0;
    margin: 0 0 12px;
}

body.ucoz-article-page .ucoz-site-header img {
    max-width: 100%;
    height: auto;
}

body.ucoz-article-page .ucoz-main-layout {
    align-items: start;
}

body.ucoz-article-page .ucoz-sidebar {
    min-width: 0;
    align-self: start;
}

body.ucoz-article-page .ucoz-sidebar > * {
    min-width: 0;
    max-width: 100%;
}

body.ucoz-article-page .ucoz-sidebar .menu_l_head,
body.ucoz-article-page .ucoz-sidebar .cont_head1 {
    display: flex;
    min-height: 42px;
    height: auto;
    align-items: center;
    padding: 10px 13px;
    border: 1px solid var(--border-subtle);
    border-bottom-color: rgba(var(--accent-mint-rgb), .16);
    border-radius: 10px 10px 0 0;
    background: linear-gradient(110deg, rgba(var(--accent-rgb), .09), var(--surface) 60%);
    color: var(--text);
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
}

body.ucoz-article-page .ucoz-sidebar .menu-publ {
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    border-top: 0;
    border-radius: 0 0 10px 10px;
    background: var(--surface);
}

body.ucoz-article-page .ucoz-sidebar .menu-publ li {
    display: flex;
    min-height: 58px;
    height: auto;
    align-items: center;
    gap: 9px;
    margin: 0;
    padding: 8px 10px;
    border-bottom: 1px solid var(--border-subtle);
    background: transparent;
}

body.ucoz-article-page .ucoz-sidebar .menu-publ li:last-child {
    border-bottom: 0;
}

body.ucoz-article-page .ucoz-sidebar .menu-publ li a {
    min-width: 0;
    padding: 0;
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.4;
    text-decoration: none;
}

body.ucoz-article-page .ucoz-sidebar .menu-publ li a:hover {
    color: var(--accent-light);
}

body.ucoz-article-page .ucoz-sidebar .menu-publ li img {
    display: block;
    width: 54px;
    height: 42px;
    flex: 0 0 54px;
    margin: 0;
    border: 1px solid var(--border-subtle);
    border-radius: 7px;
    object-fit: cover;
}

body.ucoz-article-page .ucoz-sidebar .cont_full1,
body.ucoz-article-page .ucoz-sidebar .cont_full2 {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 0 10px;
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    background: var(--surface);
    box-shadow: none;
    box-sizing: border-box;
}

body.ucoz-article-page .ucoz-sidebar .cont_text,
body.ucoz-article-page .ucoz-sidebar .cont_text1 {
    background: transparent;
    color: var(--text-secondary);
}

body.ucoz-article-page .ucoz-article-page-content {
    min-width: 0;
}

body.ucoz-article-page .ucoz-build-article {
    min-width: 0;
}

body.ucoz-article-page .ucoz-article-page-content .breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin: 0 0 12px;
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.5;
}

body.ucoz-article-page .ucoz-article-page-content .breadcrumbs a {
    color: var(--text-secondary);
    text-decoration: none;
}

body.ucoz-article-page .ucoz-article-page-content .breadcrumbs a:hover {
    color: var(--accent-light);
}

body.ucoz-article-page .ucoz-edit-link a {
    color: var(--accent-light);
    text-decoration: none;
}

body.ucoz-article-page .article-body {
    min-width: 0;
    overflow-wrap: anywhere;
}

body.ucoz-article-page .article-body table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text-body);
    font-size: 13px;
}

body.ucoz-article-page .article-body table th {
    padding: 8px 10px;
    border-bottom: 1px solid var(--border-light);
    background: var(--surface-2);
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
}

body.ucoz-article-page .article-body table td {
    padding: 7px 10px;
    border-bottom: 1px solid var(--border-subtle);
}

body.ucoz-article-page .article-body table td:first-child {
    border-right: 1px solid var(--border-subtle);
}

/* =========================================================
   V44 — CLEAN CONTENT LISTS
   Applies to plain <ol>, <ul> and <li> emitted by uCoz inside
   .article-body. No custom classes are required in the content.
========================================================= */
.article-body ol,
.article-body ul {
    margin: 18px 0 22px;
    padding: 0;
    color: var(--text-article, var(--text-body));
    list-style: none;
}

.article-body ol {
    counter-reset: article-content-counter;
}

.article-body ol > li,
.article-body ul > li {
    position: relative;
    margin: 0 0 11px;
    padding-top: 1px;
    color: inherit;
    font-size: inherit;
    line-height: 1.72;
    list-style: none;
}

.article-body ol > li {
    min-height: 27px;
    padding-left: 39px;
    counter-increment: article-content-counter;
}

.article-body ol > li::before {
    content: counter(article-content-counter);
    position: absolute;
    top: 1px;
    left: 0;
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border: 1px solid rgba(190, 198, 205, .27);
    border-radius: 8px;
    background: rgba(190, 198, 205, .075);
    color: #cbd2d8;
    font-size: 11px;
    font-weight: 750;
    line-height: 1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.article-body ul > li {
    padding-left: 24px;
}

.article-body ul > li::before {
    content: "";
    position: absolute;
    top: .78em;
    left: 4px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #aeb8c1;
    box-shadow: 0 0 0 4px rgba(174, 184, 193, .11);
}

.article-body ol > li:last-child,
.article-body ul > li:last-child {
    margin-bottom: 0;
}

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

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

.article-body li > p:last-child {
    margin-bottom: 0;
}

@media (max-width: 560px) {
    .article-body ol,
    .article-body ul {
        margin-top: 15px;
        margin-bottom: 18px;
    }

    .article-body ol > li {
        padding-left: 35px;
    }

    .article-body ol > li::before {
        width: 24px;
        height: 24px;
        border-radius: 7px;
    }

    .article-body ul > li {
        padding-left: 21px;
    }
}

body.ucoz-article-page .article-body .cat-build {
    display: inline-block;
    padding: 10px 12px;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text-secondary);
}

body.ucoz-article-page .article-body .cat-build a {
    color: var(--accent-light);
    border-bottom: 1px dashed currentColor;
    text-decoration: none;
}

body.ucoz-article-page .article-body .releated__models {
    margin: 0 0 15px;
    padding: 12px;
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    background: var(--surface);
}

body.ucoz-article-page .article-body .releated__models_title {
    min-height: 30px;
    margin: 0 0 10px;
    padding: 6px 10px;
    border-radius: 7px;
    background: var(--surface-2);
    color: var(--text);
    font-size: 13px;
    line-height: 1.4;
}

body.ucoz-article-page .article-body .releated__models h2 {
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
}

body.ucoz-article-page .article-body a.m_m4a1,
body.ucoz-article-page .article-body a.m_awp,
body.ucoz-article-page .article-body a.m_ak47,
body.ucoz-article-page .article-body a.m_knive,
body.ucoz-article-page .article-body a.m_glock,
body.ucoz-article-page .article-body a.m_usp,
body.ucoz-article-page .article-body a.m_scout,
body.ucoz-article-page .article-body a.m_deagle,
body.ucoz-article-page .article-body a.m_famas,
body.ucoz-article-page .article-body a.m_pack {
    display: inline-block;
    margin: 0 5px 6px 0;
    padding: 9px 10px;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    background: var(--surface-raised);
    color: var(--text-secondary);
    text-align: center;
    text-decoration: none;
    vertical-align: top;
}

body.ucoz-article-page .article-body .m_m4a1::before,
body.ucoz-article-page .article-body .m_awp::before,
body.ucoz-article-page .article-body .m_ak47::before,
body.ucoz-article-page .article-body .m_knive::before,
body.ucoz-article-page .article-body .m_usp::before,
body.ucoz-article-page .article-body .m_glock::before,
body.ucoz-article-page .article-body .m_scout::before,
body.ucoz-article-page .article-body .m_deagle::before,
body.ucoz-article-page .article-body .m_famas::before,
body.ucoz-article-page .article-body .m_pack::before {
    display: block;
    width: 115px;
    height: 40px;
    margin: 0 auto 5px;
    background-repeat: no-repeat;
    background-position: center;
    opacity: .9;
    content: "";
}

body.ucoz-article-page .article-body .m_m4a1::before { background-image: url("/img/board/m4a1.webp"); }
body.ucoz-article-page .article-body .m_awp::before { background-image: url("/img/board/awp.webp"); }
body.ucoz-article-page .article-body .m_ak47::before { background-image: url("/img/board/ak47.webp"); }
body.ucoz-article-page .article-body .m_knive::before { background-image: url("/img/board/knife.webp"); }
body.ucoz-article-page .article-body .m_usp::before { background-image: url("/img/board/usp.webp"); }
body.ucoz-article-page .article-body .m_glock::before { background-image: url("/img/board/glock.webp"); }
body.ucoz-article-page .article-body .m_scout::before { background-image: url("/img/board/ssg.webp"); }
body.ucoz-article-page .article-body .m_deagle::before { background-image: url("/img/board/deagle.webp"); }
body.ucoz-article-page .article-body .m_famas::before { background-image: url("/img/board/famas.webp"); }
body.ucoz-article-page .article-body .m_pack::before { background-image: url("/img/board/pack.webp"); }


body.ucoz-article-page .article-tools-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 20px 0 0;
}

body.ucoz-article-page .article-tool-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 20px;
    align-items: center;
    gap: 12px;
    min-width: 0;
    min-height: 80px;
    padding: 13px 15px;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    background: linear-gradient(145deg, var(--surface), var(--bg));
    color: var(--text);
    text-decoration: none;
    transition: border-color .2s ease, transform .2s ease, background .2s ease;
}

body.ucoz-article-page .article-tool-card:hover {
    transform: translateY(-2px);
    border-color: rgba(var(--accent-mint-rgb), .35);
    background: linear-gradient(145deg, var(--surface-2), var(--surface));
}

body.ucoz-article-page .article-tool-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(var(--accent-mint-rgb), .18);
    border-radius: 11px;
    background: rgba(var(--accent-rgb), .10);
    color: var(--accent-light);
}

body.ucoz-article-page .article-tool-icon svg { width: 21px; height: 21px; }
body.ucoz-article-page .article-tool-card strong { display: block; color: var(--text); font-size: 13px; font-weight: 750; }
body.ucoz-article-page .article-tool-card small { display: block; margin-top: 4px; color: var(--text-muted); font-size: 10px; line-height: 1.4; }
body.ucoz-article-page .article-tool-arrow { color: var(--accent-light); font-size: 17px; }

body.ucoz-article-page .download-modal {
    position: fixed;
    z-index: 1200;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0,0,0,.72);
    backdrop-filter: blur(8px);
}

body.ucoz-article-page .download-modal[aria-hidden="false"],
body.ucoz-article-page .download-modal.open,
body.ucoz-article-page .download-modal.active {
    display: flex;
}

body.ucoz-article-page .download-modal-box {
    position: relative;
    width: min(500px, 100%);
    max-height: min(720px, 90vh);
    overflow: auto;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    background: linear-gradient(145deg, var(--surface-2), var(--bg));
    box-shadow: 0 24px 70px rgba(0,0,0,.5);
}

body.ucoz-article-page .download-modal-bg img {
    display: block;
    width: 100%;
    max-height: 160px;
    object-fit: cover;
    opacity: .65;
}

body.ucoz-article-page .download-modal-content { padding: 20px; }
body.ucoz-article-page .download-modal-badge { color: var(--accent-light); font-size: 10px; font-weight: 800; }
body.ucoz-article-page .download-modal-content h3 { margin: 9px 0; color: var(--text); font-size: 20px; }
body.ucoz-article-page .download-modal-content p { color: var(--text-secondary); font-size: 13px; }
body.ucoz-article-page .download-modal-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 36px; height: 36px; border: 1px solid var(--border-light); border-radius: 9px; background: rgba(0,0,0,.45); color: var(--white); font-size: 24px; cursor: pointer; }
body.ucoz-article-page .download-modal-actions { display: grid; gap: 9px; margin-top: 14px; }
body.ucoz-article-page .download-choice { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 10px 12px; border: 1px solid var(--border-subtle); border-radius: 10px; color: var(--white); text-decoration: none; background: rgba(255,255,255,.04); }
body.ucoz-article-page .download-choice.aim { border-color: rgba(var(--accent-mint-rgb), .24); }
body.ucoz-article-page .download-choice.picker { border-color: rgba(var(--accent-mint-rgb), .24); }
body.ucoz-article-page .download-choice strong { display: block; font-size: 13px; }
body.ucoz-article-page .download-choice small { display: block; color: var(--text-muted); font-size: 10px; }
body.ucoz-article-page .choice-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 9px; background: rgba(var(--accent-rgb), .12); color: var(--accent-light); }
body.ucoz-article-page .choice-svg { width: 18px; height: 18px; }

@media (max-width: 900px) {
    body.ucoz-article-page .article-tools-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    body.ucoz-article-page .ucoz-site-header { margin-bottom: 8px; }
    body.ucoz-article-page .ucoz-sidebar { margin-top: 8px; }
}

@media (max-width: 560px) {
    body.ucoz-article-page .article-tools-grid { grid-template-columns: 1fr; }
    body.ucoz-article-page .article-tool-card { min-height: 72px; padding: 11px; }
}


/* =====================================================================
   V42 — UCOZ RELATED ENTRIES
   uCoz generates the outer <ul class="uRelatedEntries"> itself.
   The editable item template outputs only <li class="related-block content-card">.
   Layout and card internals mirror article.html without a nested grid wrapper.
===================================================================== */

body.ucoz-article-page .article-related-shell > .uRelatedEntries {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.ucoz-article-page .article-related-shell > .uRelatedEntries > .related-block {
    display: block;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.ucoz-article-page .article-related-shell > .uRelatedEntries > .related-block > .card-image-link,
body.ucoz-article-page .article-related-shell > .uRelatedEntries > .related-block .card-body > .card-title {
    display: block;
    color: var(--text);
    text-decoration: none;
}

body.ucoz-article-page .article-related-shell > .uRelatedEntries > .related-block .card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
}

body.ucoz-article-page .article-related-shell > .uRelatedEntries > .related-block .card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

body.ucoz-article-page .article-related-shell > .uRelatedEntries > .related-block .card-body > .card-title {
    min-height: 1.4em;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 500;
}

body.ucoz-article-page .article-related-shell > .uRelatedEntries > .related-block .card-actions-related {
    gap: 0;
}

body.ucoz-article-page .article-related-shell > .uRelatedEntries > .related-block .card-related-more {
    width: 100%;
}

@media (max-width: 900px) {
    body.ucoz-article-page .article-related-shell > .uRelatedEntries {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 560px) {
    body.ucoz-article-page .article-related-shell > .uRelatedEntries {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }
}


/* =====================================================================
   V43 — UCOZ RELATED ENTRIES SELECTOR COMPATIBILITY
   Do not assume the UL is a direct child of .article-related-shell.
   Support:
   1) section.article-related-shell > ul.uRelatedEntries
   2) uCoz-inserted wrappers around ul.uRelatedEntries
   3) legacy li.related-block > a > img + span
   4) full article.html card markup inside li.related-block
===================================================================== */

/* The UL is the grid container, regardless of uCoz's optional wrappers. */
.article-related-shell ul.uRelatedEntries,
body.ucoz-article-page ul.uRelatedEntries,
ul.uRelatedEntries {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: stretch;
    gap: 20px !important;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    box-sizing: border-box;
}

/* LI carries the visual card surface in both old and new item templates. */
.article-related-shell ul.uRelatedEntries > li.related-block,
body.ucoz-article-page ul.uRelatedEntries > li.related-block,
ul.uRelatedEntries > li.related-block {
    display: block !important;
    position: relative;
    min-width: 0;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    list-style: none !important;
    border: 1px solid var(--content-card-border, #2b2b2b94);
    border-radius: 12px;
    background: var(--bg, #141618);
    box-sizing: border-box;
    box-shadow: none;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.article-related-shell ul.uRelatedEntries > li.related-block:hover,
body.ucoz-article-page ul.uRelatedEntries > li.related-block:hover,
ul.uRelatedEntries > li.related-block:hover {
    transform: translateY(-3px);
    border-color: var(--card-hover-border, #3a4247);
    box-shadow: var(--shadow-card, 0 15px 35px rgba(0,0,0,.25));
}

/* Compatibility with the previous simple item template: <a><img><span>. */
.article-related-shell ul.uRelatedEntries > li.related-block > a,
body.ucoz-article-page ul.uRelatedEntries > li.related-block > a,
ul.uRelatedEntries > li.related-block > a {
    display: block;
    width: 100%;
    min-width: 0;
    color: var(--text, #edf1f2);
    text-decoration: none !important;
}

.article-related-shell ul.uRelatedEntries > li.related-block:not(.content-card) > a > img,
body.ucoz-article-page ul.uRelatedEntries > li.related-block:not(.content-card) > a > img,
ul.uRelatedEntries > li.related-block:not(.content-card) > a > img {
    display: block;
    width: 100% !important;
    height: 160px !important;
    max-width: 100%;
    margin: 0;
    padding: 13px 13px 0;
    border: 0;
    border-radius: 10px;
    object-fit: cover;
    box-sizing: border-box;
}

.article-related-shell ul.uRelatedEntries > li.related-block:not(.content-card) > a > span,
body.ucoz-article-page ul.uRelatedEntries > li.related-block:not(.content-card) > a > span,
ul.uRelatedEntries > li.related-block:not(.content-card) > a > span {
    display: block;
    min-height: 48px;
    padding: 10px 13px 13px;
    color: var(--text, #edf1f2);
    font-size: 15px;
    line-height: 1.45;
    font-weight: 500;
    overflow-wrap: anywhere;
}

/* Compatibility with the full article.html card item template. */
.article-related-shell ul.uRelatedEntries > li.related-block .card-image,
body.ucoz-article-page ul.uRelatedEntries > li.related-block .card-image,
ul.uRelatedEntries > li.related-block .card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    padding: 13px;
    box-sizing: border-box;
}

.article-related-shell ul.uRelatedEntries > li.related-block .card-image img,
body.ucoz-article-page ul.uRelatedEntries > li.related-block .card-image img,
ul.uRelatedEntries > li.related-block .card-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.article-related-shell ul.uRelatedEntries > li.related-block .card-body,
body.ucoz-article-page ul.uRelatedEntries > li.related-block .card-body,
ul.uRelatedEntries > li.related-block .card-body {
    padding: 0 13px 13px;
}

.article-related-shell ul.uRelatedEntries > li.related-block .card-body > .card-title,
body.ucoz-article-page ul.uRelatedEntries > li.related-block .card-body > .card-title,
ul.uRelatedEntries > li.related-block .card-body > .card-title {
    display: block;
    min-height: 1.4em;
    margin-bottom: 0;
    color: var(--text, #edf1f2);
    font-size: 16px;
    line-height: 1.4;
    font-weight: 500;
    text-decoration: none;
}

.article-related-shell ul.uRelatedEntries > li.related-block .card-body hr,
body.ucoz-article-page ul.uRelatedEntries > li.related-block .card-body hr,
ul.uRelatedEntries > li.related-block .card-body hr {
    margin: 8px 0;
    border: 0;
    border-top: 1px dashed #272727;
}

.article-related-shell ul.uRelatedEntries > li.related-block .card-related-more,
body.ucoz-article-page ul.uRelatedEntries > li.related-block .card-related-more,
ul.uRelatedEntries > li.related-block .card-related-more {
    display: inline-flex;
    width: 100%;
    min-height: 39px;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Defeat legacy inline styles that some uCoz item templates may output on LI. */
ul.uRelatedEntries > li.related-block[style] {
    width: auto !important;
    margin: 0 !important;
    float: none !important;
}

@media (max-width: 900px) {
    .article-related-shell ul.uRelatedEntries,
    body.ucoz-article-page ul.uRelatedEntries,
    ul.uRelatedEntries {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px !important;
    }
}

@media (max-width: 560px) {
    .article-related-shell ul.uRelatedEntries,
    body.ucoz-article-page ul.uRelatedEntries,
    ul.uRelatedEntries {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px !important;
    }

    .article-related-shell ul.uRelatedEntries > li.related-block:not(.content-card) > a > img,
    body.ucoz-article-page ul.uRelatedEntries > li.related-block:not(.content-card) > a > img,
    ul.uRelatedEntries > li.related-block:not(.content-card) > a > img {
        height: auto !important;
        aspect-ratio: 16 / 9;
    }
}



/* =========================================================
   V45 — FEATURE CARD MARKER RESET
   Explicitly suppress stray markers/pseudo bullets on feature cards.
   Neutral gray text-list colors are set in the V44 selectors above.
========================================================= */
.build-feature-panel .build-hero-features {
    list-style: none !important;
}

.build-feature-panel .build-hero-features > li {
    list-style: none !important;
}

.build-feature-panel .build-hero-features > li::marker {
    content: none !important;
    color: transparent !important;
    font-size: 0 !important;
}

.build-feature-panel .build-hero-features > li::before {
    content: none !important;
    display: none !important;
}


/* ==========================================================================
   UCOZ STAR RATING — V47
   ========================================================================== */
/* V47 — clean native-size sprite; explicit row offsets prevent texture bleed */
body.ucoz-article-page .article-rating ul.u-star-rating-18 {
    box-sizing: border-box !important;
    display: block !important;
    position: relative !important;
    width: 120px !important;
    min-width: 120px !important;
    max-width: 120px !important;
    height: 24px !important;
    min-height: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    list-style: none !important;
    background-color: transparent !important;
    background-image: url('/img/rating_1new_v47.png') !important;
    background-position: 0 0 !important;
    background-repeat: repeat-x !important;
    background-size: 24px 72px !important;
    vertical-align: middle !important;
}

body.ucoz-article-page .article-rating ul.u-star-rating-18 > li:not(.u-current-rating) {
    box-sizing: border-box !important;
    display: block !important;
    position: static !important;
    float: left !important;
    width: 24px !important;
    min-width: 24px !important;
    max-width: 24px !important;
    height: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    list-style: none !important;
}

body.ucoz-article-page .article-rating ul.u-star-rating-18 > li:not(.u-current-rating) > a {
    box-sizing: border-box !important;
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    background-color: transparent !important;
    background-image: none !important;
    background-position: 0 0 !important;
    background-repeat: no-repeat !important;
    background-size: 24px 72px !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 24px !important;
    text-decoration: none !important;
    text-indent: -9999px !important;
    text-shadow: none !important;
    box-shadow: none !important;
    filter: none !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
    z-index: 20 !important;
}

body.ucoz-article-page .article-rating ul.u-star-rating-18 a.u-one-star { left: 0 !important; }
body.ucoz-article-page .article-rating ul.u-star-rating-18 a.u-two-stars { left: 24px !important; }
body.ucoz-article-page .article-rating ul.u-star-rating-18 a.u-three-stars { left: 48px !important; }
body.ucoz-article-page .article-rating ul.u-star-rating-18 a.u-four-stars { left: 72px !important; }
body.ucoz-article-page .article-rating ul.u-star-rating-18 a.u-five-stars { left: 96px !important; }

body.ucoz-article-page .article-rating ul.u-star-rating-18 > li.u-current-rating {
    box-sizing: content-box !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    height: 24px !important;
    min-height: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    background-color: transparent !important;
    background-image: url('/img/rating_1new_v47.png') !important;
    background-position: 0 -48px !important;
    background-repeat: repeat-x !important;
    background-size: 24px 72px !important;
    line-height: 24px !important;
    display: block !important;
    text-indent: -9999px !important;
    z-index: 1 !important;
}

/* Hover highlights the chosen value from the first star, as in native uCoz. */
body.ucoz-article-page .article-rating ul.u-star-rating-18 > li:not(.u-current-rating) > a:hover,
body.ucoz-article-page .article-rating ul.u-star-rating-18 > li:not(.u-current-rating) > a:focus-visible {
    left: 0 !important;
    background-color: transparent !important;
    background-image: url('/img/rating_1new_v47.png') !important;
    background-position: 0 -24px !important;
    background-repeat: repeat-x !important;
    background-size: 24px 72px !important;
    color: transparent !important;
    text-decoration: none !important;
    text-shadow: none !important;
    box-shadow: none !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
    z-index: 2 !important;
}

body.ucoz-article-page .article-rating ul.u-star-rating-18 a.u-one-star:hover,
body.ucoz-article-page .article-rating ul.u-star-rating-18 a.u-one-star:focus-visible { width: 24px !important; }
body.ucoz-article-page .article-rating ul.u-star-rating-18 a.u-two-stars:hover,
body.ucoz-article-page .article-rating ul.u-star-rating-18 a.u-two-stars:focus-visible { width: 48px !important; }
body.ucoz-article-page .article-rating ul.u-star-rating-18 a.u-three-stars:hover,
body.ucoz-article-page .article-rating ul.u-star-rating-18 a.u-three-stars:focus-visible { width: 72px !important; }
body.ucoz-article-page .article-rating ul.u-star-rating-18 a.u-four-stars:hover,
body.ucoz-article-page .article-rating ul.u-star-rating-18 a.u-four-stars:focus-visible { width: 96px !important; }
body.ucoz-article-page .article-rating ul.u-star-rating-18 a.u-five-stars:hover,
body.ucoz-article-page .article-rating ul.u-star-rating-18 a.u-five-stars:focus-visible { width: 120px !important; }

body.ucoz-article-page .article-rating ul.u-star-rating-18 > li:not(.u-current-rating) > a:focus-visible {
    outline: 2px solid #6b74f5 !important;
    outline-offset: -2px !important;
}

@media (prefers-reduced-motion: reduce) {
    body.ucoz-article-page .article-rating ul.u-star-rating-18,
    body.ucoz-article-page .article-rating ul.u-star-rating-18 * {
        transition: none !important;
        animation: none !important;
    }
}

.article-rating-stars {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    font-size: 0 !important;
    line-height: 0 !important;
    letter-spacing: 0 !important;
    vertical-align: middle !important;
}

html body .article-meta ul.u-star-rating-18,
html body .article-rating-stars ul.u-star-rating-18,
html body .article-rating ul.u-star-rating-18 {
    box-sizing: content-box !important;
    display: block !important;
    position: relative !important;
    width: 90px !important;
    min-width: 90px !important;
    max-width: 90px !important;
    height: 18px !important;
    min-height: 18px !important;
    max-height: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    list-style: none !important;
    vertical-align: middle !important;
    background-color: transparent !important;
    background-image: url('/img/rating_1new_v49.png') !important;
    background-position: 0 0 !important;
    background-repeat: repeat-x !important;
    background-size: 18px 54px !important;
}

html body .article-meta ul.u-star-rating-18 > li:not(.u-current-rating),
html body .article-rating-stars ul.u-star-rating-18 > li:not(.u-current-rating),
html body .article-rating ul.u-star-rating-18 > li:not(.u-current-rating) {
    box-sizing: content-box !important;
    float: left !important;
    width: 18px !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 18px !important;
    min-height: 18px !important;
    max-height: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    list-style: none !important;
}

html body .article-meta ul.u-star-rating-18 > li:not(.u-current-rating) > a,
html body .article-rating-stars ul.u-star-rating-18 > li:not(.u-current-rating) > a,
html body .article-rating ul.u-star-rating-18 > li:not(.u-current-rating) > a {
    box-sizing: content-box !important;
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    width: 18px !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 18px !important;
    min-height: 18px !important;
    max-height: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    background-color: transparent !important;
    background-image: none !important;
    background-position: 0 0 !important;
    background-repeat: no-repeat !important;
    background-size: 18px 54px !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 18px !important;
    text-decoration: none !important;
    text-indent: -9999px !important;
    text-shadow: none !important;
    box-shadow: none !important;
    filter: none !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
    z-index: 20 !important;
}

html body .article-meta ul.u-star-rating-18 a.u-one-star,
html body .article-rating-stars ul.u-star-rating-18 a.u-one-star,
html body .article-rating ul.u-star-rating-18 a.u-one-star { left: 0 !important; }

html body .article-meta ul.u-star-rating-18 a.u-two-stars,
html body .article-rating-stars ul.u-star-rating-18 a.u-two-stars,
html body .article-rating ul.u-star-rating-18 a.u-two-stars { left: 18px !important; }

html body .article-meta ul.u-star-rating-18 a.u-three-stars,
html body .article-rating-stars ul.u-star-rating-18 a.u-three-stars,
html body .article-rating ul.u-star-rating-18 a.u-three-stars { left: 36px !important; }

html body .article-meta ul.u-star-rating-18 a.u-four-stars,
html body .article-rating-stars ul.u-star-rating-18 a.u-four-stars,
html body .article-rating ul.u-star-rating-18 a.u-four-stars { left: 54px !important; }

html body .article-meta ul.u-star-rating-18 a.u-five-stars,
html body .article-rating-stars ul.u-star-rating-18 a.u-five-stars,
html body .article-rating ul.u-star-rating-18 a.u-five-stars { left: 72px !important; }

html body .article-meta ul.u-star-rating-18 > li.u-current-rating,
html body .article-rating-stars ul.u-star-rating-18 > li.u-current-rating,
html body .article-rating ul.u-star-rating-18 > li.u-current-rating {
    box-sizing: content-box !important;
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    height: 18px !important;
    min-height: 18px !important;
    max-height: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    background-color: transparent !important;
    background-image: url('/img/rating_1new_v49.png') !important;
    background-position: 0 -36px !important;
    background-repeat: repeat-x !important;
    background-size: 18px 54px !important;
    line-height: 18px !important;
    text-indent: -9999px !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

html body .article-meta ul.u-star-rating-18 > li:not(.u-current-rating) > a:hover,
html body .article-meta ul.u-star-rating-18 > li:not(.u-current-rating) > a:focus-visible,
html body .article-rating-stars ul.u-star-rating-18 > li:not(.u-current-rating) > a:hover,
html body .article-rating-stars ul.u-star-rating-18 > li:not(.u-current-rating) > a:focus-visible,
html body .article-rating ul.u-star-rating-18 > li:not(.u-current-rating) > a:hover,
html body .article-rating ul.u-star-rating-18 > li:not(.u-current-rating) > a:focus-visible {
    left: 0 !important;
    background-color: transparent !important;
    background-image: url('/img/rating_1new_v49.png') !important;
    background-position: 0 -18px !important;
    background-repeat: repeat-x !important;
    background-size: 18px 54px !important;
    color: transparent !important;
    text-decoration: none !important;
    text-shadow: none !important;
    box-shadow: none !important;
    filter: none !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
    z-index: 30 !important;
}

html body .article-meta ul.u-star-rating-18 a.u-one-star:hover,
html body .article-meta ul.u-star-rating-18 a.u-one-star:focus-visible,
html body .article-rating-stars ul.u-star-rating-18 a.u-one-star:hover,
html body .article-rating-stars ul.u-star-rating-18 a.u-one-star:focus-visible,
html body .article-rating ul.u-star-rating-18 a.u-one-star:hover,
html body .article-rating ul.u-star-rating-18 a.u-one-star:focus-visible { width: 18px !important; }

html body .article-meta ul.u-star-rating-18 a.u-two-stars:hover,
html body .article-meta ul.u-star-rating-18 a.u-two-stars:focus-visible,
html body .article-rating-stars ul.u-star-rating-18 a.u-two-stars:hover,
html body .article-rating-stars ul.u-star-rating-18 a.u-two-stars:focus-visible,
html body .article-rating ul.u-star-rating-18 a.u-two-stars:hover,
html body .article-rating ul.u-star-rating-18 a.u-two-stars:focus-visible { width: 36px !important; }

html body .article-meta ul.u-star-rating-18 a.u-three-stars:hover,
html body .article-meta ul.u-star-rating-18 a.u-three-stars:focus-visible,
html body .article-rating-stars ul.u-star-rating-18 a.u-three-stars:hover,
html body .article-rating-stars ul.u-star-rating-18 a.u-three-stars:focus-visible,
html body .article-rating ul.u-star-rating-18 a.u-three-stars:hover,
html body .article-rating ul.u-star-rating-18 a.u-three-stars:focus-visible { width: 54px !important; }

html body .article-meta ul.u-star-rating-18 a.u-four-stars:hover,
html body .article-meta ul.u-star-rating-18 a.u-four-stars:focus-visible,
html body .article-rating-stars ul.u-star-rating-18 a.u-four-stars:hover,
html body .article-rating-stars ul.u-star-rating-18 a.u-four-stars:focus-visible,
html body .article-rating ul.u-star-rating-18 a.u-four-stars:hover,
html body .article-rating ul.u-star-rating-18 a.u-four-stars:focus-visible { width: 72px !important; }

html body .article-meta ul.u-star-rating-18 a.u-five-stars:hover,
html body .article-meta ul.u-star-rating-18 a.u-five-stars:focus-visible,
html body .article-rating-stars ul.u-star-rating-18 a.u-five-stars:hover,
html body .article-rating-stars ul.u-star-rating-18 a.u-five-stars:focus-visible,
html body .article-rating ul.u-star-rating-18 a.u-five-stars:focus-visible,
html body .article-rating ul.u-star-rating-18 a.u-five-stars:hover { width: 90px !important; }

html body .article-meta ul.u-star-rating-18 > li:not(.u-current-rating) > a:focus-visible,
html body .article-rating-stars ul.u-star-rating-18 > li:not(.u-current-rating) > a:focus-visible,
html body .article-rating ul.u-star-rating-18 > li:not(.u-current-rating) > a:focus-visible {
    outline: 2px solid #6b74f5 !important;
    outline-offset: -2px !important;
}

