/* News Header */
.news-header {
  background: linear-gradient(rgba(0, 126, 58, 0.9), rgba(0, 126, 58, 0.9)),
              url('https://static.wixstatic.com/media/4001e8_ddc0d0e647dd450caa0e8ebab50ae15f~mv2.jpg');
  background-size: cover;
  background-position: center;
  color: var(--malagasy-white);
  padding: 8rem 0 4rem;
  text-align: center;
}

.news-header h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.news-header .lead {
  font-size: 1.25rem;
  opacity: 0.9;
}

/* News Content */
.news-content {
  padding: 4rem 0;
  background-color: #f8f9fa;
}

.news-item {
  background: var(--malagasy-white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
}

.news-item:hover {
  transform: translateY(-5px);
}

.news-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-item:hover .news-image img {
  transform: scale(1.05);
}

.news-body {
  padding: 2rem;
}

.news-body h2 {
  font-size: 1.5rem;
  color: var(--malagasy-green);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.news-meta {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.news-meta i {
  margin-right: 0.5rem;
  color: var(--malagasy-red);
}

.news-text {
  color: #333;
  line-height: 1.6;
}

.news-text p {
  margin-bottom: 1rem;
}

.news-text p:last-child {
  margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
  .news-header {
    padding: 6rem 0 3rem;
  }

  .news-header h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 767.98px) {
  .news-header {
    padding: 5rem 0 2.5rem;
  }

  .news-header h1 {
    font-size: 2rem;
  }

  .news-content {
    padding: 3rem 0;
  }

  .news-body {
    padding: 1.5rem;
  }

  .news-body h2 {
    font-size: 1.25rem;
  }
}

@media (max-width: 575.98px) {
  .news-header {
    padding: 4rem 0 2rem;
  }

  .news-header h1 {
    font-size: 1.75rem;
  }

  .news-header .lead {
    font-size: 1.1rem;
  }

  .news-image {
    height: 200px;
  }
}