/* Tags Page */
.page-title {
        margin-top: 2rem;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.page-title strong {

    color: var(--accent-primary);
}

.articles-list article {
  padding: 1rem 0;
}
.articles-list article:not(:last-child) {
  border-bottom: 1px solid #ddd;
}


.articles-list article h2 {
    margin: 0 0 0.5rem 0;
}

.articles-list article h2 a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.articles-list article h2 a:hover {
    color: var(--accent-hover);
}

.articles-list article p {
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    line-height: 1.5;
}

.articles-list article small {
    color: #888;
    font-size: 0.875rem;
}

.no-articles {
    text-align: center;
    margin-top: 3rem;
    color: #999;
    font-style: italic;
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  margin-bottom:1rem;
  flex-wrap: wrap;
}
.no-tags {
    font-weight: 800;      /* الوزن */
    font-size: 1rem;       /* الحجم المتوسط، يمكن تغييره حسب الحاجة */
    text-align: center;    /* محاذاة في الوسط */
    color: #333;           /* لون النص، اختياري */
    margin: 20px 0;        /* مسافة من الأعلى والأسفل */
}

.page-link {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  background-color: #f3f4f6;
  color: #333;
  text-decoration: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  border: 1px solid #ddd;
  transition: background-color 0.2s ease;
  -webkit-transition: background-color 0.2s ease;
  -moz-transition: background-color 0.2s ease;
  -ms-transition: background-color 0.2s ease;
  -o-transition: background-color 0.2s ease;
}

.page-link:hover {
  background-color: #e2e8f0;
}

.page-link.active {
  background-color: var(--accent-primary, #007bff);
  color: white;
  font-weight: bold;
  border-color: var(--accent-primary, #007bff);
}