body {
  /* THIS is not a good way to handle this, and a proper refactoring needs to be performed
    This allows bigger images of media on listings for large screens
    It would be great to adapt to other sizes, but this requires a good refaftoring
     */

  @media screen and (min-width: 2200px) {
      --default-item-width: 342px !important;
      --default-max-item-width: 342px !important;
      --default-item-margin-right-width: 17px !important;
      --default-item-margin-bottom-width: 27px !important;
  }
}


/* 1. Override base green theme variables for text, links, and borders */
body,
body.dark_theme {
  --default-theme-color: #6a11cb; /* Purple fallback for text, icons, and links */
  --default-brand-color: #2575fc; /* Blue accent for secondary highlights */
}

/* 2. Apply the purple-to-blue gradient to primary buttons and badges */
button.primary,
.button-primary,
.hw-button.primary,
.upload-button,
.subscribe-button,
.tag-item.active,
.vjs-play-progress,
.vjs-volume-level {
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%) !important;
  border-color: transparent !important;
  color: #ffffff !important;
}

/* 3. Subtle hover state shift for gradient buttons */
button.primary:hover,
.button-primary:hover,
.upload-button:hover,
.subscribe-button:hover {
  background: linear-gradient(135deg, #590eb0 0%, #1d63dc 100%) !important;
}

/* 4. Gradient text effect for active navigation links and brand accents */
.page-sidebar .nav-item.active a,
.page-sidebar .nav-item.active i {
  color: #6a11cb !important;
}

body.dark_theme .page-sidebar .nav-item.active a,
body.dark_theme .page-sidebar .nav-item.active i {
  color: #8a4fff !important; /* Slightly brighter purple for dark mode readability */
}
