/* Убираем плашку избранный */
.featured-article-badge {
    display: none !important;
}



/* ==========================================================================
   1. ДЛЯ СТРАНИЦЫ ПОЛНОЙ СТАТЬИ (SINGLE ARTICLE) — ИДЕАЛЬНЫЙ ПОРЯДОК
   ========================================================================== */

.view-article .article-details {
    display: flex !important;
    flex-direction: column !important;
}

/* 1. Заголовок — на самом верху */
.view-article .article-header {
    order: -2 !important; 
    margin: 0 !important;
    padding-top: 5px !important;
    padding-bottom: 15px !important;
}

/* 2. Категория — сразу под заголовком */
.view-article .article-info {
    order: -1 !important;
    margin: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 25px !important;
}

/* 3. Галерея / картинка — под категорией */
.view-article .article-feature-gallery {
    order: 0 !important;
    margin-bottom: 20px !important;
}

/* 4. Текст статьи и карта — строго ПОД галереей */
.view-article .article-body {
    order: 1 !important;
}

.view-article .article-info > dd {
    display: none !important;
}
.view-article .article-info > dd.category-name {
    display: inline-block !important;
}


/* Фиксируем высоту и внешний вид блока галереи/картинок в блоге */
.blog .article-feature-gallery img,
.blog .item-image img,
.view-featured .article-feature-gallery img {
    width: 100% !important;
    height: 250px !important;       /* Жесткая фиксированная высота превью (можно изменить под себя) */
    object-fit: cover !important;   /* Картинка заполнит блок, а лишнее аккуратно обрежется по краям */
    object-position: center !important; /* Центрирование кадра при обрезке */
}


/* 1. Скрываем только служебную надпись "Контакт" */
.com-contact h2 {
    display: none !important;
}

/* 2. Скрываем надписи "Форма обратной связи" и "Отправка письма" */
.com-contact fieldset legend,
.com-contact .contact-form legend,
.com-contact h3 {
    display: none !important;
}
