:root {
    --mt-red: #df2626;
    --mt-red-dark: #b81717;
    --mt-dark: #343333;
    --mt-text: #434242;
    --mt-muted: #8d8d8d;
    --mt-line: #c4c4c4;
    --mt-soft: #f3f3f3;
    --mt-panel: #d1d1d1;
    --mt-white: #ffffff;
    --mt-black: #010101;
    --mt-shadow: 0 7px 20px rgba(0, 0, 0, .12);
    --mt-radius: 4px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--mt-white);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100%;
    background: var(--mt-white);
    color: var(--mt-text);
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.45;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color .16s ease, background .16s ease, border-color .16s ease, opacity .16s ease;
}

a:hover,
a:focus {
    color: var(--mt-red);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

.skip-to-main-content {
    position: fixed;
    left: 12px;
    top: -60px;
    z-index: 3000;
    padding: 10px 14px;
    background: var(--mt-red);
    color: #fff;
    border-radius: 3px;
}

.skip-to-main-content:focus {
    top: 12px;
    color: #fff;
}

.container {
    width: 100%;
    max-width: 1410px;
    margin: 0 auto;
    padding: 0 15px;
}

.relative {
    position: relative;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.uppercase {
    text-transform: uppercase;
}

.visible-xs,
.visible-sm {
    display: none;
}

/* Header */
header {
    position: relative;
    z-index: 1000;
    background: #fff;
}

.header-head {
    min-height: 68px;
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 68px;
}

.btn-mobile {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid #d6d6d6;
    background: #f7f7f7;
    color: #4b4b4b;
    border-radius: 3px;
}

.btn-mobile .ic-menu_close {
    display: none;
}

.menu-open .btn-mobile .ic-menu_open {
    display: none;
}

.menu-open .btn-mobile .ic-menu_close {
    display: block;
}

.logo-header {
    flex: 0 1 auto;
    min-width: 170px;
}

.text-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: var(--mt-dark);
    font-weight: 800;
    letter-spacing: -.9px;
    line-height: 1;
    white-space: nowrap;
}

.text-logo:hover,
.text-logo:focus {
    color: var(--mt-dark);
}

.text-logo strong {
    display: block;
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 30px;
}

.text-logo em {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 7px;
    background: var(--mt-red);
    color: #fff;
    border-radius: 4px;
    font-style: normal;
    font-size: 13px;
    letter-spacing: .2px;
}

.logo-square {
    position: relative;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
}

.logo-square::before,
.logo-square::after {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: 5px;
}

.logo-square::before {
    background: var(--mt-dark);
    transform: rotate(8deg);
}

.logo-square::after {
    background: var(--mt-red);
    transform: rotate(-39deg);
}

.logo-square span {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: 18px;
    height: 18px;
    margin: -9px 0 0 -9px;
    background: #fff;
    border-radius: 50%;
}

.search-header {
    flex: 1 1 560px;
    min-width: 220px;
}

.search-header form {
    width: 100%;
}

.form-mobile {
    display: flex;
    width: 100%;
    height: 40px;
    border: 1px solid #bdbdbd;
    border-radius: 3px;
    overflow: hidden;
    background: #fff;
}

.search-text {
    flex: 1;
    min-width: 0;
}

.search-text input {
    width: 100%;
    height: 38px;
    padding: 0 13px;
    border: 0;
    outline: 0;
    color: var(--mt-text);
    background: #fff;
}

.search-text input::placeholder {
    color: #8d8d8d;
}

.search-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 112px;
    height: 38px;
    border: 0;
    border-right: 1px solid #bdbdbd;
    background: linear-gradient(#fdfdfd, #e5e5e5);
    color: #4b4b4b;
    font-weight: 700;
    text-transform: uppercase;
}

.search-button:hover,
.search-button:focus {
    color: var(--mt-red);
}

.block-btn-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
}

.btn-group {
    position: relative;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid #c6c6c6;
    border-radius: 3px;
    background: #f5f5f5;
    color: #4b4b4b;
    font-weight: 700;
}

.btn-gray {
    background: linear-gradient(#fff, #e9e9e9);
}

.btn:hover,
.btn:focus,
.btn-group.open .btn {
    color: var(--mt-red);
    border-color: #a9a9a9;
}

.dropdown-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 1100;
    display: none;
    min-width: 178px;
    margin: 0;
    padding: 7px 0;
    list-style: none;
    background: #fff;
    border: 1px solid #c4c4c4;
    border-radius: 3px;
    box-shadow: var(--mt-shadow);
}

.btn-group.open .dropdown-menu {
    display: block;
}

.lang-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 12px;
    color: #4b4b4b;
}

.lang-menu a:hover,
.lang-menu a:focus,
.lang-menu a.is-active {
    color: var(--mt-red);
    background: #f5f5f5;
}

.lang-menu strong {
    color: #969696;
    font-size: 11px;
    font-weight: 600;
}

.header-navbar {
    min-height: 44px;
    background: linear-gradient(#4b4b4b, #232323);
    border-top: 1px solid #5e5e5e;
    border-bottom: 3px solid var(--mt-red);
}

.sidebar-left {
    min-height: 44px;
}

.sidebar-scroll-left {
    overflow: visible;
}

.header-ul {
    display: flex;
    align-items: stretch;
    min-height: 44px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-ul li {
    position: relative;
}

.header-ul a {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 18px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    border-left: 1px solid rgba(255, 255, 255, .07);
}

.header-ul li:last-child a {
    border-right: 1px solid rgba(255, 255, 255, .07);
}

.header-ul li.selected > a,
.header-ul a:hover,
.header-ul a:focus {
    background: var(--mt-red);
    color: #fff;
}

.icon-custom {
    display: inline-block;
    width: 16px;
    height: 16px;
    position: relative;
}

.ic-home::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 6px;
    width: 12px;
    height: 8px;
    background: currentColor;
}

.ic-home::after {
    content: "";
    position: absolute;
    left: 2px;
    top: 1px;
    width: 12px;
    height: 12px;
    border-left: 3px solid currentColor;
    border-top: 3px solid currentColor;
    transform: rotate(45deg);
}

.ic-play_outlined::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 2px;
    border-left: 10px solid currentColor;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.ic-categories::before,
.ic-models::before,
.ic-tags::before {
    content: "";
    position: absolute;
    inset: 2px;
    border: 2px solid currentColor;
    border-radius: 3px;
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    background: rgba(0, 0, 0, .46);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-inner {
    width: min(360px, 86vw);
    height: 100%;
    overflow-y: auto;
    background: #fff;
    box-shadow: 15px 0 35px rgba(0, 0, 0, .22);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    padding: 0 16px;
    color: var(--mt-dark);
    font-weight: 800;
    text-transform: uppercase;
    border-bottom: 1px solid #dedede;
}

.menu-close {
    position: relative;
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
}

.menu-close span {
    position: absolute;
    left: 7px;
    top: 16px;
    width: 20px;
    height: 2px;
    background: var(--mt-dark);
}

.menu-close span:first-child {
    transform: rotate(45deg);
}

.menu-close span:last-child {
    transform: rotate(-45deg);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
}

.mobile-nav a {
    padding: 14px 18px;
    color: var(--mt-dark);
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 1px solid #ececec;
}

.mobile-nav a:hover,
.mobile-nav a:focus {
    color: #fff;
    background: var(--mt-red);
}

.mobile-auth {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px;
}

.mobile-auth a {
    min-width: 46px;
    padding: 8px 10px;
    text-align: center;
    color: var(--mt-dark);
    border: 1px solid #d1d1d1;
    border-radius: 3px;
    font-weight: 700;
}

.mobile-auth .mobile-signup,
.mobile-auth a:hover,
.mobile-auth a:focus {
    color: #fff;
    background: var(--mt-red);
    border-color: var(--mt-red);
}

/* Page shell */
.wrapper {
    position: relative;
    z-index: 10;
    background: #fff;
}

.wrapper-fixed {
    min-height: 60vh;
}

.mt_header-panel-1 {
    height: 30px;
    overflow: hidden;
    padding: 0 15px;
    text-align: center;
    line-height: 30px;
    white-space: nowrap;
    color: var(--mt-text);
    background: var(--mt-panel);
    border-bottom: 1px solid var(--mt-line);
    font-size: 12px;
}

.mt_header-panel-1 a {
    color: var(--mt-red);
}

.mt_header-panel-1 a:hover,
.mt_header-panel-1 a:focus {
    color: #000;
}

.ad-slot {
    display: inline-block;
    max-width: 100%;
}

.ad-slot:empty {
    display: none;
}

.content {
    padding: 18px 0 0;
}

.main-content {
    min-height: 420px;
}

.box {
    clear: both;
}

/* Listing headline and filters */
.headline {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 16px;
    padding: 12px 12px 8px;
    border-bottom: 2px solid var(--mt-line);
}

.headline::after {
    content: "";
    display: block;
    clear: both;
}

.headline h1,
.headline h2 {
    margin: 0;
    color: var(--mt-black);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
}

.headline h1::after,
.headline h2::after {
    content: "";
    display: block;
    width: 44px;
    height: 3px;
    margin-top: 7px;
    background: var(--mt-red);
}

.sort-btn-group ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sort-btn-group li span {
    display: block;
    min-height: 30px;
    padding: 7px 13px;
    color: var(--mt-text);
    background: #f4f4f4;
    border: 1px solid #c7c7c7;
    border-left: 0;
    font-size: 12px;
    font-weight: 700;
    line-height: 14px;
    text-transform: uppercase;
}

.sort-btn-group li:first-child span {
    border-left: 1px solid #c7c7c7;
    border-radius: 3px 0 0 3px;
}

.sort-btn-group li:last-child span {
    border-radius: 0 3px 3px 0;
}

.sort-btn-group li.selected span {
    color: #fff;
    background: var(--mt-red);
    border-color: var(--mt-red);
}

.did-you-mean,
.grid-empty,
.category-intro {
    margin: 0 0 16px;
    padding: 13px 15px;
    color: var(--mt-text);
    background: #f6f6f6;
    border: 1px solid #d8d8d8;
    border-radius: 3px;
}

.category-intro {
    font-size: 14px;
}

.category-intro p:first-child {
    margin-top: 0;
}

.category-intro p:last-child {
    margin-bottom: 0;
}

/* Video cards */
.list-videos,
.list-videos-screenshots {
    clear: both;
    margin: 0 -8px;
}

.list-videos::after,
.list-videos-screenshots::after,
.list-videos > div::after,
.list-videos-screenshots > div::after {
    content: "";
    display: block;
    clear: both;
}

.list-videos .item,
.list-videos-screenshots .item {
    float: left;
    width: 25%;
    padding: 0 8px 18px;
}

.list-videos .item a {
    display: block;
    color: var(--mt-text);
}

.list-videos .img,
.list-videos-screenshots .img {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #111;
    border-radius: 2px;
}

.list-videos .thumb,
.list-videos .img img,
.list-videos-screenshots .thumb,
.list-videos-screenshots .img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform .22s ease, opacity .22s ease;
}

.list-videos .item:hover .thumb,
.list-videos .item:focus-within .thumb {
    transform: scale(1.035);
    opacity: .92;
}

.preloadLine {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    height: 3px;
    background: var(--mt-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}

.list-videos .item:hover .preloadLine,
.list-videos .item:focus-within .preloadLine {
    transform: scaleX(1);
}

.item__flags {
    position: absolute;
    right: 6px;
    bottom: 6px;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 4px;
}

.item__flags.views {
    left: 6px;
    right: auto;
}

.item__flag--duration,
.item__flags .views {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 20px;
    padding: 2px 6px;
    color: #fff;
    background: rgba(0, 0, 0, .72);
    border-radius: 2px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
}

.icon-block {
    display: inline-block;
    width: 14px;
    height: 14px;
    position: relative;
    vertical-align: middle;
}

.icon-blockeye::before {
    content: "";
    position: absolute;
    left: 1px;
    top: 4px;
    width: 12px;
    height: 7px;
    border: 1.7px solid currentColor;
    border-radius: 50% / 60%;
}

.icon-blockeye::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 6px;
    width: 4px;
    height: 4px;
    background: currentColor;
    border-radius: 50%;
}

.icon-blockthumbs-up-alt::before,
.icon-blockthumbs-down-alt::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 2px;
    width: 8px;
    height: 10px;
    border: 2px solid currentColor;
    border-radius: 2px;
}

.icon-blockthumbs-down-alt {
    transform: rotate(180deg);
}

.icon-blocktime::before {
    content: "";
    position: absolute;
    inset: 1px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.icon-blocktime::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 4px;
    width: 2px;
    height: 5px;
    background: currentColor;
    box-shadow: 2px 5px 0 currentColor;
}

.icon-blockshare::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 7px;
    width: 10px;
    height: 2px;
    background: currentColor;
    transform: rotate(-24deg);
}

.icon-blockshare::after {
    content: "";
    position: absolute;
    right: 0;
    top: 1px;
    width: 7px;
    height: 7px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
}

.card-no-thumb {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    color: #cfcfcf;
    background: linear-gradient(135deg, #171717, #373737);
    font-weight: 700;
    text-align: center;
}

.list-videos .title,
.list-videos-screenshots .title {
    display: block;
    min-height: 38px;
    margin: 7px 0 3px;
    overflow: hidden;
    color: var(--mt-text);
    font-size: 14px;
    font-weight: 700;
    line-height: 19px;
}

.list-videos .item:hover .title,
.list-videos .item:focus-within .title {
    color: var(--mt-red);
}

.list-videos .wrap,
.list-videos-screenshots .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #898989;
    font-size: 12px;
}

.list-videos .last-wrap .views::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    margin: 0 6px 1px 0;
    background: var(--mt-red);
    border-radius: 50%;
}

.list-videos .added {
    white-space: nowrap;
}

/* Pagination */
.pagination-holder {
    clear: both;
    margin: 12px 0 24px;
    text-align: center;
}

.pagination,
.pagination ul,
nav.pagination ul {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pagination li {
    display: inline-block;
}

.pagination a,
.pagination span,
.pagination .page_link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    color: var(--mt-text);
    background: #f2f2f2;
    border: 1px solid #c4c4c4;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 700;
}

.pagination a:hover,
.pagination a:focus,
.pagination li.page-current > a,
.pagination li.page-current > span,
.pagination li.active > a,
.pagination li.active > span,
.pagination .active .page_link {
    color: #fff;
    background: var(--mt-red);
    border-color: var(--mt-red);
}

.pagination li.disabled span,
.pagination li.disabled a {
    opacity: .45;
    cursor: default;
}

/* Video page */
.block-video {
    clear: both;
    margin-bottom: 18px;
}

.block-video::after {
    content: "";
    display: block;
    clear: both;
}

.block-video .video-holder {
    width: 100%;
}

.headline-breadcrumbs {
    position: relative;
    margin: 0 0 10px;
    padding: 12px 12px 8px;
    border-bottom: 2px solid var(--mt-line);
}

.headline-breadcrumbs h1 {
    margin: 0;
    color: var(--mt-black);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
}

.headline-breadcrumbs h1::after {
    content: "";
    display: block;
    width: 44px;
    height: 3px;
    margin-top: 7px;
    background: var(--mt-red);
}

.block-video .player {
    position: relative;
    overflow: hidden;
    background: #000;
    border-radius: 3px 3px 0 0;
}

.block-video .player-holder,
.block-video .player-wrap {
    position: relative;
    width: 100%;
}

.block-video .player-wrap {
    aspect-ratio: 16 / 9;
    background: #000;
}

.block-video .player-wrap #player,
.block-video .player-wrap .jwplayer {
    width: 100% !important;
    height: 100% !important;
    min-height: 280px;
}

.video-info {
    background: #f5f5f5;
    border: 1px solid var(--mt-line);
    border-top: 0;
}

.info-holder {
    padding: 10px;
}

.info-buttons {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 7px;
}

.rating-container {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    background: #fff;
    border: 1px solid #c9c9c9;
    border-radius: 3px;
}

.rating-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 38px;
    color: #666;
}

.rating-btn:hover,
.rating-btn:focus {
    color: var(--mt-red);
}

.rating {
    min-width: 116px;
    padding: 0 10px;
    color: var(--mt-text);
    font-weight: 800;
    text-align: center;
}

.scale-holder {
    height: 4px;
    margin-top: 4px;
    overflow: hidden;
    background: #dddddd;
    border-radius: 999px;
}

.scale {
    display: block;
    height: 100%;
    background: var(--mt-red);
}

.voters {
    min-width: 32px;
    padding-right: 9px;
    color: #8d8d8d;
    font-size: 12px;
    font-weight: 700;
}

.video-info-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 40px;
    padding: 0 12px;
    color: var(--mt-text);
    background: #fff;
    border: 1px solid #c9c9c9;
    border-radius: 3px;
    font-weight: 700;
}

button.video-info-btn {
    cursor: pointer;
}

.video-info-btn:hover,
.video-info-btn:focus {
    color: var(--mt-red);
    border-color: #a8a8a8;
}

.tabs-menu {
    margin-top: 12px;
}

.tabs-menu ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    border-bottom: 2px solid var(--mt-line);
}

.tabs-menu li span {
    display: block;
    padding: 9px 16px;
    color: #fff;
    background: var(--mt-red);
    font-weight: 800;
    text-transform: uppercase;
}

.tab_share {
    padding: 12px;
    background: #f7f7f7;
    border: 1px solid #d8d8d8;
    border-top: 0;
}

.share-input-inline {
    width: 100%;
    min-height: 38px;
    padding: 0 12px;
    color: var(--mt-text);
    background: #fff;
    border: 1px solid #c6c6c6;
    border-radius: 3px;
}

.video_info-main {
    margin: 14px 0 20px;
    border: 1px solid #d6d6d6;
    border-radius: 3px;
    background: #fff;
}

.video_info-header {
    padding: 11px 14px;
    background: #f1f1f1;
    border-bottom: 1px solid #d6d6d6;
}

.video_info-header h4 {
    margin: 0;
    color: var(--mt-dark);
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
}

.video_info-content {
    padding: 14px;
}

.video_info-content .item + .item {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #e4e4e4;
}

.entry-content {
    color: var(--mt-text);
}

.entry-content p:first-child {
    margin-top: 0;
}

.entry-content p:last-child {
    margin-bottom: 0;
}

.video-info-line {
    margin: 0 0 8px;
}

.video-info-label {
    color: var(--mt-dark);
    font-weight: 800;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 11px;
}

.tag-cloud:last-child {
    margin-bottom: 0;
}

.chip {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 10px;
    color: var(--mt-text);
    background: #f4f4f4;
    border: 1px solid #c9c9c9;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 700;
}

.chip:hover,
.chip:focus {
    color: #fff;
    background: var(--mt-red);
    border-color: var(--mt-red);
}

.related-videos {
    clear: both;
}

/* Footer */
.footer-margin {
    clear: both;
    padding: 7px 15px 0;
    text-align: center;
}

footer {
    clear: both;
    margin-top: 26px;
    background: #343333;
    color: #cfcfcf;
    border-top: 4px solid var(--mt-red);
}

footer .footer-content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 28px;
    padding: 28px 0 24px;
}

footer .logo-footer {
    flex: 0 0 260px;
}

.text-logo--footer {
    color: #fff;
}

.text-logo--footer:hover,
.text-logo--footer:focus {
    color: #fff;
}

.text-logo--footer strong {
    max-width: 190px;
    font-size: 24px;
}

.text-logo--footer .logo-square {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
}

.footer-navigation-lg {
    display: flex;
    flex: 1 1 520px;
    flex-wrap: wrap;
    gap: 34px;
}

.footer-col {
    min-width: 130px;
}

.footer-heading {
    margin: 0 0 10px;
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
}

.footer-col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-col li + li {
    margin-top: 6px;
}

.footer-col a {
    color: #cfcfcf;
}

.footer-col a:hover,
.footer-col a:focus {
    color: #fff;
}

.box-footer {
    flex: 1 1 100%;
    padding-top: 16px;
    color: #a9a9a9;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: 12px;
}

.box-footer p {
    margin: 8px 0 0;
}

.footer-counters {
    margin-bottom: 8px;
}

/* Compatibility blocks for CMS pages */
.directory-page,
.error-hero,
.search-controls,
.section-title,
.pagination-wrap,
.video-wrap,
.xplayer,
.video-actions,
.video-meta,
.vote-buttons,
.video-info-block,
.breadcrumbs,
.grid {
    max-width: 100%;
}

.directory-page,
.error-hero {
    margin: 0 0 18px;
    padding: 18px;
    background: #f6f6f6;
    border: 1px solid #d8d8d8;
    border-radius: 3px;
}

.directory-grid,
.letter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
    margin: 16px 0;
}

.directory-card,
.letter-card {
    display: block;
    padding: 11px 12px;
    color: var(--mt-text);
    background: #fff;
    border: 1px solid #d5d5d5;
    border-radius: 3px;
    font-weight: 700;
}

.directory-card:hover,
.letter-card:hover,
.directory-card:focus,
.letter-card:focus {
    color: #fff;
    background: var(--mt-red);
    border-color: var(--mt-red);
}

.dmca-abuse-modal {
    display: none;
}

.dmca-abuse-modal.open {
    display: block;
}

.is-rtl {
    direction: rtl;
}

.is-rtl .dropdown-menu {
    right: auto;
    left: 0;
}

.is-rtl .header-ul a {
    border-left: 0;
    border-right: 1px solid rgba(255, 255, 255, .07);
}

.is-rtl .headline h1::after,
.is-rtl .headline h2::after,
.is-rtl .headline-breadcrumbs h1::after {
    margin-left: auto;
}

@keyframes marquee {
    from {
        text-indent: 0;
    }
    to {
        text-indent: -180px;
    }
}

@media (max-width: 1200px) {
    .list-videos .item,
    .list-videos-screenshots .item {
        width: 33.333333%;
    }

    .text-logo strong {
        max-width: 190px;
        font-size: 26px;
    }
}

@media (max-width: 980px) {
    .header-content {
        gap: 12px;
    }

    .btn-mobile {
        display: inline-flex;
        flex: 0 0 42px;
    }

    .logo-header {
        min-width: 0;
        flex: 0 1 240px;
    }

    .text-logo strong {
        max-width: 170px;
    }

    .header-navbar {
        display: none;
    }

    .search-header {
        flex-basis: 100%;
    }

    .block-btn-header {
        flex: 0 0 auto;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 13px;
    }

    .visible-xs,
    .visible-sm {
        display: block;
    }

    .container {
        padding: 0 8px;
    }

    .header-head {
        min-height: auto;
    }

    .header-content {
        flex-wrap: wrap;
        min-height: auto;
        padding: 10px 0;
    }

    .logo-header {
        flex: 1 1 calc(100% - 54px);
    }

    .text-logo strong {
        max-width: calc(100vw - 155px);
        font-size: 22px;
    }

    .logo-square {
        flex-basis: 32px;
        width: 32px;
        height: 32px;
    }

    .text-logo em {
        height: 19px;
        padding: 0 5px;
        font-size: 11px;
    }

    .search-header {
        order: 5;
        flex: 1 1 100%;
        min-width: 100%;
    }

    .block-btn-header {
        order: 3;
    }

    .form-mobile {
        height: 38px;
    }

    .search-button {
        min-width: 48px;
        height: 36px;
    }

    .search-button span {
        display: none;
    }

    .search-text input {
        height: 36px;
    }

    .mt_header-panel-1 {
        animation: marquee 12s linear infinite alternate;
    }

    .content {
        padding-top: 12px;
    }

    .headline,
    .headline-breadcrumbs {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
        margin-bottom: 12px;
        padding: 10px 5px 8px;
    }

    .headline h1,
    .headline h2,
    .headline-breadcrumbs h1 {
        font-size: 18px;
    }

    .sort-btn-group {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .sort-btn-group ul {
        flex-wrap: nowrap;
        min-width: max-content;
    }

    .list-videos,
    .list-videos-screenshots {
        margin: 0 -5px;
    }

    .list-videos .item,
    .list-videos-screenshots .item {
        width: 50%;
        padding: 0 5px 14px;
    }

    .list-videos .title,
    .list-videos-screenshots .title {
        min-height: 34px;
        font-size: 13px;
        line-height: 17px;
    }

    .info-buttons {
        display: grid;
        grid-template-columns: 1fr;
    }

    .rating-container,
    .video-info-btn {
        width: 100%;
    }

    footer .footer-content {
        display: block;
        padding: 22px 0;
    }

    footer .logo-footer,
    .footer-navigation-lg,
    .box-footer {
        margin-top: 18px;
    }

    footer .logo-footer {
        margin-top: 0;
    }

    .footer-navigation-lg {
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

@media (max-width: 520px) {
    .list-videos .item,
    .list-videos-screenshots .item {
        width: 100%;
    }

    .pagination a,
    .pagination span,
    .pagination .page_link {
        min-width: 30px;
        height: 30px;
        padding: 0 8px;
        font-size: 12px;
    }

    .block-video .player-wrap #player,
    .block-video .player-wrap .jwplayer {
        min-height: 210px;
    }
}
