/* Nascondi sia il pulsante sia il contenitore del modulo su PC e Tablet */
.joomla-mobile-cta,
div:has(> .joomla-mobile-cta) {
    display: none !important;
}

/* Mostra il pulsante SOLO su Smartphone (max 768px) */
@media (max-width: 768px) {
    .joomla-mobile-cta {
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #1a365d;
        color: #ffffff !important;
        text-align: center;
        padding: 14px 20px;
        font-size: 16px;
        font-weight: bold;
        text-decoration: none;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
        z-index: 99999;
        letter-spacing: 0.5px;
    }

    body {
        padding-bottom: 60px;
    }
}
/* Alfredo Nocera: caricamento non bloccante dei font delle icone.
   Aggiungere in fondo a user.css del template Cassiopeia. */

@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/media/vendor/fontawesome-free/webfonts/fa-regular-400.woff2?v=896727") format("woff2"),
       url("/media/vendor/fontawesome-free/webfonts/fa-regular-400.ttf?v=262525") format("truetype");
}

@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("/media/vendor/fontawesome-free/webfonts/fa-solid-900.woff2?v=4a6591") format("woff2"),
       url("/media/vendor/fontawesome-free/webfonts/fa-solid-900.ttf?v=269f97") format("truetype");
}

@font-face {
  font-family: "Font Awesome 6 Brands";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/media/vendor/fontawesome-free/webfonts/fa-brands-400.woff2?v=cbcf42") format("woff2"),
       url("/media/vendor/fontawesome-free/webfonts/fa-brands-400.ttf?v=15d54d") format("truetype");
}
