.ondezx-impact-section .owl-carousel {
  display: block;
  position: relative;
}

.ondezx-impact-section .owl-carousel .owl-stage-outer {
  width: 100%;
  margin-bottom: 25px;
}

.ondezx-impact-section .owl-carousel .owl-nav {
  display: inline-flex !important;
  vertical-align: middle;
  align-items: center;
}

/* Recreating the layout: Nav (left) + Dots (right of nav) */
.ondezx-impact-section .owl-carousel .owl-nav {
  float: left;
  margin-right: 15px;
}

.ondezx-impact-section .owl-carousel::after {
  content: "";
  display: table;
  clear: both;
}

.ondezx-impact-section .owl-carousel.ondezx-impact-carousel .ondezx-image-wrapper .ondezx-impact-stage-item {
  height: 150px;
  width: 100%;
}

.ondezx-impact-section .owl-carousel.ondezx-impact-carousel .ondezx-image-wrapper .ondezx-impact-stage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ondezx-impact-section .owl-carousel .owl-item img {
  margin: 0 auto;
}

.ondezx-impact-section .owl-carousel .owl-item a,
.ondezx-impact-section .owl-carousel .owl-item a:hover,
.ondezx-impact-section .owl-carousel .owl-item a:focus {
  color: #000;
}

.ondezx-impact-section .owl-carousel .owl-nav.disabled .owl-prev,
.ondezx-impact-section .owl-carousel .owl-nav.disabled .owl-next {
  cursor: default;
}

.ondezx-impact-section .owl-carousel .owl-nav.disabled span {
  opacity: 0.3;
}

.ondezx-impact-section .owl-carousel .owl-nav.disabled span::before {
  background-color: white;
  color: white;
  display: none;
}

.ondezx-impact-section .owl-carousel .owl-nav span {
  padding: 10px;
}

.ondezx-impact-section .owl-carousel .ondezx-title-wrapper .ondezx-impact-stage-item {
  font-weight: bold;
  margin: 15px 0;
}

.ondezx-impact-section .owl-carousel i.las {
  color: #000;
  font-size: 2em;
}

.ondezx-impact-section .owl-carousel i.las:hover {
  cursor: pointer;
}

@media (max-width: 575.98px) {
  .ondezx-impact-section .owl-carousel .owl-nav {
    margin-right: 10px;
  }
}

.ondezx-link-wrapper {
  display: grid;
  grid-template-columns: 1fr 4fr;
  grid-column-gap: 10px;
  position: relative;
  bottom: 40px;
}

@media (max-width: 575.98px) {
  .ondezx-link-wrapper {
    grid-template-columns: 1fr;
    bottom: -25px;
    margin: 0 35px;
  }
}

.ondezx-link-wrapper .btn {
  position: relative;
  z-index: 150;
}

.ondezx-impact-card {
  display: flex;
  flex-direction: column;
  height: 300px;
  position: relative;
  background-size: cover;
  border-radius: 7px;
  overflow: hidden;
  padding: 1em;
  cursor: pointer;
  transform: rotateX(0deg) rotateY(0deg);
  transition: all 0.2s linear;
  will-change: transform;
}

.ondezx-card-overlay {
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.3) 20%, rgba(0, 0, 0, 0.4) 50%);
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
}

.ondezx-impact-card h1 {
  font-size: 1.5em;
  font-family: 'Oswald';
  margin-top: auto;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.ondezx-impact-card h1 {
  transform: translateY(-20px)
}

.ondezx-impact-card h1 span {
  color: #fff;
}

.ondezx-impact-card span.ondezx-category-tag {
  letter-spacing: 2px;
  font-weight: bold;
  font-family: 'Lato', sans-serif;
  position: relative;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
  color: #fff;
}

@media screen and (min-width:1000px) {
  .ondezx-impact-card h1 {
    transform: translateY(0px);
  }

  .ondezx-impact-card:hover h1 {
    transform: translateY(-20px)
  }

  .ondezx-impact-card span.ondezx-category-tag {
    color: transparent;
  }

  .ondezx-impact-card span.ondezx-category-tag::before,
  .ondezx-impact-card span.ondezx-category-tag::after {
    content: attr(data-hover);
    position: absolute;
    display: inline-block;
    left: 0;
    top: 0;
    white-space: nowrap;
    overflow: hidden;
    max-width: 0%;
    transition: max-width 300ms ease-out;
  }

  .ondezx-impact-card span.ondezx-category-tag::before {
    color: yellow;
    transition-delay: 100ms;
  }

  .ondezx-impact-card span.ondezx-category-tag::after {
    color: white;
  }

  .ondezx-impact-card:hover span.ondezx-category-tag:after,
  .ondezx-impact-card:hover span.ondezx-category-tag:before {
    max-width: 100%;
  }

  .ondezx-impact-card:hover span.ondezx-category-tag:after {
    transition-delay: 300ms;
  }
}

.ondezx-impact-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Skeleton Loading */
.ondezx-skeleton-container {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  overflow: hidden;
}

.ondezx-skeleton-item {
  flex: 0 0 100%;
  height: 300px;
  background-color: #e0e0e0;
  border-radius: 7px;
  position: relative;
  overflow: hidden;
}

.ondezx-skeleton-shimmer {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
  animation: skeleton-shimmer 1.5s infinite;
  transform: translateX(-100%);
}

@keyframes skeleton-shimmer {
  100% {
    transform: translateX(100%);
  }
}

@media (min-width: 600px) {
  .ondezx-skeleton-item {
    flex: 0 0 calc(50% - 7.5px);
  }
}

@media (min-width: 1000px) {
  .ondezx-skeleton-item {
    flex: 0 0 calc(33.333% - 10px);
  }
}

.ondezx-impact-factor-individual-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  height: 100%;
}

.ondezx-impact-factor-individual-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.ondezx-impact-factor-individual-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.ondezx-impact-factor-individual-content {
  padding: 16px;
}

.ondezx-impact-factor-individual-date {
  font-size: 12px;
  text-transform: uppercase;
  color: #9ca3af;
  font-weight: 600;
}

.ondezx-impact-factor-individual-title {
  font-size: 22px;
  font-weight: 700;
  margin: 8px 0;
}

.ondezx-impact-factor-individual-desc {
  font-size: 14px;
  margin-bottom: 12px;
  color: #374151;
}

.ondezx-impact-factor-individual-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 999px;
  background-color: #000000;
  color: #ffffff;
  font-weight: 500;
  border: 1px solid #000000;
  text-decoration: none;
  transition: all 0.3s ease;
}

.ondezx-impact-factor-individual-btn:hover {
  background-color: #ffffff;
  color: #000000;
}

.ondezx-impact-factor-section-title {
  position: relative;
  border-bottom: 2px solid #7db907;
  margin-bottom: 1rem;
  padding-bottom: 0.25rem;
}

.ondezx-impact-factor-section-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: #7db907;
  color: #ffffff;
  padding: 0.25rem 0.75rem;
  letter-spacing: 0.08em;
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-block;
}

.ondezx-impact-factor-page-header {
  position: relative;
  padding-top: 8rem;
  padding-bottom: 8rem;
  background-position: 50%;
  background-size: cover;
  background-repeat: no-repeat;
}

.ondezx-impact-factor-page-header:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

#ondezx-impact-factor-details-page {
  width: 100%;
  background: white;
  margin: 0 auto;
  border-radius: 2em;
  transition: all 0.25s ease;
  border: none;
}

#ondezx-impact-factor-details-page img {
  width: 100%;
  height: auto;
  border-radius: 2em;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

@media screen and (max-width: 900px) {
  #ondezx-impact-factor-details-page {
    border-radius: 0;
    max-width: 100%;
  }
}

#ondezx-impact-factor-details-page h2 {
  font-size: 1.5rem;
}

#ondezx-impact-factor-details-page ul li p {
  font-weight: 400;
  margin: 0 !important;
}

#ondezx-impact-factor-details-page p strong {
  font-weight: 700;
}

#ondezx-impact-factor-details-page h3 {
  font-size: 19px;
  font-weight: 600;
}

.ondezx-metric-table {
  border: 1px solid #dee2e6;
  width: auto
}

.ondezx-metric-table th,
.ondezx-metric-table td {
  padding: 0.75rem;
  vertical-align: middle;
}

.ondezx-metric-table tbody tr:hover {
  background-color: #f8f9fa;
}

.ondezx-metric-table span {
  color: #6c757d;
  font-size: 0.875rem;
}

.ondezx-impact-h1-banner h1 {
  font-weight: 800;
  font-size: 3em;
  color: transparent;
  text-shadow: 2px 2px 3px rgba(255, 255, 255, 0.5);
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
  background-color: #565656;
}

.ondezx-impact-h1-banner {
  position: relative;
  z-index: 1;
  background: white;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ondezx-impact-h1-banner::before {
  content: "";
  position: absolute;
  box-shadow: 0 0 40px 0px rgba(0, 0, 0, 0.2);
  height: 100%;
  width: 90%;
  border-radius: 50%;
  z-index: -1;
  top: 0;
  left: 50%;
  margin-left: -45%;
  transform: translateZ(-1px);
}