
.home-page__content, .news-page__content {
  align-items: flex-start;
}
.home-page__main-block {
  width: 900px;
  padding: 20px 0;
}
.home-page__title {
  font-family: "Roboto", serif;
  font-size: 3.5rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -1.2px;
  margin-bottom: 20px;
  margin-top: 0;
}

.article {
  margin-bottom: 40px;
}
.list-river .article:first-of-type a, .list-stack--with-lead-image .article:first-of-type a {
  display: block;
}
.article a {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.article__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article .article__image-block {
  width: 300px;
  margin-right: 20px;
  aspect-ratio: 1.5 / 1;
  height: 170px;
}
.list-river .article:first-of-type .article__image-block, .list-stack--with-lead-image .article:first-of-type .article__image-block {
  width: 100%;
  margin-right: 0;
  height: 425px;
  display: block;
}
.list-stack--with-lead-image .article:first-of-type .article__image-block {
  height: 170px;
}
.article__title-wrapper {
  font-family: "Roboto", serif;
}
.article .article__title-wrapper {
  width: calc(100% - 320px);
}
.list-river .article:first-of-type .article__title-wrapper, .list-stack--with-lead-image .article:first-of-type .article__title-wrapper {
  width: 100%;
}
.article__title {
  margin: 0 0 8px;
  font-size: 20px;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article:hover .article__title {
  color: #C1116F;
}
.article__description {
  font-family: "Roboto", sans-serif;
  font-size: 1.13rem;
  font-weight: 400;
  margin: 4px 0 8px;
  line-height: 18px;
}
.article__metadata {
  font-size: .69rem;
  line-height: normal;
  font-weight: 400;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin: 8px 0 0;
  display: flex;
  font-family: "Proxima Nova", sans-serif;
}
.list-stack--with-lead-image .article__image-block {
  display: none;
}
.list-stack--with-lead-image .article:first-of-type .article__image-block {
  display: block;
}
.list-stack--with-lead-image .article .article__image-block {
  width: 100%;
  margin-right: 0;
}
.list-stack--with-lead-image .article .article__title-wrapper {
  width: 100%;
}
.list-stack--with-lead-image .article__description, .list-stack--with-lead-image .article__metadata {
  display: none;
}
.list-stack--with-lead-image .article__title {
  font-size: 15px;
}
.list-stack--with-lead-image .article {
  margin-bottom: 20px;
}

.home-page__aside, .news-page__aside {
  width: calc(100% - 940px);
}
.first .article a {
  flex-direction: column;
}
.first .article__description {
  display: none;
}

.weather {
  margin-top: 40px;
}
.weather__title {
  font-size: 24px;
  font-family: "Publico Headline", serif;
  line-height: 1;
  font-weight: 900;
  margin: 0 0 20px;
}
.weather__block {
  width: 100%;
}
.weather__header {
  width: 100%;
  min-height: 42px;
  box-sizing: border-box;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(207, 216, 220);
  color: rgb(64, 64, 64);
  overflow: hidden;
  font-size: 16px;
}
.weather__header h4 {
  margin: 0;
  display: block;
  height: 100%;
  padding: 0px 15px;
  font-family: "Proxima Nova", sans-serif;
  font-weight: 400;
}
.weather__body {
  display: flex;
  flex-direction: row;
  box-sizing: border-box;
  width: 100%;
  min-height: 60px;
  padding: 10px 0px;
  position: relative;
  color: rgb(51, 51, 51);
  background-color: rgb(255, 255, 255);
  overflow: hidden;
  border-style: none solid solid;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;
  border-top-width: initial;
  border-radius: 0px 0px 3px 3px;
  border-color: rgb(207, 216, 220);
  justify-content: center;
  align-items: center;
}
.weather__icon {
  width: 48px;
}
.weather__icon img {
  width: 100%;
}
.weather__value {
  font-size: 24px;
  font-weight: 700;
  padding: 0px 10px 0px 15px;
  color: rgb(51, 51, 51);
}



.news-page__main-block {
  width: 900px;
}
.news-page__header {
  padding-top: 20px;
}
.news-page__category {
  border: 1px solid #fff;
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-family: "Proxima Nova", sans-serif;
  margin-bottom: 8px;
}
.news-page__title {
  font-family: "Publico Headline", serif;
  line-height: 1;
  font-weight: 900;
  font-size: 40px;
  margin: 0 0 16px;
}
.news-page__image-block {
  max-height: 600px;
  width: 100%;
  aspect-ratio: 1.5 / 1;
}
.news-page__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-page__text {
  font-size: 20px;
}
.news-page__text h1, .news-page__text h2, .news-page__text h3, .news-page__text h4, .news-page__text h5, .news-page__text h6 {
  font-family: "Roboto", sans-serif;
  font-size: 2rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}
.recirculation {
  border-bottom: 1px solid #e8e8e8;
  border-top: 1px solid #e8e8e8;
  margin: 20px 0;
  padding: 12px 0 0;
}
.recirculation__title {
  font-family: "Roboto", sans-serif;
  font-size: 1.13rem;
  line-height: 1;
  font-weight: 700;
  display: inline-block;
  margin: 0 0 12px;
}
.recirculation__items {
  display: flex;
  flex-wrap: wrap;
  grid-gap: 0 16px;
}
.recirculation__item {
  margin-bottom: 16px;
  flex: 0 0 45%;
  color: #181818;
  font-family: "Roboto", sans-serif;
}
.recirculation__item:hover .recirculation__item-title {
  color: #C1116F;
}
.recirculation__image-block {
  margin-right: 12px;
  margin-left: 0;
  width: 40px;
  height: 40px;
  aspect-ratio: 1.5 / 1;
}
.recirculation__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.recirculation__item-title {
  margin: 0;
  width: calc(100% - 42px);
}
.nlitem {
  width: calc(100% / 4 - 10px);
}



.news-list {
  border-top: 1px solid #e8e8e8;
}
.news-list__content {
  align-items: flex-start;
  margin-bottom: 20px;
}
.nlitem__view-more {
  font-family: "Roboto", sans-serif;
  font-size: .94rem;
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: .3px;
  border: none;
  border-top: 1px solid #e8e8e8;
  padding: 20px 0;
  margin-left: 0;
  display: block;
}

.uploader-page__uploader {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px dashed #AFAFAF;
  background-color: #F4F4F4;
  border-radius: 8px;
}
.uploader-page__uploader input {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
}
.uploader-page__uploader-icon {
  display: inline-block;
  margin-top: 50px;
  width: 30px;
  height: 30px;
}
.uploader-page__uploader-icon img {
  width: 100%;
  height: 100%;
}
.uploader-page__uploader-text {
  margin: 0;
}
.uploader-page__uploader-subtext {
  display: inline-block;
  margin-bottom: 20px;
  color: #333333;
  margin-top: 8px;
}
.uploader-page__content {
  margin-top: 20px;
  padding: 34px;
  box-shadow: 0px 3px 10px 0px #00000014;
}
.uploader-page__block {
  width: 100%;
}
.uploader-page__input, .uploader-page__textarea {
  height: 48px;
  width: 100%;
  border: 2px solid #EFEFEF;
  padding-left: 23px;
  margin-bottom: 20px;
}
.uploader-page__textarea {
  height: 200px;
  padding-top: 20px;
  resize: none;
}
.uploader-page__button {
  height: 48px;
  width: 170px;
  background: #1875F0;
  color: #ffffff;
  border-radius: 6px;
}


.main-page .container {
  width: 100%;
}
.main-page__content {
  border-bottom: 1px solid #e8e8e8;
  padding: 20px 0;
}
.main-page__subtitle {
  font-size: 56px;
  font-family: "Roboto", sans-serif;
  margin: 0 0 20px;
}
.first {
  justify-content: center;
  display: flex;
}
.first__central-block {
  display: flex;
  flex-wrap: wrap;
  width: calc(100% - 300px);
}
.first .article .article__title-wrapper {
  width: 100%;
}
.first .article {
  width: 100%;
  margin-right: 0;
}
.first__central-block .home-page__article {
  width: calc(100% / 3 - 15px);
  margin-top: 20px;
  margin-bottom: 0;
}
.first__central-block .home-page__article:not(:last-child) {
  margin-right: 20px;
}
.first__big-article {
  width: 100%;
}
.first__big-article-flex-content {
  display: flex;
  align-items: flex-start;
}
.first__big-article-title {
  color: #181818;
  font-size: 28px;
  margin: 0;
}
.first__big-article:hover .first__big-article-title {
  color: #C1116F;
}
.first__big-article-description {
  margin: 8px 0;
  font-size: 16px;
  font-family: "Roboto", sans-serif;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.first__big-article-image-block {
  width: calc(100% - 220px);
  height: 100%;
  margin-left: 40px;
  display: block;
  aspect-ratio: 1.5 / 1;
}
.first__big-article-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.first__big-article-title-wrapper {
  width: 200px;
  margin-right: 20px;
}
.first__links {
  margin-top: 20px;
}
.first__link {
  margin-bottom: 4px;
}
.first__link:hover a {
  color: #C1116F;
}
.first__link a {
  text-decoration: none;
  color: #181818;
  font-size: 15px;
  font-family: "Roboto", sans-serif;
  font-weight: 600;

  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.first .first__right-block .article__title {
  font-size: 17px;
}
.first .first__right-block .article__title:first-child {
  margin-top: 8px;
}
.first .first__right-block .article {
  margin-bottom: 20px;
}
.first__right-block {
  background-color: #cacaca;
  width: 280px;
  margin-left: 20px;
  padding: 4px 8px;
  box-sizing: border-box;
}
.first__right-block .article .article__image-block {
  margin-right: 0;
  width: 100%;
}
.first__central-block .article .article__image-block {
  width: 100%;
}
.first .first__right-block .article:not(:first-child) .article__image-block {
  display: none;
}
.list .article .article__image-block {
  width: 90px;
  height: 90px;
  margin: 0 0 0 8px;
}
.list .article .article__title-wrapper {
  width: calc(100% - 98px);
}
.list .article__title {
  margin: 0;
}
.list .article {
  margin-bottom: 20px;
}
.archive {
  display: flex;
}
.archive__left {
  padding-right: 20px;
  margin-right: 20px;
  border-right: 1px solid #EFEFEF;
}
.archive__left li {
  padding: 8px 0;
}
.archive__right-list {
  display: flex;
  gap: 10px;
}
.archive__right-list a {
  color: #1875F0;
  text-decoration: underline;
}

@media (max-width: 500px) {
  .home-page__content, .news-page__content {
    display: block;
  }
  .home-page__main-block {
    padding: 20px 0;
    width: 100%;
  }
  .home-page__title {
    font-size: 24px;
    margin: 0 0 20px;
  }
  .article {
    margin-bottom: 20px;
  }
  .article a {
    flex-direction: row-reverse;
  }
  .article__title {
    font-size: 17px;
  }
  .article__description {
    display: none;
  }
  .article .article__image-block {
    width: 90px;
    height: 90px;
    margin: 0 0 0 20px;
  }
  .article__image {
    height: 100%;
  }
  .article .article__title-wrapper {
    width: calc(100% - 110px);
  }
  .list-river .article:first-of-type .article__image-block, .list-stack--with-lead-image .article:first-of-type .article__image-block {
    margin-left: 0;
    height: 250px;
    margin-bottom: 8px;
  }
  .home-page__aside, .news-page__aside {
    width: 100%;
  }

  .weather {
    border-top: 1px solid #dcdcdc;
    padding-top: 40px;
    margin-top: 0;
    margin-bottom: 40px;
  }


  .news-list__content {
    flex-wrap: wrap;
  }
  .nlitem {
    margin-top: 20px;
    width: 100%;
    border-bottom: 1px solid #dcdcdc;
  }
  .nlitem__title {
    font-size: 24px;
    font-family: "Roboto", serif;
    line-height: 1.09;
    font-weight: 700;
    margin: 0 0 20px;
  }
  .list-stack--with-lead-image .article {
    margin-bottom: 8px;
  }
  .list-stack--with-lead-image .article:first-child .article__title {
    margin-top: 8px;
  }
  .list-stack--with-lead-image .article:first-of-type .article__image-block {
    height: 200px;
  }
  .nlitem__view-more {
    padding: 8px 10px;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    font-size: 13px;
    margin-bottom: 20px;
    text-align: center;
  }
  .main-page .container {
    width: 90%;
  }

  .first, .first__central-block {
    width: 100%;
    flex-direction: column;
    gap: 8px;
  }
  .first__central-block .article .article__image-block {
    width: 90px;
  }
  .first__right-block {
    width: 100%;
    margin: 0;
    background: none;
    padding: 0;
  }
  .first .first__right-block .article .article__image-block {
    width: 90px;
  }
  .first .first__right-block .article:not(:first-child) .article__image-block {
    display: inline-block;
  }
  .first__big-article-title-wrapper, .first__big-article {
    width: 100%;
  }
  .first__big-article-flex-content {
    flex-direction: column-reverse;
  }
  .first__big-article-image-block {
    width: 100%;
    margin-left: 0;
  }
  .first__big-article-title {
    font-size: 17px;
    color: #181818;
    margin-top: 8px;
  }
  .first__central-block .home-page__article {
    margin: 0;
  }
  .first__big-article-description {
    font-size: 14px;
  }
  .first__big-article-metadata {
    font-size: 11px;
  }
  .first__links {
    display: none;
  }
  .first .article > a {
    flex-direction: row-reverse;
  }
  .first .article {
    width: 100%;
    margin-bottom: 0;
  }
  .first .article .article__title-wrapper {
    width: calc(100% - 110px);
  }
  .main-page__subtitle {
    font-size: 24px;
    line-height: 1.09;
    font-weight: 700;
    margin: 0 0 20px;
  }

  .news-page__main-block {
    width: 100%;
  }
  .news-page__title {
    font-size: 24px;
    margin-bottom: 8px;
  }
  .news-page__author {
    margin: 4px 0;
  }
  .news-page__date {
    margin: 4px 0;
  }
  .recirculation {
    display: none;
  }
  .recirculation__item {
    flex: 100%;
  }
  .list .article .article__image-block {
    margin: 0 8px 0 0;
  }

}
