.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  border: none;
  position: relative;
}

.category-card {
  padding: 20px;
  height: 100%;
}

.category-icon {
  font-size: 24px;
  margin-bottom: 10px;
}

.article-count {
  color: #6c757d;
  font-size: 14px;
}

.feature-card {
  margin-bottom: 30px;
  overflow: hidden;
}

.feature-card img {
  height: 200px;
  object-fit: cover;
}

.recent-article {
  margin-bottom: 20px;
}

.recent-article img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.article-time {
  color: #6c757d;
  font-size: 12px;
  text-align: left;
}

.newsletter-box {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.btn-subscribe {
  background-color: #4caf50;
  border-color: #4caf50;
}

.btn-subscribe:hover {
  background-color: #3e8e41;
  border-color: #3e8e41;
}

.card-1 {
  width: 100%;
  padding: 15px;
  background: white;
  border-radius: 10px;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-1 .icon {
  font-size: 24px;
  color: black;
}

.card-1 .title {
  font-size: 16px;
  font-weight: bold;
  color: black;
}

.card-1.subtitle {
  font-size: 14px;
  color: gray;
}

.plant-card {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: white;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  font-family: "Poppins", sans-serif;
}

.plant-card-image {
  width: 100%;
  height: auto;
  display: block;
}

.plant-card-content {
  font-size: 1.2rem;
}

.plant-card-title {
  font-size: 16px;
  font-weight: bold;
  color: black;
  margin-bottom: 5px;
}

.plant-card-description {
  font-size: 14px;
  color: gray;
}

.blog-card {
  display: flex;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px;
  width: 100%;
  max-width: 800px;
  align-items: center;
  gap: 15px;
  margin-left: 0;
  margin-right: 0;
}

.blog-thumbnail {
  padding: 0;
}

.blog-thumbnail img {
  width: 100%;
  height: 110px;
  border-radius: 8px;
  object-fit: cover;
}

.blog-details {
  flex: 1;
}

.blog-title {
  font-size: 16px;
  font-weight: bold;
  margin: 0;
}

.blog-summary {
  font-size: 14px;
  color: #555;
  margin: 5px 0;
}

.blog-date {
  font-size: 12px;
  color: #999;
}

/* Responsive adjustments */
@media (min-width: 576px) {
  .blog-card {
    flex-direction: row;
    text-align: left;
  }

  .blog-details {
    text-align: left;
  }
}

@media (max-width: 576px) {
  .blog-card {
    flex-direction: column;
    text-align: center;

    height: 25%;
  }

  .col-8 {
    text-align: left;
    width: 100% !important;
    flex: 0 0 auto;
  }

  .newsletter-box {
    margin-top: 8rem !important;
  }

  .blog-thumbnail {
    margin-bottom: 10px;
    margin-right: 0;
    width: 100%;
    text-align: center;
  }
}

@media (min-width: 768px) {
  .plant-card {
    max-width: 400px;
  }
}

@media (min-width: 992px) {
  .blog-card {
    max-width: 800px;
  }

  .plant-card {
    max-width: 450px;
  }

  .category-card {
    max-width: 250px;
  }
}
