:root {
    --page-bg: #ffffff;
    --text: #0e1114;
    --muted: #7f868c;
    --line: #cfd4d9;
    --soft-line: #e6e9ed;
    --header-bg: #dbdee3;
    --nav-bg: #cbd2d6;
    --panel-bg: #f4f6f8;
    --card-bg: #ffffff;
    --blue: #1361d5;
    --blue-2: #1480db;
    --blue-3: #0d8df9;
    --blue-shadow: rgba(21, 75, 228, 0.32);
    --shadow: 0 2px 40px rgba(35, 35, 37, 0.13);
    --card-shadow: 0 8px 22px rgba(50, 62, 74, 0.12);
    --radius: 0;
    --container: 1720px;
    --container-narrow: 1650px;
    --font: Roboto, Arial, Helvetica, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    min-height: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-width: 320px;
    min-height: 100%;
    background: var(--page-bg);
    color: var(--text);
    font: 14px/1.35 var(--font);
}

body.open {
    overflow: hidden;
}

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: #2600ff;
    text-decoration: none;
}

a:hover {
    color: var(--blue-3);
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.skip-to-main-content {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 3000;
    transform: translateY(-140%);
    padding: 10px 14px;
    background: var(--blue);
    color: #fff;
    transition: transform 0.2s ease;
}

.skip-to-main-content:focus {
    transform: translateY(0);
}

.wrapper {
    display: table;
    width: 100%;
    min-height: 100vh;
    table-layout: fixed;
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.container.narrow {
    max-width: var(--container-narrow);
}

.main {
    padding: 15px 0 50px;
}

.hidden {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.icon-search::before {
    content: "\1F50D";
}

.icon-arrow-down::before {
    content: "\25BE";
}

.icon-eye::before {
    content: "\25C9";
}

.icon-clock::before {
    content: "\25F7";
}

.icon-like::before {
    content: "\25B2";
}

.icon-dislike::before {
    content: "\25BC";
}

.icon-info::before {
    content: "i";
    font-weight: 700;
}

.icon-share::before {
    content: "\2197";
}

.icon-calendar::before {
    content: "\25A3";
}

.header {
    position: relative;
    z-index: 1001;
    background: var(--header-bg);
    box-shadow: var(--shadow);
}

.header .holder {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px 30px;
}

.logo {
    flex: 0 0 auto;
}

.text-logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    color: #111;
    font-weight: 900;
    letter-spacing: -0.04em;
    text-transform: lowercase;
}

.text-logo:hover {
    color: #111;
}

.logo-orb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 50%;
    color: #174389;
    font-size: 25px;
    line-height: 1;
    background:
        radial-gradient(circle at 38% 36%, #ffffff 0 18%, #dbeefa 42%, #77b9ea 72%, #1557d5 100%);
    box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.9), 0 2px 8px rgba(23, 67, 137, 0.22);
}

.logo-word {
    display: block;
    max-width: 220px;
    overflow: hidden;
    color: #111;
    font-size: 30px;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search {
    flex: 1 1 auto;
    width: 100%;
    max-width: 900px;
    min-width: 1px;
    margin: 0 auto;
}

.search .wrap {
    display: flex;
    width: 100%;
}

.search .input {
    width: 100%;
    height: 40px;
    border: 0;
    padding: 12px 18px;
    background: #fff;
    color: #000;
    font-weight: 300;
    outline: 0;
    box-shadow: 0 5px 8px rgba(200, 206, 215, 0.39);
}

.search .input::placeholder {
    color: var(--muted);
}

.search .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 40px;
    flex: 0 0 80px;
    border: 0;
    color: #fff;
    background: linear-gradient(-127deg, var(--blue-2) 0, var(--blue) 100%);
    box-shadow: 0 5px 8px var(--blue-shadow);
}

.search .btn:hover {
    background: linear-gradient(-127deg, var(--blue) 0, var(--blue-2) 100%);
}

.view_search,
.hamburger_nav,
.hamburger_menu {
    border: 0;
    background: transparent;
}

.view_search {
    display: none;
    color: #000;
    transition: transform 0.25s ease;
}

.view_search i {
    font-style: normal;
    font-size: 20px;
}

.hamburger_nav {
    position: relative;
    display: none;
    width: 24px;
    height: 20px;
    flex: 0 0 24px;
    margin-right: -6px;
}

.hamburger_nav::before,
.hamburger_nav::after,
.hamburger_nav span {
    position: absolute;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 4px;
    background: var(--muted);
    transition: background 0.25s ease, transform 0.25s ease;
    content: "";
}

.hamburger_nav::before {
    top: 0;
}

.hamburger_nav span {
    top: 8px;
}

.hamburger_nav::after {
    bottom: 0;
}

body.open .hamburger_nav::before,
body.open .hamburger_nav::after,
body.open .hamburger_nav span {
    background: var(--blue-3);
}

body.open .hamburger_nav span {
    transform: translateX(5px);
}

.hamburger_menu {
    position: relative;
    display: none;
    width: 6px;
    height: 22px;
    flex: 0 0 6px;
    margin-left: 0;
}

.hamburger_menu::before,
.hamburger_menu::after,
.hamburger_menu span {
    position: absolute;
    left: 0;
    right: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--muted);
    content: "";
}

.hamburger_menu::before {
    top: 0;
}

.hamburger_menu span {
    top: 8px;
}

.hamburger_menu::after {
    bottom: 0;
}

.wrap_panel {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.lang_drop {
    position: relative;
}

.lang_drop .choice {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 0;
    padding: 10px 12px;
    background: transparent;
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
}

.lang_drop .choice i {
    color: var(--muted);
    font-style: normal;
    font-size: 12px;
    transition: transform 0.2s ease;
}

.lang_drop.open .choice i {
    transform: rotate(180deg);
}

.lang_drop .drop {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 30;
    display: flex;
    flex-wrap: wrap;
    width: 132px;
    padding: 6px;
    background: #dddfe4;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.lang_drop.open .drop {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang_drop .item {
    display: block;
    width: 50%;
    padding: 7px 4px;
    color: #000;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}

.lang_drop .item:hover,
.lang_drop .item.active {
    color: #fff;
    background: var(--blue-2);
}

.navigation {
    display: flex;
    justify-content: center;
    padding: 0 30px;
    background: var(--nav-bg);
    box-shadow: inset 0 2px 40px rgba(35, 35, 37, 0.13);
}

.navigation .item {
    padding: 0 10px;
    font-weight: 500;
    text-align: center;
    text-transform: uppercase;
}

.navigation a {
    position: relative;
    display: block;
    padding: 12px 30px;
    color: #000;
    transition: color 0.25s ease;
}

.navigation a::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(-127deg, var(--blue-2) 0, var(--blue) 100%);
    box-shadow: 0 5px 8px var(--blue-shadow);
    opacity: 0;
    transform: translateY(5px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    content: "";
}

.navigation .item.active a,
.navigation a:hover {
    color: var(--blue-3);
}

.navigation .item.active a::after,
.navigation a:hover::after {
    opacity: 1;
    transform: translateY(0);
}

#overlay {
    position: fixed;
    inset: 0;
    z-index: 900;
    display: none;
    background: rgba(0, 0, 0, 0.42);
}

body.open #overlay {
    display: block;
}

.ad-container {
    display: grid;
    gap: 10px;
    margin-bottom: 15px;
}

.ad-container--bottom {
    margin-top: 20px;
    margin-bottom: 0;
}

.ad-slot {
    display: block;
    width: 100%;
    overflow: hidden;
    text-align: center;
}

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

.notify {
    margin-bottom: 15px;
    padding: 12px 16px;
    color: #4b535b;
    background: var(--panel-bg);
    border: 1px solid var(--soft-line);
}

.notify a {
    display: inline-block;
    margin-left: 10px;
    color: var(--blue);
    font-weight: 600;
}

.popular-searches {
    line-height: 1.7;
}

.popular-searches span {
    color: #000;
    font-weight: 700;
}

.twocolumns {
    position: relative;
    z-index: 1;
    display: flex;
}

.twocolumns .column {
    flex: 1 1 auto;
    min-width: 1px;
}

.section {
    margin-bottom: 50px;
}

.section:last-child {
    margin-bottom: 0;
}

.headline {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.headline .wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 1px;
}

.headline .title {
    margin: 0;
    color: #000;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.headline h1.title {
    font-size: 26px;
}

.counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 24px;
    padding: 0 8px;
    color: #fff;
    background: linear-gradient(-127deg, var(--blue-2), var(--blue));
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 5px 8px var(--blue-shadow);
}

.headline_panel {
    flex: 0 0 auto;
}

.headline_panel .second {
    display: flex;
    align-items: center;
    gap: 8px;
}

.headline_panel .val {
    color: var(--muted);
    font-size: 13px;
}

.sorting {
    position: relative;
}

.sorting_choice {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 170px;
    min-height: 36px;
    border: 1px solid var(--line);
    padding: 8px 12px;
    background: #fff;
    color: #000;
    text-align: left;
}

.sorting_choice i {
    margin-left: auto;
    color: var(--muted);
    font-style: normal;
    transition: transform 0.2s ease;
}

.sorting.open .sorting_choice i {
    transform: rotate(180deg);
}

.sorting_drop {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    z-index: 20;
    display: grid;
    min-width: 190px;
    padding: 6px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--card-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.sorting.open .sorting_drop {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sorting_drop span,
.sorting_drop a {
    display: block;
    padding: 8px 10px;
    color: #111;
}

.sorting_drop span:hover,
.sorting_drop a:hover {
    color: #fff;
    background: var(--blue-2);
}

.section-note {
    margin: -6px 0 18px;
    padding: 12px 14px;
    color: #4b535b;
    background: #edf5ff;
    border-left: 4px solid var(--blue-2);
}

.empty-state {
    padding: 34px 20px;
    color: var(--muted);
    background: var(--panel-bg);
    border: 1px solid var(--soft-line);
    text-align: center;
}

.thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
    gap: 24px 18px;
}

.thumb {
    min-width: 0;
}

.th {
    position: relative;
    background: var(--card-bg);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.th:hover {
    transform: translateY(-2px);
}

.wrap_image {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #dfe4e9;
}

.wrap_image .img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.th:hover .wrap_image .img {
    transform: scale(1.035);
    opacity: 0.93;
}

.time {
    position: absolute;
    right: 7px;
    bottom: 7px;
    padding: 4px 7px;
    color: #fff;
    background: rgba(0, 0, 0, 0.78);
    font-size: 12px;
    font-weight: 700;
}

.no-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--muted);
    font-weight: 700;
}

.th > .title {
    display: block;
    min-height: 38px;
    margin-top: 9px;
    color: #000;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.28;
}

.th > .title:hover {
    color: var(--blue-3);
}

.th .wrap {
    margin-top: 7px;
}

.list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px 14px;
    color: var(--muted);
    font-size: 12px;
}

.list_item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.list_item i {
    color: var(--muted);
    font-style: normal;
    font-size: 12px;
}

.pagination-holder {
    margin-top: 30px;
}

.pagination-holder:empty {
    display: none;
}

.pagination {
    display: flex;
    justify-content: center;
}

.pagination ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.pagination li {
    display: flex;
}

.pagination a,
.pagination span.current,
.pagination .pagination-ellipsis span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    color: #000;
    background: #fff;
    border: 1px solid var(--line);
}

.pagination a:hover,
.pagination span.current {
    color: #fff;
    background: linear-gradient(-127deg, var(--blue-2), var(--blue));
    border-color: var(--blue);
    box-shadow: 0 5px 8px var(--blue-shadow);
}

.pagination-count {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
    color: var(--muted);
    font-size: 12px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 15px;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumbs span {
    margin-right: 14px;
}

.breadcrumbs .item {
    position: relative;
    margin-right: 10px;
    padding-right: 10px;
}

.breadcrumbs .item::after {
    position: absolute;
    top: 50%;
    right: -4px;
    color: var(--muted);
    transform: translateY(-50%);
    content: ">";
}

.breadcrumbs .item:last-child::after {
    display: none;
}

.breadcrumbs a {
    color: #000;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.watch_columns {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.watch_columns > .player {
    flex: 1 1 auto;
    min-width: 1px;
}

.player-holder {
    position: relative;
    overflow: hidden;
    background: #000;
    box-shadow: var(--card-shadow);
}

.cms-player-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.cms-player-wrap #player,
.cms-player-wrap .jwplayer {
    width: 100% !important;
    height: 100% !important;
}

.general_tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 20px;
    margin-top: 14px;
    padding: 14px;
    background: var(--panel-bg);
    border: 1px solid var(--soft-line);
}

.rating-container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.rating-container .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #fff;
    background: linear-gradient(-127deg, var(--blue-2), var(--blue));
    box-shadow: 0 5px 8px var(--blue-shadow);
}

.rating-container .dislike {
    background: #7f868c;
    box-shadow: none;
}

.rating-container i {
    font-style: normal;
}

.progress_wrapper {
    min-width: 118px;
}

.precent {
    color: #000;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.progress_bar {
    width: 100%;
    height: 5px;
    margin: 5px 0;
    overflow: hidden;
    background: #d2d8df;
}

.progress_bar span {
    display: block;
    height: 100%;
    background: linear-gradient(-127deg, var(--blue-2), var(--blue));
}

.voters {
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

.list_info {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    color: var(--muted);
}

.list_info .item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.list_info i {
    color: var(--muted);
    font-style: normal;
}

.wrap_tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-left: auto;
}

.wrap_tabs .btn_tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 8px 12px;
    color: #000;
    background: #fff;
    border: 1px solid var(--line);
}

.wrap_tabs .active .btn_tab,
.wrap_tabs .btn_tab:hover {
    color: #fff;
    background: linear-gradient(-127deg, var(--blue-2), var(--blue));
    border-color: var(--blue);
}

.wrap_tabs i {
    font-style: normal;
}

.tab_content {
    display: none;
    margin-top: 14px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--soft-line);
}

.tab_content.selected {
    display: block;
}

.tab_content .row {
    margin-bottom: 18px;
}

.tab_content .row:last-child {
    margin-bottom: 0;
}

.tab_content .block {
    margin-bottom: 14px;
}

.tab_content .block:last-child {
    margin-bottom: 0;
}

.desc {
    color: #30363d;
    line-height: 1.7;
}

.items_list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.items_list .item {
    color: #30363d;
}

.items_list a {
    display: inline-flex;
    padding: 6px 9px;
    color: #000;
    background: #eef1f4;
}

.items_list a:hover {
    color: #fff;
    background: var(--blue-2);
}

.share_section .label {
    display: block;
    margin-bottom: 8px;
    color: #000;
    font-weight: 700;
}

.share_section .input {
    width: 100%;
    height: 42px;
    border: 1px solid var(--line);
    padding: 10px 12px;
    background: #f7f9fb;
    color: #000;
}

.playside {
    width: 300px;
    flex: 0 0 300px;
    background: var(--panel-bg);
    border: 1px solid var(--soft-line);
}

.playside .title {
    padding: 12px 14px;
    color: #000;
    background: var(--nav-bg);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
}

.playside .wrap {
    display: grid;
    gap: 10px;
    padding: 14px;
}

.side-stat {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--soft-line);
}

.side-stat span {
    color: #000;
    font-size: 18px;
    font-weight: 800;
}

.side-stat small {
    color: var(--muted);
    text-transform: uppercase;
}

.related-videos {
    margin-top: 28px;
}

.footer {
    margin-top: 42px;
    color: #333b43;
    background: #e8ecf1;
    border-top: 1px solid var(--line);
}

.footer .holder {
    padding: 28px 0;
}

.footer .container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
}

.logo_footer .logo-orb {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    font-size: 18px;
}

.logo_footer .logo-word {
    max-width: 190px;
    font-size: 24px;
}

.navigation_footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 18px;
}

.navigation_footer a {
    color: #000;
    font-weight: 600;
    text-transform: uppercase;
}

.navigation_footer .active a,
.navigation_footer a:hover {
    color: var(--blue-3);
}

.copy {
    color: var(--muted);
    font-size: 12px;
    text-align: right;
}

.copy .row + .row {
    margin-top: 6px;
}

.footer-counters {
    line-height: 1.5;
}

.footer-element {
    margin-top: 28px;
    color: #3a4148;
    line-height: 1.7;
}

.footer-element h1,
.footer-element h2,
.footer-element h3 {
    margin: 0 0 10px;
    color: #000;
}

.directory-grid,
.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 16px;
}

.directory-card,
.model-tile {
    display: block;
    min-height: 90px;
    padding: 16px;
    color: #000;
    background: #fff;
    border: 1px solid var(--soft-line);
    box-shadow: 0 6px 16px rgba(50, 62, 74, 0.08);
}

.directory-card:hover,
.model-tile:hover {
    color: var(--blue-3);
    border-color: var(--blue-2);
}

.directory-card__title,
.model-tile__title {
    display: block;
    font-size: 16px;
    font-weight: 800;
}

.directory-card__meta,
.model-tile__meta {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 12px;
}

.error-page {
    padding: 40px 0;
}

.error-hero {
    max-width: 760px;
    margin: 0 auto;
    padding: 44px 24px;
    background: #fff;
    border: 1px solid var(--soft-line);
    box-shadow: var(--card-shadow);
    text-align: center;
}

.error-hero__code {
    color: var(--blue);
    font-size: 84px;
    font-weight: 900;
    line-height: 1;
}

.error-hero__title {
    margin: 12px 0;
    color: #000;
    font-size: 28px;
}

.error-hero__text {
    margin: 0 auto 22px;
    max-width: 560px;
    color: var(--muted);
}

.error-hero__search {
    display: flex;
    max-width: 520px;
    margin: 0 auto 18px;
}

.error-hero__search input {
    width: 100%;
    height: 42px;
    border: 1px solid var(--line);
    padding: 0 12px;
}

.error-hero__search button,
.error-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 0;
    padding: 0 16px;
    color: #fff;
    background: linear-gradient(-127deg, var(--blue-2), var(--blue));
    box-shadow: 0 5px 8px var(--blue-shadow);
}

.error-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

html[dir="rtl"] .lang_drop .drop,
html[dir="rtl"] .sorting_drop {
    right: auto;
    left: 0;
}

html[dir="rtl"] .copy {
    text-align: left;
}

html[dir="rtl"] .breadcrumbs .item::after {
    right: auto;
    left: -4px;
    content: "<";
}

@media (max-width: 1440px) {
    .navigation {
        justify-content: space-between;
    }

    .navigation .item {
        flex: 1 1 auto;
        min-width: 1px;
        padding: 0;
    }

    .navigation a {
        padding: 12px 6px;
    }

    .thumbs {
        grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    }
}

@media (max-width: 1160px) {
    .watch_columns {
        flex-direction: column;
    }

    .playside {
        width: 100%;
        flex-basis: auto;
    }

    .playside .wrap {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }
}

@media (max-width: 1000px) {
    .container {
        padding: 0 10px;
    }

    .header .holder {
        padding: 10px;
    }

    .navigation {
        padding: 0 10px;
    }

    .navigation .item {
        font-size: 12px;
    }

    .logo-word {
        max-width: 180px;
        font-size: 26px;
    }

    .thumbs {
        gap: 18px 12px;
    }
}

@media (max-width: 760px) {
    .headline {
        align-items: flex-start;
        flex-direction: column;
    }

    .headline_panel,
    .headline_panel .second,
    .sorting,
    .sorting_choice {
        width: 100%;
    }

    .sorting_drop {
        right: auto;
        left: 0;
        width: 100%;
    }

    .general_tools {
        align-items: stretch;
        flex-direction: column;
    }

    .wrap_tabs {
        width: 100%;
        margin-left: 0;
    }

    .wrap_tabs .item,
    .wrap_tabs .btn_tab {
        width: 100%;
    }

    .footer .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .copy {
        text-align: center;
    }
}

@media (max-width: 680px) {
    .hamburger_nav,
    .hamburger_menu {
        display: block;
    }

    .header .holder {
        gap: 12px;
    }

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

    .logo-orb {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        font-size: 19px;
    }

    .logo-word {
        max-width: calc(100vw - 190px);
        font-size: 22px;
    }

    .view_search {
        display: block;
    }

    .search {
        position: absolute;
        top: 50%;
        right: 44px;
        left: 44px;
        z-index: 4;
        width: auto;
        max-width: none;
        margin: 0;
        opacity: 0;
        visibility: hidden;
        transform: translate(-100%, -50%);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    }

    .header .holder.open_search .search {
        opacity: 1;
        visibility: visible;
        transform: translate(0, -50%);
    }

    .header .holder.open_search .view_search {
        transform: scale(0);
    }

    .search .btn {
        width: 50px;
        flex-basis: 50px;
    }

    .wrap_panel {
        position: absolute;
        top: 100%;
        right: 0;
        z-index: 40;
        padding: 10px;
        background: #fff;
        box-shadow: 0 12px 20px rgba(35, 35, 37, 0.13);
        opacity: 0;
        visibility: hidden;
        transform: translateX(100%);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    }

    .header .holder.open .wrap_panel {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

    .lang_drop .drop {
        position: static;
        display: none;
        width: 190px;
        margin-top: 8px;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
    }

    .lang_drop.open .drop {
        display: flex;
    }

    .navigation {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 35;
        flex-direction: column;
        align-items: stretch;
        width: 190px;
        padding: 10px;
        background: #fff;
        box-shadow: 0 12px 20px rgba(35, 35, 37, 0.13);
        opacity: 0;
        visibility: hidden;
        transform: translateX(-100%);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    }

    body.open .navigation {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

    .navigation .item {
        text-align: left;
    }

    .navigation a {
        padding: 11px 10px;
    }

    .navigation a::after {
        display: none;
    }

    .breadcrumbs {
        display: none;
    }
}

@media (max-width: 520px) {
    .main {
        padding-top: 12px;
    }

    .thumbs {
        grid-template-columns: 1fr;
    }

    .headline h1.title,
    .headline .title {
        font-size: 22px;
    }

    .notify {
        padding: 10px;
    }

    .pagination a,
    .pagination span.current,
    .pagination .pagination-ellipsis span {
        min-width: 32px;
        height: 32px;
    }

    .error-hero__search {
        flex-direction: column;
        gap: 8px;
    }
}
