/* ========================================
   RESPONSIVE STICKY SIDEBAR
   ======================================== */

@media (min-width: 768px) {
  .sticky-container > .gb-inside-container,
  .sticky-container {
    position: sticky;
    top: 0;
  }

  #right-sidebar .inside-right-sidebar {
    height: 100%;
  }
}

/* ========================================
   CATEGORIES LIST STYLES
   ======================================== */

ul.wp-block-categories-list {
  display: flex;
  flex-direction: column;
  row-gap: 0.3em;
  list-style: none;
  margin-left: 0.1em;
  margin-bottom: 0;
  padding-inline-start: 0;
  border-bottom: 1px solid rgba(168, 168, 168, 0.5);
}

li.cat-item {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(168, 168, 168, 0.5);
  padding: 5px 0;
}

/* Category arrow icon */
li.cat-item a::before {
  content: "\203A";
  margin-right: 5px;
  color: rgba(255, 105, 0, 1);
  font-size: 24px;
  line-height: 0;
}

/* ========================================
   POST COUNT STYLES
   ======================================== */

/* Counter reset for post list */
.most-count {
  counter-reset: my-counter;
}

/* Counter increment for items */
.most-pop,
.most-pop2 {
  counter-increment: my-counter;
  position: relative;
}

/* Circular number badge for most-pop */
.most-pop::before {
  content: counter(my-counter);
  position: absolute;
  left: 0;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* Small badge number for most-pop2 */
.most-pop2::before {
  content: counter(my-counter);
  position: absolute;
  top: -8px;
  left: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 0;
  color: #fff;
  background-color: #ff6900;
  padding: 2px;
  width: 22px;
  height: 22px;
  border: 2px solid #ffffff;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
