/* Studio Ignazio Di Giuseppe - Preferenze cookie (Patch 53) */
.ig-cookie-banner{position:fixed;z-index:2147483000;left:16px;right:16px;bottom:16px;max-width:960px;margin:auto;background:#fff;color:#20332e;border:1px solid #cdd9d4;border-radius:15px;box-shadow:0 14px 55px rgba(16,42,32,.27);font:normal 15px/1.5 system-ui,-apple-system,Segoe UI,sans-serif;padding:20px}
.ig-cookie-banner[hidden],.ig-cookie-prefs[hidden]{display:none!important}
.ig-cookie-banner h2{font-size:1.25rem;line-height:1.3;font-weight:700;margin:0 0 8px;color:#173f38}
.ig-cookie-banner p{margin:0 0 13px}
.ig-cookie-banner a{color:#1a5e53;text-decoration:underline;text-underline-offset:2px}
.ig-cookie-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:16px}
.ig-cookie-btn{appearance:none;border-radius:8px;padding:10px 17px;border:1px solid #1e5549;background:#fff;color:#173f38;cursor:pointer;font-family:inherit;font-size:14px;font-weight:600;line-height:1.25;min-height:44px;min-width:120px}
.ig-cookie-btn:hover,.ig-cookie-btn:focus-visible{outline:2px solid #397765;outline-offset:2px}
.ig-cookie-btn.primary{background:#173f38;color:#fff}
.ig-cookie-pref-row{margin:10px 0;padding:11px 0;border-top:1px solid #dae3df}
.ig-cookie-pref-row label{display:flex;gap:12px;align-items:center;cursor:pointer}
.ig-cookie-pref-row input{width:20px;height:20px;accent-color:#245e50}
.ig-cookie-pref-note{font-size:12px;color:#5a7068;margin-top:4px}
@media(max-width:560px){.ig-cookie-banner{left:9px;right:9px;bottom:9px;padding:15px;max-height:80vh;overflow:auto}.ig-cookie-actions{display:grid;grid-template-columns:1fr 1fr}.ig-cookie-btn{min-width:0}.ig-cookie-actions .ig-cookie-customize{grid-column:1/-1}}

/* Patch 57: preferenze integrate nella navigazione legale del footer. */
.site-footer .footer-nav .ig-cookie-nav-button {
  display:inline-flex;align-items:center;justify-content:center;gap:.45rem;
  padding:0;border:0;border-radius:0;background:transparent;
  font-family:inherit;font-size:.76rem;font-weight:400;line-height:inherit;
  color:rgba(255,255,255,.7);cursor:pointer;text-decoration:none;
}
.site-footer .footer-nav .ig-cookie-nav-button:hover,
.site-footer .footer-nav .ig-cookie-nav-button:focus-visible {color:#fff;text-decoration:underline;text-underline-offset:3px}
.site-footer .footer-nav .ig-cookie-nav-button:focus-visible {outline:2px solid currentColor;outline-offset:5px}
.site-footer .footer-nav .ig-cookie-nav-button i {font-size:.89rem;line-height:1}

/* Patch 59 - Secondo menu footer (m5), sotto la navigazione principale (m4). */
.site-footer .footer-nav.footer-nav-secondary {
  margin-top:.5rem;
  padding-top:.4rem;
  border-top:0;
  gap:1.25rem;
}
.site-footer .footer-nav.footer-nav-secondary a,
.site-footer .footer-nav.footer-nav-secondary .ig-cookie-nav-button {
  color:rgba(255,255,255,.63);
  font-size:.76rem;
  font-weight:400;
  line-height:1.5;
}
.site-footer .footer-nav.footer-nav-secondary a:hover,
.site-footer .footer-nav.footer-nav-secondary a:focus-visible,
.site-footer .footer-nav.footer-nav-secondary .ig-cookie-nav-button:hover,
.site-footer .footer-nav.footer-nav-secondary .ig-cookie-nav-button:focus-visible {
  color:#fff;
}

/* Patch 60: gerarchia leggibile fra m4 e m5.
   Menu principale circa 13.2px; informazioni legali circa 12.2px
   per dimensione base 16px. */
.site-footer .footer-nav.footer-nav-primary a {
  font-size: .825rem;
}
