.articles {
  padding-bottom: 30px;
} .articles-page__title h1 {
  font-size: 48px;
  font-weight: 600;
  line-height: 100%;
  vertical-align: middle;
  color: var(--primary);
} .articles-page__title .line {
  margin: 15px 0 20px;
} .articles-page__title p {
  font-size: 24px;
  font-weight: 400;
  line-height: 30px;
  color: var(--primary);
} .articles-page__content {
  display: flex;
  gap: 30px;
} .main-content {
  max-width: 837px;
  width: 100%;
  display: flex;
  flex-direction: column;
} .articles-text {
  display: flex;
  flex-direction: column;
} .articles-tabs {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 30px;
} .articles-tab {
  max-width: 116px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--primary);
  border-radius: 10px;
  padding: 2px 0;
  cursor: pointer;

  font-size: 16px;
  font-weight: 400;
  line-height: 30px;
  color: var(--black);
} .articles-tab.active {
  background: var(--yellow);
  border: 1px solid var(--yellow);
} .articles-tab:hover {
  background: var(--yellow);
  border: 1px solid var(--yellow);
} .articles-list {
  display: flex;
  justify-content: start;
  flex-wrap: wrap;
  gap: 15px;
} .article {
  max-width: 269px;
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0px 1px 19px -2px #3F484F80;
  overflow: hidden;
} .article-link {
  display: flex;
  flex-direction: column;
  height: 100%;
} .article-image {
  position: relative;
  display: flex;
  max-width: 269px;
  width: 100%;
  min-height: 121px;
  overflow: hidden;
} .article-image img {
  position: absolute;
  top: 0;
  left: 0;
  max-width: 269px;
  width: 100%;
} .article:hover .article-image img {
  transform: scale(1.2);
} .article-data {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px 0;
  margin: 10px 0 20px;
} .article-tab {
  max-width: 104px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--primary);
  border-radius: 10px;
  padding: 2px 0;
  cursor: pointer;

  font-size: 14px;
  font-weight: 400;
  line-height: 16px;
  color: var(--black);
} .article:hover .article-tab {
  background: var(--yellow);
  border: 1px solid var(--yellow);
} .article-date {
  display: flex;
  align-items: center;
  gap: 7px;
} .article-date svg {
  width: 15px;
  height: 15px;
  min-width: 15px;
  min-height: 15px;
} .article-date p {
  font-size: 12px;
  font-weight: 300;
  line-height: 100%;
  letter-spacing: 0%;
  color: var(--primary);
} .article-text {
  padding: 0 15px;
  margin-bottom: 10px;
} .article-text h2 {
  font-size: 20px;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: 0%;
  color: var(--primary);
  margin-bottom: 10px;
} .article-text p {
  font-size: 15px;
  font-weight: 300;
  line-height: 100%;
  letter-spacing: 0%;
  color: var(--primary);
} .article-view {
  display: flex;
  align-items: center;
  padding: 0 15px 15px;
  margin-top: auto;
} .article-view p {
  font-size: 16px;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: 0%;
  color: var(--black);
} .article-view svg {
  width: 30px;
  height: 30px;
  min-width: 30px;
  min-height: 30px;
  margin-left: 15px;
} .article:hover .article-view svg {
  margin-left: 30px;
} #articles-show-more {
  max-width: 269px;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 8.5px 0;
  margin: 25px auto 0;
  background: var(--yellow);
  border: none;
  outline: none;
  border-radius: 10px;
  cursor: pointer;

  font-size: 16px;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
  color: var(--white);
} #articles-show-more:hover {
  background: var(--black);
} .sidebar {
  max-width: 321px;
  width: 100%;
} .sidebar-articles {
  padding: 20px;
} .sidebar-articles h2 {
  font-size: 20px;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: 0%;
  color: var(--primary);
} .sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
} .sidebar-item {
  max-width: 277px;
  width: 100%;
  display: flex;
} .sidebar-link {
  display: flex;
  gap: 10px;
} .sidebar-item:hover img {
  transform: scale(1.1);
} .sidebar-link img {
  max-width: 76px;
  width: 100%;
  min-height: 48px;
  height: auto;
  border-radius: 10px;
} .sidebar-item__text {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
} .sidebar-item__text h3 {
  font-size: 15px;
  font-weight: 400;
  line-height: 14px;
  letter-spacing: 0%;
  color: var(--black);
} .sidebar-item:hover h3 {
  color: var(--yellow);
} .sidebar-item__date {
  display: flex;
  align-items: center;
  gap: 8px;
} .sidebar-item__date svg {
  width: 15px;
  height: 15px;
  min-width: 15px;
  min-height: 15px;
} .sidebar-item__date p {
  font-size: 12px;
  font-weight: 300;
  line-height: 100%;
  letter-spacing: 0%;
  color: var(--primary);
} .articles-help {
  display: flex;
  flex-direction: column;
  background: var(--lightYellow);
  padding: 15px 20px 20px;
  border-radius: 15px;
} .articles-help svg {
  width: 100px;
  height: 100px;
  min-width: 100px;
  min-height: 100px;
} .articles-help h2 {
  font-size: 20px;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: 0%;
  color: var(--primary);
  margin: 15px 0;
} .articles-help p {
  font-size: 15px;
  font-weight: 300;
  line-height: 100%;
  letter-spacing: 0%;
  color: var(--primary);
} .articles-help button {
  max-width: 277px;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 8.5px 0;
  margin-top: 25px;
  background: var(--yellow);
  border: none;
  outline: none;
  border-radius: 10px;
  cursor: pointer;

  font-size: 16px;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
  color: var(--white);
} .articles-help button:hover {
  background: var(--black);
}

@media (max-width: 940px) {
  .articles-page__content {
    flex-direction: column;
  } .sidebar {
    max-width: 100%;
  } .sidebar-list {
    flex-direction: row;
    flex-wrap: wrap;
  } .articles-help {
    max-width: 277px;
    margin: 0 auto;
  }
} @media (max-width: 480px) {
  .articles-page__content {
    gap: 5px;
  } .article {
    max-width: 100%;
  } .articles-page__title h1 {
    font-size: 24px;
  } .articles-page__title p {
    font-size: 20px;
    line-height: 100%;
  } .article-image {
    max-width: 100%;
  } .article-image img {
    position: relative;
    max-width: 100%;
  }
}