/* intro ,pagination,sidebar,moredesc, .... */

.intro-blog {
  overflow: hidden;
  border-radius: 32px;
}

.intro-blog--text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.intro-blog--img {
  position: relative;
}

.intro-blog--img::before {
  content: "";
  display: block;
  position: absolute;
  background-image: linear-gradient(to bottom, var(--color1), transparent);
  inset: 0 0 auto 0;
  height: 70%;
  transform: translateY(-1px);
}

.intro-blog--img img {
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
.intro-blog--innertext {
  margin: auto 0;
}
.intro-blog--innertext .editor-content {
  margin-top: 16px;
}
.more-tax-desc {
  margin-top: 26px;
}
/* sorting */
.archive-sorting {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}
.sorting--btns {
  display: flex;
  background-color: var(--color3);
  align-items: center;
  border-radius: 12px;
  padding: 8px;
  color: var(--color1);
  font-variation-settings: var(--fw-400);
}

.sorting--btns .sort-button {
  min-width: 120px;
  display: flex;
  align-items: center;
  height: 48px;
  justify-content: center;
  text-align: center;
  border-radius: 12px;
  font-size: 14px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.sorting--btns .sort-button:not(.active):hover {
  color: var(--color4);
}
.sort-button.active {
  color: #fff;
  background-color: var(--color1);
}
.archive-count-posts {
  background: var(--color5);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 142px;
  color: var(--color1);
  border-radius: 12px;
  text-align: center;
  font-size: 14px;
}
/* sidebar */
.widget-side {
  box-shadow: 0px 5px 14px rgba(0, 0, 0, 0.06);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  padding-bottom: 15px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.widget_media_image.widget-side {
  border: none;
  padding: 0;
  box-shadow: none;
}
.widget_media_image.widget-side .widget-title {
  display: none;
}
.widget-side img {
  width: 100%;
  border-radius: 22px;
  transition: 0.4s;
}
.widget-side img:is(:hover, :focus) {
  opacity: 0.9;
}
.widget-title {
  background: var(--color1);
  margin: 15px 15px 0 15px;
  border-radius: 8px;
  padding: 17px 20px;
  color: #fff;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.widget-title::after {
  content: "\e93d";
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "icomoon";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #fff;
  background-color: #ffffff5d;
  font-size: 9px;
}
.widget-title.active::after {
  content: "\e939";
}
.widget-side > ul > li {
  margin: 0 28px;
  padding: 15px 0;
  font-size: 14px;
}
.widget-side > ul > li > a:before {
  content: "";
  display: inline-flex;
  margin-left: 9px;
  width: 6px;
  height: 6px;
  border-radius: 100%;
  background: var(--color1);
  transition: 0.3s ease;
}
.widget-side > ul > li:not(:last-of-type) {
  border-bottom: 1px solid #00bfb742;
}
.widget-side ul.children {
  margin-right: 15px;
  padding-top: 15px;
}
.cat-parent {
  position: relative;
}
.children .cat-item {
  font-size: 13px;
  border: none;
  padding-bottom: 10px;
}
.caticon {
  cursor: pointer;
  left: 0;
  top: 20px;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #fff;
  background-color: #00bfb794;
  font-size: 9px;
  transition: all 0.3s;
}
.caticon:hover {
  background-color: var(--color1);
}
.caticon:before {
  content: "\e939";
  font-family: "icomoon";
}
.caticon.active:before {
  content: "\e93d";
}
/* #sidebar .children li a {
  color: #797676;
  transition: 0.3s;
} */
#sidebar .children li a:hover {
  color: var(--color1);
}
/* .sidebar .children li a:before {
  content: "";
  display: inline-flex;
  margin-left: 6px;
  width: 6px;
  height: 6px;
  border-radius: 100%;
  background: #c1c1c1;
  transition: 0.3s ease;
} */
.sidebar .children li a:hover:before {
  background: var(--color1);
}
.children .caticon {
  top: 3px;
}

#sidebar {
  position: fixed;
  right: -100%;
  top: 0;
  bottom: 0;
  transition: all 0.5s;
  background: #fff;
  z-index: 10001;
}

#sidebar.active {
  right: 0;
  overflow-y: auto;
}
#sidebar .sidebar-close {
  display: block;
  width: 25px;
  height: 25px;
  position: relative;
  border: 1px solid var(--danger);
  text-align: center;
  margin: 10px auto 10px 8px;
  color: var(--danger);
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
}

#sidebar a:hover {
  color: var(--color1);
}

#sidebar .cat-parent.active > a {
  color: var(--color1);
}

#sidebar .cat-parent.active > a:before {
  background: var(--color1);
}

#sidebar .current-cat.active > a {
  color: var(--color1);
}

#sidebar .current-cat.active > a:before {
  background: var(--color1);
}
/* 
.children .children {
  padding-right: 10px;
} */

/*table design */

.alert-error {
  border: 1px solid var(--color1);
  padding: 10px;
  border-radius: 8px;
}
/* page number */
.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  font-size: clamp(16px, 0.9643rem + 0.1786vw, 18px);
}
ul.page-numbers {
  margin-top: 1.1rem;
}
.page-numbers li {
  margin: 0 5px;
}
.page-numbers li a,
.page-numbers li span {
  line-height: 1;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color5);
  border-radius: 50%;
  color: var(--color1);
  font-size: 14px;
  font-variation-settings: var(--fw-500);
}
.page-numbers li span.current {
  color: var(--color1);
}
.page-numbers li a:hover {
  color: var(--color1);
}
.next.page-numbers,
.prev.page-numbers {
  width: 30px;
  height: 30px;
  background: #ebebeb;
  color: #000;
  font-size: 17px;
  margin: 0 15px;
}
.page-numbers li span.current,
.page-numbers li a:hover {
  color: #fff;
  background-color: var(--color1);
}
.prev.page-numbers {
  margin-right: 0;
}
.next.page-numbers {
  margin-left: 0;
}
/* more desc */
.blog-content {
  border-radius: 24px;
  padding: min(48px, 7vw);
  background: #f2f2f2;
  overflow: hidden;
}
.blog-content__title {
  margin-bottom: 16px;
  position: relative;
}
.blog-content__title:before {
  content: "";
  position: absolute;
  background: var(--color1);
  width: 100%;
  height: 9px;
  left: calc(100% + 10px);
  top: 50%;
  transform: translate(0%, -50%);
  pointer-events: none;
}
/* sidebar  btn */
.filter--btns {
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
}
.filter--btns button {
  all: unset;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 100px;
  justify-content: center;
  text-align: center;
  flex: 1;
}
.filter--btns button i {
  font-size: 18px;
  vertical-align: middle;
}
.filter--btns .sep {
  background-color: #e2e2e2;
  margin: 0 20px;
  height: 32px;
  width: 1px;
  display: block;
}

/* breakpoints */
@media (max-width: 991.9px) {
  .intro-blog--innertext .editor-content {
    text-align: center;
  }
  .sorting--btns {
    position: fixed;
    bottom: -100%;
    z-index: 10001;
    width: 100%;
    flex-direction: column;
    right: 0;
    left: 0;
    border-radius: 12px 12px 0 0;
    transition: 0.3s ease;
  }
  .sorting--btns.active {
    bottom: 0;
  }
  .sorting--btns .sort-button {
    min-width: 100%;
  }
}
@media (min-width: 1200px) {
  .sorting--btns .sort-button {
    min-width: 167px;
  }
}
@media (min-width: 992px) {
  .more-tax-desc {
    margin-top: 56px;
  }
  .next.page-numbers,
  .prev.page-numbers {
    width: 38px;
    height: 38px;
  }
  .page-numbers li a,
  .page-numbers li span {
    line-height: 1;
    width: 48px;
    height: 48px;
  }
  /*.intro-blog--text {*/
  /*  padding: 75px 70px 100px 90px;*/
  /*  text-align: right;*/
  /*  align-items: unset;*/
  /*}*/
  .intro-blog--img::before {
    background-image: linear-gradient(to left, var(--color1), transparent);
    inset: 0 0 0 auto;
    width: 70%;
    height: 100%;
    transform: translateX(1px);
  }
  .intro-blog--img {
    flex: none;
    width: 43%;
  }
  .intro-blog {
    display: flex;
  }
  .filter--btns,
  .filter-btn,
  .sidebar-btn {
    display: none;
  }

  #sidebar {
    position: unset;
    right: auto;
    overflow-y: unset;
    background: transparent;
  }
  #sidebar .sidebar-close {
    display: none;
  }
  @media (min-width: 768px) {
  }
  @media (min-width: 576px) {
  }
}
