/* Base container */
.irv-wrap { position: relative; padding: 30px 0px 0px; max-width: 100%; margin: 0 auto; }
.irv-slider { margin: 0 -12px; }

/* Slide card */
.irv-slide { padding: 0 12px; box-sizing: border-box; }
.irv-card { border-radius: 22px; overflow: visible; }

/* Media area */
.irv-media { position: relative; border-radius: 22px; overflow: hidden; background: #300; box-shadow: 0 12px 30px rgba(0,0,0,0.18); }
.irv-video-wrap { position: relative; width: 100%; height: 420px; overflow: hidden; border-radius: 22px; background: #000; }
.irv-video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Click layer above video to open modal */
.irv-click-layer { position: absolute; left: 0; top: 0; right: 0; bottom: 0; z-index: 3; cursor: pointer; background: transparent; }

/* Sound toggle */
.irv-sound-toggle {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 6;
  background:rgb(0 0 0 / 56%);
  border: 1px solid #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(0,0,0,0.14);
}
.irv-sound-toggle .irv-sound-icon { font-size: 16px; }
.irv-sound-toggle.muted { opacity: 0.9; }

/* Bottom overlay with title */
.irv-overlay-bottom { position: absolute; left: 0; right: 0; bottom: 0; padding: 15px 10px; z-index: 5;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 70%, rgba(0,0,0,0) 100%);
}
.irv-title { color: #fff; font-weight: 600; font-size: 16px; line-height: 1.1; text-decoration: none; pointer-events: auto; display:inline-block; }
.irv-title:hover { color: #eee;}
.irv-title.plain { color:#fff; }

/* Badge */
.irv-badge {display: none; position: absolute; left: 10px; bottom: 10px; background: rgba(255,255,255); color:#000; padding:8px 12px; border-radius:20px; z-index:6; box-shadow:0 6px 18px rgba(0,0,0,0.08);font-size:12px; }

/* Arrows */
.irv-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; width:50px; height:50px; border-radius:50%; border:0; background: rgba(255,255,255,0.95); box-shadow: 0 6px 18px rgba(0,0,0,0.12); cursor:pointer; }
.irv-arrow i{font-size:30px; }
.irv-prev { left: -30px; }
.irv-next { right: -50px; }

/* Make sure slick doesn't allow partial slides */
.slick-list { padding: 0; }
.slick-slide { display: block; }

/* Modal styles */
.irv-modal { position: fixed; inset: 0; z-index: 9999; display:flex; align-items:center; justify-content:center; }
.irv-modal-backdrop { position:absolute; inset:0; background: rgba(0,0,0,0.7); }
.irv-modal-content { position: relative; max-width: 500px; width: 90%; z-index: 10000; border-radius: 10px; overflow: hidden; }
.irv-modal-video-wrap { background: #000; padding: 10px; }
#irv-modal-video { width: 100%; height: auto; display:block; max-height: 65vh; }
.irv-modal-close { position: absolute; right: 8px; top: 8px; z-index: 10100; background: rgba(255,255,255,0.95); border:0; width:40px; height:35px;padding: 0; color: #560a0d; border-radius:50%; cursor:pointer; }

.irv-sound-toggle {
  position: absolute;
  right: 12px;
  bottom: 92px;
  z-index: 6;
  /* background: rgba(255,255,255,0.95); */
  border: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(0,0,0,0.14);
  color: #000;
}
.irv-sound-toggle img{
  max-width: 40px;
}
.irv-icon {
  position: absolute;
  display: none;
}

.irv-sound-toggle.muted .irv-icon-muted {
  display: block;
  position: relative;
  top: 0px;
}
.irv-video {
  background: #000;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
}

.irv-sound-toggle:not(.muted) .irv-icon-sound {
  display: block;
   position: relative;
  top: 0px;
}

/* Responsive */
@media (max-width: 1024px) {
  .irv-video-wrap { height: 520px; }
}
@media (max-width: 768px) {
  .irv-video-wrap { height: 640px; }
  .irv-title { font-size: 20px; position: relative;bottom: 20px; }
  .irv-badge{font-size: 16px;bottom: 20px;left: 10px;}
}
@media (max-width: 600px) {
  .irv-wrap{
  padding: 30px;
    max-width: 100%;
}
}