/* Views/www_webpack/news/news_mobile.css */
.news__title {
  padding: 20px 3vw 10px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  background: var(--color-grey);
}
.news__menu {
  display: flex;
  padding: 0 3vw 20px;
  background: var(--color-grey);
}
.news__menu_item {
  height: 100%;
  padding: 10px;
  box-shadow: 0 -1px 0 var(--color-border) inset;
}
.news__menu_item:hover,
.news__menu_item.active {
  box-shadow: 0 -3px 0 var(--color-green) inset;
  cursor: pointer;
}
.news__wrapper {
  display: flex;
  margin: 20px 3vw;
}
.news__tags_cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-content: flex-start;
}
.news__tags_cloud h3 {
  margin-bottom: 5px;
  font-weight: normal;
  white-space: nowrap;
  text-transform: uppercase;
}
.news__list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.news__item_title {
  margin-bottom: 10px;
  font-size: clamp(1em, 2vw, 1.1em);
}
.news__item_title:hover {
  text-decoration: underline;
}
.news__item_img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
}
.news__item_date {
  position: absolute;
  bottom: calc(100% + 20px);
  left: 0;
  z-index: 1;
  padding: 3px 0.5em;
  color: var(--color-white);
  background: var(--color-red);
  border-radius: 4px;
}
.news__item_details {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
}
.news__item_announcement {
  font-size: clamp(0.8em, 1vw, 1em);
}
.news__item_tags_container {
  margin-top: auto;
  padding-top: 10px;
}
.news__item_tag {
  padding: 1px 0.5em;
  color: var(--color-black);
  font-size: 0.8em;
  background: var(--color-white);
  border: 1px solid var(--color-black);
  border-radius: 10px;
  cursor: pointer;
}
.news__item_tag:hover {
  color: var(--color-white);
  background: var(--color-green);
}
.news_list__pagination {
  position: relative;
  display: flex;
  flex-direction: column;
  width: calc(25% - 20px);
  min-height: 200px;
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: 8px;
}
.news__item {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
  min-width: 300px;
  min-height: 200px;
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: 8px;
}
.news__item:hover {
  border: 2px solid var(--color-green);
}
.news__item.big {
  flex: 1;
  width: 100%;
  min-height: 200px;
}
