.main-section__filter-title {
  font-size: var(--font-size-1);
  font-weight: 500;
  color: #000000;
  margin-left: 8px;
}

.radio-label {
  margin: 0 3px;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  cursor: pointer;
}

.radio-label.active {
  border-radius: 13px;
  color: #fff;
  padding: 3px 4px;
  text-align: center;
}

input[type='radio'] {
  opacity: 0;
  visibility: hidden;
  display: none;
}

.blogs__tab__wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1rem;
  flex-wrap: nowrap;
  background-color: #f1f2f5;
  border-radius: 7px;
}

.tab-label {
  white-space: nowrap;
  font-size: 1rem;
  font-weight: normal;
  color: var(--mainBlack);
  display: flex;
  align-items: center;
  gap: 0 5px;
}
.blogs__tab__buttons {
  display: grid;
  /* grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); */
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  gap: 1rem;
  flex: 1;
}
.blogs__tab__buttons.scrollable-tabs {
  display: flex !important;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  gap: 1rem;
  flex: 1;
  padding-bottom: 10px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; 
  scrollbar-color: #ee264f transparent;
}
.blogs__tab__buttons::-webkit-scrollbar {
  height: 4px; 
}
.blogs__tab__buttons::-webkit-scrollbar-thumb {
  background-color: #ee264f;
  border-radius: 10px;
}
.blogs__tab__buttons::-webkit-scrollbar-track {
  background: transparent;
}
/* .blogs__tab__buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  align-items: center;
  justify-content: space-between;
  border: 2px solid #f1f2f5;
  border-radius: 7px;
  overflow: hidden;
} */
/* .blogs__tab__buttons.scrollable-tabs {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  border: none;
  border-radius: 0;
} */
.blogs__tab__buttons::-webkit-scrollbar {
  height: 6px;
}
.blogs__tab__buttons::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

.blogs__tab__btn {
  padding: 12px 18px;
  background-color: var(--mainWhite);
  border: none;
  cursor: pointer;
  font-size: 15px;
  color: #2d394b;
  transition: 0.3s ease;
  white-space: nowrap;
  border-radius: 6px;
  text-align: center;
}
.blogs__tab__btn.active {
  color: var(--mainWhite);
  background-color: var(--primary-color);
}
.blogs__tab__content {
  display: none;
}
.blogs__tab__content.active {
  display: block;
}

.blogs__banners img {
  border-radius: 10px;
}
.blogs__videos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}
.blog__video__item {
  border-radius: 10px;
  background-color: var(--mainWhite);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 1rem;
  border: 1px solid #f1f2f5;
  cursor: pointer;
  transition: var(--mainTransition);
}
.blog__video__item:hover {
  transform: translateY(-3px);
  box-shadow: 10px 10px 30px 0 rgba(0, 0, 0, 0.1);
}
.blog__video__item img {
  width: 100%;
  border-radius: 8px;
}
.blog__video__item svg {
  position: absolute;
}

/* ------------------------- sidebar -------------------------- */
.side-category__title {
  margin-bottom: 15px;
  font-size: 18px;
  color: var(--primary-color);
  display: table;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 10px;
  min-width: 190px;
}

.side-category__list-item a {
  font-size: 14px;
  color: #9fa2a3;
  line-height: 35px;
}

.side-category__list-item a::before {
  content: ' ';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--primary-color);
  display: inline-block;
  vertical-align: middle;
  margin-left: 5px;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.side-category__list-item:hover a {
  color: var(--primary-color);
}

.side-category {
  padding: 16px 16px 50px;
  position: sticky;
  /* top: 15px; */
  top: 170px;
  border-radius: 20px;
  background: #ffffff;
  -webkit-box-shadow: 0 5px 20px 0 #d8d8d8;
  box-shadow: 0 5px 20px 0 #d8d8d8;
}

.tags-list {
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 16px;
}

.tags-list__item a {
  font-weight: 400;
  font-size: 13px;
  color: #9fa2a3;
  text-decoration: underline;
}

.tags-list__item a:hover {
  color: var(--primary-color);
}

.side-category__img-wrapper {
  text-align: center;
}

.side-category__img-wrapper img {
  border-radius: 17px;
}

/* ----------------------- blogs ------------------- */
.single-blog__text h3 {
  color: var(--primary-color);
  font-weight: bold;
  margin: 2rem 0 0.2rem;
}

@media (max-width: 576px) {
  .single-blog__text h3 {
    font-size: 18px;
  }
}

.single-blog__text p {
  font-size: 16px;
  font-weight: 300;
  margin-bottom: 30px;
  line-height: 30px;
  color: var(--color-text);
  text-align: justify;
}

.single-blog__text ul,
.single-blog__text ul li,
.single-blog__text ul,
.single-blog__text ul li {
  font-size: unset;
  color: var(--primary-color);
}

.single-blog__text ul {
  margin: 10px;
}

.single-blog__text ul li {
  list-style-position: inside;
  list-style-type: disc;
  margin-bottom: 8px;
}

.single-blog__text ol {
  list-style: decimal;
  padding-right: 1rem;
  margin-bottom: 30px;
}
.single-blog__text ol li {
  list-style: decimal;
  margin-bottom: 8px;
}

.single-blog__text img {
  max-width: 100%;
}

.single-blog__text * {
  font-size: 19px;
  font-weight: 300;
}

.single-blog__img img {
  max-width: 100%;
  border-radius: 27px;
  -webkit-filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.1));
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.1));
}

.more {
  background-color: var(--primary-color);
  padding: 10px 30px;
  color: #fff;
  border-radius: 50px;
  margin: auto;
  display: table;
  font-size: 23px;
  min-width: 230px;
  font-weight: 600;
  transition: all 0.3s;
}

.more:hover {
  box-shadow: 0 10px 20px var(--color-three);
}

.single-blog__sidebar {
  position: sticky;
  /* top: 15px; */
  top: 170px;
}

.single-blog__sidebar-top {
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 2px dashed #9fa2a3;
}

.single-blog__top-image img {
  border-radius: 27px;
  margin-bottom: 20px;
  width: 100%;
  max-width: 500px;
}

/* ---------------------------------------- comment-section ----------------------- */
.comments__section {
  position: relative;
  height: 100%;
  padding: 1rem;
  border-radius: 30px;
  /* border: 0.5px solid var(--secondary-color); */
  background: #ffffff;
  -webkit-box-shadow: 0 5px 20px 0 #d8d8d8;
  box-shadow: 0 5px 20px 0 #d8d8d8;
}

.comments__section-title {
  color: var(--color-text);
  text-align: center;
}

.comment-item {
  max-width: 450px;
  margin: 0 auto;
}

.comment-item__img {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

.comment-item__author {
  font-weight: 500;
  color: var(--primary-color);
  font-size: 20px;
  text-align: center;
}

.comment-item__text {
  color: #616364;
  font-size: var(--font-size-1);
  line-height: 20px;
  text-align: justify;
  text-align-last: center;
}

.comments__section .owl-stage {
  display: flex;
}

.comments__section .owl-stage-outer {
  overflow: hidden;
}

.owl-item.bg-white .comment-item {
  background-color: #fff;
  border-bottom: 6px solid;
}

.comments__section .owl-nav {
  display: flex;
  justify-content: center;
}

.comments__section .owl-nav button {
  width: 53px;
  height: 53px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
}

/* .comments__section .owl-nav button.disabled{
    background-color: #fff;
} */
/* .owl-item.active:nth-child(2){
    background-color: #fff;
} */
/* ---------------------------------------- comment-section ----------------------- */

/* ------------------------------------------- comment-send ------------------------- */
.comment-send__wrapper .comments__section-title {
  margin-bottom: 25px;
}

.comment-send__wrapper {
  position: relative;
  padding: 16px 16px 16px;
  border-radius: 20px;
  /* border: 0.5px solid var(--secondary-color); */
  background: #ffffff;
  -webkit-box-shadow: 0 5px 20px 0 #d8d8d8;
  box-shadow: 0 5px 20px 0 #d8d8d8;
}

.form__textarea {
  min-height: 180px;
  resize: none;
}

.form__send-btn {
  border: 0;
  min-width: 150px;
  display: table;
  margin: auto;
  font-size: 18px;
  cursor: pointer;
  height: 48px;
}

.form__star {
  color: var(--primary-color);
  font-size: 20px;
}

/* ------------------------------------------- comment-send ------------------------- */
.side-category__img-wrapper .owl-stage {
  display: flex;
}

.side-category__img-wrapper .owl-stage-outer {
  overflow: hidden;
}

.side-category__img-wrapper .owl-nav {
  display: none;
}

.side-category__img-wrapper .owl-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  margin: 0 2px;
}

/* ----------------------------------------- writer section */

.writer__logo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  padding: 20px;
  box-shadow: 0 0 20px rgba(15, 115, 132, 0.8);
  margin-left: 30px;
  flex-shrink: 0;
}

@media only screen and (max-width: 1200px) {
  .blog__image-wrapper {
    height: auto;
  }

  .more {
    margin: 40px auto;
  }
}

@media only screen and (max-width: 992px) {
  .side-category {
    top: 70px;
  }

  .writer__logo {
    display: none;
  }
}

@media only screen and (max-width: 768px) {
  .blogs__tab__wrapper {
    flex-direction: column;
    align-items: self-start;
  }
  .blogs__tab__buttons.scrollable-tabs {
    max-width: 100%;
  }
  .single-blog__top-image img {
    display: block;
  }

  .single-blog__sidebar-top {
    display: none;
  }

  .writer__logo {
    display: none;
  }
}

@media only screen and (max-width: 576px) {
  .blogs__videos {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .main-section__header {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 5px;
  }

  .main-section__filter-title {
    display: block;
    text-align: center;
    margin-bottom: 10px;
  }

  .more {
    width: 80%;
    min-width: auto;
    font-size: 20px;
  }

  .comment-send__wrapper {
    padding: 10px;
  }

  .download-box__wrapper svg {
    width: 36px;
    height: 36px;
  }

  .download-box__wrapper .main-btn {
    min-width: auto;
    font-size: 14px;
  }

  .link__wrapper {
    justify-content: center;
  }

  .comment-item {
    padding: 20px 16px;
    border: none;
  }

  .comments__section {
    padding: 16px;
  }
}

.blogs-blog .blog-content {
  width: auto;
}

.blogs-blog .blog-image {
  flex-shrink: 0;
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23EC1F27' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23EC1F27' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3e%3c/svg%3e");
}

.carousel-control-next {
  margin-left: -30px;
}

.carousel-control-prev {
  margin-right: -30px;
}

/*--------------------swiper--------------------*/
.swiper {
  width: 100%;
  height: 85%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.articles .article-card-parent {
  margin-bottom: 1.5rem;
}

/* --------------------------------------------------- */
.blog__post__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.sidebar__section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-bottom: 1rem;
}
.sidebar__section * {
  transition: var(--mainTransition);
}
.sidebar__box {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  background-color: #f1f2f5;
  border-radius: 10px;
}
.sidebar__box__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  color: var(--mainBlack);
  font-size: 1rem;
}
.share__items__parent {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 1rem;
  justify-content: space-between;
  justify-items: center;
}
.share__item {
  padding: 12px;
  border: 2px solid var(--primary-color);
  width: max-content;
  border-radius: 5px;
  background-color: transparent;
  cursor: pointer;
}
.share__item:hover {
  background-color: var(--primary-color);
}
.share__item:hover svg path {
  stroke: var(--mainWhite);
}
.posts__suggested__parent {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.posts__suggested__item {
  background-color: var(--mainWhite);
  width: 100%;
  padding: 1rem;
  border-radius: 8px;
  display: flex;
  gap: 1rem;
  align-items: center;
}
.posts__suggested__name {
  font-size: 15px;
  color: var(--mainBlack);
  flex: 1;
  line-height: 2;
}
.posts__suggested__item .img__parent {
  position: relative;
  width: max-content;
}
.posts__suggested__item .img__parent img {
  width: 100%;
  max-width: 60px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 6px;
}
.posts__suggested__item .img__parent .hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, #ee264ebd);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  border-radius: 7px;
  pointer-events: none;
}
.posts__suggested__item:hover .img__parent .hover-overlay {
  opacity: 1;
}
.blog__product__slider__item {
  background-color: var(--mainWhite);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
}
.blog__product__slider__item:hover .blog__product__slider__name {
  color: var(--primary-color);
}
.blog__product__slider__item .img-parent {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
}
.blog__product__slider__item img {
  border-radius: 7px;
  width: 100%;
  object-fit: contain;
  height: auto;
}
.blog__product__slider__item .blog__product__slider__name {
  margin: 0;
  font-size: 15px;
  color: var(--mainBlack);
  font-weight: normal;
  transition: var(--mainTransition);
}
.customersSlider_btns {
  padding: 1rem 0 !important;
  direction: ltr;
}
.blogProductsSlider_btns .swiper-pagination {
  width: max-content !important;
  margin: 0 auto !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  top: 0 !important;
  position: relative !important;
  align-items: center;
  display: flex;
}
.blogProductsSlider_btns .swiper-pagination-bullet {
  background-color: transparent;
  width: 12px;
  height: 12px;
  border-radius: 20px;
  margin: 0 2px !important;
  border: 1px solid var(--primary-color);
  opacity: 1;
  transition: var(--mainTransition);
}
.blogProductsSlider_btns .swiper-pagination-bullet-active {
  background-color: var(--primary-color);
  opacity: 1;
  width: 28px;
}
.blogProductsSlider .blogProductsSliderItem {
  direction: rtl;
}

.blog__post__content * {
  transition: var(--mainTransition);
}
.blog__post__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.blog__post__content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--mainBlack);
  text-align: justify;
  margin: 0;
}
.blog__post__content h1,
.blog__post__content h2,
.blog__post__content h3,
.blog__post__content h4,
.blog__post__content h5,
.blog__post__content h6 {
  color: var(--mainBlack);
  margin: 0;
  line-height: 1.7;
}
.blog__post__content h1 {
  font-size: 1.5rem;
  font-weight: bold;
}
.blog__post__content h2 {
  font-size: 1.35rem;
  font-weight: bold;
}
.blog__post__content h3 {
  font-size: 1.25rem;
}
.blog__post__content h4 {
  font-size: 1.1rem;
}
.blog__post__content h5 {
  font-size: 1rem;
}
.blog__post__content h6 {
  font-size: 0.9rem;
}
.blog__post__keywords {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.blog__post__keywords .keywords__title__parent {
  position: relative;
  display: flex;
  align-items: center;
}
.blog__post__keywords .keywords__title__parent::after {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: 1px;
  background-color: #f1f2f5;
}
.blog__post__keywords .keywords__title {
  position: relative;
  z-index: 1;
  padding-left: 0.5rem;
  display: flex;
  align-items: center;
  background-color: var(--mainWhite);
  font-size: 15px;
  gap: 5px;
  color: var(--mainBlack);
}
.keyword__tags {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.keyword__tag {
  background-color: #f1f2f5;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  color: var(--mainBlack);
}
.keyword__tag:hover {
  background-color: var(--primary-color);
  color: var(--mainWhite) !important;
}

/* banner */
.blog__post__content .banner__discount__parent .banner__products {
  grid-template-columns: repeat(3, 1fr);
}
/* Lists */
.blog__post__content ul,
.blog__post__content ul li,
.blog__post__content ol,
.blog__post__content ol li {
  font-size: unset;
  color: var(--mainBlack);
}
.blog__post__content ul {
  margin: 0;
}
.blog__post__content ul li {
  list-style-position: inside;
  list-style-type: disc;
  margin: 10px 0;
}

.blog__post__content ol {
  list-style: decimal;
  padding-right: 1rem;
  margin: 0;
}
.blog__post__content ol li {
  list-style: decimal;
  margin: 10px 0;
}

/* Links */
.blog__post__content a.link {
  color: var(--mainBlack);
  text-decoration: underline;
  transition: var(--mainTransition);
}

.blog__post__content a:hover {
  color: var(--primary-color);
}

/* Blockquote */
.blog__post__content blockquote {
  border-right: 4px solid var(--primary-color);
  padding: 1rem;
  margin: 0;
  background-color: #f1f2f5;
  color: var(--color-text);
  font-style: italic;
}

/* Code */
.blog__post__content code {
  background-color: #f1f2f5;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: monospace;
  color: var(--mainBlack);
}

.blog__post__content pre {
  background-color: #f1f2f5;
  padding: 1rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 0;
  font-family: monospace;
}

/* Tables */
.blog__post__content .table__parent {
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-color: #f1f2f5 transparent;
}

.blog__post__content .table__parent::-webkit-scrollbar {
  height: 8px;
}

.blog__post__content .table__parent::-webkit-scrollbar-track {
  background: transparent;
}

.blog__post__content .table__parent::-webkit-scrollbar-thumb {
  background-color: #f1f2f5;
  border-radius: 4px;
  border: 1px solid #ccc;
}
.blog__post__content table {
  width: 100%;
  border-collapse: collapse;
}

.blog__post__content table th,
.blog__post__content table td {
  border: 1px solid #f1f2f5;
  padding: 0.75rem;
  text-align: center;
  white-space: nowrap;
}

.blog__post__content table th {
  background-color: var(--mainBlack);
  font-size: var(--font-size-3);
  font-weight: bold;
  color: var(--mainWhite);
}

.blog__post__content table td {
  font-size: var(--font-size-2);
}

.blog__post__content table tr:nth-child(even) {
  background-color: #f1f2f5;
}

.blog__post__content .post__product__card {
  background-color: var(--mainBlack);
  display: flex;
  padding: 1rem;
  gap: 1rem;
  border-radius: 10px;
}
.post__product__card img {
  width: 100%;
  max-width: 100px;
  border-radius: 7px;
}
.post__product__card .post__product__name {
  color: var(--mainWhite);
  font-size: 1.1rem;
}
.post__product__card:hover .post__product__name {
  color: var(--primary-color);
}
.post__product__card .arrow__parent {
  padding: 12px;
  background-color: var(--mainWhite);
  width: max-content;
  height: max-content;
  border-radius: 7px;
}
.post__product__card:hover .arrow__parent {
  background-color: var(--primary-color);
}
.post__product__card:hover .arrow__parent svg path {
  stroke: var(--mainWhite);
}

/* Images */
.blog__post__content > img,
.blog__post__content .blog__post__image img,
.blog__post__content figure img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  /* width: 100%; */
  object-fit: contain;
}

/* Figcaption */
.blog__post__content figure {
  text-align: center;
}

.blog__post__content figcaption {
  font-size: var(--font-size-1);
  color: var(--color-text);
  margin-top: 0.5rem;
  font-style: italic;
}

/* Horizontal rule */
.blog__post__content hr,
.blog__post__content .h-rule {
  border: none;
  border-top: 2px solid #f1f2f5;
  margin: 0;
}

/* Strong, Em */
.blog__post__content strong {
  font-weight: bold;
  color: var(--mainBlack);
}

.blog__post__content em {
  font-style: italic;
}
@media only screen and (max-width: 768px) {
  .blog__post__content {
    gap: 1rem;
  }
}
@media only screen and (max-width: 576px) {
  .blog__post__content .post__product__card {
    flex-direction: column;
  }
  .post__product__card img {
    max-width: 100%;
  }
}
/* --------------------------------------------------- */
