.project-video-carousel-container {
    position: relative;
    width: 100%;
}

.video-slide-item-97c2eb8e {
    display: flex;
    flex-direction: column;
}

.video-media-wrapper {
    position: relative;
    width: 100%;
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
}

.video-media-wrapper.ratio-3-4 {
    aspect-ratio: 3/4;
}

.video-media-wrapper.ratio-16-9 {
    aspect-ratio: 16/9;
}

.video-media-wrapper.ratio-4-3 {
    aspect-ratio: 4/3;
}

.video-media-wrapper.ratio-1-1 {
    aspect-ratio: 1/1;
}

.thumbnail-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.thumbnail-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    opacity: 0;
}

.thumbnail-wrapper img.loaded {
    opacity: 1;
}

.video-slide-item-97c2eb8e:hover .thumbnail-wrapper img {
    transform: scale(1.05);
}

/* Sophisticated Circular Glassmorphism Play Button overlay */
.play-btn-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 54px;
    height: 54px;
    background-color: rgba(0, 0, 0, 0.60);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 6;
}

.play-btn-overlay span {
    color: #fff;
    font-size: 16px;
    margin-left: 3px;
}

.video-slide-item-97c2eb8e:hover .play-btn-overlay {
    background-color: rgba(0, 0, 0, 0.85);
    border-color: #fff;
    transform: translate(-50%, -50%) scale(1.08);
}

.inline-video-placeholder {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.inline-video-placeholder.active {
    display: block;
}

.swiper-button-prev-custom-97c2eb8e,
.swiper-button-next-custom-97c2eb8e {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.swiper-button-prev-custom-97c2eb8e {
    left: -20px;
}

.swiper-button-next-custom-97c2eb8e {
    right: -20px;
}

.swiper-button-prev-custom-97c2eb8e:hover,
.swiper-button-next-custom-97c2eb8e:hover {
    background: #000;
}

.swiper-button-prev-custom-97c2eb8e:hover span,
.swiper-button-next-custom-97c2eb8e:hover span {
    color: #fff;
}

.swiper-button-prev-custom-97c2eb8e span,
.swiper-button-next-custom-97c2eb8e span {
    font-size: 16px;
    color: #333;
}

.project-videos-empty-placeholder {
    padding: 30px;
    border: 2px dashed #ccc;
    text-align: center;
    color: #777;
    border-radius: 6px;
}

/* Lightbox Overlay */
.project-video-lightbox-overlay-97c2eb8e {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content-97c2eb8e {
    position: relative;
    width: 90%;
    max-width: 960px;
}

.lightbox-close-97c2eb8e {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
}

.video-wrapper-97c2eb8e {
    width: 100%;
    aspect-ratio: 16/9;
}

.video-wrapper-97c2eb8e video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
