/*
 * VANAFLY shell: legacy global rules
 * ------------------------------------------------------------------
 * Site-wide rules that used to ship inside the Top Rated Hotels plugin
 * stylesheet (iscu-public.css) although they have nothing to do with
 * hotels: default typography (Roboto body, Poppins titles), header and
 * navigation tweaks, hero banners, homepage tabs and the footer.
 *
 * They are loaded at the same point of the cascade as before (after
 * the theme's page/component styles, before plugin styles), so nothing
 * changes visually. Rules that could never match were removed.
 *
 * Do not add new CSS here. Move a rule into site-shell.css or the
 * component it styles whenever you touch that component.
 * See assets/css/README.md.
 */

@media only screen and (min-width: 990px) {
    body header.site-header .col-lg-3 {
        max-width: 150px;
    }

    .page-template-template-flights .main-banner,
    .home .main-banner {
        padding: 219px 0 169px;
        /* 219px 0 215px */
    }

    li#menu-item-1729::before {
        display: none !important;
    }

    .main-navigation ul.menu>li:nth-child(-n+2) a {
        height: 30px;
    }
}

.site-footer .footer-logo p {
    margin-top: 9px;
    line-height: 24px;
}

body .vanafly-tabs__header .vanafly-tabs__button,
body .vanafly-tabs__header li {
    height: 100%;
    display: flex;
    align-items: center;
}

.vanafly-tabs__pills.nav.nav-tabs {
    height: 54px;
}

.page-id-8 .main-banner-img {
    background: none !important;
}

.vanafly-tabs__button {
    color: #707070;
}

/* =========================================================
   STORIES / BLOG POST COLORED HOVER SHADOW
   ========================================================= */

/*
 * No image darkening.
 * No image zoom.
 * No card movement.
 * No background tint.
 *
 * Only the hovered post receives the soft VANAFLY-blue
 * colored shadow around its outside edges.
 */

/* =========================================================
   END STORIES HOVER
   ========================================================= */

body .banner-content .h1-title.iscu_tpwl_fade_up {
    visibility: visible !important;
    animation-name: fadeup-animation !important;
    animation-duration: 0.8s !important;
    animation-delay: 0.2s !important;
    animation-fill-mode: both !important;
}

body .banner-content .h4-title.iscu_tpwl_fade_up {
    visibility: visible !important;
    animation-name: fadeup-animation !important;
    animation-duration: 0.8s !important;
    animation-delay: 0.3s !important;
    animation-fill-mode: both !important;
}

#tpwl-search.iscu_tpwl_fade_up {
    visibility: visible !important;
    animation-name: fadeup-animation !important;
    animation-duration: 0.8s !important;
    animation-delay: 0.4s !important;
    animation-fill-mode: both !important;
}

@media screen {
    html {
        margin-top: 0px !important;
    }
}

.hotels.destinations-btn,
.sec-btn.book-hotels {
    cursor: pointer;
}

@media only screen and (min-width: 1000px) {

    .page-id-576.page-template-template-airport-transfer .main-banner.flights-banner {
        padding-top: 65px;
        padding-bottom: 15px;
    }
}

.page-id-576 .banner-media {
    border-radius: .5rem;
    overflow: hidden;
    max-width: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-id-576 .main-banner.flights-banner {
    background: #f5f5f5;
    padding-top: 65px;
    padding-bottom: 15px;
}

.page-id-576 .main-banner.flights-banner .container {
    background-color: var(--primary-color);
    min-height: 240px;
    max-width: 1122px;
    border-radius: .5rem;
    display: flex;
    align-items: center;
    padding-left: 30px;
    padding-right: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    box-sizing: border-box;
    justify-content: space-between;
    margin-top: 15px;
}

.page-id-576 .banner-media img,
.page-id-576 .banner-media video {
    max-height: 220px;
    min-height: 220px;
    border-radius: .5rem;
}

.page-id-576 .main-banner.flights-banner .row {
    margin: unset;
}

.page-id-576 .main-banner.flights-banner .container {
    gap: 30px;
}

.page-id-576.page-template-template-airport-transfer .main-banner.flights-banner {
    padding-left: 15px;
    padding-right: 15px;
}

.page-id-576 .main-banner.flights-banner .row.banner-media-row * {
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    object-fit: cover;
}

body .seo-location-item .title {
    font-weight: bold;
    font-size: 0.875rem;
}

body .vanafly-tabs__header .vanafly-tabs__button {
    color: #707070;
}

/* Default font family for the body (Roboto) */
body,
span,
p {
    font-family: 'Roboto', sans-serif;
}

/* Apply Poppins to all elements with class containing '-title' or 'title' */
[class*="-title"]:not(.subtitle) *,
[class*="-title"]:not(.subtitle) {
    font-family: 'Poppins', sans-serif !important;
}

/* Ensure subtitle elements use Roboto */
.subtitle,
.subtitle * {
    font-family: 'Roboto', sans-serif !important;
}

/* Exclude specific elements from being affected by the Poppins font family (e.g., icons, SVGs) */
[class*="-title"] i,
[class*="-title"] svg,
[class*="-title"] .icon,
.subtitle i,
.subtitle svg,
.subtitle .icon {
    font-family: inherit !important;
}

body .vanafly-tabs__header .vanafly-tabs__button.active {
    font-weight: 700;
    font-size: 0.875rem;
}

@media only screen and (max-width: 991px) {
    .page-id-576.page-template-template-airport-transfer .main-banner.flights-banner .container {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

    .page-id-576 .main-banner.flights-banner .row {
        width: 100%;
    }

    .page-id-576 .banner-content {
        padding-bottom: 0px;
    }
}

@media screen and (min-width: 481px) {

    .home .banner-content .h4-title.mobile,
    .home .banner-content .h1-title.mobile {
        display: none;
    }
}

@media only screen and (max-width: 480px) {

    .home .banner-content .h4-title.desktop,
    .home .banner-content .h1-title.desktop {
        display: none;
    }

    .site-footer .row,
    .faq-banner .row,
    body .join-our {
        margin-left: 0;
        margin-right: 0;
    }

    .join-our .container {
        padding: 0 15px;
    }

    body footer.site-footer .row.col-lg-8.p-0 {
        padding: 0px !important;
    }

    .home .main-banner::before {
        background-image: none;
    }

    .footer-logo {
        padding-inline: unset !important;
    }

    .page-template-template-flights .main-banner {
        padding: 115px 0 !important;
    }

    .page-id-8 .search-flights {
        margin-top: -96px !important;
    }

    .home .main-banner {
        padding: 115px 0 130px 0;
    }
}

@media (max-width: 991px) {

    .hideondesktop2 {
        display: block;
    }
}

@media (min-width: 992px) {

    .hideondesktop2 {
        display: none !important;
    }
}

/* Explore Travel desktop link — thin grey border + arrow */

/* Arrow flips upward and turns blue when the dropdown is open (hover or active) */

.main-navigation .menu>li.menu-item-has-children:hover>a::before {
    width: 14px;
    opacity: 0;
    left: 0;
}

.main-navigation li.current-menu-parent>a {
    color: var(--primary-color) !important;
    -webkit-text-stroke: 0.4px;
}

.main-navigation li.current-menu-parent>a::after {
    border-right-color: var(--primary-color) !important;
    border-bottom-color: var(--primary-color) !important;
}

@media (max-width: 990px) {

    .hideondesktop2 ul.menu>li>ul.sub-menu>li:before {
        display: none !important;
    }

    .hideondesktop2 ul.menu>li.menu-item-has-children::before,
    .hideondesktop2 ul.menu>li.menu-item-1910::before {
        display: none !important;
        content: none !important;
    }

    .hideondesktop2 ul.menu>li.menu-item-has-children {
        margin-top: 10px !important;
        margin-bottom: 6px !important;
        display: block !important;
        border: none !important;
        padding: 0 !important;
    }

    .hideondesktop2 ul.menu>li.menu-item-has-children>a {
        border: 1px solid rgba(255, 255, 255, 0.5) !important;
        border-radius: 6px !important;
        padding: 6px 12px !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 8px !important;
        line-height: 1.4 !important;
    }

    .hideondesktop2 ul.menu>li.menu-item-has-children>a::before {
        content: url('https://api.iconify.design/mdi/compass-outline.svg?color=white&width=18') !important;
        display: inline-flex !important;
        align-items: center !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        background: none !important;
        border-radius: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        margin-right: 0 !important;
        bottom: auto !important;
        left: auto !important;
        top: 2px !important;
        transform: none !important;
        transition: none !important;
        flex-shrink: 0 !important;
    }

    .hideondesktop2 ul.menu>li.menu-item-has-children>a::after {
        content: "" !important;
        display: inline-block !important;
        width: 7px !important;
        height: 7px !important;
        margin-left: 10px !important;
        border-right: 2px solid #ffffff !important;
        border-bottom: 2px solid #ffffff !important;
        transform: rotate(45deg) !important;
        transition: transform 0.25s ease !important;
        margin-bottom: 4px !important;
    }

    .hideondesktop2 ul.menu>li.menu-item-has-children.is-open>a::after {
        transform: rotate(-135deg) !important;
        margin-bottom: -2px !important;
    }

    .hideondesktop2 ul.menu>li>ul.sub-menu {
        display: none;
        background-color: #faf9f6 !important;
        border-radius: 20px !important;
        padding: 12px !important;
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12), 0 4px 14px rgba(18, 138, 221, 0.08) !important;
        border: 1px solid rgba(220, 230, 240, 0.8) !important;
        list-style: none !important;
        margin: 8px 0px 4px 0px !important;
        width: 100% !important;
        flex-basis: 100% !important;
    }

    .hideondesktop2 ul.menu>li>ul.sub-menu>li {
        list-style: none !important;
        display: block !important;
        width: 100% !important;
        margin: 0px !important;
        margin-bottom: 8px !important;
    }

    .hideondesktop2 ul.menu>li>ul.sub-menu>li:last-child {
        margin-bottom: 0 !important;
    }

    .hideondesktop2 ul.menu>li>ul.sub-menu>li>a {
        display: flex !important;
        align-items: center !important;
        background: #ffffff !important;
        border: 1px solid #edf2f7 !important;
        border-radius: 12px !important;
        padding: 10px 14px !important;
        color: #2d3748 !important;
        font-weight: 600 !important;
        font-size: 15px !important;
        text-decoration: none !important;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03) !important;
        transition: all 0.25s ease !important;
    }

    .hideondesktop2 ul.menu>li>ul.sub-menu>li>a:hover {
        background-color: #ffffff !important;
        color: var(--primary-color, #128add) !important;
        border-color: var(--primary-color, #128add) !important;
        box-shadow: 0 6px 16px rgba(18, 138, 221, 0.12) !important;
    }

    .hideondesktop2 ul.menu>li>ul.sub-menu>li>a::before {
        content: "" !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        border-radius: 10px !important;
        background-color: #eef6fc !important;
        margin-right: 12px !important;
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        font-family: 'FontAwesome' !important;
        font-size: 15px !important;
        color: var(--primary-color, #128add) !important;
    }

    .hideondesktop2 ul.menu>li>ul.sub-menu>li>a[href*="experience"]::before,
    .hideondesktop2 ul.menu>li>ul.sub-menu>li>a[href*="getyourguide"]::before,
    .hideondesktop2 ul.menu>li>ul.sub-menu>li.menu-item-1729>a::before {
        content: "\f005" !important;
    }

    .hideondesktop2 ul.menu>li#menu-item-1729::before {
        content: url(https://api.iconify.design/mdi/ferris-wheel.svg?color=white&width=24);
        position: relative;
        top: 7px;
        padding-right: 5px;
    }

    .hideondesktop2 ul.menu>li>ul.sub-menu>li>a[href*="transfer"]::before,
    .hideondesktop2 ul.menu>li>ul.sub-menu>li.menu-item-1490>a::before {
        content: "\f1ba" !important;
    }

    .hideondesktop2 ul.menu>li>ul.sub-menu>li>a[href*="bus"]::before,
    .hideondesktop2 ul.menu>li>ul.sub-menu>li.menu-item-1497>a::before {
        content: "\f207" !important;
    }

    .hideondesktop2 ul.menu>li>ul.sub-menu>li>a[href*="visa"]::before,
    .hideondesktop2 ul.menu>li>ul.sub-menu>li.menu-item-875>a::before {
        content: "\f2c2" !important;
    }

    .hideondesktop2 ul.menu>li>ul.sub-menu>li>a:not([href*="vanafly.com"])::after {
        content: "\f08e" !important;
        font-family: 'FontAwesome' !important;
        font-size: 12px !important;
        color: #a0aec0 !important;
        margin-left: auto !important;
        padding-left: 8px !important;
    }

    .hideondesktop2 .menu-item-has-children {
        line-height: 31.5px;
    }

    .hideondesktop2 .menu-item-has-children a {
        line-height: 26px;
    }
}
