/* Menu mobile a tutto schermo (attivo fino a 1024px, come l'hamburger) */
.fmc-menu { display: none; }

@media (max-width: 1024px) {
  .fmc-menu {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
    background: #13141c;
    overflow-y: auto;
  }
  .fmc-menu.is-open {
    display: flex;
    animation: fmc-menu-in .25s ease;
  }
  .fmc-menu__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 0 0 auto;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }
  .fmc-menu__logo img { display: block; height: 34px; width: auto; }
  .fmc-menu .fmc-menu__close {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: #db1a1a;
    color: #fff;
    font: 400 32px/44px Arial, sans-serif;
    text-align: center;
    cursor: pointer;
  }
  .fmc-menu__list {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    padding: 24px 20px;
    list-style: none;
  }
  .fmc-menu__list li { margin: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .fmc-menu__list li:last-child { border-bottom: 0; }
  .fmc-menu .fmc-menu__list a {
    display: block;
    padding: 16px 4px;
    color: #fff;
    font-family: "Oswald", sans-serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: .6px;
    text-decoration: none;
  }
  .fmc-menu .fmc-menu__list a:hover,
  .fmc-menu .fmc-menu__list a:focus-visible,
  .fmc-menu .fmc-menu__list a[aria-current] { color: #ed1c24; }
  body.fmc-menu-open { overflow: hidden; }
  /* il menu a tendina del plugin non viene più usato */
  .eael-simple-menu-container .eael-nav-menu-wrapper { display: none !important; }
}
@media (max-height: 520px) {
  .fmc-menu .fmc-menu__list a { font-size: 22px; padding: 10px 4px; }
}
@keyframes fmc-menu-in { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fmc-menu.is-open { animation: none; } }

/* Header mobile: logo un po' più piccolo, meno margine ai lati, hamburger a destra */
@media (max-width: 767px) {
  html body .elementor-107 .elementor-element.elementor-element-e197cfd {
    --width: 60%;
    padding-left: 14px;
    align-items: flex-start;
  }
  html body .elementor-107 .elementor-element.elementor-element-eb8db1e { text-align: left; }
  html body .elementor-107 .elementor-element.elementor-element-eb8db1e img { width: 128px; }
  html body .elementor-107 .elementor-element.elementor-element-cae6918 {
    --width: 40%;
    justify-content: flex-end;
    padding-right: 14px;
  }
}
