/* WordPress-only overrides — do not fight UI thumbnail/grid rules */

body.admin-bar header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar header {
        top: 46px;
    }
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

header .form-search {
    position: relative;
}

.search-suggest {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    min-width: 260px;
    background: #1b1b1b;
    border: 1px solid #2b2b2b;
    border-radius: 6px;
    z-index: 1200;
    overflow: hidden;
}

.search-suggest[hidden] {
    display: none !important;
}

.search-suggest-list,
.search-suggest-item {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.search-suggest-list {
    max-height: 360px;
    overflow-y: auto;
}

.search-suggest-item a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    color: #dadada;
}

.search-suggest-item.is-active a,
.search-suggest-item a:hover {
    background: #242424;
    color: #fff;
}

.search-suggest-item img {
    width: 52px;
    height: 36px;
    object-fit: cover;
    flex-shrink: 0;
    background: #111;
}

.search-suggest-meta {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.search-suggest-title {
    font-size: 13px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-suggest-title mark {
    background: none;
    color: var(--color-core);
    padding: 0;
}

.search-suggest-sub {
    display: flex;
    gap: 8px;
    font-size: 11px;
    color: #888;
}

.search-suggest-sub em {
    font-style: normal;
    color: var(--color-core);
}

.search-suggest-empty,
.search-suggest-more {
    display: block;
    padding: 8px 10px;
    font-size: 12px;
    color: #888;
    text-align: center;
}

.search-suggest-more {
    border-top: 1px solid #2b2b2b;
    color: var(--color-core);
}

.list-movies {
    display: flex;
    flex-flow: row wrap;
}

.list-movies > li {
    box-sizing: border-box;
    flex: 0 0 50%;
    max-width: 50%;
    min-width: 0;
}

@media screen and (min-width: 600px) {
    .list-movies > li {
        flex-basis: 33.333%;
        max-width: 33.333%;
    }
}

@media screen and (min-width: 900px) {
    .list-movies > li {
        flex-basis: 25%;
        max-width: 25%;
    }
}

.list-movies > li.no-data {
    flex: 1 1 100%;
    max-width: 100%;
}

.featuredSwiper .swiper-wrapper {
    display: flex;
}

.featuredSwiper .swiper-slide {
    flex: 0 0 50%;
    width: 50%;
    max-width: 50%;
    min-width: 0;
    box-sizing: border-box;
}

@media screen and (min-width: 640px) {
    .featuredSwiper .swiper-slide {
        flex-basis: 33.333%;
        width: 33.333%;
        max-width: 33.333%;
    }
}

@media screen and (min-width: 992px) {
    .featuredSwiper .swiper-slide {
        flex-basis: 20%;
        width: 20%;
        max-width: 20%;
    }
}

footer,
footer a,
footer li,
footer h3,
footer p {
    font-family: arial, sans-serif;
    letter-spacing: normal;
    word-spacing: normal;
}

h3.widget-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

h3.widget-title i {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

footer .row {
    display: flex;
    flex-wrap: wrap;
    background: #171717;
    padding: 4px 0 0;
}

footer .col-md-3,
footer .col-md-2,
footer .col-md-4,
footer .col-12 {
    box-sizing: border-box;
    padding: 0 6px;
}

footer .col-md-3 {
    flex: 0 0 25%;
    width: 25%;
    max-width: 25%;
}

footer .col-md-2 {
    flex: 0 0 16.666%;
    width: 16.666%;
    max-width: 16.666%;
}

footer .col-md-4 {
    flex: 0 0 33.333%;
    width: 33.333%;
    max-width: 33.333%;
}

footer .col-12,
footer .sitename {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
}

@media (max-width: 767px) {
    footer .col-md-3,
    footer .col-md-2,
    footer .col-md-4 {
        flex-basis: 50%;
        width: 50%;
        max-width: 50%;
    }
}

.video-heading {
    margin: 12px 0 10px;
    padding: 0 0 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.video-heading .title-video {
    margin: 0;
    font-size: 17px;
    font-weight: 650;
    line-height: 1.45;
    color: #f3f3f3;
}

.video-heading-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 7px;
}

.video-heading-code,
.video-heading-label {
    display: inline-flex;
    padding: 2px 8px;
    font-size: 11px;
    border-radius: 3px;
}

.video-heading-code {
    font-weight: 600;
    color: var(--color-core, #ffc107);
    background: rgba(255, 193, 7, .1);
    border: 1px solid rgba(255, 193, 7, .25);
}

.video-heading-label {
    color: rgba(255, 255, 255, .78);
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
}

.infobv-poster {
    text-align: center;
    margin: 12px 0;
}

.infobv-poster img {
    max-width: 320px;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.infobv-desc {
    color: #bbb;
    font-size: 14px;
    line-height: 1.7;
    margin: 10px 0;
}

.infobv-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    margin: 6px 0 0;
    padding: 6px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .05);
}

.infobv-meta-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 78px;
    color: #7d7d7d;
    font-size: 11px;
    font-weight: 600;
}

.infobv-meta-label i {
    color: var(--color-core, #ffc107);
    font-size: 10px;
}

.infobv-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.infobv-chip {
    display: inline-flex;
    padding: 1px 7px;
    font-size: 11px;
    border-radius: 3px;
    border: 1px solid transparent;
}

.infobv-chip--cat {
    color: rgba(255, 255, 255, .86);
    background: rgba(255, 255, 255, .05);
    border-color: rgba(255, 255, 255, .08);
}

.infobv-chip--tag {
    color: rgba(255, 255, 255, .72);
    border-color: rgba(255, 193, 7, .2);
}

.infobv-chip:hover {
    color: #111;
    background: var(--color-core, #ffc107);
    border-color: var(--color-core, #ffc107);
}

.static-page-content {
    color: #bbb;
    font-size: 14px;
    line-height: 1.75;
    padding: 4px 6px 16px;
}

.color-search {
    color: var(--color-core, #ffc107);
}

.box-popular.spinner:before {
    background-image: none !important;
    border: 3px solid rgba(255, 255, 255, .12);
    border-top-color: var(--color-core, #ffc107);
    border-radius: 50%;
    animation: movie-spin .7s linear infinite;
}

@keyframes movie-spin {
    to { transform: rotate(360deg); }
}
