.search-categories-block {}

.search-categories-block .grid-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.search-categories-block .custom-training-container {
    width: auto;
    height: auto;
}

.search-categories-block .custom-training-container a {
    text-decoration: none;
}

.search-categories-block .custom-training-container a.cover::before {
    display: none !important;
}

.search-categories-block .ui-card__image,
.search-categories-block .arrow {
    display: none;
}

.search-categories-block .ui-card__info.ui-card__info--absolute {
    position: static;
    padding: 12px 20px;
    cursor: pointer;
    color: var(--fill_dark_lite_white_hover);
    background-color: var(--secondary-black-dark-light-bg);
    border-radius: var(--theme-button-border-radius) 6px;
    text-decoration: none;
    font-size: calc(1rem - 2px);
    line-height: calc(1em + 6px);
    transition: 0.2s ease-in-out;
}

.search-categories-block .ui-card__info.ui-card__info--absolute:focus,
.search-categories-block .ui-card__info.ui-card__info--absolute:active,
.search-categories-block .ui-card__info.ui-card__info--absolute:hover {
    background-color: #BD2045;
}

.search-categories-block .ui-card__info.ui-card__info--absolute:hover .ui-card__title,
.search-categories-block .ui-card__info.ui-card__info--absolute:active .ui-card__title,
.search-categories-block .ui-card__info.ui-card__info--absolute:focus .ui-card__title {
    color: white !important;
}

.search-categories-block .ui-card__title {
    color: var(--fill_dark_lite_white_hover);
}

.programms-wrapper+.programms-wrapper {
    margin-top: 60px;
}

.programms__grid {
    display: grid;
    grid-gap: 16px;
    grid-template-columns: repeat(3, 1fr);
}

.programms__item {
    position: relative;
    border-radius: var(--theme-outer-border-radius);
    overflow: hidden;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: rgba(140, 140, 140, .1);
    color: #fff;
    aspect-ratio: 480 / 256;
    /*height: 0;
  padding-top: 53.33%;*/
}

.programms__item_img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    border-radius: var(--theme-outer-border-radius);
    object-fit: cover;
    object-position: center top;
    transition: transform .3s ease;
}

.programms__item_img.lazyloaded {
    transition: transform .6s ease, opacity 300ms;
}

.programms__item_link {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 25px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-decoration: none !important;
    color: #fff;
    /* text-shadow: 0 0 1px rgba(0, 0, 0, 1); */
    font-size: 16px;
    line-height: 1.4;
    font-weight: bold;
    text-transform: uppercase;
    overflow: hidden;
    transition: all .18s ease;
}

.programms__item_title {
    max-width: 40%;
    text-wrap: balance;
    display: flex;
    flex-direction: column;
    transform: scaleX(1.2) translateX(0px);
}

.programms__item_title .hltd {
    display: block;
    position: relative;
    margin: 0 0 10px;
    display: flex;
    text-shadow: none;
    width: 80%;
    padding: 0 40px;
    /* transform: scaleX(1.2); */
    justify-content: center;
    transform: translateX(-15px);
}

.programms__item_title .hltd::before {
    content: '';
    position: absolute;
    left: -5px;
    right: -5px;
    top: -5px;
    bottom: -5px;
    padding: 0 10px;
    z-index: -1;
    border-radius: 5px;
    background-color: #fb4e06;
    line-height: 1;
}


.author-programms .programms__item_link {
    display: block;
    padding: 12px 10px;
    text-transform: none;
    font-size: 16px;
}

.programms__item_descr {
    display: grid;
    grid-gap: 10px;
    max-width: 64%;
}

.programms__item_author {
    font-size: 14px;
    color: #bfbcc2 !important;
}

.author-programms .programms__item_title {
    max-width: unset;
    font-weight: bold;
	transform: unset;
}

.programms__item_meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.programms__item_meta>*:not(:first-child)::before {
    content: '';
    position: relative;
    top: .5em;
    vertical-align: top;
    margin-right: 6px;
    display: inline-block;
    width: 5px;
    height: 5px;
    background-color: #fff;
    border-radius: 50%;
    margin-right: 6px;
}


.programms__item_rating {}

.programms__item_rating .rate__bar {
    --size: 12px;
}

.programms__item_duration {
    font-size: 12px;
}

.bx-no-touch .programms__item:hover .programms__item_img {
    transform: scale(1.1);
}

.bx-no-touch .programms__item_link:hover {
    text-shadow: none;
}

@media (max-width: 600px) {
    .rate {
        justify-content: start;
    }
}

@media (max-width: 991px) {
    .programms__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 639px) {
    .programms__grid {
        grid-template-columns: repeat(1, 1fr);
    }
}


.author-programms .ui-card__image--masonry-high {
    --aspect-ratio: 480 / 256;
}

.programms__item_title:hover {
    color: white !important
}
.author-programms .programms__item_title {
	transform: unset;
}

.programms__item a:hover {
    color: white !important;
}

@media (max-width: 1280px) {
    .programms__item_title {
        font-size: 12px;
    }
}

.swiper-button-next, .swiper-button-prev {background-color: #eff0f2 !important;}

.video-thumbnails-slider.swiper.mt.mt--24.swiper-initialized.swiper-horizontal {
    background-color: white !important;
    width: 90%;
}

.video-player-wrapper {
    background: white !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: var(--theme-base-color) !important;
}

.swiper-button-next {
    right: 15px !important;
    transform: translate(5px, -90px);
    translate: initial !important;
    margin-top: initial !important;
}

.swiper-button-prev {
    left: 15px !important;
    transform: translate(-5px, -90px);
    translate: initial !important;
    margin-top: initial !important;
}

.swip-btn-cont {
    width: 100%;
    position: relative;
}

@media screen and (max-width: 1600px) {

    .swiper-button-prev,
    .swiper-button-next {
        transform: translateY(-80px);
    }
}

@media screen and (max-width: 1200px) {

    .swiper-button-prev,
    .swiper-button-next {
        transform: translateY(-70px);
    }
}

@media screen and (max-width: 1000px) {

    .video-thumbnails-slider.swiper.mt.mt--24.swiper-initialized.swiper-horizontal {
        width: 80%;
    }

    .swiper-button-prev, .swiper-button-next {
        transform: translateY(-60px);
    }

    .swiper-button-next {
        right: 0px !important;
    }

    .swiper-button-prev {
        left: 0px !important;
    }

}

@media screen and (max-width: 800px) {

    .swiper-button-prev,
    .swiper-button-next {
        transform: translateY(-60px);
    }
	
	.programms__item_title .hltd {width: 100%;}
}

@media screen and (max-width: 600px) {

    .swiper-button-prev,
    .swiper-button-next {
        transform: translateY(-80px);
    }
}

@media screen and (max-width: 500px) {

    .video-thumbnails-slider.swiper.mt.mt--24.swiper-initialized.swiper-horizontal {
        width: 70%;
    }

    .swiper-button-prev,.swiper-button-next {
        transform: translateY(-60px);
    }
}


@media screen and (max-width: 1200px) {

    .programms__item_title .hltd {
        transform: translateX(-10px);
    }
}

@media screen and (max-width: 1000px) {

    .programms__item_title .hltd {
        transform: translateX(0px);
    }

    .programms__item_title {
        max-width: 30%;
    }
}


@media screen and (max-width: 800px) {

    .programms__item_title .hltd {
        transform: initial;
    }
}


.video-player-wrapper {
    height: 50%;
}

@media screen and (max-width: 600px) {
    .mobile-scrolled {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }

    #main .mobile-scrolled>*:where(a, div) {
        width: 100%;
    }
}

@media screen and (max-width: 600px) {
    .mobile-scrolled {
        display: grid !important;
        grid-template-columns: repeat(1, 1fr) !important;
    }

    #main .mobile-scrolled>*:where(a, div) {
        width: 100% !important;
    }

    .programms-wrapper+.programms-wrapper {
        margin-top: 20px !important;
    }
}