h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
}

.horizontal-main-wrapper {
  background-color: #ffffff;
  color: #292929;
  font-family: sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  transition: color 0.3s, background-color 0.3s;
}

.horizontal-heading {
  font-size: 2.5rem;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0.04em 0.04rem 0 #81b5ab;
}

.horizontal-section {
  overflow: hidden;
}

.horizontal-wrapper {
  height: 100vh;
}

.horizontal-list {
  justify-content: flex-start;
  align-items: center;
  height: 100%;
  display: flex;
  position: relative;
  padding: 0.2rem;
}

.horizontal-item {
  width: 100vw;
  height: 100%;
  display: flex;
  position: absolute;
  inset: 0%;
  box-shadow: rgb(149, 157, 165, 0.2) 0px 8px 24px;
  overflow: hidden;
}

.horizontal-item_number {
  font-size: 1.5rem;
  height: 3rem;
  width: 3rem;
  margin-bottom: 0.5rem;
  border-radius: 50%;
  background-color: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  position: absolute;
  top: 6rem;
  left: 3rem;
}

.horizontal-item_content {
  background-color: #fff;
  color: #292929;
  flex-flow: column;
  justify-content: center;
  align-items: flex-start;
  padding: 3rem;
  display: flex;
  position: relative;
  width: 50%;
}

.horizontal-item_media {
  object-fit: cover;
  width: 50%;
  height: 100%;
}

.horizontal-item_p {
  margin-bottom: 1rem;
}

.horizontal-padding-global {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.horizontal-padding-vertical {
  padding: 2rem;
}

/* Clases utilitarias que podrías necesitar */
.horizontal-container-medium {
  max-width: 1200px;
  margin: 0 auto;
}

.horizontal-max-width-large {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

@media (max-width: 575.98px) {
  .horizontal-heading {
    font-size: 2.5rem;
  }

  .horizontal-item {
    display: flex;
    flex-direction: column;
  }

  .horizontal-item_content,
  .horizontal-item_media {
    height: 50vh;
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
  }

  .horizontal-item_content {
    padding: 1.5rem;
  }

  .horizontal-item_number {
    font-size: 0.5rem;
    top: 1.5rem;
    left: 1.5rem;
    height: 2rem;
    width: 2rem;
  }

  .horizontal-padding-vertical {
    padding: 1rem;
  }

  .horizontal-padding-global {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
