.ccw-swiper-container {
  width: 100vw;
  height: 50vh;
  min-height: 300px;
  position: relative;
  overflow: hidden;
}

.ccw-swiper-container .swiper-wrapper,
.ccw-swiper-container .swiper-slide {
  width: 100%;
  height: 100%;
}

.ccw-swiper-container .swiper-slide {
  background-size: cover;
  background-position: center;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.ccw-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  box-sizing: border-box;
  color: #fff;
  z-index: 2;
}

.ccw-text-left p {
  font-size: 1rem;
  line-height: 1.4;
  margin: 0;
}

.ccw-buttons-right {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ccw-btn {
  flex: 1 1 100%;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  border: 2px solid #0092CE;
  background-color: #0092CE;
  color: #fff;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

.ccw-btn:hover,
.ccw-btn:focus {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 15px rgba(0, 146, 206, 0.4);
  outline: none;
}

.ccw-btn:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 4px 8px rgba(0, 146, 206, 0.6);
}

/* Tablet (≥768px) */
@media (min-width: 768px) {
  .ccw-overlay {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
  }

  .ccw-text-left {
    flex: 1 1 60%;
    max-width: 60%;
  }

  .ccw-buttons-right {
    flex: 1 1 35%;
    max-width: 35%;
    justify-content: flex-end;
    gap: 15px;
  }

  .ccw-btn {
    flex: 0 1 auto;
    padding: 12px 20px;
    font-size: 1.1rem;
  }
}

/* Desktop (≥1024px) */
@media (min-width: 1024px) {
  .ccw-swiper-container {
    height: 60vh;
    min-height: 400px;
  }

  .ccw-overlay {
    padding: 30px 50px;
  }

  .ccw-text-left p {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
  }

  .ccw-buttons-right {
    gap: 20px;
  }

  .ccw-btn {
    padding: 14px 28px;
    font-size: clamp(1rem, 2vw, 1.2rem);
    text-decoration: none !important;
  }
}

/* Swiper navigation */
.swiper-button-prev,
.swiper-button-next {
  color: #fff !important;
  filter: drop-shadow(0 0 3px rgba(0,0,0,0.7));
}

.swiper-pagination-bullet {
  background: #fff !important;
  opacity: 0.6 !important;
}

.swiper-pagination-bullet-active {
  opacity: 1 !important;
}
