

/* Start:/local/templates/main/components/bitrix/news/blog/bitrix/news.detail/.default/style.css?17594859822870*/
html {
    scroll-behavior: smooth;
}

:target {
    scroll-margin-top: 90px;
}

.a_date {
    margin-bottom: 20px;
}

.flat-toc-headline {
    margin-bottom: 10px;
    font-weight: bold;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
}

.reading-time,
.view-count {
    display: flex;
    align-items: center;
}

.reading-time svg,
.view-count svg {
    margin-right: 5px;
}

.back_link {
    font-size: 16px;
    margin-bottom: 20px;
    display: block;
}

.related-articles {
    margin: 0 0 40px 0;
}
.related-articles__title {
    font-size: 24px;
    margin-bottom: 25px;
    color: #333;
}
.related-articles__list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0 -10px;
    justify-content: flex-start; /* Добавлено для выравнивания влево */
}
.related-articles__item {
    flex: 1 1 calc(33.333% - 20px);
    box-sizing: border-box;
    min-width: 250px;
    padding: 0 10px;
    max-width: calc(33.333% - 20px); /* Добавлено ограничение максимальной ширины */
}
.related-articles__item a:hover {
    text-decoration: none;
}
.related-articles__link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition: all 0.3s ease;
    background: #fff;
    overflow: hidden;
    border: 1px solid #eaebec;
}
.related-articles__link:hover {
    transform: translateY(-5px);
    border: 1px solid #eaebec;
}
.related-articles__image-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    overflow: hidden;
}
.related-articles__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.related-articles__link:hover .related-articles__image {
    transform: scale(1.03);
}
.related-articles__content {
    padding: 15px;
}
.related-articles__item-title {
    font-size: 18px;
    margin: 0 0 10px 0;
    color: #222;
}
.related-articles__preview-text {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.related-articles__item-date {
    margin-bottom: 10px;
}

/* Планшеты (768px-1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .related-articles__item {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px); /* Добавлено для планшетов */
    }
}

/* Мобильные устройства */
@media (max-width: 768px) {
    .related-articles__item {
        flex: 1 1 100%;
        max-width: 100%; /* Добавлено для мобильных */
    }
    .related-articles__title {
        font-size: 22px;
    }
}

.seo {
    list-style-type: disc!important; 
	padding-left:40px;
}

.seo li {
    list-style-type: inherit; 
    margin-bottom: 5px; 
}
/* End */
/* /local/templates/main/components/bitrix/news/blog/bitrix/news.detail/.default/style.css?17594859822870 */
