
/* Top bar + header restano visibili in scroll */
.site-sticky-top {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.site-sticky-top .site-header,
.site-sticky-top header.site-header {
    position: static;
    top: auto;
}

/* Language switcher — top bar */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-right: 0.75rem;
    padding-right: 0.75rem;
    border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.lang-flag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.45rem;
    border-radius: 4px;
    text-decoration: none;
    color: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.2;
    opacity: 0.75;
    transition: opacity 0.15s ease, background 0.15s ease;
}

.lang-flag:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.12);
}

.lang-flag.is-active {
    opacity: 1;
    background: rgba(255, 255, 255, 0.18);
}

.lang-flag-emoji {
    font-size: 1rem;
    line-height: 1;
}

.lang-flag-code {
    letter-spacing: 0.04em;
}

.top-bar-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
}

@media (max-width: 640px) {
    .lang-flag-code {
        display: none;
    }

    .lang-switcher {
        margin-right: 0.35rem;
        padding-right: 0.35rem;
    }
}

.page-register .field-italian-only[hidden] {
    display: none !important;
}
.home-hero-seo-link {
    margin-top: 1rem;
    font-size: 0.95rem;
}
.home-hero-seo-link a {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
