#blog .section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

#blog .section-header h2 {
  font-size: 28px;
  font-weight: 700;
}

#blog .btn-all {
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  line-height: 30px;
  color: #141b31;
  display: flex;
  gap: 6px;
}
#blog .btn-mobile .btn-all {
  display: none;
}

#blog .articles-grid {
  display: flex;
  gap: 30px;
  margin-bottom: 0;
}

#blog .article-card {
  padding: 0;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  width: 33%;
}

#blog .article-card:hover {
  transform: none;
}

#blog .article-card-image {
  width: 100%;
  height: 200px;
  background: #ddd;
}
#blog .article-card-image .mobile {
  display: none;
}
#blog .article-card-image .tablet {
  display: none;
}

#blog .article-card-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

#blog .article-card-body {
  padding: 10px 20px 30px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: calc(100% - 200px);
}

#blog .article-card-top {
  display: flex;
  flex-direction: column;
}

#blog .article-meta {
  display: flex;
  flex-direction: row;
  gap: 30px;
  color: #8291a7;
  margin-bottom: 20px;
  font-weight: 400;
  font-size: 12px;
  line-height: 14px;
  height: fit-content;
}

#blog .article-meta-chip {
  display: flex;
  align-items: center;
  gap: 2px;
}
#blog .article-meta-chip.calendar img {
  width: 11px;
  height: 11px;
}
#blog .article-meta-chip.time img {
  width: 13px;
  height: 13px;
}
#blog .article-meta-chip.watch img {
  width: 16px;
  height: 13px;
}

#blog .article-tags {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  margin-top: 0;
}

#blog .article-tag {
  padding: 9px 11px;
  border-radius: 20px;
  font-weight: 400;
  font-size: 12px;
  line-height: 12px;
  color: #141b31;
}

#blog .article-card-body h3 {
  font-weight: 600;
  font-size: 20px;
  line-height: 20px;
  margin-bottom: 10px;
  color: #2d77e8;
}

#blog .article-card-body p {
  margin-bottom: 50px;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #5e6272;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* Количество строк до обрезки */
  -webkit-box-orient: vertical;
}

#blog .article-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#blog .article-card-footer .read-more {
  color: #2d77e8;
  text-decoration-line: underline;
  font-weight: 700;
  font-size: 16px;
  line-height: 12px;
}

#blog .article-card-footer .share {
  cursor: pointer;
  font-weight: 400;
  font-size: 12px;
  line-height: 14px;
  color: #8291a7;
  display: flex;
  align-items: center;
  gap: 5px;
}
#blog .article-card-footer .share img {
  height: 10px;
  width: 12px;
}

@media (max-width: 1023px) {
  #blog .article-card-image .desktop {
    display: none;
  }
  #blog .article-card-image .tablet {
    display: block;
  }
  #blog .article-card {
    width: 100%;
  }
  #blog .btn-all {
    font-size: 14px;
    padding: 5px 15px;
    background-color: #e1e7f0b2;
    border-radius: 8px;
  }
  #blog .btn-all .arrow {
    display: none;
  }
}
@media (max-width: 767px) {
  #blog .article-card-image .tablet {
    display: none;
  }
  #blog .article-card-image .mobile {
    display: block;
  }
  #blog .section-header .btn-all {
    display: none;
  }
  #blog .btn-mobile .btn-all {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
  }
}
