.modulo-reportajes-wrapper {
  position: relative;
}

.modulo-reportajes {
  width: 100%;
  /*max-width: 1700px;*/
  /* padding-block: 20px 30px; */
  margin: 100px 0 0 0;
  border-top: 2px solid #8d8d7f;
}
@media (min-width: 768px) {
  .modulo-reportajes {
    margin: 120px 0 60px 0;
    padding: 6rem;
  }
}
.modulo-reportajes .modulo-header {
  display: flex;
  align-items: center;
  padding-inline: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
@media (min-width: 768px) {
  .modulo-reportajes .modulo-header {
    padding: 0;
    margin-bottom: 6rem;
    margin-top: 3rem;
  }
}
.modulo-reportajes .modulo-header__title {
  font-family: "Boldonse", system-ui;
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  color: #faf8c9;
  padding-top: 30px;
  margin-block: 0 20px;
  flex-basis: 100%;
}
@media (min-width: 768px) {
  .modulo-reportajes .modulo-header__title {
    margin-block: 0;
    flex-basis: unset;
    padding-top: 0;
  }
}
.modulo-reportajes .modulo-header .prev-btn,
.modulo-reportajes .modulo-header .next-btn {
  width: 30px;
  height: 30px;
  padding: 0;
  background-color: #ffffff;
  border: 1px solid #f5f4e1;
  font-size: 28px;
  color: #333333;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s linear all;
  position: absolute;
  top: calc(50% + 8px);
  transform: translateY(-50%);
  z-index: 10;
  padding-bottom: 4px;
}

@media (min-width: 601px) {
  .modulo-reportajes .modulo-header .prev-btn,
  .modulo-reportajes .modulo-header .next-btn {
    top: 50%;
    transform: translateY(-50%);
  }
}

@media (min-width: 768px) {
  .modulo-reportajes .modulo-header .prev-btn,
  .modulo-reportajes .modulo-header .next-btn {
    width: 48px;
    height: 48px;
    font-size: 24px;
    position: static;
    transform: translateY(0);
    z-index: auto;
    margin-left: auto;
    color: #ffffff;
    background-color: transparent;
  }
}
.modulo-reportajes .modulo-header .prev-btn:hover,
.modulo-reportajes .modulo-header .next-btn:hover {
  background-color: #333333;
  color: #ffffff;
}
.modulo-reportajes .modulo-header .prev-btn {
  left: 8px;
}
.modulo-reportajes .modulo-header .next-btn {
  right: 8px;
}
@media (min-width: 768px) {
  .modulo-reportajes .modulo-header .next-btn {
    margin-left: 12px;
  }
}
.modulo-reportajes .carousel-viewport {
  width: 100%;
  overflow: hidden;
  /* border-top: 3px solid #f3efef; */
  padding: 30px 0 0 16px;
}
@media (min-width: 768px) {
  .modulo-reportajes .carousel-viewport {
    padding: 0;
  }
}
.modulo-reportajes .reportajes-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  gap: 0;
  margin: 0 -8px;
  padding: 0 8px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.modulo-reportajes .reportajes-carousel::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
  background: transparent;
}
.modulo-reportajes .reportaje-slide {
  scroll-snap-align: start;
  flex: 0 0 25%;
  padding: 0 8px;
}
@media (min-width: 768px) {
  .modulo-reportajes .reportaje-slide {
    margin-right: 0.4rem;
  }
}
@media (max-width: 1024px) {
  .modulo-reportajes .reportaje-slide {
    flex-basis: 33.3333%;
  }
}
@media (max-width: 600px) {
  .modulo-reportajes .reportaje-slide {
    flex-basis: 50%;
  }
}
@media (max-width: 480px) {
  .modulo-reportajes .reportaje-slide {
    flex-basis: 100%;
  }
}
.modulo-reportajes .reportaje-card .imagen-reportaje img {
  width: 100%;
  height: auto;
  max-height: 220px;
}
.modulo-reportajes .reportaje-card h2 {
  margin-block: 12px;
}
@media (min-width: 768px) {
  .modulo-reportajes .reportaje-card h2 {
    font-size: 20px;
  }
}
.modulo-reportajes .reportaje-card h2 a {
  font-weight: 600;
  font-size: 20px;
  line-height: 26px;
  color: #ffffff;
  text-decoration: none;
}
.modulo-reportajes .reportaje-card h2 a:hover {
  text-decoration: underline;
}

.loading-text {
  color: #ffffff;
  padding: 20px;
}
