/* Main Widget Container */
.multimedia-widget-container {
  
  overflow: hidden; /* Ensures content stays within bounds */
}

/* Header Section */
.multimedia-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px; 
  
}

.multimedia-title {
  font-size: 2.2em;
  font-weight: bold;
  margin: 0;
  color: #ffffff;
}

.multimedia-view-more {
  color: #ffffff;
  text-decoration: none;
  font-size: 1em;
  font-weight: bold;
  transition: color 0.3s ease;
}

.multimedia-view-more:hover {
  color: #e91e63; /* Pink hover effect */
}

/* Main Content Grid (Featured + Watch Next) */
.multimedia-content-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: space-between;
}
/* Featured Video Section */
.multimedia-featured-video {
  flex: 2; /* Takes more space */
  min-width: 300px; /* Minimum width before wrapping */
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.multimedia-video-thumbnail-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  background-color: #000; 
  overflow: hidden;
}

.multimedia-video-thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.multimedia-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  border-radius: 50%; 
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
}

 

.multimedia-play-button i {
  color: #ffffff;
  font-size: 2.5em;
  margin-left: 5px; /* Adjust for triangle icon optical centering */
}

.multimedia-video-embed-area {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; 
  display: none; /* Hidden by default, shown by JS */
  z-index: 1;
}

.multimedia-video-embed-area iframe,
.multimedia-video-embed-area video {
  width: 100%;
  height: 100%;
  border: none;
}

.multimedia-featured-title {
  font-size: 1.8em;
  font-weight: bold;
  margin: 0;
  line-height: 1.3;
  color: #ffffff;
}

.multimedia-featured-meta {
  font-size: 0.9em;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* Watch Next Section */
.multimedia-watch-next {
  flex: 1; /* Takes remaining space */
  min-width: 280px; /* Minimum width before wrapping */
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.multimedia-watch-next-title {
  font-size: 1.5em;
  font-weight: bold;
  margin: 0;
  color: #ffffff;
}

.multimedia-watch-next-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.multimedia-watch-next-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  cursor: pointer;
  transition: background-color 0.3s ease; 
}
 

.multimedia-watch-next-thumbnail-wrapper {
  position: relative;
  flex-shrink: 0;
  width: 180px; /* Fixed width for small thumbnails */
  height: 120px; /* Fixed height for 16:9 aspect ratio */ 
  overflow: hidden;
}

.multimedia-watch-next-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.multimedia-play-button-small {
  width: 45px;
  height: 28px;
  font-size: 1em;
  margin-left: 2px;
}

.multimedia-watch-next-details {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.multimedia-watch-next-item-title {
  font-size: 1em;
  font-weight: bold;
  margin: 0;
  line-height: 1.4;
  color: #ffffff;
}

.multimedia-watch-next-item-meta {
  font-size: 0.8em;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.multimedia-no-posts {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: 20px 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .multimedia-content-grid {
    flex-direction: column; /* Stack columns on small screens */
  }

  .multimedia-featured-video,
  .multimedia-watch-next {
    min-width: unset; /* Remove min-width to allow full width */
    width: 100%;
  }
 
  .multimedia-title {
    font-size: 1.8em;
  }
}

@media (max-width: 480px) {
  

  .multimedia-title {
    font-size: 1.5em;
  }
 
  .multimedia-play-button i {
    font-size: 2em;
  }
}
