/* ===========================
   SIDEBAR
=========================== */

.site-sidebar {
  width: 230px;
  flex-shrink: 0;

  padding: 18px;

  background: #102b41;

  border-right: 1px solid #475b5f;

  min-height: 100vh;
}

.sidebar-section {
  margin-bottom: 28px;
}

.sidebar-heading {
  font-size: 12px;

  color: #8aa6b3;

  text-transform: uppercase;

  letter-spacing: 1px;

  margin-bottom: 10px;

  padding-left: 14px;
}

.sidebar-nav {
  display: flex;

  flex-direction: column;

  gap: 4px;
}

/* Links */

.sidebar-nav .nav-link {
  display: flex;

  align-items: center;

  justify-content: space-between;

  padding: 10px 14px;

  border-radius: 10px;

  color: #acdde7;

  transition: 0.2s;

  text-decoration: none;
}

/* Left side */

.sidebar-nav .nav-link i {
  width: 22px;

  text-align: center;

  margin-right: 12px;
}

/* Latest Videos */

.sidebar-nav .nav-link span:first-of-type {
  flex: 1;
}

/* Hover */

.sidebar-nav .nav-link:hover {
  background: #183d5a;

  color: #fff;
}

/* Active */

.sidebar-nav .active {
  background: rgba(255, 255, 255, 0.08);

  border-left: 4px solid #b90000;
}

/* Category Count */

.category-count {
  color: #8aa6b3;

  font-size: 13px;
}

/* Separator */

.site-sidebar hr {
  border-color: #475b5f;

  margin: 20px 0;
}

/* ===========================
   MOBILE SIDEBAR
=========================== */

.sidebar-toggle {
  display: none;
}

@media (max-width: 991px) {
  .site-sidebar {
    position: fixed;

    top: 0;
    left: -260px;

    width: 250px;
    height: 100vh;

    z-index: 1100;

    transition: left 0.25s ease;

    overflow-y: auto;
  }

  .site-sidebar.show {
    left: 0;
  }

  .sidebar-toggle {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    border: none;
    background: transparent;

    color: #acdde7;

    font-size: 22px;

    cursor: pointer;
  }

  .sidebar-overlay {
    display: none;

    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, 0.45);

    z-index: 1090;
  }

  .sidebar-overlay.show {
    display: block;
  }
}

.sidebar-toggle {
  display: none;
}

.sidebar-overlay {
  display: none;
}

@media (max-width: 991px) {
  .sidebar-toggle {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    border: none;

    background: transparent;

    color: #acdde7;

    font-size: 22px;

    margin-right: 12px;

    cursor: pointer;
  }

  .site-sidebar {
    position: fixed;

    top: 0;
    left: -250px;

    width: 250px;
    height: 100vh;

    z-index: 1100;

    transition: left 0.25s ease;
  }

  .site-sidebar.show {
    left: 0;
  }

  .sidebar-overlay.show {
    display: block;

    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, 0.45);

    z-index: 1090;
  }
}
