/* Slideshow container */
.post-image-slideshow {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 25px;
  /* background-image: url(/wp-content/themes/oaks-divi-child-theme/defaultpic.png); */
}

/* Slides */
.slides {
  display: flex;
  width: 100%;
  height: 500px; /* Adjust the height as needed */
}

.slide {
  flex: 0 0 100%;
  position: relative;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Captions */
.caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 18px;
  text-align: center;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.slide.active .caption {
  opacity: 1;
}

/* Solo Pics */

.solopic {
    flex: 0 0 100%;
    position: relative;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}
   
.solopic .slide, .solopic .caption {
    opacity: 1;
    border-radius: 0 0 25px 25px;
    bottom: 8px;
    left: -20px;
    margin: 0 20px;
    padding: 10px;
}

/* Navigation */
.slidenav {
  position: absolute;
  top: 60%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Navigation */
.slidenav button {
    background-color: transparent;
    border: none;
    color: transparent; /* Make the text transparent by default */
    font-size: 80px;
    font-weight: bold;
    padding: 10px 15px;
    cursor: pointer;
    transition: color 0.3s ease; /* Add a transition for smooth color change */
}

.slidenav button:hover {
    opacity: 0.5; /* Show the text on hover */
}

/* added */

img {
  opacity: 1.0;
  transition: opacity 0.5s ease-in-out;
}

a:hover img {
  opacity: 0.6;
}
