/* REVG Frontend Styles */

.revg-gallery-container {
  max-width: 1200px;
  margin: 20px auto;
}
.revg-gallery-container .revg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.revg-item {
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  background: #000;
  transition: transform 0.2s ease;
}
.revg-item:hover {
  transform: translateY(-5px);
}
.revg-item:hover .revg-thumb-wrapper img {
  opacity: 0.5;
}
.revg-item .revg-thumb-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}
.revg-item .revg-thumb-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}
.revg-item .revg-thumb-wrapper .revg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2;
}
.revg-item .revg-thumb-wrapper .revg-overlay .revg-play-icon {
  font-size: 50px;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.revg-item .revg-thumb-wrapper .revg-overlay .revg-type-label {
  margin-top: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.revg-lightbox {
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
}
.revg-lightbox .revg-lightbox-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  background: #000;
}
.revg-lightbox .revg-video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}
.revg-lightbox .revg-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.revg-lightbox .revg-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
}
.revg-lightbox .revg-close:hover {
  color: #0073aa;
}