.upk-eldora-carousel {
  position: relative;
}

.upk-eldora-img-wrap {
  position: relative;
  max-width: 100%;
  height: 400px;
  transition: max-width 0.3s ease;
  z-index: 1;
}

.swiper-slide-active .upk-eldora-img-wrap {
  max-width: 50%;
  transition-delay: 0.2s;
}

.upk-eldora-img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  display: block;
  z-index: 1;
  position: relative;
}

.upk-eldora-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.upk-eldora-content-wrap {
  width: 50%;
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #fff;
  transition: width 0.3s ease, opacity 0.3s ease;
}

.swiper-slide-active .upk-eldora-content-wrap {
  opacity: 1;
  transition-delay: 1s;
}

.upk-eldora-inner-content,
.upk-eldora-link-button {
  padding: 20px;
  overflow: hidden;
}

.upk-category-view-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 11;
}

.upk-eldora-date,
.upk-eldora-category {
  opacity: 0;
}

.upk-eldora-date svg {
  display: none;
}

.swiper-slide-active .upk-eldora-date,
.swiper-slide-active .upk-eldora-category {
  opacity: 1;
}

.upk-eldora-view,
.upk-eldora-category a,
.upk-eldora-date {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #2e2e31;
  padding: 8px 14px;
  border-radius: 6px;
  text-transform: capitalize;
  background-color: #fff;
}

.upk-eldora-category {
  display: flex;
  align-items: center;
  gap: 10px;
}

.upk-eldora-category a {
  text-decoration: none;
  transition: color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, border 0.3s ease;
}

.upk-eldora-category a:hover {
  color: #fff;
  background-color: #EF233C;
}

.upk-eldora-date {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  margin: 15px;
}

.upk-eldora-title,
.upk-eldora-meta {
  margin: 0 0 16px;
}

.upk-eldora-title .upk-title {
  font-size: 18px;
  font-weight: 700;
}
.upk-eldora-title a {
  text-decoration: none;
  color: #222225;
  transition: all 0.3s ease;
}

.upk-eldora-title a:hover,
.upk-eldora-author-name:hover,
.upk-eldora-link-button a:hover {
  color: #EF233C;
}

.upk-eldora-expert {
  font-size: 15px;
  line-height: 1.4;
  color: #5c5c5f;
}

.upk-eldora-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 15px;
  text-transform: capitalize;
  color: #5b5c67;
}

.upk-eldora-carousel svg {
  width: 14px;
  height: 14px;
}

.upk-eldora-author {
  display: flex;
  align-items: center;
  gap: 5px;
}

.upk-eldora-author-name {
  color: currentColor;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s ease;
}

.upk-eldora-link-button {
  text-align: right;
  position: absolute;
  bottom: 0;
  right: 0;
}

.upk-eldora-link-button a {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #303134;
  text-transform: capitalize;
  text-decoration: none;
  transition: color 0.3s ease;
  padding: 12px 24px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #ececec;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.upk-eldora-link-button span,
.upk-eldora-link-button svg {
  z-index: 1;
  position: relative;
}

.upk-eldora-link-button a:before {
  content: "";
  position: absolute;
  bottom: -50%;
  left: 0;
  width: 110%;
  height: 100%;
  background-color: #EF233C;
  transform-origin: bottom center;
  transition: transform 600ms cubic-bezier(0.48, 0, 0.12, 1);
  transform: skewY(9.3deg) scaleY(0);
}

.upk-eldora-link-button a:hover:before {
  transform: skewY(9.3deg) scaleY(2);
  transform-origin: bottom center;
}

.upk-eldora-link-button a:hover {
  color: #fff;
}

.upk-eldora-link-button a svg {
  width: 16px;
  height: 16px;
  display: block;
}

.upk-item-match-height--yes .upk-eldora-carousel .swiper-slide {
  height: initial;
}

.upk-global-link-yes .upk-eldora-carousel .upk-eldora-item:hover {
  cursor: pointer;
}

@media (min-width: 768px) {
  .upk-eldora-inner-content,
  .upk-eldora-link-button {
    padding: 30px;
  }
  .upk-eldora-title .upk-title {
    font-size: 25px;
  }
  .upk-category-view-wrap,
  .upk-eldora-date {
    margin: 25px;
  }
  .upk-eldora-view,
  .upk-eldora-category a,
  .upk-eldora-date {
    font-size: 14px;
  }
  .upk-eldora-date svg {
    display: block;
  }
}