:root {
    --accent: #3ae0ce;
    --accent-dark: #57e8d8;
    --background: #a09070;
    --border: #201d18;
    --muted: #8e887d;
    --text: #dfdbd5;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 10px; }
body {
    background: var(--background);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
}
a { color: #cc8548; text-decoration: none; }
a:hover, a:focus { color: #dcad83; text-decoration: underline; }
img { border: 0; max-width: 100%; }
button, input { font: inherit; }
.sr-only {
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}
.no-padding { padding: 0; }

.container, .container-fluid {
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
}
.container { max-width: 1370px; }
.row { display: flex; flex-wrap: wrap; margin-left: -10px; margin-right: -10px; }
[class*="col-"] { min-height: 1px; padding-left: 10px; padding-right: 10px; position: relative; width: 100%; }
.col-xs-6 { width: 50%; }

.navbar {
    background: #000000;
    box-shadow: 0 1px 0 rgba(20, 24, 32, .08);
    margin: 0 auto 28px;
    min-height: 70px;
    width: 95%;
}
.navbar::after, .navbar-header::after, .navbar-collapse::after { clear: both; content: ""; display: table; }
.navbar-header { min-height: 70px; }
.navbar-brand { float: left; height: 70px; padding: 17px 15px; }
.navbar-brand img { display: block; height: 35px; width: auto; }
.navbar-toggle {
    background: #000000;
    border: 1px solid var(--border);
    border-radius: 4px;
    cursor: pointer;
    float: right;
    margin: 14px 15px 0 0;
    padding: 10px;
}
.navbar-toggle .icon-bar { background: #dad6cf; display: block; height: 2px; margin-top: 4px; width: 22px; }
.navbar-toggle .icon-bar:first-of-type { margin-top: 0; }
.navbar-collapse { border-top: 1px solid #111111; display: none; padding: 10px 15px 16px; }
.navbar-collapse.in { display: block; }
.navbar-nav { list-style: none; margin: 10px 0 0; padding: 0; }
.navbar-nav li a { color: #aaaaaa; display: block; font-size: 17px; padding: 9px 0; }
.navbar-form { margin: 0 0 8px; }
.form-group { display: inline-block; margin: 0; width: calc(100% - 78px); }
.form-control {
    background: #000000;
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text);
    display: block;
    height: 38px;
    padding: 8px 10px;
    width: 100%;
}
.btn {
    background: #000000;
    border: 1px solid var(--accent);
    border-radius: 4px;
    color: var(--accent-dark);
    cursor: pointer;
    height: 38px;
    padding: 8px 12px;
}

.site-main { min-height: 65vh; }
.page-heading {
    color: #e8e5e0;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 24px;
    text-align: center;
    width: 100%;
}

.video-card {
    background: #000000;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(20, 24, 32, .08);
    overflow: hidden;
    transition: box-shadow .18s ease, transform .18s ease;
}
.video-card:hover { box-shadow: 0 8px 24px rgba(20, 24, 32, .14); transform: translateY(-2px); }
.video-card__link { color: var(--text); display: block; text-decoration: none; }
.video-card__link:hover, .video-card__link:focus { color: var(--accent-dark); text-decoration: none; }
.video-card__image { aspect-ratio: 3 / 4; background: #181612; display: block; object-fit: cover; object-position: right center; width: 100%; }
.video-card--unavailable .video-card__image { background: linear-gradient(135deg, #13110e 25%, #1d1a16 25%, #1d1a16 50%, #13110e 50%, #13110e 75%, #1d1a16 75%); background-size: 24px 24px; }
.video-card__title { display: block; font-size: 13px; line-height: 1.4; min-height: 58px; padding: 10px 12px; }
.video-card-grid { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }

.video_covers_bottom_left_half_cover, .video_covers_top_right_half_cover { width: 100%; }
.video_covers_bottom_left_half_cover img, .video_covers_top_right_half_cover img { display: block; width: 100%; }
.video_covers_top_right_half_cover { display: flex; flex-wrap: wrap; }

.taxonomy-grid { margin-bottom: 18px; }
.taxonomy-item { margin-bottom: 12px; }
.taxonomy-item a {
    background: #000000;
    border: 1px solid #1d1a16;
    border-radius: 6px;
    color: #cfcbc4;
    display: block;
    overflow: hidden;
    padding: 12px 14px;
    text-overflow: ellipsis;
    transition: border-color .15s ease, color .15s ease;
    white-space: nowrap;
}
.taxonomy-item a:hover, .taxonomy-item a:focus { border-color: var(--accent); color: var(--accent-dark); text-decoration: none; }

.site-pagination { clear: both; margin: 24px 0 34px; text-align: center; width: 100%; }
.site-pagination__summary { color: var(--muted); font-size: 13px; margin: 0 0 10px; }
.pagination { display: inline-flex; flex-wrap: wrap; gap: 6px; justify-content: center; list-style: none; margin: 0; padding: 0; }
.pagination > li > a, .pagination > li > span {
    align-items: center;
    background: #000000;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: #cac5bc;
    display: inline-flex;
    justify-content: center;
    min-height: 40px;
    min-width: 40px;
    padding: 8px 12px;
}
.pagination > .active > span, .pagination > .active > span:hover { background: var(--accent); border-color: var(--accent); color: #000000; }
.pagination > li > a:hover, .pagination > li > a:focus { background: #e0d000; border-color: var(--accent); color: var(--accent-dark); text-decoration: none; }
.pagination > .disabled > span, .pagination > .disabled > span:hover { background: #d0c0a0; border-color: #1b1916; color: #5e5a53; }
.video-layout-shell { margin: 0 auto; max-width: 1780px; padding: 0 20px; width: 100%; }
.video-three-column { display: grid; gap: 22px; grid-template-areas: "left main right"; grid-template-columns: minmax(190px, 230px) minmax(0, 1fr) minmax(190px, 230px); align-items: start; }
.video-main { grid-area: main; min-width: 0; }
.video-related-side--left { grid-area: left; }
.video-related-side--right { grid-area: right; }
.video-related-side { position: sticky; top: 16px; }
.video-side-list { display: grid; gap: 16px; }
.video-card--side .video-card__title { line-height: 1.35; min-height: 52px; padding: 9px 10px; }
.video-main .video_title { color: #dddddd; font-size: 28px; font-weight: 700; line-height: 1.25; margin: 5px 0 15px; }
.video-related-bottom { margin-top: 32px; }
.video-related-bottom h2 { font-size: 24px; margin: 0 0 18px; text-align: center; }
.video_player { margin-bottom: 15px; }
.video_player iframe { border: 0; height: 500px; width: 100%; }
.video-server-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.video-server-button { background: #000000; border: 1px solid var(--border); border-radius: 5px; color: var(--text); cursor: pointer; padding: 8px 12px; }
.video-server-button:hover, .video-server-button:focus, .video-server-button.active { background: var(--accent); border-color: var(--accent); color: #000000; }
.video_cover { margin-bottom: 25px; }
.video_cover img { display: block; width: 100%; }
.video-description { background: #000000; border-radius: 6px; margin: 0 0 24px; padding: 16px; }
.video-description dt { font-weight: 700; margin-top: 8px; }
.video-description dt:first-child { margin-top: 0; }
.video-description dd { margin: 2px 0 0; }
.disclaimer { color: var(--muted); float: none; font-size: 13px; margin: 30px auto; max-width: 1100px; padding: 0 20px; text-align: center; }
.not-found { align-items: center; display: flex; justify-content: center; min-height: calc(100vh - 190px); padding: 32px 20px; }
.not-found__card { background: #000000; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 18px 50px rgba(32, 36, 42, .1); max-width: 560px; padding: 46px 40px; text-align: center; width: 100%; }
.not-found__code { color: var(--accent); font-size: 72px; font-weight: 800; letter-spacing: -4px; line-height: 1; }
.not-found h1 { font-size: 30px; margin: 16px 0 10px; }
.not-found p { color: var(--muted); margin: 8px 0; }
.not-found__redirect { font-size: 14px; padding-top: 8px; }
.not-found__home { background: var(--accent); border-radius: 7px; color: #000000; display: inline-block; font-weight: 700; margin-top: 22px; padding: 11px 24px; }
.not-found__home:hover, .not-found__home:focus { background: var(--accent-dark); color: #000000; text-decoration: none; }

@media (min-width: 768px) {
    .col-sm-4 { width: 33.333333%; }
    .video-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .navbar-header { float: left; }
    .navbar-toggle { display: none; }
    .navbar-collapse { border: 0; display: block !important; min-height: 70px; padding: 10px 15px; }
    .navbar-form { float: right; margin: 6px 0 0 20px; }
    .navbar-form .form-group { width: auto; }
    .navbar-form .form-control { min-width: 230px; }
    .navbar-nav { display: flex; float: left; margin: 5px 0 0; }
    .navbar-nav li a { font-size: 18px; padding: 10px 18px; }
}

@media (min-width: 992px) {
    .col-md-2 { width: 16.666667%; }
    .col-md-3 { width: 25%; }
    .col-md-4 { width: 33.333333%; }
    .col-md-6 { width: 50%; }
    .col-md-8 { width: 66.666667%; }
    .video-card-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (max-width: 1199px) {
    .video-three-column { display: flex; flex-direction: column; }
    .video-main { order: 1; width: 100%; }
    .video-related-side { position: static; width: 100%; }
    .video-related-side--left { order: 2; }
    .video-related-side--right { order: 3; }
    .video-side-list { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 20px; }
}

@media (max-width: 767px) {
    .navbar { margin-bottom: 18px; min-height: 62px; }
    .navbar-header { min-height: 62px; }
    .navbar-brand { height: 62px; padding: 14px 12px; }
    .page-heading { font-size: 22px; margin-bottom: 18px; }
    [class*="col-"] { padding-left: 5px; padding-right: 5px; }
    .row { margin-left: -5px; margin-right: -5px; }
    .video-card__title { font-size: 12px; min-height: 64px; padding: 8px; }
    .taxonomy-item a { padding: 10px; }
    .pagination { gap: 4px; }
    .pagination > li > a, .pagination > li > span { min-height: 38px; min-width: 38px; padding: 7px 10px; }
    .pagination > li:first-child span span, .pagination > li:first-child a span,
    .pagination > li:last-child span span, .pagination > li:last-child a span { display: none; }
    .video-main .video_title { font-size: 20px; }
    .video_player iframe { height: 220px; }
    .video-layout-shell { padding: 0 10px; }
    .video-side-list { gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .video-card--side .video-card__title { min-height: 58px; padding: 8px; }
	.not-found { min-height: calc(100vh - 150px); padding: 20px 12px; }
	.not-found__card { padding: 34px 20px; }
	.not-found__code { font-size: 58px; }
	.not-found h1 { font-size: 24px; }
}
