/* DomiLeague — aggiunte dinamiche per i contenuti gestiti dalla dashboard.
   Il design resta quello del mockup: solo i pezzi che la dashboard può cambiare. */

/* Rassegna stampa: estratto articolo nella card */
.art .art-body { min-width: 0; }
.art .excerpt {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.4;
  color: var(--muted);
  margin: 6px 0 0;
}

/* Video social: tanti video -> scroll orizzontale */
.reels.scrollx {
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: 250px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
}
.reels.scrollx .reel { scroll-snap-align: start; height: 440px; min-height: 0; }
/* I gradienti del mockup coprono solo i primi 4 riquadri: fallback per i successivi */
.reel { background: linear-gradient(160deg, #2438E8, #0B1247); }
.reel.has-video { padding: 0; background: #000; overflow: hidden; }
.reel.has-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Video Instagram: click-to-play, il player resta dentro il riquadro */
.reel.ig { cursor: pointer; }
.reel.ig-open { padding: 0; background: #000; }
.reel.ig-open::before { display: none; }
.reel.ig-open blockquote.instagram-media {
  margin: 0 !important;
  min-width: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  height: 100% !important;
  max-height: 100%;
  overflow: hidden;
  background: #000 !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}
.reel.ig-open iframe { width: 100% !important; }
.ig-fallback {
  position: absolute;
  left: 10px; right: 10px; bottom: 10px;
  background: var(--flood);
  color: var(--navy);
  font-weight: 800;
  text-align: center;
  border-radius: 999px;
  padding: 10px;
  text-decoration: none;
  font-size: 14px;
}
/* Foto dal campo: immagine caricata dalla dashboard */
.ph.has-img {
  background-size: cover;
  background-position: center;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.75);
}
/* Sotto i 700px gli span custom del layout si azzerano (vale il mobile del mockup) */
@media (max-width: 700px) {
  .mosaic .ph { grid-column: auto !important; grid-row: auto !important; }
}

/* Brand & sponsor: logo caricato dalla dashboard */
.lg.has-logo {
  border-style: solid;
  border-color: var(--line);
  background: var(--chalk);
  color: var(--navy);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lg.has-logo img {
  max-width: 100%;
  max-height: 84px;
  object-fit: contain;
  display: block;
}
.main .lg.has-logo img { max-height: 120px; }
