:root {
    --primary-color: #ff3030;
    --primary-color-rgb: 255, 48, 48;
}

.te-post-wrap article .te-title-wrap .te-post-rating .review-wrap {
    margin: 0;
    background: none;
    border: none;
    padding: 0;
}

.te-post-wrap .review-wrap .average-rating .aggregate-rating .rating-star {
    display: none;
}

.te-post-wrap article .te-title-wrap .te-post-rating .average-rating {
    border: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.te-post-wrap article .te-title-wrap .te-post-rating .average-rating .agg-rating {
    width: 90px !important;
    pointer-events: none;
}

.te-post-wrap article .te-title-wrap .te-post-rating .average-rating .agg-rating svg {
    width: 16px;
    margin: 0 2px;
}

.te-post-wrap article .te-title-wrap .te-post-rating .average-rating .jq-ry-rated-group svg {
    color: #f39c12;
    stroke: none;
}

.te-post-wrap .te-post-rating .review-wrap .aggregate-rating {
    color: rgba(0,0,0,0.6);
    margin-left: 5px;
    line-height: 1;
    font-size: 14px;
    font-weight: 600;
    font-family: sans-serif;
}

.te-post-wrap img {
    max-width: 100%;
    vertical-align: top;
}

.te-post-wrap .te-post {
    background: #fff;
    box-shadow: 0 3px 26px rgba(0, 0, 0, 0.06);
    border-radius: 10px;
}

.te-post-img {
    margin: 0;
    position: relative;
}

.te-post-img img {
    width: 100%;
}

.te-post-img > span {
    position: absolute;
    top: 10px;
    left: 10px;
}

.te-post-img .te-post-discount {
    background: var(--primary-color);
    color: #fff;
    font-size: 0.8888em;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 50px;
}

.te-post-img .te-post-group {
    left: auto;
    right: 10px;
    text-align: center;
}

.te-post-group .te-group-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #282828;
    color: #fff;
    border-radius: 100%;
    width: 30px;
    height: 30px;
    line-height: 25px;
    border: 2px solid #fff;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.26);
    font-size: 0.8888em;
}

.te-post-group .te-tooltip {
    position: absolute;
    top: 3px;
    right: 100%;
    background: #333;
    font-size: 0.6112em;
    line-height: 1.5;
    letter-spacing: 0.5px;
    color: #fff;
    width: 170px;
    padding: 4px;
    border-radius: 3px;
    box-shadow: 0 5px 10px rgba(255, 255, 255, 0.15);
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all ease 0.35s;
    -moz-transition: all ease 0.35s;
    transition: all ease 0.35s;
}

.te-post-group .te-group-icon:hover + .te-tooltip {
    right: calc(100% + 10px);
    opacity: 1;
    filter: alpha(opacity=100);
    visibility: visible;
}

.te-post-group .te-tooltip::after {
    content: "";
    border-left: 4px solid #333;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    position: absolute;
    right: -4px;
    top: 7px;
    bottom: 0;
    height: 0;
    width: 0;
}

.te-post-content-wrap .te-post-title {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1em;
    font-weight: 600;
    line-height: 1.65;
}

.te-list-layout .te-post-content-wrap .te-post-title {
    font-size: 1.3333em;
    line-height: 1.5;
    margin-bottom: 10px;
}

.te-post-content-wrap .te-post-title a {
    display: inline-block;
    text-decoration: none;
    color: #000;
}

.te-post-content-wrap .te-post-title a:hover {
    color: var(--primary-color);
}

.te-post-price del {
    color: rgba(var(--primary-color-rgb), 0.5);
    font-size: 14px;
    font-weight: 600;
    margin-right: 5px;
}

.te-post-price ins {
    color: #000;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    background: none;
}

.te-post-meta .te-post-days,
.te-post-meta .te-post-location {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.7);
    display: inline-block;
    margin-top: 10px;
}

.te-grid-layout .te-post-meta .te-post-days {
    margin-right: 20px;
}

.te-list-layout .te-post-meta .te-post-location {
    margin-left: 20px;
}

.te-post-meta svg {
    margin-right: 5px;
    font-size: 1.1em;
}

.te-post-meta .te-post-location a {
    color: rgba(0, 0, 0, 0.7);
    text-decoration: none;
}

.te-post-meta .te-post-location a:hover {
    color: var(--primary-color);
}

.te-post-departure b {
    font-size: 14px;
    display: inline-block;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: rgba(0, 0, 0, 0.8);
    margin-bottom: 5px;
}

.te-post-departure .wte-next-departure-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.te-post-departure .wte-next-departure-list li {
    display: inline-block;
    margin-right: 10px;
    padding-right: 10px;
    border-right: 1px solid rgba(0,0,0,0.15);
    line-height: 1.3;
}

.te-post-departure .wte-next-departure-list li:last-child {
    border-right: none;
    margin-right: 0;
    padding-right: 0;
}

.te-post-departure .te-departure-date {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.6);
    display: inline-block;
    font-weight: 500;
}

.te-grid-layout .owl-carousel .owl-item {
    padding-bottom: 40px;
}

.te-post-wrap.te-grid-layout .te-post-content-wrap {
    padding-top: 15px;
    position: relative;
}

.te-grid-layout .te-post-price {
    position: absolute;
    top: -20px;
    left: 20px;
    background: #fff;
    box-shadow: 0 3px 36px rgba(0, 0, 0, 0.07);
    border-radius: 50px;
    padding: 5px 15px;
}

.te-grid-layout article .te-title-wrap {
    display: flex;
    flex-direction: column-reverse;
}

.te-grid-layout .te-post-content-wrap .te-post-title {
    padding: 0 20px 10px 20px;
    font-weight: 600;
    font-size: 22px;
}

.te-grid-layout article .te-title-wrap .te-post-rating {
    padding-top: 15px;
    padding-bottom: 5px;
}

.te-grid-layout .te-post-meta {
    padding: 0 20px 15px 20px;
}

.te-grid-layout .te-post-rating {
    display: block;
    padding: 0 20px 15px 20px;
}

.te-grid-layout .te-post-rating .review-wrap {
    padding: 0;
}

.te-grid-layout .te-post-rating img {
    width: auto;
}

.te-grid-layout .te-post-departure {
    display: block;
    padding: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.te-grid-layout .te-post-departure b {
    display: block;
}

.te-grid-layout .te-post-departure .te-departure-date {
    display: block;
}

.te-grid-layout .owl-carousel .owl-nav [class*="owl-"] {
    position: absolute;
    top: 50%;
    left: 0;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background: #fff;
    color: #000;
    border-radius: 100%;
    transform: translateY(-50%);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.te-grid-layout .owl-carousel .owl-nav .owl-next {
    left: auto;
    right: 0;
}

.te-grid-layout .owl-carousel .owl-nav [class*="owl-"]:hover {
    background: #333;
    color: #fff;
}

.te-post-wrap.te-list-layout .te-post {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.te-post-wrap.te-list-layout .te-post .te-post-img {
    width: 252px;
}

.te-post-wrap.te-list-layout .te-post .te-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.te-post-wrap.te-list-layout .te-post .te-post-content-wrap {
    padding: 30px 35px;
    width: calc(100% - 252px);
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    align-items: flex-start;
}

.te-post-wrap.te-list-layout .te-post .te-title-wrap {
    width: calc(100% - 300px);
}

.te-post-wrap.te-list-layout .te-post .te-title-wrap .review-wrap {
    padding: 0 !important;
}

.te-post-wrap.te-list-layout .te-post .te-post-meta {
    width: 300px;
    text-align: right;
}

.te-post-wrap.te-list-layout .te-post .te-post-meta .te-post-price {
    display: block;
    margin-bottom: 5px;
}

.te-post-wrap.te-list-layout .te-post .te-footer {
    width: 100%;
    margin-top: 25px;
    display: flex;
    flex: auto;
    flex-wrap: wrap;
    align-items: center;
}

.te-post-wrap.te-list-layout .te-post .te-footer > span {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    align-items: center;
}

.te-post-wrap.te-list-layout .te-post .te-footer > span.te-post-departure {
    justify-content: flex-end;
}

.te-post-wrap.te-list-layout .te-post .te-footer .te-post-departure b {
    margin-bottom: 0;
    margin-right: 10px;
}

.te-post-wrap.te-grid-layout .owl-carousel .owl-item img {
    /* width: auto; */
    height: auto;
}

@media screen and (max-width: 1024px) {
    .te-post-wrap.te-list-layout .te-post .te-post-content-wrap {
        padding-left: 15px;
        padding-right: 15px;
        flex: inherit;
    }
    .te-post-wrap.te-list-layout .te-post .te-post-title, 
    .te-post-wrap.te-list-layout .te-post .te-title-wrap {
        width: 100%;
    }

    .te-post-wrap.te-list-layout .te-post .te-post-meta {
        width: 100%;
        text-align: left;
    }
    .te-post-wrap.te-list-layout .te-post .te-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    .te-post-wrap.te-list-layout .te-post .te-footer > span {
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 540px) {
    .te-grid-layout .owl-carousel .owl-nav [class*="owl-"] {
        width: 40px;
        height: 40px;
        line-height: 40px;
    }

    .te-post-wrap.te-list-layout .te-post {
        display: block;
    }

    .te-post-wrap.te-list-layout .te-post .te-post-img,
    .te-post-wrap.te-list-layout .te-post .te-post-content-wrap {
        width: 100%;
    }
    .te-post-wrap.te-list-layout .te-post .te-post-img img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
    .te-post-wrap.te-list-layout .te-post .te-post-meta .te-post-price {
        display: inline-block;
        margin-bottom: 0;
        margin-right: 20px;
    }

    .te-list-layout .te-post-meta .te-post-location {
        display: block;
        margin-left: 0;
    }
}
