




/** Top vouchers */

.top-v {
    width: 100%;
    background: white;
    margin: 70px 0 50px 0;
    padding: 40px 0;
}

.top-v-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.top-v .top-v-title {
    text-align: center;
    font-size: 28px;
    color: #050745;
    margin-bottom: 30px;
    font-weight: 700;
}

.top-v .vouchers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.top-v .voucher-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    padding: 15px;
    border-radius: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.top-v .voucher-item:hover {
    /*transform: translateY(-3px);*/
    /*box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);*/
    background: #E7EDFA;
}

.top-v .voucher-logo {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: contain;
    margin-right: 15px;
    flex-shrink: 0;
    border: 1px solid #B4B5C8;
}

.top-v:hover .voucher-logo {
  background: white;
}

.top-v .voucher-details {
    display: flex;
    flex-direction: column;
}

.top-v .voucher-title {
    font-size: 16px;
    font-weight: 600;
    color: #050745;
    margin-bottom: 4px;
}

.top-v .voucher-description {
    font-size: 14px;
    color: #050745;
    margin: 1px 0;
    line-height: 1.4;
}

.top-v .top-v-title a {
    color: inherit;
    text-decoration: none;
}

.top-v .top-v-title a:hover {
    text-decoration: underline;
}

@media (max-width: 1280px) {
    .top-v .vouchers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .top-v-container {
        padding: 0 16px;
    }
}

@media (max-width: 576px) {
    .top-v .vouchers-grid {
        grid-template-columns: 1fr;
    }
    .top-v .top-v-title {
        font-size: 22px;
    }
}




/* Homepage "Top Vouchers" style */
.home .homepage-top-widget .rpwe-block ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  padding: 0;
  margin: 0;
}

.home .homepage-top-widget .rpwe-li {
  list-style: none;
  background: #fff;
  display: flex;
  align-items: center;
  padding: 15px;
  border-radius: 10px;
  transition: background 0.2s ease;
}

.home .homepage-top-widget .rpwe-li:hover {
  background: #E7EDFA;
}

.home .homepage-top-widget .rpwe-thumb {
  width: 65px !important;
  height: 65px !important;
  border-radius: 50%;
  object-fit: contain;
  margin-right: 15px;
  border: 1px solid #B4B5C8;
}

.home .homepage-top-widget .rpwe-title {
  font-size: 16px !important;
  font-weight: 600;
  margin: 0 0 4px 0;
  color: #050745;
}

.home .homepage-top-widget .rpwe-title a {
  text-decoration: none;
  color: inherit;
}

.home .homepage-top-widget .rpwe-title a:hover {
  text-decoration: underline;
}

@media (max-width: 1280px) {
  .home .homepage-top-widget .rpwe-block ul {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .home .homepage-top-widget .rpwe-block ul {
    grid-template-columns: 1fr;
  }
}



/* Main container for the app promo section */


.app-promo {
    background-color: #F7F7F7;
    padding: 60px 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.app-promo .app-promo-container {
    display: flex;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    gap: 64px;
}

.app-promo .app-promo-image-placeholder {
    flex: 1 1 50%;
    aspect-ratio: 16 / 9;
    border-radius: 24px;
    overflow: hidden;
}

.app-promo .app-promo-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.app-promo .app-promo-content {
    flex: 1 1 50%;
    padding-left: 20px;
    min-width: 0;
}

.app-promo .app-promo-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #050745;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 20px;
}

.app-promo .app-promo-content p {
    font-size: 16px;
    color: #050745;
    line-height: 1.6;
    margin-bottom: 30px;
}

.app-promo .app-promo-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.app-promo .app-promo-buttons a img {
    height: 48px;
    width: auto;
    transition: transform 0.2s ease;
}

@media (max-width: 1280px) {
    .app-promo {
        padding: 64px 16px;
    }

    .app-promo .app-promo-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .app-promo .app-promo-content {
        padding-left: 0;
    }

    .app-promo .app-promo-image-placeholder {
        width: 100%;
        max-width: 400px;
        aspect-ratio: 631 / 355;
    }

    .app-promo .app-promo-content h2 {
        font-size: 26px;
    }

    .app-promo .app-promo-buttons {
        flex-direction: column;
        justify-content: center;
    }
}



/* Find best home widget */

.find-best {
    padding: 50px 0;
    background-color: #E6E9F7;
    width: 100%;
}

.find-best .find-best-container {
    max-width: 1280px;
    margin: 0 auto;
}

.find-best .find-best-title {
    text-align: center;
    font-size: 28px;
    color: #050745;
    margin-bottom: 35px;
    font-weight: 700;
}

.find-best .find-best-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.find-best .find-best-box {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.find-best .find-best-icon {
    width: 60px;
    height: 60px;
    margin-right: 20px;
    flex-shrink: 0;
}

.find-best .find-best-box p {
    font-size: 16px;
    line-height: 1.6;
    color: #050745;
    margin: 0;
}

@media (max-width: 1280px) {
    .find-best .find-best-grid {
        grid-template-columns: 1fr;
    }
    .find-best .find-best-title {
        font-size: 24px;
    }
    .find-best {
        padding: 50px 16px;
    }

}

/** Travelhack AND Urlaubsinspirationen Widget Styles */

.travelhacks-widget,
.urlaubsinspirationen-widget {
    width: 100%;
    padding: 60px 20px;
}

.urlaubsinspirationen-widget {
    background: white;
}
.travelhacks-container,
.urlaubsinspirationen-container {
    max-width: 1280px;
    margin: 0 auto;
}

.th-main-title,
.ui-main-title {
    color: #050745;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.th-title-icon,
.ui-title-icon {
    height: 36px;
    width: auto;
    margin-right: 15px;
}

.th-main-subtitle,
.ui-main-subtitle {
    font-size: 16px;
    margin: 0 auto 40px auto;
    /*padding-left: 20px;*/
    color: #050745;
    line-height: 1.6;
}

.th-grid,
.ui-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.th-post-card,
.ui-post-card {
    display: block;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.th-post-image-wrapper,
.ui-post-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.th-post-image,
.ui-post-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.th-post-category,
.ui-post-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.th-post-content,
.ui-post-content {
    padding: 10px 0;
}

.th-post-title,
.ui-post-title {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 18px;
    font-weight: 700;
    color: #050745;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.th-post-excerpt,
.ui-post-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 15px 0;
    color: #050745B3;
}

.th-post-meta,
.ui-post-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #050745B3;
}

.th-load-more-container,
.ui-load-more-container {
    text-align: center;
    margin-top: 40px;
}

.th-load-more-btn,
.btn-load-more,
.hotel_ads_load-more-btn,
.ui-load-more-btn {
    background-color: #050745;
    color: white;
    border: none;
    padding: 12px 35px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.th-load-more-btn:disabled,
.hotel_ads_load-more-btn:disabled,
.ui-load-more-btn:disabled {
    background-color: #888;
    cursor: not-allowed;
}

@media (max-width: 1280px) {
    .th-grid,
    .ui-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .th-grid,
    .ui-grid {
        grid-template-columns: 2fr;
    }
}

@media (max-width: 450px) {
    .th-grid,
    .ui-grid {
        grid-template-columns: 1fr;
    }
    .ui-main-title {
        font-size: 18px;
    }
}



/** Home hotel ads */


.hotel_ads_widget {
    width: 100%;
    padding: 60px 20px;
    background-color: #EBF7FC;
}

.hotel_ads_container {
    max-width: 1280px;
    margin: 0 auto;
}

.hotel_ads_main-title {
    color: #050745;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hotel_ads_title-icon {
    height: 32px;
    width: auto;
    margin-right: 15px;
}

.hotel_ads_main-subtitle {
    text-align: center;
    font-size: 16px;
    max-width: 800px;
    margin: 0 auto 55px auto;
    color: #050745;
    line-height: 1.6;
}

.hotel_ads_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: start;
    padding-bottom: 110px;
}

.hotel_ads_post-card:nth-child(even) {
    transform: translateY(110px);
}


.hotel_ads_post-card {
    position: relative;
    display: block;
    text-decoration: none;
    background-color: white;
    padding: 5px;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hotel_ads_post-card:hover {
    background: #E6E9F7;
}


/*.hotel_ads_post-card:hover {*/
/*    transform: translateY(-5px);*/
/*    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);*/
/*}*/

.hotel_ads_post-image-wrapper {
    position: relative;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.hotel_ads_post-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.hotel_ads_post-content {
    padding: 12px 3px 5px 3px;
}

.hotel_ads_post-title {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 17px;
    font-weight: 700;
    color: #050745;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.hotel_ads_post-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    line-height: 1.6;
    color: #050745;
    margin: 0;
}

.hotel_ads_post-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #050745B2;
    padding-top: 15px;
}

.hotel_ads_load-more-container {
    text-align: center;
    margin-top: 40px;
}

@media (max-width: 1280px) {
    .hotel_ads_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1280px) {
    .hotel_ads_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .hotel_ads_grid {
        grid-template-columns: 1fr;
        padding-bottom: 0;
    }

    .hotel_ads_post-card:nth-child(even) {
        transform: none;
    }
}


@media (max-width: 600px) {
    .hotel_ads_main-title {
        flex-direction: column;
        gap: 10px;
        font-size: 24px;
    }

    .hotel_ads_title-icon {
        margin-right: 0;
    }
}


/** Social Share */

.social_widget {
    width: 100%;
    padding: 72px 20px;
    background-color: transparent;
}

.social_container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 64px;
}

.social_image-placeholder {
    flex: 1 1 50%;
    border-radius: 24px;
    overflow: hidden;
}

.social_image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.social_content {
    flex: 1 1 50%;
    min-width: 0;
}

.social_title {
    color: #050745;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 20px;
}

.social_description {
    font-size: 16px;
    color: #050745;
    line-height: 1.6;
    margin-bottom: 40px;
}

.social_icons-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 45px;
}

.social_icon-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.social_icon-link img {
    width: 64px;
    height: 64px;
    padding: 16px;
    background-color: #050745;
    border-radius: 50%;
    box-sizing: border-box;
    transition: transform 0.2s ease;
}

.social_icon-link:hover img {
    transform: scale(1.1);
    background: #FC7D21;
}

@media (max-width: 1280px) {
    .social_container {
        flex-direction: column;
        text-align: center;
    }

    .social_image-placeholder {
        width: 100%;
        max-width: 500px;
    }

    .social_icons-wrapper {
        justify-content: center;
    }
    .social_title, .social_description {
        text-align: center;
    }
    .social_widget {
        padding: 64px 16px;
    }
}



/* --- About Widget Styles --- */

.about-widget-container {
    max-width: 1280px;
    margin: 20px auto;
    padding: 60px 20px;
    background-color: transparent;
    border-radius: 8px;
    text-align: center;
}

.about-widget-container h2 {
    font-size: 32px;
    font-weight: 700;
    color: #050745;
    margin-top: 0;
    margin-bottom: 20px;
}

.about-content {
    text-align: left;
}

.about-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #050745;
    margin: 0 auto 25px auto;
}

.about-content .more-text {
    display: none;
}

.toggle-button-wrapper {
    text-align: right;
}

.about-toggle-button {
    background: none;
    border: none;
    color: #050745;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    padding: 5px;
    display: inline-flex;
    align-items: center;
}

.about-toggle-button .toggle-arrow {
    width: 30px;
    height: 30px;
    margin-left: 8px;
    transition: transform 0.3s ease;
    transform: rotate(180deg);
}

.about-widget-container.is-expanded .about-content .more-text {
    display: inline;
}

.about-widget-container.is-expanded .about-toggle-button .toggle-arrow {
    transform: rotate(0deg);
}


/**  Travel Inspiration Menu */


.widget_travel_inspiration_menu_widget {
    background: white;
    padding-top: 64px;
    padding-bottom: 64px;
}
.tiw-content {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.tiw-main-title {
    font-size: 30px;
    font-weight: 700;
    color: #050745;
    margin-bottom: 50px;
}

.tiw-title {
    font-size: 20px;
    font-weight: 700;
    color: #050745;
    margin-bottom: 34px;
    margin-top: 44px;
}

.tiw-content > .tiw-title:first-of-type {
    margin-top: 0;
}

.tiw-pills {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(5, 1fr);
}

.tiw-pills li a {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    color: #050745;
    padding: 0;
    transition: color 0.2s ease;
}

.tiw-pills li a:hover {
    color: #5a57a7;
}

.tiw-pills li a:hover::before {
    background-image: url('./../images/home-widgets/travel-inspiration-link_h.svg');
}

.tiw-pills li a::before {
    content: '';
    display: inline-block;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    margin-right: 16px;
    background-image: url('./../images/home-widgets/travel-inspiration-link.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.2s ease-in-out;
}

.tiw-pills li a:hover::before {
    /*transform: scale(1.2);*/
}

@media (max-width: 1024px) {
    .tiw-pills {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .tiw-pills {
        grid-template-columns: 2fr;
    }
    .tiw-main-title {
        font-size: 26px;
    }
    .tiw-title {
        font-size: 22px;
    }
    .tiw-content {
        padding: 0 16px;
    }
    .tiw-pills {
        gap: 16px;
    }
    .th-main-title, .ui-main-title {
        font-size: 27px;
    }

}

@media (max-width: 420px) {

    .sub-nav-cat-info h2, .sub-nav-cat-info h1 {
        font-size: 22px;
    }
    .th-main-title, .ui-main-title {
        font-size: 24px;
    }
    .tiw-main-title, .tiw-title {
        font-size: 24px;
    }
    .tiw-title {
        font-size: 20px;
    }
}



/** Whitelabel search */

.wl_header-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 2em 0;
    background: white;
}

.wl_header-content {
    width: 100%;
    max-width: 1280px;
    height: 290px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 1.5em;
    box-sizing: border-box;
}

/* STEP 2: Style the new background div */
.wl_header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/wp-content/themes/ut_responsive2/images/wl/wl_header.jpg');
    background-size: cover;
    background-position: center;
    z-index: 0; /* Keep it at the base layer of this container */
}

/* STEP 3: Ensure content is layered on top of the new background div */
.wl_main-title,
.wl_search-form-container {
    position: relative;
    z-index: 1;
}


.wl_main-title {
    color: white;
    font-size: 50px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-align: center;
    margin: 90px 0 16px 0;
}

body.home .wl_main-title {
    margin: 12px 0 16px 0;
}

.wl_search-form-container {
    background-color: #ffffff;
    width: 967px;
    max-width: 100%;
    border-radius: 13px;
    padding: 13px 16px;
    border: 0.82px solid #e0e0e0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 13px;
    box-sizing: border-box;
}

.wl_form-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.wl_tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid #dcdcdc;
    border-radius: 50px;
    background-color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    color: #050745;
}

.wl_tab svg {
    color: #050745;
    height: 18px;
    width: 18px;
    transition: color 0.2s ease-in-out;
}

.wl_tab.wl_active svg {
    color: #FFFFFF;
}

.wl_tab.wl_active {
    background-color: #050745;
    border-color: #050745;
    color: #FFFFFF;
}

.wl_tab.wl_active img {
    color: #FFFFFF;
}

.wl_tab svg {
    height: 18px;
    width: 18px;
}

.wl_form-fields {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.wl_input-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 150px;
}

.wl_input-group label {
    font-size: 12px;
    font-weight: 600;
    color: #050745;
    margin-bottom: 5px;
}

.wl_input-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
}

.wl_submit-btn {
    background-color: #050745;
    color: white;
    padding: 10px 52px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    height: 42px;
    transition: background-color 0.2s ease;
}

.ui-autocomplete {
    max-width: 450px;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid #ddd !important;
    padding: 8px !important;
    background-color: #fff;
    list-style: none;
    z-index: 100;
    box-sizing: border-box;
}

.ui-menu-item {
    border-radius: 8px;
    margin-bottom: 4px;
}

.ui-menu-item:last-child {
    margin-bottom: 0;
}

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-state-focus,
.ui-widget-content .ui-state-focus {
    border: none !important;
    background: #f0f2f5 !important;
    color: #333 !important;
    font-weight: normal !important;
}

.wl_autocomplete-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
}

.wl_autocomplete-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #495057;
}

.wl_autocomplete-icon svg {
    width: 24px;
    height: 24px;
}

.wl_autocomplete-text {
    line-height: 1.4;
}

.wl_autocomplete-main {
    font-size: 15px;
    font-weight: 500;
    color: #212529;
}

.wl_autocomplete-sub {
    font-size: 13px;
    color: #6c757d;
}

.wl_autocomplete-main strong,
.wl_autocomplete-sub strong {
    font-weight: 700;
    color: #000;
}

.wl_modal-header {
    display: none;
}

#wl_departure::placeholder,
#wl_destination::placeholder,
#wl_date-range::placeholder {
  color: #999;
  opacity: 1;
}

/* @media (max-width: 390px) {
    .wl_header-background {
        background-image: url('/wp-content/themes/ut_responsive2/images/wl/wl_mobile_bg.jpg');
    }
}*/



@media (max-width: 1280px) {
    .wl_header-wrapper {
        padding: 0;
    }

    .wl_header-content {
        height: auto;
        padding: 20px 23px 30px 23px;
        border-radius: 0;
    }

    .wl_main-title {
        font-size: 27px;
        line-height: 1.1;
        margin: 64px 0;
    }

    body.home .wl_main-title {
        margin: 50px 0 24px 0;
    }

    .wl_search-form-container {
        width: 100%;
        padding: 20px 15px;
    }

    .wl_form-fields {
        display: none;
    }

    .wl_search-form-container.wl_modal-active .wl_form-fields {
        display: flex;
    }

    .wl_search-form-container.wl_modal-active {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /* datepicker has 3000 */
        z-index: 2500; /* High z-index to ensure it's on top */
        border-radius: 0;
        overflow-y: auto;
        padding: 0;
        background-color: #F7F7F7;
    }

    .wl_search-form-container.wl_modal-active .wl_modal-header {
        display: flex;
        align-items: center;
        padding: 15px 20px;
        border-bottom: none;
        background: transparent;
        width: 100%;
        box-sizing: border-box;
        position: relative;
        justify-content: flex-end;
    }

    .wl_modal-title {
        font-size: 20px;
        font-weight: 500;
        margin: 0;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .wl_modal-close {
        font-size: 40px;
        font-weight: 200;
        color: #333;
        border: none;
        cursor: pointer;
        padding: 0 5px;
        line-height: 1;
    }

    .wl_search-form-container.wl_modal-active .wl_form-tabs {
        padding: 15px;
        justify-content: space-around;
        background: transparent;
    }

    .wl_search-form-container.wl_modal-active .wl_form-fields {
        padding: 0 25px 20px 25px;
    }

    .wl_search-form-container.wl_modal-active .wl_input-group label {
        font-size: 14px;
    }

    .wl_tab {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 5px;
        font-size: 13px;
        font-weight: 600;
        gap: 8px;
        flex: 1;
    }

    .wl_tab svg {
        height: 50px;
        width: 50px;
        padding: 12px;
        flex-shrink: 0;
        border: 1.5px solid #aeb8c4;
        border-radius: 50%;
        background-color: #fff;
        box-sizing: border-box;
    }

    .wl_tab span {
        font-size: 12px;
        font-weight: 300;
    }

    .wl_tab.wl_active {
        background: none;
    }

    .wl_tab.wl_active svg {
        background-color: #050745;
        border-color: #050745;
        color: #FFFFFF;
    }

    .wl_tab span {
        color: #333;
    }

    .wl_form-fields {
        flex-wrap: wrap;
        gap: 30px;
    }

    .wl_form-tabs {
        justify-content: space-around;
    }

    .wl_input-group {
        flex-grow: 1;
        flex-basis: calc(50% - 8px);
        min-width: unset;
    }

    .wl_search-form-container.wl_modal-active .wl_input-group {
        flex-basis: 100%;
    }

    .wl_date-range-group {
        flex-basis: calc(50% - 8px);
    }

    .wl_submit-btn {
        width: 100%;
        height: 50px;
        margin-top: 5px;
    }

    .ui-autocomplete {
        width: 90% !important;
        left: 5% !important;
        z-index: 10000 !important; /* Higher than the modal's z-index */
    }
}


@media (max-width: 420px) {
    .wl_search-form-container {
        padding: 16px 8px;
    }
    .wl_main-title {
        font-size: 26px;
    }
    body.home .wl_main-title {
        margin: 20px 0 18px 0;
    }
    .wl_header-content {
        padding: 20px 13px 30px 13px;
    }
    .wl_form-tabs .wl_tab {
        gap: 4px;
        padding: 4px 2px;
        font-size: 0.8rem;
        min-height: 34px;
    }
    .wl_tab span {
        font-size: 3vw;
    }
}
