body,
html {
    background-color: #02080f;
}
#header {
    background: #333333;
}
.main-menu {
    background: #2d2d2d;
}

.img-film lazy {
    width: 160px;
}
.main-menu .menu-item.active > a,
.main-menu .menu-item a:hover {
    color: #c58560;
}
.title-box .tophot,
.right-content .block .caption {
    color: #da966e;
}
.main-menu .menu-item .sub-menu {
    background-color: #2d2d2d;
}
.list-films .item .icon-play,
.list-films .label-quality {
    background: #ff9658;
}
.list-films .label-quality:after {
    border-left: 10px solid #522e75;
}
#film_hot .item .label,
#film_related .item .label,
.film-new .item .label {
    background: #86553b;
    border-bottom: 2px solid #6e432e;
}
.list-films.film-new .item .name {
    background: rgba(0, 0, 0, 0.7);;
}
.list-film li:nth-child(even) {
    background: rgb(24 24 24);
}
.title-box .tab.active,
.title-box .tab:hover {
    color: #da966e;
    border-bottom: 2px solid #907863;
}
.most-view .list-film .item .number-rank {
    background: #c58560;
}
.breadcrumbs {
    background: #181818;
}
#page-info .blockbody .title {
    color: #ff9658;
}
.btn-download-link {
}
.btn-stream-link {
}
.dinfo .film-status {
}
#page-info .latest-episode > a:hover,
.list-episode > a:hover,
.list-episode > a.current,
ul.server-backup li span.active,
ul.server-backup li span:hover {
    background: #c58560;
}

#player-video .details .name h1 a,
#player-video .details .name span {
    color: #da966e;
}
.film-note {
    border: 1px solid #e8a568;
    background: #181818;
}
#player-video .bottom-content {
    background: #181818;
}
.mp-tips {
    color: #fff;
}
#suggestions ul.autocomplete-list li span,
#suggestions ul.autocomplete-list li strong,
#suggestions ul.autocomplete-list li.last a {
    color: #da966e;
}
.most-view .list-film .item a:hover,
.list-film .film-item-ver .name a:hover {
    color: #da966e;
}
.most-view .tabs .tab:hover {
    background: #333;
}
#footer {
    color: #848484;
    background: #2d2d2d;
}
#footer .info {
    background: #353535;
}


@media (min-width: 250px) and (max-width: 979px) {
    #header .logo {
        display: block;
        text-align: center;
    }
    #header .logo img {
        width: 120px;
        height: 30px !important;
        margin-bottom: 0 !important;
    }
}

.server-episode-block {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #da843d;
}

/* style.css – hoặc Appearance ▸ Customize ▸ Additional CSS */
#info-film .heading{
    color:#e0a96e;          /* cùng màu chữ như theme */
    font-size:18px;
    text-transform:uppercase;
    font-weight:bold;
    margin:0 0 20px;
    display:inline-block;   /* để pseudo-element lấy theo rộng chữ */
    position:relative;      /* cho ::after định vị */
}

/* gạch chân dày */
#info-film .heading::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-6px;            /* khoảng cách chữ–gạch  */
    width:100%;             /* chạy hết tiêu đề; đổi 60px nếu muốn ngắn */
    height:2px;             /* độ dày gạch */
    background:#e0a96e;     /* màu gạch */
}

/* ====  EPISODE GRID  ===================================== */

/* bao toàn bộ danh sách – div.list-episode hoặc ul.list-episode */
.list-episode{
    display:flex;                 /* xếp hàng ngang */
    flex-wrap:wrap;               /* đầy hàng thì xuống dòng */
    gap:6px 10px;                 /* row-gap / column-gap */
    padding:0;
    margin:6px 0 18px;
}

/* từng ô (a.item hoặc a hiện tại)  */
.list-episode a{
    display:inline-flex;
    justify-content:center;
    align-items:center;

    width:46px;            /*  = kích thước mong muốn */
    background:#3a3a3a;
    color:#fff;
    font-size:15px;
    font-weight:600;

    border-radius:4px;
    text-decoration:none;
    transition:background .2s;
}

/* hover */
.list-episode a:hover{
    background:#555;
}

/* ô TẬP đang xem – class current (bạn đã gán ở PHP)  */
.list-episode a.current{
    background:#d89b74;     /* cam nhạt trong hình 1 */
    color:#000;
}
