/* 
  Global Variable
*/
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
:root {
  --bs-gutter-x: 1.5rem; /* Horizontal gutter */
  --bs-gutter-y: 0; /* Vertical gutter */
  /* Font Family */
  --font-roboto: "Roboto", sans-serif;
}

/* Media Query Variable */
body,
html {
  font-family: var(--font-roboto);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

p {
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: unset;
  text-decoration: none;
}

a:focus {
  outline: 0 solid;
}

a:hover {
  text-decoration: none;
}

/* unlockafe-container */
.unlockafe-container {
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 15px;
  padding-left: 15px;
}

@media (min-width: 576px) {
  .unlockafe-container {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .unlockafe-container {
    max-width: 720px;
  }
}
@media (min-width: 992px) {
  .unlockafe-container {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .unlockafe-container {
    max-width: 1140px;
  }
}
@media (min-width: 1400px) {
  .unlockafe-container {
    max-width: 1320px;
  }
}
/* unlockafe-row Flex */
.unlockafe-row {
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(var(--bs-gutter-y) * -1);
  margin-right: calc(var(--bs-gutter-x) * -0.5);
  margin-left: calc(var(--bs-gutter-x) * -0.5);
}

/* unlockafe-columns */
[class*="unlockafe-col-"],
[class*="unlockafe-col-lg-"],
[class*="unlockafe-col-md-"] {
  position: relative;
  width: 100%;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
}

@media (min-width: 768px) {
  .unlockafe-col-md-6 {
    flex: 0 0 auto;
    width: 46.7%;
  }
}
@media (min-width: 992px) {
  .unlockafe-col-lg-4 {
    flex: 0 0 auto;
    max-width: 30%;
  }
  .unlockafe-col-lg-3 {
    flex: 0 0 auto;
    width: 22.5%;
  }
  .unlockafe-col-lg-12 {
    flex: 0 0 auto;
    width: 100%;
  }
}
/* unlockafe-row Grid */
.unlockafe-grid {
  display: grid;
  row-gap: 24px;
  -moz-column-gap: 24px;
  column-gap: 24px;
}

@media only screen and (min-width: 768px) {
  .unlockafe-grid.md-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media only screen and (min-width: 992px) {
  .unlockafe-grid.lg-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media only screen and (min-width: 992px) {
  .unlockafe-grid.lg-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media only screen and (min-width: 992px) {
  .unlockafe-grid.lg-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}
/* Utilities */
.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.ds-flx {
  display: flex;
}

.ds-align-center {
  align-items: center;
}

.ps-relative {
  position: relative;
}

.ps-absolute {
  position: absolute;
}

.z-indx-plus {
  z-index: 1;
}

.z-indx-minus {
  z-index: -1;
}

.width-content {
  width: -moz-max-content;
  width: max-content;
}

.wd-100 {
  width: 100%;
}

.ht-100 {
  height: 100%;
}

.object-cvr {
  -o-object-fit: cover;
  object-fit: cover;
}

.top-section-0 {
  top: 0;
}

.bottom-section-0 {
  bottom: 0;
}

.left-section-0 {
  left: 0;
}

.right-section-0 {
  right: 0;
}

.overflow-hide {
  overflow: hidden;
}

.custom-ul {
  margin: 0;
  padding: 0;
  list-style: none;
} /* 
  Global Variable End
*/
;/* ============================================
   Video Gallery Widget - Base Styles
   ============================================ */

.unlockafe-video-gallery-wrapper {
    display: grid;
    width: 100%;
    gap: 20px;
}

/* Grid Layout */
.unlockafe-video-gallery-wrapper.unlockafe-gallery-grid {
    display: grid !important;
}

.unlockafe-video-gallery-wrapper.unlockafe-gallery-grid.unlockafe-gallery-cols-1 {
    grid-template-columns: repeat(1, 1fr) !important;
}

.unlockafe-video-gallery-wrapper.unlockafe-gallery-grid.unlockafe-gallery-cols-2 {
    grid-template-columns: repeat(2, 1fr) !important;
}

.unlockafe-video-gallery-wrapper.unlockafe-gallery-grid.unlockafe-gallery-cols-3 {
    grid-template-columns: repeat(3, 1fr) !important;
}

.unlockafe-video-gallery-wrapper.unlockafe-gallery-grid.unlockafe-gallery-cols-4 {
    grid-template-columns: repeat(4, 1fr) !important;
}

.unlockafe-video-gallery-wrapper.unlockafe-gallery-grid.unlockafe-gallery-cols-5 {
    grid-template-columns: repeat(5, 1fr) !important;
}

.unlockafe-video-gallery-wrapper.unlockafe-gallery-grid.unlockafe-gallery-cols-6 {
    grid-template-columns: repeat(6, 1fr) !important;
}

/* Masonry Layout */
.unlockafe-gallery-masonry {
    column-count: 3;
    column-gap: 20px;
}

.unlockafe-gallery-masonry.unlockafe-gallery-cols-1 {
    column-count: 1;
}

.unlockafe-gallery-masonry.unlockafe-gallery-cols-2 {
    column-count: 2;
}

.unlockafe-gallery-masonry.unlockafe-gallery-cols-3 {
    column-count: 3;
}

.unlockafe-gallery-masonry.unlockafe-gallery-cols-4 {
    column-count: 4;
}

.unlockafe-gallery-masonry.unlockafe-gallery-cols-5 {
    column-count: 5;
}

.unlockafe-gallery-masonry.unlockafe-gallery-cols-6 {
    column-count: 6;
}

.unlockafe-gallery-masonry .unlockafe-video-item {
    break-inside: avoid;
    margin-bottom: 20px;
    display: inline-block;
    width: 100%;
}

/* Carousel Layout */
.unlockafe-gallery-carousel {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
    scroll-behavior: smooth;
}

.unlockafe-gallery-carousel::-webkit-scrollbar {
    display: none;
}

.unlockafe-gallery-carousel .unlockafe-video-item {
    flex: 0 0 auto;
    width: calc(33.333% - 15px);
    scroll-snap-align: start;
    margin-right: 20px;
}

/* Carousel Navigation */
.unlockafe-carousel-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 10;
}

.unlockafe-carousel-prev,
.unlockafe-carousel-next {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    pointer-events: all;
    z-index: 11;
}

.unlockafe-carousel-prev {
    left: 10px;
}

.unlockafe-carousel-next {
    right: 10px;
}

.unlockafe-carousel-prev:hover,
.unlockafe-carousel-next:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

.unlockafe-carousel-prev.disabled,
.unlockafe-carousel-next.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* Responsive Carousel */
@media (max-width: 1200px) {
    .unlockafe-gallery-carousel .unlockafe-video-item {
        width: calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .unlockafe-gallery-carousel .unlockafe-video-item {
        width: calc(100% - 0px);
        margin-right: 20px;
    }
    
    .unlockafe-carousel-prev,
    .unlockafe-carousel-next {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .unlockafe-carousel-prev {
        left: 5px;
    }
    
    .unlockafe-carousel-next {
        right: 5px;
    }
}

/* Video Item */
.unlockafe-video-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.unlockafe-video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Thumbnail Wrapper */
.unlockafe-video-thumbnail-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
    background: #000;
}

.unlockafe-video-thumbnail,
.unlockafe-video-thumbnail-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.unlockafe-video-item:hover .unlockafe-video-thumbnail {
    transform: scale(1.1);
}

.unlockafe-video-thumbnail-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    font-size: 48px;
}

/* Video Overlay */
.unlockafe-video-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;
    transition: opacity 0.3s ease, background 0.3s ease;
}

.unlockafe-video-item:hover .unlockafe-video-overlay {
    background: rgba(0, 0, 0, 0.5);
}

/* Play Button */
.unlockafe-video-play-button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    padding: 0;
    margin: 0;
}

.unlockafe-video-play-button i {
    font-size: 30px;
    margin-left: 4px; /* Slight offset for visual balance */
}

.unlockafe-video-play-button:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.unlockafe-video-play-button:active {
    transform: scale(0.95);
}

/* Video Duration */
.unlockafe-video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    z-index: 3;
}

/* Video Title */
.unlockafe-video-title {
    margin: 15px 0 0 0;
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.unlockafe-video-item:hover .unlockafe-video-title {
    color: #667eea;
}

/* Video Lightbox */
.unlockafe-video-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.unlockafe-video-lightbox.active {
    display: flex;
    opacity: 1;
}

.unlockafe-video-lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.unlockafe-video-lightbox-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    z-index: 1;
    padding: 40px;
}

.unlockafe-video-lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    z-index: 2;
}

.unlockafe-video-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.unlockafe-video-lightbox-player {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.unlockafe-video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   Responsive Styles
   ============================================ */

@media (max-width: 1024px) {
    .unlockafe-video-gallery-wrapper.unlockafe-gallery-grid.unlockafe-gallery-cols-4,
    .unlockafe-video-gallery-wrapper.unlockafe-gallery-grid.unlockafe-gallery-cols-5,
    .unlockafe-video-gallery-wrapper.unlockafe-gallery-grid.unlockafe-gallery-cols-6 {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    .unlockafe-gallery-masonry.unlockafe-gallery-cols-4,
    .unlockafe-gallery-masonry.unlockafe-gallery-cols-5,
    .unlockafe-gallery-masonry.unlockafe-gallery-cols-6 {
        column-count: 3;
    }
    
    .unlockafe-gallery-carousel .unlockafe-video-item {
        width: calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .unlockafe-video-gallery-wrapper.unlockafe-gallery-grid.unlockafe-gallery-cols-3,
    .unlockafe-video-gallery-wrapper.unlockafe-gallery-grid.unlockafe-gallery-cols-4,
    .unlockafe-video-gallery-wrapper.unlockafe-gallery-grid.unlockafe-gallery-cols-5,
    .unlockafe-video-gallery-wrapper.unlockafe-gallery-grid.unlockafe-gallery-cols-6 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .unlockafe-gallery-masonry.unlockafe-gallery-cols-3,
    .unlockafe-gallery-masonry.unlockafe-gallery-cols-4,
    .unlockafe-gallery-masonry.unlockafe-gallery-cols-5,
    .unlockafe-gallery-masonry.unlockafe-gallery-cols-6 {
        column-count: 2;
    }
    
    .unlockafe-gallery-carousel .unlockafe-video-item {
        width: calc(66.666% - 10px);
    }
    
    .unlockafe-video-lightbox-content {
        padding: 20px;
    }
    
    .unlockafe-video-lightbox-close {
        top: -30px;
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .unlockafe-video-gallery-wrapper.unlockafe-gallery-grid.unlockafe-gallery-cols-2,
    .unlockafe-video-gallery-wrapper.unlockafe-gallery-grid.unlockafe-gallery-cols-3,
    .unlockafe-video-gallery-wrapper.unlockafe-gallery-grid.unlockafe-gallery-cols-4,
    .unlockafe-video-gallery-wrapper.unlockafe-gallery-grid.unlockafe-gallery-cols-5,
    .unlockafe-video-gallery-wrapper.unlockafe-gallery-grid.unlockafe-gallery-cols-6 {
        grid-template-columns: 1fr !important;
    }
    
    .unlockafe-gallery-masonry.unlockafe-gallery-cols-2,
    .unlockafe-gallery-masonry.unlockafe-gallery-cols-3,
    .unlockafe-gallery-masonry.unlockafe-gallery-cols-4,
    .unlockafe-gallery-masonry.unlockafe-gallery-cols-5,
    .unlockafe-gallery-masonry.unlockafe-gallery-cols-6 {
        column-count: 1;
    }
    
    .unlockafe-gallery-carousel .unlockafe-video-item {
        width: calc(100% - 10px);
    }
    
    .unlockafe-video-play-button {
        width: 60px;
        height: 60px;
    }
    
    .unlockafe-video-play-button i {
        font-size: 24px;
    }
    
    .unlockafe-video-title {
        font-size: 14px;
    }
}


;