.detail-new .bg-bannerMain {
    height: 400px;
}
.bg-bannerMain .bg-bannerMain img {
    object-fit: cover;
}
.bannerMain {
    position: relative;
}
.detail-new .bannerMain .caption {
    position: absolute;
    color: #fff;
    top: 50%;
    left: 50px;
}
.detail-new .bg-bannerMain img {
    object-fit: cover;
}
.block-detail {
    padding: 70px 0 40px;
    overflow: hidden;
}
.block-content p {
    font-size: 16px;
    text-align: justify;
}
.block-content img {
    width: 100%;
}
.mr-4 {
    margin-right: 2rem;
}
.otherNews {
    list-style: none;
}
.card-body .btn {
    display: block;
    margin: auto;
    width: 30%;
    padding: 10px;
}
/*.block-content {
    padding: 20px 200px;    
    border-left: none;
    border-right: none;
}
*/
.block-content h1{
	font-weight:400;
	padding:10px 0;
}
.block-content h2{
	font-size:26px;
	font-weight:400;
	padding-top:15px;
}
.block-content .category-blog{
	border: 1px solid #e45620;
    border-radius: 25px;
    padding: 5px 20px;
    margin-right: 10px;
    background-color: #e45620;
    color: #fff;
}
.news-card {
    border: 1px solid #e1e1e1;
    border-radius: 12px;
    background: #fff;
    box-shadow: 5px 5px 15px 0px rgba(0, 0, 0, 0.15);
    margin-right: 5px;
}
.slider-otherNews .card-body {
    padding: 20px;
}
.slider-otherNews .card-body h4 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    height: 60px;
    margin-bottom: 12px;
}
.slider-otherNews .card-body p.fs-16 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 5;
}
.news-card img {
    /* height: 235px; */
    object-fit: cover;
    border: 1px solid #e1e1e1;
    border-radius: 12px;
}
.slider-otherNews .slick-dots {
    bottom: -30px;
    border-radius: 2px;
    width: 100%;
    display: flex;
    justify-content: center;
}
.list-image .slick-dots li {
    width: 10px;
    height: 10px;
    margin-inline: 6px;
    border-radius: 50%;
}
.list-image .slick-dots li.slick-active {
    width: 50px;
    border-radius: 12px !important;
}
.list-image .slick-dots li:last-child,.list-image .slick-dots li:first-child{
    border-radius: 50%;
}
.slick-dots li {
    width: 40px;
    height: 4px;
    margin-inline: 0;
    background-color: #d7dce1;
    overflow: hidden;
}
.slick-dots li:first-child {
    border-radius: 2px 0 0 2px;
}
.slick-dots li:last-child {
    border-radius: 0 2px 2px 0;
}
.slick-dots li.slick-active {
    width: 100px;
    background-color: var(--text-primary-2);
    border-radius: 2px;
}
.slider-otherNews .slick-dots li button {
    width: 40px;
    height: 4px;
}
.slider-otherNews .slick-dots li button:before {
    content: "";
}
.list-image .slick-prev {
    left: -45px;
}
.list-image .slick-prev:before {
    content: "";
    background-image: url("../images/ic_chevron-left-primary-2.svg");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    width: 24px;
    height: 24px;
    display: block;
}
.list-image .slick-prev,
.list-image .slick-next {
    z-index: 10;
}
.list-image .slick-next {
    right: -45px;
}
.list-image .slick-next:before {
    content: "";
    background-image: url("../images/ic_chevron-right-primary-2.svg");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    width: 24px;
    height: 24px;
    display: block;
}
.list-image .item {
    margin: 12px;
    height: 200px;
    border: 2px solid white;
    border-radius: 15px;
    overflow: hidden;
}
.list-image .item img {
    object-fit: fill;
}
.modal {
    display: none; /* Ẩn modal mặc định */
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8); /* Màu nền tối */
}

.modal-content {
    margin: auto;
    display: block;
    object-fit: contain;
    max-width: 38%;
    max-height: 60%;
    border: 2px solid white;
    border-radius: 15px;
}

/* Hiển thị khi có modal */
.modal.show {
    display: flex;
}
.slick-dotted.slick-slider {
    margin-bottom: 72px;
}
.block-detail h3 {
    border-top: 1px solid rgba(228, 86, 32, 1);
    border-left: none;
    border-right: none;
    border-bottom: none;
    padding-top: 32px;
    margin-block: 24px;
}

@media (max-width: 991.98px) {
    .detail-new .bannerMain .caption {
        top: 30%;
        left: 20px;
    }
    .detail-new .bannerMain .caption h1 {
        font-size: 24px;
    }
    .news-card {
        box-shadow: none;
    }
    .bannerMain-content h1 {
        font-size: 24px;
        line-height: 26px;
    }
    .block-detail {
        padding: 40px 0 20px;
    }
}
@media (max-width: 767.98px) {
    .bannerMain-content h1 {
        font-size: 22px;
        line-height: 24px;
    }
    .block-detail .thumbnail img {
        object-fit: contain;
        height: 100% !important;
    }
    .block-content {
        padding: 20px 0px 20px;
    }
    .modal-content {
        max-width: 90%;
    }
}
@media (max-width: 574.98px) {
    .bannerMain-content h1 {
        font-size: 16px;
        line-height: 20px;
    }
    .list-image .item {
        margin: 0px;
        padding: 15px;
		height:330px;
    }
}
