/**
 * Alto Adige Vertical Sponsor Logo Carousel Styles
 */

.aa-vertical-carousel-widget {
  background: #0d121f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 18px 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.aa-carousel-header {
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 10px;
}

.aa-carousel-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #e8253a;
  background: rgba(232, 37, 58, 0.12);
  border: 1px solid rgba(232, 37, 58, 0.25);
  padding: 2px 7px;
  border-radius: 4px;
  margin-bottom: 4px;
}

.aa-carousel-title {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  color: #f8fafc;
  font-weight: 700;
}

.aa-carousel-viewport {
  height: var(--aa-carousel-height, 340px);
  overflow: hidden;
  position: relative;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  padding: 8px 0;
}

/* Sfumatura dissolvenza in alto e in basso per transizione morbida */
.aa-carousel-fade-top,
.aa-carousel-fade-bottom {
  position: absolute;
  left: 0;
  right: 0;
  height: 35px;
  z-index: 5;
  pointer-events: none;
}

.aa-carousel-fade-top {
  top: 0;
  background: linear-gradient(to bottom, #0d121f, transparent);
}

.aa-carousel-fade-bottom {
  bottom: 0;
  background: linear-gradient(to top, #0d121f, transparent);
}

/* Binario carosello verticale continuo (dal basso verso l'alto) */
.aa-carousel-track {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  will-change: transform;
}

.aa-carousel-item {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
  flex-shrink: 0;
}

.aa-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 75px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.aa-logo-card:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(232, 37, 58, 0.25);
  border-color: rgba(232, 37, 58, 0.6);
}

.aa-logo-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: contrast(1.05);
  transition: opacity 0.2s ease;
}

.aa-logo-card:hover img {
  opacity: 0.95;
}
