/* Custom news article styles for Bitrix news.detail */
.customNews {
    width: 100%;
    max-width: 100%;
    font-family: Arial, Helvetica, sans-serif;
    color: #263241;
    line-height: 1.65;
}

.customNews * {
    box-sizing: border-box;
}

.customNews a {
    transition: .18s ease;
}

.cn-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 18%, rgba(247, 201, 72, .22), transparent 34%),
        linear-gradient(135deg, #151d2e 0%, #293346 58%, #c69224 100%);
    border-radius: 22px;
    padding: 34px;
    margin-bottom: 22px;
    color: #fff;
}

.cn-hero:before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -130px;
    top: -150px;
    border-radius: 50%;
    background: rgba(255,255,255,.09);
}

.cn-hero-row {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.cn-hero-text {
    flex: 1 1 100%;
    max-width: 780px;
}

.cn-label {
    display: inline-block;
    background: rgba(255,255,255,0.16);
    color: #ffe59a;
    padding: 7px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: .7px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.cn-title {
    margin: 0 0 16px 0;
    color: #fff;
    font-size: 34px;
    line-height: 1.15;
    font-weight: 800;
}

.cn-hero p {
    margin: 0;
    color: #f1f5f9;
    font-size: 16px;
}

.cn-hero-actions {
    margin-top: 22px;
}

.cn-main-banner {
    margin: 0 0 26px 0;
    padding: 12px;
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(198,146,36,.28), rgba(17,24,39,.08)),
        #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 28px rgba(15,23,42,.08);
}

.cn-main-banner img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 18px 38px rgba(15,23,42,.14);
}

.cn-section {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 26px;
    margin-bottom: 24px;
    box-shadow: 0 8px 22px rgba(15,23,42,.06);
}

.cn-section h3 {
    margin: 0 0 12px 0;
    color: #111827;
    font-size: 26px;
    line-height: 1.25;
    font-weight: 800;
}

.cn-section h4 {
    margin: 20px 0 10px 0;
    color: #111827;
    font-size: 19px;
    line-height: 1.35;
    font-weight: 800;
}

.cn-section p {
    margin: 0 0 14px 0;
    color: #4b5563;
    font-size: 15px;
}

.cn-highlight {
    background: linear-gradient(135deg, #fff8e6, #ffffff);
    border: 1px solid #f2d58b;
}

.cn-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 20px;
}

.cn-info-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px;
}

.cn-info-card strong {
    display: block;
    color: #111827;
    font-size: 16px;
    margin-bottom: 6px;
}

.cn-info-card span {
    color: #4b5563;
    font-size: 14px;
}

.cn-benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.cn-benefit {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px;
}

.cn-benefit-icon {
    font-size: 26px;
    margin-bottom: 8px;
}

.cn-benefit strong {
    display: block;
    color: #111827;
    font-size: 16px;
    margin-bottom: 6px;
}

.cn-benefit span {
    color: #4b5563;
    font-size: 14px;
}

.cn-product {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 24px;
    align-items: center;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 20px;
    margin-bottom: 18px;
}

.cn-product-img {
    text-align: center;
}

.cn-product-img img {
    max-width: 185px;
    width: 100%;
    height: auto;
    background: #fff;
    border-radius: 14px;
    padding: 8px;
    border: 1px solid #e5e7eb;
    margin: 0 auto;
    box-shadow: 0 10px 24px rgba(15,23,42,.08);
}

.cn-viscosity {
    color: #c69224;
    font-size: 32px;
    line-height: 1;
    font-weight: 900;
    margin-bottom: 8px;
}

.cn-product h4 {
    margin: 0 0 10px 0;
    color: #111827;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 800;
}

.cn-tags {
    margin: 0 0 14px 0;
    padding: 0;
}

.cn-tags span {
    display: inline-block;
    background: #eef2f7;
    color: #374151;
    padding: 6px 10px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: bold;
    margin: 3px;
}

.customNews .cn-check-list,
.customNews .cn-simple-list {
    margin: 12px 0 18px 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.customNews .cn-check-list li,
.customNews .cn-simple-list li {
    position: relative !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin: 9px 0 !important;
    padding: 0 !important;
    color: #4b5563 !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    list-style: none !important;
}

.customNews .cn-check-list li:before {
    content: "\2713" !important;
    position: static !important;
    flex: 0 0 18px !important;
    width: 18px !important;
    height: 18px !important;
    margin-top: 2px !important;
    border-radius: 50% !important;
    background: #f7c948 !important;
    color: #111827 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 18px !important;
    text-align: center !important;
}

.customNews .cn-simple-list li:before {
    content: "\2022" !important;
    position: static !important;
    flex: 0 0 14px !important;
    width: 14px !important;
    height: 14px !important;
    margin-top: 0 !important;
    color: #c69224 !important;
    background: transparent !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    line-height: 14px !important;
}

.cn-volume-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.cn-btn {
    display: inline-block;
    background: linear-gradient(135deg, #f7c948, #d68b22);
    color: #111827 !important;
    text-decoration: none !important;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 12px;
    border: 0;
}

.cn-btn:hover {
    opacity: .9;
    transform: translateY(-1px);
}

.cn-btn-secondary {
    background: #111827;
    color: #fff !important;
}

.cn-note {
    background: #fff8e6;
    border-left: 5px solid #d6a437;
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 24px;
    color: #374151;
}

.cn-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.cn-faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 12px;
    background: #fff;
}

.cn-faq-item strong {
    display: block;
    color: #111827;
    margin-bottom: 8px;
    font-size: 16px;
}

.cn-cta {
    background:
        radial-gradient(circle at 50% 0%, rgba(247,201,72,.17), transparent 45%),
        linear-gradient(135deg, #111827, #293346);
    border-radius: 22px;
    padding: 30px;
    text-align: center;
    color: #fff;
    margin-bottom: 24px;
}

.cn-cta h3 {
    margin: 0 0 12px 0;
    color: #fff;
    font-size: 26px;
}

.cn-cta p {
    color: #e5e7eb;
    margin: 0 auto 20px auto;
    max-width: 720px;
}

@media screen and (max-width: 900px) {
    .cn-benefits,
    .cn-info-grid,
    .cn-two-columns {
        grid-template-columns: repeat(2, 1fr);
    }

    .cn-product {
        grid-template-columns: 1fr;
    }

    .cn-product-img img {
        max-width: 220px;
    }
}

@media screen and (max-width: 600px) {
    .cn-hero {
        padding: 24px;
    }

    .cn-title {
        font-size: 28px;
    }

    .cn-benefits,
    .cn-info-grid,
    .cn-two-columns {
        grid-template-columns: 1fr;
    }

    .cn-section {
        padding: 22px;
    }

    .cn-volume-links .cn-btn {
        width: 100%;
        text-align: center;
    }

    .cn-main-banner {
        padding: 8px;
        border-radius: 18px;
    }

    .cn-main-banner img {
        border-radius: 12px;
    }
}
