/* VAKYR — Sponsor Banner CSS centralizzato.
 * Usato in: index.html, match.html, schedine.html, planner.html, metodo.html
 * Cambia qui per cambiare ovunque.
 *
 * Dimensioni:
 *  - Desktop: 360×123 (aspect 2.92:1)
 *  - Mobile (≤720px): 300×102
 *  - Mini (≤420px): 280×96
 * Banner caricati da sponsor: consigliata risoluzione 720×246 (retina 2x).
 */
.ad-banner-wrap {
  margin-top: 18px;
  text-align: center;
}
.ad-banner-label {
  font-size: 0.7rem;
  color: #7a8499;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  text-align: center;
  font-weight: 600;
}
.ad-banner {
  background: transparent;
  border: none;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 123px;
  max-width: 360px;
  margin: 0 auto;
}
.ad-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
  cursor: pointer;
  border-radius: 14px;
  overflow: hidden;
}
.ad-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.ad-slide:hover {
  filter: brightness(1.1);
}
.ad-slide-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}
.ad-banner-disclaimer {
  font-size: 0.62rem;
  color: #6e7681;
  text-align: center;
  margin: 6px auto 0;
  max-width: 360px;
  line-height: 1.4;
  opacity: 0.75;
}
.ad-banner-disclaimer a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(110,118,129,0.4);
}
@media (max-width: 720px) {
  .ad-banner { height: 102px; max-width: 300px; }
  .ad-banner-disclaimer { max-width: 300px; font-size: 0.58rem; }
}
@media (max-width: 420px) {
  .ad-banner { height: 96px; max-width: 280px; }
  .ad-banner-disclaimer { max-width: 280px; }
}
