:root {
  --main-background: #e5e4e4;
  --primary-accent-background: #ffffff;
  --secondary-accent-background: #dbd9da;
  --main-theme: #1bbc9d;
  --main-theme-hover: #21e6c0;
  --header-background: #2a2a2a;
  --header-menu-background: #ffffff;
  --search-input-background: #212121;
  --footer-background: #2a2a2a;
  --main-text: #262626;
  --faded-text: #707070;
  --line: #c9c7c8;
  --line-soft: #dedcdd;
  --shadow: 0 14px 34px rgba(0, 0, 0, 0.15);
  --container: 1316px;
  --radius: 5px;
  --font: Lato, "Trebuchet MS", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--main-background);
  color: var(--main-text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.35;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--main-background);
  color: var(--main-text);
}

body,
input,
button,
textarea,
select {
  font-family: var(--font);
}

body.menu_active,
body.search-open {
  overflow: hidden;
}

a {
  color: var(--main-theme);
  text-decoration: none;
}

a:hover {
  color: var(--main-theme-hover);
}

img {
  display: block;
  max-width: 100%;
}

button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

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

p {
  margin: 0 0 10px;
  line-height: 1.5;
}

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

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

.skip-to-main-content {
  position: absolute;
  top: -100px;
  left: 50%;
  z-index: 1000;
  padding: 10px 18px;
  border-radius: 3px;
  background: var(--main-theme);
  color: #fff;
  font-weight: 700;
  transform: translateX(-50%);
  transition: top 0.2s ease;
}

.skip-to-main-content:focus {
  top: 10px;
}

.site-wrapper {
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  width: min(var(--container), calc(100% - 20px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--header-background);
  color: #fff;
}

.upper-menu {
  background: var(--header-background);
}

.headerContainer {
  display: grid;
  grid-template-columns: 42px auto minmax(220px, 1fr) auto;
  gap: 13px;
  align-items: center;
  min-height: 60px;
}

.tz-menu-toggle {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  color: var(--main-theme);
}

.tz-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

.tz-menu-toggle span,
.tz-menu-toggle::before,
.tz-menu-toggle::after {
  position: absolute;
  left: 8px;
  width: 20px;
  height: 3px;
  border-radius: 3px;
  background: currentColor;
  content: "";
}

.tz-menu-toggle::before {
  top: 10px;
}

.tz-menu-toggle span {
  top: 17px;
}

.tz-menu-toggle::after {
  top: 24px;
}

.tz-logo {
  display: inline-flex;
  align-items: baseline;
  min-width: max-content;
  color: #fff;
  font-size: 31px;
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1;
  text-transform: lowercase;
}

.tz-logo:hover {
  color: #fff;
}

.tz-logo__mark {
  color: var(--main-theme);
}

.tz-header-search {
  position: relative;
  min-width: 0;
}

.tz-search-form {
  position: relative;
  display: grid;
  height: 40px;
  grid-template-columns: 44px minmax(0, 1fr);
  overflow: hidden;
  border-radius: 3px;
  background: var(--search-input-background);
}

.tz-search-form .submitButton {
  display: flex;
  align-items: center;
  justify-content: center;
}

#search-trigger {
  position: relative;
  width: 40px;
  height: 40px;
  color: var(--main-theme);
}

#search-trigger::before {
  position: absolute;
  top: 11px;
  left: 11px;
  width: 13px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 50%;
  content: "";
}

#search-trigger::after {
  position: absolute;
  top: 25px;
  left: 25px;
  width: 8px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transform: rotate(45deg);
}

.searchInput {
  position: relative;
  min-width: 0;
}

.search-input {
  width: 100%;
  height: 40px;
  padding: 0 42px 0 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 15px;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.search-clear {
  position: absolute;
  top: 3px;
  right: 4px;
  display: none;
  width: 34px;
  height: 34px;
  color: rgba(255, 255, 255, 0.7);
}

.search-clear::before,
.search-clear::after {
  position: absolute;
  top: 16px;
  left: 9px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

.search-clear::before {
  transform: rotate(45deg);
}

.search-clear::after {
  transform: rotate(-45deg);
}

.tz-search-form:focus-within .search-clear {
  display: block;
}

.tz-search-overlay {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 50;
  display: none;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--primary-accent-background);
  box-shadow: var(--shadow);
}

.tz-header-search:focus-within .tz-search-overlay,
.search-open .tz-search-overlay {
  display: block;
}

.lineTitle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  border-bottom: 2px solid var(--main-theme);
}

.sectionTitle,
.lineTitle h2 {
  margin: 0;
  padding: 0 0 8px;
  color: var(--main-text);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.15;
}

.buttonsScrollableList {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.button,
.bubble-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 31px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 15px;
  background: var(--secondary-accent-background);
  color: var(--main-text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.button:hover,
.bubble-button:hover {
  border-color: var(--main-theme);
  background: var(--main-theme);
  color: #fff;
}

.tz-header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.header-button-search {
  position: relative;
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 4px;
  color: var(--main-theme);
}

.header-button-search::before {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 13px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 50%;
  content: "";
}

.header-button-search::after {
  position: absolute;
  top: 25px;
  left: 25px;
  width: 8px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transform: rotate(45deg);
}

.language-switcher {
  position: relative;
}

.language-switcher summary {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  list-style: none;
}

.language-switcher summary::-webkit-details-marker {
  display: none;
}

.lang-code {
  font-size: 12px;
  font-weight: 800;
}

.language-switcher__dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 60;
  display: grid;
  width: 250px;
  max-height: 360px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--primary-accent-background);
  box-shadow: var(--shadow);
}

.language-switcher__dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--main-text);
  font-size: 13px;
  font-weight: 700;
}

.language-switcher__dropdown a:hover,
.language-switcher__dropdown a.active {
  background: var(--secondary-accent-background);
  color: var(--main-theme);
}

.tz-trending-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid var(--line);
  background: var(--primary-accent-background);
  color: var(--faded-text);
}

.tz-trending-strip__inner {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 36px;
}

.tz-trending-strip__inner > span {
  flex: 0 0 auto;
  color: var(--main-text);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.tz-trending-strip__inner div {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.tz-trending-strip__inner div::-webkit-scrollbar {
  display: none;
}

.tz-trending-strip a {
  color: var(--faded-text);
  font-size: 13px;
  font-weight: 700;
}

.tz-nav {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #242424;
}

.tz-nav__scroll {
  display: flex;
  align-items: center;
  min-height: 40px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tz-nav__scroll::-webkit-scrollbar {
  display: none;
}

.tz-nav a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 17px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.tz-nav a:hover,
.tz-nav a.active {
  background: var(--main-theme);
  color: #fff;
}

.overlay_black {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: none;
  background: rgba(0, 0, 0, 0.48);
}

.menu_active .overlay_black {
  display: block;
}

#sidemenu_wrap {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  z-index: 110;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.menu_active #sidemenu_wrap {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

#menu_container {
  width: min(var(--container), calc(100% - 20px));
  margin: 0 auto;
}

#main_menu {
  width: min(350px, 92vw);
  max-height: calc(100vh - 76px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--header-menu-background);
  box-shadow: var(--shadow);
}

#main_menu .menu_elem {
  position: relative;
}

#main_menu .menu_elem_text {
  display: block;
  padding: 12px 14px;
  color: var(--main-text);
  font-size: 14px;
  font-weight: 800;
}

#main_menu .menu_elem_text:hover,
#main_menu .menu_elem:hover {
  background: var(--secondary-accent-background);
  color: var(--main-theme);
}

#main_menu .submenu {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: #f7f7f7;
}

#main_menu .submenu .menu_elem_text {
  padding-left: 34px;
  font-size: 13px;
  font-weight: 700;
}

.tz-menu-language-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 14px 14px;
}

.tz-menu-language-grid a {
  padding: 6px 9px;
  border-radius: 14px;
  background: var(--secondary-accent-background);
  color: var(--main-text);
  font-size: 12px;
  font-weight: 800;
}

.tz-menu-language-grid a.active,
.tz-menu-language-grid a:hover {
  background: var(--main-theme);
  color: #fff;
}

.tz-main {
  padding: 14px 0 34px;
}

.ad-slot {
  margin: 0 0 14px;
  text-align: center;
}

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

.tz-listing-page {
  display: grid;
  gap: 15px;
}

.tz-home-hubs {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: 15px;
}

.tz-home-hubs--bottom {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tz-hub-panel,
.tz-related-searches,
.tz-video-section,
.tz-footer-searches,
.seo_description,
.content-text,
.empty-state,
.tz-side-box,
.tz-watch-panel,
.tz-description,
.tz-outgoing {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--primary-accent-background);
}

.tz-hub-panel,
.tz-related-searches,
.tz-video-section,
.tz-footer-searches {
  padding: 12px;
}

.categories-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
  gap: 9px;
}

.categoryBox {
  position: relative;
  display: block;
  min-height: 92px;
  overflow: hidden;
  border-radius: 15px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.35), transparent 30%),
    linear-gradient(135deg, #333 0%, #111 100%);
  color: #fff;
}

.categoryBox:nth-child(4n + 2) {
  background:
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.28), transparent 30%),
    linear-gradient(135deg, #31685f 0%, #102421 100%);
}

.categoryBox:nth-child(4n + 3) {
  background:
    radial-gradient(circle at 10% 85%, rgba(255, 255, 255, 0.28), transparent 30%),
    linear-gradient(135deg, #4d4d4d 0%, #151515 100%);
}

.categoryBox:nth-child(4n + 4) {
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.24), transparent 30%),
    linear-gradient(135deg, #1bbc9d 0%, #174138 100%);
}

.categoryBG {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.08));
}

.categoryTitle {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  display: grid;
  gap: 2px;
  color: #fff;
  font-weight: 900;
  line-height: 1.12;
}

.categoryTitle small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 700;
}

.list-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--main-theme);
}

.title-text,
.tz-watch-title,
.directory-page h1,
.section-head h1 {
  margin: 0;
  padding-bottom: 8px;
  color: var(--main-text);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.tz-result-count {
  display: inline-flex;
  min-width: 34px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--secondary-accent-background);
  color: var(--faded-text);
  font-size: 12px;
  font-weight: 900;
}

.tz-sorting-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.tz-sorting-tabs span {
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  padding: 7px 12px;
  border-radius: 15px;
  background: var(--secondary-accent-background);
  color: var(--faded-text);
  font-size: 13px;
  font-weight: 800;
}

.tz-sorting-tabs span.active {
  background: var(--main-theme);
  color: #fff;
}

.full-row-thumbs.video-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(228px, 1fr));
  gap: 16px 10px;
}

.video-box {
  min-width: 0;
  color: var(--main-text);
}

.video-box-image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 2px;
  background: #c8c6c7;
}

.thumb-image-container,
.thumb-image {
  width: 100%;
  height: 100%;
}

.thumb-image {
  object-fit: cover;
  transition: transform 0.22s ease, filter 0.22s ease;
}

.video-box:hover .thumb-image {
  filter: saturate(1.12) contrast(1.04);
  transform: scale(1.045);
}

.video-box-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.68));
  content: "";
  opacity: 0.74;
  pointer-events: none;
}

.video-box-image::before {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(27, 188, 157, 0.92);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  content: "";
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.video-box:hover .video-box-image::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.video-properties {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 6px;
  z-index: 4;
  display: flex;
  justify-content: flex-end;
}

.video-duration {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 3px 7px;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.82);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.thumb-info-wrapper {
  padding-top: 7px;
}

.video-title-wrapper {
  min-width: 0;
}

.video-title-text {
  display: block;
  overflow: hidden;
  color: var(--main-text);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.22;
}

.video-title-text span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.video-title-text:hover {
  color: var(--main-theme);
}

.info-views-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 9px;
  margin-top: 5px;
  color: var(--faded-text);
  font-size: 12px;
  font-weight: 700;
}

.info-views-container span + span::before {
  margin-right: 8px;
  color: #aaa;
  content: "/";
}

.tz-pagination-row,
.load-more-row {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.pagination ul,
#pagination .pagination_pages_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}

.pagination a,
.pagination .current,
.pagination-ellipsis span,
#pagination .page-number a,
#pagination .page-number .currentPage,
#pagination .paginationLink,
#pagination .prev-next a {
  display: inline-flex;
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  background: var(--primary-accent-background);
  color: var(--main-text);
  font-weight: 900;
}

.pagination a:hover,
.pagination .current,
#pagination .page-number.current .currentPage,
#pagination .page-number.current,
#pagination a:hover {
  background: var(--main-theme);
  color: #fff;
}

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

#pagination .paginationWrapper {
  display: flex;
  align-items: center;
  gap: 4px;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 18px;
  color: var(--faded-text);
  font-weight: 700;
}

.tz-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--faded-text);
  font-size: 13px;
  font-weight: 700;
}

.tz-breadcrumb b {
  overflow: hidden;
  color: var(--main-text);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tz-watch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 16px;
  align-items: start;
}

.tz-watch-main,
.tz-watch-side {
  min-width: 0;
}

.tz-watch-title {
  margin-bottom: 10px;
  border-bottom: 2px solid var(--main-theme);
}

.tz-player-card {
  overflow: hidden;
  border-radius: 2px;
  background: #000;
}

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

#player,
#player video,
#player iframe {
  width: 100% !important;
  height: 100% !important;
}

.tz-watch-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding: 10px;
}

.tz-watch-stats,
.tz-rate {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tz-watch-stats span,
.tz-rate a {
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 15px;
  background: var(--secondary-accent-background);
  color: var(--main-text);
  font-size: 13px;
  font-weight: 800;
}

.tz-rate a:hover {
  background: var(--main-theme);
  color: #fff;
}

.tz-rate svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.tz-watch-tags,
.tz-description,
.tz-outgoing {
  margin-top: 12px;
}

.video-tags-carousel .list-container,
.tz-outgoing {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tz-description,
.tz-outgoing,
.seo_description,
.content-text {
  padding: 15px;
  color: var(--main-text);
  font-size: 15px;
  line-height: 1.58;
}

.tz-description p:first-child,
.seo_description p:first-child,
.content-text p:first-child {
  margin-top: 0;
}

.tz-description p:last-child,
.seo_description p:last-child,
.content-text p:last-child {
  margin-bottom: 0;
}

.tz-watch-side {
  position: sticky;
  top: 128px;
}

.tz-side-box {
  padding: 10px;
}

.tz-side-list {
  display: grid;
  gap: 10px;
}

.side-video-box {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 9px;
}

.side-video-box .video-box-image {
  aspect-ratio: 16 / 10;
}

.side-video-box .thumb-info-wrapper {
  padding-top: 0;
}

.side-video-box .video-title-text {
  font-size: 13px;
}

.directory-page {
  display: grid;
  gap: 15px;
}

.directory-page .section-head,
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 2px solid var(--main-theme);
}

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

.directory-card {
  display: grid;
  min-width: 0;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--primary-accent-background);
  color: var(--main-text);
}

.directory-card:hover {
  border-color: var(--main-theme);
  color: var(--main-theme);
}

.directory-card__letter,
.model-tile__placeholder {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--main-theme);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.directory-card__title,
.model-tile__title {
  display: block;
  overflow: hidden;
  color: inherit;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.directory-card__meta {
  display: block;
  margin-top: 3px;
  color: var(--faded-text);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

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

.model-tile {
  display: grid;
  gap: 8px;
  color: var(--main-text);
}

.model-tile__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: var(--secondary-accent-background);
}

.model-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.model-tile__placeholder {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 58px;
  height: 58px;
  transform: translate(-50%, -50%);
}

.error-hero {
  display: grid;
  min-height: min(620px, 68vh);
  align-items: center;
}

.error-hero__panel {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--primary-accent-background);
}

.error-hero__code {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: var(--main-theme);
  color: #fff;
  font-size: clamp(72px, 13vw, 170px);
  font-weight: 900;
  letter-spacing: -0.08em;
}

.error-hero__content {
  padding: clamp(26px, 4vw, 54px);
}

.error-hero__eyebrow {
  margin: 0 0 10px;
  color: var(--main-theme);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.error-hero h1 {
  margin: 0;
  color: var(--main-text);
  font-size: clamp(30px, 5vw, 62px);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.error-hero__text {
  max-width: 560px;
  margin: 16px 0 22px;
  color: var(--faded-text);
  font-size: 17px;
  line-height: 1.55;
}

.error-hero__search {
  display: flex;
  max-width: 620px;
  overflow: hidden;
  border-radius: 3px;
  background: var(--secondary-accent-background);
}

.error-hero__search input {
  min-width: 0;
  flex: 1;
  padding: 0 14px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--main-text);
  font-size: 15px;
}

.error-hero__search button,
.error-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 3px;
  background: var(--header-background);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.error-hero__search button:hover,
.error-button--primary,
.error-button:hover {
  background: var(--main-theme);
  color: #fff;
}

.error-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.tz-footer {
  background: var(--footer-background);
  color: #fff;
}

.footer-links-container {
  padding: 24px 0;
}

.tz-footer-nav {
  display: grid;
  grid-template-columns: minmax(180px, 1.1fr) repeat(3, minmax(145px, 0.8fr));
  gap: 18px;
  align-items: start;
}

.tz-footer-logo {
  font-size: 30px;
}

.footer-item {
  display: block;
  margin-bottom: 9px;
  color: var(--faded-text);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.accordion-list {
  display: grid;
  gap: 6px;
}

.accordion-list a,
.accordion-list span,
.block-information-pages span {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.accordion-list a:hover,
.accordion-list span:hover {
  color: var(--main-theme);
}

.footer-languages {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.footer-languages li {
  display: inline-flex;
}

.footer-languages a {
  padding: 5px 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.footer-counter {
  margin-top: 16px;
  color: var(--faded-text);
  font-size: 12px;
}

.footer-counter:empty {
  display: none;
}

.lazy-hidden {
  opacity: 0;
}

.lazy-loaded {
  opacity: 1;
}

html[dir="rtl"] .tz-watch-layout,
html[dir="rtl"] .tz-home-hubs,
html[dir="rtl"] .tz-footer-nav {
  direction: rtl;
}

html[dir="rtl"] .categoryTitle {
  text-align: right;
}

@media (max-width: 1180px) {
  .tz-watch-layout {
    grid-template-columns: 1fr;
  }

  .tz-watch-side {
    position: static;
  }

  .tz-side-list {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media (max-width: 980px) {
  .headerContainer {
    grid-template-columns: 42px auto 1fr auto;
  }

  .tz-home-hubs,
  .tz-home-hubs--bottom,
  .tz-footer-nav {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .headerContainer {
    grid-template-columns: 42px 1fr auto;
    min-height: 56px;
  }

  .tz-logo {
    min-width: 0;
    overflow: hidden;
    font-size: 26px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .tz-header-search {
    display: none;
  }

  .header-button-search {
    display: inline-flex;
  }

  .search-open .tz-header-search {
    position: fixed;
    top: 10px;
    left: 10px;
    right: 10px;
    z-index: 130;
    display: block;
  }

  .search-open .tz-search-form {
    height: 48px;
    box-shadow: var(--shadow);
  }

  .search-open .search-input {
    height: 48px;
  }

  .search-open .overlay_black {
    display: block;
  }

  .tz-trending-strip__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding: 8px 0;
  }

  .tz-trending-strip__inner div {
    width: 100%;
  }

  .full-row-thumbs.video-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px 8px;
  }

  .video-title-text {
    font-size: 13px;
  }

  .title-bar,
  .tz-watch-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .categories-wrapper,
  .directory-grid,
  .directory-grid--models {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .error-hero__panel {
    grid-template-columns: 1fr;
  }

  .error-hero__code {
    min-height: 150px;
  }
}

@media (max-width: 460px) {
  .container {
    width: min(var(--container), calc(100% - 14px));
  }

  .tz-logo {
    font-size: 22px;
  }

  .language-switcher__dropdown {
    right: -46px;
    width: min(250px, calc(100vw - 18px));
  }

  .full-row-thumbs.video-list,
  .categories-wrapper,
  .directory-grid,
  .directory-grid--models {
    grid-template-columns: 1fr;
  }

  .side-video-box {
    grid-template-columns: 116px minmax(0, 1fr);
  }

  .error-hero__search {
    display: grid;
  }

  .error-hero__search input {
    min-height: 44px;
  }
}
