/* Hot offers widget */

.hot_offers_widget {
    margin-bottom: 2rem;
}

.hot_offers_widget .offer_wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 1420px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

.hot_offers_widget .offer_wrapper a {
    color: #393939;
    text-decoration: none;
    overflow: hidden;
}

.hot_offers_widget .offer_item {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    -webkit-box-shadow: 0 3px 20px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 3px 20px 0 rgba(0, 0, 0, 0.1);
    flex-grow: 1;
    max-width: 400px;
    position: relative;
    transition:
        opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    width: 300px;
}

.hot_offers_widget .offer_item.offer_item_loading {
    filter: blur(12px);
    opacity: 0;
    transform: translate3d(0, 56px, 0) scale(0.94);
}

.hot_offers_widget .offer_item.offer_item_loading.is_loaded {
    filter: blur(0);
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.hot_offers_widget .offer_item > a {
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
}

.hot_offers_widget .offer_price {
    background: var(--tertiary-color);
    position: absolute;
    left: 20px;
    top: 20px;
    z-index: 1;
    font-size: 22px;
    font-weight: 500;
    padding: 6px 25px;
    border-radius: 20px;
    text-shadow: none;
    color: #fff;
    line-height: 1.2;
}

.hot_offers_widget .offer_price span {
    color: #fff;
    display: block;
    line-height: normal;
    text-align: center;
    width: 100%;
}

.hot_offers_widget .offer_price span.from {
    font-size: 14px;
    text-shadow: 1px 1px 1px rgba(24, 23, 19, 0.5);
    transition: all 0.4s ease-out;
}

.hot_offers_widget .offer_item:hover .offer_price span.from {
    margin-top: 0;
}

.hot_offers_widget .offer_price span.person {
    font-size: 10px;
    font-weight: 500;
    text-shadow: 1px 1px 1px rgba(24, 23, 19, 0.5);
}

.hot_offers_widget .offer_img {
    height: 188px;
    width: 100%;
}

.hot_offers_widget .offer_img img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.hot_offers_widget .title_label {
    color: #666;
    font-size: 15px;
    font-weight: 400;
    text-transform: uppercase;
    display: inline-block;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 5px;
    padding-right: 50px;
    line-height: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.4s ease-out;
    white-space: nowrap;
    z-index: 1;
}

.hot_offers_widget .offer_content {
    background-color: #fff;
    line-height: 1.5;
    padding: 15px;
    position: relative;
    z-index: 1;
}

.hot_offers_widget .offer_content h4 {
    color: var(--tertiary-color);
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 4px;
}

.hot_offers_widget .tour_info_title_h {
    font-size: 18px;
    margin-bottom: 0;
    font-weight: 500;
    padding-bottom: 4px;
    color: #333 !important;
}

.hot_offers_widget .offer_content p {
    color: #333;
    font-size: 16px;
    line-height: 1.5;
    text-transform: none;
}

.tour_info_description .hot_description_title {
    margin-bottom: 3px;
    font-size: 15px;
    margin-top: 5px;
    font-weight: 600;
    padding-bottom: 2px;
}

.tour_info_description .tour_info_title {
    margin-bottom: 3px;
    font-size: 15px;
    margin-top: 5px;
    font-weight: 600;
    padding-bottom: 2px;
}

.tour_info_description > div {
    font-weight: 300;
    text-align: left;
    line-height: 1.5;
    font-size: 14px;
    color: #333;
}

.tour_info_description i {
    color: var(--primary-color);
    margin-right: 3px;
}

.hot_offers_widget .show_more {
    margin-bottom: 20px;
    margin-top: 20px;
    padding-bottom: 35px;
    text-align: center;
}

.hot_offers_widget .show_more a {
    align-items: center;
    background: linear-gradient(180deg, var(--quaternary-color), var(--primary-color));
    border: 2px solid var(--gold-border-color);
    border-radius: 50rem;
    box-shadow:
        rgba(0, 0, 0, 0.1) 0 20px 25px -5px,
        rgba(0, 0, 0, 0.04) 0 10px 10px -5px;
    color: #fff !important;
    display: flex;
    font-size: 20px;
    font-weight: 500;
    gap: 10px;
    justify-content: center;
    line-height: 1.2;
    margin: 0 auto;
    overflow: hidden;
    padding: 1rem 3rem;
    position: relative;
    transition: 0.25s;
    width: max-content;
}

.hot_offers_widget .show_more a::after {
    animation: site_button_shine 3.5s ease-in-out infinite;
    animation-fill-mode: forwards;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.5) 0,
        rgba(255, 255, 255, 0.5) 77%,
        rgba(255, 255, 255, 0.8) 92%,
        rgba(255, 255, 255, 0) 100%
    );
    content: "";
    height: 70%;
    left: -160%;
    opacity: 0;
    position: absolute;
    top: -130%;
    transform: rotate(120deg);
    width: 200px;
}

.hot_offers_widget .show_more i {
    color: #fff;
    font-size: 24px;
    transition: 0.25s;
}

.hot_offers_widget .show_more a:hover {
    background: linear-gradient(180deg, var(--primary-hover-light), var(--primary-hover-dark));
    border-color: var(--gold-border-color);
    color: var(--text-on-gold) !important;
    filter: brightness(105%);
}

.hot_offers_widget .show_more a:hover i {
    animation: hot_offers_bounce_vertical 0.8s ease-in-out infinite;
    color: var(--text-on-gold);
}

@keyframes hot_offers_bounce_vertical {
    0%, 100% {
        transform: translateY(3px);
    }

    50% {
        transform: translateY(-3px);
    }
}

@media (max-width: 1199.98px) {
    .hot_offers_widget .offer_item {
        width: 47%;
    }
}

@media (max-width: 991.98px) {
    .hot_offers_widget .offer_item {
        width: 80%;
    }
}

@media (max-width: 767.98px) {
    .hot_offers_widget .offer_item {
        width: 95%;
    }
}
