.homeVideo {
    position: relative;
    background: linear-gradient(358deg, #f1d999, #31affa, #bee8ff, #7cb1cb);
}
.homeVideo-card{
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  transition: 0.3s ease;
  height: 100%;
}

.homeVideo-card:hover{
  transform: translateY(-4px);
}

.homeVideo-link{
  text-decoration: none;
  display: block;
}

.homeVideo-thumb{
  position: relative;
  overflow: hidden;
  height: 200px;
  background: #000;
}

.homeVideo-video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background:#000;
}

.homeVideo-overlay{
  position: absolute;
  inset: 0;
   background: linear-gradient(
    to top,
    rgba(0,0,0,0.5),
    rgba(0,0,0,0.1)
  );
}

.homeVideo-play{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgb(221 248 255);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.homeVideo-play i{
  color: #fff;
  font-size: 28px;
}

.homeVideo-body{
  padding: 12px;
}

.homeVideo-title{
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  height: 42px;
  overflow: hidden;
}

.homeVideo-empty{
  background: #f8f9fa;
  padding: 50px 20px;
  border-radius: 16px;
  color: #777;
}

/* MOBILE */
@media(max-width:768px){

  .homeVideo-thumb{
    height: 150px;
  }

  .homeVideo-play{
    width: 45px;
    height: 45px;
  }

  .homeVideo-play i{
    font-size: 22px;
  }

}
/* =========================================
   GALERI PLAY VIDEO
========================================= */
/* =========================================
   YOUTUBE STYLE VIDEO
========================================= */
.galeriplayvideo {
    background: linear-gradient(358deg, #f1d999, #31affa, #bee8ff, #7cb1cb);
}
.galeriPlayvideo video{
    outline:none;
    
}

/* PLAYER */
.galeriPlayvideo-player video{
    width:100%;
    max-height:75vh;
    background:#000;
    object-fit:contain;
    border-radius:18px;
}

/* DESCRIPTION */
.galeriPlayvideo-desc{
    line-height:1.8;
    color:#555;
}

/* VIDEO CARD */
.galeriPlayvideo-card{
    background:#fff;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 2px 10px rgba(0,0,0,0.06);
    transition:0.3s;
    height:100%;
}

.galeriPlayvideo-card:hover{
    transform:translateY(-3px);
}

/* THUMB */
.galeriPlayvideo-thumb{
    position:relative;
    height:180px;
    overflow:hidden;
    background:#000;
}

.galeriPlayvideo-thumb video{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* PLAY */
.galeriPlayvideo-play{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:55px;
    height:55px;
    border-radius:50%;
    background:rgba(0,0,0,0.5);
    display:flex;
    align-items:center;
    justify-content:center;
}

.galeriPlayvideo-play i{
    color:#fff;
    font-size:28px;
}

/* SIDEBAR */
.galeriPlayvideo-sidebar{
    position:sticky;
    top:80px;
}

/* WORKER */
.galeriPlayvideo-worker{
    gap:12px;
    margin-bottom:14px;
    padding:10px;
    border-radius:14px;
    transition:0.3s;
    background:#fff;
}

.galeriPlayvideo-worker:hover{
    background:#f8f9fa;
}

.galeriPlayvideo-worker-img{
    width:70px;
    height:70px;
    flex-shrink:0;
}

.galeriPlayvideo-worker-img img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:12px;
}

/* MOBILE */
@media(max-width:768px){

    .galeriPlayvideo-player video{
        max-height:260px;
        border-radius:12px;
    }

    .galeriPlayvideo-thumb{
        height:130px;
    }

    .galeriPlayvideo-sidebar{
        position:relative;
        top:auto;
        margin-top:30px;
    }

}
/* =========================
WRAPPER
========================= */

.pageGaleriVideo{
    width:100%;
    padding:45px 15px;
    background:#f5f7fb;
    font-family:Arial,sans-serif;
}

.pageGaleriVideo .containerVideo{
    max-width:1300px;
    margin:auto;
}

/* =========================
HEADER
========================= */

.pageGaleriVideo .headingVideo{
    text-align:center;
    margin-bottom:40px;
}

.pageGaleriVideo .headingVideo h1{
    font-size:38px;
    font-weight:700;
    color:#111;
    margin-bottom:15px;
    line-height:1.4;
}

.pageGaleriVideo .headingVideo p{
    max-width:850px;
    margin:auto;
    color:#666;
    font-size:16px;
    line-height:1.9;
}

/* =========================
GRID
========================= */

.pageGaleriVideo .gridVideo{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:28px;
}

/* TABLET */

@media(max-width:991px){

.pageGaleriVideo .gridVideo{
    grid-template-columns:repeat(2,1fr);
}

}

/* MOBILE */

@media(max-width:576px){

.pageGaleriVideo{
    padding:30px 12px;
}

.pageGaleriVideo .gridVideo{
    grid-template-columns:1fr;
    gap:20px;
}

.pageGaleriVideo .headingVideo h1{
    font-size:28px;
}

.pageGaleriVideo .headingVideo p{
    font-size:14px;
}

}

/* =========================
CARD VIDEO
========================= */

.pageGaleriVideo .cardVideo{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,0.08);
    transition:0.3s ease;
    position:relative;
}

.pageGaleriVideo .cardVideo:hover{
    transform:translateY(-6px);
    box-shadow:0 14px 28px rgba(0,0,0,0.15);
}

/* =========================
THUMB VIDEO
========================= */

.pageGaleriVideo .thumbVideo{
    position:relative;
    overflow:hidden;
    height:240px;
    background:#000;
}

.pageGaleriVideo .videoHidden{
    display:none;
}

.pageGaleriVideo .videoCanvasPreview{
    width:100%;
    height:240px;
    object-fit:cover;
    display:block;
    transition:0.4s ease;
    background:#000;
}

.pageGaleriVideo .cardVideo:hover .videoCanvasPreview{
    transform:scale(1.05);
}

/* OVERLAY */

.pageGaleriVideo .thumbVideo::before{
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(to top,
    rgba(0,0,0,0.45),
    rgba(0,0,0,0.1));
    z-index:1;
}

/* PLAY ICON */

.pageGaleriVideo .playIcon{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:74px;
    height:74px;
    border-radius:50%;
    background:rgba(255,0,0,0.88);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:30px;
    z-index:2;
    pointer-events:none;
    box-shadow:0 6px 18px rgba(0,0,0,0.35);
    transition:0.3s ease;
}

.pageGaleriVideo .cardVideo:hover .playIcon{
    transform:translate(-50%,-50%) scale(1.1);
    background:#ff0000;
}

/* =========================
CONTENT
========================= */

.pageGaleriVideo .contentVideo{
    padding:22px;
}

.pageGaleriVideo .contentVideo h2{
    font-size:20px;
    font-weight:700;
    color:#111;
    line-height:1.6;
    margin-bottom:12px;

    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;

    min-height:64px;
}

.pageGaleriVideo .contentVideo h4{
    font-size:16px;
    font-weight:600;
    color:#111;
    line-height:1.4;
    margin-bottom:10px;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;

    min-height:54px;
}
.pageGaleriVideo .videoDate{
    font-size:13px;
    color:#999;
    margin-bottom:15px;
}

.pageGaleriVideo .contentVideo p{
    color:#666;
    font-size:13px;
    line-height:1.4;
    margin-bottom:10px;

    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;

    min-height:65px;
}

/* =========================
BUTTON
========================= */

.pageGaleriVideo .btnVideo{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    background:#ff0000;
    color:#fff;
    padding:12px 20px;
    border-radius:12px;
    font-size:14px;
    font-weight:600;
    transition:0.3s ease;
}

.pageGaleriVideo .btnVideo:hover{
    background:#d90000;
    color:#fff;
}

/* =========================
EMPTY
========================= */

.pageGaleriVideo .emptyVideo{
    background:#fff;
    padding:70px 20px;
    border-radius:20px;
    text-align:center;
    box-shadow:0 5px 18px rgba(0,0,0,0.06);
}

.pageGaleriVideo .emptyVideo h3{
    font-size:28px;
    margin-bottom:12px;
    color:#111;
}

.pageGaleriVideo .emptyVideo p{
    color:#666;
    line-height:1.9;
}

/* =========================
PAGING
========================= */

.pageGaleriVideo .pagingVideo{
    margin-top:45px;
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:10px;
}

.pageGaleriVideo .pagingVideo a,
.pageGaleriVideo .pagingVideo span{
    width:46px;
    height:46px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    background:#fff;
    color:#333;
    text-decoration:none;
    font-weight:700;
    box-shadow:0 4px 10px rgba(0,0,0,0.08);
    transition:0.3s;
}

.pageGaleriVideo .pagingVideo a:hover{
    background:#ff0000;
    color:#fff;
}

.pageGaleriVideo .pagingVideo .active{
    background:#ff0000;
    color:#fff;
}

/* ============ Page Video Frame View --------------- */
.pageGaleriVideo .thumbVideo{
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    height: 230px;
    background: #000;
}

.pageGaleriVideo .thumbVideo video,
.pageGaleriVideo .thumbVideo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pageGaleriVideo .playIcon{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: rgba(0,0,0,.55);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    z-index: 2;
    backdrop-filter: blur(4px);
}
