/*
 * Theme Name:  RGP Balls Child
 * Text Domain: rgpballs
 * Template:    rgpballs
 * Description:
 * Author:      
 * Author URI:  
 * Version:     1.0
 */


@media (min-width: 768px) {
    .md\:gap-20 {
        gap: 3rem;
    }
}


@media (min-width: 1280px) {
	.template-contatti-partial {min-height:630px;padding-bottom:0px !important}
}
/* ===== Feed LinkedIn – stile pagina Blog ===== */
:root {
  --rgp-blue: #1a2cf0;   /* blu RGPBALLS: verifica con il contagocce */
  --rgp-gutter: 50px;    /* margine laterale: regola finché la griglia si allinea al titolo */
}

/* Larghezza piena allineata al contenuto del sito */
.profeedwp-feed {
  width: calc(100vw - (var(--rgp-gutter) * 2)) !important;
  max-width: 1900px !important;
  margin-left: 50% !important;
  transform: translateX(-50%);
}

/* Griglia */
.profeedwp-feed .profeedwp-feed-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 56px 16px !important;
}

/* Card: niente sfondo, bordo, ombra */
.profeedwp-feed .profeedwp-feed-grid > * {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

/* Immagini grandi con angoli arrotondati */
.profeedwp-feed .profeedwp-feed-grid > * img {
  width: 100% !important;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 14px !important;
}

/* Testi: font del tema, niente sottolineature */
.profeedwp-feed,
.profeedwp-feed * {
  font-family: inherit !important;
}
.profeedwp-feed a {
  text-decoration: none !important;
  color: inherit !important;
}

/* Data in blu, come nel Blog */
.profeedwp-feed [class*="date"],
.profeedwp-feed time {
  color: var(--rgp-blue) !important;
  font-size: 15px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

/* Tablet */
@media (max-width: 1024px) {
  .profeedwp-feed .profeedwp-feed-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 40px 16px !important;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .profeedwp-feed {
    width: 100% !important;
    margin-left: 0 !important;
    transform: none;
  }
  .profeedwp-feed .profeedwp-feed-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}