/* =====================================================
   NEWS FEATURED – DESTACADOS
===================================================== */

.new-featured {
  padding-block: 34px 0;
  margin-block-start: 0 !important;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.new-featured__header {
  padding-inline: 24px;
}

.new-featured__inner {
  margin: 0 auto;
  width: 100%;
  max-width: 1280px;
}

/* =========================
   SECTION TITLE
========================= */

.new-featured__title {
  font-family: var(--font-geely);
  font-weight: 700;
  color: var(--c-black);
  text-transform: uppercase;
  margin-bottom: 50px;
}

/* =========================
   SLIDER WRAPPER
========================= */

.new-featured__slider-wrapper {
  position: relative;
  /* padding-inline: 24px; */
}

.new-featured__swiper {
  overflow: hidden;

  margin-inline: auto;
  width: 100%;
  max-width: 1440px;
}

/* =========================
   SLIDE
========================= */

.new-featured__slide {
  display: grid;
  /* grid-template-columns: 1fr 1fr; */
  grid-template-columns: 770px 670px;
  align-items: center;
  background: #f6f3f5;
  padding: 0;
}

/* =========================
   CONTENT (Left Side)
========================= */

.new-featured__content {
  padding: 93px 80px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (max-width: 1439px) {
  .new-featured__content {
    padding: 67px 40px;
  }
}

.new-featured__text-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.new-featured__date {
  font-family: var(--font-inter);
  color: var(--c-urban-graphite);
  font-weight: 500;
}

.new-featured__post-title {
  font-family: var(--font-geely);
  font-weight: 700;
  color: var(--c-black);
}

.new-featured__excerpt {
  font-family: var(--font-inter);
  font-weight: 500;
  color: var(--c-black);
  line-height: 1.6;
}
@media (max-width: 1439px) {
  .new-featured__excerpt {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }
}

.new-featured__cta {
  display: inline-block;
  font-family: var(--font-inter);
  font-weight: 700;
  color: var(--c-black);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: opacity 0.3s ease;
  align-self: flex-start;
}

.new-featured__cta:hover {
  opacity: 0.7;
}

/* =========================
   MEDIA (Right Side)
========================= */

.new-featured__media {
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.new-featured__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-height: 422px;
}
@media (max-width: 1439px) {
  .new-featured__image {
    /* max-height: none; */
    min-height: 363px;
    max-height: 363px;
  }
}
/* =========================
   CONTROLS
=========================
 */
.new-featured__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 16px;
  /* padding-inline: 3.33%; */
  /*  */
  padding-inline: 48px;
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
}
/* =========================
   NAVIGATION
========================= */

.new-featured__nav {
  z-index: 10;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--c-urban-graphite);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: opacity 0.3s ease;
}

.new-featured__nav img {
  width: 40px;
  height: 40px;
  display: block;
}

.new-featured__nav--prev {
}

.new-featured__nav--prev img {
  transform: rotate(180deg);
}

.new-featured__nav--next {
}

.new-featured__nav:hover {
}

.new-featured__nav.swiper-button-disabled {
  opacity: 0.3;
  cursor: default;
}

/* =========================
   PAGINATION
========================= */

.new-featured__pagination {
  position: static !important;
  text-align: center;
}

.new-featured__pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #e7e6e6;
  border-radius: 50%;
  cursor: pointer;
  transition: opacity 0.3s ease;
  margin-right: 8px !important;
  margin-left: 0 !important;
  opacity: 1 !important;
}

.new-featured__pagination .swiper-pagination-bullet-active {
  background-color: #027bff;
}
/* =========================
   TABLET (≤1439px)
========================= */
@media (max-width: 1439px) {
  .new-featured__slide {
    grid-template-columns: 1fr 1fr;
  }
  .new-featured__controls {
    padding-inline: 3.33%;
  }
}

/* =========================
   TABLET (≤1024px)
========================= */

@media (max-width: 1024px) {
  .new-featured {
    padding: 0 0 64px;
  }

  .new-featured__title {
    margin-bottom: 32px;
  }

  .new-featured__slide {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .new-featured__content {
    padding: 40px 40px;
    gap: 20px;
  }

  .new-featured__excerpt {
    max-width: 100%;
  }

  .new-featured__media {
    min-height: 320px;
  }

  .new-featured__image {
  }

  .new-featured__nav--prev {
    left: 24px;
  }

  .new-featured__nav--next {
    left: 80px;
  }

  .new-featured__pagination {
    bottom: 40px;
  }
}

/*  */
@media (max-width: 767px) {
  .new-featured {
    padding: 0 0 16px;
  }
  .new-featured__header {
    padding-inline: 16px;
  }
  .new-featured__title {
    margin-bottom: 0;
  }
  .new-featured__slider-wrapper {
    margin-top: 24px;
    padding-inline: 0;
  }

  .new-featured__content {
    padding: 24px 16px;
    gap: 16px;
  }
  .new-featured__excerpt {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
  }
  .new-featured__media {
    min-height: auto;
  }
  .new-featured__image {
    height: 213px;
    min-height: auto;
  }
  .new-featured__nav {
    display: none;
  }
}
