/* Стили для страницы статьи */

/* Центрирование заголовка */
.articles-typical__title {
    text-align: center !important;
    margin: 2rem auto;
    font-size: 2.5rem;
    line-height: 1.2;
    color: #fff;
}

/* Основной контейнер статьи */
.articles-typical__content {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Унификация текста */
.articles-typical__content p {
    font-size: 18px !important;
    line-height: 1.6 !important;
    margin-bottom: 1.5rem !important;
    color: #fff !important;
}

/* Заголовки внутри статьи */
.articles-typical__content h2 {
    font-size: 28px !important;
    line-height: 1.3 !important;
    margin: 2rem 0 1rem !important;
    color: #fff !important;
}

.articles-typical__content h3 {
    font-size: 24px !important;
    line-height: 1.3 !important;
    margin: 1.5rem 0 1rem !important;
    color: #fff !important;
}

/* Списки */
.articles-typical__content ul,
.articles-typical__content ol {
    margin: 1rem 0 1.5rem 2rem !important;
}

.articles-typical__content li {
    font-size: 18px !important;
    line-height: 1.6 !important;
    margin-bottom: 0.5rem !important;
    color: #fff !important;
}

/* Изображения */
.articles-typical__content img {
    max-width: 100%;
    height: auto;
    margin: 2rem 0;
    border-radius: 8px;
}
/* Изображение миниатюры после заголовка */
.article-featured-image {
    margin: 2rem 0;
    padding: 0 20px;
    box-sizing: border-box;
    max-width: 100%;
}
.article-featured-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

/* Ссылки */
.articles-typical__content a {
    color: #31B939;
    text-decoration: none;
    transition: color 0.3s;
}

.articles-typical__content a:hover {
    color: #1f9f27;
}

/* Кнопка "Вернуться назад" */
.articles-typical__back-link {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-left: 2px; /* Добавляем отступ слева */
}

/* Социальные кнопки */
.social-sharing {
    margin: 2rem 0;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-left: 2px; /* Добавляем отступ слева */
}

.social-sharing h3 {
    font-size: 20px !important;
    margin-bottom: 1rem !important;
    color: #fff !important;
}

.social-button {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    margin-right: 10px;
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.social-button:hover {
    opacity: 0.8;
}

.social-button svg {
    margin-right: 8px;
}

.social-button.telegram {
    background-color: #0088cc;
}

.social-button.vk {
    background-color: #4C75A3;
}

.social-button.instagram {
    background: #d6249f;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
}

/* Убираем фон у контейнера статьи */
.articles-typical__container {
    background: none !important;
}

/* Адаптивность */
@media (max-width: 768px) {
    .articles-typical__title {
        font-size: 2rem;
        padding: 0;
    }

    .articles-typical__content {
        padding: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .articles-typical__container {
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
    .article-featured-image {
        padding: 0 15px;
    }

    .articles-typical__content p,
    .articles-typical__content li {
        font-size: 16px !important;
    }

    .articles-typical__content h2 {
        font-size: 24px !important;
    }

    .articles-typical__content h3 {
        font-size: 20px !important;
    }

    .social-button {
        margin-bottom: 10px;
        width: 100%;
        justify-content: center;
    }

}

@media (min-width: 769px) and (max-width: 1024px) {
    /* Стили для планшетов */
}

@media (min-width: 1025px) {
    /* Стили для ПК */
    .articles-typical__container {
        display: block;
        margin-bottom: 0;
    }
    .articles-typical__content {
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        padding: 0 20px;
        box-sizing: border-box;
    }
    .article-featured-image {
        padding: 0 20px;
    }
}
