/* Chung */
* {
	line-height: 1.5em;
}

span.elementor-icon-list-text {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.homenest__text-gradient .elementor-heading-title {
	background: linear-gradient(93.87deg, #2E942B 0%, #CAF880 100%);
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.homenest_anhvuong img {
    aspect-ratio: 1;
    object-fit: cover;
}

.homenest_background-blur {
    backdrop-filter: blur(24px);
}

/* Header */
.homenest__header-logo {
	margin-right: auto;
}

/* Header menu */
.homenest__header-menu ul.sub-menu {
	
}

.homenest__header-menu ul.sub-menu a {
	border: 0;
}


/* Breadcrumbs */
nav.homenest__breadcrumbs ol {
	list-style: none;
	padding: 0;
}
nav.homenest__breadcrumbs li {
	display: inline;
}
nav.homenest__breadcrumbs li:not(:first-of-type)::before {
	content: "/";
	padding: 0 10px;
}
nav.homenest__breadcrumbs a {
	color: #fff;
}


.homenest__grid-posts .elementor-loop-container.elementor-grid {
	grid-template-areas: "p1 p2"
		"p1 p3"
		"p1 p4";
	grid-template-columns: 2fr 3fr;
}

.homenest__grid-posts .elementor-loop-container.elementor-grid > div:first-of-type {
	grid-area: p1;
}




/* ================================= */
/* Trang tin tức + danh mục bài viết */
/* ================================= */
/* List danh mục bài viết */
ul.homenest-all-categories {
	list-style: none;
	padding: 0;
	display: flex;
	gap: 36px;
	overflow: scroll;
	scrollbar-width: none;
}
ul.homenest-all-categories li {
	white-space: nowrap;
}
ul.homenest-all-categories a {
	color: #000;
}
ul.homenest-all-categories li.active a {
	color: #2E942B;
}


/* Tổng quan dự án */
.homenest__philosophy {
	min-width: 2600px !important;
}
@media only screen and (max-width: 1366px) {
	.homenest__philosophy {
		min-width: calc((100vw - var(--padding-left) * 2) * 2) !important;
	}
}

@media only screen and (max-width: 1200px) {
	.homenest__header-logo {
    margin-right: unset;
}
}



/* Item bài viết */
.homenest__archive_item-post__title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}
.homenest__archive_item-post_image img{
	aspect-ratio: 1;
	object-fit: cover;
	object-position: center;
}

/* Carousel dịch vụ */
.homenest__carousel-dichvu .swiper-pagination-bullet {
	width: 50px !important;
	border-radius: 20px;
}
.homenest__carousel-dichvu .swiper-pagination-bullet-active {
	width: 110px !important;
}


/* Single Post */
.homenest__single-post :where( h2, h3, h4, h5, h6) {
	line-height: 1.5em;
	font-weight: 700;
}.homenest__single-post h2 {
	font-size: 1.5em;
}.homenest__single-post h3 {
	font-size: 1.17em;
}.homenest__single-post h4 {
	font-size: 1em;
}.homenest__single-post h5 {
	font-size: 0.8em;
}.homenest__single-post h6 {
	font-size: 0.67em;
}
.homenest__single-post_info .elementor-post-info__item--type-terms a {
	color: #9c9c9c !important;
}
.homenest__single-post_info .elementor-post-info__item--type-terms a::before {
	content: "#";
}

/* contact*/
.homenest__form {
    display: flex;
    flex-direction: column;
	font-family: 'Noto Sans' !important;
}

.homenest__form br {
    display: none;
}

.homenest__form input,  select, textarea {
    border: 0.5px solid #4E4949;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 400;
}

.homenest__form input, .homenest__form select {
    height: 50px;
}

.homenest__form p {
    gap: 12px;
    display: inline-flex;
    flex-direction: column;
}

.homenest__form button {
    width: fit-content;
    background: linear-gradient(45deg, #2E942B, #CAF880); 
    color:#FFFFFF;
	padding:12px 24px 12px 24px;
	display:flex;
	align-items:center;
	font-size: 16px;
	border: 0.5px solid #00000000;
}

.homenest__form span {
    padding-right: 8px;
}




/* Liên hệ tư vấn bđs */
.homenest__form-lien-he-tu-van-bds * {
    font-family: 'Noto Sans';
    font-size: 14px;
}

.homenest__form-lien-he-tu-van-bds > p {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.homenest__form-lien-he-tu-van-bds br {
    display: none;
}

.homenest__form-lien-he-tu-van-bds :where(input, select, textarea) {
    outline: 0;
    border: 1px solid #ccc !important;
    border-radius: 5px !important;
}

.homenest__form-lien-he-tu-van-bds input[type="submit"] {
    background: linear-gradient(to right, #2E942B, #CAF880);
    color: #fff;
}



/* Lưới hình ảnh */
.homenest__gallery-grid {
    display: grid;
    grid-template-areas: "a1 a2"
        "a1 a3";
    grid-template-columns: 2fr 1fr;
    grid-template-rows: calc(50% - 8px) calc(50% - 8px);
    grid-gap: 16px;
    aspect-ratio: 16/8;
}

.homenest__gallery-grid._two-img {
    grid-template-areas: "a1 a2";
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
}

.homenest__gallery-grid._one-img {
    grid-template-areas: "a1";
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}

.homenest__gallery-grid .homenest__gallery-item:nth-of-type(1) {
    grid-area: a1;
}

.homenest__gallery-grid .homenest__gallery-item {
    position: relative;
    z-index: 0;
    cursor: pointer;
}

.homenest__gallery-grid .homenest__gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.homenest__gallery-grid .homenest__gallery-item .homenest__gallery-more {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-family: 'Noto Sans';
}

.homenest__gallery-grid .homenest__gallery-item:has(.homenest__gallery-more)::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: #000000a0;
}


/* Popup chi tiết bđs */
.homenest__popup-chitiet-bds_container {
    position: fixed;
    z-index: 1;
    inset: 0;
    transform: scaleY(0);
    transform-origin: top center;
	transition: transform 0s ease .5s !important;
}

.homenest__popup-chitiet-bds_close-btn {
	cursor: pointer;
}

.homenest__popup-chitiet-bds_container.showpopup {
    transform: scaleY(1);
	transition: transform 0s ease 0s !important;
}

.homenest__popup-chitiet-bds_container .homenest__popup-chitiet-bds_box {
    transform: translateY(-120px);
    opacity: 0;
	transition: all .5s ease;
}

.homenest__popup-chitiet-bds_container.showpopup .homenest__popup-chitiet-bds_box {
    transform: translateY(0px);
    opacity: 1;
}

.homenest__popup-chitiet-bds_swipe .swiper-slide {
    text-align: center;
}

.homenest__popup-chitiet-bds_swipe .swiper-slide img {
    max-height: 800px;
}

.homenest__popup-chitiet-bds_swipe .swiper-button-next, .homenest__popup-chitiet-bds_swipe .swiper-button-prev {
    background-color: #00000080;
    width: 30px;
    height: 60px;
    transform: translateY(-50%);
}

.homenest__popup-chitiet-bds_swipe .swiper-button-prev {
    left: 0;
}

.homenest__popup-chitiet-bds_swipe .swiper-button-next {
    right: 0;
}

.homenest__popup-chitiet-bds_swipe .swiper-button-prev::after, .homenest__popup-chitiet-bds_swipe .swiper-button-next::after {
    color: #fff;
    font-size: 20px;
}

.homenest__popup-chitiet-bds_swipe  .swiper-wrapper {
	align-items: center;
}

.homenest__chitiet-bds__breadcrumb > div:not(:first-of-type)::before {
    content: ">";
    margin-right: 5px;
}



.homenest_noidungtindang a {
    background: linear-gradient(90deg, #2E942B 0%, #CAF880 100%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}


.homenest__cactindang * {
    font-family: 'Noto Sans';
}

.homenest__cactindang > div {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 28px 24px;
}




/* =========================== */
/* homenest__dangkytuvanvebds */
/* ========================= */
.homenest__dangkytuvanvebds {
    display: flex;
    gap: 10px;
}
.homenest__dangkytuvanvebds * {
    font-family: 'Noto Sans';
}
.homenest__dangkytuvanvebds > div > p {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 5px;
}
.homenest__dangkytuvanvebds > div > p > span {
    width: 50%;
}
.homenest__dangkytuvanvebds > div > p input {
    height: 50px;
    border: 0;
    outline: 0;
}
.homenest__dangkytuvanvebds > p > input {
    background: linear-gradient(90deg, #2E942B 0%, #CAF880 100%);
    color: #fff;
    border: 0;
    line-height: 50px;
    padding: 0 30px;
    text-transform: uppercase;
}
.homenest__dangkytuvanvebds > p {
    text-align: center;
}
.homenest__dangkytuvanvebds > p {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}





@media (max-width: 1366px) {
	.homenest__cactindang > div {
    grid-gap: 24px 20px;
}
}




@media (max-width: 1281px) {
	.homenest__grid-posts .elementor-loop-container.elementor-grid {
		display: flex;
		flex-direction: column;
	}
}

@media (max-width: 1200px) {
	.homenest__cactindang > div {
    grid-gap: 16px 12px;
}
}

@media (max-width: 1024px) {
	.homenest__cactindang > div {
    grid-template-columns: repeat(3, 1fr);
}
}

@media (max-width: 768px) {
	.homenest__grid-posts .elementor-loop-container.elementor-grid {
		display: flex;
		flex-direction: column;
	}
	.homenest__form input,  select, button {
		height: 45px;
		font-size: 14px;
	}
 	.homenest__form textarea {
		border-radius:10px;
		height:130px;
	}
	.homenest__form button {
		font-size: 14px !important;
	}
	.homenest__lienhe .e-con-inner {
		display: flex;
		flex-direction: column;
	}
	
	
	.homenest__cactindang > div {
    grid-template-columns: repeat(2, 1fr);
}

}


@media (max-width: 480px) {
	.homenest__cactindang > div {
    grid-template-columns: repeat(1, 1fr);
}
}
		
