.contain-new-finanmed {
  margin: 5rem auto; /* Centra el contenido horizontalmente */
  padding: 4rem 1rem;
  max-width: 1220px; /* Establece un ancho máximo de 1220px */
}

/* CAROUSEL NUEVO */

.contain-new-finanmed .emblaS {
  margin: auto;
  position: relative;
  --slide-height: 19rem;
  --slide-spacing: 1rem;
  --slide-size: 100%;
}

.contain-new-finanmed .embla__viewportS {
  overflow: hidden;
}

.contain-new-finanmed .embla__containerS {
  backface-visibility: hidden;
  display: flex;
  gap: 1rem;
  touch-action: pan-y;
  padding: 0.8rem;
  margin-left: calc(var(--slide-spacing) * -1);
}

.contain-new-finanmed .embla__slideS {
  flex: 0 0 var(40%);
  min-width: 300px;
  /* padding-left: var(--slide-spacing); */
}

.contain-new-finanmed .embla__controlsS {
  width: 100%;
  position: absolute;
  top: 40%;
}

.contain-new-finanmed .embla__buttonsS {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contain-new-finanmed .embla__buttonS {
  -webkit-tap-highlight-color: rgba(var(--text-high-contrast-rgb-value), 0.5);
  -webkit-appearance: none;
  appearance: none;
  background-color: white;
  touch-action: manipulation;
  display: inline-flex;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  padding: 1rem;
  margin: 0;
  -webkit-box-shadow: 0px 0px 20px -4px rgba(0, 0, 0, 0.12);
  -moz-box-shadow: 0px 0px 20px -4px rgba(0, 0, 0, 0.12);
  box-shadow: 0px 0px 20px -4px rgba(0, 0, 0, 0.12);
  z-index: 1;
  border-radius: 50%;
  color: var(--text-body);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contain-new-finanmed .embla__buttonS:disabled {
  color: var(--detail-high-contrast);
}

.contain-new-finanmed .embla__button__svgS {
  width: 20px;
}

.contain-new-finanmed .info-new-finanmed {
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}

.contain-new-finanmed .info-new-finanmed h2 {
  color: #086aa2;
  text-transform: uppercase;
  font-weight: 900;
  font-size: 36px;
}

.contain-new-finanmed .info-new-finanmed p {
  color: rgb(0, 0, 0);
  font-weight: 300;
  font-size: 16px;
}

.loadert {
  --d:22px;
  width: 4px;
  height: 4px;
  margin:11rem auto 0 auto;
  border-radius: 50%;
  color: #086aa2;
  box-shadow: 
    calc(1*var(--d))      calc(0*var(--d))     0 0,
    calc(0.707*var(--d))  calc(0.707*var(--d)) 0 1px,
    calc(0*var(--d))      calc(1*var(--d))     0 2px,
    calc(-0.707*var(--d)) calc(0.707*var(--d)) 0 3px,
    calc(-1*var(--d))     calc(0*var(--d))     0 4px,
    calc(-0.707*var(--d)) calc(-0.707*var(--d))0 5px,
    calc(0*var(--d))      calc(-1*var(--d))    0 6px;
  animation: l27 1s infinite steps(8);
}
@keyframes l27 {
  100% {transform: rotate(1turn)}
}
/* .loadert {
  width: fit-content;
  margin: 2rem auto;
  font-weight: bold;
  font-family: monospace;
  font-size: 30px;
  background: radial-gradient(circle closest-side,#086aa2 94%,#0000) right/calc(200% - 1em) 100%;
  animation: l24 1s infinite alternate linear;
}
.loadert::before {
  content: "Loading...";
  line-height: 1em;
  color: #0000;
  background: inherit;
  background-image: radial-gradient(circle closest-side,#fff 94%,#000);
  -webkit-background-clip:text;
          background-clip:text;
}

@keyframes l24{
  100%{background-position: left}
} */


.no-content {
  margin: 3rem 0;
  display: none;
}

.no-content p {
  text-align: center;
  color: #086aa2;
  font-size: 16px;
  font-weight: 700;
}


.contain-new-finanmed .card-s {
  cursor: pointer;
  user-select: none;
  box-shadow: 0px 4px 4px 0px #00000040;
  border-radius: 21px;
  width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contain-new-finanmed .card-s img {
  width: 100%;
  border-top-right-radius: 21px;
  border-top-left-radius: 21px;
  object-fit: cover;
  height: 300px;
  object-position: top;
}

.contain-new-finanmed .card-s div {
  padding: 1rem;
  text-align: center;
}

.contain-new-finanmed .card-s div h3 {
  color: #086aa2;
  font-size: 16px;
  font-weight: 900;
  max-height: 40px;
  overflow: hidden;
  text-align: start;
}

.contain-new-finanmed .card-s div p {
  font-size: 11px;
  font-weight: 300;
  max-height: 60px;
  overflow: hidden;
  text-align: start;
}

.contain-new-finanmed .card-s div button {
  width: 50%;
  border-radius: 3px;
  background-color: #086aa2;
  color: white;
  font-size: 13px;
  font-weight: 700;
  transition: .5s ease;
  border: none;
  padding: 0.5rem;
  margin: 0 auto;
}

.contain-new-finanmed .card-s div button:hover{
  text-decoration: underline;
  cursor: pointer;
}


@media screen and (max-width: 1860px) {
  .contain-new-finanmed .wrapper .carousel {
    grid-auto-columns: calc((100% / 4) - 9px);
  }
}

@media screen and (max-width: 1460px) {
  .contain-new-finanmed .wrapper .carousel {
    grid-auto-columns: calc((100% / 3) - 10px);
  }
}

@media screen and (max-width: 1260px) {
  .contain-new-finanmed .wrapper .carousel {
    grid-auto-columns: calc((100% / 3) - 10px);
  }
}

@media screen and (max-width: 900px) {
  .contain-new-finanmed .wrapper .carousel {
    grid-auto-columns: calc((100% / 2) - 9px);
  }
}

@media screen and (max-width: 600px) {
  .contain-new-finanmed .wrapper .carousel {
    grid-auto-columns: calc((100% / 1.1) - 3px);
  }
}

@media screen and (max-width: 500px) {
  .contain-new-finanmed {
    padding: 2rem 1rem;
  }

  .contain-new-finanmed .wrapper i:first-child {
    left: -11px;
    z-index: 9;
  }

  .contain-new-finanmed .wrapper i:last-child {
    right: -11px;
  }
}
