/* --- OPTODATA UNIVERSAL FOOTER E SEPARATOR --- */

/* La linea colorata divisoria */
.brand-separator {
    border: 0;
    height: 6px;
    width: 80px;
    background: linear-gradient(90deg, var(--color-cobalt), var(--color-orange), var(--color-green));
    margin: 3rem auto;
    border-radius: 4px;
    opacity: 1;
}

/* Base Footer */
footer {
    margin-top: 0;
    font-size: .9rem;
    font-weight: 700;
    opacity: 1;
    line-height: 1.6;
    text-align: center;
    width: 100%;
    padding-bottom: 2rem; /* Spazio in basso */

    /* Performance Rendering */
    content-visibility: auto;
    contain-intrinsic-size: 1px 100px;
}

/* I link legali che si impilano */
.footer-links {
    margin-top: 1rem;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.footer-link {
    color: var(--color-cobalt);
    text-decoration: none;
    padding: 12px 20px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .2s, color .2s;
}

.footer-link:hover {
    opacity: .7;
    text-decoration: underline;
    color: var(--color-green);
}

.footer-copyright {
    display: block;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--color-cobalt);
    opacity: 0.7;
    font-weight: 400;
}

/* Su Watch nascondiamo il footer esteso per salvare spazio */
@media (max-width: 250px), (max-height: 250px) {
    .brand-separator,
    .footer-links {
        display: none !important;
    }
    footer {
        padding-bottom: 10px;
    }
}
