/* Новости Контент-завод — стили в духе темы free0209 / iherbgroup.ru */
.cz-news-page {
  margin: 0;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  color: #000;
}
.cz-news-root { min-height: 4rem; }
.cz-news-loading,
.cz-news-error,
.cz-news-empty {
  font-size: 1rem;
  color: #555;
}
.cz-news-error { color: #c0392b; }

.cz-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 1024px) {
  .cz-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .cz-news-grid { grid-template-columns: 1fr; }
}

.cz-news-card {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease;
}
.cz-news-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.cz-news-card__image { width: 100%; display: block; }
.cz-news-card__image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.cz-news-card__body {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cz-news-card__date {
  font-size: 0.85rem;
  color: #777;
}
.cz-news-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.35;
}
.cz-news-card__title a {
  color: #000;
  text-decoration: none;
}
.cz-news-card__title a:hover { text-decoration: underline; }
.cz-news-card__preview {
  font-size: 0.9rem;
  color: #444;
}

.cz-news-back { margin-bottom: 1rem; }
.cz-news-back a {
  color: #000;
  text-decoration: none;
}
.cz-news-back a:hover { text-decoration: underline; }

.cz-news-article { margin-top: 0; }
.cz-news-article img { max-width: 100%; height: auto; }
.cz-news-article h1,
.cz-news-article h2 {
  font-weight: 600;
  line-height: 1.3;
}

.cz-news-load-more-wrapper {
  margin-top: 24px;
  text-align: center;
}
.cz-news-load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  border-radius: 4px;
  border: 1px solid #ccc;
  background-color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: #000;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.cz-news-load-more:hover {
  background-color: #f5f5f5;
  border-color: #999;
}

.cz-news-article .share-article {
  margin-top: 32px;
  padding: 20px 24px;
  background-color: #f8f8f8;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
}
.cz-news-article .share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cz-news-article .share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 34px;
  padding: 0 12px;
  border-radius: 4px;
  border: 1px solid #d0d0d0;
  background-color: #fff;
  font-size: 12px;
  font-weight: 600;
  color: #555;
  text-decoration: none;
}
.cz-news-article .share-button:hover {
  background-color: #f0f0f0;
  text-decoration: none;
}
