/* Videos Page Styles */

.videos-page-header {
  background: #5bced2;
  padding: 15px 0;
  margin-top: 100px;
  margin-bottom: 40px;
  position: relative;
  overflow: visible;
  box-shadow: 0 4px 12px rgba(91, 206, 210, 0.3);
}

.videos-page-title-container {
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
}

.videos-icon-large {
  position: absolute;
  left: -90px;
  top: 0;
  transform: translateY(-55%);
  width: 400px;
  height: 400px;
  object-fit: contain;
  z-index: 10;
  pointer-events: none;
}

.videos-page-title {
  font-weight: 950;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: white;
  margin: 0;
  margin-left: 150px;
}

/* Videos Grid */
.videos-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 20px;
  row-gap: 40px;
  margin-bottom: 40px;
  padding: 0;
}

.videos-page-card {
  position: relative;
  background: #000;
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16 / 7;
  display: block;
  text-decoration: none;
}

.videos-page-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Play Button - Canto Inferior Direito */
.video-play-btn {
  position: absolute;
  bottom: 15px;
  right: 15px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 5px solid #5bced2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 3px;
  transition: all 0.5s ease;
  cursor: pointer;
  z-index: 10;
  box-sizing: border-box;
}

.videos-page-card:hover .video-play-btn {
  bottom: 88px;
  background: white;
  border: none;
  padding-left: 0;
}

.video-play-btn:hover {
  background: #5bced2 !important;
}

.video-play-btn svg {
  width: 18px;
  height: 18px;
  fill: #5bced2;
  transition: fill 0.3s ease;
  margin-left: -2px;
}

.video-play-btn:hover svg {
  fill: white !important;
}

/* Hover Overlay */
.video-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(44, 32, 72, 0);
  transition: background 0.5s ease;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
}

.videos-page-card:hover .video-hover-overlay {
  background: rgba(44, 32, 72, 0.85);
  pointer-events: auto;
}

.video-info-bar {
  width: 100%;
  background: #5195c5;
  padding: 16px 20px;
  padding-right: 76px;
  display: flex;
  align-items: center;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.videos-page-card:hover .video-info-bar {
  transform: translateY(0);
}

.video-text {
  flex: 1;
  color: white;
  opacity: 0;
  transition: opacity 0.5s ease 0.15s;
}

.videos-page-card:hover .video-text {
  opacity: 1;
}

.video-hover-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 4px 0;
  color: white;
}

.video-hover-subtitle {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  margin: 0;
  color: white;
  opacity: 0.95;
}

/* Empty State */
.videos-page-empty {
  text-align: center;
  padding: 60px 20px;
  color: #666;
  font-size: 1.1rem;
}

/* Pagination */
.videos-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.pagination-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #3a1f46;
  color: white;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 20px;
  font-weight: bold;
}

.pagination-btn:hover:not(.disabled) {
  background: #00d9ff;
  transform: scale(1.1);
}

.pagination-btn.disabled {
  background: #ccc;
  cursor: not-allowed;
  opacity: 0.5;
}

.pagination-info {
  font-size: 16px;
  color: #3a1f46;
  font-weight: 600;
  min-width: 80px;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .videos-page-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .video-play-btn {
    width: 42px;
    height: 42px;
    bottom: 15px;
    right: 15px;
    border-width: 5px;
  }

  .video-play-btn svg {
    width: 18px;
    height: 18px;
  }

  .videos-page-header {
    margin-top: 20px;
    padding: 20px 0;
  }

  .videos-icon-large {
    display: none;
  }

  .videos-page-title {
    font-size: 1rem;
    margin: 0 !important;
    padding: 0;
  }

  .videos-page-title-container {
    padding: 0 20px;
  }

  .pagination-btn {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }

  .pagination-info {
    font-size: 14px;
    min-width: 70px;
  }
}

/* Video Show Page Styles */
.video-show-gallery {
  padding: 40px 60px 0 60px;
}

.video-player-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-player-wrapper iframe {
  display: block;
  width: 100%;
  height: 100%;
}

/* Override header padding for video page */
.about-radio-left .video-show-gallery+.about-radio-header {
  padding: 15px 60px 25px 60px;
}

.about-radio-left .video-show-gallery+.about-radio-header .about-radio-title {
  font-size: 16px;
  font-weight: 900;
  color: #0052a1;
}

@media (max-width: 768px) {
  .video-show-gallery {
    padding: 30px 20px 0 20px;
  }

  .about-radio-left .video-show-gallery+.about-radio-header {
    padding: 20px 20px;
  }

  .about-radio-left .video-show-gallery+.about-radio-header .about-radio-title {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .videos-icon-large {
    width: 90px;
    height: 90px;
    left: -35px;
  }

  .videos-page-title {
    font-size: 0.8rem;
    margin-left: 70px;
  }

  .videos-page-header {
    margin-bottom: 30px;
  }

  .videos-page-grid {
    gap: 15px;
  }
}