.p-category {
  padding: 40px 0 80px;
}

.l-container {
  width: min(100% - 32px, 1100px);
  margin: 0 auto;
}

.p-category-header {
  margin-bottom: 32px;
}

.p-category-title {
  margin: 0 0 10px;
  font-size: 36px;
  line-height: 1.4;
  font-weight: 700;
  color: #111;
}

.p-category-description {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: #666;
}

.p-post-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.p-post-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  overflow: hidden;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.p-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.p-post-card__link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.p-post-card__img img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.p-post-card__body {
  padding: 16px;
}

.p-post-card__title {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 700;
  color: #111;
}

.p-post-card__excerpt {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #666;
}

.p-pagination {
  margin-top: 40px;
}

@media (max-width: 991px) {
  .p-post-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .p-category {
    padding: 24px 0 56px;
  }

  .p-category-title {
    font-size: 28px;
  }

  .p-post-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .p-post-card__img img {
    height: 200px;
  }

  .p-post-card__title {
    font-size: 16px;
  }
}
