

/* Start:/local/templates/sanriks-new/components/bitrix/news/news/bitrix/news.detail/.default/style.css?17743527354836*/
.container_blog {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 40px;
    --primary-color: #101415;
    --secondary-color: #ec5a26;
    --accent-color: #ec5a26;
    --text-color: #101415;
    --bg-color: #fefdfd;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
}
.post__content_blog {
    border-radius: 12px;
    box-shadow: 0 10px 15px rgba(0,0,0,0.08);
    overflow-x: scroll;
}
.post__content .title-blog {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}
.header_blog {
    padding: 40px;
    border-bottom: 1px solid #E0E0E0;
}
.post__summary {
    padding: 30px 40px;
    background: #ec5a2621;
    border-bottom: 1px solid #E0E0E0;
    margin-bottom: 40px;
}
.post__summary .strong {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}
.post__body-blog {
    padding: 40px;
}
ol.toc_blog {
    counter-reset: toc;
    list-style: none;
}
ol.toc_blog > li:before {
    counter-increment: toc;
    content: counter(toc) ". ";
    color: #f05d2b;
}

ol.toc_blog__sub {
    counter-reset: sub;
    list-style: none;
}
ol.toc_blog__sub > li:before {
    counter-increment: sub; /* Увеличиваем счетчик */
    content: counter(toc) "." counter(sub, lower-alpha) " ";
    color: #f05d2b;
}

.post__body-blog p:first-child::first-letter {
    font-size: 48px;
    font-weight: 700;
    float: left;
    line-height: 0.8;
    margin-right: 10px;
    margin-top: 5px;
    color: #F75218;
}
.post__tags {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #E0E0E0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.post__tag {
    display: inline-block;
    padding: 6px 14px;
    background: #F8F8F8;
    color: #F75218;
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
}
.post__tag:hover, .post__content .post__tag:hover {
    background: #F75218;
    color: white !important;
}

.sidebar-blog {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.sidebar__section-blog {
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    padding: 25px;
}
.section-blog__title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #F75218;
    display: inline-block;
}

.post__topic-list{
    list-style: none;
    padding: 0;
    margin: 0;
}
.post__topic {
    padding: 10px 0;
    border-bottom: 1px solid #E0E0E0;
}
.post__topic:last-child {
    border-bottom: none;
}
.post__topic-link {
    display: flex;
    justify-content: space-between;
    text-decoration: none;
    transition: color 0.2s;
    color: #000;
}
.post__topic-link:hover {
    color: #F75218;
}
.post__topic-count {
    background: #F8F8F8;
    color: #777777;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 13px;
}
.popular-item {
    display: flex;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #E0E0E0;
}
.popular-item:last-child {
    border-bottom: none;
}
.popular-item__image {
    width: 80px;
    height: 60px;
    border-radius: 4px;
    flex-shrink: 0;
}
.popular-item__image-stub {
    background: linear-gradient(135deg, #F75218 0%, #D9420F 100%);
}
.popular-item__link {
    color: #000;
    text-decoration: none;
    transition: color 0.2s;
}
.popular-item__link:hover {
    color: #F75218;
}
.post__content_blog table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: var(--card-bg);
}

.post__content_blog th, .post__content_blog td {
    padding: 12px;
    text-align: left;
    border: 1px solid var(--border-color);
    vertical-align: top;
}

.post__content_blog th {
    background-color: var(--secondary-color);
    color: white;
    font-weight: 600;
}

.post__content_blog tr:nth-child(even) { background-color: #f8f9fa; }
.post__content_blog tr:hover { background-color: #edf2f7; }

.post__content.post__content_blog h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--secondary-color);
}

.post__content.post__content_blog h3 {
    color: var(--secondary-color);
    margin: 25px 0 15px 0;
}

.post__footer {
    margin: 40px 0;
    display: flex;
    justify-content: center;
    gap: 1em;
}

@media (hover: hover) {
    .post__content .button--white:not(.button--disabled, .is-disabled, .disabled, [disabled]):hover {
        color: #fff;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .container_blog {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container_blog {
        padding: 0 15px;
    }

    .header_blog,
    .post__summary,
    .post__body-blog,
    .post__img-blog {
        padding: 25px;
    }

    .post__content .title-blog {
        font-size: 28px;
    }
}

/* End */
/* /local/templates/sanriks-new/components/bitrix/news/news/bitrix/news.detail/.default/style.css?17743527354836 */
