/*Медиа запросы для различных разрешений экрана*/
@media (pointer: coarse) {
    .owl-carousel-wide-card .owl-nav button.owl-next:hover,
    .owl-carousel-wide-card .owl-nav button.owl-prev:hover {
        color: white !important;
    }
}

@media (min-width: 320px) {
    .owl-carousel-wide-post-data {
        position: absolute;
        width: 80%;
        height: 15%;
        top: 60%;
        left: 10%;
    }

    .owl-carousel-wide-slide-title {
        font-size: 120%;
        z-index: 2;
    }

    .owl-carousel-wide-more a {
        font-size: 70%;
    }

    .owl-carousel-wide-arrow {
        display: none;
    }
}

@media (min-width: 576px) {
    .owl-carousel-wide-slide-title {
        font-size: 150%;
    }

    .owl-carousel-wide-more a {
        font-size: 80%;
    }

    .owl-carousel-wide-arrow img {
        width: 80%;
        height: 80%;
    }
}

@media (min-width: 768px) {
    .owl-carousel-wide-post-data {
        width: 40%;
    }
}

@media (min-width: 992px) {
    .owl-carousel-wide-post-data {
        left: 15%;
    }

    .owl-carousel-wide-more a {
        font-size: 90%;
    }

    .owl-carousel-wide-arrow img {
        width: 90% !important;
        height: 90% !important;
    }
}

@media (min-width: 1400px) {
    .owl-carousel-wide-slide-title {
        z-index: 2;
    }

    .owl-carousel-wide-more a {
        font-size: 100%;
    }

    .owl-carousel-wide-arrow img {
        width: 100% !important;
        height: 100% !important;
    }
}

.container:has(.widget_owl-carousel-wide) {
    margin: 0 !important;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    padding-top: 50px;
    padding-bottom: 50px;
}

.owl-carousel-wide-ctn {
    width: 100%;
    height: 80vh;
    position: relative;
}

/*Стили заголовка*/
.owl-carousel-wide-title-container {
    position: absolute;
    z-index: 2;
    top: 5%;
    width: 100%;
}

.owl-carousel-wide-title {
    text-align: center;
}

.owl-carousel-wide-title img {
    width: 80%;
    height: auto;
    filter: invert(0%) saturate(100%) hue-rotate(355deg) brightness(106%) contrast(100%) opacity(20%);
}

.owl-carousel-wide-title img:hover {
    width: 80%;
    filter: invert(0%) saturate(100%) hue-rotate(355deg) brightness(106%) contrast(100%) opacity(90%);
}

.owl-carousel-wide-slide-title, .owl-carousel-wide-category, .owl-carousel-wide-slide-time {
    position: relative;
}

.owl-carousel-wide-slide-title a {
    text-decoration: none;
    color: white;
}

.owl-carousel-wide-slide-time {
    color: white;
    z-index: 2;
}

/*Стили карточки*/
.owl-carousel-wide-card .owl-item {
    border: 0;
}

.owl-carousel-wide-cardGrad::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 5%, rgba(51, 51, 51, 0) 50%, rgba(0, 0, 0, 0.7) 95%)
}

.owl-carousel-wide-image {
    object-fit: cover;
    height: 80vh;
    position: absolute;
}

/*Стили для кнопки подробнее*/
.owl-carousel-wide-more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30%;
    height: 10%;
    background-color: rgb(221, 46, 0);
    z-index: 2;
    position: absolute;
    bottom: 0;
    right: 0;
}

/*Текст кнопки подробнее*/
a .owl-carousel-wide-more {
    font-family: revert;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: white;
    text-decoration: none;
}

/*Стили для стрелки кнопки подробнее*/
.owl-carousel-wide-link-wrapper {
    display: block;
}

.owl-carousel-wide-arrow {
    position: absolute;
    right: 10%;
}

.owl-carousel-wide-arrow image {
    position: absolute;
    width: inherit;
    height: inherit;
}

/*Переопределение стилей для стрелочек owl-carousel*/
.owl-carousel-wide-card .owl-nav {
    position: absolute;
    top: 35%;
    width: 100%;
    pointer-events: none;
    height: 0;
}

.owl-carousel-wide-card .owl-prev span,
.owl-carousel-wide-card .owl-next span {
    font-size: 1000%;
    display: inline-block;
    line-height: 100%;
    overflow: hidden;
}

.owl-carousel-wide-card .owl-nav button.owl-next {
    float: right;
    color: white;
    margin-right: 15px;
    pointer-events: visiblePainted;
}

.owl-carousel-wide-card .owl-nav button.owl-prev {
    float: left;
    color: white;
    margin-left: 15px;
    pointer-events: visiblePainted;
}

.owl-carousel-wide-card .owl-nav button.owl-next:hover,
.owl-carousel-wide-card .owl-nav button.owl-prev:hover {
    background: 0 0;
    color: black;
}

/*Переопределение стилей для точек owl-carousel*/
.owl-carousel-wide-card .owl-dots {
    position: absolute;
    top: 95%;
    left: calc(50% - 29px);
}

.owl-carousel-wide-card .owl-dots button:first-child span {
    width: 10px !important;
}

.owl-carousel-wide-card .owl-dots button:last-child span {
    width: 10px !important;
}

.owl-carousel-wide-card .owl-dots button span {
    border-radius: 15px !important;
    width: 20px !important;
    height: 4px !important;
    margin: 5px 3px !important;
}