/* Sidebar informers, tags, nav — extracted from cs.com.ru common.css */

/* Feature highlight cards — 2 columns (2 rows) */
.page-build .csart-hgrid,
.csart-hgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

@media (max-width: 991px) {
    .page-build .csart-hgrid,
    .csart-hgrid {
        grid-template-columns: 1fr !important;
    }
}

.post-tags-list {
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.post-tags-item {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 16px;
    background: linear-gradient(180deg, #10131a, #171017);
    border: 1px solid rgba(255, 102, 0, .12);
    border-radius: 18px;
}

.post-tags-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: rgba(255, 102, 0, .10);
    color: #ff6600;
    font-size: 13px;
    line-height: 1;
    flex: 0 0 30px;
}

.post-tags-label {
    font-size: 13px;
    font-weight: 800;
    color: #ffb86b;
    line-height: 1;
    margin-right: 2px;
}

.post-tags-links {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0;
}

.post-tags-links .eTag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    padding: 0 12px;
    background: #151924;
    border: 1px solid rgba(255, 102, 0, .15);
    border-radius: 999px;
    color: #ff8a3d !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.post-tags-links .eTag:hover {
    background: linear-gradient(135deg, #ff6600, #ff8a3d);
    color: #fff !important;
    border-color: transparent;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(255, 102, 0, .16);
}

.lmx-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 16px;
}

.lmx-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 10px 14px;
    background: linear-gradient(180deg, #10131a, #141820);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    text-decoration: none !important;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
    flex: 1 1 220px;
}

.lmx-meta-chip:hover {
    border-color: rgba(255, 102, 0, .28);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .22);
}

.lmx-meta-chip-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255, 102, 0, .12);
    color: #ff7a1a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lmx-meta-chip-icon svg {
    width: 16px;
    height: 16px;
}

.lmx-meta-chip-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.lmx-meta-chip-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: rgba(255, 255, 255, .42);
}

.lmx-meta-chip-value {
    font-size: 13px;
    font-weight: 700;
    color: #f3f6fb;
    line-height: 1.25;
}

.csnav-wrap {
    margin: 0 0 20px;
}

.csnav-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 16px 0;
}

.csnav-col {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.csnav-col-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Manrope', sans-serif;
    font-size: 9px;
    font-weight: 700;
    color: #b8b4ae;
    text-transform: uppercase;
    letter-spacing: .6px;
    padding: 0 2px;
}

.csnav-col-label--next {
    justify-content: flex-end;
}

.csnav-col-label svg {
    color: #e44c01;
    flex-shrink: 0;
}

.csnav-col .rcp-wrap {
    margin-bottom: 0;
}

.rcp-wrap {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #171b24;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow .2s, border-color .2s;
    margin-bottom: 10px;
    font-family: 'Manrope', sans-serif;
}

.rcp-wrap:hover {
    box-shadow: 0 6px 24px rgba(228, 76, 1, .18);
    border-color: rgba(228, 76, 1, .38);
}

.rcp-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    background: #111318;
    text-decoration: none;
    transition: background .18s;
}

.rcp-wrap:hover .rcp-head {
    background: #20242d;
}

.rcp-head-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 8px;
    background: rgba(228, 76, 1, .14);
    border: 1px solid rgba(228, 76, 1, .28);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff7a1a;
    transition: background .18s, color .18s, border-color .18s;
}

.rcp-head-icon svg {
    width: 14px;
    height: 14px;
}

.rcp-wrap:hover .rcp-head-icon {
    background: #e44c01;
    border-color: #e44c01;
    color: #ffffff;
}

.rcp-title {
    font-family: 'Exo 2', sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: #f3f6fb;
    letter-spacing: .2px;
    line-height: 1.3;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color .18s;
}

.rcp-wrap:hover .rcp-title {
    color: #ff7a1a;
}

.rcp-body {
    display: flex;
    gap: 12px;
    padding: 12px 14px;
    align-items: flex-start;
    background: #171b24;
}

.rcp-img-wrap {
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 10px;
    width: 110px;
    height: 76px;
    background: #111318;
}

.rcp-img {
    width: 110px;
    height: 76px;
    object-fit: cover;
    display: block;
    transition: transform .25s;
}

.rcp-wrap:hover .rcp-img {
    transform: scale(1.05);
}

.rcp-text {
    font-size: 13px;
    color: #aeb6c6;
    line-height: 1.6;
    flex: 1;
    min-width: 0;
}

.rcp-wrap--empty {
    opacity: .5;
    pointer-events: none;
    margin-bottom: 0;
}

.rcp-empty-msg {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 28px 14px;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    color: #b8b4ae;
    font-weight: 600;
}

.page-build .cside-cat-block + .cside-cat-block {
    margin-top: 18px;
}

.page-build .sidebar-cat .catsTd {
    display: block;
    position: relative;
    padding: 14px 18px !important;
    margin: 0 0 10px;
    background: #10131a;
    border: 1px solid #252b38;
    border-left: 4px solid #e44c01;
    border-radius: 10px;
    font-family: 'Exo 2', sans-serif;
}

.page-build .catNameActive {
    font-size: 13px !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: #e44c01 !important;
    text-decoration: none;
}

.page-build .catNumData {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 26px;
    padding: 0 11px !important;
    background: linear-gradient(135deg, #ff6a1f, #e44c01) !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 800;
    border-radius: 999px !important;
    margin-left: 8px;
}

.page-build .catDescr {
    margin-top: 12px;
}

.page-build .cscat-desc {
    font-size: 13px;
    line-height: 1.65;
    color: #c5cad6;
}

.page-build .cscat-desc p {
    margin: 0 0 10px;
}

.page-build .cscat-desc ul,
.page-build .cscat-desc ol {
    margin: 0 0 10px 18px;
}

.page-build .cscat-tip {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 102, 0, .08);
    border: 1px solid rgba(255, 102, 0, .16);
    color: #ffb070;
    font-size: 12px;
}

.page-build .rc-post-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.page-build .visible-scrollbar {
    max-height: 680px;
    overflow: auto;
    padding-right: 4px;
}

.nxp4-cardbox {
    display: flex;
    gap: 10px;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    background: linear-gradient(180deg, #0c1016 0%, #0e1116 100%);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .16);
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.nxp4-cardbox:hover {
    border-color: rgba(255, 102, 0, .22);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .22);
    transform: translateY(-1px);
}

.nxp4-cardbox-thumb {
    width: 108px;
    min-width: 108px;
    height: 76px;
    border-radius: 10px;
    overflow: hidden;
    display: block;
    border: 1px solid rgba(255, 255, 255, .08);
    background: #1c1c1c;
}

.nxp4-cardbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .24s ease;
}

.nxp4-cardbox:hover .nxp4-cardbox-thumb img {
    transform: scale(1.05);
}

.nxp4-cardbox-main {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nxp4-cardbox-title {
    display: block;
    font-family: 'Exo 2', 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    color: #f3f3f3;
    text-decoration: none;
    transition: color .18s ease;
}

.nxp4-cardbox-title:hover {
    color: #ff8c40;
}

.nxp4-statsrow {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.nxp4-statitem {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    min-height: 28px;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, .07);
    background: #10131a;
}

.nxp4-statitem-icon {
    width: 18px;
    height: 18px;
    min-width: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.nxp4-statitem-icon svg {
    width: 11px;
    height: 11px;
}

.nxp4-statitem-value {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.nxp4-statitem-dl {
    background: linear-gradient(180deg, rgba(255, 102, 0, .10) 0%, rgba(255, 102, 0, .04) 100%);
    border-color: rgba(255, 102, 0, .16);
}

.nxp4-statitem-dl .nxp4-statitem-icon {
    background: rgba(255, 102, 0, .14);
    color: #ff7a1a;
}

.nxp4-statitem-view .nxp4-statitem-icon {
    background: rgba(255, 255, 255, .07);
    color: #d8d8d8;
}

.nxp4-actionrow {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.nxp4-btnmore,
.nxp4-btndl {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 10px;
    font-weight: 800;
    text-decoration: none;
    transition: .18s ease;
    border: 1px solid transparent;
}

.nxp4-btnmore {
    background: #10131a;
    color: #d6d6d6;
    border-color: rgba(255, 255, 255, .08);
}

.nxp4-btnmore:hover {
    background: #0e1118;
    color: #fff;
    border-color: rgba(255, 255, 255, .14);
}

.nxp4-btndl {
    background: linear-gradient(180deg, #ff7a1a 0%, #ff6600 100%);
    color: #fff;
    box-shadow: 0 6px 14px rgba(255, 102, 0, .18);
}

.nxp4-btndl:hover {
    background: linear-gradient(180deg, #ff8c34 0%, #ff6f12 100%);
    box-shadow: 0 8px 16px rgba(255, 102, 0, .24);
    color: #fff;
}

.page-build .blog-list-post-bottom {
    margin-top: 24px;
}

.page-build .uRelatedEntries {
    list-style: none;
    margin: 0;
    padding: 0;
}

.page-build .blog-details-title h4 {
    font-family: 'Exo 2', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #f3f6fb;
    margin: 0;
}

.page-build .blog-details-title h4 span {
    color: #ff7a1a;
}

.page-build .fgv-iframe-wrap {
    display: none;
    position: relative;
    padding-top: 56.25%;
    border-radius: 0 0 16px 16px;
    overflow: hidden;
    background: #000;
}

.page-build .fgv-iframe-wrap.is-active {
    display: block;
}

.page-build .fgv-iframe-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.page-build .fgv-preview-wrap.is-hidden {
    display: none;
}

.page-build .build-comments-placeholder {
    padding: 18px;
    border-radius: 14px;
    background: #10131a;
    border: 1px solid rgba(255, 255, 255, .08);
    color: #aeb6c6;
    font-size: 14px;
    line-height: 1.6;
}

.page-build .build-comments-placeholder p {
    margin: 0;
}

@media (max-width: 680px) {
    .nxp4-cardbox {
        flex-direction: column;
    }

    .nxp4-cardbox-thumb {
        width: 100%;
        min-width: 100%;
        height: 160px;
    }
}

@media (max-width: 600px) {
    .csnav-grid {
        grid-template-columns: 1fr;
    }

    .rcp-body {
        flex-direction: column;
    }

    .rcp-img-wrap,
    .rcp-img {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 640px) {
    .post-tags-item {
        padding: 12px 13px;
        border-radius: 14px;
        gap: 6px;
    }

    .post-tags-links .eTag {
        height: 28px;
        padding: 0 10px;
        font-size: 11px;
    }
}

/* Build page — right sidebar widgets (same as homepage) */
.page-build .build-page-sidebar {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.page-build .build-sidebar-download {
    margin-bottom: 0;
}

.page-build .build-sidebar-widgets {
    position: static;
    top: auto;
    width: 100%;
}

.page-build .build-sidebar-widgets .sidebar-widget-social {
    background: #10131a;
    border: 1px solid #252b38;
    border-radius: 14px;
    overflow: hidden;
}

.page-build .build-sidebar-widgets .sidebar-social-link:first-child {
    border-top: none;
}

@media (max-width: 991px) {
    .build-page-layout {
        grid-template-columns: 1fr !important;
    }

    .page-build .blog-sidebar {
        position: static;
    }
}

@media (max-width: 560px) {
    .page-build .csart-hgrid,
    .csart-hgrid {
        grid-template-columns: 1fr !important;
    }
}
