header {
    border-bottom: 1px solid #d5d5d5;
}

.main .post-container {
    max-width: 1420px;
    width: 95%;
    margin: 25px auto;
    display: flex;
    justify-content: space-between;
    gap: 25px;
}

.main .post-container .posts-all {
    flex: 1;
    min-width: 0;
    line-height: 1.5;
}

.main .post-container .posts-all .title-category {
    font-size: 15px;
    margin: 0 0 20px 0;
    color: #fff;
    text-align: center;
    padding: 10px 18px;
    background-color: #101121;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.main .post-container .posts-all .title-category .name-category {
    font-weight: 700;
    color: #eb3941;
}

/* SERIES STICKER SLIDER */
.series-slider-wrapper {
    margin: 5px 0 25px 0;
    width: 100%;
    overflow: hidden;
    padding: 6px 0;
}

.series-sticker-list {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.series-sticker-list.slick-initialized {
    display: block;
}

.series-sticker-list .series-sticker-item {
    text-align: center;
    padding: 4px 10px;
    outline: none;
    display: inline-block;
    vertical-align: middle;
}

.series-sticker-list .series-sticker-item a {
    display: inline-block;
    outline: none;
    text-decoration: none;
}

.series-sticker-list .series-sticker-item img {
    height: 125px;
    width: auto;
    max-width: 155px;
    object-fit: contain;
    margin: 0 auto;
    display: block;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.3s ease;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.25));
    user-select: none;
    -webkit-user-drag: none;
}

.series-sticker-list .series-sticker-item:hover img {
    transform: scale(1.18);
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.4));
}

@media screen and (max-width: 768px) {
    .series-slider-wrapper {
        margin-bottom: 18px;
    }
    .series-sticker-list .series-sticker-item img {
        height: 90px;
        max-width: 110px;
    }
}

.main .post-container .posts-all .list-movies {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

.main .post-container .posts-all .list-movies .item {
    position: relative;
    aspect-ratio: 1 / 1.37;
    width: 100%;
    overflow: hidden;
    background-color: #1a1a24;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.main .post-container .posts-all .list-movies .item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.main .post-container .posts-all .list-movies .item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.main .post-container .posts-all .list-movies .item:hover img {
    transform: scale(1.08);
}

/* Status Badge on Top Left */
.main .post-container .posts-all .list-movies .item .tag-content {
    pointer-events: none;
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 13px;
    padding: 4px 10px;
    background-color: #eb093a;
    color: #fff;
    border-radius: 8px;
    z-index: 10;
    line-height: 1.4;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
    max-width: calc(100% - 20px);
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-flex;
    align-items: center;
    -webkit-font-smoothing: antialiased;
}

.main .post-container .posts-all .list-movies .item .tag-content b {
    font-weight: 700;
    line-height: 1.4;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #fff;
}

.main .post-container .posts-all .list-movies .item .tag-content .tag-icon,
.main .post-container .posts-all .list-movies .item .tag-content i {
    font-size: 12.5px;
    margin-right: 4px;
}

.main .post-container .posts-all .list-movies .item a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.main .post-container .posts-all .list-movies .item a::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(0, rgb(49 38 41 / 73%) 10%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    z-index: 1;
}

.main .post-container .posts-all .list-movies .item .info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-image: linear-gradient(to bottom, transparent 0%, rgba(4, 12, 62, 0.6) 40%, #040c3e 100%);
    padding: 10px 12px 38px 12px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    pointer-events: none;
    z-index: 2;
}

.main .post-container .posts-all .list-movies .item .info .title-movies {
    padding: 0;
    width: 100%;
    text-align: center;
}

.main .post-container .posts-all .list-movies .item .info .title-movies h2 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-transform: none;
    color: #ffffff;
    cursor: pointer;
    transition: color 0.25s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
    margin: 0 auto;
    text-shadow: 1px 1px 1px #b20000;
    pointer-events: auto;
}

.main .post-container .posts-all .list-movies .item .info .title-movies h2:hover {
    color: #ff5252;
}

/* Numbered Pagination */
.main .post-container .posts-all .pagination {
    padding: 30px 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.main .post-container .posts-all .pagination ul.page-numbers {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex-wrap: wrap;
}

.main .post-container .posts-all .pagination ul.page-numbers li {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    list-style: none;
}

.main .post-container .posts-all .pagination ul.page-numbers li a.page-numbers,
.main .post-container .posts-all .pagination ul.page-numbers li span.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    min-width: 38px;
    padding: 0;
    border-radius: 50%;
    background-color: #ffffff;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    border: 1.5px solid #e2e8f0;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.25s ease;
    user-select: none;
}

/* Active current page */
.main .post-container .posts-all .pagination ul.page-numbers li span.current {
    background-color: #eb3941;
    border-color: #eb3941;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(235, 57, 65, 0.35);
    transform: translateY(-2px);
}

/* Hover on page link */
.main .post-container .posts-all .pagination ul.page-numbers li a.page-numbers:hover {
    background-color: #eb3941;
    border-color: #eb3941;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(235, 57, 65, 0.35);
    transform: translateY(-2px);
}

/* Prev and Next arrows */
.main .post-container .posts-all .pagination ul.page-numbers li a.prev,
.main .post-container .posts-all .pagination ul.page-numbers li a.next {
    font-size: 14px;
    color: #475569;
}

.main .post-container .posts-all .pagination ul.page-numbers li a.prev:hover,
.main .post-container .posts-all .pagination ul.page-numbers li a.next:hover {
    background-color: #eb3941;
    border-color: #eb3941;
    color: #ffffff !important;
}

/* Dots ellipsis */
.main .post-container .posts-all .pagination ul.page-numbers li span.dots {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: #94a3b8;
    cursor: default;
    transform: none !important;
    font-weight: 700;
    width: 20px;
    min-width: 20px;
}

@media (max-width: 991px) {
    .main .post-container {
        flex-direction: column;
    }
    .main .post-container .posts-all .list-movies {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .main .post-container .posts-all .list-movies {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}
