.cards-mag {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  column-gap: 2rem;
  row-gap: 3rem;
}

.archive-categories-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  background-color: var(--bg-neutral-200);
  border-radius: 2.4rem;
  padding: min(3.6rem, 4vw);
  flex-wrap: wrap;
  margin-bottom: 3.2rem;
}

.archive-categories-wrapper b i {
  color: var(--c-primary);
  font-size: 2.3rem;
  margin-left: 0.6rem;
}

.category-list {
  display: flex;
  flex-wrap: wrap;
  column-gap: 3rem;
  row-gap: 0.5rem;
  font-size: var(--fs-18);
  font-weight: bold;
}

.category-list a:hover {
  color: var(--c-primary);
}

#more-tax-desc {
  margin: 0 var(--space-md-x);
  padding: 2rem;
  border: 1px solid var(--c-primary);
  border-radius: 2.4rem;
  padding: 3.6rem min(3.6rem, 4vw);
  line-height: 2;
  background-color: var(--bg-white-100);
  position: relative;
}

#more-tax-desc::before {
  content: "";
  position: absolute;
  left: -1.5rem;
  right: -1.5rem;
  height: 71%;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-primary-250);
  z-index: -1;
  border-radius: 2rem;
  pointer-events: none;
}

#more-tax-desc>.title {
  font-size: var(--fs-20);
  font-weight: bold;
}

/* sidebar */
.sidebar-btn-blog {
  display: flex;
  align-items: center;
  padding: 1.4rem 2.5rem;
  cursor: pointer;
  background-color: var(--bg-neutral-200);
  border-radius: 1.4rem;
  justify-content: space-between;
  position: relative;
  margin-bottom: var(--head-space);
  font-weight: bold;
}

.sidebar-btn-blog .icon-cat {
  color: var(--c-primary);
  font-size: 2.5rem;
  margin-left: 0.5rem;
}

.sidebar-blog {
  position: fixed;
  right: -100%;
  top: 0;
  bottom: 0;
  width: 300px;
  transition: all 0.5s;
  z-index: 1;
  background: var(--bg-white-100);
  z-index: 160;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1.5rem 2rem;
}

.sidebar-blog.active {
  right: 0;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--br-neutral-300);
  color: var(--c-primary);
  align-items: center;
  padding-bottom: 1.3rem;
}

.sidebar-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: var(--fs-18);
  font-weight: bold;
}

.sidebar-close {
  font-size: 24px;
  line-height: 1;
  color: var(--text-neutral-700);
  transition: 0.3s;
}

.sidebar-item .cat-item a {
  display: inline-flex;
  align-items: baseline;
  font-size: var(--fs-18);
  padding: 0.5rem 0;
}

.desktop .sidebar-item .cat-item a {
  font-size: var(--fs-15);
}

.sidebar-item .cat-item a:hover {
  color: var(--c-primary);
}

.sidebar-item .cat-js>li>a {
  gap: 1.2rem;
  width: 100%;
  padding: 9px 2rem;
}

.cat-parent>a {
  font-weight: bold;
  padding-left: 6rem !important;
}

.cat-parent {
  position: relative;
}

.sidebar-item .cat-js>li {
  position: relative;
  display: flex;
  justify-content: center;
  flex-direction: column;
  transition: 0.3s;
  line-height: 1.5;
  border-bottom: 1px solid var(--br-neutral-450);
}

.cat-item.no-border {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

.sidebar-item .cat-js>li:last-child {
  border: unset;
  padding-bottom: 0;
}

.sidebar-item .children {
  /* display: none; */
  padding: 1rem 4rem 1rem 0;
  background: var(--bg-neutral-100);
}

.sidebar-item .children>a {
  padding-left: 2rem;
}

.sidebar-item .children>li>.children {
  border-right: 1px solid var(--br-neutral-500);
  padding: 0rem 1.5rem 0rem 0;
  margin: 1rem 0;
}

.caticon {
  cursor: pointer;

  width: 3rem;
  height: 3rem;
  position: absolute;
  left: 2rem;
  top: 7.5px;
  color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex: none;
  background: var(--bg-white-200);
  color: var(--c-neutral-400);
  border: 1px solid var(--br-neutral-400);
  border-radius: 50%;
}

.sidebar-item .children .cat-parent .caticon {
  top: 3px;
}

.sidebar-item .cat-parent.active>.caticon {
  transform: rotateX(180deg);
  color: var(--c-primary);
  border-color: var(--c-primary);
}

.sidebar-item .current-cat>a {
  color: var(--c-primary);
}

/**************************/
/* desktop */
/**************************/
.desktop .caticon {
  width: 2.5rem;
  height: 2.5rem;
  top: 8.5px;
  font-size: 1rem;
}

.desktop .sidebar-item .children .cat-parent .caticon {
  top: 4px;
}

.desktop .cards-mag {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}