@charset "utf-8";
/* CSS Document */
/* Custom Styles for Video Page */

/* Video Player Responsiveness */
.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px; /* Matches original width as a cap */
  margin: 0 auto; /* Center it */
}

.video-player {
  width: 100%;
  height: auto; /* Maintains aspect ratio */
}

/* Accordion Styles (Copied from Reference CSS) */
.accordion {
  width: 80%;
  max-width: 1200px;
  margin: 20px auto 0 auto;
  text-align: left;
}

.accordion-item {
  border-bottom: 1px solid #ddd;
}

.accordion-header {
  background: #333;
  color: white;
  padding: 15px;
  cursor: pointer;
  font-size: 18px;
  text-align: left;
  border: none;
  width: 100%;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  background: #f4f4f4;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.accordion-item.active .accordion-content {
  max-height: 500px; /* Adjust as needed */
  padding: 15px;
  overflow: hidden;
}

/* Responsive Adjustments */
@media (max-width: 575.98px) { /* Mobile Portrait */
  .video-wrapper {
    max-width: 100%;
  }
  .accordion {
    width: 90%; /* Slightly wider on small screens */
  }
  .accordion-header {
    font-size: 16px; /* Smaller text */
    padding: 10px; /* Less padding */
  }
  .accordion-content {
    padding: 0 10px; /* Adjust padding */
  }
  .accordion-item.active .accordion-content {
    padding: 10px;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) { /* Mobile Landscape / Tablet Portrait */
  .video-wrapper {
    max-width: 100%;
  }
  .accordion {
    width: 85%;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) { /* Tablet Landscape */
  .video-wrapper {
    max-width: 720px;
  }
  .accordion {
    width: 80%;
  }
}

@media (min-width: 992px) { /* Desktop */
  .video-wrapper {
    max-width: 900px;
  }
  .accordion {
    width: 80%;
  }
}
