/* === Reset and Core === */
/* === Reset and Core === */


html, body {
  /* margin, padding, background, font-family are inherited from baseInteractive.css */
  
}

/* === Slideshow Wrapper === */
.slideshow-wrapper {
  padding: 0;
  margin: 0;
}

/* === Slideshow Container (mobile-first) === */
.interactive-container {
  /* position, width, margin, padding, border-radius, overflow are inherited from baseInteractive.css */
  /* These are specific overrides or additions for slide.html */
  
}

/* === Slide Containers === */
.slide-container {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease-in-out;
  will-change: transform;
}

.slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  pointer-events: auto;
}

/* === Navigation Buttons === */
.nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 3;
  user-select: none;
  -webkit-user-select: none;
}

.nav-left {
  left: 0;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.nav-right {
  right: 0;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.nav-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* === Dots === */
.dots-container {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  z-index: 3;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
  padding: 0.4rem 0.8rem;
  border-radius: 1rem;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ccc;
  cursor: pointer;
  transition: background-color 0.3s ease;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.dot.active {
  background-color: #333;
}

/* === Captions === */
.caption-container {
  position: absolute;
  bottom: 3.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
  padding: 0.6rem 1rem;
  border-radius: 0.75rem;
  max-width: 90%;
  text-align: center;
}

.caption {
  display: none;
  font-size: 1rem;
  font-weight: 400;
  color: #333;
  font-family: 'Georgia', serif;
  line-height: 1.4;
}

.caption.active {
  display: block;
}

/* === Instruction Overlays === */
.instruction-overlay {
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 1.5rem 3.5rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 1rem;
  text-align: left;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.instruction-overlay.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
}

.instruction-toggle-global {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.4rem 0.75rem;
  font-size: 1.25rem;
  border-radius: 4px;
  cursor: pointer;
  line-height: 1;
  user-select: none;
  -webkit-user-select: none;
}

/* === Desktop styles (min-width: 960px) === */
@media (min-width: 1150px) {
  

  .interactive-container {
    /* max-width, border-radius, height are inherited from baseInteractive.css */
    /* These are specific overrides or additions for slide.html desktop view */
    
  }

  .caption {
    font-size: 1.1rem;
  }
}
