/* Article Card Component */
.article-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.article-card:hover {
  transform: translateY(-4px);
}

.article-card__image {
  width: 100%;
  height: 240px;
  background-color: var(--accent-2);
  border-radius: 24px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.article-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.article-card__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 24px;
}

.article-card__title {
  color: var(--black);
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card__excerpt {
  color: var(--black);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Мобильные адаптации для article-card */
@media (max-width: 768px) {
  .article-card {
    gap: 12px;
  }
  
  .article-card__image {
    height: 200px;
  }
  
  .article-card__content {
    padding: 0 16px;
    gap: 8px;
  }
}

/* Blog section */
.blog {
  background-color: var(--white);
  padding: 80px 0;
}

.blog__header {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-bottom: 40px;
}

.blog__title-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.blog__title {
  color: var(--black);
}

.blog__divider {
  background-color: var(--accent-1);
}

.blog__cta-button {
  flex-shrink: 0;
}

.blog__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.blog__articles {
  display: flex;
  gap: 24px;
  width: 100%;
}

.blog__button {
  width: fit-content;
}

/* Мобильные адаптации для blog */
@media (max-width: 768px) {
  .blog {
    padding: 40px 0;
  }

  .blog__header {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .blog__title-section {
    width: 100%;
  }

  .blog__cta-button {
    width: 100%;
  }

  .blog__content {
    gap: 24px;
  }

  .blog__articles {
    flex-direction: column;
    gap: 24px;
  }

  .blog__button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .blog {
    padding: 40px 0;
  }

  .blog__content {
    gap: 24px;
  }

  .blog__articles {
    gap: 24px;
  }
}
