/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
ul.nav-left li.header-block {
    width: 605PX;
}

.header-social-icons .social-icons i {
    font-size: 15px;
    color: #A3ABB0;
}

.header-social-icons .social-icons i:hover {
    color: #05843e;
}

.header-social-icons .social-icons.follow-icons {
    display: flex
;
    gap: 8px;
    align-items: center;
    position: relative;
}



.row-small .col.medium-3.small-6.large-3,
.row-small .col.medium-6.small-6.large-6{
    padding: 0px 5px 10px;
}
.header-social-icons .social-icons.follow-icons::before {
    content: "Follows";
    color: #A3ABB0;
    font-weight: 500;
    font-size: 16px;
    margin-right: -2px;
}
ul.header-nav.header-nav-main.nav.nav-right {
    display: flex;
    width: 270px;
}

ul.header-nav.header-nav-main.nav.nav-right li.header-block {
    width: 170px;
}

.header-nav-main a.nav-top-link {
    font-size: 18px;
    font-weight: 500;
}

ul.header-nav.header-nav-main {
    display: flex;
    gap: 26px;
    justify-content: center;
}

.icon-box-text:hover .text p a strong {
    color: #E12300;
}

.icon-box-text .text p a strong {
    font-weight: 500;
}

.icon-box.featured-box.icon-box-ok.icon-box-left .icon-box-img {
    position: relative;
}

.icon-box.featured-box.icon-box-ok.icon-box-left .icon-box-img::after {
    content: "";
    position: absolute;
    right: -5px;
    top: 39%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: rgba(255, 255, 255, 0.07);
}

.absolute-footer.dark {
    display: none;
}


.ux-menu.menu-footer .ux-menu-link__text {
    position: relative;
    transition: color 0.3s ease;
    color: #A8ABAE;
    font-size: 18px;
}

.ux-menu.menu-footer .ux-menu-link__text::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'><path d='M471.1 297.4C483.6 309.9 483.6 330.2 471.1 342.7L279.1 534.7C266.6 547.2 246.3 547.2 233.8 534.7C221.3 522.2 221.3 501.9 233.8 489.4L403.2 320L233.9 150.6C221.4 138.1 221.4 117.8 233.9 105.3C246.4 92.8 266.7 92.8 279.2 105.3L471.2 297.3z'/></svg>") center / contain no-repeat;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'><path d='M471.1 297.4C483.6 309.9 483.6 330.2 471.1 342.7L279.1 534.7C266.6 547.2 246.3 547.2 233.8 534.7C221.3 522.2 221.3 501.9 233.8 489.4L403.2 320L233.9 150.6C221.4 138.1 221.4 117.8 233.9 105.3C246.4 92.8 266.7 92.8 279.2 105.3L471.2 297.3z'/></svg>") center / contain no-repeat;
    background-color: #05843e;
    margin-right: 8px;
    vertical-align: middle;
}

.ux-menu.menu-footer .ux-menu-link__link {
    position: relative;
    display: inline-block;
    margin-bottom: 6px;
}

.ux-menu.menu-footer .ux-menu-link__link::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 28px;
    width: calc(100% - 28px);
    height: 2px;
    background-color: #05843e;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.ux-menu.menu-footer .ux-menu-link__link:hover .ux-menu-link__text {
    color: #05843e;
}

.ux-menu.menu-footer .ux-menu-link__link:hover::after {
    transform: scaleX(1);
}

.ux-menu.menu-footer .ux-menu-link__text {
    z-index: 1;
}

.section-footer .social-icons.follow-icons {
    display: flex;
    gap: 11px;
    margin-top: -13px;

}

.social-icons a {
    font-size: 20px;
}


.cf7-subscribe-3aland {
    background: transparent;
    color: #eaeaea;
    font-size: 16px;
}

.cf7-subscribe-3aland input[type="email"] {
    width: 100%;
    height: 56px;
    padding: 0 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: transparent;
    color: #fff;
    outline: none;
    transition: border-color .25s ease, box-shadow .25s ease;
}

.cf7-subscribe-3aland input[type="email"]::placeholder {
    color: #A8ABAE;
}

.cf7-subscribe-3aland input[type="email"]:focus {
    border-color: #05843e;
    box-shadow: 0 0 0 3px rgba(5, 132, 62, 0.15);
}

.cf7-subscribe-3aland input[type="submit"] {
    width: 100%;
    height: 54px;
    border: 0;
    border-radius: 12px;
    background: #05843e;
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    transition: transform .06s ease, filter .25s ease, box-shadow .25s ease;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.15) inset;
    margin-bottom: -5px;
}

.cf7-subscribe-3aland input[type="submit"]:hover {
    filter: brightness(1.05);
}

.cf7-subscribe-3aland input[type="submit"]:active {
    transform: translateY(1px);
}

.cf7-subscribe-3aland .cf7-accept {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #a8abae;
    font-size: 14px;
}


.cf7-accept label {
    color: rgb(92, 94, 97);
    font-size: 16px;
    font-weight: 300;
}

.cf7-subscribe-3aland .wpcf7-acceptance input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    margin: 0 8px 0 0;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 6px;
    background: transparent;
    display: inline-grid;
    place-content: center;
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease;

}

.cf7-subscribe-3aland .wpcf7-acceptance input[type="checkbox"]::before {
    content: "";
    width: 12px;
    height: 12px;
    transform: scale(0);
    transition: transform .15s ease;
    background: #fff;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path d='M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z'/></svg>") center/contain no-repeat;
}

.cf7-subscribe-3aland .wpcf7-acceptance input[type="checkbox"]:checked {
    background-color: #05843e;
    border-color: #05843e;
}

.cf7-subscribe-3aland .wpcf7-acceptance input[type="checkbox"]:checked::before {
    transform: scale(1);
}

.cf7-subscribe-3aland .wpcf7-response-output {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #eaeaea;
    background: rgba(255, 255, 255, 0.03);
}


.banner-truot .banner-bg {
    background-image: url('/wp-content/themes/flatsome-child/assets/img/image-21-1.png') !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center center !important;
    background-attachment: fixed !important;
    overflow: visible !important;
    position: relative;
}

.banner-layer.text-banner-title {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: auto !important;
    /* để khối ôm đúng theo nội dung */
    text-align: center !important;
    /* đảm bảo nội dung căn giữa */
}

/* h2 giữ inline-block để width bám theo nội dung */
.text-banner-title .dong-tien-title {
    display: inline-block;
    white-space: nowrap;
    line-height: 1.1;
    color: #fff;
}


#banner-location {
    display: inline-block;
    position: relative;
    vertical-align: baseline;
    color: #fff !important;
}

#banner-location,
#banner-location * {
    border: none !important;
    box-shadow: none !important;
}

#banner-location {
    display: inline-block;
    color: #fff !important;
}

#banner-location .ch {
    display: none;
    opacity: 0;
    transform: translateX(-16px);
}

#banner-location .ch.in {
    animation: chIn .50s cubic-bezier(.22, .61, .36, 1) forwards;
}

#banner-location .ch.out {
    animation: chOut .45s cubic-bezier(.22, .61, .36, 1) forwards;
}

#banner-location .ch.space {
    width: .38em;
    display: inline-block;
    opacity: 1;
    transform: none;
    animation: none !important;
}

@keyframes chIn {
    0% {
        opacity: 0;
        transform: translate3d(-10px, 0, 0);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes chOut {
    0% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }

    100% {
        opacity: 0;
        transform: translate3d(10px, 0, 0);
    }
}


.text-banner-title {
    margin-top: -917px;
}

.text-box-duoi {
    margin-top: -825px;
}


.btn-cate {
    padding: 0px 29px;
    transition: all 0.35s ease;
}


.button.white.is-large.lowercase.btn-cate:hover {
   background: linear-gradient(
        145deg,
        #c40000 0%,       /* Đỏ đậm bắt đầu */
        #ff3a00 20%,      /* Đỏ cam */
        #ff6a00 35%,      /* Cam */
        #ffb000 55%,      /* Vàng cam nhẹ */
        #ff6a00 75%,      /* Cam */
        #c40000 100%      /* Đỏ đậm kết thúc */
    ) !important;
/*     background: #FF9500 !important; */
    color: #fff !important;
    border-color: transparent;
    opacity: 1;
    box-shadow: unset;

}


.col-text-add .col-inner {
    margin-top: 24px;
}

.img-box-area .box-text.text-center {
    padding-left: 15px;
    padding-right: 32px;
}

a.button.white.is-outline.btn-area {
    color: #fff;
    background: rgb(255 255 255 / 15%) !important;
    border-radius: 16px;
    padding: 2px 12px 4px 12px;
    font-size: 16px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

a.button.white.is-outline.btn-area:hover {
    background: linear-gradient(145deg, #c40000 0%, /* Đỏ đậm bắt đầu */ #ff3a00 20%, /* Đỏ cam */ #ff6a00 35%, /* Cam */ #ffb000 55%, /* Vàng cam nhẹ */ #ff6a00 75%, /* Cam */ #c40000 100% /* Đỏ đậm kết thúc */) !important;
    border-color: #FF9500 !important;
    color: #fff !important;
}

.img-box-area .box-image {
    position: relative;
    overflow: hidden;
}

.img-box-area .box-image::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0) 68.29%,
            rgba(0, 0, 0, 0.9) 100%);
    opacity: 1;
    transition: all 0.3s ease;
    pointer-events: none;
    border-radius: inherit;
}


.img-box-big .box-image {
    border-radius: 16px;
}

.img-radius img {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 16px;
}

.img-hover {
    position: relative;
    z-index: 999;
    overflow: hidden;
    border-radius: 16px;
}

.img-hover::before,
.img-hover::after {
    content: "";
    position: absolute;
    width: 50%;
    height: 100%;
    background: rgb(0, 0, 0);
    opacity: 0.1;
    transition: all 0.35s ease;
    z-index: 3;
    pointer-events: none;
}


.img-hover:hover::before {
    top: 0;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}


.img-hover:hover::after {
    top: 0;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}

.img-hover::before {
    top: -100%;
    left: 0;
}

.img-hover::after {
    bottom: -100%;
    right: 0;
}

.img-hover:hover::before {
    top: 0;
}

.img-hover:hover::after {
    bottom: 0;
    transition-delay: 0.25s;
}

.img-hover img {
    transition: transform 0.5s ease;
    border-radius: inherit;
}


.icon-box-top h3 {
    margin-top: -21px;
    margin-bottom: -4px;
}

.col.box-card-tax>.col-inner {
    border-radius: 16px;
    background: #fff;
    padding: 30px 24px 24px 24px;
    border: 1px solid #ECECEC;
    text-align: center;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.col.box-card-tax>.col-inner::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: #05843e;
    transition: top 0.6s ease 0s;
    z-index: 0;
}

.col.box-card-tax>.col-inner:hover::before {
    top: 0;
}

.col.box-card-tax>.col-inner:hover svg path {
    fill: #fff;
    position: relative;
    z-index: 1;
}

.col.box-card-tax>.col-inner:hover p,
.col.box-card-tax>.col-inner:hover h3 {
    color: #fff !important;
    position: relative;
    z-index: 1;
}


.wpcf7 form .row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 0px;
}

.wpcf7 form .col-50 {
    flex: 1 1 49%;
}

.wpcf7 form .col-100 {
    flex: 1 1 100%;
}

.wpcf7 form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 16px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ececec;
    border-radius: 10px;
    font-size: 15px;
    box-sizing: border-box;
    height: 52px;
    box-shadow: unset;
}

.wpcf7 .wpcf7-form-control-wrap {
    display: block;
    margin-top: 12px;
}

.wpcf7 textarea {
    min-height: 120px;
}

.wpcf7 input[type="submit"] {
    background-color: #F19300;
    color: #fff;
    padding: 4px 24px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-transform: capitalize;
}

.wpcf7 input[type="submit"]:hover {
    background-color: #005c88;
}

.wpcf7 input::placeholder,

.wpcf7 textarea::placeholder {
    color: #b0b0b0;
}

.wpcf7 select {
    color: #2C2E33;
    font-weight: 200;
}

a.button.white.lowercase.btn-white * {
    color: #FFAF00;
}

a.button.white.lowercase.btn-white:hover {
    background: #2C2E33 !important;
}

.header-main {
    box-shadow: 0px 4px 18px 0px #00000014;
}


.blog-big .box .post-meta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2C2E33;
    font-weight: 500;
}

.blog-big .box .post-meta::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'><path d='M320 64C461.4 64 576 178.6 576 320C576 461.4 461.4 576 320 576C178.6 576 64 461.4 64 320C64 178.6 178.6 64 320 64zM296 184L296 320C296 328 300 335.5 306.7 340L402.7 404C413.7 411.4 428.6 408.4 436 397.3C443.4 386.2 440.4 371.4 429.3 364L344 307.2L344 184C344 170.7 333.3 160 320 160C306.7 160 296 170.7 296 184z'/></svg>") center / contain no-repeat;
    background-color: #2C2E33;
}

.blog-big .post-meta.is-small {
    color: #2C2E33;
    font-size: 14px;
    font-weight: 100 !important;
}

.blog-big h5.post-title.is-large a {
    font-size: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    max-height: calc(1.4em * 2);
    white-space: normal;
    color: #1C1C1E;
    transition: all 0.3s ease 0s;
    cursor: pointer;
    margin-bottom: 14px;
}

.blog-small h5.post-title.is-large a {
    color: #1C1C1E;
}

.blog-big h5.post-title.is-large a:hover,
.blog-small h5.post-title.is-large a:hover {
    color: #FFAF00;
}

.blog-big .box-blog-post .image-cover {
    border-radius: 30px;
    margin-bottom: 14px;
}

.blog-small .image-cover {
    border-radius: 12px;
}

.blog-small .col.post-item {
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 10px;
}

.blog-small .box-text.text-left.is-small {
    padding-top: 20px;
}


.email-input-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 400px;
}

.email-input-wrapper input[type="email"] {
    width: 100%;
    padding: 10px 44px 10px 15px;
    /* chừa chỗ bên phải cho icon */
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
    line-height: 1.4;
}

.email-input-wrapper .submit-icon {
    position: absolute;
    right: -7px;
    top: 38%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.email-input-wrapper .submit-icon .icon-proty-letter {
    width: 18px;
    height: 18px;
    stroke: #f28c38;
    flex-shrink: 0;
}

.email-input-wrapper .submit-icon:hover .icon-proty-letter {
    stroke: #d97620;
}


a.button.white.lowercase.btn-tag {
    border: 1px solid rgb(0 0 0 / 14%);
}

a.button.white.lowercase.btn-tag:hover {
    background: #FFAF00 !important;
    color: #fff !important;
}

.banner-radius,
.banner-radius .banner-bg.fill {
    border-radius: 16px;
}

.banner-radius .banner-bg.fill::after {
    content: '';
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(88, 41, 0, 0) 0%, #582900 100%);
    position: absolute;
    width: 100%;
    height: 100%;
}

.blog-single nav.breadcrumb {
    margin-bottom: 30px;
}

h1.entry-title {
    font-size: 32px;
    color: #000;
}

.entry-header-text.entry-header-text-top.text-left {
    border-bottom: 1px solid #EFEFEF;
}

.page-wrapper {
    padding-bottom: 0px;
    padding-top: 30px;
}

.entry-header-text h2.entry-title:first-of-type {
    display: none;
}


/* Định vị để overlay trên ảnh */
.blog-big .box-blog-post {
    position: relative;
}

.blog-big .box-blog-post .box-image {
    position: relative;
    overflow: hidden;
}

.blog-big .box-blog-post .cat-label {
    position: absolute;
    top: -219px;
    left: 10px;
    z-index: 3;
    margin: 0;
    padding: 6px 10px;
    background: #F19700;
    color: #fff;
    border-radius: 999px;
    line-height: 1;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: uppercase;
    opacity: 1;
}

.blog-big .box-blog-post .cat-label a {
    color: inherit;
    text-decoration: none;
}

.blog-big .box-blog-post .cat-label a:hover {
    text-decoration: underline;
}


.col-form-tu-van>.col-inner {
    box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
}

.col-form-tu-van input.wpcf7-form-control.wpcf7-submit.has-spinner {
    width: 100%;
}

.cf7-ui.form-ui-1 {
    margin-bottom: -16px;
}

.wpcf7 input[type="submit"]:hover {
    background-color: #F43808;
}



.section-ok .swiper-button-next,
.section-ok .swiper-button-prev {
    display: none;
}


.text-box-form {
    margin-top: -691px;
}

.text-box-form div#advancedFilter label {
    color: #000 !important;
    text-align: left;
}

.text-box-form .property-filter-advanced .property-filter-advanced-group:nth-of-type(2) {
    margin-left: -30px;
}

.text-box-form .property-filter-advanced {
    gap: 53px;
}

@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/


}