/* /assets/css/share-site.css
   Riquadro «Condividi Festa in corso» nel footer pubblico (partial share-site.php).
   È un riquadro con sfondo, bordo e angoli arrotondati, così non si confonde con i link
   alle pagine social del sito: i pulsanti condividono il sito, non portano a un profilo. */

.share-site { padding: 4px 20px 28px; }
.share-site-in {
  max-width: 1160px; margin: 0 auto; padding: 18px 22px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: var(--radius, 16px);
}

.share-site-head { display: flex; align-items: center; gap: 14px; min-width: 0; }
.share-site-icon {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand, #E2366F); color: #fff;
}
.share-site-icon svg { width: 20px; height: 20px; }
.share-site-title { display: block; font-size: 16px; font-weight: 700; color: #fff; }
.share-site-sub { display: block; font-size: 14px; opacity: .85; }

.share-site-btns { display: flex; flex-wrap: wrap; gap: 8px; }

.site-footer .share-site-btn,
.share-site-btn {
  width: 42px; height: 42px; padding: 0; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.10); color: #fff; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font: inherit; font-size: 12px; font-weight: 600;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.share-site-btn svg { width: 19px; height: 19px; }
.site-footer .share-site-btn:hover,
.share-site-btn:hover { background: var(--brand, #E2366F); border-color: transparent; color: #fff; text-decoration: none; transform: translateY(-1px); }
.share-site-btn:focus-visible { outline: 3px solid var(--albicocca, #FFB547); outline-offset: 2px; }
.share-site-btn[hidden] { display: none; }

/* Colore del marchio al passaggio del mouse */
.site-footer .share-site-whatsapp:hover { background: #1FA855; }
.site-footer .share-site-facebook:hover { background: #1877F2; }
.site-footer .share-site-telegram:hover { background: #229ED9; }
.site-footer .share-site-linkedin:hover { background: #0A66C2; }
.site-footer .share-site-x:hover        { background: #000; }

@media (max-width: 600px) {
  .share-site-in { flex-direction: column; align-items: flex-start; padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .share-site-btn { transition: none; }
  .share-site-btn:hover { transform: none; }
}
