/* NEWS PAGE & GRID */

.news-container {
  padding: 120px 0 0 0;
}

.news-header {
  background-color: #fff;
  padding: 0 24px 80px 24px;
  margin-bottom: 0;
  text-align: center;
  max-width: 1550px;
  margin: 0 auto;
}

.news-page .news-header h1 {
  font-family: "PlusJakartaSans ExtraBold", sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: var(--avnet-dark);
  margin-bottom: 12px;
  line-height: 1.2;
  text-align: center;
}

@media (min-width: 768px) {
  .news-page .news-header h1 {
    font-size: 48px;
  }
}

.news-header .section-subtitle {
  font-size: 20px;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 0;
}

.news-grid-wrapper {
  background-color: #f8fafc;
}

.news-grids {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 0;
  padding: 40px 24px 120px 24px;
  max-width: 1550px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .news-grids {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .news-grids {
    grid-template-columns: repeat(3, 1fr);
  }
}

.news-card {
  background: #f9fafb;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.news-category {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--avnet-green);
  margin-bottom: 12px;
  display: inline-block;
}

.news-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--avnet-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.news-description,
.news-intro {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 0;
  flex-grow: 1;
}
