.main .post-container .sidebar-section {
    width: 320px;
    flex-shrink: 0;
}

.main .post-container .sidebar-section .social-follow,
.main .post-container .sidebar-section .evaluate,
.main .post-container .sidebar-section .online-fanpage,
.main .post-container .sidebar-section .suggested-movies,
.main .post-container .sidebar-section .trending,
.main .post-container .sidebar-section .all-tags {
    background-color: #fff;
    margin: 0 0 20px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    line-height: 1.5;
}

.main .post-container .sidebar-section .social-follow h2,
.main .post-container .sidebar-section .evaluate h2,
.main .post-container .sidebar-section .online-fanpage h2,
.main .post-container .sidebar-section .suggested-movies h2,
.main .post-container .sidebar-section .trending h2,
.main .post-container .sidebar-section .all-tags h2 {
    font-size: 13.5px;
    text-transform: uppercase;
    font-weight: 700;
    color: #1a202c;
    padding-bottom: 8px;
    margin-bottom: 12px;
    border-bottom: 2px solid #eb3941;
    letter-spacing: 0.3px;
    display: block;
}

/* Evaluate */
.main .post-container .sidebar-section .evaluate .widget-content {
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main .post-container .sidebar-section .evaluate .widget-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

/* Fanpage & Group */
.main .post-container .sidebar-section .online-fanpage .widget-content .online {
    width: 81px;
    margin-bottom: 12px;
}

.main .post-container .sidebar-section .online-fanpage .widget-content .facebook-fanpage {
    position: relative;
    width: 100%;
    height: 130px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
}

.main .post-container .sidebar-section .online-fanpage .widget-content .facebook-fanpage .background-fanpage {
    width: 100%;
    height: 100%;
}

.main .post-container .sidebar-section .online-fanpage .widget-content .facebook-fanpage .background-fanpage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main .post-container .sidebar-section .online-fanpage .widget-content .facebook-fanpage .profile-fanpage {
    position: absolute;
    left: 0;
    top: 0;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, 0) 100%);
    width: 100%;
    display: flex;
    padding: 10px;
    bottom: 40px;
    gap: 8px;
}

.main .post-container .sidebar-section .online-fanpage .widget-content .facebook-fanpage .profile-fanpage .logo-fanpage {
    width: 44px;
    height: 44px;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 4px;
}

.main .post-container .sidebar-section .online-fanpage .widget-content .facebook-fanpage .profile-fanpage .logo-fanpage img {
    width: 100%;
    height: 100%;
    display: block;
}

.main .post-container .sidebar-section .online-fanpage .widget-content .facebook-fanpage .profile-fanpage .title-fanpage {
    display: flex;
    flex-direction: column;
}

.main .post-container .sidebar-section .online-fanpage .widget-content .facebook-fanpage .profile-fanpage .title-fanpage .title {
    color: #fff;
    font-size: 14.5px;
    font-weight: 700;
}

.main .post-container .sidebar-section .online-fanpage .widget-content .facebook-fanpage .profile-fanpage .title-fanpage .follow {
    color: #cbd5e1;
    font-size: 11.5px;
}

.main .post-container .sidebar-section .online-fanpage .widget-content .facebook-fanpage .follow-fanpage {
    position: absolute;
    left: 10px;
    bottom: 8px;
}

.main .post-container .sidebar-section .online-fanpage .widget-content .facebook-fanpage .follow-fanpage a {
    background-color: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #334155;
    font-size: 12px;
    padding: 3px 8px;
    font-weight: 600;
    border-radius: 4px;
    display: flex;
    align-items: center;
}

.main .post-container .sidebar-section .online-fanpage .widget-content .facebook-group {
    width: 100%;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.main .post-container .sidebar-section .online-fanpage .widget-content .facebook-group .background-group {
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.main .post-container .sidebar-section .online-fanpage .widget-content .facebook-group .background-group img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main .post-container .sidebar-section .online-fanpage .widget-content .facebook-group .info-group {
    padding: 8px;
    text-align: center;
}

.main .post-container .sidebar-section .online-fanpage .widget-content .facebook-group .info-group .title-group {
    font-size: 14.5px;
    font-weight: 700;
    color: #1e293b;
}

.main .post-container .sidebar-section .online-fanpage .widget-content .facebook-group .info-group .member-group {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

.main .post-container .sidebar-section .online-fanpage .widget-content .facebook-group .link-group {
    padding: 6px 10px 10px;
}

.main .post-container .sidebar-section .online-fanpage .widget-content .facebook-group .link-group a {
    width: 100%;
    padding: 6px;
    display: block;
    text-align: center;
    background-color: #1877f2;
    font-size: 13px;
    color: #fff;
    font-weight: 600;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.main .post-container .sidebar-section .online-fanpage .widget-content .facebook-group .link-group a:hover {
    background-color: #0c63d4;
}

/* Suggested Movies (Phim Đề Xuất) */
.main .post-container .sidebar-section .suggested-movies .widget-content .list-suggested {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.main .post-container .sidebar-section .suggested-movies .widget-content .list-suggested .suggested-item {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main .post-container .sidebar-section .suggested-movies .widget-content .list-suggested .suggested-item a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
    background-color: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.main .post-container .sidebar-section .suggested-movies .widget-content .list-suggested .suggested-item a:hover {
    background-color: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.07);
    transform: translateX(3px);
}

/* Rank Number (#1, #2, #3...) */
.main .post-container .sidebar-section .suggested-movies .suggested-rank {
    font-weight: 800;
    font-size: 13.5px;
    min-width: 24px;
    flex-shrink: 0;
    text-align: center;
    color: #94a3b8;
    font-family: inherit;
    line-height: 1;
}

.main .post-container .sidebar-section .suggested-movies .suggested-rank .rank-hash {
    font-size: 11px;
    opacity: 0.75;
    margin-right: 1px;
}

.main .post-container .sidebar-section .suggested-movies .suggested-item.rank-1 .suggested-rank {
    color: #eb3941;
    font-weight: 900;
    font-size: 14.5px;
}

.main .post-container .sidebar-section .suggested-movies .suggested-item.rank-2 .suggested-rank {
    color: #ea580c;
    font-weight: 900;
    font-size: 14px;
}

.main .post-container .sidebar-section .suggested-movies .suggested-item.rank-3 .suggested-rank {
    color: #d97706;
    font-weight: 900;
    font-size: 14px;
}

/* Round Avatar */
.main .post-container .sidebar-section .suggested-movies .suggested-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #eb3941;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
    background-color: #e2e8f0;
}

.main .post-container .sidebar-section .suggested-movies .suggested-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.main .post-container .sidebar-section .suggested-movies .suggested-item a:hover .suggested-avatar img {
    transform: scale(1.12);
}

/* Details: Title & Status */
.main .post-container .sidebar-section .suggested-movies .suggested-details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.main .post-container .sidebar-section .suggested-movies .suggested-title {
    font-size: 12.5px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.35;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.main .post-container .sidebar-section .suggested-movies .suggested-item a:hover .suggested-title {
    color: #eb3941;
}

.main .post-container .sidebar-section .suggested-movies .suggested-status {
    font-size: 11px;
    font-weight: 600;
    color: #eb3941;
    margin-top: 2px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.25;
}

/* Trending */
.main .post-container .sidebar-section .trending .trending-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 14px;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 8px;
}

.main .post-container .sidebar-section .trending .trending-tabs .trending-tab-btn {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    padding: 7px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    user-select: none;
    font-family: inherit;
    line-height: 1.2;
}

.main .post-container .sidebar-section .trending .trending-tabs .trending-tab-btn:hover {
    color: #1e293b;
    background: rgba(255, 255, 255, 0.6);
}

.main .post-container .sidebar-section .trending .trending-tabs .trending-tab-btn.active {
    background: #eb3941;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(235, 57, 65, 0.35);
}

.main .post-container .sidebar-section .trending .trending-pane {
    display: none;
}

.main .post-container .sidebar-section .trending .trending-pane.active {
    display: block;
    animation: fadeInTrending 0.25s ease-in-out;
}

@keyframes fadeInTrending {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main .post-container .sidebar-section .trending .widget-content ul {
    line-height: 1.4;
    list-style: none;
}

.main .post-container .sidebar-section .trending .widget-content ul li {
    padding: 12px 0;
    position: relative;
    list-style: none;
    display: block;
}

.main .post-container .sidebar-section .trending .widget-content ul li:not(:last-child) {
    border-bottom: 1px solid #edf2f7;
}

.main .post-container .sidebar-section .trending .widget-content ul li .item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.main .post-container .sidebar-section .trending .widget-content ul li .item .item-poster {
    width: 85px;
    height: 115px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.main .post-container .sidebar-section .trending .widget-content ul li .item .item-poster a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.main .post-container .sidebar-section .trending .widget-content ul li .item .item-poster a img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.main .post-container .sidebar-section .trending .widget-content ul li:hover .item-poster a img {
    transform: scale(1.05);
}

.main .post-container .sidebar-section .trending .widget-content ul li .item .item-poster .trending-badge {
    position: absolute;
    top: 5px;
    left: 5px;
    background-color: #bb1948;
    color: #fff;
    font-size: 9.5px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    line-height: 1.2;
}

.main .post-container .sidebar-section .trending .widget-content ul li .item .item-info {
    flex: 1;
    min-width: 0;
}

.main .post-container .sidebar-section .trending .widget-content ul li .item .item-title a {
    font-weight: 700;
    font-size: 13.5px;
    color: #1e293b;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.main .post-container .sidebar-section .trending .widget-content ul li .item .item-title a:hover {
    color: #eb3941;
}

.main .post-container .sidebar-section .trending .widget-content ul li .item .item-meta {
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.main .post-container .sidebar-section .trending .widget-content ul li .item .item-meta .item-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
}

.main .post-container .sidebar-section .trending .widget-content ul li .item .item-meta .item-rating .star-icon {
    color: #f59e0b;
    font-size: 12px;
}

.main .post-container .sidebar-section .trending .widget-content ul li .item .item-meta .item-rating .rating-num {
    font-weight: 700;
    color: #1e293b;
}

.main .post-container .sidebar-section .trending .widget-content ul li .item .item-meta .item-rating .rating-votes {
    color: #94a3b8;
    font-size: 11px;
}

.main .post-container .sidebar-section .trending .widget-content ul li .item .item-meta .item-views {
    font-size: 11.5px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
}

.main .post-container .sidebar-section .trending .widget-content ul li .item .item-meta .item-views i {
    color: #94a3b8;
    font-size: 11px;
}

/* ========================================================
   THEO DÕI CHÚNG TÔI (.social-follow)
   ======================================================== */
.main .post-container .sidebar-section .social-follow {
    transition: all 0.3s ease;
}

.main .post-container .sidebar-section .social-follow:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.main .post-container .sidebar-section .social-follow .list-socials {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.main .post-container .sidebar-section .social-follow .list-socials .social-item {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main .post-container .sidebar-section .social-follow .list-socials .social-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.main .post-container .sidebar-section .social-follow .list-socials .social-item a:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.main .post-container .sidebar-section .social-follow .list-socials .social-item img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.25s ease;
}

.main .post-container .sidebar-section .social-follow .list-socials .social-item a:hover img {
    transform: scale(1.08);
}

.main .post-container .sidebar-section .social-follow .list-socials .social-item .social-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.main .post-container .sidebar-section .social-follow .list-socials .social-item .social-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.main .post-container .sidebar-section .social-follow .list-socials .social-item .social-sub {
    font-size: 11px;
    color: #64748b;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.main .post-container .sidebar-section .social-follow .list-socials .social-item .social-btn {
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.2px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

/* Brand-specific button colors & hover accents */
.main .post-container .sidebar-section .social-follow .list-socials .social-item.fanpage a:hover {
    border-color: #1877f2;
}
.main .post-container .sidebar-section .social-follow .list-socials .social-item.fanpage .social-btn {
    background: linear-gradient(135deg, #1877f2 0%, #0d6efd 100%);
}
.main .post-container .sidebar-section .social-follow .list-socials .social-item.fanpage a:hover .social-name {
    color: #1877f2;
}

.main .post-container .sidebar-section .social-follow .list-socials .social-item.group a:hover {
    border-color: #0866ff;
}
.main .post-container .sidebar-section .social-follow .list-socials .social-item.group .social-btn {
    background: linear-gradient(135deg, #0866ff 0%, #0052cc 100%);
}
.main .post-container .sidebar-section .social-follow .list-socials .social-item.group a:hover .social-name {
    color: #0866ff;
}

.main .post-container .sidebar-section .social-follow .list-socials .social-item.tiktok a:hover {
    border-color: #fe2c55;
}
.main .post-container .sidebar-section .social-follow .list-socials .social-item.tiktok .social-btn {
    background: linear-gradient(135deg, #111111 0%, #222222 100%);
    border: 1px solid rgba(254, 44, 85, 0.4);
}
.main .post-container .sidebar-section .social-follow .list-socials .social-item.tiktok a:hover .social-name {
    color: #fe2c55;
}

.main .post-container .sidebar-section .social-follow .list-socials .social-item.youtube a:hover {
    border-color: #ff0000;
}
.main .post-container .sidebar-section .social-follow .list-socials .social-item.youtube .social-btn {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
}
.main .post-container .sidebar-section .social-follow .list-socials .social-item.youtube a:hover .social-name {
    color: #ff0000;
}

.main .post-container .sidebar-section .social-follow .list-socials .social-item.pinterest a:hover {
    border-color: #e60023;
}
.main .post-container .sidebar-section .social-follow .list-socials .social-item.pinterest .social-btn {
    background: linear-gradient(135deg, #e60023 0%, #ad081b 100%);
}
.main .post-container .sidebar-section .social-follow .list-socials .social-item.pinterest a:hover .social-name {
    color: #e60023;
}

@media (max-width: 991px) {
    .main .post-container .sidebar-section {
        width: 100%;
    }
}