/* =========================================================
   ГЛОБАЛЬНОЕ СКРЫТИЕ ДЛЯ SEO (с !important)
========================================================= */
.seo-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* =========================================================
   РАЗДЕЛИТЕЛИ МЕЖДУ СЕКЦИЯМИ (улучшенный, премиальный)
========================================================= */
.section-divider {
    max-width: 1150px;
    width: 100%;
    margin: 24px auto;
    border: 0;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(100, 116, 139, 0.35),
        transparent
    );
}

/* =========================================================
   ФОН СТРАНИЦЫ НОВОСТЕЙ
========================================================= */
.news-page {
    background: #f9fafb;
    padding: 8px 0 1px;
}

/* =========================================================
   ОБЁРТКА КНОПКИ "ПОДРОБНЕЕ"
========================================================= */
.news-more-wrap {
    margin-top: 28px;
    display: flex;
    justify-content: flex-end;
}

/* =========================================================
   BRANDS BUTTON
========================================================= */
.news-brands-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 26px;
}

.news-brands-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 46px;
    padding: 0 22px;
    background: #111827;
    border-radius: 12px;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: .2s;
}

.news-brands-button:hover {
    background: #18b79d;
    transform: translateY(-2px);
}

/* =========================================================
   FIX PRODUCTS INSIDE NEWS
========================================================= */
.news-card .product,
.news-card .item,
.news-card .catalog-item,
.news-card .product-item,
.news-card .btn,
.news-card .button {
    opacity: 1 !important;
    filter: none !important;
}

.news-card a.btn,
.news-card .btn,
.news-card button {
    color: #ffffff !important;
}

/* =========================================================
   FIX NEWS CONTENT
========================================================= */
.news-card,
.news-card * {
    opacity: 1 !important;
    filter: none !important;
}

/* =========================================================
   BRANDS BLOCK
========================================================= */
.news-brands {
    max-width: 1150px;
    margin: 60px auto 0;
    padding: 10px 0 0;
}

.brands-title {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.news-brands-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.news-brands-slider:before,
.news-brands-slider:after {
    display: none;
}

.news-brands-track {
    display: flex;
    align-items: center;
    gap: 74px;
    width: max-content;
    animation: brandsScroll 70s linear infinite;
}

.news-brands:hover .news-brands-track {
    animation-play-state: paused;
}

.news-brands-track a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
}

.news-brands-track img {
    width: 160px;
    height: 60px;
    object-fit: contain;
    object-position: center;
    display: block;
    opacity: .88;
    filter: grayscale(12%);
    transition: .22s;
}

.news-brands-track img:hover {
    opacity: 1;
    filter: none;
    transform: translateY(-2px);
}

@keyframes brandsScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* mobile */
@media(max-width:991px) {
    .news-brands { margin-top: 50px; }
    .news-brands-track { gap: 42px; }
    .news-brands-track img { width: 110px; height: 42px; }
    .brands-title { font-size: 20px; }
}

/* =========================================================
   FIX SPACING
========================================================= */
.categorymain2 {
    margin-bottom: 10px !important;
}

.news-container {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
}

.breadcrumbs {
    margin-bottom: 8px !important;
}

/* =========================================================
   NEWS PAGE
========================================================= */
.news-modern {
    padding: 6px 20px 42px;
}

/* =========================================================
   ЗАГОЛОВОК НОВОСТЕЙ
========================================================= */
.news-header {
    max-width: 1150px;
    margin: 0 auto 20px;
    padding: 0 20px;
    text-align: center;
}

.news-section-title {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #111827;
    margin: 0 0 8px;
}

.news-section-desc {
    font-size: 16px;
    color: #5b677b;
    margin: 0;
}

/* =========================================================
   NEWS CARD (ширина 920px) – рамка только у блока
========================================================= */
.news-card {
    position: relative;
    background: #fff;
    border: 1px solid #edf1f5;
    border-radius: 18px;
    padding: 28px;
    margin: 0 auto 14px;
    max-width: 920px;
    transition: .22s;
    box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 8px 24px rgba(15,23,42,.05);
}

.news-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(15,23,42,.10);
}

/* Убираем лишние рамки у всех внутренних элементов (сохраняем рамку только у блока) */
.news-card * {
    border: none !important;
}

/* =========================================================
   CONTENT RESET
========================================================= */
.news-card img {
    max-width: 100%;
    height: auto;
    border-radius: 18px;
    margin: 20px 0;
}

.news-card table {
    width: 100% !important;
}

.news-card iframe {
    max-width: 100%;
}

.news-card ul {
    padding-left: 22px;
    margin: 20px 0;
}

.news-card li {
    margin-bottom: 10px;
    line-height: 1.7;
}

/* =========================================================
   TYPOGRAPHY
========================================================= */
.news-card {
    font-size: 15px;
    line-height: 1.75;
    color: #444;
}

.news-card h1,
.news-card h2,
.news-card h3,
.news-card h4 {
    color: #1d1d1d;
    font-weight: 800;
    line-height: 1.25;
    margin-top: 28px;
    margin-bottom: 12px;
}

.news-card h3 {
    font-size: 28px;
}

.news-card p {
    font-size: 15px;
    line-height: 1.75;
    color: #444;
}

/* =========================================================
   DATE
========================================================= */
.news-date {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #18b79d;
    margin-bottom: 14px;
    display: flex;
    justify-content: flex-end;
    opacity: .95;
}

/* =========================================================
   BUTTON "Подробнее"
========================================================= */
.news-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 46px;
    padding: 0 22px;
    background: #111827;
    border-radius: 12px;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: .2s;
}

.news-more:hover {
    background: #18b79d;
    transform: translateY(-2px);
}

/* =========================================================
   ARCHIVE BUTTON (справа)
========================================================= */
.news-archive {
    max-width: 1150px;
    margin: 26px auto 0;
    display: flex;
    justify-content: flex-end;
}

.news-archive a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 46px;
    padding: 0 22px;
    background: #111827;
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: .2s;
}

.news-archive a:hover {
    background: #18b79d;
    transform: translateY(-2px);
}

/* =========================================================
   SEO-БЛОК (белый фон, рамка, тень)
========================================================= */
.news-company-info {
    width: 100%;
    max-width: 1150px;
    margin: 42px auto 0;
    padding: 28px 34px;
    background: #fff;
    border: 1px solid #edf1f5;
    border-radius: 18px;
    box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 8px 24px rgba(15,23,42,.05);
    box-sizing: border-box;
}

.news-company-info p {
    font-size: 15px;
    line-height: 1.75;
    color: #444;
    margin: 0 0 18px;
}

.news-company-info p:last-child {
    margin-bottom: 0;
}

/* =========================================================
   MOBILE FIX
========================================================= */
@media(max-width:768px) {
    .news-container {
        overflow: hidden;
    }
    .news-modern {
        padding: 0 12px 28px !important;
    }
    .news-card {
        max-width: 100% !important;
        padding: 18px !important;
        border-radius: 14px !important;
        margin-bottom: 12px !important;
    }
    .news-card img {
        max-width: 100% !important;
        height: auto !important;
    }
    .news-card table {
        display: block;
        width: 100% !important;
        overflow-x: auto;
    }
    .news-date {
        font-size: 12px !important;
        letter-spacing: .08em !important;
    }
    .news-more {
        height: 42px !important;
        padding: 0 18px !important;
        font-size: 13px !important;
        border-radius: 10px !important;
    }
    .news-archive {
        margin-top: 18px !important;
    }
    .news-archive a {
        width: auto;
        justify-content: center;
    }
    .news-company-info {
        padding: 18px !important;
        margin-top: 22px !important;
        border-radius: 14px !important;
    }
    .news-company-info p {
        font-size: 14px !important;
        line-height: 1.7 !important;
    }
    .news-brands {
        margin-top: 40px !important;
    }
    .news-brands-button {
        width: auto;
        justify-content: center;
    }
    .news-brands-track {
        gap: 34px !important;
    }
    .news-brands-track img {
        width: 100px !important;
        height: 38px !important;
    }
    .news-section-title {
        font-size: 22px;
    }
    .news-section-desc {
        font-size: 14px;
    }
    .brands-title {
        font-size: 20px;
    }
    .section-divider {
        margin: 20px auto;
    }
    .news-more-wrap {
        margin-top: 20px;
    }
}