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 .post-info {
    flex: 1;
    min-width: 0;
}

.main .post-container .post-info .movie-introduce {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    padding: 22px;
    margin-bottom: 25px;
}

.main .post-container .post-info .movie-introduce .poster-details {
    width: 250px;
    aspect-ratio: 1 / 1.37;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    background-color: #1a1a24;
}

.main .post-container .post-info .movie-introduce .poster-details img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.main .post-container .post-info .movie-introduce .poster-details:hover img {
    transform: scale(1.06);
}

.main .post-container .post-info .movie-introduce .poster-details .watch-button {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.35);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.main .post-container .post-info .movie-introduce .poster-details .watch-button:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.main .post-container .post-info .movie-introduce .poster-details .watch-button .watch-now {
    width: 60px;
    height: 60px;
    background-color: rgba(235, 57, 65, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.main .post-container .post-info .movie-introduce .poster-details .watch-button:hover .watch-now {
    transform: scale(1.12);
    background-color: #eb3941;
}

.main .post-container .post-info .movie-introduce .all-info {
    flex: 1;
}

.main .post-container .post-info .movie-introduce .all-info h1 {
    font-weight: 800;
    font-size: 22px;
    margin-bottom: 8px;
    color: #1a202c;
    line-height: 1.35;
}

.main .post-container .post-info .movie-introduce .all-info .movie-status-wrap {
    margin-bottom: 12px;
}

.main .post-container .post-info .movie-introduce .all-info .movie-status-wrap .badge-status-h1,
.main .post-container .post-info .movie-introduce .all-info h1 .badge-status-h1 {
    display: inline-block;
    vertical-align: middle;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #eb3941 0%, #ff5252 100%);
    padding: 3px 10px;
    border-radius: 6px;
    margin-left: 0;
    letter-spacing: 0.2px;
    box-shadow: 0 2px 6px rgba(235, 57, 65, 0.35);
}

.main .post-container .post-info .movie-introduce .all-info .tag-movie {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.main .post-container .post-info .movie-introduce .all-info .tag-movie .title-tag {
    font-weight: 700;
    font-size: 13.5px;
    color: #64748b;
    margin-right: 4px;
}

.main .post-container .post-info .movie-introduce .all-info .tag-movie .tag-name {
    padding: 4px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    background-color: #f8fafc;
    transition: all 0.2s ease;
}

.main .post-container .post-info .movie-introduce .all-info .tag-movie .tag-name:hover {
    background-color: #eb3941;
    border-color: #eb3941;
    color: #fff;
}

.main .post-container .post-info .movie-introduce .all-info .watch-movie {
    width: 100%;
    margin-top: 15px;
}

.main .post-container .post-info .movie-introduce .all-info .watch-movie a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #eb3941;
    color: #fff;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 700;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(235, 57, 65, 0.35);
}

.main .post-container .post-info .movie-introduce .all-info .watch-movie a:hover {
    background-color: #d3252d;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(235, 57, 65, 0.45);
}

/* Movie Info / Description (Bên ngoài phần xem phim) */
.main .post-container .post-info .movie-info {
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    padding: 24px;
    margin-top: 25px;
}

.main .post-container .post-info .movie-info .title-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1.5px dashed #e2e8f0;
}

.main .post-container .post-info .movie-info .title-info .title {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.2px;
    border-bottom: none;
    padding-bottom: 0;
}

.main .post-container .post-info .movie-info .title-info .title i {
    color: #eb3941;
    font-size: 18px;
}

.main .post-container .post-info .movie-info .description-movie {
    font-size: 14.5px;
    line-height: 1.75;
    color: #334155;
}

.main .post-container .post-info .movie-info .description-movie p {
    font-size: 14.5px;
    line-height: 1.75;
    color: #334155;
    margin-bottom: 10px;
    word-break: break-word;
}

.main .post-container .post-info .movie-info .description-movie p:last-child {
    margin-bottom: 0;
}

.main .post-container .post-info .movie-info .description-movie p:empty {
    display: none;
    margin: 0;
}

/* Nhãn thông tin (Tên phim, Tựa gốc, Phát sóng, v.v.) */
.main .post-container .post-info .movie-info .info-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: #1e293b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 13.5px;
    margin-right: 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.main .post-container .post-info .movie-info .info-label i {
    color: #eb3941;
    font-size: 13px;
}

/* Tiêu đề phân mục con (Diễn viên lồng tiếng, Nội dung phim) */
.main .post-container .post-info .movie-info .info-subheading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #1e293b;
    font-size: 15.5px;
    margin-top: 16px;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 2px solid #eb3941;
}

.main .post-container .post-info .movie-info .info-subheading i {
    color: #eb3941;
    font-size: 15px;
}

/* Thẻ diễn viên lồng tiếng (Voice Actor Chips) */
.main .post-container .post-info .movie-info .va-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 6px;
    padding: 5px 12px;
    margin: 4px 6px 4px 0;
    font-size: 13.5px;
    line-height: 1.4;
    transition: all 0.2s ease;
}

.main .post-container .post-info .movie-info .va-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.main .post-container .post-info .movie-info .va-item .va-char {
    color: #1e293b;
    font-weight: 600;
}

.main .post-container .post-info .movie-info .va-item .va-char i {
    color: #94a3b8;
    font-size: 11px;
    margin-right: 3px;
}

.main .post-container .post-info .movie-info .va-item .va-sep {
    color: #94a3b8;
}

.main .post-container .post-info .movie-info .va-item .va-name {
    color: #eb3941;
    font-weight: 600;
}

.main .post-container .post-info .movie-info strong,
.main .post-container .post-info .movie-info b {
    color: #0f172a;
    font-weight: 700;
}

@media screen and (max-width: 768px) {
    .main .post-container .post-info .movie-info {
        padding: 16px 18px;
        margin-top: 20px;
    }

    .main .post-container .post-info .movie-info .va-item {
        padding: 4px 10px;
        font-size: 13px;
    }
}

/* Star Rating Component */
.stp-star-rating {
    margin-top: 18px;
    padding: 12px 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    display: inline-block;
    max-width: 100%;
}

.stp-star-rating .stp-rating-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 13.5px;
    flex-wrap: wrap;
}

.stp-star-rating .stp-rating-label {
    font-weight: 700;
    color: #1e293b;
}

.stp-star-rating .stp-rating-label .text-gold {
    color: #f59e0b;
    margin-right: 3px;
}

.stp-star-rating .stp-rating-summary {
    color: #64748b;
    font-size: 13px;
}

.stp-star-rating .stp-rating-summary .stp-avg-text {
    color: #d97706;
    font-weight: 800;
    font-size: 14.5px;
}

.stp-star-rating .stp-stars-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    color: #cbd5e1;
    user-select: none;
    padding: 4px 0;
}

.stp-star-rating .stp-star {
    transition: transform 0.15s ease, color 0.15s ease;
    display: inline-block;
}

.stp-star-rating .stp-star:hover {
    transform: scale(1.25);
}

.stp-star-rating .stp-star.active,
.stp-star-rating .stp-star.hovered {
    color: #f59e0b;
}

.stp-star-rating .stp-rating-msg {
    margin-top: 6px;
    font-size: 12.5px;
    color: #16a34a;
    font-weight: 600;
    min-height: 16px;
    transition: opacity 0.3s;
}

.stp-star-rating.has-voted .stp-stars-wrapper {
    cursor: default;
}

.stp-star-rating.has-voted .stp-star:hover {
    transform: none;
}

@media (max-width: 991px) {
    .main .post-container {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .main .post-container .post-info .movie-introduce {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .main .post-container .post-info .movie-introduce .poster-details {
        width: 200px;
    }
    .main .post-container .post-info .movie-introduce .all-info .tag-movie {
        justify-content: center;
    }
}
