.visually-hidden {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  opacity: 0;
}

/* reset default styles _begin_ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
}

ul,
ol,
li {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  vertical-align: top;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: inherit;
  font-size: inherit;
}

textarea,
button,
input {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: inherit;
}

html,
body {
  height: 100%;
  line-height: 1;
}

html {
  scroll-behavior: smooth;
}

/* reset default styles _end_ */
body {
  font-family: Roboto, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
  color: #495057;
}

.articles {
  padding-top: 60px;
  padding-bottom: 60px;
}
.articles__container {
  max-width: 1270px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}
.articles__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.articles__title {
  font-size: 25px;
  margin-bottom: 25px;
}
.articles__filter {
  margin-bottom: 20px;
}
.articles .filter-articles {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 25px;
  row-gap: 4px;
}
.articles .filter-articles__item {
  padding: 0 8px;
  font-size: 12px;
  line-height: 2;
  font-weight: bold;
  color: #c4c4c4;
  background: #111;
  border: 1px solid #111;
  border-radius: 8px;
  transition-duration: 0.3s;
}
.articles .filter-articles__item.active {
  font-weight: bold;
  color: #111;
  background: #ccc;
}
.articles .filter-articles__item:not(.active):hover {
  color: #495057;
  transition-duration: 0.3s;
}
.articles__list {
  margin: 0 auto;
  transition-duration: 0.3s;
}
@media screen and (max-width: 425px) {
  .articles__list {
    width: auto !important;
  }
}
.articles__item {
  width: 500px;
}
.articles__item:not(:last-child) {
  margin-bottom: 20px;
}
@media screen and (max-width: 425px) {
  .articles__item {
    width: 100%;
  }
}

.article__image {
  display: block;
  margin-bottom: 4px;
  padding-bottom: 100%;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  transition-duration: 0.3s;
}
.article__image:hover img {
  transform: scale(1.04);
  transition-duration: 0.3s;
}
.article__image img.init {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  object-fit: cover;
  transition-duration: 0.3s;
}
.article__body {
  display: grid;
  gap: 15px;
}
.article__date {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.6;
}
.article__link-title {
  color: #212529;
  line-height: 1.6;
}
.article__link-title:hover {
  text-decoration: underline;
}
.article__text {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.6;
}