.top-corsi-dynamic-area{
  padding: 50px 0 90px;
  background: #f7f8fa;
  position: relative;
  z-index: 1;
}

.top-corsi-slider-header{
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.top-corsi-slider-wrapper{
  position: relative;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 56px;
  z-index: 10;
}

.top-corsi-swiper{
  overflow: hidden;
  padding: 10px 0 35px;
  position: relative;
  z-index: 10;
}

.top-corsi-swiper .swiper-wrapper{
  align-items: stretch;
}

.top-corsi-swiper .swiper-slide{
  height: auto;
  display: flex;
}

.top-corsi-premium-card{
  width: 100%;
  background: #ffffff;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0,0,0,0.10);
  display: flex;
  flex-direction: row;
  align-items: stretch;
  transition: all .30s ease;
  position: relative;
  z-index: 5;
  min-height: 280px;
}

.top-corsi-premium-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.16);
}

.top-corsi-premium-image{
  width: 42%;
  min-width: 42%;
  min-height: 280px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.top-corsi-premium-image{
  width: 42%;
  min-width: 42%;
  min-height: 280px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
  background: #f4f4f4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-corsi-premium-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.top-corsi-premium-body{
  width: 58%;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
  position: relative;
  z-index: 6;
}

.top-corsi-premium-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #edf4fa;
  color: #00456f;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 14px;
  line-height: 1;
}

.top-corsi-premium-title{
  font-family: "new-science", sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.15;
  color: #00456f;
  text-transform: uppercase;
  margin: 0 0 12px 0;
  word-break: break-word;
}

.top-corsi-premium-desc{
  font-family: "new-science", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.65;
  color: #6c757d;
  margin: 0 0 16px 0;
}
/* ROW durata + ore */
.top-corsi-premium-meta-row{
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.top-corsi-premium-meta-row .top-corsi-premium-info{
  flex: 1;
  max-width: none;
  padding: 10px 10px;
  border-radius: 12px;
  background: #f3f4f6;
}

/* rendi tutto più compatto */
.top-corsi-premium-meta-row .top-corsi-premium-info-label{
  font-size: 10px;
}

.top-corsi-premium-meta-row .top-corsi-premium-info-value{
  font-size: 14px;
}
.top-corsi-premium-price{
  width: 100%;
  background: #0c3b5c;
  border-radius: 16px;
  padding: 14px 10px;
  margin: 10px 0 18px;
  text-align: center;
}

.top-corsi-premium-price-old{
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  text-decoration: line-through;
  margin-bottom: 4px;
}

.top-corsi-premium-price-new{
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}

.top-corsi-premium-price-label{
  display: block;
  font-size: 10px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 4px;
}

.top-corsi-premium-price-value{
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.top-corsi-premium-info{
  width: 100%;
 max-width: none;
   background: #f3f4f6;
  border-radius: 14px;
  padding: 12px 14px;
  text-align: left;
  margin-bottom: 18px;
}

.top-corsi-premium-info-label{
  display: block;
  font-size: 11px;
  color: #7a8088;
  margin-bottom: 4px;
  line-height: 1.2;
}

.top-corsi-premium-info-value{
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.2;
}

.top-corsi-premium-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-width: 190px;
  min-height: 50px;
  padding: 0 22px;
  background: #db2833;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-family: "new-science", sans-serif;
  font-weight: 700;
  font-size: 13px;
  transition: all .3s ease;
  margin-top: auto;
  position: relative;
  z-index: 20;
  pointer-events: auto !important;
  text-align: center;
  border: 0;
  cursor: pointer;
  appearance: none;
}

.top-corsi-premium-btn:hover{
  background: #b9202a;
  color: #fff;
  transform: translateY(-2px);
}

.top-corsi-nav-prev,
.top-corsi-nav-next{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 30;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,0.14);
  color: #db2833;
  transition: all .25s ease;
}

.top-corsi-nav-prev:hover,
.top-corsi-nav-next:hover{
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}

.top-corsi-nav-prev{
  left: 0;
}

.top-corsi-nav-next{
  right: 0;
}

.top-corsi-pagination{
  margin-top: 24px;
  text-align: center;
  position: relative;
  z-index: 20;
}

.top-corsi-pagination .swiper-pagination-bullet{
  width: 12px;
  height: 12px;
  background: #d0d0d0;
  opacity: 1;
}

.top-corsi-pagination .swiper-pagination-bullet-active{
  background: #db2833;
}

.top-corsi-dynamic-area *::before,
.top-corsi-dynamic-area *::after{
  pointer-events: none !important;
}

.top-corsi-premium-btn::before,
.top-corsi-premium-btn::after,
.top-corsi-nav-prev::before,
.top-corsi-nav-prev::after,
.top-corsi-nav-next::before,
.top-corsi-nav-next::after{
  pointer-events: none !important;
}

@media (max-width: 1399px){
  .top-corsi-slider-wrapper{
    max-width: 1380px;
    padding: 0 48px;
  }

  .top-corsi-premium-title{
    font-size: 20px;
  }

  .top-corsi-premium-desc{
    font-size: 13px;
  }
}

@media (max-width: 1199px){
  .top-corsi-slider-wrapper{
    padding: 0 44px;
  }

  .top-corsi-premium-card{
    min-height: 260px;
  }

  .top-corsi-premium-image{
    min-height: 260px;
  }

  .top-corsi-premium-body{
    padding: 20px 18px;
  }

  .top-corsi-premium-title{
    font-size: 19px;
  }

  .top-corsi-premium-desc{
    font-size: 13px;
    line-height: 1.55;
  }

  .top-corsi-premium-info{
    max-width: 160px;
    padding: 10px 12px;
  }

  .top-corsi-premium-info-value{
    font-size: 15px;
  }

  .top-corsi-premium-btn{
    min-width: 170px;
    min-height: 46px;
    font-size: 12px;
  }
}

@media (max-width: 991px){
  .top-corsi-premium-card{
    flex-direction: row;
    min-height: 220px;
  }

  .top-corsi-premium-image{
    width: 40%;
    min-width: 40%;
    min-height: 220px;
  }

  .top-corsi-premium-body{
    width: 60%;
    padding: 18px 16px;
    text-align: left;
    align-items: flex-start;
  }

  .top-corsi-premium-title{
    font-size: 18px;
    line-height: 1.15;
    margin-bottom: 10px;
  }

  .top-corsi-premium-desc{
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 12px;
  }

  .top-corsi-premium-info{
    max-width: 150px;
    width: 100%;
    text-align: left;
    margin-bottom: 14px;
    padding: 10px 12px;
  }

  .top-corsi-premium-info-value{
    font-size: 15px;
  }

  .top-corsi-premium-btn{
    align-self: flex-start;
    width: auto;
    max-width: none;
    min-width: 150px;
    min-height: 42px;
    font-size: 12px;
    padding: 0 16px;
  }
}

@media (max-width: 767px){
  .top-corsi-dynamic-area{
    padding: 20px 0 70px;
  }

  .top-corsi-slider-wrapper{
    padding: 0 30px;
  }

  .top-corsi-premium-card{
    flex-direction: row;
    min-height: 170px;
    border-radius: 18px;
  }

  .top-corsi-premium-image{
    width: 36%;
    min-width: 36%;
    min-height: 170px;
  }

  .top-corsi-premium-body{
    width: 64%;
    padding: 12px;
    justify-content: space-between;
  }

  .top-corsi-premium-title{
    font-size: 14px;
    margin-bottom: 5px;
  }

  .top-corsi-premium-desc{
    font-size: 11px;
    line-height: 1.3;
    margin-bottom: 8px;
  }

  .top-corsi-premium-meta-row{
    gap: 6px;
    margin-bottom: 8px;
  }

  .top-corsi-premium-meta-row .top-corsi-premium-info{
    padding: 6px 7px;
    border-radius: 10px;
  }

  .top-corsi-premium-info-label{
    font-size: 8px;
    margin-bottom: 2px;
  }

  .top-corsi-premium-info-value{
    font-size: 11px;
  }

  .top-corsi-premium-price{
    padding: 7px 8px;
    margin-bottom: 8px;
    border-radius: 10px;
  }

  .top-corsi-premium-price-old{
    font-size: 9px;
  }

  .top-corsi-premium-price-new{
    font-size: 14px;
  }

  .top-corsi-premium-btn{
    min-height: 34px;
    font-size: 10px;
    padding: 0 10px;
  }

  .top-corsi-nav-prev,
  .top-corsi-nav-next{
    width: 38px;
    height: 38px;
  }
}
