/* EPCL Carousel Styles - Original Template Structure */

/* Slick Slider Base Styles */
.slick-slider,
.slick-slider .slick-list,
.slick-slider .slick-track {
  background: transparent !important;
}

.slick-slider .slick-list {
  padding: 6px !important;
}

/* Fix carousel container backgrounds only */
.epcl-carousel .slick-slide,
.epcl-carousel .slick-slide > div {
  background: transparent !important;
}

/* EPCL Carousel Base Styles - FULL WIDTH */
.epcl-carousel {
  margin: 40px 0 !important;
  padding: 30px 120px !important;
  width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  background: transparent !important;
}

.epcl-carousel .item {
  padding: 0 8px;
  box-sizing: border-box;
  background: transparent !important;
}

.epcl-carousel .item article {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 95%; /* Make cards even wider */
  border-radius: 35px;
  overflow: hidden;
  box-shadow: none;
  transition: all 0.3s ease;
  background: transparent !important;
}

.epcl-carousel .item article:hover {
  transform: translateY(-3px);
  box-shadow: none;
}

.epcl-carousel .img.cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.epcl-carousel .info {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  text-align: center;
  z-index: 2;
  padding: 20px;
}

.epcl-carousel .info time {
  display: block;
  color: rgba(255,255,255,0.9);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  font-weight: 500;
}

.epcl-carousel .info .title.white {
  color: white;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.epcl-carousel .views-meta {
  position: absolute;
  bottom: 15px;
  left: 15px;
  right: 15px;
  z-index: 2;
  text-align: center;
}

.epcl-carousel .views-count {
  color: white;
  font-size: 13px;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  background: rgba(0,0,0,0.3);
  padding: 6px 12px;
  border-radius: 15px;
  display: inline-block;
}

.epcl-carousel .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
  z-index: 1;
}

.epcl-carousel .full-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  text-decoration: none;
}

.epcl-carousel .clear {
  clear: both;
}

/* NAVIGATION ARROWS - EXACT ORIGINAL TEMPLATE */
.epcl-carousel.outer-arrows .slick-prev,
.epcl-carousel.outer-arrows .slick-next {
  font-size: 0 !important;
  line-height: 0 !important;
  position: absolute !important;
  top: 50% !important;
  display: block !important;
  width: 60px !important;
  height: 60px !important;
  padding: 0 !important;
  text-align: center !important;
  line-height: 60px !important;
  -webkit-transform: translate(0, -50%) !important;
  -ms-transform: translate(0, -50%) !important;
  transform: translate(0, -50%) !important;
  cursor: pointer !important;
  color: #fff !important;
  border: none !important;
  outline: none !important;
  background: #FF3152 !important;
  text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5) !important;
  border-radius: 30px !important;
  z-index: 10 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.epcl-carousel.outer-arrows .slick-prev {
  background: #FF3152 url('../images/left-arrow.svg') no-repeat center center !important;
  background-size: 15px !important;
  margin-left: -25px !important;
  left: 103px !important;
  transition: all 0.3s ease !important;
}

.epcl-carousel.outer-arrows .slick-next {
  background: #FF3152 url('../images/right-arrow.svg') no-repeat center center !important;
  background-size: 15px !important;
  margin-right: -25px !important;
  right: 103px !important;
  transition: all 0.3s ease !important;
}

.epcl-carousel.outer-arrows .slick-prev:hover,
.epcl-carousel.outer-arrows .slick-next:hover {
  background-color: #FF3152 !important;
  width: 70px !important;
  transform: translate(0, -50%) scale(1.05) !important;
  box-shadow: 0 4px 15px rgba(255, 49, 82, 0.4) !important;
}

.epcl-carousel .slick-prev::before,
.epcl-carousel .slick-next::before {
  content: '' !important;
  display: none !important;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .epcl-carousel {
    padding: 0 100px !important;
  }
  .epcl-carousel.outer-arrows .slick-prev {
    left: 15px !important;
  }
  .epcl-carousel.outer-arrows .slick-next {
    right: 15px !important;
  }
  .epcl-carousel .info .title.white {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .epcl-carousel {
    padding: 20px 20px !important;
    overflow: hidden !important;
  }
  .epcl-carousel.outer-arrows .slick-prev {
    left: 36px !important;
    width: 40px !important;
    height: 43px !important;
    line-height: 40px !important;
    border-radius: 20px !important;
  }
  .epcl-carousel.outer-arrows .slick-next {
    right: 36px !important;
    width: 40px !important;
    height: 43px !important;
    line-height: 40px !important;
    border-radius: 20px !important;
  }
  .epcl-carousel.outer-arrows .slick-prev:hover,
  .epcl-carousel.outer-arrows .slick-next:hover {
    width: 45px !important;
    height: 48px !important;
    line-height: 45px !important;
    transform: translate(0, -50%) scale(1) !important;
  }
  .epcl-carousel .info .title.white {
    font-size: 18px;
    font-weight: 600;
  }
  .epcl-carousel .item article {
    border-radius: 30px !important;
  }
  .epcl-carousel .img.cover {
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
  }
  .epcl-carousel .item {
    margin: 3px;
    flex: 0 0 calc(100% - 0.5rem);
  }
}

@media (max-width: 480px) {
  .epcl-carousel {
    padding: 15px 15px !important;
    overflow: hidden !important;
  }
  .epcl-carousel.outer-arrows .slick-prev {
    left: 36px !important;
    width: 37px !important;
    height: 40px !important;
    line-height: 37px !important;
    border-radius: 18px !important;
  }
  .epcl-carousel.outer-arrows .slick-next {
    right: 36px !important;
    width: 37px !important;
    height: 40px !important;
    line-height: 37px !important;
    border-radius: 18px !important;
  }
  .epcl-carousel.outer-arrows .slick-prev:hover,
  .epcl-carousel.outer-arrows .slick-next:hover {
    width: 42px !important;
    height: 45px !important;
    line-height: 42px !important;
    transform: translate(0, -50%) scale(1) !important;
  }
  .epcl-carousel .info .title.white {
    font-size: 16px;
    font-weight: 600;
  }
  .epcl-carousel .info {
    padding: 15px;
  }
  .epcl-carousel .item article {
    border-radius: 35px !important;
  }
  .epcl-carousel .img.cover {
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
  }
  .epcl-carousel .item {
    margin: 3px;
    flex: 0 0 calc(100% - 0.5rem);
  }
}