:root {
  --unab-white: #ffffff;
  --unab-text: #0e2943;
  --unab-btn-border: #4a4a4a;
  --carousel-gap: 41px;
}

/* Carousel */

.unab-carousel {
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.unab-carousel__wrapper {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
}

.unab-carousel__track-container {
  overflow: hidden;
  width: 100%;
  margin: 0 10px;
}

.unab-carousel__track {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  transition: transform 0.3s ease-in-out;
  gap: var(--carousel-gap);
}

.unab-carousel__slide {
  flex: 0 0 100%;
  box-sizing: border-box;
}

@media (min-width: 767px) {
  .unab-carousel__slide {
    flex: 0 0 calc(50% - (var(--carousel-gap) / 2));
  }
}

@media (min-width: 1024px) {
  .unab-carousel__slide {
    flex: 0 0 calc(33.333% - (var(--carousel-gap) * 2 / 3));
  }
}

/* Navegación */

.unab-carousel__nav {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
  flex-shrink: 0;
}

.unab-carousel__nav:hover {
  color: inherit;
  background: none;
  outline: none;
}

.unab-carousel__nav:focus {
  color: inherit;
  background: none;
  outline: none;
}

button[type="submit"]:not(:disabled):hover {
  color: inherit;
}

.unab-carousel__nav svg {
  fill: var(--arrow-normal-color, hsla(0, 0%, 93.3%, 0.9));
  width: 1.2rem;
  height: 1.2rem;
  display: block;
  transition: fill 0.2s ease;
}

/* Tarjetas */

.unab-card {
  background: var(--unab-white);
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.unab-card__image-wrapper {
  height: 218px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.unab-card__content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  min-height: 200px;
}

.unab-card__title {
  color: var(--unab-text);
  font-family: "Manrope", txt-cifras !important;
  font-size: 16px;
  font-weight: 600 !important;
  line-height: 1.4;
  margin: 0 0 24px 0;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.unab-card__button {
  align-self: flex-start;
  display: inline-block;
  background-color: var(--e-global-color-secondary);
  color: var(--e-global-color-primary) !important;
  fill: var(--e-global-color-primary);
  border: 1px solid #0e2943;
  border-radius: 50px;
  padding: 4px 28px;
  font-family: "Manrope", txt-cifras;
  font-size: 0.8em;
  font-weight: 600 !important;
  line-height: 25px;
  text-decoration: none;
  transition: all 0.3s;
}

.unab-card__button:hover {
  background-color: var(--e-global-color-primary);
  color: var(--e-global-color-secondary) !important;
  fill: var(--e-global-color-secondary);
}