/* KLEVO Theme - Светлая и темная тема */

:root {
    /* Светлая тема */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --text-primary: #212529;
    --text-secondary: #6c757d;
    --text-accent: #f90;
    --border-color: #dee2e6;
    --shadow: rgba(0, 0, 0, 0.1);
    --header-bg: #ffffff;
    --card-bg: #ffffff;
    --button-bg: #f90;
    --button-hover: #e68000;
}

/* Темная тема */
.theme-dark {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --bg-tertiary: #404040;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-accent: #f90;
    --border-color: #404040;
    --shadow: rgba(0, 0, 0, 0.3);
    --header-bg: #2d2d2d;
    --card-bg: #2d2d2d;
    --button-bg: #f90;
    --button-hover: #e68000;
}

body {
    margin: 10px 0 0 0;
    padding: 0px;
    text-align: justify;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    font: 16px Helvetica, sans-serif;
    line-height: normal;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Убираем подчеркивание у всех ссылок */
a {
    text-decoration: none;
}

/* Отступы основного контейнера контента */
.pgg {
    padding: 10px;
}

.speed {
    padding: 5px 0 10px 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--text-accent);
    font-weight: bold;
    color: var(--text-accent);
}

.otstup {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.ocolor {
    background-color: var(--bg-primary);
    float: left;
    border-radius: 10px;
    box-shadow: 0 0 10px var(--shadow);
    border: 1px solid var(--border-color);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.tiz {
    margin-top: 10px;
}

.relleft ul li {
    margin-top: 10px;
}

.bodys > div, .posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.fimg {
    width: 100%;
    height: 480px;
    font-size: 13px;
    font-style: italic;
    color: var(--text-accent);
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.fimg img {
    object-fit: cover;
    border-radius: 8px;
}

.finger {
    position: absolute;
    top: 2px;
    right: 2px;
    color: var(--text-primary);
    font-size: 16px !important;
    background: rgba(0, 0, 0, 0.7);
    padding: 5px 10px;
    border-radius: 4px;
}

@media screen and (max-width: 1024px) {
    .bodys > div, .posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .fimg {
        width: 100%;
        height: 300px;
        color: var(--text-accent);
    }
    .fimg img {
        min-width: 100% !important;
        height: 250px !important;
        object-fit: cover;
        height: 100%;
    }
}

@media screen and (max-width: 768px) {
    .bodys > div, .posts-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.metki {
    float: left;
    padding: 2%;
    font-size: 20px;
    width: 100%;
}

.links {
    font-size: 26px;
    text-align: center;
    padding: 2%;
    float: left;
    width: 96%;
    margin-bottom: 20px;
}

.links a {
    color: var(--text-accent);
    font-size: 26px;
}

.metki a {
    font-size: 16px;
    display: block;
    background: var(--button-bg);
    color: #fff;
    padding: 4px;
    border-radius: 5px;
    margin-left: 5px;
    float: left;
}

.body a {
    color: var(--text-accent);
    text-decoration: none;
}

.head {
    float: left;
    width: 100%;
    background: var(--header-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
}

.headm ul {
    margin: 0;
    padding: 0;
    float: left;
    margin-left: 10%;
    list-style: none;
}

.logo {
    float: left;
    text-align: center;
    margin-right: 50px;
}

.logo img {
    max-width: 150px;
    height: auto;
}

.logo h1 {
    color: var(--text-accent);
    font-size: 28px;
    margin: 10px 0 5px 0;
    font-weight: bold;
}

.logo p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
}

.headm ul li {
    display: block;
    padding: 15px 20px;
    list-style-type: none;
    text-transform: uppercase;
    float: left;
    font-size: 14px;
    border-radius: 5px;
    margin: 0 5px;
    transition: background-color 0.3s ease;
}

.headm ul li:hover {
    background: var(--bg-tertiary);
}

.headm ul li a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
}

.drop-down {
    height: 51px;
    width: 51px;
    cursor: pointer;
    background: url(/menu.png) no-repeat 0 0;
    float: left;
    opacity: 0.5;
    margin-top: 20px;
    margin-left: 10px;
}

.drop-menu-main-sub {
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 20px var(--shadow);
    display: none;
    z-index: 1000;
}

.drop-menu-main-sub .hahae {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.drop-menu-main-sub .hahae a {
    color: var(--text-primary);
    text-decoration: none;
    padding: 10px 15px;
    background: var(--bg-tertiary);
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.drop-menu-main-sub .hahae a:hover {
    background: var(--button-bg);
    color: white;
}

/* Выпадающее меню категорий */
.categories-menu {
    position: relative;
}

.categories-menu:hover .categories-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.categories-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 8px 25px var(--shadow);
    padding: 20px;
    min-width: 600px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.categories-grid-menu {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.category-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-column a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    white-space: nowrap;
}

.category-column a:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border-color: var(--border-color);
    transform: translateX(5px);
}

/* Переключатель темы */
.theme-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
}

.theme-btn {
    background: var(--button-bg);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px var(--shadow);
}

.theme-btn:hover {
    background: var(--button-hover);
    transform: translateY(-2px);
}

.theme-icon {
    font-size: 16px;
}

/* Видео контейнеры */
.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: var(--bg-tertiary);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

.boxx {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.boxx:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px var(--shadow);
}

.short {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.short img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.short:hover img {
    transform: scale(1.05);
}

/* Стили логотипа */
.logo {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: bold;
    font-size: 32px;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.logo-link:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
}

.logo-icon {
    font-size: 36px;
    margin-right: 12px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    animation: pulse 2s infinite;
}

.logo-text {
    background: linear-gradient(45deg, #ff6b35, #f7931e, #ff6b35);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 3px;
    font-family: 'Arial Black', Arial, sans-serif;
    animation: gradientShift 3s ease-in-out infinite;
}

/* Темная тема для логотипа */
.theme-dark .logo-text {
    background: linear-gradient(45deg, #ff8c42, #ff6b35, #ff8c42);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

.theme-dark .logo-link {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.theme-dark .logo-link:hover {
    background: rgba(0, 0, 0, 0.5);
}

/* Стили для главного меню */
.main-navigation ul {
    margin-top: 15px;
}

/* Стили для поиска */
.search-toggle {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0;
    margin: 0;
    font-size: inherit;
    font-family: inherit;
    text-decoration: none;
    display: inline;
    transition: color 0.3s ease;
}

.search-toggle:hover {
    color: var(--accent-color);
    text-decoration: none;
}

.desktop-search-form {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.desktop-search-form-inner {
    display: flex;
    align-items: center;
    width: 100%;
}

.desktop-search-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 14px;
    margin-right: 10px;
}

.desktop-search-input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.desktop-search-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.desktop-search-close:hover {
    background: rgba(255, 107, 53, 0.1);
    color: var(--accent-color);
}

/* Мобильный поиск */
.mobile-search {
    display: none;
}

.mobile-search-form {
    display: flex;
    align-items: center;
    width: 100%;
}

.mobile-search-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 14px;
    margin-right: 10px;
}

.mobile-search-btn {
    background: var(--accent-color);
    border: none;
    color: white;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-search-btn:hover {
    background: var(--accent-hover);
}

/* Мобильные стили для категорий - 2 колонки */
@media (max-width: 768px) {
    .categories-grid-menu {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .category-column {
        margin-bottom: 0;
    }

    .category-column a {
        display: block;
        padding: 8px 12px;
        margin-bottom: 2px;
        border-radius: 4px;
        transition: all 0.3s ease;
    }

    .category-column a:hover {
        background: var(--accent-color);
        color: white;
    }

    .mobile-search {
        display: block !important;
    }

    .desktop-search-form {
        display: none !important;
    }
}

/* Анимации */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Стили для видео контейнера */
.video-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-container:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px var(--shadow);
}

/* Стили для изображения по примеру */
.img {
    position: relative;
    display: block;
    border-radius: 8px;
    overflow: hidden;
}

.thumb {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    transition: opacity 0.3s ease;
}

.hover-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: none;
    z-index: 10;
}

.is-hd {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 107, 53, 0.9);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 20;
}


.video-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.hed {
    font-size: 16px;
    font-weight: bold;
    color: var(--text-primary);
    margin-top: 10px;
    line-height: 1.4;
}

.hed a {
    color: var(--text-primary);
    text-decoration: none;
}

.hed a:hover {
    color: var(--text-accent);
}

/* Стили для информации о видео */
.video-info {
    padding: 15px;
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    border-radius: 0 0 8px 8px;
    margin-top: auto;
}

.hed {
    font-size: 16px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
    display: block;
    text-decoration: none;
    transition: color 0.3s ease;
    height: 44px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-align: left;
}

.hed:hover {
    color: var(--text-accent);
}

.video-meta {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    margin-bottom: 0;
    font-size: 14px;
    color: var(--text-secondary);
    align-items: center;
}

.video-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.duration::before {
    content: "⏱️";
    font-size: 12px;
}

.views::before {
    content: "👁️";
    font-size: 12px;
}

.rating {
    color: #ffd700;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Новый формат рейтинга с кнопками */
.rating-controls {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-tertiary);
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 13px;
}

.rating-label {
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 500;
}

.rating-value {
    color: var(--text-primary);
    font-weight: bold;
    min-width: 30px;
    text-align: center;
    font-size: 13px;
}

.rating-btn {
    background: var(--button-bg);
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0;
    flex-shrink: 0;
}

.rating-btn:hover {
    background: var(--button-hover);
    transform: scale(1.1);
}

.rating-btn:active {
    transform: scale(0.95);
}

.rating-plus {
    background: #f90;
}

.rating-plus:hover {
    background: #e68000;
}

.rating-minus {
    background: #f90;
}

.rating-minus:hover {
    background: #e68000;
}

.short-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-top: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Категории */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.category-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px var(--shadow);
}

.category-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--shadow);
    border-color: var(--text-accent);
}

.category-item a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
}

.category-item a:hover {
    color: var(--text-accent);
}

.category-count {
    color: var(--text-secondary);
    font-size: 12px;
    margin-top: 5px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .headm ul {
        margin-left: 5%;
    }

    .logo {
        margin-right: 20px;
    }

    .logo h1 {
        font-size: 24px;
    }

    .category-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .theme-switcher {
        top: 30px;
        right: 10px;
    }

    .video-info {
        padding: 12px;
    }

    .hed {
        font-size: 15px;
    }

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

    .short-desc {
        font-size: 13px;
    }
}

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

    .hed {
        font-size: 14px;
    }

    .video-meta {
        flex-wrap: wrap;
        gap: 5px;
        font-size: 12px;
    }

    .rating-controls {
        gap: 4px;
        padding: 3px 6px;
        font-size: 11px;
    }

    .rating-label {
        font-size: 11px;
    }

    .rating-value {
        font-size: 11px;
        min-width: 25px;
    }

    .rating-btn {
        width: 20px;
        height: 20px;
        font-size: 14px;
    }

    .short-desc {
        font-size: 12px;
    }

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

    .category-item {
        padding: 12px;
        font-size: 13px;
    }

    .navigation-container {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .nav-pages {
        order: 2;
    }

    .nav-prev, .nav-next {
        order: 1;
        align-self: stretch;
        text-align: center;
    }

    .nav-btn {
        padding: 10px 16px;
        font-size: 14px;
    }

    .nav-pages a, .nav-pages span {
        padding: 8px 10px;
        margin: 0 2px;
        font-size: 14px;
    }
}

/* Кнопки навигации */
.Go_Top, .Go_Bottom {
    display: none;
    position: fixed;
    right: 1px;
    padding: 10px;
    width: 100px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}

.Go_Top:hover, .Go_Bottom:hover {
    background: var(--button-hover);
}

.Go_Top {
    bottom: 60px;
}

.Go_Bottom {
    bottom: 20px;
}

/* Поиск */
.search-container {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border: 1px solid var(--border-color);
}

.search-input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 16px;
}

.search-input:focus {
    outline: none;
    border-color: var(--text-accent);
    box-shadow: 0 0 0 2px rgba(255, 153, 0, 0.25);
}

/* Описание */
.opisanie {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 8px;
    margin: 10px 0;
    float: left;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--border-color);
}

.opisanie h1 {
    color: var(--text-accent);
    margin-bottom: 15px;
    font-size: 24px;
}

.opisanie p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Копирайт */
.cpr {
    text-align: center;
    padding: 20px;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
    margin-top: 30px;
}

.cpr a {
    color: var(--text-accent);
    text-decoration: none;
}

.cpr a:hover {
    text-decoration: none;
}

/* Стили навигации */
.navigation-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.nav-btn {
    padding: 12px 24px;
    background: var(--button-bg);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-btn:hover {
    background: var(--button-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

.nav-pages {
    flex: 1;
    text-align: center;
}

.nav-pages a, .nav-pages span {
    display: inline-block;
    padding: 10px 14px;
    margin: 0 3px;
    text-decoration: none;
    border-radius: 5px;
    color: var(--text-primary);
    background: var(--bg-tertiary);
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-pages a:hover, .nav-pages .current {
    background: var(--button-bg);
    color: white;
    transform: translateY(-1px);
}

@media (max-width: 1024px) {
    .categories-dropdown {
        min-width: 500px;
    }

    .categories-grid-menu {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .categories-dropdown {
        min-width: 400px;
    }

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

    .category-column a {
        font-size: 12px;
        padding: 6px 8px;
    }
}

@media (max-width: 480px) {
    .nav-btn {
        padding: 8px 12px;
        font-size: 13px;
    }

    .nav-pages a, .nav-pages span {
        padding: 6px 8px;
        margin: 0 1px;
        font-size: 13px;
    }

    /* Адаптивное выпадающее меню на мобильных */
    .categories-dropdown {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 60vw !important;
        max-width: 60vw !important;
        min-width: 60vw !important;
        height: 100vh !important;
        transform: none !important;
        overflow-y: auto;
        z-index: 10000;
        opacity: 1;
        visibility: visible;
        display: none;
        border-radius: 0;
        padding: 20px 15px;
        box-sizing: border-box;
    }

    .categories-dropdown.show {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .categories-menu:hover .categories-dropdown {
        opacity: 1;
        visibility: visible;
    }

    .categories-grid-menu {
        grid-template-columns: 1fr !important;
        gap: 2px;
    }

    .category-column {
        margin-bottom: 0;
        gap: 2px;
    }

    .category-column a {
        font-size: 14px;
        padding: 2px 10px;
        display: block;
        margin-bottom: 2px;
    }

    /* Исправление opisanie для мобильных */
    .opisanie {
        float: none;
        width: 100%;
        padding: 15px;
        margin: 10px 0;
        box-sizing: border-box;
    }

    .opisanie h1 {
        font-size: 20px;
    }

    .opisanie p {
        font-size: 14px;
    }
}

/* Видео плеер для fullstory */
.main-video-container {
    width: 100%;
    margin-bottom: 20px;
}

.main-video {
    width: 100%;
    max-height: 600px;
    border-radius: 8px;
    background: #000;
}

/* Утилитарный класс для скрытия элементов */
.hidden {
    display: none !important;
}
