/*
Theme Name: Dehomes Child
Theme URI:http://wordpress.zcube.in/dehomes
Description: Dehomes – Single Real Estate WordPress Theme.
Text Domain: wesecure
Author:       zcube
Author URI: https://themeforest.net/user/zcubedesign
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
Template:     dehomes
Version: 1.2
Tested up to: 6.6
Requires PHP: 7.0

*/


/* Theme customization starts here
  -------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
	font-family: "huawen-xingkai", sans-serif;
}
p{
	font-family: 'Poppins', sans-serif;
	font-size:16px;
}
.service_stickyContainer {
    position: sticky;
    top: 50px;
}

.blog-content2 h4 {
    font-size: 21px;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}
.services-08-item:hover h6 a{
	color:white;
}
.services-08-content h6{
	font-size: 21px;
	font-family: 'Poppins', sans-serif;
}

/* ============= Home Page ============== */
.about_box, .about_box a.ekit_global_links, .about_box .ekit-wid-con{
	display:flex;
}
.content-lines-wrapper2{
	display:none;
}
.about-title > span,
.section-title span{
	color: #ff3131;
    background: none;
    height: auto;
	margin-bottom:0;
	font-size:14px;
}
.about-content3 li::before{
	color:#004aad;
	background:#004aad;
}
.s-about-content p, .services-08-item p, .tab-pane p, .single-testimonial p, .blog-content2 p{
    color: #2a2a2a;
}
.services-08-item:hover p {
    color: #ffffff;
}
.video-area h2 {
    color: #fff;
    font-size: 86px;
}
.services-08-item:hover::before{
	background-color: #545454;
}
.apartments nav > div a.nav-item.nav-link, .apartments nav > div a.nav-item.nav-link.active{
	font-family: 'Poppins', serif;
}
.apartments nav > div a.nav-item.nav-link.active {
    color: #004aad;
    border-bottom: 2px solid #004aad;
    background: none;
}
.apartments .tab-content ul li {
    list-style: none;
    color: #004aad;
    margin-bottom: 10px;
    font-weight: 500;
}
.apartments nav > div a.nav-item.nav-link:hover, .apartments nav > div a.nav-item.nav-link:focus {
    border-bottom: 2px solid #ff3131;
    color: #ff3131;
    border-radius: 0;
    transition: background 0.20s linear;
}
.gallery-image::before {
	background: #ff3131;
}
.gallery-image figcaption h4 {
    font-weight: 500;
    font-size: 38px;
}
#scrollUp{
	background-color: #004aad !important;
}
.testimonial-active .ta-info h6 {
    font-size: 28px;
    color: #000000;
}
.testimonial-active .ta-info span {
    color: #000000;
    font-size: 14px;
    position: relative;
}
.testimonial-active .slick-dots .slick-active button {
    border-radius: 5px;
    background-color: #000000 !important;
}
.testimonial-active .slick-arrow{
	color: #000000 !important;
}
.s-cta-btn .btn {
    background: #004aad;
    color: #fff;
    margin-top: 10px;
    border: 0;
}
.section-title a {
    display: inline-block;
    color: #004aad;
    border-bottom: 2px solid #004aad;
}

/* ============= Blogs css ============ */
/* p{
    font-size: 16px;
    color: #7a7a7a;
    margin-bottom: 12px;
    line-height: 1.2em;
    font-family: "Inter", sans-serif;
} */
h1, h2, h3, h4, h5, h6, li, span{
    font-family: "Neuton", Sans-serif;
}
a{
    text-decoration: none;
}
.blog_banner{
    background-image: url(/wp-content/uploads/2026/04/hkbanner.jpg);
    background-position: center;
    background-size: cover;
    height: 380px;
    display: flex;
    align-items: center;
    position: relative;
    isolation: isolate;
}
.blog_banner::before{
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.349);
    z-index: -1;
}
.custom_container{
    max-width: 1140px;
    width: 100%;
    margin: 0 auto;
    padding: 0 12px;
}
.banner_title h1 {
    font-size: 53px;
    font-family: "Neuton", Sans-serif;
    color: white;
	font-weight:500;
    text-align: center;
}
.blog_section {
    padding: 70px 0;
}
.blog_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.blog_post {
    box-shadow: 0 0 25px 0 #f1f1f161;
    display: inline-block;
    background: white;
	
}
.blog_post:hover p{
	color:#2a2a2a;
}
.blog_top_area{
    position: relative;
}
.blog_img {
    width: 100%;
    height: 198px;
    object-fit: cover;
}
.blog_date {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: white;
    padding: 5px 8px;
    color: #edb92c;
    font-size: 14px;
    font-family: Roboto !important;
}
.blog_content {
    padding: 20px;
}
.blog_title h5 {
    font-size: 22px;
    margin-bottom: 12px;
    color: black;
    font-family: "Poppins", sans-serif;
	display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;

}
.blog_desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 20px;
}
.blog_btn {
    border: none;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Poppins';
    background: #004aad;
    padding: 9px 17px;
}

/* ======== Blog detail css start ======== */
.blog_detail_banner {
    height: 380px;
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
}
.blog_detail_banner .blog_detail_bg{
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    z-index: -1;
}
.blog_detail_banner .blog_detail_bg::before{
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.349);
}
.blog_detail_banner .blog_detail_bg img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog_detail_main{
    padding: 70px 0;
}
.blog_detail_row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}
.left_col {
    width: 60%;
}
.right_col {
    width: 30%;
}
.blog_detail_main .blog_grid{
    display: block;
}
.blog_detail_main .blog_grid .grid_item{
    margin-bottom: 20px;
}
.blog_detail_content h1, 
.blog_detail_content h2, 
.blog_detail_content h3, 
.blog_detail_content h4, 
.blog_detail_content h5, 
.blog_detail_content h6{
    font-size: 30px;
    font-weight: 600;
    margin: 34px 0 15px;
}
.blog_detail_content img {
    width: 100%;
    margin: 10px 0 20px;
    border-radius: 20px;
}
.recent_post {
    padding: 20px;
    background: #F2F9FF;
    border-radius: 10px;
}
.recent_posttitle h5{
    font-size: 26px;
    margin-bottom: 20px;
    margin-top: 10px;
}
.recent_post .blog_post {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}
.recent_post .blog_img{
    height: 101px;
}
.recent_post .blog_title h5{
    font-size: 16px;
	display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.recent_post .blog_top_area{
    width: 35%;
}
.recent_post .blog_content{
    width: 61%;
	padding:0;
}
.recent_post .blog_desc{
    display: none;
}
.recent_post .blog_date{
    display: none;
}
.recent_post .blog_btn {
    background: none;
    padding: 0;
    color: #004aad;
}
/* ======== Blog detail css end ======== */
/* ============= Blogs css ============ */
@media (max-width: 800px) {
	.blog_banner {
		height: 150px;
	}
	.blog_grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.blog_detail_banner {
		min-height: 150px;
		height: auto;
	}
	.banner_title h1 {
		font-size: 43px;
	}
	.blog_detail_main {
		padding: 30px 0;
	}
	.recent_post {
		padding: 10px;
	}
	.recent_post .blog_top_area {
		width: 34%;
	}
	.recent_post .blog_img {
		height: 76px;
	}
	.recent_post .blog_title h5 {
		font-size: 15px;
	}
}
@media (max-width: 767px) {
	.blog_grid {
		grid-template-columns: repeat(1, 1fr);
	}
	.blog_title h5 {
		font-size: 20px;
	}
	.blog_desc p {
		font-size: 15px;
		line-height: 1.5;
	}
	.blog_section {
		padding: 30px 0;
	}
	.banner_title h1 {
		font-size: 30px;
	}
	.left_col {
		width: 100%;
	}
	.right_col {
		width: 100%;
	}
}