/* === Заголовок рубрики === */
.category-header {
  text-align: center;
  margin: 40px 0;
}

/* Заголовок рубрики с вертикальной полосой */
.category-title {
  position: relative;
  display: inline-block;
  padding-left: 15px; /* отступ текста от полосы */
  color: #fff;
  font-size: 36px;
  margin: 0 0 8px;
}

.category-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;                 /* толщина полосы */
  background-color: #ff7a00;  /* цвет полосы */
  border-radius: 2px;         /* скругление */
}

/* Подзаголовок рубрики */
.category-subtitle {
  color: #bdbdbd;
  margin: 0;
}

/* === Сетка статей (3 колонки) === */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px; /* увеличенное расстояние между карточками */
  align-items: start;
}

/* === Карточка поста === */
.post-item {
  background: transparent;
  border-radius: 10px;
  overflow: hidden;
}

.post-thumb img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.post-title {
  color: #ffffff;
  font-size: 18px;
  margin: 10px 0 0;
}

/* === Кнопка "Загрузить ещё" === */

/* Блок кнопки – увеличенный отступ от сетки */
.load-more-wrap {
  margin-top: 60px; /* расстояние от сетки */
  text-align: center;
}

/* Сама кнопка – оранжевая рамка */
.load-more-btn {
  background-color: transparent;       /* фон прозрачный */
  color: #ff7a00;                      /* оранжевый текст */
  padding: 14px 36px;
  border-radius: 30px;
  border: 2px solid #ff7a00;           /* оранжевая рамка */
  cursor: pointer;
  font-size: 16px;
  display: inline-block;
  transition: all 0.2s ease;
}

/* Ховер эффект кнопки */
.load-more-btn:hover {
  background-color: #ff7a00;           /* фон оранжевый при наведении */
  color: #fff;                         /* белый текст при наведении */
}
