*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* texts */
  --text-primary: #0a005a;
  --text-muted: #727888;
  --text-gradient: linear-gradient(180deg, #ff00b8 0%, #1500c0 100%);

  /* buttons */
  --btn-primary: #ff00b8;
  --btn-secondary: #34a5fb;

  /* labels */
  --lbl-primary: #a3dfff;
}

/* ---------- Wrapper ---------- */
.vh-wrapper {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  background: #f9fafb;
  margin-bottom: 48px;
}

/* ---------- Page Header ---------- */
.vh-header {
  display: flex;
  align-items: flex-start;
  padding: 48px 24px 32px 24px;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  flex-direction: column;
}

.vh-header__text {
  flex: 1;
  width: 100%;
}

.vh-title {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 48px;
  letter-spacing: -1.2px;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.vh-subtitle {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  color: var(--text-muted);
  margin: 0 !important;
}

.vh-subtitle-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 768px) {
  .vh-subtitle-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

.vh-header__actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* ---------- Filter Toggle (pill style) ---------- */
/* .vh-filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  height: 36px;
  padding: 0 16.48px;
  border: 1px solid #e5e5e5;
  border-radius: 100px;
  background: #ffffff;
  color: #0a0a0a;
  box-shadow: 0px 1px 2px 0px #0000000d;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
}

.vh-filter-toggle:hover,
.vh-filter-toggle.is-active {
  border-color: #0369a1;
  background: #f0f9ff;
  color: #0369a1;
} */

.vh-filter-toggle svg {
  flex-shrink: 0;
}

/* Active count badge */
.vh-filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  background: #0f172a;
  color: #ffffff;
  border-radius: 100px;
  font-size: 11px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  font-weight: 700;
  line-height: 1;
}

/* ---------- Filter Panel ---------- */
.vh-filter-panel {
  display: none;
  margin-bottom: 32px;
  padding: 28px 28px 20px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
}

.vh-filter-panel.is-open {
  display: block;
  animation: vh-panel-in 0.18s ease;
}

@keyframes vh-panel-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.vh-filter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 24px;
  margin-bottom: 16px;
}

.vh-filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vh-filter-group label {
  font-size: 13px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  font-weight: 600;
  color: #334155;
  display: block;
}

.vh-filter-group select,
.vh-filter-group input[type="date"] {
  height: 44px;
  padding: 0 36px 0 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  background: #ffffff;
  color: #334155;
  font-family: inherit;
  font-size: 14px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 7L11 1' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
  transition: border-color 0.18s ease;
}

.vh-filter-group input[type="date"] {
  background-image: none;
  padding-right: 14px;
}

.vh-filter-group select:hover,
.vh-filter-group input[type="date"]:hover {
  border-color: #94a3b8;
}

.vh-filter-group select:focus,
.vh-filter-group input[type="date"]:focus {
  outline: none;
  border-color: #0369a1;
}

/* Filter footer */
.vh-filter-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}

.vh-filter-clear {
  background: none;
  border: none;
  color: #475569;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 0;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}

.vh-filter-clear:hover {
  background: none;
  color: #0369a1;
}

.vh-filter-clear:focus {
  background: none;
  color: #0369a1;
}

/* ---------- Section ---------- */
.vh-section-wrapper {
  background-color: #ffffff;
  padding: 24px;
  padding-top: 48px;
  border-radius: 8px;
  gap: 32px;
  display: flex;
  flex-direction: column;
}

.vh-section {
  background-color: #ffffff;
}

/* Section header row — label left, optional buttons right */
.vh-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.vh-section__label {
  display: inline-flex;
  align-items: center;
  height: 56px;
  padding: 0 20px;
  background: var(--lbl-primary);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  white-space: normal;
  word-break: break-word;
}

.vh-section__actions {
  display: flex;
  gap: 12px;
}

/* ---------- Buttons (News / Publications) ---------- */
.vh-btn {
  height: 52px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  border: none;
  border-radius: 8px;
  background: var(--btn-primary);
  color: #ffffff;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: 0%;
  cursor: pointer;
  transition: background 0.18s ease;
  white-space: nowrap;
}

.vh-btn:hover {
  background: var(--btn-primary);
}

/* ---------- Quick Links CTA ---------- */
.vh-quick-links-cta {
  background-color: #f1f5f9;
  padding: 40px 32px;
  border-radius: 16px;
  margin-top: 32px;
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

/* ---------- All Stories Header ---------- */
.vh-all-stories-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.vh-all-stories-count {
  font-size: 14px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  font-weight: 400;
  color: #64748b;
  line-height: 20px;
  margin-left: auto;
}

/* ---------- Grid ---------- */
.vh-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px 16px;
}

@media (max-width: 768px) {
  .vh-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px 16px;
  }
}

@media (max-width: 500px) {
  .vh-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.vh-grid--large {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

/* ---------- Small Card ---------- */
.vh-card--small {
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vh-card__thumb {
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.vh-card__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.vh-card--small:hover .vh-card__thumb::after {
  opacity: 1;
}

.vh-card__content {
  display: flex;
  flex-direction: column;
}

/* Play button on hover */
.vh-card__play-btn {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.vh-card--small:hover .vh-card__play-btn,
.vh-card--large:hover .vh-card__play-btn {
  opacity: 1;
}

.vh-card__title {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
  color: #0f172a;
  margin-bottom: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vh-card__company {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  font-weight: 600;
  font-size: 11px;
  color: #475569;
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 8px;
  margin-top: 4px;
  width: fit-content;
  align-self: flex-start;
  position: relative;
}

.vh-card__company a {
  cursor: pointer;
}

.vh-card__company a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.vh-card__desc {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  font-weight: 400;
  font-size: 13px;
  line-height: 18px;
  color: #64748b;
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vh-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.vh-card__meta-item {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  font-weight: 400;
  font-size: 12px;
  color: #64748b;
  line-height: 16px;
}

.vh-card__meta-dot {
  font-size: 12px;
  color: #64748b;
}

.vh-card__meta-item svg {
  flex-shrink: 0;
}

/* ---------- Large Card ---------- */
.vh-card--large {
  width: 100%;
  height: 298.66px;
  border-radius: 16px;
  box-shadow: 0px 1px 2px 0px #0000000d;
  background-size: cover;
  background-position: center top;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.vh-card--large__title {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  color: #ffffff;
  margin-bottom: 9.6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vh-card--large:hover .vh-card__overlay--large {
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.3) 55%,
    rgba(0, 0, 0, 0.05) 100%
  );
}

.vh-card__overlay--large {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0) 100%
  );
  border-radius: inherit;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px 16px;
  transition: background 0.2s ease;
}

.vh-card__play-btn--large {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.vh-card__tag {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  display: inline-block;
  background: #ffffff33;
  backdrop-filter: blur(4px);
  border-radius: 6px;
  padding: 2.1px 10.8px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  color: #ffffff;
}

/* =====================================================
       VIDEO MODAL
    ===================================================== */
.vh-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: #000000b2;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.vh-modal-backdrop.is-open {
  display: flex;
}

.vh-modal {
  width: 802px;
  max-width: 100%;
  background: #ffffff;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  max-height: 90vh;
  overflow-y: auto;
  animation: vh-modal-in 0.22s ease;
}

@keyframes vh-modal-in {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.vh-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  padding-left: 24px;
  padding-right: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e5e5;
}

.vh-modal__close {
  height: 24px;
  width: 24px;
  padding: 0;
  background-color: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.vh-modal__close:hover {
  background-color: transparent;
}
.vh-modal__close:hover {
  background-color: transparent;
}

#vh-player-container {
  position: absolute;
  top: -30px;
  left: 0;
  width: 100%;
  height: 100%;
}

.vh-modal__inner {
  padding: 20px 24px 24px 24px;
}

.vh-modal__title {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  font-weight: 700;
  font-size: 24px;
  line-height: 100%;
  margin: 0;
  color: #0f172a;
}

.vh-player {
  width: 100%;
  height: 400px;
  background: #0f172a;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.vh-player__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vh-player__thumb {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.vh-player__thumb-play {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s ease;
}

.vh-player__thumb-play:hover {
  transform: scale(1.1);
}

.vh-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  z-index: 1;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 0px 15px;
  background: transparent;
}

.vh-controls-buttons {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 16px;
}

.vh-controls__btn {
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity 0.15s ease;
}

.vh-controls__btn:hover {
  opacity: 0.75;
  background-color: transparent;
  border: none;
}

.vh-progress {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  position: relative;
  height: 16px;
  cursor: pointer;
}

.vh-progress__track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  position: relative;
}

.vh-progress__fill {
  height: 100%;
  width: 0%;
  background: #ffffff;
  border-radius: 100px;
  position: relative;
}

.vh-progress__thumb {
  width: 16px;
  height: 16px;
  background: #ffffff;
  border-radius: 50%;
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.vh-controls__left {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-shrink: 0;
}

.vh-controls__right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.vh-modal__desc-area {
  padding: 0 24px;
}

.vh-modal__desc {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #475569;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e5e5;
}

.vh-modal__stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-bottom: 24px;
}

.vh-modal__stat {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  font-weight: 400;
  color: #475569;
  line-height: 16px;
}

.vh-modal__stat svg {
  flex-shrink: 0;
}

/* === Enhanced Filtered Results & Cards === */
.vh-filtered-results {
  margin-top: 32px;
  padding: 32px 0 0 0;
  min-height: 320px;
  background: none;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.vh-filtered-results .vh-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px 24px;
  width: 100%;
  margin: 0;
}
.vh-filtered-results .vh-card--small {
  border-radius: 12px;
  background: none;
  min-height: auto;
  box-shadow: none;
  transition: transform 0.18s ease;
}
.vh-filtered-results .vh-card--small:hover {
  transform: translateY(-2px);
}
.vh-filtered-results .vh-card__title {
  font-size: 16px;
}
.vh-filtered-results .vh-no-results {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  gap: 22px;
  text-align: center;
  padding: 80px 0 40px 0;
  color: #64748b;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  font-size: 18px;
  font-weight: 500;
  background: none;
}

#vh-ajax-container {
  display: flex;
  align-items: stretch;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
}

.vh-filtered-results .vh-load-more-wrap {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: 32px;
  margin-bottom: 24px;
}
.vh-filtered-results #vh-btn-load-more {
  min-width: 180px;
  border: none;
  border-radius: 8px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 32px;
  box-shadow: 0 2px 8px 0 rgba(36, 42, 54, 0.1);
  transition:
    background 0.18s,
    transform 0.18s;
}
.vh-filtered-results #vh-btn-load-more:hover {
  transform: translateY(-2px);
}

/* ---------- Header top row (All Videos + Upload) ---------- */
.vh-header-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 16px;
}

.vh-primary-pill-btn {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 20px;
  background: var(--btn-secondary);
  color: #ffffff;
  border-radius: 100px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.vh-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 13px;
  background: var(--btn-primary);
  color: white;
  border: 0px;
  border-radius: 8px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0px 1px 2px 0px #0000000d;
  transition:
    background 0.18s ease,
    border-color 0.18s ease;
}

.vh-upload-btn p {
  margin: 0 !important;
}

.vh-upload-btn:hover {
  background-color: var(--btn-primary);
}

.vh-upload-btn:focus {
  background-color: var(--btn-primary);
}

/* ---------- Pill filter buttons row ---------- */
.vh-actions-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 0;
}

.vh-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 16px;
  border: 1px solid #e5e5e5;
  border-radius: 100px;
  background: #ffffff;
  color: #0a0a0a;
  box-shadow: 0px 1px 2px 0px #0000000d;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
}

/* Make sure SVG strokes inherit the button color */
.vh-pill-btn svg path,
.vh-pill-btn svg circle {
  stroke: currentColor;
}

.vh-pill-btn:hover {
  background: var(--btn-secondary);
  color: #ffffff;
  border-color: var(--btn-secondary);
}

/* Active state — dark filled pill */
.vh-pill-btn.is-active {
  background: var(--btn-secondary);
  color: #ffffff;
  border-color: var(--btn-secondary);
}

/* Filter count badge inside Filters button */
.vh-filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  background: #ffffff;
  color: #0a0a0a;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.vh-pill-btn.is-active .vh-filter-count {
  background: #ffffff;
  color: #0a0a0a;
}

/* ── Banner Card ── */
.vh-banner-card {
  position: relative;
  width: 100%;
  height: 612px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 32px;
  box-shadow: 0px 2px 8px 0px #0000001a;
}

.vh-banner-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 2px 10px;
  background: linear-gradient(90deg, #ef4444 0%, #ec4899 100%);
  color: #ffffff;
  border-radius: 6px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  font-size: 12px;
  font-weight: 700;
  z-index: 2;
}

.vh-banner-card__badge svg path {
  stroke: #ffffff;
}

.vh-banner-card__play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  opacity: 0;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  pointer-events: none;
  z-index: 2;
}

.vh-banner-card:hover .vh-banner-card__play-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.vh-banner-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0) 100%
  );
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  padding: 16px 16px;
  transition: background 0.2s ease;
}

.vh-banner-card:hover .vh-banner-card__overlay {
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.45) 55%,
    rgba(0, 0, 0, 0.1) 100%
  );
}

.vh-banner-card__body {
  flex: 1;
  min-width: 0;
  padding-right: 24px;
}

.vh-banner-card__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  color: #ffffff;
  margin-bottom: 8px;
}

.vh-banner-card__desc {
  font-size: 15px;
  font-weight: 400;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  line-height: 1.5;
  color: #ffffffcc;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vh-banner-card__meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.vh-banner-card__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 500;
  color: #ffffffe5;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
}

.vh-banner-card__tag {
  flex-shrink: 0;
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  white-space: nowrap;
}

/* May 12 Code Saroj **/
#vh-filtered-results .vh-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px 16px;
}

/* Responsive */
@media (max-width: 768px) {
  #vh-filtered-results .vh-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px 16px;
  }
}

@media (max-width: 500px) {
  #vh-filtered-results .vh-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.vh-filtered-results .vh-section__header {
  margin-top: 16px;
}

/* Responsive */
@media (max-width: 768px) {
  .vh-banner-card {
    height: 300px;
  }
  .vh-banner-card__title {
    font-size: 20px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  }
  .vh-banner-card__overlay {
    align-items: flex-end;
    gap: 12px;
  }
  .vh-banner-card__tag {
    align-self: flex-start;
  }
}

/* Dropdown */
/* ── Filter Dropdown – visual fixes ── */
.filter-dropdown-trigger {
  width: 100%;
  height: 36px;
  padding: 0 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1;
  font-weight: 400;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  color: #334155;
  background: #ffffff;
  outline: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-align: left;
  transition: border-color 0.18s ease;
  user-select: none;
  -webkit-user-select: none;
  box-sizing: border-box;
}

.filter-dropdown-trigger:hover {
  border-color: #94a3b8;
  background: #ffffff !important;
}

/* kill the focus ring override that was stripping the border */
.filter-dropdown-trigger:focus,
.filter-dropdown-trigger:focus-visible,
.filter-dropdown-trigger:focus:active {
  border-color: #e2e8f0 !important;
  background: #ffffff !important;
  outline: none !important;
  box-shadow: none !important;
}

.filter-dropdown-trigger.open {
  border-color: #0369a1 !important;
  border-bottom-color: transparent !important;
  border-radius: 10px 10px 0 0;
  background: #ffffff !important;
}

.filter-dropdown-trigger.open:focus,
.filter-dropdown-trigger.open:active {
  border-color: #0369a1 !important;
  border-bottom-color: transparent !important;
}

/* Menu – flush under trigger, matching radius */
.filter-dropdown-menu {
  position: absolute;
  top: 100%; /* flush – no gap so border-top:none lines up */
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1.5px solid #0369a1;
  border-top: none;
  border-radius: 0 0 10px 10px;
  z-index: 9999; /* above everything */
  overflow: hidden;
  display: none;
  max-height: 280px;
  flex-direction: column;
  box-shadow: 0px 8px 24px 0px rgba(16, 24, 40, 0.12);
}

.filter-dropdown-menu.open {
  display: flex;
}

/* Overlay so clicks outside close it without bleed-through */
.filter-dropdown {
  position: relative;
  width: 100%;
  z-index: 100;
}

/* bump up whichever dropdown is interacted with */
.filter-dropdown:focus-within {
  z-index: 200;
}

.filter-dropdown-value {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #334155;
  font-size: 14px;
}

.filter-dropdown-value.placeholder {
  color: #94a3b8;
}

.filter-dropdown-chevron {
  flex-shrink: 0;
  color: #64748b;
  transition: transform 0.18s ease;
  display: block;
}

.filter-dropdown-chevron svg {
  display: block;
}

.filter-dropdown-trigger.open .filter-dropdown-chevron {
  transform: rotate(180deg);
  color: #0369a1;
}

.filter-dropdown-option {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 400;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  color: #334155;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: background 0.1s ease;
  line-height: 1;
}

.filter-dropdown-option:hover {
  background: #f8fafc;
}

.filter-dropdown-option.selected {
  color: #0369a1;
  font-weight: 600;
}

.filter-dropdown-option-check {
  color: #0369a1;
  flex-shrink: 0;
  display: none;
}

.filter-dropdown-option-check svg {
  display: block;
}

.filter-dropdown-option.selected .filter-dropdown-option-check {
  display: block;
}

.filter-dropdown-options {
  overflow-y: auto;
  flex: 1;
  padding: 4px 0;
}

.filter-dropdown-options::-webkit-scrollbar {
  width: 4px;
}
.filter-dropdown-options::-webkit-scrollbar-track {
  background: transparent;
}
.filter-dropdown-options::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

/* ── Search input ── */
#vh-filter-search {
  height: 36px;
  border-radius: 8px;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: #334155;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  font-size: 14px;
  font-weight: 400;
  padding: 0 14px;
  width: 100%;
  box-sizing: border-box;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.18s ease;
}

#vh-filter-search::placeholder {
  color: #94a3b8;
}

#vh-filter-search:hover {
  border-color: #94a3b8;
}

#vh-filter-search:focus {
  border-color: #0369a1;
  box-shadow: none;
  outline: none;
}

/* ── Date inputs ── */
#vh-filter-date-from,
#vh-filter-date-to {
  height: 36px;
  border-radius: 8px;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: #334155;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  font-size: 14px;
  font-weight: 400;
  padding: 0 14px;
  width: 100%;
  box-sizing: border-box;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: none;
  transition: border-color 0.18s ease;
  cursor: pointer;
}

#vh-filter-date-from:hover,
#vh-filter-date-to:hover {
  border-color: #94a3b8;
}

#vh-filter-date-from:focus,
#vh-filter-date-to:focus {
  border-color: #0369a1;
  box-shadow: none;
  outline: none;
}

/* override the old catch-all rule */
.vh-filter-group select,
.vh-filter-group input[type="date"] {
  height: 36px;
  border-radius: 8px;
  border: 1.5px solid #e2e8f0;
  padding: 0 14px;
  background-image: none;
}

/* ---------- Category Load More Button ---------- */
.vh-load-more-cat-wrap {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  margin-top: 32px;
  margin-bottom: 24px;
}

/* ----- Mobile Responsive Fixes for Video Hub Banner ----- */
@media (max-width: 768px) {
  .vh-banners-carousel-wrapper {
    height: auto !important;
    min-height: 380px !important;
    max-height: none !important;
  }
  .vh-banner-slide-content {
    padding: 24px !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 15px !important;
  }
  .vh-banner-text-content {
    max-width: 100% !important;
    align-items: center !important;
  }
  .vh-banner-text-content h2 {
    font-size: 22px !important;
    margin-bottom: 8px !important;
    line-height: 1.3 !important;
  }
  .vh-banner-text-content p {
    font-size: 14px !important;
    margin-bottom: 16px !important;
    line-height: 1.4 !important;
  }
  .vh-banner-buttons {
    justify-content: center !important;
  }
  .vh-banner-right-image {
    max-width: 60% !important;
    margin-top: 10px !important;
    justify-content: center !important;
  }
  .vh-banner-right-image img {
    max-height: 120px !important;
  }
}

@media (max-width: 480px) {
  .vh-banners-carousel-wrapper {
    min-height: 350px !important;
  }
  .vh-banner-slide-content {
    padding: 15px !important;
  }
  .vh-banner-text-content h2 {
    font-size: 18px !important;
  }
  .vh-banner-text-content p {
    font-size: 13px !important;
  }
  .vh-banner-right-image {
    max-width: 80% !important;
  }
  .vh-banner-right-image img {
    max-height: 100px !important;
  }
  .vh-header {
    padding: 24px 15px 15px 15px !important;
  }
  .vh-title {
    font-size: 32px !important;
    line-height: 36px !important;
  }
}

/* Fix for banner collapsing on mobile */
@media (max-width: 768px) {
  .vh-banner-slide-content {
    position: relative !important;
    height: auto !important;
  }
}

/* Additional fix for banner background stretching */
@media (max-width: 768px) {
  .vh-banner-slide {
    min-height: 380px !important;
  }
  .vh-banner-slide-content {
    min-height: 380px !important;
  }
}
@media (max-width: 480px) {
  .vh-banner-slide {
    min-height: 350px !important;
  }
  .vh-banner-slide-content {
    min-height: 350px !important;
  }
}

/* Fix overflowing tags on mobile */
@media (max-width: 480px) {
  .vh-pill-btn {
    white-space: normal !important;
    height: auto !important;
    padding: 8px 16px !important;
    text-align: center;
  }
  
  .vh-section__label {
    min-height: 56px !important;
    height: auto !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    white-space: normal !important;
  }
}
