/* Homepage-only guide tabs: editorial, quiet, and unmistakably MOVIDA. */
#home-body-content.home-body-tabs {
    max-width: 70rem;
    padding-top: clamp(2.25rem, 5vw, 4.25rem);
    padding-bottom: 1.25rem;
    color: #d4d4d4;
}

#home-body-content .home-body-tabs__heading {
    margin: 0 0 1.25rem;
    padding: 0;
    border: 0;
    color: #f5f2ef;
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

#home-body-content .home-body-tabs__viewport {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    scrollbar-color: #51403e transparent;
}

#home-body-content .home-body-tabs__list {
    display: none;
    width: max-content;
    min-width: 100%;
    border-bottom: 1px solid #34302f;
}

#home-body-content.is-enhanced .home-body-tabs__list {
    display: flex;
    align-items: stretch;
    gap: clamp(1.35rem, 3vw, 2.35rem);
}

#home-body-content .home-body-tabs__tab {
    position: relative;
    flex: 0 0 auto;
    min-height: 3.25rem;
    padding: 0.15rem 0 0.85rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #a9a3a1;
    font: inherit;
    font-size: 0.96rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
    transition: color 160ms ease;
}

#home-body-content .home-body-tabs__tab::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: #bd3b3d;
    content: "";
    opacity: 0;
    transform: scaleX(0.65);
    transform-origin: left center;
    transition: opacity 160ms ease, transform 160ms ease;
}

#home-body-content .home-body-tabs__tab[aria-selected="true"] {
    color: #f4efec;
}

#home-body-content .home-body-tabs__tab[aria-selected="true"]::after {
    opacity: 1;
    transform: scaleX(1);
}

#home-body-content .home-body-tabs__tab:hover,
#home-body-content .home-body-tabs__tab:focus-visible {
    color: #fff;
}

#home-body-content .home-body-tabs__tab:focus-visible,
#home-body-content .home-body-tabs__panel:focus-visible {
    outline: 2px solid #bd3b3d;
    outline-offset: 4px;
}

#home-body-content .home-body-tabs__panels {
    width: 100%;
    padding-top: clamp(1.5rem, 3.2vw, 2.25rem);
}

#home-body-content .home-body-tabs__panel {
    color: #d4d4d4;
}

#home-body-content.is-enhanced .home-body-tabs__panel[hidden] {
    display: none;
}

#home-body-content .home-body-tabs__panel > :first-child {
    margin-top: 0;
}

#home-body-content .home-body-tabs__panel > :last-child {
    margin-bottom: 0;
}

#home-body-content + .homepage-faq {
    padding-top: 1.5rem;
}

#home-body-content .home-body-tabs__panel h2:first-child,
#home-body-content .home-body-tabs__panel h3:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

@media (max-width: 575px) {
    #home-body-content.home-body-tabs {
        padding-inline: 0.15rem;
    }

    #home-body-content .home-body-tabs__tab {
        min-height: 3rem;
        font-size: 0.9rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    #home-body-content .home-body-tabs__tab,
    #home-body-content .home-body-tabs__tab::after {
        transition: none;
    }
}