.blog-swiper {
  overflow: hidden;
  padding-bottom: 14px;
  margin-bottom: -14px;
}

.post__details-bottom .blog__read-time p {
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  letter-spacing: 0;
  color: var(--grey-600);
}

.blog-swiper__slide a {
  text-decoration: unset;
}

.post-title {
  margin-top: 16px;
  color: #0d1118;
  font-size: 24px;
}

.blog__tag-date {
  display: flex;
  align-items: center;
  gap: 28px;
}

.post-category {
  display: flex;
  gap: 11px;
  flex-wrap: wrap;
}

#primary section.blog {
  background-color: #fefefe;
}

.blog__head {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  margin-bottom: 40px;
  gap: 24px;
}

.blog__head h2 {
  color: var(--black-color);
}

.post-hero {
  position: relative;
  overflow: hidden;
}

.post-hero img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
  max-height: 300px;
  border-radius: 0 !important;
}

.blog-swiper__slide .post-item {
  box-shadow:
    0px 4px 4px 0px #2d60e20d,
    0px 4px 4px 0px #e2e2e21a inset;
  border: 1px solid #f3f5fb;
  box-sizing: border-box;
}

.post-item:hover .post-hero img {
  transform: scale(1.1);
}

.post__details p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #4f4f4f;
}

.blog-swiper {
  overflow: hidden;
}

.blog__button {
  max-width: fit-content;
}

.post-item:hover .post-title {
  color: #1629d6;
}

.swiper-wrapper {
  align-items: stretch;
}

.swiper-slide {
  height: auto;
}

.blog-pagination {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  position: relative !important;
  width: 100% !important;
  max-width: 72px;
  height: 100%;
  justify-content: flex-start;
  z-index: 100 !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  scrollbar-width: none;
}

.blog-pagination::-webkit-scrollbar {
  display: none;
}

.blog-pagination-wrapper {
  margin-top: 40px;
  position: relative;
  display: flex;
  justify-content: center;
}

.blog-pagination .swiper-pagination-bullet {
  min-width: 8px !important;
  min-height: 8px !important;
  max-width: 8px !important;
  max-height: 8px !important;
  background: #cfcfcf !important;
  margin: 0 4px !important;
  outline: none !important;
  flex-shrink: 0;
  opacity: 1 !important;
}

.blog-pagination .swiper-pagination-bullet:first-child {
  margin-left: auto !important;
}

.blog-pagination .swiper-pagination-bullet:last-child {
  margin-right: auto !important;
}

.blog-pagination .swiper-pagination-bullet-active {
  background: #1629d6 !important;
  opacity: 1 !important;
}

@media screen and (min-width: 769px) {
  #primary section.blog {
    padding-top: 60px;
    padding-bottom: 52px;
  }

  .blog-pagination-wrapper {
    display: none !important;
  }
}

@media screen and (max-width: 768px) {
  #primary section.blog {
    padding-top: 40px;
    padding-bottom: 32px;
  }

  .blog__container {
    overflow: hidden;
  }

  .blog-swiper {
    overflow: visible;
  }
}

@media screen and (max-width: 450px) {
  .blog__button {
    width: 100%;
    max-width: unset;
  }
}
