/**
 * Article Cards Block Styles
 */

.article-cards-block {
  padding: 3rem 1rem;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.article-cards-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Featured Articles Section */
.featured-articles {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.featured-article-card {
  flex: 1 1 calc(50% - 1rem);
  min-width: 300px;
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.featured-article-card .article-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.featured-article-card .article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-article-card .article-content {
  padding: 1.5rem;
}

.featured-article-card .article-category {
  font-size: 0.8rem;
  font-weight: 600;
  color: #4a8d47;
  margin-bottom: 0.5rem;
  text-transform: lowercase;
}

.featured-article-card .article-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.featured-article-card .article-excerpt {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #555;
  margin-bottom: 1.5rem;
}

/* Regular Articles Section */
.regular-articles {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.regular-article-card {
  flex: 1 1 calc(33.333% - 1rem);
  min-width: 250px;
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.regular-article-card .article-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.regular-article-card .article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.regular-article-card .article-content {
  padding: 1.25rem;
}

.regular-article-card .article-category {
  font-size: 0.8rem;
  font-weight: 600;
  color: #4a8d47;
  margin-bottom: 0.5rem;
  text-transform: lowercase;
}

.regular-article-card .article-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

/* Button Styles */
.read-more-button {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.green-button {
  background-color: #c5ff8a;
  color: #333;
}

.green-button:hover {
  background-color: #b0e878;
}

.pink-button {
  background-color: #f8b1d6;
  color: #333;
}

.pink-button:hover {
  background-color: #e9a1c6;
}

/* Animation Styles */
.featured-article-card,
.regular-article-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Animation on scroll */
.featured-article-card,
.regular-article-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.card-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .featured-article-card,
  .regular-article-card {
    flex: 1 1 100%;
  }

  .featured-articles {
    gap: 1.5rem;
    width: 100%;
  }
}
