.text-search {
    display: flex;
    gap: 10px;
    margin-bottom: 10px
}

.text-search input {
    padding: 16px 12px;
    font-size: 14px;
    line-height: 1.4
}

.text-search .btn-search {
    background-color: var(--color-main);
    width: 25%
}

.box-select {
    display: flex;
    gap: 10px
}

@media(max-width: 991px) {
    .box-select {
        overflow-x: scroll
    }
}

.box-select select,
.box-select input {
    width: 100%;
    color: #4a4a4a;
    font-size: 14px;
    padding: 16px 12px;
    line-height: 1.4;
    font-weight: 600
}

@media(max-width: 991px) {

    .box-select select,
    .box-select input {
        min-width: 120px;
        font-size: 12px;
        padding: 12px 10px
    }
}

@media(max-width: 991px) {
    .box-select select#city {
        order: 0
    }
}

@media(max-width: 991px) {
    .box-select select#districts {
        order: 4
    }
}

@media(max-width: 991px) {
    .box-select select#gia {
        order: 1
    }
}

@media(max-width: 991px) {
    .box-select select#dien-tich {
        order: 2
    }
}

@media(max-width: 991px) {
    .box-select select#tax-danh-muc {
        order: 3
    }
}

@media(max-width: 991px) {
    .box-select select#huong {
        order: 5
    }
}

.banner {
    position: relative
}

.banner__desktop {
    height: 400px;
    width: 100%;
    object-fit: cover;
    display: block
}

@media(max-width: 991px) {
    .banner__desktop {
        display: none
    }
}

.banner__mobile {
    display: none;
    height: 500px;
    object-fit: cover
}

@media(max-width: 991px) {
    .banner__mobile {
        display: block
    }
}

.banner__wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%)
}

.banner__wrap .tabs-nav {
    display: flex;
    list-style: none;
    padding: 0;
    gap: 10px;
    margin: 0
}

.banner__wrap .tabs-nav li {
    width: fit-content
}

.banner__wrap .tabs-nav li a {
    background: var(--color-white);
    border-radius: 4px 4px 0 0;
    color: var(--color-heading);
    display: block;
    font-weight: 600;
    padding: 10px 16px;
    text-align: center;
    text-decoration: none
}

.banner__wrap .tabs-nav li.tab-active a {
    background: var(--color-main);
    color: var(--color-white);
    cursor: default
}

.banner__wrap .tabs-stage {
    box-shadow: 0 3px 5px 0 rgba(0, 0, 0, .1);
    background: var(--color-white);
    border-radius: 0 6px 6px 6px;
    border-top: 0;
    clear: both;
    padding: 24px 30px;
    position: relative;
    top: -1px
}

@media(max-width: 768px) {
    .banner__wrap .tabs-stage {
        padding: 24px 16px
    }
}

.property {
    padding: 60px 0 0 0
}

.property .list-cate {
    list-style: none;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 16px 0
}

@media(max-width: 768px) {
    .property .list-cate {
        display: none
    }
}

.property .list-cate li a {
    text-transform: capitalize;
    font-weight: 600;
    text-decoration: none;
    color: var(--color-heading)
}

.property .list-cate li:hover a {
    color: var(--color-main)
}

.property__wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px
}

@media(max-width: 1024px) {
    .property__wrap {
        grid-template-columns: repeat(3, 1fr)
    }
}

@media(max-width: 768px) {
    .property__wrap {
        grid-gap: 16px;
        grid-template-columns: repeat(2, 1fr)
    }
}

.property .bds-post {
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .1);
    border: 1px solid rgba(151, 151, 151, .3);
    border-radius: 6px;
    overflow: hidden
}

.property .bds-post:hover img {
    transform: scale(1.1)
}

.property .bds-post .entry-thumbnail {
    overflow: hidden
}

.property .bds-post .entry-thumbnail img {
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    transition: .5s
}

.property .bds-post .entry-content {
    padding: 12px 12px 20px 12px
}

.property .bds-post .entry-content h3 {
    margin: 0 0 12px 0;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-heading);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

@media(max-width: 768px) {
    .property .bds-post .entry-content h3 {
        font-size: 16px;
        -webkit-line-clamp: 3
    }
}

.property .bds-post .entry-content h3 a {
    color: var(--color-main);
    text-decoration: none
}

.property .bds-post .entry-content .excerpt {
    display: none
}

.property .bds-post .entry-content .info-bds {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap
}

.property .bds-post .entry-content .info-bds .info-item {
    display: flex;
    gap: 4px;
    align-items: center
}

@media(max-width: 768px) {
    .property .bds-post .entry-content .info-bds .info-item {
        white-space: nowrap
    }
}

.property .bds-post .entry-content .info-bds .info-item.price {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-black)
}

.property .bds-post .entry-content .info-bds .info-item.area {
    font-size: 14px
}

.property .bds-post .entry-content .info-bds .info-item svg {
    width: 20px;
    height: 20px
}

.projects {
    padding: 60px 0 0 0
}

.projects__wrap {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    gap: 10px
}

@media(max-width: 768px) {
    .projects__wrap {
        grid-template-rows: auto repeat(3, auto);
        grid-template-columns: repeat(2, 1fr)
    }
}

.projects .project-post {
    position: relative;
    border-radius: 6px;
    overflow: hidden
}

.projects .project-post:nth-child(1) {
    grid-area: 1/1/3/3
}

.projects .project-post:nth-child(2) {
    grid-area: 1/3/2/4
}

.projects .project-post:nth-child(3) {
    grid-area: 1/4/2/5
}

.projects .project-post:nth-child(4) {
    grid-area: 2/3/3/4
}

.projects .project-post:nth-child(5) {
    grid-area: 2/4/3/5
}

@media(max-width: 768px) {
    .projects .project-post:nth-child(1) {
        grid-area: 1/1/2/4
    }

    .projects .project-post:nth-child(1) .entry-thumbnail img {
        aspect-ratio: 4/3
    }

    .projects .project-post:nth-child(2) {
        grid-area: 2/1/3/2
    }

    .projects .project-post:nth-child(3) {
        grid-area: 2/2/3/3
    }

    .projects .project-post:nth-child(4) {
        grid-area: 3/1/4/2
    }

    .projects .project-post:nth-child(5) {
        grid-area: 3/2/4/3
    }
}

.projects .project-post .entry-thumbnail {
    overflow: hidden
}

.projects .project-post .entry-thumbnail a {
    display: block
}

.projects .project-post .entry-thumbnail img {
    display: block;
    width: 100%;
    transition: .5s;
    object-fit: cover;
    aspect-ratio: 4/3
}

@media(max-width: 768px) {
    .projects .project-post .entry-thumbnail img {
        aspect-ratio: 1/1
    }
}

.projects .project-post:hover .entry-thumbnail img {
    transform: scale(1.1)
}

.projects .project-post:hover .entry-content h3 {
    color: var(--color-main)
}

.projects .project-post:hover .entry-content a {
    color: var(--color-main)
}

.projects .project-post .entry-content {
    width: 100%;
    position: absolute;
    padding: 20px;
    top: 0;
    left: 0;
    background: linear-gradient(to top, rgba(22, 27, 42, 0.0196078431) 0%, rgba(22, 27, 42, 0.8392156863) 100%);
    background-repeat: no-repeat;
    background-position: left 100%
}

.projects .project-post .entry-content h3 {
    font-size: 18px;
    line-height: 1.4;
    color: var(--color-white);
    margin: 0
}

@media(max-width: 768px) {
    .projects .project-post .entry-content h3 {
        font-size: 16px
    }
}

.projects .project-post .entry-content h3 a {
    color: var(--color-white);
    text-decoration: none
}

.projects .project-post .entry-content h3 a:hover {
    text-decoration: none
}

.news {
    position: relative;
    padding: 60px 0 90px
}

.news h2 {
    text-align: center
}

.news__wrap {
    position: relative;
    display: grid;
    gap: 20px 30px;
    grid-template-columns: repeat(4, 1fr)
}

@media(max-width: 768px) {
    .news__wrap {
        gap: 20px 16px;
        grid-template-columns: repeat(2, 1fr)
    }
}

.news__item {
    position: relative
}

@media(max-width: 768px) {
    .news__item {
        grid-area: auto !important
    }
}

.news__item .content {
    display: none
}

@media(max-width: 768px) {
    .news__item .content {
        display: none !important
    }
}

.news__item .content p {
    font-size: 16px;
    color: #4a4a4a;
    margin: 0 0 16px
}

.news__item:nth-child(1) {
    grid-area: 1/1/2/2
}

@media(max-width: 768px) {
    .news__item:nth-child(1) {
        grid-area: 1/1/2/3 !important
    }
}

@media(max-width: 768px) {
    .news__item:nth-child(1) .content {
        display: block !important
    }
}

@media(max-width: 768px) {
    .news__item:nth-child(1) .entry-content h3 {
        font-size: 18px
    }
}

.news__item:nth-child(2) {
    grid-area: 1/2/3/4
}

.news__item:nth-child(2) .content {
    display: block
}

.news__item:nth-child(2) .entry-content h3 {
    font-size: 24px;
    font-weight: 600
}

@media(max-width: 768px) {
    .news__item:nth-child(2) .entry-content h3 {
        font-size: 16px
    }
}

.news__item:nth-child(3) {
    grid-area: 1/4/2/5
}

.news__item:nth-child(4) {
    grid-area: 2/1/3/2
}

.news__item:nth-child(5) {
    grid-area: 2/4/3/5
}

.news__item .entry-thumbnail {
    position: relative;
    border-radius: 6px;
    overflow: hidden
}

.news__item .entry-thumbnail::after {
    content: "";
    display: block;
    padding-bottom: 56%
}

.news__item .entry-thumbnail img {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s
}

.news__item:hover .entry-thumbnail img {
    transform: scale(1.1)
}

.news__item .entry-content h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-heading);
    margin: 14px 0 12px
}

@media(max-width: 768px) {
    .news__item .entry-content h3 {
        font-size: 16px
    }
}

.news__item .entry-content h3 a {
    color: var(--color-heading);
    text-decoration: none
}

.news__item .entry-content h3 a:hover {
    color: var(--color-main)
}

.news__item .entry-date {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

.news__item .entry-date p {
    margin: 0;
    color: #7c818b;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600
}

.news__item .entry-date .folder {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border-right: 1px solid #ecf0f4;
    padding-right: 10px
}

.news__item .entry-date .folder svg {
    width: 16px;
    height: 16px;
    fill: #7c818b;
    margin-right: 5px
}

.news__item .entry-date a {
    text-decoration: none;
    color: #7c818b
}

.news__item .entry-date a:hover {
    color: var(--color-main)
}