﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.page-container {
    width: 100%;
}

    .page-container p {
        margin-bottom: 0 !important;
    }

.page-up {
    width: 100%;
    background-color: #efefef;
}

/*    .page-up nav ol {
        padding: 0 7px;
    }*/

.breadcrumb-item a {
    font-size: 16px;
    font-weight: 400;
    color: #000000;
}

.breadcrumb {
    --bs-breadcrumb-divider: '>';
}
.breadcrumb-item + .breadcrumb-item::before {
    padding-left: .5rem;
    padding-right: .7rem;
}

.page-down {
    width: 100%;
    background: linear-gradient(to bottom, rgb(244,231,224,1) 0%, rgb(244,231,224,0) 30%, rgb(245,245,243) 100%);
    padding: 40px 0;
}

.content {
    padding: 30px;
    background-color: white;
    border-radius: 20px;
}

.post-img {
    width: 100%;
    max-height: 548px;
    border-radius: 20px;
}

.social-icon-elements {
    width: 36px;
    height: 36px;
    text-align: center;
    border: 1px solid #57585A;
    border-radius: 99px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-interact {
    border-top: 1px solid #d8d4ce;
}

.post-like-tag, .social {
    padding-top: 20px;
}

/*.post-like-tag {
    width: 40%;
}*/

.comment {
    padding: 20px 0;
    gap: 20px;
}

#btnSubmitPostComment {
    background: #E84E0E !important;
    border-radius: 10px;
}

#postCommentInput {
    background: #FFFF;
    border-radius: 10px;
    padding: 20px;
}

.loaduser-comment {
    gap: 20px;
}

.pagination-wrapper {
    padding-top: 20px;
    border-top: 1px solid #57585A;
}

    .pagination-wrapper .pagination {
        display: flex;
        gap: 10px;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .pagination-wrapper .page-item .page-link {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: #f9f9f9;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #333;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    .pagination-wrapper .page-item.active .page-link {
        background-color: #e74c1c;
        color: white;
    }

    .pagination-wrapper .page-item.disabled .page-link {
        opacity: 0.4;
        pointer-events: none;
    }
.document-item {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    min-height:68px;
    align-items:center;
    padding: 0 20px;
    border-radius:10px;
}

    .document-item:hover {
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    }
.content .icon-references img {
    width: 32px !important;
    height: 32px !important;
}
.btn-download {
    width: 134px;
    height: 44px;
    background-color: #E84E0E;
    text-align: center;
    border-radius: 10px;
    padding: 9px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #E84E0E, #FF7F50);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}
    .btn-download  {
        display: flex;
        align-items: center;
        gap: 8px;
        color: white;
        text-decoration: none;
        font-size: 16px;
        font-weight: 500;
    }

    .btn-download svg {
        transition: transform 0.3s ease;
    }

    .btn-download:hover {
        background: linear-gradient(90deg, #C73F0C, #E66B3D);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
        transform: translateY(-2px); /* Nâng lên */
    }

        .btn-download:hover svg {
            transform: translateY(2px); /* Biểu tượng di chuyển xuống */
        }

    .btn-download:active {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        transform: scale(0.95); /* Thu nhỏ khi nhấn */
    }
a .btn-download {
    color:#FFFF;
    font-size:16px;
}
.page-content-right {
    /*border-radius:20px;*/
    /*    background-color:#FFFFFF;*/
    padding: 0 20px 20px 20px;
}

.side-content {
    background-color: #FFFFFF;
    border-radius: 20px;
    padding: 20px;
}

.side-posts-title {
    /*    width: 100%;
    height: 42px;*/
    border-bottom: 1px solid #D8D4CE;
}

.side-posts-article {
    /*    width: 100%;
    height: 80px;
    display: flex;*/
    gap: 10px;
}

.article-side-img {
    height: 100%;
    width: 100px;
}

    .article-side-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 10px;
    }

.article-side-content {
    gap: 10px;
}

.article-side-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 18px;
    font-size: 16px;
    margin-bottom: 0 !important;
    /*    width: 100%;
    height: 40px;*/
}

.post-item {
    /*    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;*/
    transition: all 0.3s ease;
}

    .post-item:last-child {
        border-bottom: none;
    }

    .post-item:hover {
        background-color: #f9f9f9;
        transform: translateX(10px);
        box-shadow: 0 2px 10px rgba(232, 78, 14, 0.1);
    }

/*    .post-item .col-4,
    .post-item .col-sm-3,
    .post-item .col-md-4 {
        flex: 0 0 auto;
        width: 100px;
    }*/

.clamp-2-lines {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Số dòng tối đa */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #000000;
    font-size: 16px;
    font-weight: 700;
}

    .clamp-2-lines a {
        color: #333;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .clamp-2-lines a:hover {
            color: #E84E0E;
        }

.clamp-date {
    font-size: 16px;
    font-weight: 400;
}

.clamp-viewmore {
    color: #E84E0E;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
}

    .clamp-viewmore:hover {
        color: #d03801;
        transform: translateX(5px);
    }

    .clamp-viewmore::after {
        display: inline-block;
        transition: transform 0.3s ease;
    }

    .clamp-viewmore:hover::after {
        transform: translateX(5px);
    }

.clamp-img {
    border-radius: 10px;
}

.post-item:hover .clamp-img {
    transform: scale(1.05);
}

.clamp-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.article-side-date {
    margin-bottom: 0 !important;
}

.article-side-date, .article-side-more {
    font-size: 16px;
}

.intro-descriptrion p {
    font-size: 18px;
    color: #000000;
    font-weight:400 !important;
}

.publishedtime {
    color: #000000;
    font-size:18px;
    font-weight:400 !important;
}

.categoryname {
    font-size: 18px;
    color: #262774 !important;
    font-weight:700 !important;
}

.content img {
    width: 100% !important;
    object-fit: contain !important;
    height: fit-content !important;
    border-radius:10px;
}

.content p {
    font-size: 18px !important;
    color: #000000 !important;
    font-weight: 400 !important;
    margin-bottom: 0 !important;
}
#tag-cuoi-trang{
    line-height:inherit;
}
.ava-comment {
    width: 64px !important;
    height: 64px !important;
    border-radius: 999px;
}
.video-container video{
    height:400px;
}
.plyr--full-ui.plyr--video .plyr__control--overlaid {
    background-color: #E84E0E !important;
    color: #fff !important;
}
.plyr__volume input[type=range] {
    color: #E84E0E !important;
}
.plyr--video .plyr__control:hover {
    background-color: #E84E0E !important;
}
.plyr__progress input[type=range] {
    color: #E84E0E !important;
}
.modal-content {
    border-radius: 8px;
    padding: 10px;
    text-align: center;
}

.modal-title {
    font-size: 24px;
    font-weight: bold;
}

.modal-body {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
}

.modal-footer .btn-primary {
    background-color: #ff5722; /* Màu cam giống hình */
    border: none;
    border-radius: 5px;
    font-size: 16px;
    padding: 10px;
}

    .modal-footer .btn-primary:hover {
        background-color: #e64a19;
    }

.modal-footer .signup-link {
    color: #ff5722;
    text-decoration: none;
    font-size: 14px;
}

    .modal-footer .signup-link:hover {
        text-decoration: underline;
    }

.comment .btn-signin {
    width: 240px;
    height: 50px;
}
@media (max-width: 991px) {
    .post-interact {
        flex-direction: column;
    }

    .social {
        width: 30% !important;
    }

    .post-like-tag {
        width: 100% !important;
    }
}
@media (max-width: 767px) {
    .social{
        width:40% !important;
    }
    .post-like-tag {
        width: 100% !important;
    }
}
@media (max-width: 575px) {
    .social {
        width: 40% !important;
    }

    .post-like-tag {
        width: 100% !important;
    }
    .document-item {
        flex-direction: column;
        align-items:flex-start;
    }
    .publishedtime {
        font-size: 14px !important;
    }
    .categoryname{
        font-size: 14px !important;
    }
}
@media (max-width: 467px) {
    .social {
        width: 50% !important;
    }

    .post-like-tag {
        width: 100% !important;
    }
}
@media (max-width: 495.88px) {
    .breadcrumb-name{
        margin: 0 !important;
    }
}