

/* Start:/local/components/api/video.catalog/templates/.default/style.css?17661475612227*/
.video-public-wrap {
    display: flex;
    justify-content: start;
    flex-wrap: wrap;
    padding-bottom: 20px;
    margin-bottom: 50px;
}

.video-public_box {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%; /* fallback для 16:9 */
}

@supports (aspect-ratio: 16/9) {
    .video-public_box {
        padding-bottom: 0;
        aspect-ratio: 16/9;
    }
}

.video-public_box iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-public_img {
    background: #ffffff;
    text-align: center;
    overflow: hidden;
}

.video-public_img img {
    max-width: 300px;
    max-height: 240px;
    width: auto;
    height: auto;
}

.video-public_txt {
    width: 100%;
    overflow: hidden;
    margin: 20px 10px;
    word-break: break-word;
}

.video-public_author {
    margin: 20px 0;
}


/*video catalog */
.video-catalog-list {
    display: flex;
    justify-content: start;
    flex-wrap: wrap;
    padding-bottom: 20px;
    margin-bottom: 50px;
}

.video-catalog-list_item_box {
    height: auto;
    max-width: 400px;
    min-width: 250px;
}

@media only screen and (min-device-width: 450px) {
    .video-catalog-list_item_box {
        width: calc(50% - 40px);
        margin: 20px;
    }
}

@media only screen and (min-device-width: 320px) and (max-device-width: 449px) {
    .video-catalog-list_item_box {
        width: 100%;
        margin: 20px 0;
    }
}



.video-catalog-list_item_box_content {
    height: 100%;
    box-sizing: border-box;
    border-radius: 5px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.video-catalog-list_item_img {
    background: #ffffff;
    text-align: center;
    overflow: hidden;
}

.video-catalog-list_item_img img {
    max-width: 400px;
    max-height: 340px;
    width: 100%;
    height: 100%;
}

.video-catalog-list_item_txt {
    overflow: hidden;
    margin: 20px 10px;
    word-break: break-word;
    box-sizing: border-box;
    line-height: 1.2em;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}


/* End */
/* /local/components/api/video.catalog/templates/.default/style.css?17661475612227 */
