.article-header {
  background-color: #faf1e0;
  text-align: center;
  padding: 80px 20px 50px;
}

.article-page-title {
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  color: #063c25;
  margin: 0;
}

.article-line {
  width: 20%;
  height: 2px;
  background-color: #063c25;
  border: none;
  margin: 15px auto 40px;
}

.search-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.search-input {
  width: 250px;
  padding: 10px 15px;
  border-radius: 30px;
  border: 1px solid #ccc;
  outline: none;
  font-family: 'Poppins', sans-serif;
}

.search-button {
  background-color: white;
  border: none;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.search-button i {
  color: #063c25;
  font-size: 16px;
}

.articles-section {
  background-color: #faf5ef;
  padding: 60px 0;
  font-family: 'Poppins', sans-serif;
}


.articles-container {
  width: 90%;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 25px;
  align-items: start;
}

.article-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.article-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
}

.article-content {
  padding: 15px 20px;
}

.article-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #063c25;
}

.article-text {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 15px;
}

.article-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.article-date {
  font-size: 13px;
  color: #1a4d3c;
  font-weight: 600;
}

.read-more {
  background-color: #063c25;
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 13px;
  transition: background 0.3s;
}

.read-more:hover {
  background-color: #0a6a42;
}

.article-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 480px; 
}

.article-content {
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.article-text {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 15px;
  max-height: 65px; 
  overflow: hidden;
  position: relative;
  transition: max-height 0.4s ease;
}

.article-text.expanded {
  max-height: 400px; 
}

.article-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.article-text {
  max-height: 100px; 
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.article-text.expanded {
  max-height: 1000px; 
}

