
      /* =============================category-slider================================ */

.category-slider {
    .blog-slider {
      width: 100%;
      position: relative;
      max-width: 900px;
      margin: auto;
      background: #fff;
      box-shadow: 0px 14px 80px rgba(34, 35, 58, 0.2);
      padding: 25px;
      border-radius: 25px;
      height: 400px;
      transition: all 0.3s;
    }
    @media screen and (max-width: 992px) {
      .blog-slider {
        max-width: 680px;
        height: 400px;
      }
    }
    @media screen and (max-width: 768px) {
      .blog-slider {
        min-height: 500px;
        height: auto;
        margin: 180px auto;
      }
    }
    @media screen and (max-height: 500px) and (min-width: 992px) {
      .blog-slider {
        height: 350px;
      }
    }
    .blog-slider__item {
      display: flex;
      align-items: center;
      flex-direction: row; /* 默认 LTR */
    }
    /* تعديل التنسيق للأجهزة التي تستخدم RTL */
    body[dir="rtl"] .blog-slider__item {
      flex-direction: row-reverse; /* لتغيير ترتيب العناصر في RTL */
    }

    @media screen and (max-width: 768px) {
      .blog-slider__item {
        flex-direction: column;
      }
    }

    .blog-slider__item.swiper-slide-active .blog-slider__img img {
      opacity: 1;
      transition-delay: 0.3s;
    }

    .blog-slider__item.swiper-slide-active .blog-slider__content > * {
      opacity: 1;
      transform: none;
    }

    .blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(1) {
      transition-delay: 0.3s;
    }

    .blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(2) {
      transition-delay: 0.4s;
    }

    /* تحديث الـ img و .blog-slider__img للعمل مع الاتجاهين */
    .blog-slider__img {
      width: 300px;
      flex-shrink: 0;
      height: 300px;
      transform: translateX(80px);
      overflow: hidden;
      transition: transform 0.3s ease-in-out;
    }

    /* عند استخدام RTL (من اليمين لليسار) */
    body[dir="rtl"] .blog-slider__img {
      transform: translateX(-80px); /* معكوس بالنسبة للـ RTL */
    }

    .blog-slider__img:after {
      content: "";
      position: absolute;
      top: 0;
      right: 0;
      width: 100%;
      height: 100%;
      border-radius: 20px;
      opacity: 0.8;
    }

    .blog-slider__img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      opacity: 0;
      border-radius: 20px;
      transition: all 0.3s;
    }

    @media screen and (max-width: 768px) {
      .blog-slider__img {
        transform: translateY(-50%);
        width: 90%;
      }
    }

    @media screen and (max-width: 576px) {
      .blog-slider__img {
        width: 95%;
      }
    }

    @media screen and (max-height: 500px) and (min-width: 992px) {
      .blog-slider__img {
        height: 270px;
      }
    }

    .blog-slider__content {
      padding-right: 25px;
    }

    @media screen and (max-width: 768px) {
      .blog-slider__content {
        margin-top: -80px;
        text-align: center;
        padding: 0 30px;
      }
    }

    @media screen and (max-width: 576px) {
      .blog-slider__content {
        padding: 0;
      }
    }

    .blog-slider__content > * {
      opacity: 0;
      transform: translateY(25px);
      transition: all 0.4s;
    }

    .blog-slider__code {
      color: #7b7992;
      margin-bottom: 15px;
      display: block;
      font-weight: 500;
    }

    .blog-slider__title {
      font-size: 24px;
      font-weight: 700;
      color: #0d0925;
      margin-bottom: 20px;
    }

    .blog-slider__text {
      color: #4e4a67;
      margin-bottom: 30px;
      line-height: 1.5em;
    }

    .blog-slider__button {
      display: inline-flex;
      background-image: linear-gradient(147deg, #fe8a39 0%, #fd3838 74%);
      padding: 15px 35px;
      border-radius: 50px;
      color: #fff;
      box-shadow: 0px 14px 80px rgba(252, 56, 56, 0.4);
      text-decoration: none;
      font-weight: 500;
      justify-content: center;
      text-align: center;
      letter-spacing: 1px;
    }

    @media screen and (max-width: 576px) {
      .blog-slider__button {
        width: 100%;
      }
    }

    .blog-slider .swiper-container-horizontal > .swiper-pagination-bullets,
    .blog-slider .swiper-pagination-custom,
    .blog-slider .swiper-pagination-fraction {
      bottom: 10px;
      right: 0;
      width: 100%;
    }

    .blog-slider__pagination {
      position: absolute;
      z-index: 21;
      left: 20px !important;
      width: 11px !important;
      text-align: center;
      right: auto !important;
      top: 50%;
      bottom: auto !important;
      transform: translateY(-50%);
    }

    @media screen and (max-width: 768px) {
      .blog-slider__pagination {
        /* transform: translateX(-50%);
        left: 50% !important; */
        top: 205px;
        width: 100% !important;
        display: flex;
        justify-content: center;
        align-items: center;
      }
    }

    .blog-slider__pagination.swiper-pagination-bullets .swiper-pagination-bullet {
      margin: 8px 0;
    }

    @media screen and (max-width: 768px) {
      .blog-slider__pagination.swiper-pagination-bullets .swiper-pagination-bullet {
        margin: 0 5px;
      }
    }

    .blog-slider__pagination .swiper-pagination-bullet {
      width: 11px;
      height: 11px;
      display: block;
      border-radius: 10px;
      background: #062744;
      opacity: 0.2;
      transition: all 0.3s;
    }

    .blog-slider__pagination .swiper-pagination-bullet-active {
      opacity: 1;
      background: #fd3838;
      height: 30px;
      box-shadow: 0px 0px 20px rgba(252, 56, 56, 0.3);
    }

    @media screen and (max-width: 768px) {
      .blog-slider__pagination .swiper-pagination-bullet-active {
        height: 11px;
        width: 30px;
      }
    }
  }

        /* =============================category-slider================================ */

    .slick-next {
        left: 10px !important;
    }
    .slick-prev {
        right: 10px !important;
    }
/* Style for the container */
.w-lg-200px {
  max-width: 200px;
  margin: auto;
}

/* General styling for the select box */
.custom-select {
  border: 1px solid #dee2e6;
  background-color: #f8f9fa;
  padding: 8px 12px;
  font-size: 14px;
  color: #495057;
  border-radius: 5px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  appearance: none; /* Removes default browser styling */
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" fill="%236c757d" viewBox="0 0 4 5"><path d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px 12px;
}

/* On hover and focus */
.custom-select:hover,
.custom-select:focus {
  border-color: #80bdff;
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Responsive design */
@media (max-width: 768px) {
  .w-lg-200px {
      max-width: 100%;
  }

  .custom-select {
      font-size: 12px;
  }
}