section.one .row {
  height: 450px;
  max-height: 450px;
}
section.one .hero-swiper-container {
  height: 450px;
  max-height: 450px;
  overflow: hidden;
}
section.one .hero-swiper {
  width: 100%;
  height: 100%;
}
section.one .hero-swiper .swiper-slide {
  width: 100%;
  height: 100%;
}
section.one .background-sezione {
  height: 100%;
}
section.one .background-sezione img {
  filter: brightness(0.6);
}
section.one h1 {
  color: white;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 2.5rem;
}
@media (max-width: 768px) {
  section.one h1 {
    font-size: 2rem;
  }
}
section.one span {
  color: white;
  font-size: 1.2rem;
  font-weight: 300;
}

section.two {
  background-color: #f8f9fa;
}
section.two .row {
  min-height: 300px;
}
section.two h2 {
  color: #B27A3A;
  font-weight: 600;
  margin-bottom: 2rem;
}
section.two p {
  color: #717171;
  font-size: 1.1rem;
  line-height: 1.6;
}

.lista-corsi {
  background-color: white;
}
.lista-corsi h2 {
  color: #B27A3A;
  font-size: 2.2rem;
  margin-bottom: 1rem;
}
.lista-corsi .anno-section {
  margin-bottom: 3rem;
}
.lista-corsi .anno-section .anno-header {
  margin-bottom: 2rem;
}
.lista-corsi .anno-section .anno-header .anno-title {
  color: #B27A3A;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1rem;
}
.lista-corsi .anno-section .anno-header .anno-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, #B27A3A, rgb(212.7288135593, 171.9152542373, 125.2711864407));
  border-radius: 2px;
}
.lista-corsi .anno-section .corsi-lista .corso-item {
  padding: 3px 0;
}
.lista-corsi .anno-section .corsi-lista .corso-item .corso-content .corso-titolo {
  color: #2c3e50;
  font-size: 1rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

section.cta {
  height: 600px;
}
section.cta .overlay {
  background: rgba(255, 255, 255, 0.75) !important;
}
section.cta h2 {
  color: #333;
  font-weight: 600;
}

@media (max-width: 992px) {
  section.one .row {
    height: 350px;
    max-height: 350px;
  }
  section.one .hero-swiper-container {
    height: 350px;
    max-height: 350px;
  }
  section.one h1 {
    font-size: 2rem;
  }
  section.one span {
    font-size: 1.1rem;
  }
}
@media (max-width: 768px) {
  .lista-corsi .anno-section .anno-header .anno-title {
    font-size: 1.5rem;
  }
  .lista-corsi .anno-section .corsi-lista .corso-item {
    padding: 1rem;
  }
  .lista-corsi .anno-section .corsi-lista .corso-item .corso-content .corso-titolo {
    font-size: 1.1rem;
  }
  .lista-corsi .anno-section .corsi-lista .corso-item .corso-content .corso-descrizione {
    font-size: 0.95rem;
  }
  section.two .row {
    min-height: 200px;
  }
  section.two h2 {
    font-size: 1.8rem;
  }
  section.two p {
    font-size: 1rem;
  }
}
.hero-swiper .swiper-pagination {
  bottom: 20px;
}
.hero-swiper .swiper-pagination .swiper-pagination-bullet {
  background-color: white;
  opacity: 0.7;
  width: 12px;
  height: 12px;
}
.hero-swiper .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: #B27A3A;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .anno-title,
  .corso-item,
  .corso-link {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}
@media print {
  .lista-corsi .anno-section {
    page-break-inside: avoid;
  }
  .lista-corsi .anno-section .anno-header {
    page-break-after: avoid;
  }
  .lista-corsi .corso-item {
    page-break-inside: avoid;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    box-shadow: none;
  }
}