.views-slideshow-cycle-main-frame,
.slideshow-wrapper {
  position: relative;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  max-width: 1037px;
}

.slideshow {
    width: 1038px !important;
}

.slideshow-wrapper,
.views-slideshow-cycle-main-frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.views_slideshow_cycle_slide {
    width: 100% !important;
}

.views_slideshow_cycle_main{
  position: relative;
}

.slideshow img {
  height: 497px; 
  object-fit: cover; 
  transition: transform 0.5s ease; 
  width: 100%;
}

.slide-category {
    padding: 25px 9px;
    z-index: 2;
    background: #E2090F;
    height: 75px;
}

.slide-category .slide-more {
    float: left;
    text-transform: capitalize;
    border: 1px solid #fff;
    padding: 2px 20px;
    border-radius: 5px;
}

.slide-category .slide-category-text {
    float: right;
}

.slide-category a {
  color: #fff;
  font-size: 13px;
  text-decoration: none;
  margin: 0 4px;
}

.slide-category a {
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    margin: 0 4px;
}

.slide-image {
  position: relative;
  overflow: hidden;
}

.slide-image img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
}

.slide-image:hover img {
  transform: scale(1.03);
}

.slide-content {
  padding: 18px 22px;
}

.slide-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.4;
}

.slide-title a {
  color: #111;
  text-decoration: none;
  transition: color 0.3s ease;
}

.slide-title a {
  color: #e50914;
}

.slide-description,
.slide-content p {
  font-size: 0.95rem;
  color: #444;
  margin: 0 0 8px;
  line-height: 1.6;
}

.slide-image {
  position: relative;
  z-index: 1;
}

/* ============ CONTROLS (Prev / Pause / Next + Bullets + Counter) ============ */
.views-slideshow-controls-bottom {
  position: absolute;
  bottom: 95px;
  left: 0;
  width: 100%;
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 20px;
  border-radius: 6px;
  z-index: 9999;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto;
}

.views-slideshow-controls-bottom .views-slideshow-pager-bullets li {
    background: #fff;
}

.views-slideshow-controls-bottom .views-slideshow-pager-bullets li:hover,
.views-slideshow-controls-bottom .views-slideshow-pager-bullets li.active {
    background: #E2090F;
    cursor: pointer;
}

/* Ensure slideshow container is positioned */
.slideshow-wrapper {
  position: relative;
}

/* Ensure slideshow container is relative */
.slideshow-wrapper {
  position: relative; /* required for absolute positioning of arrows */
}

.views_slideshow_controls_text_pause{
  display: none; /* Hide the pause button */
}

/* Hide the link text */
.views_slideshow_controls_text_previous a,
.views_slideshow_controls_text_next a {
  text-indent: -9999px; /* pushes text off screen */
  overflow: hidden;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff !important;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px; /* arrow size */
  z-index: 9999;
  cursor: pointer;
}

/* Left button (Previous) */
.views_slideshow_controls_text_previous a {
  left: 15px;
}

/* Right button (Next) */
.views_slideshow_controls_text_next a {
  right: 15px;
}

/* Hover effect */
.views_slideshow_controls_text_next a:hover,
.views_slideshow_controls_text_previous a:hover {
  background: #E2090F;
  transform: translateY(-50%) scale(1.1);
}

/* Arrow symbols */
.views_slideshow_controls_text_previous a::before {
  content: "‹"; /* left arrow */
}

.views_slideshow_controls_text_next a::before {
  content: "›"; /* right arrow */
}


/* Optional: adjust for small screens */
@media (max-width: 768px) {
  .views_slideshow_controls_text_previous a,
  .views_slideshow_controls_text_next a {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }
}




@media (max-width: 768px) {
  .slideshow-wrapper {
    border-radius: 8px;
  }

  .slide-content {
    padding: 14px;
  }

  .slide-title {
    font-size: 1.1rem;
  }

  .slide-category {
    top: 10px;
    right: 10px;
    padding: 3px 8px;
    font-size: 12px;
  }
} 

