:root {
	--white: #FFFFFF;
	--orange: #29333D;
	--text: #E1E5EA;
	--movie: rgba(245, 197, 24, 0.40);
	--series: rgba(1, 180, 228, 0.40);
	--header-sidebar-footer: #1C232B;
	--main: #14191F;
	--block-hover: #29333D;
	--link: #ccc;
	--footer-text: #FFFFFF;
	--rating-low: #ff7c7c;
	--rating-medium: #fd6f07;
	--rating-high: #06b601;
	--black: #000;
	--links: #e0dfdc;
	--meta: #8c8b89;
	--meta2: #edcaa5;
	--channel-name:#A7B4C4;
	--channel-name-hover:#0096D8;
	--sidebar-link:#E1E5EA;
	--all:#00A1E7;
	--all-hover:#1aa6e3;
	--online:#ed143b;
}

@font-face {
    font-family: 'MicraC';
    src: url('micrac/MicraC-Bold.eot');
    src: local('MicraC Bold'), local('MicraC-Bold'),
        url('micrac/MicraC-Bold.eot?#iefix') format('embedded-opentype'),
        url('micrac/MicraC-Bold.woff2') format('woff2'),
        url('micrac/MicraC-Bold.woff') format('woff'),
        url('micrac/MicraC-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MicraC';
    src: url('micrac/MicraC.eot');
    src: local('micrac/MicraC'),
        url('micrac/MicraC.eot?#iefix') format('embedded-opentype'),
        url('micrac/MicraC.woff2') format('woff2'),
        url('micrac/MicraC.woff') format('woff'),
        url('micrac/MicraC.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: Open Sans,Arial,Helvetica,sans-serif;
	font-weight: 400;
	line-height: 1.6;
	background-color: var(--main);
	overflow-x: hidden;
	color: white;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	
	font-weight: 400;
	color: var(--white);
}

.wrapper {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.main-wrapper {
	flex: 1;
	display: flex;
	margin-top: 56px;
	min-height: calc(100vh - 56px);
}

header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 16px;
	height: 56px;
	background-color: var(--header-sidebar-footer);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	border-bottom: 1px solid var(--block-hover);
}

.left-section {
	display: flex;
	align-items: center;
	height: 100%;
}

.menu-icon {
	padding: 8px;
	margin-right: 16px;
	cursor: pointer;
	border-radius: 50%;
	transition: background-color 0.2s;
	color: white;
	font-family: 'Font Awesome 6 Pro';
	font-weight: 900;
}

.menu-icon:hover {
	background-color: var(--block-hover);
}

.logo {
	display: flex;
	align-items: flex-end;
	font-weight: 500;
	color: var(--white);
	height: 100%;
	text-transform: uppercase;
	position: relative;
	font-size: 24px;
	letter-spacing: 2px;
	line-height: 1;
	text-decoration: none;
	font-weight: 900;
	font-family: 'MicraC';
	padding: 8px 0;
}

.logo span {
	color: var(--online);
	font-size: 2.3em;
	position: relative;
	font-weight: 900;
	margin-right: 2px;
	line-height: 1;
	top: 0.1em;
}

.logo div {
	position: absolute;
	right: 0;
	top: 16px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0;
	color: var(--online);
	height: 20px;
	display: flex;
	align-items: center;
}

.center-section {
	display: flex;
	align-items: center;
	margin: 0 40px;
	width: 100%;
}

.search-form {
	display: flex;
	flex: 1;
}

.search-input {
	flex: 1;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--block-hover);
	border-radius: 2px 0 0 2px;
	font-size: 16px;
	background-color: var(--header-sidebar-footer);
	color: white;
	
}

.search-button {
	height: 40px;
	width: 64px;
	border: 1px solid var(--block-hover);
	border-left: none;
	background-color: var(--block-hover);
	border-radius: 0 2px 2px 0;
	cursor: pointer;
	transition: background-color 0.2s;
	color: white;
}

.search-button:hover {
	background-color: #444;
}

.user-section {
	display: flex;
	align-items: center;
}

.icon-container {
	padding: 8px;
	margin-left: 8px;
	cursor: pointer;
	border-radius: 50%;
	transition: background-color 0.2s;
	color: white;
}

.icon-container:hover {
	background-color: var(--block-hover);
}

.user-icon {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background-color: var(--orange);
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	
}

.sidebar::-webkit-scrollbar {
	width: 6px;
}

.sidebar::-webkit-scrollbar-track {
	background: var(--header-sidebar-footer);
}

.sidebar::-webkit-scrollbar-thumb {
	background: var(--block-hover);
	border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
	background: var(--orange);
}

.sidebar::-webkit-scrollbar-thumb:active {
	background: #e55a00;
}

.sidebar {
	scrollbar-width: thin;
	scrollbar-color: var(--block-hover) var(--header-sidebar-footer);
}

.sidebar {
	width: 260px;
	background-color: var(--header-sidebar-footer);
	position: sticky;
	top: 56px;
	height: calc(100vh - 56px);
	overflow-y: auto;
	padding-top: 8px;
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s ease;
	z-index: 999;
	color: white;
	font-size: 13px;
	font-weight: 600;
	flex-shrink: 0;
}

.sidebar:not(.compact) {
	width: 260px;
}

.sidebar.compact {
	width: 78px;
}

.sidebar.compact .sidebar-item span {
	display: none;
}

.sidebar.compact .sidebar-section h3 {
	display: none;
}

.sidebar.compact .sidebar-icon {
	margin-right: 0;
}

.sidebar.compact .sidebar-item {
	justify-content: center;
	padding: 8px 0;
}

.sidebar-section {
	padding: 6px 0;
	border-bottom: 1px solid var(--block-hover);
}

#sidebarno {
	border:0px;
}

.sidebar-section-title {
	padding: 8px 16px;
	font-size: 16px;
	color: var(--footer-text);
	text-transform: uppercase;
	font-weight: 600;
	display: flex;
	justify-content: space-between;
    align-items: center;
	
}

.sidebar-section-title i {
	color: var(--all);
}

.sidebar-item {
	display: flex;
	align-items: center;
	padding-left: 8px;
    padding-block: 6px;
	cursor: pointer;
	transition: background-color 0.2s;
	color: var(--sidebar-link);
	text-decoration: none;
	font-weight: 400;
    font-size: 14px;
}

.sidebar-item:hover {
	background-color: var(--block-hover);
	border-radius:0 4px 4px 0;
}

.sidebar-item.active {
	background-color: var(--orange);
	border-radius:0 4px 4px 0;
}

.sidebar-icon {
	margin-right: 8px;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	text-align: center;
	font-size: 14px;
	font-family: 'Font Awesome 6 Pro';
	font-weight: 400;
	font-style: normal;
}

main {
	flex: 1;
	padding: 14px;
	transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	min-height: calc(100vh - 56px);
	
	background-color: var(--main);
	overflow-x: hidden;
}

.category-filters {
	display: flex;
	align-items: center;
	overflow-x: auto;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--block-hover);
	scrollbar-width: thin;
	scrollbar-color: var(--block-hover) var(--header-sidebar-footer);
	gap: 8px;
}

.category-filters .active {
	background:none;
	font-weight: 400;
    color: var(--white);
    font-size: 16px;
}

.category-filters .active:hover {
	background:none;
}

.category-filters::-webkit-scrollbar {
	height: 6px;
}

.category-filters::-webkit-scrollbar-track {
	background: var(--header-sidebar-footer);
	border-radius: 3px;
}

.category-filters::-webkit-scrollbar-thumb {
	background: var(--block-hover);
	border-radius: 3px;
}

.category-filters::-webkit-scrollbar-thumb:hover {
	background: var(--orange);
}

.category-filter {
	padding: 4px 8px;
	margin-right: 12px;
	background-color: var(--header-sidebar-footer);
	border-radius: 8px;
	white-space: nowrap;
	cursor: pointer;
	font-size: 12px;
	transition: background-color 0.2s;
	flex-shrink: 0;
	color: white;
	
}

.category-filter:hover {
	background: var(--block-hover);
}

.category-filter a {
	text-decoration:none;
	color:var(--sidebar-link);
}

.video-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 20px;
	justify-items: center;
	justify-content: space-evenly;
}

.video-card {
	cursor: pointer;
	background: var(--header-sidebar-footer);
	overflow: hidden;
	transition: transform 0.2s, box-shadow 0.2s;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 220px;
	flex-shrink: 0;
	position: relative;
}

.video-card a {
	text-decoration: none;
}

.video-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.thumbnail {
	position: relative;
	width: 100%;
	height: 300px;
	background-color: var(--block-hover);
	overflow: hidden;
}

.thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.content-type {
	position: absolute;
	top: 8px;
	left: 8px;
	background-color: rgba(0, 0, 0, 0.8);
	color: var(--black);
	padding: 4px 8px;
	font-size: 11px;
	font-weight: 500;
	text-transform: uppercase;
	z-index: 2;
}

.content-type.movie, .movie {
	background:#f5c518;
	border: 1px solid #f5c518;
	border-radius:4px;
}

.content-type.movie, .movie::before {
}

.content-type.series, .series {
	background: #01b4e4;
	border: 1px solid #01b4e4;
	border-radius:4px;
}

.content-type.series, .series::before {
}

.video-duration {
	position: absolute;
	bottom: 8px;
	right: 8px;
	background-color: rgba(0, 0, 0, 0.8);
	color: white;
	padding: 4px 8px;
	font-size: 12px;
	
	font-weight: 500;
}

.video-info {
	display: flex;
	padding: 6px;
	flex: 1;
	flex-direction: column;
	gap: 6px;
}

.video-info-content {
	display: flex;
	flex-direction: column;
	flex: 1;
	justify-content: space-between;
}

.video-title {
	font-weight: 500;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	line-height: 1.3;
	color: white;
	
	font-size: 14px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	text-decoration: none;
}

.channel-name a {
	color: var(--channel-name);
	font-size: 12px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-decoration: none;
}

.channel-name a:hover {
	color: var(--channel-name-hover);
}

.video-meta {
	color: var(--channel-name);
	font-size: 11px;
	
	display: flex;
	align-items: center;
	gap: 4px;
	text-decoration: none;
}

.video-future {
	color: #3cd70b;
	font-size: 11px;
	display: flex;
	align-items: center;
	gap: 4px;
	text-decoration: none;
}

.video-meta-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}


.rating-meta {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 500;
    padding: 2px 6px;
    border-radius: 4px;
}

.rating-meta.movie {
    background: var(--movie);
    border: 1px solid #f5c518;
}

.rating-meta.series {
    background: var(--series);
    border: 1px solid #01b4e4;
}

.rating-meta::before {
    content: "";
    display: block;
    width: 30px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
}

.rating-meta.movie::before {
    background-image: url('../img/imdb.png');
}

.rating-meta.series::before {
    background-image: url('../img/tmdb.png');
}

.rating-low {
	color: var(--rating-low);
}

.rating-medium {
	color: var(--rating-medium);
}

.rating-high {
	color: var(--rating-high);
}

.overlay {
	position: fixed;
	top: 128px;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 998;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.overlay.active {
	opacity: 1;
	visibility: visible;
}

footer {
	background-color: var(--header-sidebar-footer);
	padding: 20px 0;
	border-top: 1px solid var(--block-hover);
	margin-top: auto;
	width: 100%;
}

.footer-content {
	margin: 0 auto;
}

.footer-keywords {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px;
}

.footer-keyword {
	padding: 4px 8px;
	background-color: var(--block-hover);
	border-radius: 8px;
	color: white;
	text-decoration: none;
	font-size: 12px;
	transition: all 0.3s ease;
	
	white-space: nowrap;
}

.footer-keyword:hover {
	background-color: var(--orange);
	transform: translateY(-2px);
}

.footer-bottom {
	text-align: left;
	padding: 10px 16px;
	border-top: 1px solid var(--block-hover);
	color: var(--channel-name);
	font-size: 12px;
}

@media (min-width: 1100px) {
	.sidebar {
		transform: translateX(0);
	}

	.sidebar.compact {
		width: 78px;
	}
}


@media (min-width: 1920px) {
	.video-grid {
		grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
		gap: 24px;
	}

	.video-card {
		max-width: 240px;
	}

	.thumbnail {
		height: 330px;
	}
}

@media (min-width: 1400px) {
	.video-grid {
		grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
		gap: 22px;
	}

	.video-card {
		max-width: 230px;
	}

	.thumbnail {
		height: 315px;
	}
}

@media (min-width: 1100px) {
	.video-grid {
		grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
		gap: 12px;
	}

	.video-card {
		max-width: 220px;
	}

	.thumbnail {
		height: 320px;
	}
}

@media (max-width: 1099px) and (min-width: 768px) {
	.video-grid {
		grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
		gap: 10px;
	}

	.video-card {
		max-width: 220px;
	}

	.thumbnail {
		height: 320px;
	}
}

@media (max-width: 767px) {
	main {
		padding: 16px;
	}

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

	.video-card {
		max-width: 220px;
	}

	.thumbnail {
		height: 330px;
	}

	.video-title {
		font-size: 14px;
	}

	.channel-name {
		font-size: 12px;
	}

	.video-meta {
		font-size: 11px;
	}
}


@media (max-width: 480px) {
	.video-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}

	.video-card {
		max-width: 100%;
	}

	.thumbnail {
		height: 240px;
	}

	main {
		padding: 12px;
	}

	.video-title {
		font-size: 13px;
		min-height: 34px;
	}

	.channel-name {
		font-size: 11px;
	}

	.video-meta {
		font-size: 10px;
	}

	main {
		padding: 12px;
	}
}

#search {
	display: none;
}
	

@media (max-width: 1099px) {
	.sidebar {
		position: fixed;
		top: 56px;
		left: 0;
		width: 280px;
		height: calc(100vh - 56px);
		transform: translateX(-100%);
		transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
		z-index: 999;
	}

	.sidebar.mobile-open {
		transform: translateX(0);
		padding-bottom: 150px;
	}

	#search {
	display: block;
	}

	.main-wrapper {
		min-height: calc(100vh - 56px);
	}

	.center-section {
		margin: 0 20px;
	}
	main {
		margin-left: 0 !important;
	}
}

@media (max-width: 600px) {
	.sidebar.mobile-open {
		margin-top: 16px;
		padding-bottom: 56px;
	}
}

@media (max-width: 480px) {
	.center-section {
		margin: 0 10px;
	}

	.search-input {
		max-width: 150px;
	}

	.footer-links {
		gap: 10px;
		align-items: center;
		margin: 0;
	}

	.footer-bottom {
		padding: 10px;
	}
}


.description {
	margin-bottom: 20px;
}

.description h1 {
	margin-bottom: 15px;
	color: var(--white);
	text-align: center;
}

.description h2 {
	font-size: 18px;
	margin: 20px 0;
	color: var(--white);
}

.description-text {
	line-height: 1.6;
	color: var(--text);
	position: relative;
	overflow: hidden;
	text-align: justify;
}

.description-text.collapsed {
	max-height: 82px;
}

.more,
.less {
	color: var(--channel-name);
	text-decoration: none;
	margin-top: 10px;
	display: inline-block;
}

.more:hover,
.less:hover {
	text-decoration: underline;
}

.section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 20px 0;
	width: 100%;
	flex-wrap: nowrap;
}

.section-header h2 {
	font-size: 22px;
	margin: 0;
}

.section-header h2 i,
.description h2 i {
	margin-right: 10px;
	color:var(--all);
}

.view-all-btn {
	font-weight: 300;
	display: inline-flex;
	align-items: center;
	padding: 4px 6px;
	color: var(--white);
	text-decoration: none;
	background: var(--all);
	border-radius: 4px;
	font-size: 16px;
}

.view-all-btn i {
	margin-right: 8px;
}

.view-all-btn:hover {
	background: var(--all-hover);
}

@keyframes float {

	0%,
	100% {
		transform: translateY(0px) rotate(0deg);
	}

	50% {
		transform: translateY(-20px) rotate(5deg);
	}
}

@keyframes glow {
	from {
		text-shadow: 0 0 20px rgba(255, 102, 0, 0.5);
	}

	to {
		text-shadow: 0 0 30px rgba(255, 102, 0, 0.8), 0 0 40px rgba(255, 102, 0, 0.6);
	}
}

.error-content {
	animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
	from {
		opacity: 0;
		transform: translateY(50px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 768px) {
	.footer-keywords {
		gap: 8px;
		margin-bottom: 10px;
	}
	
	    .section-header {
        margin: 10px 0;
    }
	
	.footer-keyword {
		font-size: 10px;
	}

	.error-content {
		padding: 30px 20px;
		margin: 20px;
	}

	.error-code {
		font-size: 6rem;
	}

	.error-title {
		font-size: 2rem;
	}

	.error-message {
		font-size: 1.1rem;
	}

	.error-actions {
		flex-direction: column;
		gap: 15px;
	}

	.error-btn {
		width: 100%;
		justify-content: center;
	}

	.featured-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.error-code {
		font-size: 4rem;
	}

	.error-title {
		font-size: 1.5rem;
	}

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

.movie-detail-page {
	margin: 0 auto;
}

.breadcrumbs {
	font-size: 14px;
	color: var(--text);
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.breadcrumbs ol {
	list-style:none; 
	padding:0; 
	display:flex; 
	gap:5px;
	align-items: center;
}

.breadcrumbs a {
	color: var(--links);
	text-decoration: underline;
	transition: color 0.2s;
}

.breadcrumbs a:hover {
	color: var(--orange);
}

.breadcrumbs i {
	margin: 0 8px;
	font-size: 12px;
}
.movie-header {
	display: flex;
	flex-direction: column;
}

.movie-title {
	font-size: 28px;
	margin-bottom: 10px;
	color: var(--white);
	display: flex;
	align-items: center;
}

.movie-title i {
	color: #ffd700;
	margin-right: 10px;
	font-size: 24px;
}

.movie-meta {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.poster-column {
	flex: 0 0 200px;
}

.movie-poster {
	width: 100%;
	height: auto;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.info-column {
	flex: 1;
	min-width: 300px;
}

.inline-ratings {
	display: flex;
	gap: 15px;
	margin-bottom: 10px;
}

.rating-block {
	display: flex;
	align-items: center;
	padding: 8px 12px;
	border-radius: 4px;
	gap: 8px;
	
	font-weight: 500;
}

.imdb-rating {
	background-color: rgba(245, 197, 24, 0.15);
	border: 1px solid #f5c518;
}

.tmdb-rating {
	background-color: rgba(1, 180, 228, 0.15);
	border: 1px solid #01b4e4;
}

.rating-icon {
	width: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.rating-icon img {
	width: 100%;
	height: auto;
}

.rating-value {
	font-size: 16px;
	font-weight: 600;
}

.meta-row {
	display: flex;
	margin-bottom: 10px;
	line-height: 1.4;
}

.meta-label {
	font-weight: 500;
	color: var(--meta);
	min-width: 130px;
	margin-right: 15px;
	flex-shrink: 0;
}

.meta-value {
	color: var(--white);
}

.meta-value a {
	color: var(--meta2);
	text-decoration: underline;
	transition: color 0.2s;
	margin-right: 5px;
}

.meta-value a:hover {
	color: var(--orange);
}

.movie-description {
	margin-bottom: 10px;
}

.movie-description h2 {
	font-size: 22px;
	margin-bottom: 15px;
	color: var(--white);
}

.description-text {
	color: var(--text);
	text-align: justify;
	font-size: 14px;
    font-weight: 400;
}


@media (max-width: 768px) {
	.movie-meta {
		flex-direction: column;
		gap: 0;
	}

	.user-section {
		display: none;
	}

	.poster-column {
		align-self: center;
	}

	.movie-title {
		font-size: 22px;
	}

	.inline-ratings {
		justify-content: space-between;
	}

	.rating-block {
		flex: 1;
		justify-content: center;
	}
}

@media (max-width: 480px) {
	.section-header {
		margin: 0 0 10px 0;
	}

	.section-header h2 {
		font-size: 1.3rem;
	}

	.movie-title {
		font-size: 20px;
	}

	.meta-row {
		margin-bottom: 4px;
		min-width: 86px;
		display: block;
	}

	.meta-label {
		min-width: auto;
		margin-bottom: 4px;
	}
}


.social-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: all 0.3s ease;
	font-size: 30px;
	padding: 4px;
}

.social-icon:hover {
	transform: scale(1.2);
}

.vk-icon {
	color: #4C75A3;
}

.vk-icon:hover {
	color: #5b88bd;
}

.telegram-icon {
	color: #0088cc;
}

.telegram-icon:hover {
	color: #00a2ff;
}

.instagram-icon {
	background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.instagram-icon:hover {
	background: linear-gradient(45deg, #5065f0, #6962e6, #9548c9, #d43d95, #f1427e, #ff3838);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}


.pagination {
	max-width: 1800px;
	margin: 30px auto;
	padding: 0 20px;
	display: flex;
	justify-content: center;
	
	font-weight: 600;
}

.from {
	padding: 8px 16px;
	margin: 0 5px;
	background: var(--orange);
	color: var(--white);
	text-decoration: none;
}

.pagination a {
	padding: 8px 16px;
	margin: 0 5px;
	transition: background-color 0.3s;
	background: var(--header-sidebar-footer);
	color: var(--white);
	text-decoration: none;
}

.pagination a.active,
.pagination a:hover {
	background: var(--orange);
	color: var(--white);
	text-decoration: none;
}

.player-container {
	margin-bottom: 40px;
	overflow: hidden;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
	position: relative;
	background: #000;
}

.player-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.video-player {
	position: relative;
	width: 100%;
	cursor: pointer;
	aspect-ratio: 16 / 9;
	background-color: #000;
	overflow: hidden;
}

.video-player img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.player-link:hover .video-player img {
	transform: scale(1.02);
}

.youtube-play-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	background: rgba(0, 0, 0, 0.4);
	transition: all 0.3s ease;
	z-index: 10;
}

.youtube-play-button {
	width: 80px;
	height: 80px;
	background: var(--orange);
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: all 0.3s ease;
	box-shadow: 0 4px 20px rgba(255, 87, 34, 0.3);
}

.youtube-play-button i {
	color: white;
	font-size: 32px;
	margin-left: 4px;
}

.player-link:hover .youtube-play-button {
	transform: scale(1.1);
	background: var(--orange);
	box-shadow: 0 6px 25px rgba(255, 87, 34, 0.4);
}

.youtube-controls {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
	padding: 20px 16px 12px;
	display: flex;
	align-items: center;
	opacity: 1;
	transition: opacity 0.3s ease;
	z-index: 5;
}

.player-link:hover .youtube-controls {
	opacity: 1;
}

.progress-bar-container {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: rgba(255, 255, 255, 0.2);
	cursor: pointer;
}

.progress-bar {
	height: 100%;
	background: #ff0000;
	width: 2%;
	position: relative;
}

.progress-bar::after {
	content: '';
	position: absolute;
	right: -6px;
	top: 50%;
	transform: translateY(-50%);
	width: 12px;
	height: 12px;
	background: #ff0000;
	border-radius: 50%;
	opacity: 1;
	transition: opacity 0.2s ease;
}

.player-link:hover .progress-bar::after {
	opacity: 1;
}

.controls-main {
	display: flex;
	align-items: center;
	width: 100%;
	justify-content: space-between;
}

.left-controls {
	display: flex;
	align-items: center;
	gap: 12px;
}

.right-controls {
	display: flex;
	align-items: center;
	gap: 12px;
}

.control-button {
	background: none;
	border: none;
	color: white;
	cursor: pointer;
	padding: 8px;
	border-radius: 4px;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.control-button:hover {
	background: rgba(255, 255, 255, 0.1);
}

.control-button i {
	font-size: 20px;
}

.play-pause-btn {
	background: rgba(255, 255, 255, 0.1);
}

.play-pause-btn:hover {
	background: rgba(255, 255, 255, 0.2);
}

.volume-container {
	display: flex;
	align-items: center;
	gap: 8px;
}

.volume-slider {
	width: 80px;
	height: 4px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 2px;
	position: relative;
	cursor: pointer;
}

.volume-level {
	position: absolute;
	height: 100%;
	background: white;
	border-radius: 2px;
	width: 70%;
}

.time-display {
	color: white;
	font-size: 14px;
	font-family: 'Roboto', sans-serif;
	font-weight: 500;
	margin: 0 8px;
}

.video-title-overlay {
	position: absolute;
	top: 16px;
	left: 16px;
	color: white;
	font-size: 16px;
	font-weight: 500;
	background: rgba(0, 0, 0, 0.7);
	padding: 8px 12px;
	border-radius: 4px;
	opacity: 1;
	transition: opacity 0.3s ease;
}

.player-link:hover .video-title-overlay {
	opacity: 1;
}

@media (max-width: 768px) {

	.from {
	   display: none;
	}

	.section-header h2,
	.view-all-btn {
		font-size: 0.9rem;
	}

	.youtube-play-button {
		width: 70px;
		height: 70px;
	}

	.youtube-play-button i {
		font-size: 28px;
	}

	.control-button i {
		font-size: 18px;
	}

	.volume-slider {
		width: 60px;
	}
}

@media (max-width: 480px) {
	.youtube-play-button {
		width: 60px;
		height: 60px;
	}

	.youtube-play-button i {
		font-size: 24px;
	}

	.youtube-controls {
		padding: 16px 12px 8px;
	}

	.control-button {
		padding: 6px;
	}

	.control-button i {
		font-size: 16px;
	}

	.volume-slider {
		width: 50px;
	}

	.time-display {
		font-size: 12px;
	}
}

@media (max-width: 600px) {
	.main-wrapper {
		min-height: calc(100vh - 220px);
		margin-top: 64px;
	}

	.video-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	.video-card {
		max-width: 100%;
		max-width: 220px;
	}

	.thumbnail {
		height: 330px;
	}

	header {
		flex-wrap: wrap;
		height: auto;
	}

	.left-section {
		width: 100%;
		justify-content: left;
		order: 1;
	}

	.center-section {
		display: none;
	}

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

	.search-input {
		max-width: 100%;
	}

	.user-section {
		order: 2;
		margin-left: auto;
	}
}

@media (max-width: 360px) {
	.section-header {
		margin: 0 0 10px 0;
	}

	.section-header h2,
	.view-all-btn {
		font-size: 0.7rem;
	}

	.video-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.video-card {
		max-width: 280px;
		margin: 0 auto;
	}

	.thumbnail {
		height: 360px;
	}
}

.popular {
	gap: 10px;
	display: flex;
}

.collections-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
	gap: 10px;
	justify-items: center;
	justify-content: space-evenly;
}

.collection-card {
	cursor: pointer;
	background: var(--header-sidebar-footer);
	overflow: hidden;
	transition: transform 0.2s, box-shadow 0.2s;
	display: flex;
	flex-direction: column;
	width: 100%;
	/*max-width: 285px;*/
	flex-shrink: 0;
	position: relative;
}

.collection-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.collection-card a {
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.collection-thumbnail {
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 56.25%;
	background-color: var(--block-hover);
	overflow: hidden;
}

.collection-thumbnail img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.collection-info {
	display: flex;
	padding: 6px;
	flex: 1;
	flex-direction: column;
	gap: 6px;
}

.collection-title {
	font-weight: 500;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	line-height: 1.3;
	color: white;
	
	font-size: 14px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	text-decoration: none;
}

.collection-count {
	color: var(--footer-text);
	font-size: 12px;
	
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-decoration: none;
}

.carousel-container {
	position: relative;
	overflow: hidden;
}

.carousel-wrapper {
	overflow: hidden;
	position: relative;
	margin: 0 auto;
	max-width: 100%;
}

.carousel-track {
	display: flex;
	gap: 10px;
	padding: 10px 0;
	transition: transform 0.6s ease-in-out;
	will-change: transform;
}

.carousel-track .video-card {
	flex: 0 0 auto;
}

@media (max-width: 1200px) {
	.carousel-track .video-card {
		width: 220px;
		min-width: 220px;
	}
}

@media (max-width: 768px) {
	.carousel-track .video-card {
		width: 220px;
		min-width: 220px;
	}

	.carousel-container {
		padding: 0 5px;
	}
}

@media (max-width: 480px) {
	.carousel-track .video-card {
		width: 220px;
		min-width: 220px;
	}
}

.carousel-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(26, 26, 26, 0.9);
	border: 2px solid var(--orange);
	color: white;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	z-index: 10;
	opacity: 0;
	font-size: 18px;
}

.carousel-container:hover .carousel-btn {
	opacity: 1;
}

.carousel-btn:hover {
	background: var(--orange);
	transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
	left: 10px;
}

.carousel-next {
	right: 10px;
}

.top100-container {
	margin: 0 auto;
}

.top100-tabs {
	display: flex;
	margin-bottom: 20px;
	border-bottom: 1px solid var(--block-hover);
}

.top100-tab {
	padding: 12px 24px;
	cursor: pointer;
	
	font-weight: 500;
	color: var(--text);
	border-bottom: 3px solid transparent;
	transition: all 0.3s ease;
}

.top100-tab.active {
	color: var(--orange);
	border-bottom-color: var(--orange);
}

.top100-tab:hover {
	color: var(--white);
}

.top100-content {
	display: none;
}

.top100-content.active {
	display: block;
}

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

.top100-item {
	display: flex;
	background-color: var(--header-sidebar-footer);
	overflow: hidden;
	transition: transform 0.2s, box-shadow 0.2s;
	cursor: pointer;
}

.top100-item-link {
	text-decoration: none;
	color: inherit;
	display: block;
}

.top100-item-link:hover .top100-item {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.top100-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.top100-rank {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	background: var(--orange);
	color: var(--white);
	
	font-weight: 700;
	font-size: 20px;
	flex-shrink: 0;
}

.top100-poster {
	width: 80px;
	height: 120px;
	flex-shrink: 0;
}

.top100-poster img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.top100-info {
	flex: 1;
	padding: 12px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.top100-title {
	font-weight: 500;
	color: var(--white);
	font-size: 16px;
	line-height: 1.3;
	margin-bottom: 8px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.top100-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 14px;
}

.top100-year {
	color: var(--text);
}

.top100-rating {
	display: flex;
	align-items: center;
	gap: 4px;
	color: var(--rating-high);
	font-weight: 500;
}

.top100-rating::before {
	content: "★";
	color: #ffd700;
}

.top100-type {
	position: absolute;
	top: 8px;
	right: 8px;
}

.top100-item-wrapper {
	position: relative;
	display: flex;
	flex: 1;
}

@media (max-width: 768px) {
	.top100-grid {
		grid-template-columns: 1fr;
	}

	.top100-tabs {
		flex-wrap: wrap;
	}

	.top100-tab {
		padding: 8px 16px;
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	.top100-rank {
		width: 50px;
		font-size: 18px;
	}

	.top100-poster {
		width: 70px;
		height: 105px;
	}

	.top100-info {
		padding: 8px;
	}

	.top100-title {
		font-size: 14px;
	}
}

.contact {
	max-width: 800px;
	margin: 0 auto;
	padding: 20px;
}

.contact hgroup {
	text-align: center;
	margin-bottom: 30px;
	color: var(--text);
	font-size: 16px;
	line-height: 1.6;
}

.contact-form {
	background: var(--header-sidebar-footer);
	border-radius: 12px;
	padding: 30px;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
	border: 1px solid var(--block-hover);
}

.contact-form fieldset {
	border: none;
	margin-bottom: 20px;
	padding: 0;
}

.contact-form label {
	display: block;
	margin-bottom: 8px;
	color: var(--white);
	font-weight: 500;
	font-size: 14px;
}

.contact-form p {
	color: var(--text);
	font-size: 12px;
	margin-bottom: 8px;
	line-height: 1.4;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
	width: 100%;
	padding: 12px 16px;
	background: var(--main);
	border: 1px solid var(--block-hover);
	border-radius: 8px;
	color: var(--white);
	
	font-size: 14px;
	transition: all 0.3s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: var(--orange);
	box-shadow: 0 0 0 2px rgba(255, 102, 0, 0.2);
}

.contact-form textarea {
	resize: vertical;
	min-height: 120px;
	line-height: 1.5;
}

.contact-form input[type="submit"] {
	background: linear-gradient(135deg, var(--orange), #e55a00);
	color: white;
	border: none;
	padding: 14px 32px;
	border-radius: 8px;
	
	font-weight: 500;
	font-size: 16px;
	cursor: pointer;
	transition: all 0.3s ease;
	width: 100%;
	margin-top: 10px;
}

.contact-form input[type="submit"]:hover {
	background: linear-gradient(135deg, #ff8c00, var(--orange));
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
}

.contact-form input[type="submit"]:active {
	transform: translateY(0);
}

.form-row {
	display: flex;
	gap: 15px;
}

.form-row fieldset {
	flex: 1;
}

#contact-response-message {
	text-align: center;
	padding: 15px;
	border-radius: 8px;
	margin-bottom: 20px;
	font-weight: 500;
}

#contact-response-message.success {
	background: rgba(6, 182, 1, 0.15);
	border: 1px solid var(--rating-high);
	color: var(--rating-high);
}

#contact-response-message.error {
	background: rgba(255, 62, 62, 0.15);
	border: 1px solid var(--rating-low);
	color: var(--rating-low);
}

#contact-response-message.info {
	background: rgba(239, 166, 31, 0.15);
	border: 1px solid var(--rating-medium);
	color: var(--rating-medium);
}

.notice {
	padding: 15px;
	border-radius: 8px;
	text-align: center;
	font-weight: 500;
	margin: 20px 0;
}

.notice.error {
	background: rgba(255, 62, 62, 0.15);
	border: 1px solid var(--rating-low);
	color: var(--rating-low);
}

.notice.success {
	background: rgba(6, 182, 1, 0.15);
	border: 1px solid var(--rating-high);
	color: var(--rating-high);
}

.contact-form input,
.contact-form textarea {
	animation: slideUp 0.5s ease-out;
}

.contact-form fieldset {
	animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.contact-form input[type="submit"].loading {
	position: relative;
	color: transparent;
}

.contact-form input[type="submit"].loading::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 20px;
	height: 20px;
	border: 2px solid transparent;
	border-top: 2px solid white;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% {
		transform: translate(-50%, -50%) rotate(0deg);
	}

	100% {
		transform: translate(-50%, -50%) rotate(360deg);
	}
}

@media (max-width: 768px) {
	.contact {
		padding: 15px;
	}

	.contact-form {
		padding: 20px;
	}

	.form-row {
		flex-direction: column;
		gap: 0;
	}

	.contact hgroup {
		font-size: 14px;
		margin-bottom: 20px;
	}
}

@media (max-width: 480px) {
	.contact {
		padding: 10px;
	}

	.contact-form {
		padding: 15px;
	}

	.contact-form input[type="text"],
	.contact-form input[type="email"],
	.contact-form textarea {
		padding: 10px 12px;
		font-size: 13px;
	}

	.contact-form input[type="submit"] {
		padding: 12px 24px;
		font-size: 14px;
	}
}

.contact-form input:invalid:not(:focus):not(:placeholder-shown),
.contact-form textarea:invalid:not(:focus):not(:placeholder-shown) {
	border-color: var(--rating-low);
	background: rgba(255, 62, 62, 0.05);
}

.contact-form input:valid:not(:focus):not(:placeholder-shown),
.contact-form textarea:valid:not(:focus):not(:placeholder-shown) {
	border-color: var(--rating-high);
	background: rgba(6, 182, 1, 0.05);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
	color: var(--text);
	opacity: 0.7;
}

.contact-form input:focus,
.contact-form textarea:focus {
	transform: translateY(-1px);
	box-shadow: 0 4px 15px rgba(255, 102, 0, 0.2);
}

.contact-form input:hover:not(:focus),
.contact-form textarea:hover:not(:focus) {
	border-color: #444;
}
.tabs-container {
    width: 100%;
}

.tabs-header {
    display: flex;
    border-bottom: 2px solid var(--block-hover);
    margin-bottom: 20px;
}

.tab-button {
    background: none;
    border: none;
    padding: 12px 24px;
    
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    font-size: 16px;
}

.tab-button:hover {
    color: var(--white);
    background: rgba(255, 102, 0, 0.1);
}

.tab-button.active {
    color: var(--orange);
    border-bottom-color: var(--orange);
    background: rgba(255, 102, 0, 0.05);
}

.tabs-content {
    position: relative;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Стили для страницы поиска */
.search-results-page {
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px;
}

.search-header {
    margin-bottom: 30px;
    text-align: center;
}

.search-query {
    font-size: 28px;
    color: var(--white);
    margin-bottom: 10px;
    
}

.search-count {
    color: var(--text);
    font-size: 16px;
}


.no-results {
    text-align: center;
    padding: 60px 20px;
}

.no-results-icon {
    font-size: 80px;
    color: var(--orange);
    margin-bottom: 20px;
}

.no-results-title {
    font-size: 24px;
    color: var(--white);
    margin-bottom: 15px;
    
}

.no-results-message {
    color: var(--text);
    font-size: 16px;
    max-width: 500px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.search-suggestions-alt {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 30px;
}

.search-suggestion-alt {
    padding: 8px 16px;
    background: rgba(255, 102, 0, 0.1);
    border: 1px solid rgba(255, 102, 0, 0.3);
    border-radius: 20px;
    color: #ff6600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.search-suggestion-alt:hover {
    background: rgba(255, 102, 0, 0.2);
    transform: translateY(-2px);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.pagination-search {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination-search a {
    padding: 8px 16px;
    background: var(--header-sidebar-footer);
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    
    font-weight: 500;
}

.pagination-search a.active,
.pagination-search a:hover {
    background: var(--orange);
    color: var(--white);
}

.pagination-search .disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-info {
    color: var(--text);
    font-size: 14px;
}

/* Адаптивность для страницы поиска */
@media (max-width: 768px) {
    .search-results-page {
        padding: 15px;
    }
    
    .search-query {
        font-size: 22px;
    }
            
    .results-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .no-results-icon {
        font-size: 60px;
    }
    
    .no-results-title {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .search-results-page {
        padding: 10px;
    }
    
    .search-query {
        font-size: 18px;
    }
    
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    
    .pagination-search {
        gap: 8px;
    }
    
    .pagination-search a {
        padding: 6px 12px;
        font-size: 14px;
    }
}

.selection-title-overlay {
	position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    background: rgb(213 207 207 / 70%);
    padding: 4px 6px;
    border-radius: 2px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.future-date {
	background:var(--orange);
	border-radius:4px;
	color:var(--white);
	padding:4px 8px;
}

@media (max-width: 768px) {
.future-date {
    display: block;
	text-align: center;
    width: 100%;
    margin: 10px 0;
    }
}

.sidebar.compact .sidebar-section-title {
    display: none;
}


.genres-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}



/* Класс для открытия списка */
.genres-dropdown.open {
    max-height: 2000px; 
    transition: max-height 0.5s ease-in;
}

.sidebar-section-title i {
    transition: transform 0.3s ease;
}

.sidebar-section-title.open i {
    transform: rotate(180deg);
}

.sidebar.compact .footer-bottom {
    display: none;
}

.sidebar-section-title {
    user-select: none; 
}

.sidebar-section-title {
    display: flex;
    align-items: center;
    user-select: none;
}

.sidebar-section-title .main-icon {
    display: none; 
    width: 0; 
    visibility: hidden;
}

.sidebar-section-title .title-text {
    flex-grow: 1;
    padding-left: 10px;
}

.sidebar.compact .sidebar-section-title .title-text,
.sidebar.compact .sidebar-section-title .dropdown-arrow {
    display: none;
}

.sidebar.compact .sidebar-section-title {
    display: flex; 
    justify-content: center; 
    align-items: center;
    width: 100%;
}

.sidebar.compact .sidebar-section-title .main-icon {
    display: block; /* Показываем иконку */
    visibility: visible;
    width: auto;
    margin: 0; 
    padding: 0;
}

.sidebar.compact .sidebar-item span {
    display: none;
}
.sidebar.compact .sidebar-item i.sidebar-icon, 
.sidebar-section-title i,
.sidebar.compact .sidebar-item img.sidebar-icon {
    font-size: 14px;
    margin: 0 auto;
	 font-style: normal;
}

.genres-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.genres-dropdown.open {
    max-height: 2000px; 
    transition: max-height 0.5s ease-in;
}

.sidebar-section-title .dropdown-arrow {
    transition: transform 0.3s ease;
}
.sidebar-section-title.open .dropdown-arrow {
    transform: rotate(180deg);
}

.sidebar.compact .footer-bottom {
    display: none;
}




.page-404-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 80vh; 
    text-align: center;
    padding: 50px 20px;
    width: 100%;
    box-sizing: border-box;
}

.error-404-content {
    max-width: 650px;
    width: 100%;
    padding: 20px;
    background: none; 
    box-shadow: none;
}

.error-404-icon {
    font-size: 80px;
    color: var(--movie); 
    margin-bottom: 20px;
    animation: swing 3s ease-in-out infinite; 
}

.error-404-number {
    font-size: 180px;
    font-weight: 900;
    color: var(--text);
    opacity: 0.08; 
    line-height: 1;
    margin-bottom: -45px; 
    position: relative;
    z-index: 1;
    user-select: none;
}

.error-404-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
    position: relative;
    z-index: 2; 
}

.error-404-message {
    font-size: 18px;
    color: var(--meta); 
    margin-bottom: 40px;
    line-height: 1.6;
}

.error-404-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; 
}

.error-404-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.2s, transform 0.2s, color 0.2s;
    text-transform: uppercase;
}

.primary-btn {
    background-color: var(--all); 
    color: var(--white);
}

.primary-btn:hover {
    background-color: var(--all-hover);
    transform: translateY(-2px);
}

.search-btn {
    background-color: transparent;
    color: var(--movie);
    border: 1px solid var(--movie);
}

.search-btn:hover {
    background-color: var(--movie);
    color: var(--black);
    transform: translateY(-2px);
}

@keyframes swing {
    0% { transform: rotate(0deg); }
    15% { transform: rotate(5deg); }
    30% { transform: rotate(-5deg); }
    45% { transform: rotate(5deg); }
    60% { transform: rotate(-3deg); }
    100% { transform: rotate(0deg); }
}

@media (max-width: 768px) {
    .error-404-number {
        font-size: 120px;
        margin-bottom: -20px;
    }
    .error-404-icon {
        font-size: 60px;
    }
    .error-404-title {
        font-size: 28px;
    }
    .error-404-message {
        font-size: 15px;
    }
    .error-404-actions {
        flex-direction: column; 
        gap: 10px;
    }
    .error-404-button {
        width: 100%;
        justify-content: center;
    }
}

.top-actors-section {
    margin: 20px 0;
}

.top-actors-section .section-header {
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-actors-scroll-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 15px 0 10px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--block-hover) var(--header-sidebar-footer);
}

.top-actors-scroll-wrapper::-webkit-scrollbar {
    height: 4px;
}
.top-actors-scroll-wrapper::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}
.top-actors-scroll-wrapper::-webkit-scrollbar-thumb {
    background: var(--orange);
    border-radius: 10px;
}

.top-actors-grid {
    display: flex;
    gap: 15px;
    min-width: max-content;
}

.top-actor-item {
    width: 100px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    transition: transform .2s ease;
}

.top-actor-item:hover {
    transform: translateY(-5px);
}

.actor-avatar {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 8px;
    background: #1a1a1a;
    transition: border-color .3s;
}

.top-actor-item:hover .actor-avatar {
    border-color: var(--orange);
}

.actor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.actor-mini-name {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 100%;
}

@media (max-width: 480px) {
    .top-actors-grid {
        gap: 10px;
    }
    .top-actor-item {
        width: 80px;
    }
    .actor-avatar {
        width: 70px;
        height: 70px;
    }
    .actor-mini-name {
        font-size: 11px;
    }
}
.top-actors-section .section-header {
	margin: 0;
}

.sidebar-section.collapsible-section .sidebar-section-title {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s;
}

.sidebar-section.collapsible-section .sidebar-section-title:hover {
    color: var(--white);
}

.sidebar-section.collapsible-section .sidebar-section-title i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.sidebar-section-title.active i {
    transform: rotate(180deg);
    color: var(--orange);
}

.sidebar-menu-container.hidden-content {
    display: none;
    padding-bottom: 10px;
}

.sidebar-menu-container.visible {
    display: block;
    animation: fadeInSlide 0.3s ease;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


 .actor-profile-hero { display: flex; gap: 10px; background: var(--header-sidebar-footer); padding: 10px; margin-bottom: 10px; border: 1px solid var(--block-hover); box-shadow: 0 10px 30px rgba(0,0,0,0.2); align-items: flex-start; }
   .actor-profile-image { position: relative; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.3); }
   .actor-profile-image img { width: 100%; height: auto; display: block; object-fit: cover; border: 1px solid var(--block-hover); }
   .actor-profile-info { flex: 1; display: flex; flex-direction: column; }
   
   /* Стили для заголовка и рейтинга */
   .actor-header-flex { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; flex-wrap: wrap; gap: 10px; }
   .actor-name { font-family: 'Unbounded', sans-serif; font-size: 22px; font-weight: 700; color: var(--white); line-height: 1.2; margin: 0; }
   .actor-popularity-val { background: #46b450; color: #fff; padding: 4px 10px; border-radius: 4px; font-size: 14px; font-weight: 800; display: flex; align-items: center; gap: 6px; box-shadow: 0 2px 4px rgba(0,0,0,0.2); }

   .actor-dates-row { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,0.1); }
   .actor-date-item { font-family: 'Inter', sans-serif; font-size: 14px; display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.05); padding: 6px 12px; }
   .actor-date-item .label { color: var(--meta); font-weight: 500; }
   .actor-date-item .value { color: var(--orange); font-weight: 600; }
   .actor-date-item.death .value { color: var(--rating-low); }
   
   /* Стили для блока псевдонимов */
   .actor-aka-block { margin-bottom: 15px; font-size: 13px; color: var(--meta); line-height: 1.4; background: rgba(0,0,0,0.1); padding: 10px; border-radius: 4px; border-left: 3px solid var(--orange); }
   .actor-aka-title { font-weight: bold; color: var(--white); margin-bottom: 4px; display: block; text-transform: uppercase; font-size: 11px; letter-spacing: 0.5px; }
   
   .actor-bio-text { font-family: 'Inter', sans-serif; color: var(--text); font-size: 15px; line-height: 1.7; text-align: left; }
   
   @media (max-width: 900px) { .actor-profile-hero { padding: 10px;} .actor-profile-image { } .actor-name { font-size: 20px; } }
   @media (max-width: 600px) { .actor-profile-hero { flex-direction: column; align-items: center; text-align: center; } .actor-profile-image { flex: 0 0 auto;} .actor-dates-row { justify-content: center; } .actor-bio-text { text-align: justify; } .actor-header-flex { justify-content: center; } }
   .is-deceased .thumbnail::before, .is-deceased .actor-profile-image::before { content: ""; position: absolute; top: 18px; right: -20px; width: 86px; height: 16px; background: #000; transform: rotate(45deg); z-index: 11; box-shadow: 0 0 5px rgba(0,0,0,0.5); }
   
   
.actor-filters-container { 
    background: var(--header-sidebar-footer); 
    padding: 10px; 
    border: 1px solid var(--block-hover); 
    border-radius: 4px; 
    margin-bottom: 30px; 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
}

.actor-alphabet-filter { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 6px; 
}

.letter-btn { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    width: 32px; 
    height: 32px; 
    background: rgba(255,255,255,0.05); 
    color: var(--white); 
    text-decoration: none; 
    font-weight: bold; 
    font-size: 13px;
    border-radius: 4px; 
    transition: 0.2s; 
    border: 1px solid transparent; 
}

.letter-btn:hover, .meta-filter-btn:hover { background: var(--block-hover); color: var(--orange); }
.letter-btn.active, .meta-filter-btn.active { background: var(--orange); color: #fff; }
.letter-btn.reset-btn { width: auto; padding: 0 12px; }

.actor-meta-filters { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 10px; 
    padding-top: 10px; 
    align-items: center; 
}

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

.filter-group label { 
    font-size: 12px; 
    color: var(--meta); 
    font-weight: 600; 
    text-transform: uppercase;
    width: 100%; 
}

.meta-filter-btn { 
    padding: 6px 10px; 
    background: rgba(255,255,255,0.05); 
    color: var(--white); 
    text-decoration: none; 
    font-size: 12px; 
    border-radius: 4px; 
    transition: 0.2s; 
    display: flex; 
    align-items: center; 
    gap: 5px; 
}

#toggle-alphabet { display: none; }
.alphabet-toggle-label { 
    display: none; 
    justify-content: center; 
    align-items: center; 
    padding: 10px; 
    background: var(--block-hover); 
    color: var(--white); 
    border-radius: 4px; 
    cursor: pointer; 
    font-size: 14px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .actor-filters-container { padding: 10px; gap: 10px; }
    
    .alphabet-toggle-label { display: flex; gap: 10px; }
    
    .actor-alphabet-filter { 
        display: none; 
        background: rgba(0,0,0,0.2);
        padding: 10px;
        border-radius: 4px;
    }
    
    #toggle-alphabet:checked ~ .actor-alphabet-filter { 
        display: flex; 
    }

    .letter-btn { width: 28px; height: 28px; font-size: 11px; }
    .meta-filter-btn { flex: 1 1 auto; justify-content: center; font-size: 11px; }
    .filter-group { width: 100%; }
}

.actor-card .thumbnail img { aspect-ratio: 2/3; object-fit: cover; }
.actor-card .popularity-badge { position: absolute; top: 8px; left: 8px; background: #46b450; color: #fff; padding: 2px 8px; border-radius: 4px; font-size: 12px; font-weight: 700; z-index: 12; display: flex; align-items: center; gap: 4px; }
.actor-card .voice-badge { position: absolute; top: 8px; right: 8px; background: #0073aa; color: #fff; padding: 2px 8px; border-radius: 4px; font-size: 12px; font-weight: 700; z-index: 12; }
.pagination { display: flex; justify-content: center; gap: 5px; margin: 20px 0; flex-wrap: wrap; }
.is-deceased .thumbnail::before { content: ""; position: absolute; top: 18px; right: -20px; width: 86px; height: 16px; background: #000; transform: rotate(45deg); z-index: 11; }
.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 40px; margin-bottom: 40px; }
.pagination a, .pagination span { padding: 8px 16px; background: var(--header-sidebar-footer); color: var(--white); border-radius: 4px; text-decoration: none; border: 1px solid var(--block-hover); }
.pagination span.current { background: var(--orange); border-color: var(--orange); }


.actor-filters-container { 
    background: var(--header-sidebar-footer); 
    padding: 15px; 
    border: 1px solid var(--block-hover); 
    border-radius: 4px; 
    margin-bottom: 30px; 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
}


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

.filter-group label { 
    font-size: 12px; 
    color: var(--meta); 
    font-weight: 600; 
    text-transform: uppercase;
    width: 100%; 
}


.reset-group { margin-left: auto; }


@media (max-width: 768px) {
    .actor-filters-container { padding: 10px; gap: 10px; }
    .filter-group { width: 100%; }
    .reset-group { margin-left: 0; width: 100%; }
}

.caramel-banner {
	margin:0 auto;
}



/* ==========================================================================
   NETFLIX GRID & CARDS (Для страниц тегов и архивов)
   ========================================================================== */

.nf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: 15px;
    margin-top: 10px;
}

@media screen and (min-width: 1400px) {
    .nf-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .nf-grid { gap: 10px; }
}


.nf-card {
    display: flex;
    gap: 10px;
    padding: 10px;
    background: var(--header-sidebar-footer);
    border: 1px solid var(--block-hover);
    text-decoration: none;
    color: var(--white);
    transition: 0.2s;
}

.nf-card:hover {
    border-color: var(--orange);
    background: var(--main);
}


.nf-poster {
    width: 120px;
    min-width: 120px;
    height: 180px; 
    overflow: hidden;
    position: relative;
    background: #000;
}

.nf-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.nf-card:hover .nf-poster img {
    transform: scale(1.05);
}

.nf-ratings {
    position: absolute;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}

.nf-ratings span {
    display: block;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
}

.nf-ratings .imdb { background: #f5c518; color: #000; }
.nf-ratings .tmdb { background: rgba(0, 0, 0, 0.5); border: 1px solid #01b4e4; color: #fff; }

/* Текстовый блок карточки */
.nf-details {
    flex-grow: 1;
    position: relative;
    overflow: hidden;
    min-width: 0;
}

.nf-title {
    margin: 0;
    font-size: 15px;
    line-height: 1.25;
    padding-right: 45px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.5em;
}

.nf-orig-title {
    font-size: 11px;
    color: var(--meta);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.nf-meta {
    font-size: 12px;
    color: var(--orange);
    font-weight: 600;
}

.nf-subgenre {
    font-size: 11px;
    color: var(--meta);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}

.nf-description {
    font-size: 13px;
    color: var(--text);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 5px;
}

.dt-class-grid {
display: flex;
flex-direction: column;
background: var(--header-sidebar-footer);
border: 1px solid #333;
overflow: hidden;
}
.dt-class-grid-head {
display: grid;
grid-template-columns: 1.2fr 1.5fr 1.2fr 1.2fr 1.2fr;
background: #252525;
border-bottom: 1px solid #333;
padding: 10px;
text-transform: uppercase;
text-align: center;
font-weight: bold;
color: #bbb;
font-size: 13px;
}
.dt-class-h-item {
letter-spacing: 1px;
}
.dt-class-grid-row {
display: grid;
grid-template-columns: 1.2fr 1.5fr 1.2fr 1.2fr 1.2fr;
border-bottom: 1px solid #252525;
}
.dt-class-grid-cell {
padding: 10px;
font-size: 14px;
color: var(--text);
line-height: 1.4;
border-right: 1px solid #333;
display: flex;
align-items: center;
}
.dt-class-grid-cell.genre-name {
background: rgba(0,0,0,0.2);
color: var(--white);
gap:10px;
}
.dt-class-grid-footer {
grid-column: 1 / -1;
}
.dt-class-btn-full-width {
display: block;
width: 100%;
padding: 10px;
text-align: left;
font-size: 14px;
transition: 0.3s;
color: var(--meta2);
text-decoration: none;
background: var(--block-hover);
}
.dt-class-btn-full-width:hover {
background: #444;
}
.dt-class-details-section h3 {
font-size: 18px;
margin: 10px 0;
color: var(--white);
}
.dt-class-details-section p {
color: var(--text);
margin-bottom: 15px;
}
.dt-class-details-section a {
color: var(--orange);
text-decoration: none;
font-size: 12px;
font-family: 'Inter', sans-serif;
}
.dt-class-details-section a:hover { text-decoration: underline; }
@media (max-width: 950px) {
.dt-class-grid-head { display: none; }
.dt-class-grid-row { grid-template-columns: 1fr; }
.dt-class-grid-cell { border-right: none; padding: 10x; }
.dt-class-grid-cell:before {
content: attr(data-label);
font-weight: 700;
color: var(--orange);
width: 110px;
min-width: 110px;
font-size: 10px;
text-transform: uppercase;
display: inline-block;
}
.genre-name { background: var(--orange)!important; color: #000!important; font-size: 16px; padding: 12px 15px; }
.genre-name:before { display: none; }
}

.actor-voice-badge { background:#0073aa; color: #fff; padding: 4px 10px; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; font-weight: 600;}
.actor-profile-hero { background: var(--header-sidebar-footer); padding: 10px; margin-bottom: 20px; border-radius: 4px; display: flex; flex-direction: column; position: relative; border: 1px solid #222; }
.actor-main-flex { display: flex; gap: 20px; align-items: flex-start; }
.actor-pop-badge { position: absolute; top: 15px; right: 25px; background: #46b450; color: #fff; padding: 6px 12px; border-radius: 4px; font-weight: 900; font-size: 24px; display: flex; align-items: center; gap: 8px; z-index: 10; box-shadow: 0 4px 15px rgba(0,0,0,0.4); }
.actor-left-side { flex: 0 0 240px; position: relative; }
.actor-profile-image img { width: 100%; display: block; }
.actor-profile-info { flex: 1; }
.actor-name { font-size: clamp(22px, 5vw, 32px); font-weight: 700; color: #fff; margin: 0; line-height: 1.2; }
.actor-subname { font-size: 16px; color: #888;}
.info-grid-title { font-size: 20px; font-weight: 700; color: #fff; }
.info-row { display: flex; font-size: 14px; padding-block: 8px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.info-label { color: #888; width: 180px; flex-shrink: 0; }
.info-value { color: #fff; }
.info-value.orange { color:  var(--white); font-weight: 600; }
.facts-section { margin-top: 10px; }
.facts-wrapper { position: relative; max-height: 204px; overflow: hidden; transition: max-height 0.4s ease; }
.facts-wrapper.expanded { max-height: 2000px; }
.fact-item { position: relative; padding: 8px 0 8px 20px; border-bottom: 1px solid rgba(255,255,255,0.05); color: #bbb; font-size: 14px; line-height: 1.6; }
.fact-item:before { content: ""; position: absolute; left: 5px; top: 20px; width: 6px; height: 6px; background: #555; border-radius: 50%; }
.fact-item.last-item { border-bottom: none !important; }
.actor-full-bio { margin-top: 10px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 10px; width: 100%; }
.bio-wrapper { position: relative; max-height: 120px; overflow: hidden; transition: max-height 0.4s ease; }
.bio-wrapper.expanded { max-height: 2000px; }
.bio-content { color: #bbb; font-size: 15px; line-height: 1.8; }
.fade-overlay { position: absolute; bottom: 0; left: 0; width: 100%; height: 40px; background: linear-gradient(transparent, var(--header-sidebar-footer)); pointer-events: none; }
.expanded .fade-overlay { display: none; }
.toggle-btn { color: #ff5722; cursor: pointer; font-weight: 700; display: inline-block; margin-top: 10px; font-size: 14px; }
@media (max-width: 800px) {
    .actor-main-flex { flex-direction: column; align-items: center; }
    .actor-pop-badge { position: relative; top: 0; right: 0; width: fit-content; margin-bottom: 10px; }
    .info-row { flex-direction: row; text-align: left; justify-content: flex-start; gap: 10px; }
    .info-label { width: 120px; flex-shrink: 0; font-size: 13px; }
    .info-value { font-size: 13px; }
    .actor-profile-info { width: 100%; }
    .actor-name, .actor-subname, .info-grid-title { text-align: center; }
    .actor-voice-badge { margin: 0 auto 10px auto; }
    .section-header { margin: 10px 0; display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; }
}

   .actor-filters-container {
   background: var(--header-sidebar-footer);
   padding: 15px;
   border: 1px solid var(--block-hover);
   border-radius: 4px;
   margin-bottom: 30px;
   display: flex;
   flex-direction: column;
   gap: 15px;
   }
   .actor-meta-filters {
   display: flex;
   flex-wrap: wrap;
   gap: 15px;
   align-items: center;
   justify-content: space-between;
   }
   .filter-group {
   display: flex;
   align-items: center;
   gap: 8px;
   flex-wrap: wrap;
   }
   .filter-group label {
   font-size: 12px;
   color: var(--meta);
   font-weight: 600;
   text-transform: uppercase;
   width: 100%;
   }
   .meta-filter-btn {
   padding: 6px 10px;
   background: rgba(255,255,255,0.05);
   color: var(--white);
   text-decoration: none !important;
   font-size: 12px;
   border-radius: 4px;
   transition: 0.2s;
   display: flex;
   align-items: center;
   gap: 5px;
   cursor: pointer;
   border: none;
   }
   .meta-filter-btn:hover {
   background: var(--block-hover);
   color:  var(--white);
   }
   .meta-filter-btn.active {
   background: var(--orange);
   color: #fff;
   }
   .subcategories-block {
   width: 100%;
   border-bottom: 1px solid rgba(255,255,255,0.08);
   padding-bottom: 15px;
   }
   .subcategory-trigger {
   width: 100%;
   justify-content: space-between;
   margin-bottom: 10px;
   padding: 16px 10px;
   font-size:16px;
   }
   .subcategory-list {
   display: none; /* Скрыто по умолчанию */
   flex-wrap: wrap;
   gap: 8px;
   }
   .subcategory-list.open {
   display: flex;
   }
   @media (max-width: 768px) {
   .meta-filter-btn {
   flex: 1 1 auto;
   justify-content: center;
   font-size: 11px;
   }
   }
   .description_foter {
   margin-top:10px;
   }
   .description_foter p {
   }
   .description_foter ul {
   list-style-type: disclosure-closed;
   margin: 10px 0 10px 20px;
   }