@charset "UTF-8";
.blog {
  padding-top: clamp(50px, 20 * (100vw - 393px) / 887 + 50px, 70px);
  padding-bottom: clamp(50px, 50 * (100vw - 393px) / 887 + 50px, 100px);
}

.blog-title {
  color: var(--text-dark);
  text-align: center;
  font-family: var(--font-family);
  font-size: clamp(32px, 38 * (100vw - 393px) / 887 + 32px, 70px);
  font-style: normal;
  font-weight: 700;
  line-height: 100%;
  margin-bottom: clamp(32px, 38 * (100vw - 393px) / 887 + 32px, 70px);
}

.blog-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.blog-item {
  width: clamp(167px, 113 * (100vw - 393px) / 887 + 167px, 280px);
  height: auto;
  border-radius: 12px;
  background: #f2fafc;
  transition: all var(--time-function);
}
.blog-item:hover {
  box-shadow: 4px 6px 12px 0px rgba(29, 32, 31, 0.2);
}

.blog-link-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.blog-link-wrapper:hover .blog-read-button, .blog-link-wrapper:focus .blog-read-button {
  background: var(--background);
  box-shadow: 4px 6px 12px 0px rgba(29, 32, 31, 0.2);
}
.blog-link-wrapper:hover .blog-read-button-prg, .blog-link-wrapper:focus .blog-read-button-prg {
  color: var(--text-white);
}
.blog-link-wrapper:hover .blog-read-button-icon, .blog-link-wrapper:focus .blog-read-button-icon {
  opacity: 1;
}

.blog-link-img {
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  transition: all var(--time-function);
  height: clamp(118px, 81 * (100vw - 393px) / 887 + 118px, 199px);
}

.blog-item-content-wrapper {
  padding: 8px clamp(12px, 8 * (100vw - 393px) / 887 + 12px, 20px) clamp(12px, 8 * (100vw - 393px) / 887 + 12px, 20px);
  height: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 8 * (100vw - 393px) / 887 + 8px, 16px);
}

.blog-link-date {
  color: var(--text-secondary-dark);
  font-family: var(--font-family);
  font-size: clamp(10px, 6 * (100vw - 393px) / 887 + 10px, 16px);
  font-style: normal;
  font-weight: 500;
  line-height: 130%; /* 20.8px */
}

.blog-link-title {
  color: var(--text-dark);
  font-family: var(--font-family);
  font-size: clamp(14px, 4 * (100vw - 393px) / 887 + 14px, 18px);
  font-style: normal;
  font-weight: 900;
  line-height: 110%; /* 27px */
  -webkit-hyphens: auto;
  hyphens: auto; /* включает автоматические переносы */
  word-break: break-word; /* переносит длинные слова */
  overflow-wrap: break-word;
}
@media screen and (min-width: 1000px) {
  .blog-link-title {
    line-height: 150%; /* 27px */
  }
}

.blog-read-button {
  width: 100%;
  height: clamp(44px, 11 * (100vw - 393px) / 887 + 44px, 55px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: inherit;
  border-radius: 12px;
  border: 1px solid var(--background);
  transition: all var(--time-function);
  margin-top: auto;
}

.blog-read-button-prg {
  position: relative;
  color: var(--background);
  font-family: var(--font-family);
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%; /* 27px */
  transition: all var(--time-function);
}

.blog-read-button-icon {
  position: absolute;
  right: -27px;
  opacity: 0;
  top: 50%;
  transform: translate(0, -42%);
  transition: all var(--time-function);
}

.pagination-list {
  display: flex;
  gap: clamp(1px, 7 * (100vw - 393px) / 887 + 1px, 8px);
  align-items: center;
  justify-content: center;
}
.pagination-list li:first-child {
  margin-right: 12px;
}
.pagination-list li:last-child {
  margin-left: 12px;
}

.recent-news-path {
  transition: stroke var(--time-function);
}

.news-button-prev {
  display: flex;
  height: 45px;
  width: 45px;
  justify-content: center;
  align-items: center;
  background-color: inherit;
  border-radius: 50%;
  border: 3px solid var(--background);
  box-shadow: 4px 7px 12px 0px rgba(0, 92, 111, 0.2);
}
.news-button-prev:hover {
  background-color: var(--background);
}
.news-button-prev:hover .recent-news-path {
  stroke: #fff;
}
.news-button-prev:disabled {
  pointer-events: none;
  opacity: 0.5;
}

.news-button-next {
  display: flex;
  height: 45px;
  width: 45px;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  border: 3px solid var(--background);
  background-color: var(--background);
  box-shadow: 4px 7px 12px 0px rgba(29, 32, 31, 0.2);
}
.news-button-next:hover {
  background-color: inherit;
}
.news-button-next:hover .recent-news-path {
  stroke: var(--background);
}
.news-button-next:disabled {
  pointer-events: none;
  opacity: 0.5;
}

.ellipses-pag-button {
  background-color: inherit;
  border: none;
  display: flex;
  width: 32px;
  height: 32px;
  padding: 5px 11px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary-dark);
  font-family: var(--font-family);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 130%; /* 20.8px */
  cursor: auto;
  pointer-events: none;
}

.number-pag-button {
  display: flex;
  width: 32px;
  height: 32px;
  padding: 5px 11px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 16px;
  background-color: inherit;
  border: none;
  border: 1px solid rgba(255, 255, 255, 0);
  color: var(--text-secondary-dark);
  font-family: var(--font-family);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 130%; /* 20.8px */
  transition: all var(--time-function);
}
.number-pag-button:disabled {
  border-color: #2a798a;
  color: #2a798a;
  pointer-events: none;
}
.number-pag-button:hover, .number-pag-button:focus {
  border-color: #2a798a;
  color: #2a798a;
}
/*# sourceMappingURL=blog.css.map */
