/* --- PCL Video Gallery Base Styles --- */
.pcl-gallery-section {
  padding: 40px 15px;
}

.pcl-container {
  max-width: 1200px;
  margin: 0 auto;
}

.pcl-gallery-title {
  text-align: center;
  font-size: 1.4rem;
  color: #eb0000;
  margin-bottom: 8px;
}

.pcl-gallery-subtitle {
  text-align: center;
  font-size: 1rem;
  color: #6c757d;
  margin-bottom: 35px;
}

/* Responsive Grid System */
.pcl-video-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
}

@media (min-width: 640px) {
  .pcl-video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .pcl-video-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Video Card Styling */
.pcl-video-card {
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pcl-video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.pcl-thumbnail-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  background-color: #000;
  cursor: pointer;
  overflow: hidden;
}

.pcl-thumb-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.pcl-thumbnail-wrapper:hover .pcl-thumb-img {
  opacity: 0.85;
  transform: scale(1.03);
}

/* Play Button Overlay */
.pcl-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  background-color: rgba(220, 38, 38, 0.9); /* Red Play Accent */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.pcl-play-btn svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
  margin-left: 3px;
}

.pcl-thumbnail-wrapper:hover .pcl-play-btn {
  background-color: #dc2626;
  transform: translate(-50%, -50%) scale(1.1);
}

/* Card Text Content */
.pcl-card-body {
  padding: 16px 20px;
}

.pcl-video-caption {
  font-size: 1em;
  font-weight: 600;
  color: #be0000;
  margin: 0 0 8px 0;
  line-height: 1.4;
}

.pcl-video-desc {
  font-size: 0.8rem;
  color: #718096;
  margin: 0;
  line-height: 1.5;
}

/* --- Lightbox Modal Styles --- */
.pcl-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999999;
}

.pcl-modal.active {
  display: flex;
}

.pcl-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
}

.pcl-modal-content {
  position: relative;
  width: 90%;
  max-width: 850px;
  background: #000;
  overflow: hidden;
  z-index: 1;
}

.pcl-modal-close {
  position: absolute;
  top: 8px;
  right: 14px;
  background: #be0000;
  border-radius: 50%;
  padding: .11em;
  padding-right: .21em;
  padding-left: .21em;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  z-index: 2;
  line-height: 1;
}

.pcl-iframe-wrapper {
  position: relative;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  width: 100%;
}

.pcl-iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.pcl-modal-caption {
  padding: 12px 16px;
  color: #fff;
  background: #111;
  font-size: 1rem;
  text-align: center;
}