/* Pagina Scheda Corso */
.scheda-corso-hero {
  max-width: 800px;
  margin: 0 auto;
  padding: 30px 20px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.scheda-corso-hero-text {
  flex: 1 1 400px;
}

.scheda-corso-hero-text h2 {
  font-size: 2.2rem;
  color: #e6001f;
  margin-bottom: 10px;
}

.scheda-corso-hero-img {
  flex: 1 1 250px;
  width: 100%;
  max-width: 280px;
  height: 240px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

@media screen and (max-width: 768px) {
  .scheda-corso-hero {
    flex-direction: column;
  }
  .scheda-corso-hero-text,
  .scheda-corso-hero-img {
    flex: none;
    width: 100%;
  }
}

.scheda-corso-info {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px 30px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.info-block {
  flex: 1 1 200px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 20px;
}

.info-block h3 {
  color: #e6001f;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

/*.insegnante-bio {
  max-width: 800px;
  margin: 0 auto 20px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}*/

.insegnante-bio {
  max-width: 800px;
  margin: 0 auto 20px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: #333;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}

.insegnante-bio-img {
  flex: 0 0 120px;
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
}

.insegnante-bio-text h3 {
  color: #e6001f;
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.insegnante-bio-text p {
  margin: 0;
  color: #333;
}

.insegnante-bio:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.corso-tag { /*riciclato da scheda insegnante*/
  display: inline-block;
  background-color: #fdf8e4;
  color: #e6001f;
  border: 1px solid #fc6d6d;
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 8px;
}

@media screen and (max-width: 600px) {
  .scheda-corso-info {
    flex-direction: column;
  }
  .insegnante-bio {
    flex-direction: column;
    text-align: center;
  }
  .insegnante-btn {
    margin-left: 20px;
    margin-right: 20px;
    width: auto;
    justify-content: center;
  }
}

/*Per Ginnastica Posturale*/
.scheda-corso-livello {
  max-width: 800px;
  margin: 0 auto;
  padding: 10px 20px 0;
}

.scheda-corso-livello-titolo {
  font-size: 1.4rem;
  color: #e6001f;
  margin-bottom: 12px;
  border-bottom: 2px solid #fc6d6d;
  padding-bottom: 6px;
}

.scheda-corso-livello .scheda-corso-info {
  padding: 0 0 20px;
}

.info-block h4 {
  color: #e6001f;
  font-size: 1.1rem;
  margin-bottom: 8px;
}
/*Fine posturale*/
/*Fine sezione Scheda Corso*/