/* ===============================
   Carousel Slider Styling
================================= */
.cvs-carousel {
    margin: 10px auto;
    position: relative;
    overflow: visible !important;
    padding: 0 10px; /* reserve space for arrows */
    box-sizing: border-box;
}

.cvs-item {
    text-align: center;
    padding: 10px;
    cursor: pointer;
}

.cvs-preview {
    position: relative;
    display: inline-block;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.cvs-preview img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* Play overlay */
.cvs-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1; /* always visible */
    border-radius: 8px;
}

.cvs-play {
    font-size: 48px;
    color: #fff;
    opacity: 0.9;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.cvs-preview:hover .cvs-play {
    transform: scale(1.2);
    opacity: 1;
}

/* Title */
.cvs-title {
    font-size: 16px;
    margin-top: 8px;
    font-weight: 600;
}

/* Description */
.cvs-desc {
   font-size: 16px;
    color: #2A2E33;
    font-family: "inter", Sans-serif !important;
    font-weight: 500;
    line-height: 26px;
}

/* ===============================
   Grid Layout
================================= */
.cvs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.cvs-grid-item {
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    cursor: pointer;
}
.cvs-grid-item img {
    max-width: 100%;
    border-radius: 8px;
}

/* ===============================
   Lightbox Styling
================================= */
.cvs-lightbox {
    display: none;
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.cvs-lightbox-content {
    position: relative;
    background: #000;
    border-radius: 8px;
    max-width: 900px;
    width: 100%;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    overflow: hidden;
}
.cvs-lightbox-content::before {
    content: "";
    display: block;
    padding-top: 56.25%; /* 16:9 ratio */
}
.cvs-lightbox-content iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
/* Close button */
.cvs-close {
    position: absolute;
    top: -18px;
    right: 0px;
    font-size: 40px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    z-index: 10000;
    transition: 0.3s;
}
.cvs-close:hover {
    color: #ff4444;
}

/* ===============================
   Slick Slider Arrows
================================= */

/* Remove Slick default icons */
.cvs-carousel .slick-prev:before,
.cvs-carousel .slick-next:before {
    content: "" !important;
}

/* Circle container */
.cvs-carousel .slick-prev,
.cvs-carousel .slick-next {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 9999 !important;

/*     width: 55px !important;
    height: 55px !important;
    border-radius: 50% !important; */
   /* background: rgba(0, 0, 0, 0.6) !important;*/

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border: none !important;
    cursor: pointer !important;
    transition: background 0.3s, transform 0.2s !important;
}

/* Arrow icon inside */
.cvs-arrow {
    font-size: 50px !important; /* ✅ bigger arrow */
    color: #000 !important;
    line-height: 1 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Position */
.cvs-carousel .slick-prev { left: 0px; }
.cvs-carousel .slick-next { right: 0px; }

/* Hover */
.cvs-carousel .slick-prev:hover,
.cvs-carousel .slick-next:hover {
   /* background: rgba(0, 0, 0, 0.85) !important;*/
    transform: translateY(-50%) scale(1.1) !important;
}

/* Overlay background */
.cvs-overlay {
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 0%); /* lighter overlay, always visible */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1; /* ✅ always visible */
}

.cvs-preview:hover .cvs-overlay {
    opacity: 1;
}

/* CSS Play Button */
.cvs-play-btn {
    width: 90px;              /* circle size */
    height: 50px;
    background: #344f5d;      /* circle color (YouTube red style) */
    border-radius: 10%;
    position: relative;
    display: inline-block;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}
.cvs-play-btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%);
    width: 0;
    height: 0;
    border-left: 18px solid #fff; /* triangle color */
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}
.cvs-play-btn:hover {
    background: #344f5d; /* darker red on hover */
    transform: scale(1.05);
}

/* ===============================
   Responsive
================================= */
@media (max-width: 1199px) {
    .cvs-carousel {
        padding: 0 0px;
    }
/*     .cvs-carousel .slick-prev,
    .cvs-carousel .slick-next {
        width: 50px !important;
        height: 50px !important;
    } */
    .cvs-arrow {
        font-size: 60px !important;
    }
}

@media (max-width: 768px) {
    .cvs-carousel {
        padding: 0 0px;
    }
/*     .cvs-carousel .slick-prev,
    .cvs-carousel .slick-next {
        width: 45px !important;
        height: 45px !important;
    } */
    .cvs-arrow {
        font-size: 50px !important;
    }
    .cvs-carousel .slick-prev { left: 8px; }
    .cvs-carousel .slick-next { right: 8px; }
	.dbv .cvs-item.slick-slide.slick-current.slick-active {
    width: 100% !important;
    padding: 0;
    margin: 0;
}
}
