/* =========================================================================
   Propsyhology — archive.css (только /article/)
   ========================================================================= */

.articles-header {
  padding: 40px 0 30px;
}

.articles-header h1 {
  font-size: 2.5rem;
  font-weight: 600;
}

.articles-subtitle {
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.articles-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 10px 0 30px;
}

.article-card {
  display: flex;
  flex-direction: row;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: 0.25s;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

.article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.article-card img,
.article-card-placeholder {
  width: 40%;
  min-width: 300px;
  min-height: 220px;
  object-fit: cover;
  background: var(--primary);
  display: block;
}

.article-card-content {
  padding: 1.4rem 1.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.article-card h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0 0 1rem;
  line-height: 1.3;
  color: var(--text-dark);
}

.article-card p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* Пагинация */
.propsyh-pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 30px 0 40px;
  flex-wrap: wrap;
}

.propsyh-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 50px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: var(--text-dark);
  text-decoration: none;
  transition: var(--transition);
}

.propsyh-pagination .page-numbers:hover {
  background: var(--secondary);
  color: #fff;
}

.propsyh-pagination .page-numbers.current {
  background: var(--secondary);
  color: #fff;
}

/* Адаптив */
@media screen and (max-width: 800px) {
  .article-card {
    flex-direction: column;
  }

  .article-card img,
  .article-card-placeholder {
    width: 100%;
    min-width: 0;
    min-height: 200px;
    height: 220px;
  }
}

@media screen and (max-width: 600px) {
  .articles-header h1 {
    font-size: 1.5rem;
  }

  .article-card h3 {
    font-size: 1.2rem;
  }
}