.video-categories {
    font-family: 'Muli', sans-serif;
    font-weight: 600;
    font-size: 1em;
}
.video-categories h2 {
    margin-top: 0.5em;
    margin-bottom: 0.25em;
    font-size: 1.25em;
    font-weight: 600;
}
.video-categories ul {
    list-style: none;
    display: flex;
    margin: 0 0 1em 0;
    flex-wrap: wrap;
}
.video-categories li {
    padding-right: 1em;
    margin-right: 1em;
    border-right: 1px solid #e0e0e0;
    line-height: 1em;
    margin-bottom: 0.5em;
}
.video-categories a {
    color: #4e558b;
}
.video-categories li:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}
.video-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
    padding-top: 1em;
}
.video-item .duration {
    position: absolute;
    background: #000;
    color: #fff;
    padding: 1px 4px;
    font-family: 'Muli', sans-serif;
    bottom: 3px;
    right: 3px;
    font-size: 0.75em;
    font-weight: 600;
    opacity: 0.75;
}
.video-item {
    padding: 10px;
    flex-basis: 25%;
    display: flex;
    flex-direction: column;
    flex-grow: 0;
    flex-shrink: 0;
    margin-bottom: 1em;
}

.video-item .text {
    font-family: 'Muli', sans-serif;
    font-size: 0.875em;
    font-weight: 600;
    padding-top: 0.5em;
}

.video-item > .image {
    position: relative;
    height: 0;
    overflow: hidden;
    padding: 0;
}

.video-item img {
    width: 100%;
    height: auto;
    position: absolute;
    top: -17.5%;
    left: 0;
    width: 102%;
    max-width: 102% !important;
    height: 100%;
    border: 0;
}

.video-item > .image {
    padding-bottom: 56.25%;
}

.video-item a {
    text-decoration: none;
    color: inherit;
}

.video-item a:hover, .video-item a:hover img {
    opacity: 0.75;
}

.video-container {
    margin: 1em 0;
    padding-top: 1em;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 25px;
    height: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media screen and (max-width: 1024px) {
    .video-item {
        flex-basis: 33.333%;
    }
}

@media screen and (max-width: 768px) {
    .video-item {
        flex-basis: 50%;
    }
}

@media screen and (max-width: 600px) {
    .video-item {
        flex-basis: 100%;
    }
}