/* ======================================
   КРАСИВЫЕ СТАТЬИ (НОВОСТИ) ДЛЯ ПАРКА "ДРУЖБА"
   ====================================== */

/* Основной контейнер статьи */
.item-page {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Заголовок статьи */
.item-page h1.page-header {
    font-size: 36px;
    font-weight: 700;
    color: #1e466e;
    margin-bottom: 10px;
    border-left: 5px solid #4CAF50;
    padding-left: 20px;
}

/* Блок с датой, автором, просмотрами */
.item-page .article-info {
    background: #f0f5fa;
    padding: 10px 20px;
    border-radius: 40px;
    display: inline-block;
    margin: 15px 0 25px 0;
    font-size: 14px;
    color: #555;
}

/* Картинка статьи (главное изображение) */
.item-page .img-intro,
.item-page .item-image {
    margin: 20px 0 30px 0;
    text-align: center;
}
.item-page .img-intro img,
.item-page .item-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Текст статьи */
.item-page .article-body,
.com-content-article__body {
    font-size: 18px;
    line-height: 1.7;
    color: #2c3e50;
}

/* Заголовки внутри текста (H2, H3) */
.item-page h2,
.com-content-article__body h2 {
    font-size: 28px;
    font-weight: 600;
    color: #1e466e;
    margin-top: 35px;
    margin-bottom: 15px;
}
.item-page h3,
.com-content-article__body h3 {
    font-size: 22px;
    font-weight: 600;
    color: #2c5a2e;
    margin-top: 25px;
}

/* Ссылки внутри статьи */
.item-page a {
    color: #4CAF50;
    text-decoration: none;
    border-bottom: 1px solid #4CAF50;
}
.item-page a:hover {
    color: #2e7d32;
    border-bottom-color: #2e7d32;
}

/* Кнопка "Назад" (если есть) */
.item-page .back-button {
    margin-top: 40px;
}
.item-page .back-button a {
    display: inline-block;
    background: #4CAF50;
    color: white;
    padding: 10px 25px;
    border-radius: 40px;
    text-decoration: none;
    border: none;
}
.item-page .back-button a:hover {
    background: #2e7d32;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .item-page {
        padding: 20px;
    }
    .item-page h1.page-header {
        font-size: 28px;
    }
    .item-page .article-body {
        font-size: 16px;
    }
}

/* Оформление страницы новости */

.article-details {
    max-width: 1320px;
    margin: 0 auto;
    padding-left: 30px;
    padding-right: 30px;
}

.article-details [itemprop="articleBody"] {
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 18px;
    line-height: 1.55;
    font-weight: 400;
}

.article-details [itemprop="articleBody"] p {
    margin: 0 0 22px;
}

@media (max-width: 767px) {
    .article-details {
        padding-left: 18px;
        padding-right: 18px;
    }

    .article-details [itemprop="articleBody"] {
        font-size: 16px;
    }
}

/* Фотографии внутри новостей */
.article-details [itemprop="articleBody"] img {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
}