.mb-10{
    margin-bottom: 10px !important;
}
.mb-15{
    margin-bottom: 15px !important;
}
.mb-20{
    margin-bottom: 20px !important;
}
.mb-25{
    margin-bottom: 25px !important;
}
.mb-30{
    margin-bottom: 30px !important;
}
.section-title-container .section-title-normal span{
    border-color: var(--primary-color);
}

.page-title .page-title-inner{
    flex-direction: column;
}
.page-title .page-title-inner .flex-col{
    width: 100%;
    text-align: left;
}

.page-title .page-title-inner .title-breadcrumbs{
    padding-top: 5px;
}

/*home*/
.box-text-banner-home h1{
    color: #044AED;
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 5px;
}
.box-text-banner-home h3{
    color: #1a2a4a;
    font-size: 24px;
    line-height: 30px;
}
.list-banner-home ul{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 40px; /* hàng - cột */
    padding: 0;
    margin: 0;
    list-style: none;
}

.list-banner-home {
    margin-bottom: 30px;
}
.list-banner-home ul li{
    display: flex;
    align-items: center;
    margin: 0 !important;
    position: relative;
}
.list-banner-home ul li:before {
    content: '';
    width: 22px;
    height: 22px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230056b3'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 20px 20px;
    color: #1a2a4a;
    font-weight: 500;
    display: block;
}

.img-bn-1{
    position: absolute !important;
    top: 50px;
    left: -15%;
    border: 3px solid #fff;
    border-radius: 15px;
    overflow: hidden;
    width: 320px !important;
    height: 160px;
}
.img-bn-2{
    position: absolute !important;
    top: 240px;
    left: -25%;
    border: 3px solid #fff;
    border-radius: 15px;
    overflow: hidden;
    width: 320px !important;
    height: 160px;
}
.img-bn-3{
    position: absolute !important;
    top: 450px;
    left: -10%;
    border: 3px solid #fff;
    border-radius: 15px;
    overflow: hidden;
    width: 300px !important;
    height: 160px;
}
.img-bn-1 img,
.img-bn-2 img,
.img-bn-3 img{
    width: auto !important;
}
@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); } /* Lên 15px */
    100% { transform: translateY(0px); }
}

/* Áp dụng vào các class ảnh */
.img-bn-1, .img-bn-2, .img-bn-3 {
    animation: floating 4s ease-in-out infinite;
    transition: transform 0.3s ease; /* Mượt mà hơn khi tương tác */
}
.img-bn-2 {
    animation-delay: 1s;
}

.img-bn-3 {
    animation-delay: 2s;
}
.img-bn-1:hover, .img-bn-2:hover, .img-bn-3:hover {
    animation-play-state: paused;
    cursor: pointer;
}

.b-radius-10 > .col-inner,
.b-radius-10{
    border-radius: 10px !important;
    overflow: hidden;
}

.sub-title *{
    color: var(--fs-color-secondary);
    margin-bottom: 0;
}

.slider-show-nav .flickity-prev-next-button{
    margin-top: -10px !important;
    border: 1px solid #cdcdcd;
    background: #fff;
    color: var(--primary-color);
    border-radius: 50%;
    height: 36px !important;
    width: 36px !important;
    display: block;
    line-height: inherit;
    min-height: auto;
    opacity: 1 !important;
}
.slider-show-nav .flickity-prev-next-button .flickity-button-icon{
    width: 30px;
}
.dnw-box-villa-resort.slider-nav-outside .flickity-prev-next-button.previous {
    left: -5px;
    right: auto;
}
.dnw-box-villa-resort.slider-nav-outside .flickity-prev-next-button.next {
    left: auto;
    right: -5px;
}

.box-about-home .icon-box .icon-box-text{
    padding-left: 6px !important;
}
.box-about-home .icon-box .counter *{
    font-size: 26px;
    color: var(--primary-color);
    margin-bottom: 5px;
    line-height: 1;
    font-weight: bold;
}
.box-about-home .icon-box .text-counter *{
    font-size: 12px;
}

.box-counter-2 .col{
    padding-bottom: 0;
    border-color: #e7e7e759 !important;
}
.box-counter-2 .icon-box .counter{
    font-size: 22px;
    font-weight: bold;
}

/*Blog*/
.post-item .col-inner{
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
}
.post-item .box-image{
    border-radius: 8px;
}
.post-item .is-divider{
    display: none;
}
.post-item .box-text{
    padding: 15px;
}
.row-slider .post-item{
    margin-bottom: 15px;
}
.recent-blog-posts a,
.post-item .post-title a{
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
    line-height: 20px;
}

.single-post .entry-header-text {
    padding-bottom: 5px;
}
.single-post .entry-header-text .entry-divider{
    display: none;
}


/*Villa*/
.rating-stars{
    position: relative;
    display: inline-block;
    font-size: 20px;
    line-height: 1;
}

.stars-bg{
    color:#ddd;
}

.stars-fill{
    position:absolute;
    left:0;
    top:0;
    width:calc(var(--rating) / 5 * 100%);
    overflow:hidden;
    white-space:nowrap;
    color:#FFC107;
}

.villa-price{
    display: inline-flex;
    align-items: flex-end;
    gap: 6px;
    margin-top: 10px;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    color: #ff6b00;
    letter-spacing: -.5px;
}
.single-villa_resort .villa-price{
    font-size: 34px;
}
.villa-price span{
    font-size: 16px;
    font-weight: 500;
    color: #666;
    margin-bottom: 4px;
}

@media (max-width: 767px){
    .single-villa_resort .villa-price{
        font-size: 28px;
    }

    .villa-price span{
        font-size: 14px;
    }
}

.box-villa-price{
    margin-bottom: 15px;
}


.villa-gallery{
    display:grid;
    grid-template-columns:68% 32%;
    gap:12px;
    margin-bottom: 30px;
}

.villa-gallery .gallery-main img{
    width:100%;
    height:640px;
    object-fit:cover;
    border-radius: 6px;
    transition:.35s;
}

.villa-gallery .gallery-side{
    display:grid;
    grid-template-columns:1fr;
    grid-template-rows:repeat(4,1fr);
    gap:12px;

}

.villa-gallery .gallery-main,
.villa-gallery .gallery-item{
    position:relative;
    overflow:hidden;
    border-radius: 6px;
    padding: 0;
}

.villa-gallery .gallery-item img{
    width:100%;
    height:151px;
    object-fit:cover;
    transition:.35s;
}

.villa-gallery .gallery-item:hover img,
.villa-gallery .gallery-main:hover img{
    transform:scale(1.05);
}

.villa-gallery .gallery-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.55);
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    color:#fff;
    font-size:34px;
    font-weight:700;
}

.villa-gallery .gallery-overlay small{
    margin-top:8px;
    font-size:15px;
    font-weight:500;
}

.single-villa-resort-wrap h1{
    margin-bottom: 0;
}

.villa_resort-item .villa_resort-wrap{
    box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 10px;
    border-radius: 8px;
}
.villa_resort-item .villa_resort-wrap .box-image{
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}
.villa_resort-item .villa_resort-wrap .box-text{
    padding: 15px;
}
.villa_resort-item .villa_resort-wrap .post-title{
    font-size: 17px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.villa_resort-item .villa_resort-wrap .box-villa-price{
    margin-bottom: 0;
}

.box-contact-villa-resort .title-form{
    margin: 0 -20px 20px;
    text-align: center;
    background: var(--primary-color);
    color: #fff;
    padding: 10px 15px;
    font-weight: bold;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.box-contact-villa-resort .title-form *{
    margin: 0 !important;
}
.box-contact-villa-resort .wpcf7-form-control{
    margin-bottom: 3px;
}

.dnw-list ul,
.box-contact-villa-resort ul{
    list-style:none;
    margin:20px 0 0;
    padding:0;
}
.dnw-list ul li,
.box-contact-villa-resort ul li{
    /*display:flex;*/
    /*align-items:center;*/
    /*gap:10px;*/
    margin-bottom:14px;
    color:#5d6472;
    font-size:15px;
    margin-left: 0 !important;
    position: relative;
    padding-left: 30px;
}

.dnw-list ul li:before,
.box-contact-villa-resort ul li:before{
    content:"✓";
    width:22px;
    height:22px;
    flex-shrink:0;
    border-radius:50%;
    background:var(--primary-color);
    color:#fff;
    display:inline-block;
    align-items:center;
    justify-content:center;
    font-size:13px;
    font-weight:700;
    text-align: center;
    margin-right: 5px;
    line-height: 22px;
    position: absolute;
    left: 0;
    top: 3px;
}

/*Social*/
.dnw-social-wrap ul{
    margin: 10px 0 0;
    padding: 0;
}
.dnw-social-wrap ul li{
    display: inline-block;
    margin: 0 10px 10px 0 !important;
    list-style: none;
}
.dnw-social-wrap ul li img{
    max-width: 35px;
}

/*Footer*/
footer p{
    margin-bottom: 10px;
}
footer .title-footer,
footer .title-menu{
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: bold;
}
footer .icon-box{
    align-items: center;
    margin-bottom: 5px;
}

.col-lh .button{
    margin: 0;
}

/*Responsive*/
@media (min-width: 850px){
    .col-hl.large-3 {
        flex-basis: 20%;
        max-width: 20%;
    }
    .col-lh.large-2 {
        flex-basis: 20.666667%;
        max-width: 20.666667%;
    }
    .box-counter-2 .icon-box{
        padding-left: 20px;
    }
}
@media(max-width: 1900px){
    .img-bn-1 {
        top: 40px;
        width: 200px !important;
        height: 100px;
    }
    .img-bn-2 {
        top: 170px;
        width: 200px !important;
        height: 100px;
    }
    .img-bn-3 {
        top: 300px;
        width: 220px !important;
        height: 100px;
    }
}
@media(max-width:991px){
    .villa-gallery{
        grid-template-columns:1fr;
    }
    .gallery-main img{
        height:450px;
    }
    .gallery-side{
        grid-template-columns:repeat(4,1fr);
        grid-template-rows:none;
    }
    .gallery-item img{
        height:120px;
    }
}
@media(max-width:849px){
    .section-banner-home {
        overflow: hidden;
    }
    .section-banner-home .col-content-bn{
        z-index: 1;
        min-height: 100vh;
    }
    .section-banner-home .col-image-bn{
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
    }

    .section-slider-logo .flickity-prev-next-button.previous{
        left: -35px;
    }
    .section-slider-logo .flickity-prev-next-button.next{
        right: -35px;
    }
}
@media(max-width:767px){
    .gallery-main img{
        height:300px;
    }
    .gallery-side{
        grid-template-columns:repeat(2,1fr);
    }
    .gallery-item img{
        height:120px;
    }
}

@media (max-width: 549px){
    .slider-wrapper .flickity-prev-next-button {
        display: block !important;
    }

    .slider-show-nav .flickity-prev-next-button .flickity-button-icon {
        width: 20px;
    }
    body .row-slider .flickity-prev-next-button,
    .slider-show-nav .flickity-prev-next-button{
        height: 30px !important;
        width: 30px !important;
        background: #fff !important;
    }
    .dnw-box-villa-resort.slider-nav-outside .flickity-prev-next-button.previous{
        left: 0;
    }
    .dnw-box-villa-resort.slider-nav-outside .flickity-prev-next-button.next{
        right: 0;
    }

    .section-banner-home .icon-phone{
        display: inline-block !important;
    }
    .section-banner-home .res-text {
        font-size: 12px;
    }
}