.cc-recent-posts {
  position: relative;
}

.cc-recent-posts__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
}

.cc-recent-posts__title {
  margin: 0;
  color: #3B2B1E;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1;
}

.cc-recent-posts__archive {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 40px;
  border: 1px solid #8B6749;
  border-radius: 999px;
  color: #8B6749;
  font-size: 16px;
  font-weight: 400!important;
  line-height: 150%;
  text-decoration: none;
  transition:
    transform 0.12s ease,
    opacity 0.12s ease,
    border-color 0.12s ease;
}

.cc-recent-posts__archive:hover {
  transform: translateY(-1px);
  border-color: #8b6749;
}

.cc-recent-posts__slider {
  position: relative;
  padding: 0 38px;
}

.cc-recent-posts__swiper {
  width: 100%;
}

.cc-recent-posts__slide {
  display: flex;
  height: auto;
}

.cc-recent-posts__card {
  width: 100%;
}

.cc-recent-posts__card .vb-blog-card__body {
  gap: 10px;
}

.cc-recent-posts__card .vb-blog-card__title {
  font-size: 24px;
  min-height: calc(1.28em * 2);
  line-height: 140%
}

.cc-recent-posts__card .vb-blog-card__excerpt {
  font-size: 16px;
  line-height: 150%;
  color: #5B4C40;
}

.cc-recent-posts__card .vb-blog-card__meta {
  font-size: 14px;
  gap: 8px;
}

.cc-recent-posts__nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #c7b19f;
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    opacity 0.2s ease,
    color 0.2s ease;
}

.cc-recent-posts__nav:hover {
  color: #8b6749;
}

.cc-recent-posts__nav.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}

.cc-recent-posts__nav--prev {
  left: -10px;
}

.cc-recent-posts__nav--next {
  right: -10px;
}

.cc-recent-posts__pagination-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.cc-recent-posts__pagination {
  position: static !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: auto !important;
  padding: 9px 11px;
  border-radius: 999px;
  background: rgba(238, 221, 204, 0.6);
}

.cc-recent-posts__pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  margin: 0 !important;
  background: rgba(98, 70, 41, 0.53);
  opacity: 1;
}

.cc-recent-posts__pagination .swiper-pagination-bullet-active {
  background: rgba(255, 255, 255, 1);
}

@media (max-width: 1099px) {
  .cc-recent-posts__header {
    margin-bottom: 26px;
  }

  .cc-recent-posts__slider {
    padding: 0 30px;
  }
}

@media (max-width: 767px) {

  .cc-recent-posts__header {
    margin-bottom: 24px;
  }

  .cc-recent-posts__archive {
    padding: 10px 20px;
  }

  .cc-recent-posts__slider {
    padding: 0 18px;
  }

  .cc-recent-posts__nav {
    width: 32px;
    height: 32px;
  }

  .cc-recent-posts__card .vb-blog-card__title {
    font-size: 20px;
  }

  .cc-recent-posts__card .vb-blog-card__excerpt {
    font-size: 16px;
    line-height: 1.5;
  }

  .cc-recent-posts__card .vb-blog-card__meta {
    font-size: 14px;
  }
}
