.single-post {
    margin-bottom: 50px;
}

    .single-post .post-top {
        text-align: start;
        margin-bottom: 16px;
    }

        .single-post .post-top .post-category {
            position: relative;
            font-size: 11px;
            text-transform: uppercase;
            font-weight: 600;
            letter-spacing: 1px;
            padding: 4px 8px;
            display: inline-block;
            transition: all 0.3s ease-in-out;
            line-height: 1.2;
            color: #fff;
            background: linear-gradient(135deg, #f9c74f, #f8961e);
        }

    .single-post h1.post-title {
        font-size: 34px;
        line-height: 48px;
        display: block;
        font-weight: 700;
        margin-bottom: 24px;
    }

    .single-post .post-info {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        margin-bottom: 8px;
        gap: 5px;
    }

        .single-post .post-info .post-author {
            font-size: 15px;
            font-weight: 600;
            color: #454545;
        }

        .single-post .post-info .post-date {
            font-size: 15px;
            font-weight: 400;
            color: #454545;
        }

    .single-post .post-sapo {
        border-top: 1px solid var(--accent-color);
        font-weight: 700;
        font-size: 17px;
        line-height: 26px;
        color: #292929;
        padding: 24px 0;
    }

.post-body {
    margin-bottom: 24px;
}

.entry-content {
    line-height: 26px !important;
    font-weight: 400;
    font-size: 17px;
    color: #292929;
    max-width: 100%;
}

    .entry-content img {
        width: 100%;
        height: auto;
    }

.image-row.caption {
    font-size: 0.875rem;
    font-style: italic;
    display: block;
    margin: 0;
    padding: 0.625rem 0.625rem 0 0.625rem;
    text-align: center;
}

.post-featured-image {
    margin-bottom: 30px;
    border-radius: 2px;
    overflow: hidden;
}

.post-media.post-video,
.post-media.post-audio {
    margin-bottom: 30px;
}

.post-tags {
    padding: 20px 0px;
    border-top: 1px solid #ebebeb;
    border-bottom: 1px solid #ebebeb;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

    .post-tags span {
        text-transform: uppercase;
        border-radius: 2px;
        margin-right: 5px;
        font-size: 12px;
    }

    .post-tags a {
        font-size: 13px;
        text-transform: uppercase;
        border-radius: 2px;
        display: inline;
        list-style: none;
        padding: 5px 10px;
        margin-right: 5px;
        text-align: center;
        color: #292931;
        background: #f0f1f4;
        transition: all 0.3s ease-in-out;
    }

        .post-tags a:hover {
            background: var(--accent-color);
            color: #fff;
            border-color: var(--accent-color);
        }

.post-navigation {
    display: inline-block;
    padding: 30px 20px;
    background: #f0f1f4;
    border-radius: 2px;
    margin-bottom: 30px;
}

    .post-navigation span:hover,
    .post-navigation h3:hover {
        color: #dc3545;
    }

    .post-navigation .previous-post,
    .post-navigation .next-post {
        width: 50%;
    }

    .post-navigation h6 {
        font-weight: 400;
        font-size: 13px;
        letter-spacing: 1px;
    }

    .post-navigation i {
        margin: 0 5px;
    }

    .post-navigation span {
        font-size: 14px;
        color: #ccc;
        margin-top: 10px;
    }

    .post-navigation .previous-post {
        text-align: left;
        float: left;
        border-left: 0 none;
        border-right: 0 none;
        padding: 0 30px 0 0;
        border-right: 1px solid #dedede;
    }

        .post-navigation .previous-post span {
            margin-right: 20px;
        }

    .post-navigation .next-post {
        text-align: right;
        float: left;
        border-right: 0 none;
        padding: 0 0 0 30px;
    }

        .post-navigation .next-post span {
            margin-left: 20px;
        }

    .post-navigation h3 {
        font-size: 20px;
        margin: 8px 0 0;
    }

.single-media img {
    width: 50%;
}

@media (max-width: 991px) {
    .single-media img {
        width: 50%;
    }
}

@media (max-width: 991px) {
    .media {
        display: block;
    }

    .single-media img {
        width: 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .single-post h1.post-title {
        font-size: 28px;
        line-height: 46px;
    }

    .single-post .post-sapo {
        font-size: 18px;
        line-height: 28px;
    }
}

.related-news-slider {
    margin-bottom: 50px;
}

    .related-news-slider .slider-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        padding-left: 12px;
        border-left: 4px solid var(--accent-color);
    }

    .related-news-slider .slider-title {
        font-size: 24px;
        font-weight: 600;
        color: var(--text-primary);
        margin: 0;
    }

    .related-news-slider .slider-controls {
        display: flex;
        gap: 10px;
    }

    .related-news-slider .control-btn {
        background-color: #fff;
        border: none;
        color: var(--accent-color);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s ease;
    }

        .related-news-slider .control-btn:disabled {
            color: #ccc;
            cursor: not-allowed;
            opacity: 0.6;
        }

    /* Container slider - ẩn overflow */
    .related-news-slider .slider-container {
        position: relative;
        overflow: hidden; /* QUAN TRỌNG: Ẩn các items ngoài viewport */
        width: 100%;
        margin: 0 auto;
        padding: 20px 10px;
        background-color: #fafafa;
        border-radius: 8px;
    }

    /* Wrapper chứa tất cả cards */
    .related-news-slider .slider-wrapper {
        display: flex;
        transition: transform 0.3s ease-in-out;
        width: 100%; /* Không cần tính toán width phức tạp */
    }

    /* Mỗi card */
    .related-news-slider .slider-card {
        flex: 0 0 auto; /* Không co giãn */
        margin-right: 20px; /* Gap between cards */
        width: calc(33.333% - 13.33px);
        /* min-height: 280px; */
        background: #fafafa;
        border-radius: 8px;
        overflow: hidden;
        cursor: pointer;
        transition: transform 0.2s ease;
    }

        .related-news-slider .slider-card:hover {
            transform: translateY(-5px);
        }

        .related-news-slider .slider-card:last-child {
            margin-right: 0;
        }

    /* Card image */
    .related-news-slider .slider-card-image {
        border-radius: 8px;
        width: 100%;
        height: 160px;
        object-fit: cover;
    }

    /* Card content */
    .related-news-slider .slider-card-content {
        padding: 15px;
    }

    .related-news-slider .slider-card-title {
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 10px;
        line-height: 1.4;
        color: #333;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .related-news-slider .slider-card-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 12px;
        color: #666;
    }

    .related-news-slider .slider-card-date {
        display: flex;
        align-items: center;
        gap: 5px;
    }

/* Responsive card widths và image heights */
@media (max-width: 1199px) {
    .related-news-slider .slider-card {
        width: calc(33.333% - 13.33px); /* Laptop: 3 cards per view */
    }
}

@media (max-width: 991px) {
    .related-news-slider .slider-card {
        width: calc(50% - 10px); /* Tablet: 2 cards per view */
    }

    .related-news-slider .slider-card-image {
        height: 160px; /* Tablet: Giảm xuống */
    }
}

@media (max-width: 767px) {
    .related-news-slider .slider-card {
        width: 100%; /* Mobile: 1 card per view */
        margin-right: 0;
    }

    .related-news-slider .slider-card-image {
        height: 200px; /* Mobile: Thấp nhất để phù hợp màn hình nhỏ */
    }
}

/* Responsive cho màn hình rất nhỏ */
@media (max-width: 480px) {
    .related-news-slider .slider-card-image {
        height: 190px; /* Mobile nhỏ: Tối ưu cho màn hình rất nhỏ */
    }

    .related-news-slider .slider-card-title {
        font-size: 13px; /* Giảm font size cho mobile nhỏ */
    }

    .related-news-slider .slider-card-content {
        padding: 12px; /* Giảm padding */
    }
}

/* Indicators */
.related-news-slider .slide-indicator {
    text-align: center;
    margin-top: 20px;
}

.related-news-slider .indicator-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.related-news-slider .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.2s ease;
}

    .related-news-slider .dot.active {
        background: var(--accent-color);
    }

    .related-news-slider .dot:hover {
        background: #999;
    }

/* CSS cho phần danh sách tin tức khác */

/* Section header */
/* .other-news-list {
  border-left: 1px solid #e9ecef;
  border-right: 1px solid #e9ecef;
} */
.other-news-list .list-header {
    margin-bottom: 24px;
    border-top: 1px solid var(--accent-color);
    display: flex;
    padding: 1rem 0;
}

.other-news-list .list-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

/* News list vertical */
.other-news-list .vertical {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

    /* News item vertical */
    .other-news-list .vertical .item {
        display: flex;
        background: #fff;
        /* border-radius: 8px; */
        overflow: hidden;
        /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); */
        transition: all 0.3s ease;
        cursor: pointer;
        border: 1px solid #f0f0f0;
/*        min-height: 180px;*/
        height:220px;
    }

        .other-news-list .vertical .item:hover {
            /* box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); */
            transform: translateY(-3px);
        }

        /* News image */
        .other-news-list .vertical .item .other-news-image-vertical {
            flex: 0 0 280px;
            position: relative;
            overflow: hidden;
            flex-shrink: 0;
        }

            .other-news-list .vertical .item .other-news-image-vertical .news-category {
                position: absolute;
                top: 15px;
                left: 15px;
                background: linear-gradient(135deg, #f9c74f, #f8961e);
                color: #fff;
                text-transform: uppercase;
                letter-spacing: 0.5px;
                border-radius: 4px;
                z-index: 2;
                box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
                transition: all 0.3s ease;
                font-size: 11px;
                font-weight: 600;
                padding: 4px 10px;
                line-height: 1.2;
            }

            .other-news-list .vertical .item .other-news-image-vertical img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                transition: transform 0.3s ease;
            }

        .other-news-list .vertical .item:hover .other-news-image-vertical img {
            transform: scale(1.05);
        }

        /* News content */
        .other-news-list .vertical .item .other-news-content-vertical {
            flex: 1;
            padding: 20px 25px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        /* News meta */
        .other-news-list .vertical .item .news-meta {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 12px;
            flex-wrap: wrap;
        }

        .other-news-list .vertical .item .news-date {
            font-size: 13px;
            color: #666;
            display: flex;
            align-items: center;
            gap: 5px;
        }

            .other-news-list .vertical .item .news-date i {
                font-size: 12px;
            }

        /* News title */
        .other-news-list .vertical .item .other-news-title {
            font-size: 18px;
            font-weight: 700;
            line-height: 1.4;
            color: #333;
            margin-bottom: 10px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            transition: color 0.3s ease;
        }

        .other-news-list .vertical .item:hover .other-news-title {
            color: var(--accent-color);
        }

        /* News description */
        .other-news-list .vertical .item .news-description {
            font-size: 14px;
            line-height: 1.5;
            color: #666;
            margin-bottom: 15px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        /* News info */
        .other-news-list .vertical .item .news-info {
            display: flex;
            align-items: center;
            margin-top: auto;
            flex-wrap: wrap;
            gap: 10px;
        }

        .other-news-list .vertical .item .news-author {
            font-size: 13px;
            color: #555;
            display: flex;
            align-items: center;
            gap: 5px;
            font-weight: 500;
        }

            .other-news-list .vertical .item .news-author i {
                font-size: 12px;
                color: #888;
            }

        .other-news-list .vertical .item .news-stats {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .other-news-list .vertical .item .news-views {
            font-size: 13px;
            color: #666;
            display: flex;
            align-items: center;
            gap: 5px;
        }

            .other-news-list .vertical .item .news-views i {
                font-size: 12px;
            }

/* Pagination */
.pagination-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    padding: 30px 0;
    border-top: 1px solid #e9ecef;
}

.pagination-nav .pagination {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pagination .page-item {
    margin: 0;
}

.pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: #666;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    transition: all 0.3s ease;
}

    .pagination .page-link:hover {
        background: var(--accent-color);
        color: #fff;
        border-color: var(--accent-color);
        transform: translateY(-1px);
    }

.pagination .page-item.active .page-link {
    background: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.pagination .page-item.disabled .page-link {
    color: #ccc;
    background: #f8f9fa;
    border-color: #dee2e6;
    cursor: not-allowed;
}

    .pagination .page-item.disabled .page-link:hover {
        transform: none;
        background: #f8f9fa;
        color: #ccc;
    }

/* Pagination info */
.pagination-info {
    font-size: 14px;
    color: #666;
    text-align: center;
}

/* No news message */
.no-news-message {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    margin: 30px 0;
}

    .no-news-message p {
        font-size: 16px;
        color: #666;
        margin: 0;
    }

/* Responsive Design */

/* Desktop Large (1200px+) */
@media (min-width: 1200px) {
    .other-news-list .vertical .item .other-news-image-vertical {
        flex: 0 0 300px;
    }

    .other-news-list .vertical .item .other-news-title {
        font-size: 18px;
    }

    .other-news-list .vertical .item .news-description {
        font-size: 15px;
    }
}

/* Laptop/Desktop (992px - 1199px) */
@media (max-width: 1199px) {
    .other-news-list .vertical .item .other-news-image-vertical {
        flex: 0 0 260px;
    }

    .other-news-list .vertical .item .other-news-title {
        font-size: 17px;
    }

    .other-news-list .vertical .item .other-news-content-vertical {
        padding: 18px 20px;
    }
}

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
    .other-news-list {
        margin-top: 40px;
    }

        .other-news-list .list-title {
            font-size: 22px;
        }

        .other-news-list .vertical {
            gap: 20px;
        }

            .other-news-list .vertical .item {
                min-height: 160px;
            }

                .other-news-list .vertical .item .other-news-image-vertical {
                    flex: 0 0 220px;
                }

                .other-news-list .vertical .item .other-news-content-vertical {
                    padding: 16px 18px;
                }

                .other-news-list .vertical .item .other-news-title {
                    font-size: 16px;
                    margin-bottom: 8px;
                }

                .other-news-list .vertical .item .news-description {
                    font-size: 13px;
                    margin-bottom: 12px;
                    -webkit-line-clamp: 2;
                }

                .other-news-list .vertical .item .news-meta {
                    margin-bottom: 10px;
                    gap: 12px;
                }

                .other-news-list .vertical .item .news-category {
                    font-size: 10px;
                    padding: 3px 8px;
                }

                .other-news-list .vertical .item .news-date {
                    font-size: 12px;
                }

                .other-news-list .vertical .item .news-author,
                .other-news-list .vertical .item .news-views {
                    font-size: 12px;
                }

    .pagination .page-link {
        min-width: 38px;
        height: 38px;
        font-size: 13px;
    }
}

/* Mobile Large (576px - 767px) */
@media (max-width: 767px) {
    .other-news-list {
        margin-top: 30px;
    }

        .other-news-list .list-title {
            font-size: 20px;
        }

        .other-news-list .vertical {
            gap: 15px;
        }

            .other-news-list .vertical .item {
                flex-direction: column;
                min-height: auto;
            }

                .other-news-list .vertical .item .other-news-image-vertical {
                    flex: none;
                    height: 180px;
                    width: 100%;
                }

                .other-news-list .vertical .item .other-news-content-vertical {
                    padding: 15px;
                }

                .other-news-list .vertical .item .other-news-title {
                    font-size: 16px;
                    -webkit-line-clamp: 2;
                }

                .other-news-list .vertical .item .news-description {
                    font-size: 14px;
                    -webkit-line-clamp: 3;
                    margin-bottom: 10px;
                }

                .other-news-list .vertical .item .news-meta {
                    margin-bottom: 8px;
                    gap: 10px;
                }

                .other-news-list .vertical .item .news-info {
                    gap: 8px;
                }

    .pagination-wrapper {
        margin-top: 30px;
        padding: 20px 0;
    }

    .pagination .page-link {
        min-width: 36px;
        height: 36px;
        font-size: 12px;
        padding: 0 8px;
    }

    .pagination-info {
        font-size: 13px;
    }
}

/* Mobile Small (max 575px) */
@media (max-width: 575px) {
    .other-news-list .list-header {
        padding-left: 8px;
        border-left-width: 3px;
    }

    .other-news-list .list-title {
        font-size: 18px;
    }

    .other-news-list .vertical .item {
        border-radius: 8px;
        box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
    }

        .other-news-list .vertical .item .other-news-image-vertical {
            height: 160px;
        }

        .other-news-list .vertical .item .other-news-content-vertical {
            padding: 12px;
        }

        .other-news-list .vertical .item .other-news-title {
            font-size: 15px;
            line-height: 1.3;
        }

        .other-news-list .vertical .item .news-description {
            font-size: 13px;
            line-height: 1.4;
        }

        .other-news-list .vertical .item .news-meta {
            align-items: flex-start;
            gap: 6px;
        }

        .other-news-list .vertical .item .news-category {
            font-size: 9px;
            padding: 2px 6px;
        }

        .other-news-list .vertical .item .news-date,
        .other-news-list .vertical .item .news-author,
        .other-news-list .vertical .item .news-views {
            font-size: 11px;
        }

        .other-news-list .vertical .item .news-info {
            align-items: flex-start;
            gap: 6px;
        }

    .pagination .page-link {
        min-width: 32px;
        height: 32px;
        font-size: 11px;
    }

    .pagination-info {
        font-size: 12px;
        padding: 0 10px;
        text-align: center;
    }
}

/* Mobile Extra Small (max 480px) */
@media (max-width: 480px) {
    .other-news-list .vertical {
        gap: 12px;
    }

        .other-news-list .vertical .item .other-news-image-vertical {
            height: 140px;
        }

        .other-news-list .vertical .item .other-news-content-vertical {
            padding: 10px;
        }

        .other-news-list .vertical .item .other-news-title {
            font-size: 14px;
            margin-bottom: 6px;
        }

        .other-news-list .vertical .item .news-description {
            font-size: 12px;
            margin-bottom: 8px;
        }

    .pagination-wrapper {
        gap: 15px;
    }

    .pagination .page-link {
        min-width: 30px;
        height: 30px;
        font-size: 10px;
    }
}

/* Hover effects cho desktop */
@media (min-width: 992px) {
    .other-news-list .vertical .item .other-news-image-vertical::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0);
        transition: background 0.3s ease;
    }

    .other-news-list .vertical .item:hover .other-news-image-vertical::after {
        background: rgba(0, 0, 0, 0.1);
    }
}

/* Loading animation cho hình ảnh */
.other-news-list .vertical .item .other-news-image-vertical img {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

    .other-news-list .vertical .item .other-news-image-vertical img[src] {
        background: none;
        animation: none;
    }

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.comment {
    margin-bottom: 50px;
}

    .comment .comment-wrap {
        border: 1px solid #e6e6e6;
        border-radius: 5px;
        padding: 25px 25px 20px;
    }

    .comment .comment-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .comment .comment-title {
        font-size: 22px;
        font-weight: 600;
        color: var(--text-primary);
        margin: 0;
        display: flex;
        align-items: center;
    }

    .comment .comment-action {
        font-weight: 500;
        color: gray;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .comment .comment-action button {
            padding: 0;
            background: rgba(0, 0, 0, 0) none;
            border: 0;
            color: var(--accent-color);
            cursor: pointer;
            display: flex;
            align-items: center;
        }

.comment-action > *:not(:first-child) {
    margin: 0 0 0 7px;
}

.comment-action button:not(:nth-child(1))::before,
.comment-action form button::before {
    content: "";
    position: relative;
    width: 0;
    height: 18px;
    border-left: 1px solid #ccc;
    margin: 0 7px 0 0;
}

.comment .comment-box {
    margin: 10px 0 0;
    width: 100%;
}

.comment-box .textarea {
    background: #f1f5f9 none;
    border-radius: 5px;
    padding: 12px;
    color: #333;
    border: 0;
    width: 100%;
    display: block;
    height: 107px;
    outline: none;
    resize: none;
}

.comment-box .action {
    margin: 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 34px;
}

.comment-box .note {
    flex: 0 0 auto;
    max-width: 100%;
    width: calc(100% - 140px);
    color: gray;
}

.comment-box .submit {
    border: 0;
    padding: 1px 0 0;
    border-radius: 5px;
    background: #1a7900 none;
    color: #f8fafc;
    font-weight: 600;
    font-size: 14px;
    line-height: 18px;
    width: 120px;
    height: 34px;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", "Arial", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    cursor: pointer;
}

.comment-container {
    margin: 20px 0 0;
}

.comment--button__select {
    display: flex;
    position: relative;
    gap: 33px;
    margin-top: 48px;
    margin-bottom: 49px;
    border-bottom: 1px solid #e6e6e6;
    min-width: calc(100% + 50px);
    margin-left: -25px;
    padding-left: 25px;
}

    .comment--button__select .active {
        border-width: 0;
        border-bottom: 3px solid var(--accent-color);
        color: #222;
        font-weight: 600;
        background-color: transparent;
        background-image: none;
        -webkit-appearance: button;
        text-transform: none;
        padding: 0;
    }

.comment--button__new {
    border: none;
    background: none;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: gray;
    padding-left: 0;
}

.comment-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .comment-list > li {
        margin: 20px 0 0;
    }

        .comment-list > li:not(:first-of-type) {
            border-top: 1px solid #e6e6e6;
            padding: 20px 0 0;
        }

.comment-item {
    display: flex;
    flex-wrap: wrap;
}

.comment-avatar {
    flex: 0 0 auto;
    max-width: 100%;
    width: 40px;
    height: 40px;
    margin: 0 12px 0 0;
}

    .comment-avatar .avatar {
        background: darkgray;
        border-radius: 50%;
        height: 100%;
        justify-content: center;
        display: flex;
        align-items: center;
        color: #fff;
        font-size: 18px;
        font-weight: 600;
        text-transform: uppercase;
    }

        .comment-avatar .avatar.img-check {
            background: none;
        }

    .comment-avatar img {
        width: 100%;
        border-radius: 50%;
        max-width: 100%;
        height: auto;
    }

.comment-content {
    flex: 0 0 auto;
    max-width: 100%;
    width: calc(100% - 52px);
}

.comment-top {
    display: flex;
    align-items: center;
    line-height: 16px;
    color: #999;
}

.comment-author {
    font-weight: 600;
    color: #333;
}

.comment-time {
    margin: 0 0 0 8px;
}

.comment-text {
    margin: 8px 0 0;
    color: #333;
}

.comment-bottom {
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #565656;
}

    .comment-bottom li {
        position: relative;
    }

        .comment-bottom li button {
            padding: 0;
            background: rgba(0, 0, 0, 0) none;
            border: 0;
            cursor: pointer;
            color: #565656;
        }

            .comment-bottom li button.like {
                display: flex;
                align-items: center;
                line-height: 12px;
                gap: 8px;
            }

            .comment-bottom li button.reply {
                display: flex;
                align-items: center;
                line-height: 12px;
                gap: 8px;
            }

        .comment-bottom li:not(:first-of-type) {
            display: flex;
            align-items: center;
        }

            .comment-bottom li:not(:first-of-type)::before {
                content: "";
                position: relative;
                width: 4px;
                height: 4px;
                border-radius: 50%;
                background: #ccc none;
                margin: 0 7px;
            }

        .comment-bottom li .list-reacted-icon {
            display: flex;
            position: relative;
        }

        .comment-bottom li .list-reacted-count {
            color: #888;
            margin-left: 6px;
        }

        .comment-bottom li .reaction-active {
            display: flex;
            gap: 8px;
            color: #0f6c32;
            align-items: center;
            line-height: 12px;
            font-weight: 700;
        }

.comment-empty {
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.comment-reply {
    margin: 12px 0 0 52px;
    display: flex;
    align-items: center;
    padding: 0;
    background: rgba(0, 0, 0, 0) none;
    border: 0;
    cursor: pointer;
    color: #0f6c32;
    text-decoration: underline;
    font-size: 15px;
    line-height: 20px;
}

    .comment-reply::before {
        content: "";
        position: relative;
        display: block;
        width: 24px;
        height: 24px;
        background: #4d4d4d none;
        -webkit-mask: url(https://cdnweb.dantri.com.vn/dist/b8f3063….svg) no-repeat center / 24px 24px;
        mask: url(https://cdnweb.dantri.com.vn/dist/b8f3063d4f0f9e31d2c8.svg) no-repeat center / 24px 24px;
        margin: 0 4px 0 0;
    }

.comment-more {
    margin: 20px 0 0;
    display: flex;
    align-items: center;
    padding: 12px 28px;
    background: #f4f6fa none;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    color: #0f6c32;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", "Arial", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 30px;
}

.phanhoi-form {
    width: 100%;
}


.comment-list.child {
    margin-left: 52px;
}

.post-interact {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
    gap: 10px;
}

.interact-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.interact-list {
    display: flex;
    align-items: center;
    gap: 12px;
}

.interact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f8f9fa;
    backdrop-filter: blur(10px);
    padding: 8px 10px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

    .interact-item.active {
        border: 1px solid #0879e9 !important
    }

    .interact-item img {
        border: none;
        border-radius: 50%;
        width: 24px;
        height: 24px;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .interact-item img:hover {
        transform: scale(1.2);
    }

    .like-button.liked {
        background: linear-gradient(135deg, #da020e, #ff4757);
        animation: pulse-like 0.6s ease-out;
    }

        .like-button.liked .heart {
            animation: heart-beat 0.6s ease-out;
        }

@keyframes pulse-like {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes heart-beat {
    0% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.2);
    }

    50% {
        transform: scale(1.1);
    }

    75% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

.heart {
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.like-counter {
    font-size: 24px;
    font-weight: bold;
    color: #da020e;
    min-width: 60px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

    .like-counter.animate-up {
        animation: count-up 0.6s ease-out;
        color: #ff4757;
    }

    .like-counter.animate-down {
        animation: count-down 0.6s ease-out;
        color: #666;
    }

@keyframes count-up {
    0% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }

    50% {
        transform: scale(1.5) translateY(-10px);
        opacity: 0.8;
    }

    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

@keyframes count-down {
    0% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }

    50% {
        transform: scale(0.8) translateY(5px);
        opacity: 0.6;
    }

    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.like-text {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .interact-item {
        bottom: 20px;
        right: 20px;
        padding: 12px 16px;
        gap: 12px;
    }

    .like-button {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .like-counter {
        font-size: 20px;
        min-width: 50px;
    }

    .like-text {
        font-size: 12px;
    }
}
