/* The product tabs above the search box of the home page (index.php). A bit larger than usual for older visitors: bigger text and icons, white on the
   green of the site (the one of the active header link, bg-gold), and the chosen tab turns white and joins the search panel below it. */
.hero-tabs {
    display: flex;
    align-items: stretch;
    gap: 6px;
    width: fit-content;
    max-width: 100%;
    padding: 6px 6px 0;
    background: var(--ds-primary, #00ab6c);
    border-radius: 14px 14px 0 0;
    outline: none;
}
.hero-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 8px 22px;
    border-radius: 10px 10px 0 0;
    color: #fff;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .2s, color .2s;
}
.hero-tab > svg {
    width: 22px;
    height: 22px;
    flex: none;
}
.hero-tab:hover {
    background: rgba(255, 255, 255, .18);
}
.hero-tab[data-state="active"] {
    background: #fff;
    color: var(--ds-primary, #00ab6c);
}
.hero-tab:focus-visible {
    outline: 3px solid var(--ds-accent, #cc4420);
    outline-offset: -3px;
}
.hero-tabs + .hero-panel {
    background: #fff;
}
/* a soft dark shade behind the tabs and the panel: strongest at the box, fading as it grows outward, past the search button that hangs below */
.hero-search {
    position: relative;
    isolation: isolate;
}
.hero-search::before {
    content: "";
    position: absolute;
    inset: -8px -24px -60px;
    z-index: -1;
    border-radius: 48px;
    background: rgba(0, 0, 0, .3);
    filter: blur(32px);
    pointer-events: none;
}
.hero-search > .hero-panel {
    box-shadow: 0 16px 40px rgba(0, 0, 0, .1);
}
@media (max-width: 767px) {
    .hero-search::before {
        inset: 0 -10px -38px;
        filter: blur(22px);
    }
}
/* the search buttons are .ds-btn (ds.css); this only keeps the "more tours" link white */
.hero-btn:hover { color: #fff; }
/* phone: one full-width row with the icon above the name, so that all tabs are seen without scrolling */
@media (max-width: 767px) {
    .hero-tabs {
        width: 100%;
        gap: 2px;
        padding: 4px 4px 0;
    }
    .hero-tab {
        flex: 1 1 auto;
        min-width: 0;
        flex-direction: column;
        gap: 2px;
        min-height: 58px;
        padding: 6px 2px;
        font-size: 15px;
        white-space: normal;
        text-align: center;
    }
    .hero-tab > svg {
        width: 20px;
        height: 20px;
    }
}
