.vb-blog-list-page,
.vb-blog-list-page *,
.vb-blog-list-page *::before,
.vb-blog-list-page *::after {
  box-sizing: border-box;
}

.vb-blog-list-page {
  background: #f5f5f5;
}

.vb-blog-list-page__section {
  padding: 96px 20px 96px;
}

.vb-blog-list-page__inner {
  max-width: 1240px;
  margin: 0 auto;
}

.vb-blog-list-page__toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 46px;
}

.vb-blog-list-page__title {
  margin: 0;
  color: #4b3f3b;
  font-family: "Baloo 2", sans-serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 0.95;
}

.vb-blog-list-page__description {
  margin: 16px 0 0;
  color: #84726b;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

.vb-blog-list-page__search {
  position: relative;
  width: min(420px, 100%);
  flex: 0 0 auto;
}

.vb-blog-list-page__search-input {
  width: 100%;
  height: 46px;
  padding: 10px 50px 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(220, 194, 183, 0.65);
  background: #fff;
  color: #4b3f3b;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  line-height: 1;
  outline: none;
}

.vb-blog-list-page__search-input::placeholder {
  color: rgba(75, 63, 59, 0.55);
}

.vb-blog-list-page__search-input:focus-visible {
  border-color: rgba(127, 98, 82, 0.9);
  box-shadow: 4px 4px 15px 0px #0000001a;
}

.vb-blog-list-page__search-button {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #4b3f3b;
  cursor: pointer;
}

.vb-blog-list-page__search-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.vb-blog-list-page__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 56px;
}

.vb-blog-card {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 1.1fr);
  gap: 0;
  min-width: 0;
  border-radius: 32px;
  overflow: hidden;
  background: #fff;
}

.vb-blog-card__image-wrap {
  position: relative;
  display: block;
  min-height: 258px;
  overflow: hidden;
  border-radius: 16px;
  background: #eeeae1;
}

.vb-blog-card__image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(
      0deg,
      rgba(142, 113, 98, 0.2) 0%,
      rgba(142, 113, 98, 0.2) 100%
    ),
    linear-gradient(
      90deg,
      rgba(220, 194, 183, 0.6) 0%,
      rgba(127, 98, 82, 0.6) 100%
    );
  pointer-events: none;
}

.vb-blog-card__image,
.vb-blog-card__image-placeholder {
  display: block;
  width: 100%;
  height: 100%;
}

.vb-blog-card__image {
  object-fit: cover;
}

.vb-blog-card__image-placeholder {
  background: linear-gradient(180deg, #dbcfc8 0%, #c9b9af 100%);
}

.vb-blog-card__date-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  display: grid;
  justify-items: center;
  min-width: 82px;
  padding: 10px 10px 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.65);
}

.vb-blog-card__date-day {
  color: #4b3f3b;
  font-family: "Baloo 2", sans-serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 1;
}

.vb-blog-card__date-month {
  margin-top: 8px;
  color: #4b3f3b;
  font-family: "Baloo 2", sans-serif;
  font-size: 24px;
  line-height: 1;
}

.vb-blog-card__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 28px 24px 20px;
}

.vb-blog-card__category {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-bottom: 16px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #f6f0ee;
  color: #5c3022;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  line-height: 1;
  text-decoration: none;
}

.vb-blog-card__title {
  margin: 0 0 16px;
  color: #4b3f3b;
  font-family: "Baloo 2", sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.05;
}

.vb-blog-card__title a {
  color: inherit;
  text-decoration: none;
}

.vb-blog-card__excerpt {
  margin: 0 0 24px;
  color: #84726b;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

.vb-blog-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: auto;
  padding: 10px 18px;
  border: 1px solid #4b3f3b;
  border-radius: 999px;
  color: #4b3f3b;
  font-family: "Baloo 2", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.vb-blog-card__button:hover {
  background: #4b3f3b;
  color: #fff;
}

.vb-blog-list-page__empty {
  margin: 0 0 56px;
  color: #84726b;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

.vb-blog-pagination {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  padding-bottom: 96px;
}

.vb-blog-pagination__list {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 2px;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  text-align: center;
}

.vb-blog-pagination__page,
.vb-blog-pagination__dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  min-width: 30px;
  height: 32px;
  min-height: 32px;
  box-sizing: border-box;
  color: #4b3f3b;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  text-decoration: none;
}

.vb-blog-pagination__page.is-current {
  background: #7f6252;
  width: 30px;
  min-width: 30px;
  height: 32px;
  min-height: 32px;
  border-radius: 8px;
  color: #f5f5f5;
}

.vb-blog-pagination__page:not(.is-current):hover,
.vb-blog-pagination__page:not(.is-current):focus-visible {
  color: #7f6252;
  background: rgba(238, 234, 225, 0.5);
  width: 30px;
  min-width: 30px;
  height: 32px;
  min-height: 32px;
  border-radius: 8px;
  outline: none;
}

.vb-blog-pagination__dots {
  pointer-events: none;
}

.vb-blog-pagination__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  min-width: 20px;
  height: 20px;
  min-height: 20px;
  margin-inline: 8px;
  border-radius: 999px;
  background: rgba(210, 178, 165, 0.68);
  box-sizing: border-box;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.vb-blog-pagination__arrow:hover {
  background: rgba(127, 98, 82, 0.68);
}

.vb-blog-pagination__arrow:focus-visible {
  box-shadow: 4px 4px 15px 0px #0000001a;
  outline: none;
}

.vb-blog-pagination__arrow.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.vb-blog-pagination__arrow img {
  display: block;
  width: 5px;
  height: 10px;
}

@media (max-width: 1180px) {
  .vb-blog-list-page__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .vb-blog-list-page__section {
    padding: 32px 20px 32px;
  }

  .vb-blog-list-page__toolbar {
    margin-bottom: 24px;
    flex-direction: column;
    align-items: center;
  }

  .vb-blog-list-page__title {
    font-size: 28px;
  }

  .vb-blog-list-page__search {
    width: 100%;
  }

  .vb-blog-list-page__grid {
    gap: 16px;
    margin-bottom: 40px;
  }

  .vb-blog-card {
    grid-template-columns: minmax(132px, 38%) minmax(0, 1fr);
    height: auto;
    align-items: stretch;
  }

  .vb-blog-card__image-wrap {
    min-height: 100%;
  }

  .vb-blog-card__date-badge {
    min-width: 86px;
    padding: 14px 10px 14px;
  }

  .vb-blog-card__date-day {
    font-size: 18px;
  }

  .vb-blog-card__date-month {
    font-size: 15px;
  }

  .vb-blog-card__content {
    padding: 18px 16px 16px 14px;
  }

  .vb-blog-card__category {
    margin-bottom: 14px;
    font-size: 12px;
  }

  .vb-blog-card__title {
    margin-bottom: 12px;
    font-size: 18px;
    line-height: 1.02;
  }

  .vb-blog-card__excerpt {
    font-size: 13px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .vb-blog-card__button {
    min-height: 42px;
    margin-top: 16px;
    padding-inline: 18px;
  }

  .vb-blog-pagination {
    margin-bottom: 50px;
  }

  .vb-blog-pagination__list {
    width: 100%;
    gap: 2px;
    transform-origin: center;
    transform: scale(0.9);
  }

  .vb-blog-pagination__arrow {
    margin-inline: 4px;
  }
}
