/* =================== ОТДЕЛЬНАЯ НОВОСТЬ =================== */
body.single-compmech_news, body.single-compmech_news #page, body.single-compmech_news #content, body.single-compmech_news .site-content { background: #fff !important; }
.single-compmech_news.ast-separate-container #primary { margin: 0 !important; padding: 0 !important; }

.single-compmech_news.ast-separate-container .site-content .ast-container, .single-compmech_news .site-content > .ast-container {
    width: 100% !important;
    max-width: 1180px !important;
    margin: 0 auto !important;
    padding: 0 18px 56px !important;
}

.single-compmech_news .ast-article-single, .single-compmech_news .type-compmech_news {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.single-compmech_news .entry-header { margin: 0 0 28px !important; }
.single-compmech_news .entry-meta { display: none !important; }

.single-compmech_news h1.entry-title, .single-compmech_news .entry-title {
    margin: 0 0 28px !important;
    text-align: center !important;
    font-size: clamp(28px, 4vw, 44px) !important;
    font-weight: 500 !important;
    line-height: 1.15 !important;
    color: var(--b) !important;
}

.single-compmech_news .entry-content {
    color: #1f2f29 !important;
    font-size: 18px !important;
    line-height: 1.72 !important;
}

.single-compmech_news .entry-content p, .single-compmech_news .entry-content div, .single-compmech_news .entry-content span, .single-compmech_news .entry-content strong {
    color: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
}

.single-compmech_news .entry-content p {
    margin: 0 !important;
    text-align: justify !important;
    text-indent: 1.25em !important;
}

.single-compmech_news .entry-content h2, .single-compmech_news .entry-content h3, .single-compmech_news .entry-content h4 { color: #1f2f29 !important; }

.single-compmech_news .entry-content ul {
    margin: 0 0 18px 2.4em !important;
    padding-left: 1.2em !important;
    color: #1f2f29 !important;
}

.single-compmech_news .entry-content p + ul { margin-top: 0 !important; }

.single-compmech_news .entry-content li {
    margin: 0 0 4px !important;
    padding-left: .25em !important;
    text-align: justify !important;
    text-indent: 0 !important;
    line-height: inherit !important;
    color: inherit !important;
}

.single-compmech_news .entry-content figure, .single-compmech_news .entry-content .wp-block-image, .single-compmech_news .entry-content strong:has(img), .single-compmech_news .entry-content p:has(img) { margin: 12px 0 !important; }
.single-compmech_news .entry-content p + figure, .single-compmech_news .entry-content p + .wp-block-image, .single-compmech_news .entry-content p + strong:has(img), .single-compmech_news .entry-content p + p:has(img) { margin-top: 12px !important; }
.single-compmech_news .entry-content figure + p, .single-compmech_news .entry-content .wp-block-image + p, .single-compmech_news .entry-content strong:has(img) + p, .single-compmech_news .entry-content p:has(img) + p { margin-top: 12px !important; }
.single-compmech_news .entry-content .wp-block-image img { display: block; margin: 0 auto; }
.single-compmech_news .post-navigation, .single-compmech_news .nav-links, .single-compmech_news .ast-single-post-navigation { display: none !important; }

.single-compmech_news .compmech-news-nav {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 28px !important;
    margin: 42px 0 0 !important;
    padding-top: 24px !important;
    border-top: 1px solid rgba(31, 47, 41, .12) !important;
    overflow: hidden !important;
}

.single-compmech_news .compmech-news-nav__side {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

.single-compmech_news .compmech-news-nav__side--prev { text-align: left !important; }
.single-compmech_news .compmech-news-nav__side--next { text-align: right !important; }

.single-compmech_news .compmech-news-nav a {
    display: block !important;
    max-width: 100% !important;
    overflow: hidden !important;
    color: #1f2f29 !important;
    text-decoration: none !important;
}

.single-compmech_news .compmech-news-nav__label {
    display: block !important;
    margin-bottom: 8px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    letter-spacing: .08em !important;
}

.single-compmech_news .compmech-news-nav__title {
    display: block !important;
    max-width: 100% !important;
    overflow: hidden !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
}

.single-compmech_news .compmech-news-nav{position:relative!important}
.single-compmech_news .compmech-news-nav::before{content:"";position:absolute;top:24px;bottom:0;left:50%;width:1px;background:rgba(31,47,41,.18);transform:translateX(-50%)}
.single-compmech_news .compmech-news-nav__side--prev{padding-right:32px!important}
.single-compmech_news .compmech-news-nav__side--next{padding-left:32px!important}


/* =================== АДАПТАЦИЯ СТРАНИЦЫ ОТДЕЛЬНОЙ НОВОСТИ =================== */
@media (max-width: 768px) {
    body.single-compmech_news .compmech-news-nav { gap: 14px !important; margin-top: 28px !important; padding-top: 18px !important; }
    body.single-compmech_news .compmech-news-nav::before { top: 18px !important; }
    body.single-compmech_news .compmech-news-nav__side--prev { padding-right: 14px !important; }
    body.single-compmech_news .compmech-news-nav__side--next { padding-left: 14px !important; }
    body.single-compmech_news .compmech-news-nav__label { margin-bottom: 6px !important; font-size: 13px !important; line-height: 1.2 !important; letter-spacing: .05em !important; }
    body.single-compmech_news .compmech-news-nav__title { font-size: 14px !important; line-height: 1.25 !important; }
}