body.tag-halloween html,
body {
    background: #110E19;
}

body.tag-halloween .header {
    background: #110E19;
    border-bottom: 4px solid #21182B;
}

body.tag-halloween .breadcrumbs a {
    color: #FF7A1A;
}

body.tag-halloween .breadcrumbs span {
    color: #FF7A1A;
}

body.tag-halloween .breadcrumbs li::after {
    color: #FF7A1A;
}

body.tag-halloween h1,
h2,
h3,
h4,
h5,
h6,
p {
    color: #fff;
}

body.tag-halloween .logo span {
    color: #ffffff;
}

body.tag-halloween .search-input {
    border: 1px solid #352c3e;
}

body.tag-halloween .search-input:focus {
    border: 1px solid #FF7A1A;
}

body.tag-halloween a {
    color: #fff;
}

body.tag-halloween .search-input:focus + .search-button svg {
    color: #FF7A1A;
}

body.tag-halloween input {
    color: #FF7A1A;
}

body.tag-halloween .footer {
    background: #21182B;
    color: #ffffff;
}


/* Сетка для карточек */

.episode__category {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}


/* ============================================================
       ИСХОДНЫЕ СТИЛИ ВАШЕЙ ТЕМЫ (взяты из вашего файла)
       ============================================================ */

.episode__season {
    display: flex;
    flex-direction: column;
    max-width: 275px;
    margin: 0;
    position: relative;
    width: 100%;
}

.watched-user {
    position: absolute;
    width: 100%;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    border-radius: 6px;
    text-align: center;
    height: 100%;
    top: 0;
    padding: 30% 0 0 0;
    border-bottom: 3px solid #f50;
    z-index: 0;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    cursor: pointer;
}

.episode__season:hover .watched-user {
    opacity: 0 !important;
    visibility: hidden !important;
}

.episode__season-img {
    position: relative;
    display: inline-block;
    width: 100%;
}

.episode__season-img img {
    transition: opacity 0.4s ease;
    border-radius: 6px;
    width: 100%;
    display: block;
}

.episode__season-img a {
    display: block;
}

.episode__season-title {
    font-weight: 600;
    margin: 6px 0 0 0;
    line-height: 20px;
}

.episode__season-title a {
    transition: color 0.3s ease;
    text-decoration: none;
    color: #ccc;
}

.episode__season:hover .episode__season-title a {
    color: #f50;
}

.seria__item-suptitle a {
    color: #888;
    text-decoration: none;
    font-size: 13px;
    display: block;
    margin-top: 4px;
}

.watched-user {
    display: none;
}


/* 1. Контейнер кассеты */

body.tag-halloween .episode__season {
    background: #181818;
    border: 3px solid #2a2a2a;
    border-radius: 8px;
    padding: 6px 6px 42px 6px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}


/* 2. Бумажная наклейка и картинка */

body.tag-halloween .episode__season-img {
    background: #f4f1ea;
    padding: 2px;
    border-radius: 4px;
    border: 1px solid #dcdcdc;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

body.tag-halloween .episode__season-img img {
    border-radius: 2px;
    filter: sepia(35%) contrast(110%) brightness(0.85);
    transition: filter 0.3s ease;
}


/* Отключаем темную заливку вашей темы, чтобы не перекрывать VHS-эффект */

body.tag-halloween .episode__season-img::after {
    display: none !important;
}


/* 3. Заголовок (Печатная машинка) */

body.tag-halloween .episode__season-title {
    background: #f4f1ea;
    margin: 5px 0 0 0;
    padding: 6px 6px 0 6px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    z-index: 2;
}

body.tag-halloween .episode__season-title a {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    font-weight: 700;
    color: #222 !important;
    text-transform: uppercase;
    line-height: 1.2;
}


/* 4. Мета-инфо (Сезон и серия) */

body.tag-halloween .seria__item-suptitle {
    background: #f4f1ea;
    margin: 0;
    padding: 2px 6px 6px 6px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    z-index: 2;
}

body.tag-halloween .seria__item-suptitle a {
    font-family: Arial, sans-serif;
    font-size: 12px;
    color: #666 !important;
    margin-top: 0;
}


/* 5. Декоративные "катушки" снизу */

body.tag-halloween .episode__season::before {
    content: '';
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 14px;
    background: repeating-linear-gradient(90deg, #0a0a0a, #0a0a0a 10px, #2a2a2a 10px, #2a2a2a 20px);
    border-radius: 4px;
    opacity: 0.8;
    z-index: 1;
}


/* 6. Полосы VHS (появляются при наведении) */

body.tag-halloween .episode__season::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.1) 0px, rgba(0, 0, 0, 0.1) 2px, transparent 2px, transparent 4px);
    pointer-events: none;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}


/* 7. ХОВЕР: Дрожание + Свечение + Помехи + Цвет */

body.tag-halloween .episode__season:hover {
    animation: vhs-shake 0.4s cubic-bezier(.36, .07, .19, .97) both;
    box-shadow: 0 0 25px rgba(255, 85, 0, 0.6);
    border-color: #ff5500;
    z-index: 100;
}

body.tag-halloween .episode__season:hover::after {
    opacity: 1;
}

body.tag-halloween .episode__season:hover .episode__season-img img {
    filter: sepia(0%) contrast(120%) brightness(1.1);
}


/* Перебиваем цвет заголовка на ярко-оранжевый при наведении */

body.tag-halloween .episode__season:hover .episode__season-title a {
    color: #ff5500 !important;
}

@keyframes vhs-shake {
    10%,
    90% {
        transform: translate3d(-1px, 0, 0) rotate(0deg);
    }
    20%,
    80% {
        transform: translate3d(2px, 0, 0) rotate(1deg);
    }
    30%,
    50%,
    70% {
        transform: translate3d(-4px, 0, 0) rotate(-1deg);
    }
    40%,
    60% {
        transform: translate3d(4px, 0, 0) rotate(1deg);
    }
}

body.tag-halloween .nav-tag {
    background: #21182B;
    padding: 15px;
    border-radius: 12px;
}

@media (max-width: 760px) {
    padding: 15px 10px;
}

@media (max-width: 475px) {
    body.tag-halloween .episode__season {
        width: 48%;
    }
    body.tag-halloween .episode__season {
        padding: 5px 5px 42px 5px;
    }
    body.tag-halloween .episode__season-title a {
        font-size: 13px;
    }
}