/* Css for single page */
body.single {

}
.slide_single {

}
.slide_list {
	border: 1px solid #222222;
	border-radius: 10px;
	padding: 20px 10px;
	margin-bottom: 30px;
}
.slide_list ul{
	padding: 0;
}
.slide_list ul li {
	list-style: none;
	line-height: 1.4rem;
	padding: 5px 0;
}
.slide_list ul li a {
	font-size: 1rem;
	color: #333;
}
.slide_list ul li a:hover {
	color: #ff0011;
}
.news_latest {
}

.news_latest h4{
	margin-bottom: 5px;
}

.news_latest ul{
	padding: 0;
}
.news_latest ul li{
	display: flex;
	list-style: none;
	padding: 10px 0;
}
.news_latest ul li .imgBox {
	width: 30%;
	min-height: 80px;
	background-size: cover;
	background-position: center;
	border-radius: 10px;
}
.news_latest ul li .ttlBox {
	width: 69%;
	font-size: 0.8rem;
	padding-left: 5px;
}
.news_latest ul li .ttlBox a {
	color: #333;
}
.news_latest ul li .ttlBox a:hover {
	color: #ff0011;
}
@media (max-width: 767px) {
	.news_latest ul li{
	
	}
	.news_latest ul li .imgBox { 
		height: 100px;
	}
}
/* Banner */
body.single #slide-banner{
	padding: 20px 0;
}
body.single #slide-banner .banner_slide {
	position: relative;
	height: 350px;
}
body.single #slide-banner h1.entry-title{
	position: relative;
	text-transform: uppercase;
	font-size: 1.5rem;
    font-weight: bold;
    padding-left: 20px;
}
.single #slide-banner h1.entry-title:before{
	width: 5px;
	height: 90%;
	background-color: #ff0011;
	position: absolute;
	top: 0;
	left: 0;
	content: "";
}
@media (max-width: 767px) {
	body.single #slide-banner h1.entry-title{
		font-size: 1.2rem;
	}
}
/* News */
#news {
	padding-top: 20px;
	padding-bottom: 50px;
}
#news .news {
	padding-top: 20px;
}

#news .news .list-item{
}
#news .news .list-item ul{
	padding: 0;
}
#news .news .list-item ul li{
	list-style: none;
	display: flex;
	margin-bottom: 30px;
}
#news .news .list-item ul li .imgBox{
	width: 30%;
	background-size: cover;
	background-position: center;
	border-radius: 20px;
	min-height: 150px;
}
#news .news .list-item ul li .contentBox{
	width: 70%;
	padding-left: 20px;
}
#news .news .list-item ul li .contentBox .ttlBox {
	font-size: 1rem;
	font-weight: bold;
	line-height: 1.4rem;
}
#news .news .list-item ul li .contentBox .ttlBox a {
	color: #333;
}
#news .news .list-item ul li .contentBox .ttlBox a:hover {
	color: #ff0011;
}
#news .news .list-item ul li .contentBox .despBox {
	font-size: 1rem;
}

#news .news .newsTitle {
	font-size: 1.4rem;
	padding-bottom: 20px;
    border-bottom: 1px dotted #AAA;
    margin-bottom: 5px;
}
#news .news .subTitle {
	font-size: 0.8rem;
	color: #AAA;
}
#news .news .newsDetail {
	font-size: 1rem;
}

@media (max-width: 767px) {
	#news .news .list-item ul li{
		display: block;
	}
	#news .news .list-item ul li .imgBox{
		width: 100%;
		height: 300px;
		text-align: center;
		margin-bottom: 10px;
	}
	#news .news .list-item ul li .contentBox{
		width: 100%;
		padding-left: 0;
	}
}
/* breadcrumb_main */
.breadcrumb {
	background-color: #ffffff !important;
	padding: 0 !important;
}
.breadcrumb li {
	padding-right: 5px;
	color: #888888;
	font-size: 0.8rem;
}
.breadcrumb li a {
	color: #888888;
	font-size: 0.8rem;
}
.breadcrumb li a.home {
	color: #ff0011;
}

.filter_status {
	margin: 10px 0 20px;
}
.post {
	padding-bottom: 40px;
}
.post .entry-header {
	padding-bottom: 15px;
}
/* Project */
#project .slide_bar {
	margin-bottom: 20px;
}
#project .slide_bar .slide_list {
	padding: 20px;
}
#project .slide_bar .slide_list h4 {
	margin-bottom: 10px;
}
#project .slide_bar .slide_list ul {
	border-bottom: 1px solid #333;
	padding-bottom: 20px;
	margin-bottom: 20px;
	padding-left: 20px;
}
#project .slide_bar .slide_list ul li{}
#project .slide_bar .slide_list ul li a {
	font-size: 1rem;
}
.project_list {}
.project_list .list{
	padding-top: 10px;
}
.project_list .list ul {
	padding-left: 0;
}
.project_list .list ul li {
	list-style: none;
	margin-bottom: 20px;	
}
.project_list .list ul li .item{
	box-shadow: 0px 4px 10px rgba(51, 51, 51, 0.15);
  	border-radius: 10px;
  	position: relative;
}
.project_list .list ul li .img-prj {
	height: 300px;
	width: 100%;
	position: relative;
	background-size: cover;
	background-position: center;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}
.project_list .list ul li .desp-prj {
	position: relative;
	padding: 10px 15px 20px;
}
.project_list .list ul li .desp-prj .ttl-prj {
	min-height: 60px;
}
.project_list .ttl-prj a{
	color: #313131;
}
.project_list .ttl-prj a:hover {
	color: #FF0011;
}
.project_list .desp-prj .cate-prj {
	margin-bottom: 10px;
}
.project_list .desp-prj .cate-prj a{
  	font-size: 0.8rem;
	line-height: 1rem;
	font-weight: normal;
	padding-top: 5px;
}
.project_list .desp-prj .add-prj {
	font-size: 0.8rem;
	color: #999;
	min-height: 50px;
}
.project_list .desp-prj .price-prj {
	padding: 15px 0;
	font-size: 0.9rem;
	color: #999;
}
.project_list .list ul li .status {
	position: absolute;
    top: 10px;
    left: 10px;
    font-weight: normal;
    padding: 5px 10px;
}
/* pagination */
.pagination {
	justify-content: center;
    align-items: center;
}
.page-link {
	padding: .5rem .8rem .3rem !important;
}

/* project detail */
.project_detail {

}
.project_detail .project-top {
	padding-top: 20px;
}
.project_detail .project-top .top-left{
	
}
.project_detail .project-top .top-left .address{
	font-size: 1rem;
}
.project_detail .project-top .top-right{
	
}
.project_detail .project-top .top-right .price{
	font-size: 2rem;
	font-weight: 700;
}
.project_detail .project-info {
	margin-top: 40px;
	margin-bottom: 20px;
}
.project_detail .project-info ul.nav {}
.project_detail .project-info ul.nav li{}
.project_detail .project-info ul.nav li button{
	background-color: #ffffff;
	color: #333;
	border: none;
	border-radius: 0;
	padding: 0.4rem 1.2rem;
	cursor: pointer;
}
.project_detail .project-info ul.nav li button:focus {
	outline: none;
}
.project_detail .project-info ul.nav li .nav-link.active {
	border-bottom: 2px solid #ff0011;
	color: #ff0011;
}
.project_detail .project-info .tab-content {
	margin: 10px 0;
}
.project_detail .project-info .tab-content .tab-pane{
	padding: 15px 20px;
    background: #F0F2F6;
    border-radius: 10px;
}
.project_detail .project-info .tab-content .tab-pane table.table-pj-info {

}
.project_detail .project-info .tab-content .tab-pane table.table-pj-info th {
	border-top: none;
	width: 15%;
	font-size: 1rem;
	line-height: 1.5rem;
}
.project_detail .project-info .tab-content .tab-pane table.table-pj-info td {
	border-top: none;
	width: 35%;
	font-size: 1rem;
	line-height: 1.5rem;
}

.project_detail .project-info .tab-content .tab-pane .investor-content {}
.project_detail .project-info .tab-content .tab-pane .investor-content h3 {
	font-size: 1rem;
	padding: 10px 0;
	border-bottom: 1px solid #666666;
}
.project_detail .project-info .tab-content .tab-pane .law-info {
	text-align: center;
	padding: 20px 0;
}

.project_detail .project-utilities {
	padding-top: 20px;
	padding-bottom: 40px;
}
.project_detail .project-utilities .utilities-box {
	padding-top: 20px;
}
.project_detail .ttl-box{
	position: relative;
	padding-bottom: 10px;
}
.project_detail .ttl-box h4{
	font-size: 1.3rem;
    font-weight: normal;
    line-height: 32px;
    letter-spacing: 0px;
    color: #333333;
    margin: 0;
    padding: 0;
}
.project_detail .ttl-box:before{ 
	content: "";
    position: absolute;
    bottom: 0;
    width: 100px;
    height: 1.5px;
    background-color: #ff0011;
}

.project_detail .project-detail {
	padding-top: 20px;
	padding-bottom: 40px;
}
.project_detail .project-detail .content-box {
	padding-top: 20px;
	font-size: 1rem;
}
.project_detail .project-plan {
	padding-top: 20px;
	padding-bottom: 40px;
}
.project_detail .project-plan .plan-box {
	padding-top: 20px;
}
.project_detail .project-map {
	padding-top: 20px;
	padding-bottom: 40px;
}
.project_detail .project-map .map-box {
	padding-top: 20px;
}
.project_detail .project-map .map-box iframe {
	width: 100%;
}
.sidebar_box {
	background: #FFFFFF;
    box-shadow: 0px 4px 10px rgba(51, 51, 51, 0.15);
    border-radius: 10px;
    padding: 24px 12px;
    margin: 0 0 20px;
}

#project .project_slider {
	background-color: #333;
}
#project .project_slider .owl-carousel{}
#project .project_slider .owl-carousel .item{}
#project .project_slider .owl-carousel .item img {
	height: 400px;
}
@media (max-width: 767px) {
	#project .project_slider .owl-carousel .item img {
		height: 300px;
	}
}

.project-videos {}
.project-videos .video-box {
	margin-top: 20px;
}
.project-videos .video-box .video-item {}
.project-videos .video-box .video-item .img-video{ 
	height: 200px;
	background-size: cover;
	background-position: center; 
	position: relative;
}
.project-videos .video-box .video-item .ttl-video {
	color: #333;
	font-size: 1rem;
	padding: 10px 0;
}

.project-videos .video-box .video-item .img-video img{
	width: 60px;
    height: 60px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

/* Videos */
#news .videos .list-item ul {
	padding-left: 0;
}
#news .videos .list-item ul li{
	list-style: none;
	margin-bottom: 30px;
}
#news .videos .list-item ul li .imgBox{
	background-size: cover;
	background-position: center;
	border-radius: 10px;
	height: 150px;
	position: relative;
}
#news .videos .list-item ul li .imgBox a{
	display: block;
	height: 100%;	
	width: 100%;
	cursor: pointer;
}
#news .videos .list-item ul li .imgBox a img{
	width: 60px;
    height: 60px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}
#news .videos .list-item ul li .contentBox{
	padding-top: 10px;
}
#news .videos .list-item ul li .contentBox .ttlBox {
	font-size: 1rem;
	font-weight: bold;
	line-height: 1.4rem;
}
#news .videos .list-item ul li .contentBox .ttlBox a {
	color: #333;
	cursor: pointer;
}
#news .videos .list-item ul li .contentBox .ttlBox a:hover {
	color: #ff0011;
}

@media screen and (min-width: 768px) {
    #news #authModal .modal-body-end {
    	margin-right: 50px;
    }
}

.news-layout {
    display: flex;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #F0F0F0;
}
.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.category-header h3 {
    font-size: 1.2em;
    margin: 0;
    font-weight: normal;
}

.category-header .view-more {
    font-size: 0.95em;
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.category-header .view-more:hover {
    color: #0056b3;
    text-decoration: underline;
}
.view-more::after {
    content: '→';
    display: inline-block;
    margin-left: 6px;
    transition: transform 0.2s ease;
}

.view-more:hover::after {
    transform: translateX(3px);
}
.news-left {
    width: 50%;
}

.news-right {
    width: 50%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 15px;
}

.imgBox {
    width: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 5px;
}

/* Kích thước ảnh */
.imgBox.large {
    aspect-ratio: 16 / 9;
    margin-bottom: 10px;
}

.news-item  .imgBox.small {
    aspect-ratio: 4 / 3;
    margin-bottom: 5px;
}

.ttlBox a {
    color: #222;
    text-decoration: none;
}
.news-item  .ttlBox.small {
    font-size: 0.75em;
}
.despBox {
    font-size: 0.95em;
    color: #666;
    margin-top: 8px;
}

.news-item .ttlBox {
    font-size: 0.95em;
}
.news-item .ttlBox {
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;       /* Giới hạn 2 dòng */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4em;
    max-height: 2.8em;  
}
/* ========= Responsive ========= */
@media (max-width: 992px) {
    .news-left, .news-right {
        width: 100%;
    }

    .news-right {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {

    .category-header h3 {
        font-size: 1em;
    }
    .news-layout {
        flex-direction: column;
    }

    .news-right {
        grid-template-columns: 1fr;
        grid-gap: 12px;
    }

    .imgBox.large {
        aspect-ratio: 4 / 3;
    }

    .imgBox.small {
        aspect-ratio: 16 / 9;
    }
}