.nt-slider .nt-card.nt-card--related {
  width: 100%;
  max-width: none;
  min-height: 500px;
  padding: 0;
  border: 0;
  text-align: left;
  white-space: normal;
}
.nt-slider .nt-card.nt-card--related .nt-card__date, .nt-slider .nt-card.nt-card--related .nt-card__desc {
  font-size: var(--jav-font-base);
  font-weight: 400;
}
.nt-slider .nt-card.nt-card--related .nt-card__title span {
  font-size: var(--jav-font-h5);
}

.nt-card {
  --nt-overlay-hover-bg: rgba(206, 3, 97, 0.8);
  position: relative;
  aspect-ratio: 0.6881258211;
  border-radius: 15px;
  overflow: hidden;
  display: block;
  cursor: pointer;
  text-decoration: none;
}
.nt-card__bg {
  position: absolute;
  inset: 0;
}
.nt-card__bg picture {
  display: block;
  width: 100%;
  height: 100%;
}
.nt-card__bg picture > img,
.nt-card__bg img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.nt-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.65) 19.76%, rgba(102, 102, 102, 0) 104.83%);
  transition: background 0.3s ease;
}
.nt-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 250px 47.63px 0 35px;
}
.nt-card__content {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.nt-card__date {
  font-family: Helvetica, Arial, sans-serif;
  font-size: var(--jav-font-body-xs);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  color: #ffffff;
  margin: 0;
}
.nt-card__body {
  display: flex;
  flex-direction: column;
}
.nt-card__title {
  margin: 25px 0 0;
}
.nt-card__title a,
.nt-card__title span {
  font-family: Helvetica, Arial, sans-serif;
  font-size: var(--jav-font-body-md);
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  line-height: 1.2;
  letter-spacing: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nt-card__desc {
  font-family: Helvetica, Arial, sans-serif;
  font-size: var(--jav-font-body-sm);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0;
  color: #ffffff;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  transition: max-height 0.4s ease, opacity 0.35s ease, margin-top 0.3s ease;
}
.nt-card__desc p {
  font-family: Helvetica, Arial, sans-serif;
  font-size: var(--jav-font-body-sm);
  font-weight: 400;
  line-height: 1.3;
  color: #ffffff;
  margin: 0;
}
.nt-card__desc a {
  color: #ffffff !important;
}
.nt-card__desc a:hover, .nt-card__desc a:focus, .nt-card__desc a:visited, .nt-card__desc a:active {
  color: #ffffff !important;
}
.nt-card__cta {
  position: absolute;
  bottom: 48px;
  left: 35px;
  right: 47.63px;
  z-index: 3;
  display: block;
  background: transparent;
  border: none;
  padding: 0;
  color: #ffffff !important;
  font-family: Helvetica, Arial, sans-serif;
  font-size: var(--jav-font-body-md);
  font-weight: 700;
  text-decoration: underline;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.nt-card__cta:hover, .nt-card__cta:focus, .nt-card__cta:visited, .nt-card__cta:active {
  color: #ffffff !important;
  text-decoration: underline;
}
.nt-card__cta::after {
  content: "";
  display: block;
  width: 20px;
  height: 4px;
  margin: 20px auto 0;
  background-color: #ffffff;
  mask-image: url("../../img/general-icons/menos.svg");
  -webkit-mask-image: url("../../img/general-icons/menos.svg");
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-position: center;
  transform: rotate(-180deg);
  transition: transform 0.3s ease;
}
.nt-card__minus-icon {
  display: none;
}
.nt-card__overlay::after {
  content: "";
  position: absolute;
  bottom: 48px;
  left: 35px;
  right: 65.63px;
  width: 18px;
  margin: 0 auto;
  z-index: 3;
  height: 16.3px;
  background-color: #ffffff;
  mask-image: url("../../img/general-icons/m%C3%A1s.svg");
  -webkit-mask-image: url("../../img/general-icons/m%C3%A1s.svg");
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-position: center;
  pointer-events: none;
  transform: rotate(0deg);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.nt-card:hover .nt-card__bg img, .nt-card:focus-visible .nt-card__bg img {
  transform: scale(1.04);
}
.nt-card:hover::before, .nt-card:focus-visible::before {
  background: var(--nt-overlay-hover-bg);
}
.nt-card:hover .nt-card__overlay, .nt-card:focus-visible .nt-card__overlay {
  padding-top: 54.92px;
  padding-right: 47.63px;
  padding-bottom: 0;
}
.nt-card:hover .nt-card__overlay::after, .nt-card:focus-visible .nt-card__overlay::after {
  opacity: 0;
  transform: rotate(180deg);
}
.nt-card:hover .nt-card__title, .nt-card:focus-visible .nt-card__title {
  margin-top: 21px;
}
.nt-card:hover .nt-card__desc, .nt-card:focus-visible .nt-card__desc {
  max-height: 92px;
  opacity: 1;
  margin-top: 16px;
}
.nt-card:hover .nt-card__cta, .nt-card:focus-visible .nt-card__cta {
  opacity: 1;
  pointer-events: auto;
}
.nt-card:hover .nt-card__cta::after, .nt-card:focus-visible .nt-card__cta::after {
  transform: rotate(0deg);
}
.nt-card:hover .nt-card__minus-icon, .nt-card:focus-visible .nt-card__minus-icon {
  display: none;
}

@media (min-width: 992px) and (max-width: 1199px) {
  .nt-card__overlay {
    padding-right: 35px;
  }
  .nt-card:hover .nt-card__overlay {
    padding-right: 35px;
  }
  .nt-card__overlay::after, .nt-card__cta {
    right: 35px;
  }
}
@media (min-width: 992px) and (max-width: 1024px) {
  .nt-card__overlay {
    padding-top: 226px;
  }
  .nt-card__overlay::after, .nt-card__cta {
    bottom: 40px;
  }
}
@media (max-width: 991px) {
  .nt-card::before {
    background: linear-gradient(to bottom, rgba(206, 3, 97, 0.18) 0%, rgba(206, 3, 97, 0.7) 45%, rgba(206, 3, 97, 0.92) 100%);
  }
  .nt-card__overlay {
    padding: 54.92px 35px 30px 35px;
  }
  .nt-card__overlay::after {
    display: none !important;
  }
  .nt-card__desc {
    max-height: 130px !important;
    opacity: 1 !important;
    margin-top: 16px !important;
  }
  .nt-card__cta {
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  .nt-card:hover::before {
    background: rgba(206, 3, 97, 0.85);
  }
  .nt-card:hover .nt-card__bg img {
    transform: none;
  }
}
.nt-card--news {
  border: 0;
  padding: 0;
  width: 100%;
  text-align: left;
  white-space: normal;
}
.nt-card--news::after {
  display: none;
}
.nt-card--news .nt-card__date, .nt-card--news .nt-card__title span, .nt-card--news .nt-card__desc {
  font-size: var(--jav-font-base);
}
.nt-card--news .nt-card__overlay {
  padding-top: 46%;
}
.nt-card--news .nt-card__desc {
  -webkit-line-clamp: var(--nt-news-summary-lines, 8);
  transition: opacity 0.35s ease;
}
.nt-card--news:hover .nt-card__desc, .nt-card--news:focus-visible .nt-card__desc {
  max-height: none;
}
.nt-card--news:hover .nt-card__overlay, .nt-card--news:focus-visible .nt-card__overlay {
  padding-top: 10%;
}
.nt-card--news:focus-visible {
  outline: 3px solid var(--jav-azul-1);
  outline-offset: 4px;
}

@media (max-width: 991px) {
  .nt-card--news {
    min-height: 470px;
  }
  .nt-card--news .nt-card__overlay {
    padding-top: 32px;
  }
  .nt-card--news .nt-card__desc {
    max-height: none !important;
  }
}
@media (max-width: 767px) {
  .nt-card--news {
    min-height: 124px;
    aspect-ratio: auto;
    border-radius: 10px;
    background: var(--jav-gris-fondo-suave);
  }
  .nt-card--news::before, .nt-card--news .nt-card__bg, .nt-card--news .nt-card__desc, .nt-card--news .nt-card__cta {
    display: none;
  }
  .nt-card--news .nt-card__overlay, .nt-card--news:hover .nt-card__overlay, .nt-card--news:focus-visible .nt-card__overlay {
    position: static;
    display: block;
    padding: 20px 31px 26px;
  }
  .nt-card--news .nt-card__date {
    color: var(--jav-azul-2);
    line-height: 1.15;
  }
  .nt-card--news .nt-card__title, .nt-card--news:hover .nt-card__title, .nt-card--news:focus-visible .nt-card__title {
    margin-top: 6px;
  }
  .nt-card--news .nt-card__title span {
    display: block;
    color: var(--jav-negro);
    line-height: var(--jav-line-height);
    overflow: visible;
    overflow-wrap: anywhere;
  }
  .nt-card--news:hover, .nt-card--news:focus-visible {
    background: var(--jav-btn-outline-hover-bg);
  }
  .nt-card--news:active {
    background: var(--jav-btn-outline-pressed-bg);
  }
}
@media (max-width: 540px) {
  .nt-slider .nt-card.nt-card--related {
    min-height: 549px;
    aspect-ratio: auto;
  }
  .nt-slider .nt-card.nt-card--related::before {
    background: var(--nt-overlay-hover-bg);
  }
  .nt-slider .nt-card.nt-card--related .nt-card__overlay, .nt-slider .nt-card.nt-card--related:hover .nt-card__overlay, .nt-slider .nt-card.nt-card--related:focus-visible .nt-card__overlay {
    padding: 58px 28px 110px;
  }
  .nt-slider .nt-card.nt-card--related .nt-card__date {
    font-size: var(--jav-font-base);
    font-weight: 400;
  }
  .nt-slider .nt-card.nt-card--related .nt-card__title span {
    font-size: var(--jav-font-subheading-mobile);
    -webkit-line-clamp: 4;
  }
  .nt-slider .nt-card.nt-card--related .nt-card__desc, .nt-slider .nt-card.nt-card--related .nt-card__desc p {
    font-size: var(--jav-font-base);
    font-weight: 400;
    line-height: var(--jav-line-height);
  }
  .nt-slider .nt-card.nt-card--related .nt-card__cta {
    font-size: var(--jav-btn-fs-lg-mobile);
    bottom: 40px;
    left: 28px;
    right: 28px;
  }
}
