/* News & Updates section */

.news-section {
  background: #fff;
}

.news-section__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-bottom: 2.5rem;
}

.news-section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ea580c;
  margin-bottom: 0.65rem;
}

.news-section__eyebrow::before {
  content: '';
  width: 1.75rem;
  height: 2px;
  background: #ea580c;
  border-radius: 9999px;
}

.news-section__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  line-height: 1.15;
  color: #2E3192;
}

.news-section__subtitle {
  margin-top: 0.75rem;
  max-width: 42rem;
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.7;
}

.news-section__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.35rem;
  border-radius: 9999px;
  background: #ecfdf3;
  color: #2E3192;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.news-section__cta:hover {
  background: #d1fae5;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(46, 49, 146, 0.12);
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .news-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .news-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

@media (min-width: 1024px) {
  .news-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(46, 49, 146, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  height: 100%;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(46, 49, 146, 0.12);
}

.news-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #F5F7F5;
}

.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-card__image img {
  transform: scale(1.06);
}

.news-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem 1rem 1.15rem;
}

.news-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-card__category {
  color: #ea580c;
}

.news-card__dot {
  color: #9ca3af;
  font-weight: 400;
}

.news-card__date {
  color: #9ca3af;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
}

.news-card__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: #2E3192;
  margin-bottom: 0.65rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card:hover .news-card__title {
  color: #1F2478;
}

.news-card__excerpt {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.65;
  margin-bottom: 1rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #2E3192;
  margin-top: auto;
  transition: gap 0.25s ease, color 0.25s ease;
}

.news-card:hover .news-card__link {
  gap: 0.55rem;
  color: #1F2478;
}

.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.news-filters__chip {
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.news-filters__chip--active {
  background: #2E3192;
  color: #fff;
}

.news-filters__chip--inactive {
  background: #F5F7F5;
  color: #6b7280;
}

.news-filters__chip--inactive:hover {
  background: #ecfdf3;
  color: #2E3192;
}
