.blog-main {
  padding: 0;
  & > section {
    padding-top: 0px;
  }
}

.news-section-blog {
  background-image: url(../../images/blog/blog-background-news.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: top center;
}

.news-section-blog-wrapper {
  max-width: 1200px;
  margin: 0px auto;
  text-align: center;
  padding: 155px 0 195px;
}

.news-blog-title {
  color: #ffffff;
  text-align: center;
  font-size: 48px;
  font-weight: 700;
  line-height: 150%;
}

.news-blog-subtitle {
  color: #ffffff;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  line-height: 150%;
  position: relative;
  max-width: max-content;
  margin: auto;

  &::before {
    content: "";
    position: absolute;
    border-radius: 20px;
    height: 5px;
    width: 88px;
    top: 15px;
    right: -110px;
    background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.01) 100%);
  }

  &::after {
    content: "";
    top: 15px;
    left: -110px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.01) 0%, #fff 100%);
    position: absolute;
    border-radius: 20px;
    height: 5px;
    width: 88px;
  }
}

.list-of-blogs-section {
  background-image: url(../../images/banknotes.png);
}

.list-of-blogs-wrapper {
  margin: 0px auto;
  padding: 80px 0 60px;
  display: flex;
  max-width: 1200px;
  gap: 60px;
  justify-content: space-between;
  flex-direction: row-reverse;
}

.list-item-of-blogs {
  width: 100%;
  max-width: 360px;
  color: #fff;
  display: block;
  cursor: pointer;

  &:hover .list-subtitle-of-blogs {
    color: #ffffff;
  }
}

.list-img-of-blogs {
  pointer-events: none;
  width: 100%;
}

.list-of-blogs-wrapper .list-title-of-blogs {
  padding: 0;
  margin-top: 24px;
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 700;
  line-height: 150%;
}

.list-of-blogs-wrapper .list-subtitle-of-blogs {
  font-size: 18px;
  font-weight: 400;
  line-height: 150%;
  margin-bottom: 0;
}

@media (max-width: 1200px) {
  .news-section-blog-wrapper {
    padding: 132px 24px 168px;
  }

  .news-blog-title {
    font-size: 42px;
  }

  .news-blog-subtitle {
    font-size: 22px;
  }

  .list-of-blogs-wrapper {
    margin: 64px 24px 0;
    padding-bottom: 56px;
    gap: 32px;
  }

  .list-item-of-blogs {
    max-width: 100%;
  }

  .list-of-blogs-wrapper .list-title-of-blogs {
    margin-top: 20px;
    font-size: 17px;
  }

  .list-of-blogs-wrapper .list-subtitle-of-blogs {
    font-size: 16px;
  }
}

@media (max-width: 992px) {
  .news-section-blog-wrapper {
    padding: 116px 24px 136px;
  }

  .news-blog-title {
    font-size: 38px;
  }

  .news-blog-subtitle {
    font-size: 20px;

    &::before {
      width: 72px;
      right: -88px;
    }

    &::after {
      width: 72px;
      left: -88px;
    }
  }

  .list-of-blogs-wrapper {
    margin: 48px 24px 0;
    gap: 24px;
  }

  .list-of-blogs-wrapper .list-title-of-blogs {
    font-size: 17px;
  }

  .list-of-blogs-wrapper .list-subtitle-of-blogs {
    font-size: 15px;
  }
}

@media (max-width: 1024px) {
  html[lang="ar"] .list-of-blogs-wrapper {
    flex-direction: column-reverse;
  }

  .list-of-blogs-wrapper {
    margin: 40px 24px 0;
    padding-bottom: 52px;
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }

  .list-text-wrapper-of-blogs {
    display: flex;
    flex-direction: column;
  }

  .list-item-of-blogs {
    max-width: 620px;
    display: flex;
    flex-direction: column-reverse;
  }

  .list-of-blogs-wrapper .list-title-of-blogs {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 22px;
  }

  .list-of-blogs-wrapper .list-subtitle-of-blogs {
    margin-bottom: 16px;
    font-size: 17px;
  }

  .list-img-of-blogs {
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(0, 122, 205, 0.5);
  }

  .list-img-of-blogs.arab-last-image {
    padding-bottom: 0;
    border-bottom: none;
  }
}

@media (max-width: 768px) {
  .news-section-blog {
    background-size: cover;
    background-position: center top;
  }

  .news-section-blog-wrapper {
    padding: 104px 20px 104px;
  }

  .news-blog-title {
    font-size: 34px;
    line-height: 140%;
  }

  .news-blog-subtitle {
    font-size: 18px;

    &::before {
      width: 60px;
      right: -74px;
    }

    &::after {
      width: 60px;
      left: -74px;
    }
  }

  html[lang="ar"] .list-of-blogs-wrapper {
    flex-direction: column-reverse;
  }

  .list-of-blogs-wrapper {
    margin: 32px 20px 0;
    padding-bottom: 48px;
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }

  .list-text-wrapper-of-blogs {
    display: flex;
    flex-direction: column;
  }

  .list-item-of-blogs {
    max-width: 560px;
    display: flex;
    flex-direction: column-reverse;
  }

  .list-of-blogs-wrapper .list-title-of-blogs {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 22px;
  }

  .list-of-blogs-wrapper .list-subtitle-of-blogs {
    margin-bottom: 16px;
    font-size: 17px;
  }

  .list-img-of-blogs {
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(0, 122, 205, 0.5);
  }

  .list-img-of-blogs.arab-last-image {
    padding-bottom: 0;
    border-bottom: none;
  }
}

@media (max-width: 576px) {
  .news-section-blog-wrapper {
    padding: 96px 16px 72px;
  }

  .news-blog-title {
    font-size: 30px;
  }

  .news-blog-subtitle {
    font-size: 17px;

    &::before {
      width: 54px;
      right: -68px;
    }

    &::after {
      width: 54px;
      left: -68px;
    }
  }

  .list-of-blogs-wrapper {
    margin: 24px 16px 0;
    gap: 24px;
  }

  .list-of-blogs-wrapper .list-title-of-blogs {
    font-size: 20px;
  }

  .list-of-blogs-wrapper .list-subtitle-of-blogs {
    font-size: 16px;
    margin-bottom: 14px;
  }

  .list-img-of-blogs {
    padding-bottom: 24px;
  }
}

@media (max-width: 430px) {
  .news-section-blog {
    background-size: cover;
    background-image: url(../../images/blog/blog-background-news-mobile.png);
  }

  .news-section-blog-wrapper {
    padding: 90px 0 48px;
  }

  .news-blog-title {
    font-size: 28px;
    margin-bottom: 5px;
  }

  html[lang="fr"] .news-blog-subtitle {
    max-width: 200px;
  }

  .news-blog-subtitle {
    font-weight: 500;
    font-size: 24px;

    &::before {
      width: 50px;
      right: -64px;
    }

    &::after {
      width: 50px;
      left: -64px;
    }
  }

  .list-of-blogs-wrapper {
    margin: 20px 16px 0px;
    padding-bottom: 48px;
    flex-direction: column-reverse;
    gap: 30px;
    align-items: center;
  }

  .list-text-wrapper-of-blogs {
    display: flex;
    flex-direction: column;
  }

  .list-item-of-blogs {
    max-width: 370px;
    display: flex;
    flex-direction: column-reverse;
  }

  .list-of-blogs-wrapper .list-title-of-blogs {
    margin-top: 0;
    font-size: 23px;
  }

  .list-of-blogs-wrapper .list-subtitle-of-blogs {
    margin-bottom: 12px;
  }

  .list-img-of-blogs {
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0, 122, 205, 0.5);
  }

  .list-img-of-blogs.arab-last-image {
    padding-bottom: 0;
    border-bottom: none;
  }
}

@media (max-width: 350px) {
  .news-blog-subtitle {
    &::before {
      right: -54px;
    }
    &::after {
      left: -54px;
    }
  }
}
