.news-header {
  padding: 0 24px 10px 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 0 24px;
  max-width: 1550px;
  margin: 0 auto;
}

.news-grids-more {
  display: none;
  padding-top: 24px;
  padding-bottom: 120px;
}

.news-grids-more.is-visible {
  display: grid;
}

/* когда нет кнопки «Читать далее» — один блок сетки с отступом снизу */
.news-grid-wrapper:not(:has(.news-load-more-wrap)) .news-grids {
  padding-bottom: 120px;
}

.news-load-more-wrap {
  text-align: center;
  padding: 32px 24px 40px;
}

.news-load-more-btn {
  display: inline-block;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--avnet-green, #0d9488);
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px 24px;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}

.news-load-more-btn:hover {
  color: var(--avnet-dark, #0f172a);
}

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

@media (min-width: 1200px) {
  .news-grids {
    grid-template-columns: repeat(2, 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-meta {
  font-size: 12px;
  margin-bottom: 8px;
}

.news-date {
  font-weight: 500;
  color: var(--gray-600);
}

.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;
}

/* Go inside / Read more button (same style for both) */
.news-go-inside-btn,
.news-readmore-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: var(--avnet-green);
  color: #fff !important;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.3s ease;
  margin-top: 10px;
  width: fit-content;
}

/* Read more — отступ сверху (перенос через <br> в JS) */
.news-intro .news-readmore-btn,
.com-content-article__body .news-readmore-btn,
.news-article-inside__body .news-readmore-btn {
  margin-top: 12px;
}

.news-go-inside-btn:hover,
.news-readmore-btn:hover {
  background-color: var(--avnet-dark, #0f172a);
  color: #fff !important;
}

.news-go-inside-btn svg,
.news-readmore-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
