﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.page-container {
    width: 100%;
    height: auto;
}

.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-color: #F5F5F3;
    padding: 40px 0;
}

.title {
    padding: 0 15px;
}

.filter-item-title {
    font-size: 16px;
    color: #000000;
    font-weight: 400;
}

#sort-select {
    color: #000000;
    font-size: 16px;
}

.div1 {
    background-color: #FFFFFF;
    border-radius: 20px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

    .div1:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

.article {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 450px;
}

.article-img {
    width: 100%;
    height: 245px;
}

    .article-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 20px;
        transition: transform 0.3s ease;
    }

    .article-img:hover img {
        transform: scale(1.05);
    }

.article-content {
    width: 100%;
    /*    height: 186px;*/
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .article-content p {
        margin-bottom: 0 !important;
    }

.article-content-title {
    font-weight: 700;
    font-size: 18px;
    line-height: 1.5;
    color: #000000;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-content-title a {
    color: #333;
    transition: all 0.4s ease;
    display: inline-block;
    perspective: 500px;
}

    .article-content-title a:hover {
        color: #ff5722;
        transform: rotateX(10deg) translateY(-5px);
        text-shadow: 0 5px 15px rgba(255, 87, 34, 0.4);
    }

.article-content-intro {
    font-size: 18px;
    font-weight: 400;
    color: #000000;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-content-date {
    font-size: 16px;
    font-weight: 400;
}

.article-content-viewmore {
    font-size: 16px;
    font-weight: 700;
    color: #E84E0E;
    text-decoration: none;
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
}

    .article-content-viewmore:hover {
        transform: translateX(5px);
        color: #d03801;
    }

    .article-content-viewmore::after {
        content: ' >';
        display: inline-block;
        transition: transform 0.3s ease;
    }

    .article-content-viewmore:hover::after {
        transform: translateX(5px);
    }

.page-content-right {
    /*border-radius:20px;*/
    /*    background-color:#FFFFFF;*/
    padding: 0 20px 20px 20px;
}

.side-content {
    background-color: #FFFFFF;
    border-radius: 20px;
    padding: 20px;
}

.search-box {
    position: relative;
    height: 58px;
}

    .search-box input {
        padding: 10px;
        border: 1px solid #D8D4CE;
        border-radius: 10px;
        height: 100%;
    }

    .search-box .search-icon {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        width: 24px;
        height: 24px;
        pointer-events: none;
    }

.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;
}

.pagination {
    display: flex;
    justify-content: start;
    list-style: none;
    height: 38px;
    gap: 10px;
    margin-bottom: 0 !important;
    padding: 0 13px;
}

    .pagination li {
        margin-bottom: 0 !important;
        margin-top: 0 !important;
    }

    .pagination a {
        text-decoration: none;
        padding: 8px 13px;
        background: white;
        color: #00000080;
        width: 38px;
        height: 38px;
        border-radius: 99px;
    }

    .pagination .active a {
        background: #E84E0E;
        color: white;
        border: none;
    }


.custom-tag {
    background-color: white;
    color: black;
    padding: 8px 16px;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .custom-tag:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        transform: translateY(-2px);
    }
    .custom-tag.selected {
        background-color: #E84E0E;
        color: white;
    }

.list-category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
}

    .list-category-item label {
        margin-bottom: 0;
        flex: 1;
        /*        margin-left: 8px;*/
        font-weight: 500;
        font-size: 16px !important;
        cursor: pointer;
        line-height: 28px !important;
    }

    .list-category-item input[type="checkbox"] {
        accent-color: #E84E0E; /* màu cam */
        cursor: pointer;
        width: 20px;
    }

    .list-category-item .count {
        background: #fff1ec;
        color: #E84E0E;
        text-align: center;
        font-size: 16px;
        font-weight: bold;
        border-radius: 999px;
        width: 24px;
        height: 24px;
    }

    .list-category-item label:before {
        width: 20px !important;
        height: 20px !important;
        border-radius: 4px !important;
    }

    .list-category-item label:after {
        width: 16px !important;
        height: 9px !important;
    }

.show-more-btn {
    color: #E84E0E;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
}

@media (max-width: 1199px) {
/*    .page-up {
        margin-top: 15px;
    }*/

    .clamp-img {
        width: 100px !important;
        height: 60px !important;
    }

    .clamp-date, .clamp-viewmore {
        font-size: 12px;
    }
}

@media (max-width: 1024px) {
/*    .page-up {
        margin-top: 15px;
    }*/
}

@media (max-width: 991px) {
/*    .page-up {
        padding-top: 51px;
    }*/

    .clamp-date, .clamp-viewmore {
        font-size: 16px;
    }

    .clamp-img {
        width: 200px !important;
        height: 150px !important;
    }
}

@media (max-width: 767px) {
/*    .page-up {
        padding-top: 51px;
    }*/

    .clamp-img {
        width: 100px !important;
        height: 100px !important;
    }
}

@media (max-width: 575px) {
    .clamp-date, .clamp-viewmore {
        font-size: 12px;
    }

    .clamp-img {
        width: 100px !important;
        height: 80px !important;
    }
}