/*
Theme Name: yanhh3dhd Child
Description: This is a child theme for yanhh3dhd
Author: UX Themes
Template: movies
Version: 12
*/

:root {
    --primary: #1fc3f9;
    --foreground: 194, 194, 194;
    --background: rgb(27, 29, 35);
    --bs-primary-rgb: 252, 201, 2;
    --bs-secondary-color: #696969;
    --bg-content: #1b1d23;
    --bs-btn-close-color: #fff;
    --bs-modal-header-border-color: transparent;
    --bs-light-rgb: 194, 194, 194;
    --bs-link-color-rgb:252, 201, 2;
}
.title-detail-film {
    font-size: 21px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
a.name-cate-film {
    display: flex
;
    font-size: 12px;
    line-height: 1.1em;
    padding: 4px 6px;
    border: 1px solid #f7f7f7;
    border-radius: 20px;
    color: #fff;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

::-webkit-scrollbar {
    width: 15px
}

::-webkit-scrollbar-track {
    border-radius: 0;
    background: #0003
}

::-webkit-scrollbar-thumb {
    border-radius: 0;
    background: #fff6
}

::-webkit-scrollbar-thumb:hover {
    background: #ffffff4d
}
.positon-relative {
    position: relative;
}
.z-2 {
    position: relative;
    z-index: 2;
}
.anis-cover-wrap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden
}
.list-chaper
 {
    max-height: 200px;
    overflow: auto;
    align-items: flex-start;
}
ul#header-main-menu li:hover .sub-menu {
    display: flex;
    flex-direction: column;
    background: #000;
    list-style: none;
    margin: 0;
    padding: 15px;
    min-width: 200px;
    gap: 10px;
    max-height: 400px;
    overflow: auto;
}
ul.sub-menu {
    display: none;
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    width: max-content;
}
.anis-cover {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background-size: cover;
    background-position: 50%;
    filter: blur(20px);
    opacity: .35
}

.content-film-detail {
    max-height: 420px;
    overflow: auto;
    min-height: 80px;
    font-weight: 300;
    line-height: 1.5em;
    font-size: 14px;
}
header #header-main-menu li.menu-item-has-children > a:hover::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 -960 960 960' width='24px' fill='%23fcc902'%3E%3Cpath d='M480-344 240-584l56-56 184 184 184-184 56 56-240 240Z'/%3E%3C/svg%3E");
}
.content-block p{
    margin-bottom: 1rem;
}
.content-block .aligncenter{
    display: block;
    margin-right: auto;
    margin-left: auto;
}
.content-block .content-block-scrollable{
    max-height: 400px;
    overflow-y:auto;
}
.scrollbar-transparent {
    scrollbar-width: thin;
    scrollbar-color: #9ca3af transparent;
}
.episodes {
    background: #202125;
    padding: 10px;
}
.scrollbar-transparent::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.scrollbar-transparent::-webkit-scrollbar-track {
    background: transparent;
}

.scrollbar-transparent::-webkit-scrollbar-thumb {
    background-color: #9ca3af;
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: content-box;
}

.scrollbar-transparent::-webkit-scrollbar-thumb:hover {
    background-color: #6b7280;
}

.movie-item:hover a {
        color: var(--primary) !important;
}

.expandable-content.expandable:after{
    background: linear-gradient(to top, #191b24, transparent);
}
.expandable-content.expandable.expanded:after{
    background: transparent;
}
.expand-toggle {
    display: block;
    cursor: pointer;
    color: var(--primary);
    margin: 0 auto 40px;
    width: max-content;
    text-align: center;
    border: 1px solid;
    padding: 4px 10px;
    border-radius: 6px;
}
.movie-item img {
    transition: transform 0.3s ease;
}

.movie-item:hover img {
    transform: scale(1.1);
}
