body {
  background-color: rgb(219, 219, 223);
  font-family: "Montserrat", sans-serif;
}

.news-container {
  margin-top: 20px;
}

.news-content {
  padding: 30px;
  background-color: white;
  border-radius: 10px;
  margin-bottom: 20px;
}

.news-content figure {
  margin: 0;
}

.news-item {
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
  background-color: #f8f8f8;
  text-decoration: none;
  transition: 0.3s;
}

.news-item:hover {
  text-decoration: none;
}

.news-item:hover h3 {
  color: #2929da;
}

.news-item_main__picture {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  object-fit: cover;
  object-position: center;
}

.news-item__title {
  font-weight: 500;
  font-size: 16px;
  line-height: 21px;
  color: #292C33;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0;
  padding: 0 15px 15px;
}

.news-item__title_large {
  font-size: 24px;

  @media (max-width: 767px) {
    font-size: 20px;
  }

  @media (max-width: 576px) {
    font-size: 16px;
  }
}

.news-item__picture {
  width: 100%;
  object-fit: cover !important;
  object-position: top;
  max-height: 263px;
  margin-bottom: 0 !important;
}

@media (max-width: 767px) {
  .news-item__picture {
    max-height: max-content;
  }
}

.language-switcher {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 20px;
  font-size: 15px;
}

.lang-option {
  text-decoration: none;
  color: #292c33;
  font-weight: 600;
  padding: 10px;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.lang-option:hover {
  background-color: #2929da;
  color: #fff;
}

.lang-option.active {
  background-color: #2929da;
  color: #fff;
}
