.newsBlock {
  background: #fff;
  padding: 112px 64px 120px;
  box-sizing: border-box;
}

.newsBlock__container {
  max-width: var(--templateTheme-content-max);
  margin: 0 auto;
}

.newsBlock__inner {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.newsBlock__intro {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.newsBlock__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: center;
}

.newsBlock__title {
  margin: 0;
  max-width: 600px;
  color: #000;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 56px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0;
}

.newsBlock__text,
.newsBlock__text p {
  margin: 0;
  color: #000;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.4;
}

.newsBlock__filters {
  display: flex;
  align-items: center;
}

.newsBlock__filters-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 991px;
}

.newsBlock__filter-label {
  color: #000;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
}

.newsBlock__filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.newsBlock__filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 17px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 5px;
  background: #fff;
  color: #000;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.16px;
  text-decoration: none;
  box-sizing: border-box;
  transition:
    border-color var(--templateTheme-dur-sm) var(--templateTheme-ease-soft),
    background-color var(--templateTheme-dur-sm) var(--templateTheme-ease-soft),
    transform var(--templateTheme-dur-md) var(--templateTheme-ease-out),
    box-shadow var(--templateTheme-dur-md) var(--templateTheme-ease-out);
}

.newsBlock__filter-pill:hover,
.newsBlock__filter-pill:focus-visible {
  border-color: rgba(0, 0, 0, 0.9);
  transform: translateY(-1px);
  box-shadow: var(--templateTheme-shadow-cta);
}

.newsBlock__filter-pill.is-active {
  border-color: rgba(0, 0, 0, 0.9);
}

.newsBlock__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 24px;
}

.newsBlock__card {
  min-width: 0;
}

.newsBlock__card-link {
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: inherit;
  text-decoration: none;
}

.newsBlock__media {
  position: relative;
  height: 382px;
  overflow: hidden;
  border-radius: 5px;
  background: #d9d9d9;
}

.newsBlock__image,
.newsBlock__image-placeholder {
  display: block;
  width: 100%;
  height: 100%;
}

.newsBlock__image {
  object-fit: cover;
}

.newsBlock__image-placeholder {
  background: #d9d9d9;
}

.newsBlock__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 0 10px 10px;
}

.newsBlock__category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  border: 0.75px solid rgba(0, 0, 0, 0.3);
  border-radius: 5px;
  color: #000;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 9px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.09px;
  text-transform: none;
  box-sizing: border-box;
}

.newsBlock__card-title {
  margin: 0;
  color: #000;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
}

.newsBlock__excerpt {
  color: rgba(0, 0, 0, 0.7);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
}

.newsBlock__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: fit-content;
  margin: 4px auto 0;
}

.newsBlock__pagination-pages {
  display: flex;
  align-items: center;
  gap: 10px;
}

.newsBlock__pagination-page,
.newsBlock__pagination-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #000;
  text-decoration: none;
}

.newsBlock__pagination-page {
  min-width: 12px;
  position: relative;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
}

.newsBlock__pagination-page.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 1px;
  background: #000;
}

.newsBlock__pagination-arrow {
  width: 24px;
  height: 24px;
  font-size: 20px;
  line-height: 1;
}

.newsBlock__pagination-arrow.is-disabled {
  opacity: 0.35;
}

.newsBlock__empty {
  color: rgba(0, 0, 0, 0.7);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
}

@media (max-width: 1279px) {
  .newsBlock {
    padding: 88px 40px 96px;
  }

  .newsBlock__intro {
    gap: 40px;
  }

  .newsBlock__header {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .newsBlock__title {
    max-width: 100%;
    font-size: clamp(40px, 5vw, 56px);
  }

  .newsBlock__grid {
    gap: 32px 20px;
  }

  .newsBlock__media {
    height: 340px;
  }
}

@media (max-width: 767px) {
  .newsBlock {
    padding: 56px 20px 72px;
  }

  .newsBlock__inner,
  .newsBlock__intro {
    gap: 32px;
  }

  .newsBlock__title {
    font-size: clamp(34px, 10vw, 48px);
  }

  .newsBlock__text,
  .newsBlock__text p,
  .newsBlock__filter-label,
  .newsBlock__excerpt,
  .newsBlock__empty {
    font-size: 18px;
    line-height: 1.5;
  }

  .newsBlock__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .newsBlock__media {
    height: 300px;
  }

  .newsBlock__pagination {
    gap: 18px;
  }
}
