/* Post di Instagram: fascia in home, griglia e righe nella pagina News */
.ig-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.two-col .ig-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .ig-grid, .two-col .ig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.ig-card { display: flex; flex-direction: column; min-width: 0; border-radius: 16px; overflow: hidden; background: #fff; text-decoration: none;
  border: 1px solid #e5e7eb; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); transition: transform .2s ease, box-shadow .2s ease; }
.ig-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0, 0, 0, .12); }
.ig-photo { position: relative; display: block; aspect-ratio: 1; max-width: 100%; background: #e5e7eb; overflow: hidden; }
.ig-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ig-card:hover .ig-photo img { transform: scale(1.04); }
.ig-kind { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: #fff; background: rgba(0, 0, 0, .55); }
.ig-text { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px 12px; }
.ig-text small { font-size: 11px; font-weight: 700; color: #9ca3af; text-transform: uppercase; letter-spacing: .04em; }
.ig-text span { font-size: 13px; font-weight: 700; line-height: 1.35; color: #111827;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ig-thumb { width: 48px; height: 48px; border-radius: 12px; overflow: hidden; background: #e5e7eb; }
.ig-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ig-badge { background: linear-gradient(135deg, #f58529, #dd2a7b 50%, #8134af); color: #fff; }
.ig-follow { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 12px; font-size: 14px; font-weight: 800;
  color: #111827; background: #fff; border: 1px solid #e5e7eb; text-decoration: none; }
.ig-follow.is-ig { color: #fff; border: 0; background: linear-gradient(135deg, #f58529, #dd2a7b 50%, #8134af); }
@media (prefers-reduced-motion: reduce) { .ig-card, .ig-photo img { transition: none; } }
