img.image-destionation {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tf-destination-wrap:not(.style1) .tf-destination-inner.column-6 .item {
    display: flex;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 16.66%;
    flex: 0 0 16.66%;
    max-width: 16.66%;
}

.tf-destination-wrap:not(.style1) .tf-destination-inner.column-5 .item {
    display: flex;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
}

.tf-destination-wrap:not(.style1) .tf-destination-inner.column-4 .item {
    display: flex;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
}

.tf-destination-wrap:not(.style1) .tf-destination-inner.column-3 .item {
    display: flex;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 33.33%;
    flex: 0 0 33.33%;
    max-width: 33.33%;
}

.tf-destination-wrap:not(.style1) .tf-destination-inner.column-2 .item {
    display: flex;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
}

.tf-destination-wrap:not(.style1) .tf-destination-inner.column-1 .item {
    display: flex;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}


.tf-destination-wrap:not(.style1,.style3,.style6) .tf-destination-inner .item {
    padding: 6px;
}

.tf-destination-wrap .item .destination-post .feature-image {
   overflow: hidden;
}

.tf-destination-wrap .item .destination-post .feature-image img {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.tf-destination-wrap .item .destination-post:hover .feature-image img {
    transform: scale(1.1);
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -o-transform: scale(1.1);
    -ms-transform: scale(1.1);
}


/* style1 */
.style1 .tf-destination-inner {
    display: grid;
    grid-template-columns: 1.81fr 1fr 1fr;
    grid-template-rows: 326px 326px;
    gap: 12px;
    margin-left: 0;
    margin-right: 0;
}

.style1 .tf-destination-inner .item:first-child  {
    grid-row: span 2;
}

.style6 .tf-destination-inner .destination-post,
.style6 .tf-destination-inner .item,
.style3 .tf-destination-inner .destination-post,
.style3 .tf-destination-inner .item,
.style2 .tf-destination-inner .destination-post,
.style2 .tf-destination-inner .item,
.style1 .tf-destination-inner .destination-post,
.style1 .tf-destination-inner .item {
    width: 100%;
    height: 100%;
    position: relative;
    padding: 0;
}
.tf-destination-inner .item {
    overflow: hidden;
    border-radius: 16px;
}

.tf-destination-inner .item img {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.tf-destination-inner .item:hover img {
    transform: scale(1.1);
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -o-transform: scale(1.1);
    -ms-transform: scale(1.1);
}

.style6 .tf-destination-inner .item img,
.style3 .tf-destination-inner .item img,
.style2 .tf-destination-inner .item img,
.style1 .tf-destination-inner .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.style6 .destination-post .content,
.style3 .destination-post .content,
.style2 .destination-post .content,
.style1 .destination-post .content {
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: calc(100% - 16px);
    transform: translateX(-50%);
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.style6 .destination-post:hover .content,
.style3 .destination-post:hover .content,
.style2 .destination-post:hover .content,
.style1 .destination-post:hover .content {
    bottom: 16px;
}

.style6 .destination-post .content .name,
.style3 .destination-post .content .name,
.style2 .destination-post .content .name,
.style1 .destination-post .content .name {
    margin-bottom: 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 25.2px;
    color: #24272C;
}

.style6 .destination-post .number-tour,
.style3 .destination-post .number-tour,
.style2 .destination-post .number-tour,
.style1 .destination-post .number-tour {
    font-size: 16px;
    font-weight: 400;
    line-height: 22.4px;
    color: #5F615E;    
}
/* style2 */



/* style3 */

.style3 .tf-destination-inner {
    display: grid;
    grid-template-columns: 2.06fr 1fr 1fr 2.06fr;
    grid-template-rows: 321px 321px;
    gap: 12px;
    margin-left: 0;
    margin-right: 0;
}

.style3 .tf-destination-inner .item:nth-child(2)  {
    grid-column: span 2;
    
}

.style3 .tf-destination-inner .item:first-child ,
.style3 .tf-destination-inner .item:nth-child(3)  {
    grid-row: span 2;
}


/* style4 */
.style4 .destination-post .content {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    gap: 34px;
    margin-top: 24px;
}

.style4 .destination-post img {
    border-radius: 16px;
}

.style4 .destination-post .image-wrap {
    overflow: hidden;
    border-radius: 16px;
    display: block;
}

.style4 .destination-post .content .number,
.style4 .destination-post .content .name {
    margin-bottom: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 22.68px;
    color: #24272C;
}

.style4 .destination-post .icon {
    width: 56px;
    height: 1px;
    background: rgba(36, 39, 44, 0.3);
}

/* style5 */

.style5 .destination-post img {
    height: 604px;
    border-radius: 16px;
}

.style5 .destination-post {
    position: relative;
}

.style5 .destination-post .content {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 50px);
    bottom: 32px;
    z-index: 5;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.style5 .swiper-slide-active .content {
    opacity: 1;
    visibility: visible;
}

.style5 .destination-post .image-wrap {
    border-radius: 16px;
    position: relative;
    display: block;
    overflow: hidden;
}

.style5 .destination-post .image-wrap::after{
    content: '';
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 59.69%, rgba(0, 0, 0, 0.8) 100%);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.tf-destination-wrap .tf-destination-inner .item {
    cursor: pointer;
}

.style5 .destination-post .content .name {
    margin-bottom: 12px;
}

.style5 .destination-post .content .name a {
    color: #fff;
}

.style5 .destination-post .content .name a:hover {
    color: var(--theme-primary-color);
}

.style5 .destination-post .content p.description,
.style5 .destination-post .content p {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    line-height: 22.4px;
    margin-bottom: 24px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    display: none;
}

.style5 .destination-post .content p.description {
    display: -webkit-box;
}

.style5 .destination-post .content li {
    display: none;
}

.style5 .destination-post .number-tour {
    display: inline-block;
    border-radius: 14px;
    font-size: 18px;
    font-weight: 600;
    line-height: 22.68px;
    padding: 15.5px 66px ;
    color: #fff;
    background-color: var(--theme-primary-color);
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.style5 .destination-post .number-tour:hover  {
    color: var(--theme-primary-color);
    background: #fff;
}

.style5 .tf-destination-inner .swiper-button-prev:after,
.style5 .tf-destination-inner .swiper-button-next:after {
    display: none;
}

.tf-destination-inner .swiper-button-next, 
.tf-destination-inner .swiper-button-prev {
    display: inline-block;
    border-radius: 50%;
    width: 58px !important;
    height: 58px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 30px 60px 0px #00000033;
    background: #fff;
    color: var(--theme-primary-color);
}


.style5 .tf-destination-inner .swiper-button-next {
    right: calc(-58px - 32px);
}

.style5 .tf-destination-inner .swiper-button-prev {
    left: calc(-58px - 32px);
}
/* Style 6 */
.style6 .tf-destination-inner {
    display: grid;
    grid-template-columns: repeat(4 , 1fr);
    grid-template-rows: repeat(5, 321px);
    gap: 12px;
    margin-left: 0;
}

.style6 .tf-destination-inner .item.item-9,
.style6 .tf-destination-inner .item.item-1  {
    grid-row: span 2;
    grid-column: span 2;
}

.style6 .tf-destination-inner .item.item-7,
.style6 .tf-destination-inner .item.item-8,
.style6 .tf-destination-inner .item.item-2  {
    grid-column: span 2;
}

/* Carousel */

.tf-destination-wrap.has-carousel .row {
    margin-left: 0;
    margin-right: 0;
}

.tf-destination-wrap.has-carousel .row>* {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}


.tf-destination-wrap.has-carousel .tf-destination-inner .item {
    -webkit-box-flex: 0 !important;
    -ms-flex: 0 0 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding: 0;
}

.tf-destination-wrap.has-carousel .owl-carousel .owl-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: auto;
    bottom: 9px;
    width: 250px;
}

.tf-destination-wrap.has-carousel.style4 .owl-carousel .owl-nav {
    position: absolute;
    left: -25.5%;
    transform: translateX(0%);
    top: auto;
    bottom: 78px;
    width: 140px;
}

.tf-destination-wrap.has-carousel .owl-carousel .owl-nav .owl-next,
.tf-destination-wrap.has-carousel .owl-carousel .owl-nav .owl-prev {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translateY(-50%);
    color: #24272C;
    background-color: #fff;
    border: 1px solid #EDEDED;
    font-size: 20px;
    text-align: center;
    padding: 0;
    display: flex;
    width: 58px;
    height: 58px;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.tf-destination-wrap.has-carousel  .owl-carousel .owl-dots {
    margin-top: 63px;
}

.tf-destination-wrap.has-carousel .owl-carousel .owl-nav .owl-next {
    left: unset;
    right: 0%;
}

.tf-destination-wrap.has-carousel .owl-carousel .owl-nav .owl-prev:before,
.tf-destination-wrap.has-carousel .owl-carousel .owl-nav .owl-next:before,
.tf-destination-wrap.has-carousel .owl-carousel .owl-dots .owl-dot:before {
    display: none;
}

.tf-destination-wrap .owl-carousel .owl-nav .owl-prev:hover,
.tf-destination-wrap .owl-carousel .owl-nav .owl-next:hover{
    color: #fff;
    background-color: var(--theme-primary-color);
    border: 1px solid var(--theme-primary-color);
    
}

.tf-destination-wrap .owl-carousel .owl-nav .owl-prev.disabled,
.tf-destination-wrap .owl-carousel .owl-nav .owl-next.disabled {
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.5;
}

.tf-destination-wrap.has-carousel .tf-destination-inner.owl-carousel .item {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.tf-destination-wrap.has-carousel .owl-carousel .featured-property .carousel-image-box,
.tf-destination-wrap.has-carousel .owl-carousel:hover {
    cursor: e-resize;
}

.tf-destination-wrap.has-carousel .owl-carousel .destination-post {
    cursor: default;
    width: 100%;
}


.tf-destination-wrap.has-carousel .owl-carousel.row {
    margin: 0 !important;
}


.tf-destination-wrap.has-carousel .owl-carousel .owl-stage {
    display: flex;
}


/* End Carousel */

@media only screen and (max-width: 1200px) {
    .style3 .tf-destination-inner .item {
        grid-column: span 2;
    }

}

@media only screen and (max-width: 991px) {

    .tf-destination-wrap.column-tablet-1 .tf-destination-inner .item {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .tf-destination-wrap.column-tablet-2:not(.has-carousel,.style3,.style1) .tf-destination-inner .item {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .tf-destination-wrap.column-tablet-3:not(.has-carousel,.style3,.style1) .tf-destination-inner .item {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 33.33%;
        flex: 0 0 33.33%;
        max-width: 33.33%;
    }

    .tf-destination-wrap.column-tablet-4:not(.has-carousel,.style3,.style1) .tf-destination-inner .item {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }

    .style6 .tf-destination-inner {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(5, 245px);
    }

    .style1 .tf-destination-inner .item:nth-child(5),
    .style1 .tf-destination-inner .item:nth-child(2),
    .style1 .tf-destination-inner .item:nth-child(3) {
        grid-column: span 2;
    }

    
}


@media only screen and (max-width: 767px) {
    

    .tf-destination-wrap.column-mobile-1:not(.has-carousel,.style3,.style1) .tf-destination-inner .item {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .tf-destination-wrap.column-mobile-2:not(.has-carousel,.style3,.style1) .tf-destination-inner .item {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .tf-destination-wrap.column-mobile-3:not(.has-carousel,.style3,.style1) .tf-destination-inner .item {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 33.33%;
        flex: 0 0 33.33%;
        max-width: 33.33%;
    }

    .tf-destination-wrap.column-mobile-4:not(.has-carousel,.style3,.style1) .tf-destination-inner .item {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }

    .tf-destination-inner.column-2 .item::after {
        display: none;
    }
    .tf-destination-wrap.style2:not(.has-carousel) .tf-destination-inner .item {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
        padding: 0 5px;
    }

    .tf-destination-wrap.style2:not(.has-carousel) .tf-destination-inner {
        margin: 0 -5px;
    }

    .style3 .tf-destination-inner .item {
        grid-column: span 4 !important;
        grid-row: span 1 !important;
    }

    .style5 .destination-post img {
        height: 420px;
    }

    .style5 .destination-post .content {
        width: calc(100% - 20px);
        bottom: 20px;
    }

}

@media only screen and (max-width: 600px) {
    .style1 .tf-destination-inner .item {
        grid-column: span 3 !important;
        grid-row:span 1 !important; 
    }
}

@media only screen and (max-width: 500px) {
    .style6 .tf-destination-inner .item {
        grid-column: span 2;
    }
}