/*!
Theme Name: Forcast
Theme URI: https://byteflows.net/wp/forcast-main
Author: byteflows
Author URI: http://byteflows.com/
Description: Forcast - WordPress News Magazine Theme
Version: 1.0.5
Tested up to: 8.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: forcast
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Empath is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/


/* ========================================
   Category magazine layout
======================================== */

.category-magazine-layout {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}

.category-magazine-layout .category-main-post {
    margin-bottom: 55px;
}

.category-magazine-layout .category-main-post__image {
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
}

.category-magazine-layout .category-main-post__image img {
    display: block;
    width: 100% !important;
    max-width: none !important;
    height: 350px;
    object-fit: cover;
}

.category-magazine-layout .category-main-post__image a {
    display: block;
    width: 100%;
}

.category-magazine-layout .category-main-post__content {
    width: 100%;
    max-width: none;
    margin-top: 24px;
}

.category-magazine-layout .category-main-post__meta {
    font-size: 14px;
}

.category-magazine-layout .category-main-post__meta i {
    margin-right: 6px;
}


/* Заголовок главной статьи */

.category-magazine-layout .category-main-post__title {
    margin: 0 0 14px;
    font-family: "Times New Roman", Times, serif !important;
    font-size: 38px !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
}

.category-magazine-layout .category-main-post__title > a {
    font-family: "Times New Roman", Times, serif !important;
    font-size: 38px !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
    color: inherit;
    text-decoration: none;
}


/* Маленькие статьи */

.category-magazine-layout .category-grid-column {
    margin-bottom: 40px;
    position: relative;
}

.category-magazine-layout .category-grid-post {
    height: 100%;
}


/* Изображения маленьких статей */

.category-magazine-layout .category-grid-post .bytf__feature-image {
    width: 100%;
    height: 300px !important;
    overflow: hidden;
}

.category-magazine-layout .category-grid-post .bytf__feature-image > a {
    display: block;
    width: 100%;
    height: 100% !important;
}

.category-magazine-layout .category-grid-post .bytf__feature-image > a > img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-height: 300px !important;
    max-height: 300px !important;
    max-width: none !important;
    object-fit: cover !important;
}


/* Заголовки маленьких статей */

.category-magazine-layout .category-grid-post .bytf__content h3.bytf_post_title {
    margin: 0 0 12px;
    font-family: "Times New Roman", Times, serif !important;
    font-size: 24px !important;
    line-height: 1.25 !important;
    font-weight: 500 !important;
}

.category-magazine-layout .category-grid-post .bytf__content h3.bytf_post_title > a {
    font-family: "Times New Roman", Times, serif !important;
    font-size: 24px !important;
    line-height: 1.25 !important;
    font-weight: 500 !important;
    color: inherit;
    text-decoration: none;
}


/* Микро-разделители */

@media (min-width: 992px) {

    .category-magazine-layout .category-grid-column {
        padding-left: 28px;
        padding-right: 28px;
    }

    .category-magazine-layout .category-grid-column:not(:nth-child(3n + 2)) {
        border-left: 1px solid #e8e8e8;
    }

}


/* Планшет */

@media (max-width: 991px) {

    .category-magazine-layout {
        padding-top: 32px !important;
        padding-bottom: 32px !important;
    }

    .category-magazine-layout .category-main-post__image img {
        height: 400px;
    }

    .category-magazine-layout .category-main-post__title,
    .category-magazine-layout .category-main-post__title > a {
        font-size: 32px !important;
    }

    .category-magazine-layout .category-grid-post .bytf__content h3.bytf_post_title,
    .category-magazine-layout .category-grid-post .bytf__content h3.bytf_post_title > a {
        font-size: 23px !important;
    }

    .category-magazine-layout .category-grid-column {
        padding-bottom: 30px;
        border-bottom: 1px solid #e8e8e8;
    }

    .category-magazine-layout .category-grid-post .bytf__feature-image {
        height: 280px !important;
    }

    .category-magazine-layout .category-grid-post .bytf__feature-image > a > img {
        min-height: 280px !important;
        max-height: 280px !important;
    }

}


/* Мобильная версия */

@media (max-width: 767px) {

    .category-magazine-layout {
        padding-top: 24px !important;
        padding-bottom: 24px !important;
    }

    .category-magazine-layout .category-main-post {
        margin-bottom: 40px;
    }

    .category-magazine-layout .category-main-post__image img {
        height: 260px;
    }

    .category-magazine-layout .category-main-post__title,
    .category-magazine-layout .category-main-post__title > a {
        font-size: 26px !important;
        line-height: 1.25 !important;
    }

    .category-magazine-layout .category-grid-post .bytf__content h3.bytf_post_title,
    .category-magazine-layout .category-grid-post .bytf__content h3.bytf_post_title > a {
        font-size: 22px !important;
        line-height: 1.3 !important;
    }

    .category-magazine-layout .category-grid-post .bytf__feature-image {
        height: 260px !important;
    }

    .category-magazine-layout .category-grid-post .bytf__feature-image > a > img {
        min-height: 260px !important;
        max-height: 260px !important;
    }

}



/* ========================================
   Mobile header - logo centered
======================================== */

@media (max-width: 767px) {

    .main-header-seven .header__maenu {
        position: relative;
    }

    .main-header-seven .byteflows_logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        margin: 0 !important;
        z-index: 2;
    }

    .main-header-seven .byteflows_logo a {
        display: block;
    }

    .main-header-seven .byteflows_logo img {
        display: block;
        margin: 0 auto;
    }

}

@media (max-width: 767px) {

    .main-header-seven .byteflows_logo img {
        display: block;
        width: auto;
        max-width: 150px;
        max-height: 45px;
        margin: 0 auto;
    }

}



/* Заголовок страницы рубрики */

.category-breadcrumb-clean .bar__title h1 {
    font-family: "Times New Roman", Times, serif !important;
    color: #73030D !important;
    font-weight: 600 !important;
    font-size: 42px;
    line-height: 1.15;
    margin: 0;
    
}

@media (max-width: 767px) {
    .category-breadcrumb-clean .bar__title h1 {
        font-size: 30px;
    }
}

/* Категория на странице новости */

.single__post-article .empath-cate-badge-seven {
    font-family: "Times New Roman", Times, serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
}

.single__post-article .empath-cate-badge-seven span {
    font-family: "Times New Roman", Times, serif !important;
    font-size: inherit;
    font-weight: 400 !important;
}


/* ========================================
   Читайте также
======================================== */

.single-read-also {
    width: 100%;
    margin-top: 45px;
    margin-bottom: 10px !important;
}


/* Заголовок блока */

.single-read-also__title {
    margin: 0 0 32px;
    font-family: "Times New Roman", Times, serif !important;
    font-size: 25px !important;
    line-height: 1.15;
    font-weight: 600 !important;
    color: #73030D;
}


/* Сетка */

.single-read-also__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}


/* Карточка */

.single-read-also__item {
    min-width: 0;
}


/* Изображение */

.single-read-also__image {
    width: 100%;
    height: 200px;
    margin-bottom: 14px;
    overflow: hidden;
}

.single-read-also__image a {
    display: block;
    width: 100%;
    height: 100%;
}

.single-read-also__image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}


/* Название статьи */

.single-read-also__post-title {
    margin: 0 0 12px;
    font-family: "Times New Roman", Times, serif !important;
    font-size: 24px !important;
    line-height: 1.15 !important;
    font-weight: 400 !important;

    /* Высота строго максимум в 2 строки */
    max-height: calc(2 * 1.15em);
    overflow: hidden;
}

.single-read-also__post-title a {
    font-family: "Times New Roman", Times, serif !important;
    font-size: inherit !important;
    line-height: inherit !important;
    font-weight: 400 !important;
    color: #000;
    text-decoration: none;

    /* Многоточие после второй строки */
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.single-read-also__post-title a:hover {
    color: #73030D;
}


/* Краткий текст */

.single-read-also__excerpt {
    font-size: 16px;
    line-height: 1.6;
    color: #666;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}


/* Убираем лишний верхний отступ у Elementor-блока после "Читайте также" */

.single-read-also + .elementor,
.single-read-also ~ .elementor {
    margin-top: 0 !important;
}


/* Планшет */

@media (max-width: 991px) {

    .single-read-also__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .single-read-also__image {
        height: 260px;
    }

}


/* Мобильная версия */

@media (max-width: 767px) {

    .single-read-also {
        margin-top: 32px;
        margin-bottom: 5px !important;
    }

    .single-read-also__title {
        margin-bottom: 22px;
        font-size: 28px !important;
    }

    .single-read-also__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .single-read-also__image {
        height: 240px;
    }

    .single-read-also__post-title {
        font-size: 22px !important;
    }

    .single-read-also__excerpt {
        font-size: 15px;
    }

}








/* ========================================
   Страница автора
======================================== */


/* Первый экран */

.author-page-hero {
    background-image: none !important;
    background-color: #fff !important;
    padding-top: 28px !important;
    padding-bottom: 28px !important;
}


/* Страховка - фото автора не показываем */

.author-page-hero .author-thumb {
    display: none !important;
}


/* Контейнер автора */

.author-page-hero .empath__author_bio__Wrapper {
    display: flex;
    align-items: center;
    width: 100%;
}


/* Имя автора */

.author-page-hero .theme_author__Name {
    margin: 0 !important;
    font-family: "Times New Roman", Times, serif !important;
    font-size: 42px !important;
    line-height: 1.15 !important;
    font-weight: 600 !important;
    color: #73030D !important;
}


/* Описание автора */

.author-page-hero .theme_author__Description {
    margin-top: 12px;
    margin-bottom: 0;
}


/* Счётчик статей */

.author-page-hero .auth__total_post.text-center {
    width: 106px;
    height: 106px;
    margin-left: auto;
    border-color: #73030D;
}

.author-page-hero .auth__total_post-inner h2 {
    margin: 0;
    font-family: "Times New Roman", Times, serif !important;
    font-size: 32px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    color: #73030D !important;
}

.author-page-hero .auth__total_post-inner p {
    margin: 6px 0 0;
    font-family: "Times New Roman", Times, serif !important;
    font-size: 16px !important;
    line-height: 1.1 !important;
    font-weight: 400 !important;
}


/* ========================================
   Сетка статей автора
======================================== */

.author-posts-wrapper {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}

.author-post-column {
    margin-bottom: 40px;
}

.author-post-card {
    height: 100%;
}


/* Изображение */

.author-post-image {
    width: 100%;
    height: 300px !important;
    overflow: hidden;
}

.author-post-image > a {
    display: block;
    width: 100%;
    height: 100%;
}

.author-post-image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
}


/* Контент карточки */

.author-post-content {
    padding-top: 16px;
}


/* Заголовок */

.author-post-title {
    margin: 0 0 12px !important;
    font-family: "Times New Roman", Times, serif !important;
    font-size: 24px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    overflow: hidden;
}

.author-post-title > a {
    font-family: "Times New Roman", Times, serif !important;
    font-size: inherit !important;
    line-height: inherit !important;
    font-weight: 400 !important;
    color: #000;
    text-decoration: none;

    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.author-post-title > a:hover {
    color: #73030D;
}


/* Описание */

.author-post-excerpt {
    font-size: 16px;
    line-height: 1.55;
    color: #666;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}


/* ========================================
   Планшет
======================================== */

@media (max-width: 991px) {

    .author-page-hero {
        padding-top: 22px !important;
        padding-bottom: 22px !important;
    }

    .author-page-hero .theme_author__Name {
        font-size: 34px !important;
    }

    .author-post-image {
        height: 280px !important;
    }

    .author-post-title {
        font-size: 23px !important;
    }

}


/* ========================================
   Мобильная версия
======================================== */

@media (max-width: 767px) {

    .author-page-hero {
        padding-top: 16px !important;
        padding-bottom: 16px !important;
    }

    .author-page-hero .empath__author_bio__Wrapper {
        align-items: center;
        gap: 15px;
    }

    .author-page-hero .theme_author__Name {
        font-size: 30px !important;
    }

    .author-page-hero .theme_author_Info {
        max-width: calc(100% - 85px);
    }

    .author-page-hero .auth__total_post.text-center {
        width: 75px;
        height: 75px;
        flex: 0 0 75px;
    }

    .author-page-hero .auth__total_post-inner {
        padding-top: 10px;
    }

    .author-page-hero .auth__total_post-inner h2 {
        font-size: 24px !important;
    }

    .author-page-hero .auth__total_post-inner p {
        margin-top: 3px;
        font-size: 14px !important;
    }

    .author-posts-wrapper {
        padding-top: 24px !important;
        padding-bottom: 24px !important;
    }

    .author-post-column {
        margin-bottom: 32px;
    }

    .author-post-image {
        height: 260px !important;
    }

    .author-post-title {
        font-size: 22px !important;
    }

    .author-post-excerpt {
        font-size: 15px;
    }

}


/* ========================================
   Страница "О нас"
======================================== */

.page-id-2268 .empath__breadcrumb-wrapper {
    background-image: none !important;
    background-color: #fff !important;
    padding-top: 25px !important;
    padding-bottom: 25px !important;
}


/* Скрываем хлебные крошки */

.page-id-2268 .empath__bacrumb-inner {
    display: none !important;
}


/* Заголовок */

.page-id-2268 .bar__title h1 {
    font-family: "Times New Roman", Times, serif !important;
    color: #73030D !important;
    font-weight: 600 !important;
    font-size: 30px !important;
    line-height: 1.15 !important;
    margin: 0 !important;
    text-transform: uppercase;
}


/* Планшет */

@media (max-width: 991px) {

    .page-id-2268 .empath__breadcrumb-wrapper {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }

    .page-id-2268 .bar__title h1 {
        font-size: 24px !important;
    }

}


/* Мобильная версия */

@media (max-width: 767px) {

    .page-id-2268 .empath__breadcrumb-wrapper {
        padding-top: 16px !important;
        padding-bottom: 16px !important;
    }

    .page-id-2268 .bar__title h1 {
        font-size: 20px !important;
    }

}


/* ========================================
   Страница "Контакты"
======================================== */

.page-id-33 .empath__breadcrumb-wrapper {
    background-image: none !important;
    background-color: #fff !important;
    padding-top: 25px !important;
    padding-bottom: 25px !important;
}


/* Скрываем хлебные крошки */

.page-id-33 .empath__bacrumb-inner {
    display: none !important;
}


/* Заголовок */

.page-id-33 .bar__title h1 {
    font-family: "Times New Roman", Times, serif !important;
    color: #73030D !important;
    font-weight: 600 !important;
    font-size: 30px !important;
    line-height: 1.15 !important;
    margin: 0 !important;
    text-transform: uppercase;
}


/* Планшет */

@media (max-width: 991px) {

    .page-id-33 .empath__breadcrumb-wrapper {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }

    .page-id-33 .bar__title h1 {
        font-size: 24px !important;
    }

}


/* Мобильная версия */

@media (max-width: 767px) {

    .page-id-33 .empath__breadcrumb-wrapper {
        padding-top: 16px !important;
        padding-bottom: 16px !important;
    }

    .page-id-33 .bar__title h1 {
        font-size: 20px !important;
    }

}





/* ========================================
   Mobile header: поиск / логотип / бургер
======================================== */

@media (max-width: 767px) {

    .main-header-seven .header__maenu {
        position: relative;
        min-height: 56px;
    }

    /* Левая часть хедера */
    .main-header-seven .header__maenu > div:first-child {
        width: 100%;
        display: flex !important;
        align-items: center !important;
    }

    /* Скрываем левый hamburger старой версии */
    .main-header-seven .hamburger__menu.toggle-hidden-bar {
        display: none !important;
    }

    /* Показываем поиск на мобильном */
    .main-header-seven .search_popup.search__open-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 32px;
        height: 32px;
        margin: 0 !important;
        z-index: 3;
        cursor: pointer;
    }

    .main-header-seven .search_popup.search__open-btn span {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .main-header-seven .search_popup.search__open-btn svg {
        width: 25px;
        height: 24px;
        display: block;
    }

    /* Логотип строго по центру */
    .main-header-seven .byteflows_logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        margin: 0 !important;
        z-index: 2;
    }

    .main-header-seven .byteflows_logo a {
        display: block;
    }

    .main-header-seven .byteflows_logo img {
        display: block;
        margin: 0 auto;
    }

    /* Правый мобильный бургер */
    .main-header-seven .header__control {
        margin-left: auto;
        z-index: 3;
    }

    .main-header-seven .hamburger_menu.bytf__mobile-menu {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 !important;
    }

}




/* ========================================
   Поиск - стилизация
======================================== */


/* Заголовок "Популярные публикации" */

.bytf__search-wrapper .elementor-heading-title {
    font-family: "Times New Roman", Times, serif !important;
    color: #73030D !important;
    font-weight: 600 !important;
    font-size: 30px !important;
    line-height: 1.2 !important;
}


/* Заголовки публикаций */

.bytf__search-wrapper .bytf_post_title,
.bytf__search-wrapper .bytf_post_title a {
    font-family: "Times New Roman", Times, serif !important;
    font-size: 22px !important;
    line-height: 1.25 !important;
    font-weight: 400 !important;
    color: #000 !important;
    text-decoration: none;

    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}


/* Hover */

.bytf__search-wrapper .bytf_post_title a:hover {
    color: #73030D !important;
}


/* Мобильная версия */

@media (max-width: 767px) {

    .bytf__search-wrapper .elementor-heading-title {
        font-size: 26px !important;
    }

    .bytf__search-wrapper .bytf_post_title,
    .bytf__search-wrapper .bytf_post_title a {
        font-size: 20px !important;
        line-height: 1.25 !important;
    }

}

/* Убираем полосу под заголовками в поиске */
.bytf__search-wrapper .bytf_post_title a,
.bytf__search-wrapper .bytf_post_title a:hover,
.bytf__search-wrapper .bytf_post_title a:focus {
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    background-image: none !important;
}


/* ========================================
   Социальные сети над "Читайте также"
======================================== */

.single-article-socials {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;

    margin-top: 30px;
    margin-bottom: 30px;
}


/* Иконка */

.single-article-socials__item {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    border-radius: 4px;

    background: #73030D;
    color: #fff !important;

    font-size: 18px;

    text-decoration: none !important;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}


/* Убираем любые эффекты темы */

.single-article-socials__item::before,
.single-article-socials__item::after {
    display: none !important;
    content: none !important;
}


/* Hover */

.single-article-socials__item:hover {
    background: #000;
    color: #fff !important;
    transform: translateY(-2px);
}


/* Иконка */

.single-article-socials__item i {
    color: inherit !important;
}


/* Mobile */

@media (max-width: 767px) {

    .single-article-socials {
        margin-top: 24px;
        margin-bottom: 24px;
        gap: 7px;
    }

    .single-article-socials__item {
        width: 38px;
        height: 38px;
        font-size: 17px;
    }

}


/* ========================================
   Sticky sidebar на главной
======================================== */

@media (min-width: 992px) {

    /* Сам столбец занимает всю высоту общего блока */
    .home-sticky-sidebar {
        position: relative !important;
        align-self: stretch !important;
        overflow: visible !important;
    }

    /* А контент внутри столбца становится sticky */
    .home-sticky-sidebar > .elementor-widget-wrap {
        position: sticky !important;
        position: -webkit-sticky !important;

        top: 90px;

        height: auto !important;
        min-height: 0 !important;

        align-self: flex-start !important;
        align-content: flex-start !important;

        overflow: visible !important;
    }

}



/* ========================================
   Блок "Актуально"
======================================== */

.actual-posts-block {
    position: relative;
    width: 100%;
    padding: 0;
}


/* ========================================
   Внешняя обёртка слайдера
======================================== */

.actual-posts-slider-shell {
    position: relative;
    width: 100%;
}


/* ========================================
   Slider
======================================== */

.actual-posts-slider {
    position: relative;
    width: 100%;

    /* ВАЖНО:
       скрываем 5, 6, 7, 8 карточки,
       пока пользователь не переключил слайдер */
    overflow: hidden !important;
}


/* Карточка */

.actual-posts-card {
    min-width: 0;
    height: auto;
}


/* ========================================
   Изображение
======================================== */

.actual-posts-card__image {
    width: 100%;
    height: 250px;

    margin-bottom: 14px;

    overflow: hidden;
}

.actual-posts-card__image a {
    display: block;

    width: 100%;
    height: 100%;
}

.actual-posts-card__image img {
    display: block;

    width: 100% !important;
    height: 100% !important;

    object-fit: cover !important;

    transition: transform 0.35s ease;
}

.actual-posts-card__image:hover img {
    transform: scale(1.03);
}


/* ========================================
   Заголовок статьи
======================================== */

.actual-posts-card__title {
    margin: 0 0 12px;

    font-family: "Times New Roman", Times, serif !important;
    font-size: 24px !important;
    line-height: 1.15 !important;
    font-weight: 400 !important;
}


/* Максимум 2 строки */

.actual-posts-card__title a {
    font-family: "Times New Roman", Times, serif !important;
    font-size: inherit !important;
    line-height: inherit !important;
    font-weight: inherit !important;

    color: #000 !important;

    text-decoration: none !important;

    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    overflow: hidden;
}

.actual-posts-card__title a:hover {
    color: #73030D !important;
}


/* Убираем эффекты темы */

.actual-posts-card__title a::before,
.actual-posts-card__title a::after {
    display: none !important;
    content: none !important;
}


/* ========================================
   Описание
======================================== */

.actual-posts-card__excerpt {
    font-size: 16px;
    line-height: 1.55;

    color: #666;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    overflow: hidden;
}


/* ========================================
   Стрелки
======================================== */

.actual-posts-slider__arrow {
    position: absolute;

    /*
     * Центрируем стрелку относительно
     * всей высоты карточек слайдера.
     */
    top: 50%;
    transform: translateY(-50%);

    z-index: 20;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    padding: 0;

    border: 0;
    border-radius: 3px;

    background: #73030D !important;
    color: #fff !important;

    font-size: 22px;
    line-height: 1;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        opacity 0.2s ease;
}


/* Левая стрелка
   42px ширина кнопки + 15px отступ */

.actual-posts-slider__arrow--prev {
    left: -57px;
}


/* Правая стрелка */

.actual-posts-slider__arrow--next {
    right: -57px;
}


/* Hover */

.actual-posts-slider__arrow:hover {
    background: #5d020a !important;
}


/* Иконка стрелки */

.actual-posts-slider__arrow span {
    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff !important;

    font-family: Arial, sans-serif;
    line-height: 1;
}


/* Неактивная стрелка */

.actual-posts-slider__arrow.swiper-button-disabled {
    opacity: 0.35;
    cursor: default;
}


/* ========================================
   Pagination
======================================== */

.actual-posts-slider__pagination {
    position: relative !important;

    bottom: auto !important;
    left: auto !important;

    width: 100% !important;

    margin-top: 30px;

    text-align: center;
}


.actual-posts-slider__pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;

    margin: 0 5px !important;

    background: #73030D;

    opacity: 0.25;
}


.actual-posts-slider__pagination
.swiper-pagination-bullet-active {
    opacity: 1;
}


/* ========================================
   Планшет
======================================== */

@media (max-width: 1199px) {

    .actual-posts-card__image {
        height: 260px;
    }

    .actual-posts-slider__arrow--prev {
        left: -50px;
    }

    .actual-posts-slider__arrow--next {
        right: -50px;
    }

}


/* ========================================
   Tablet / небольшие экраны
======================================== */

@media (max-width: 991px) {

    .actual-posts-slider__arrow {
        width: 38px;
        height: 38px;

        font-size: 20px;
    }

    /*
     * На небольших экранах стрелки
     * возвращаем внутрь блока,
     * чтобы они не вылезали за viewport.
     */

    .actual-posts-slider__arrow--prev {
        left: 10px;
    }

    .actual-posts-slider__arrow--next {
        right: 10px;
    }

}


/* ========================================
   Mobile
======================================== */

@media (max-width: 767px) {

    .actual-posts-block {
        padding: 0;
    }

    .actual-posts-card__image {
        height: 240px;
    }

    .actual-posts-card__title {
        font-size: 22px !important;
    }

    .actual-posts-card__excerpt {
        font-size: 15px;
    }

    .actual-posts-slider__arrow {
        width: 38px;
        height: 38px;

        font-size: 21px;
    }

    .actual-posts-slider__arrow--prev {
        left: 8px;
    }

    .actual-posts-slider__arrow--next {
        right: 8px;
    }

    .actual-posts-slider__pagination {
        margin-top: 24px;
    }

}


/* ========================================
   Верхний слайдер "Актуально" на странице новости
======================================== */

.single-actual-top-slider-block {
    width: 100%;
    padding: 24px 0 0;
}

.single-actual-top-slider {
    width: 100%;
    overflow: hidden;
}

.single-actual-top-card {
    min-width: 0;
}

.single-actual-top-card__link {
    display: block;
    text-decoration: none !important;
}

.single-actual-top-card__link::before,
.single-actual-top-card__link::after {
    display: none !important;
    content: none !important;
}

.single-actual-top-card__image {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
    border-radius: 4px;
    background: #ddd;
}

.single-actual-top-card__image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.single-actual-top-card__overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 48%;
    background: linear-gradient(
        to top,
        rgba(115, 3, 13, 0.92) 0%,
        rgba(115, 3, 13, 0.65) 45%,
        rgba(115, 3, 13, 0.00) 100%
    );
    pointer-events: none;
}

.single-actual-top-card__title {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 2;

    margin: 0;

    font-family: "Times New Roman", Times, serif !important;
    font-size: 20px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    color: #fff !important;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.single-actual-top-card__title:hover {
    color: #fff !important;
}

/* Планшет */

@media (max-width: 1199px) {

    .single-actual-top-card__image {
        height: 150px;
    }

    .single-actual-top-card__title {
        font-size: 19px !important;
    }

}

/* Мобильная версия */

@media (max-width: 767px) {

    .single-actual-top-slider-block {
        padding: 18px 0 0px;
    }

    .single-actual-top-card__image {
        height: 130px;
    }

    .single-actual-top-card__title {
        left: 15px;
        right: 15px;
        bottom: 15px;
        font-size: 18px !important;
    }

}


.bytf__single-post-wrapper {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}


/* ========================================
   Основной текст статьи
======================================== */

.single__post-article .empath__single-content,
.single__post-article .empath__single-content p,
.single__post-article .empath__single-content li,
.single__post-article .empath__single-content span {
    font-family: "Times New Roman", Times, serif !important;
    font-size: 18px !important;
    line-height: 1.65 !important;
    color: #000 !important;
}


/* Планшет */

@media (max-width: 991px) {

    .single__post-article .empath__single-content,
    .single__post-article .empath__single-content p,
    .single__post-article .empath__single-content li,
    .single__post-article .empath__single-content span {
        font-size: 16px !important;
        line-height: 1.6 !important;
        color: #000 !important;
    }

}


/* Телефон */

@media (max-width: 767px) {

    .single__post-article .empath__single-content,
    .single__post-article .empath__single-content p,
    .single__post-article .empath__single-content li,
    .single__post-article .empath__single-content span {
        font-size: 16px !important;
        line-height: 1.6 !important;
        color: #000 !important;
    }

}


/* ========================================
   Заголовки внутри статьи
======================================== */

.single__post-article .empath__single-content h2 {
    font-family: "Times New Roman", Times, serif !important;
    font-size: 30px !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
    color: #000 !important;

    margin-top: 32px !important;
    margin-bottom: 16px !important;
}

.single__post-article .empath__single-content h3 {
    font-family: "Times New Roman", Times, serif !important;
    font-size: 24px !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
    color: #000 !important;

    margin-top: 28px !important;
    margin-bottom: 14px !important;
}


/* Планшет */

@media (max-width: 991px) {

    .single__post-article .empath__single-content h2 {
        font-size: 26px !important;
        line-height: 1.25 !important;
        margin-top: 28px !important;
        margin-bottom: 14px !important;
    }

    .single__post-article .empath__single-content h3 {
        font-size: 22px !important;
        line-height: 1.3 !important;
        margin-top: 24px !important;
        margin-bottom: 12px !important;
    }

}


/* Телефон */

@media (max-width: 767px) {

    .single__post-article .empath__single-content h2 {
        font-size: 26px !important;
        line-height: 1.25 !important;
    }

    .single__post-article .empath__single-content h3 {
        font-size: 22px !important;
        line-height: 1.3 !important;
    }

}

.single__post-article .empath__single-content p {
    margin-bottom: 15px !important;
}



/* ========================================
   Верх статьи
======================================== */

.single__post-article .single__top-wrapper {
    height: auto !important;
    min-height: 0 !important;
    padding-bottom: 0px !important;
    margin-bottom: 0 !important;
}

.single__post-article .single__top-social {
    display: none !important;
}





/* ========================================
   Главный слайдер на главной странице
   Одинаковая высота всех больших слайдов
======================================== */

/* Общая высота большого слайда */
.post__slider-main-area .post_slider_three__active .swiper-slide {
    height: 660px !important;
}

/* Фоновый блок всегда занимает весь слайд */
.post__slider-main-area .post__slider_twq-main {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;

    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}


/* Планшет */
@media (max-width: 991px) {

    .post__slider-main-area .post_slider_three__active .swiper-slide {
        height: 550px !important;
    }

}


/* Телефон */
@media (max-width: 767px) {

    .post__slider-main-area .post_slider_three__active .swiper-slide {
        height: 500px !important;
    }

}