#inscripcion-block {
  text-align: center;
  /* width: 80%;  */
  /* margin: 0 auto;  */
  /* max-width: 1200px;  */
/* 
  font-family: inherit; */
  background-color: #fff;
  margin: 0;
  padding: 20px 0;
  display: flex;
  justify-content: center; /* Centra el bloque horizontalmente */
  align-items: flex-start; /* Cambiado de center a flex-start */
  min-height: auto; /* Cambiado de 100vh a auto */
}

h1 {
  font-size: 2.5rem;
  color: #22384E;
  margin-bottom: 40px;
}

.step .line {
  position: absolute;
  width: 60px;
  height: 1px;
  background: #b3b4b4;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.step.right .line {
  left: calc(50% + 17px); /* Desde el borde derecho del círculo */
}

.step.left .line {
  right: calc(50% + 17px); /* Desde el borde izquierdo del círculo */
}

/* Líneas verticales entre círculos usando pseudo-elementos */
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  width: 1px;
  height: 120px;
  background: #b3b4b4;
  color: #b3b4b4;
  left: 50%;
  transform: translateX(-50%);
  bottom: -50px; /* Posiciona la línea debajo del step actual */
  z-index: 1;
}

.step .content {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  width: 42%;
  text-align: left;
  position: relative;
}

.step .content h2 {
  font-family: 'AncizarSans-BoldItalic';
  font-size: 2.6rem !important;
  color: #22384E;
  font-weight: bold;
  font-style: italic;
  margin-bottom: 10px;
}

.step .content p {
  font-size: 2rem;
  color: #22384E;
  line-height: 1.2;
  margin: 0;
}

.step .content a {
  color: #5344ba;
  text-decoration: none;
}

.timeline {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100%;
}

.step {
  display: flex;
  align-items: center;
  justify-content: center; /* Asegura que los círculos estén centrados horizontalmente */
  /* margin: 20px 0; */
  position: relative;
  width: 100%;
  max-width: 900px;
}

.step .circle {
  width: 94px;
  height: 94px;
  background: #f5c35c;
  color: #22384E;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 4rem;
  font-weight: bold;
  position: absolute; /* Posiciona los círculos de forma absoluta */
  left: 50%; /* Centra los círculos horizontalmente */
  transform: translateX(-50%); /* Ajusta el círculo para que esté perfectamente centrado */
  z-index: 2;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.step .circle:hover {
  box-shadow:
    0 0 3px #f5c35c,
    0 0 3px #f5c35c,
    0 0 3px #f5c35c,
    0 0 3px #f5c35c;
    
}

.step.right .content,
.step.left .content {
  position: relative;
  width: 40%;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.step.right .content {
  margin-left: calc(50% + 60px); /* Coloca el contenido a la derecha del círculo */
  text-align: left;

}

.step.left .content {
  margin-right: calc(50% + 60px); /* Coloca el contenido a la izquierda del círculo */
  text-align: right;

}

/* Ajusta específicamente el segundo paso */
.step:nth-child(2) {
  flex-direction: row; /* Mantiene el contenido a la izquierda del círculo */
}

.step:nth-child(2) .content {
  margin-right: calc(50% + 60px); /* Coloca el contenido a la izquierda del círculo */
  margin-left: 0; /* Elimina el margen izquierdo */
  text-align: left; /* Alinea el texto a la derecha */
}
/* Anula la regla global solo para este bloque específico */
#inscripcion-block a:not(.fa):not(.btn) {
  color: #5344ba !important;
}

#inscripcion-block a:not(.fa):not(.btn):hover {
  color: #f5c35c !important;
  text-decoration: underline;
}

.registro-enlace {
  justify-self: left;
  align-self: flex-start;
  text-align: left;
  font-family: inherit !important;
  font-size: 1.8rem !important;
  color: #5344ba !important;
}

.title-content {
  font-size: 2.5rem !important;
  font-weight: bold !important;
  font-family: 'AncizarSans-BoldItalic';
 
}

.registro-enlace:hover {
  color: #f5c35c !important;
}


@media screen and (max-width: 768px) {
  .timeline::before {
    left: 50%;
  }

  .step {
    margin-top: 10%;
    flex-direction: column; /* Apila el círculo y el contenido verticalmente */
    align-items: center;
  }
  .step:nth-child(2) {
    flex-direction: column; /* Fuerza al segundo paso a comportarse igual que los demás */
  }

  .step .circle {
    position: relative; /* Cambia a relativo para que se apile correctamente */
    left: auto; /* Elimina el centrado absoluto */
    transform: none; /* Elimina la transformación */
    margin-bottom: 10px; /* Agrega espacio entre el círculo y el contenido */
  }

  .step.right .content,
  .step.left .content {
    text-align: center;
    margin: 0; /* Elimina márgenes laterales */
    width: 80%; /* Ajusta el ancho del contenido */
  }
  
  /* Oculta las líneas horizontales en móvil */
  .step .line {
    display: none;
  }
  
  /* Oculta las líneas verticales en móvil */
  .step:not(:last-child)::after {
    display: none;
  }
  
  
}