/* Video page */
.video_main {
    margin-bottom: 48px;
}

/* Player */
.video_player {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    margin-bottom: 24px;
}

.video_player iframe {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    background: var(--black-3);
    border: none;
}

/* Header */
.video_header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

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

.video_title {
    font-size: 24px;
    font-weight: 500;
    color: var(--white-1);
}

@media (max-width: 600px) {
    .video_title {
        font-size: 20px;
    }
}

/* Info */
.video_info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 500;
    color: var(--white-5);
}

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

.video_info a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--white-5);
}

.video_info a i {
    background: var(--white-5);
}

.video_info a:hover {
    color: var(--accent);
    text-decoration: none;
}

.video_info a:hover i {
    background-color: var(--accent) !important;
}

.video_description {
    margin-bottom: 16px;
    line-height: 1.5;
    color: var(--white-5);
}

/* Categories */
.video_categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.video_categories a {
    padding: 4px 8px;
    border: solid 1px var(--black-5);
    border-radius: 4px;
    font-size: 15px;
    color: var(--white-5);
    text-decoration: none;
}

.video_categories a:hover {
    background: var(--black-5);
    color: var(--white-1);
}
