/* Veterans Livestream Page Styles */

/* Main Grid Layout - Sidebar on Left, Content on Right */
.livestream-container {
  display: block;
  margin-top: 30px;
}

/* Vimeo Archive Sidebar */
.vimeo-archive-sidebar {
  background: white;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.vimeo-archive-sidebar h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 3px solid #c8102e;
  color: #1a2a3a;
}

.archive-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-height: calc(100vh - 280px);
  overflow-y: auto;
  padding-right: 5px;
}

.archive-list::-webkit-scrollbar {
  width: 6px;
}

.archive-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.archive-list::-webkit-scrollbar-thumb {
  background: #c8102e;
  border-radius: 3px;
}

.archive-item {
  display: block;
  background: #f9f9f9;
  border-radius: 6px;
  padding: 15px 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.archive-item:hover {
  background: #fff;
  border-left-color: #c8102e;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transform: translateX(5px);
}

.archive-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 5px 0;
  color: #1a2a3a;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.archive-item:hover .archive-title {
  color: #c8102e;
}

.archive-date {
  font-size: 0.875rem;
  color: #666;
  margin: 0;
  font-weight: 400;
}

.no-archives {
  color: #666;
  font-style: italic;
  text-align: center;
  padding: 20px;
}

/* Facebook Live Container */
.facebook-live-container {
  background: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  min-height: 500px;
}

/* Live Badge */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #c8102e;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.live-pulse {
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.live-text {
  font-weight: 700;
}

/* Facebook Video Wrapper */
.fb-video-wrapper {
  margin-bottom: 25px;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}

.fb-video {
  min-height: 500px;
}

.stream-description {
  padding: 20px;
  background: #f9f9f9;
  border-radius: 6px;
  line-height: 1.6;
}

.stream-description h3 {
  margin-top: 0;
  color: #1a2a3a;
}

/* No Stream Message */
.no-stream-message {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  text-align: center;
}

.message-content {
  max-width: 400px;
}

.message-content i {
  font-size: 4rem;
  color: #ccc;
  margin-bottom: 20px;
}

.message-content h2 {
  font-size: 1.75rem;
  color: #1a2a3a;
  margin-bottom: 10px;
}

.message-content p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
}

/* Responsive Grid Layout */
@media screen and (min-width: 1024px) {
  .livestream-container {
    display: grid;
    gap: 30px;
    grid-template-columns: 350px 1fr;
    grid-template-rows: auto;
	padding: 20px 40px;
  }

  .vimeo-archive-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
  }

  .archive-list {
    max-height: calc(100vh - 280px);
  }
}

@media screen and (min-width: 1440px) {
  .livestream-container {
    gap: 40px;
  }

  .vimeo-archive-sidebar {
    padding: 30px;
  }

  .facebook-live-container {
    padding: 40px;
  }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .facebook-live-container {
    padding: 20px;
  }

  .fb-video {
    min-height: 300px;
  }

  .no-stream-message {
    min-height: 300px;
  }

  .message-content i {
    font-size: 3rem;
  }

  .message-content h2 {
    font-size: 1.5rem;
  }

  .archive-list {
    max-height: 400px;
  }
}
