
/* ===== SLIDE ===== */
.slider-wrapper {
  position: relative;
  width: 100%;
  max-width: 1100px;  
  margin: auto; 
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 7;
  background: #ffffff;
}

.slides {
  display: flex;
  transition: transform 0.4s ease;
  height: 100%;
}

.slide {
  min-width: 100%; 
  padding: 10px;
  position: relative;
  flex-shrink: 0;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #ffffff2b 35%, rgba(86, 84, 84, 0.05) 70%);
}

.badge {
  position: absolute;
  top: 20px;
  left: 24px;
  background: #3987e0;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 6px;
}

.slide-info {
  position: absolute;
  bottom: 28px;
  left: 24px;
  color: #fff;
  max-width: 55%;
}

.slide-title {
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.2;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.slide-meta {
  font-size: 13px;
  opacity: 0.9;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.slide-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-prev,
.btn-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.5s;
  z-index: 10;
}

.btn-prev:hover,
.btn-next:hover {
  background: rgba(255,255,255,0.4);
}

.btn-prev { left: 14px; }
.btn-next { right: 14px; }

.dots {
  position: absolute;
  bottom: 14px;
  right: 20px;
  display: flex;
  gap: 6px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transition: background 0.2s;
  cursor: pointer;
}

.dot.active {
  background: #fff;
}