/* SHIELD 1018 - Pulsanti CTA, indipendenti dal tema */

/* Regole comuni */
#shield1017-cta .s1017-actions a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;

    min-height: 54px !important;
    width: auto;
    padding: 0 26px !important;

    border-radius: 999px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;

    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;

    transition:
        background-color .2s ease,
        color .2s ease,
        border-color .2s ease,
        transform .2s ease !important;
}

/* INIZIA ORA - sfondo bianco, testo blu scuro */
#shield1017-cta .s1017-actions a.s1017-primary,
#shield1017-cta .s1017-actions a.s1017-primary:visited {
    background: #ffffff !important;
    background-image: none !important;
    border: 1px solid #ffffff !important;
    color: #09203b !important;
    -webkit-text-fill-color: #09203b !important;
    box-shadow: 0 5px 16px rgba(4,31,65,.12) !important;
}

/* PARLA CON NOI - trasparente, testo bianco */
#shield1017-cta .s1017-actions a.s1017-secondary,
#shield1017-cta .s1017-actions a.s1017-secondary:visited {
    background: transparent !important;
    background-image: none !important;
    border: 1px solid rgba(255,255,255,.85) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    box-shadow: none !important;
}

/* Icone e testo interni */
#shield1017-cta .s1017-primary span {
    color: #09203b !important;
    -webkit-text-fill-color: #09203b !important;
}

#shield1017-cta .s1017-secondary span {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* Hover */
#shield1017-cta .s1017-actions a.s1017-primary:hover {
    background: #e9f3ff !important;
    border-color: #e9f3ff !important;
    color: #09203b !important;
    -webkit-text-fill-color: #09203b !important;
    transform: translateY(-2px);
}

#shield1017-cta .s1017-actions a.s1017-secondary:hover {
    background: rgba(255,255,255,.17) !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    transform: translateY(-2px);
}

/* Accessibilita tastiera */
#shield1017-cta .s1017-actions a:focus-visible {
    outline: 3px solid #09203b !important;
    outline-offset: 4px !important;
}

/* Mobile */
@media (max-width: 520px) {
    #shield1017-cta .s1017-actions {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    #shield1017-cta .s1017-actions a {
        width: 100% !important;
        min-height: 52px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    #shield1017-cta .s1017-actions a {
        transition: none !important;
    }
}
