/* This file is used as dependency in:
   ../../modules/sub-video-box.module/module.html 
   ../../modules/sec-video-boxes.module/module.html  */
   
.pwr-video-box {
    border-radius: var(--br-box);
    color: var(--clr-text-lt);
    display: inline-block;
    float: left;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.pwr-video-box--col-2 {
    width: calc( 50% - 10px );
}

.pwr-video-box--col-3 {
    width: calc( 33.33% - 13.33px );
}

.pwr-video-box--col-4 {
    width: calc( 25% - 15px );
}

.pwr-video-box__top {
    height: 332px;
    position: relative;
    overflow: hidden;
}

.pwr-video-box--col-3 .pwr-video-box__top {
    height: 240px;
}

.pwr-video-box--col-4 .pwr-video-box__top {
    height: 200px;
}

.pwr-video-box__img {
    background-size: cover;
    background-position: center;
    height: 100%;
    position: relative;
    -webkit-transform: scale(1);
    transform: scale(1);
    width: 100%;
}

.pwr-video-box__overlay {
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.pwr-video-box--is-link:hover .pwr-video-box__img {
    -webkit-transform: scale(1.25);
    transform: scale(1.25);
    -webkit-filter: blur(5px);
    filter: blur(5px);
}

.pwr-video-box__below {
    background-color: var(--clr-background-lt);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    padding: 30px;
}

.pwr-video-box__title {
    display: block;
    font-family: var(--ff-accent);
    font-size: 20px;
    font-weight: 700;
}

.pwr-video-box__desc {
    display: inline-block;
    font-size: 14px;
}

.pwr-video-box__title + .pwr-video-box__desc {
    padding-top: 10px;
}

@media (max-width: 991px ) {
    .pwr-video-box--col-2 {
        width: 100%;
    }

    .pwr-video-box--col-3 {
        width: calc( 50% - 10px );
    }

    .pwr-video-box--col-4 {
        width: calc( 50% - 10px );
    }

    .pwr-video-box__top {
        height: 250px;
    }
}

@media (max-width: 767px ) {
    .pwr-video-box--col-3 {
        width: 100%;
    }

    .pwr-video-box--col-4 {
        width: 100%;
    }

    .pwr-video-box__title {
        font-size: 20px;
        font-size: max(var(--fs-min), calc(20px * var(--fs-reduction-factor)));
    }

    .pwr-video-box__title + .pwr-video-box__desc {
        padding-top: calc(10px * var(--sp-reduction-factor));
    }
}

/* Sec/Sub */

.pwr-sub-video-box.pwr--light,
.pwr-sub-video-box.pwr--dark {
    background-color: initial;
}

.pwr-sub-video-box .pwr-video-box {
    width: 100%;
}