/* ===========================
   MEDIA SECTION
=========================== */
.media-card {
  padding: 1rem;
  background: var(--bs-body-bg);
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

/* MAIN IMAGE — now smaller & elegant */
.main-image-wrap {
  width: 100%;
  height: 360px;       /* smaller size */
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.5),
    rgba(255,255,255,0.3)
  );
}

[data-theme="dark"] .main-image-wrap {
  background: linear-gradient(
    to bottom,
    rgba(10, 12, 20, 0.35),
    rgba(10, 12, 20, 0.2)
  );
}

/* MAIN IMAGE FIT */
.main-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: 0.25s ease;
}

/* THUMBNAILS */
.thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.thumb {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
  border: 2px solid transparent;
  cursor: pointer;
  transition: 0.25s ease;
}

.thumb:hover {
  border-color: var(--accent, #0d6efd);
  transform: scale(1.02);
}

.thumb.active-thumb {
  border-color: var(--accent, #0d6efd) !important;
}

/* VIDEO CONTAINER */
#video-container {
  margin-top: 12px;
  display: none;
}

#video-container video {
  width: 100%;
  border-radius: 10px;
}

/* ===========================
   SPONSORED BADGE
=========================== */
.sponsored-badge {
  position: absolute;
  top: 12px;
  right: -40px;
  background: linear-gradient(135deg, #ffb800, #ff8c00);
  padding: 8px 50px;
  transform: rotate(45deg);
  z-index: 20;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.sponsored-badge span {
  color: #fff;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 0.8rem;
  text-transform: uppercase;
}

/* Dark mode friendly */
[data-theme="dark"] .sponsored-badge {
  background: linear-gradient(135deg, #ffda6a, #ffa02f);
  box-shadow: 0 4px 16px rgba(255,255,255,0.15);
}

/* MOBILE */
@media (max-width: 991px) {
  .main-image-wrap {
    height: 260px;
  }
}
