/* Spacing scale (8px grid): section 48, title 24 (mobile 32/20·16) */
/* ============================================================
   MEDITECH GROUP — Article Pages (list-article.html / view-article.html)
   Brand: #98292b, Inter, white/clean minimal
   ============================================================ */

/* ============================================================
   ARTICLE LISTING PAGE
   ============================================================ */

/* --- Listing Hero --- */
.al-hero {
  background: linear-gradient(135deg, #1a2332 0%, #2a3654 40%, #1e2842 100%);
  position: relative;
  overflow: hidden;
  padding: 48px 0;
}
.al-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(152,41,43,.06);
}
.al-hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -40px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,.025);
}
.al-hero-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.al-hero-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: rgba(255,255,255,.45);
  margin-bottom: 14px;
}
.al-hero h1 {
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 18px;
  line-height: 1.12;
  letter-spacing: -.025em;
}
.al-hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,.68);
  max-width: 640px;
  line-height: 1.65;
  margin: 0 0 32px;
}
.al-hero-stats {
  display: flex;
  gap: 36px;
}
.al-hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.al-hero-stat strong {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
}
.al-hero-stat span {
  font-size: 12px;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Category Filter Tabs --- */
.al-filters {
  background: #fff;
  border-bottom: 1px solid #eef0f4;
  position: sticky;
  top: 72px; /* below header */
  z-index: 90;
}
.al-filters-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.al-filters-inner::-webkit-scrollbar { display: none; }

.al-filter-btn {
  flex-shrink: 0;
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary, #64748b);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
  font-family: inherit;
}
.al-filter-btn:hover { color: var(--text-primary, #1a2030); }
.al-filter-btn.active {
  color: var(--primary, #98292b);
  border-bottom-color: var(--primary, #98292b);
  font-weight: 600;
}

/* --- Article Grid Section --- */
.al-section {
  padding: 48px 0;
  background: #f8f9fb;
}
.al-section-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}
.al-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.al-section-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary, #1a2030);
  margin: 0;
  letter-spacing: -.02em;
}
.al-section-count {
  font-size: 13px;
  color: var(--text-secondary, #64748b);
}

/* --- Article Card Grid --- */
.al-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 56px;
}

/* --- Article Card --- */
.al-card {
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .3s ease;
  text-decoration: none;
  color: inherit;
}
.al-card:hover {
  border-color: rgba(152,41,43,.18);
  box-shadow: 0 8px 36px rgba(0,0,0,.08);
  transform: translateY(-4px);
}
.al-card-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #f0f2f5, #e8ecf1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.al-card-thumb svg {
  width: 60px;
  height: 60px;
  stroke: rgba(152,41,43,.15);
  fill: none;
  stroke-width: 1.2;
}
.al-card-thumb-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--primary, #98292b);
  color: #fff;
}
.al-card-body {
  padding: 24px 22px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.al-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-secondary, #64748b);
  margin-bottom: 12px;
}
.al-card-meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #c4c7cc;
  flex-shrink: 0;
}
.al-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary, #1a2030);
  line-height: 1.38;
  margin: 0 0 12px;
  letter-spacing: -.01em;
  transition: color .2s;
}
.al-card:hover .al-card-title { color: var(--primary, #98292b); }
.al-card-excerpt {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary, #64748b);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 20px;
}
.al-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.al-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary, #98292b);
  text-decoration: none;
  transition: gap .2s;
}
.al-card:hover .al-card-link { gap: 10px; }
.al-card-link svg {
  width: 15px; height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.al-card-read-time {
  font-size: 12px;
  color: #aab0bc;
}

/* --- Featured Article (full-width card) --- */
.al-featured {
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  margin-bottom: 40px;
  transition: all .3s ease;
  text-decoration: none;
  color: inherit;
}
.al-featured:hover {
  box-shadow: 0 12px 48px rgba(0,0,0,.1);
  border-color: rgba(152,41,43,.15);
}
.al-featured-thumb {
  aspect-ratio: unset;
  min-height: 320px;
  background: linear-gradient(135deg, #1a2332 0%, #2a3654 60%, #3d4d72 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.al-featured-thumb img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.al-featured-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(152,41,43,.18) 0%, transparent 60%);
}
.al-featured-thumb svg {
  width: 100px;
  height: 100px;
  stroke: rgba(255,255,255,.12);
  fill: none;
  stroke-width: 0.8;
  position: relative;
  z-index: 1;
}
.al-featured-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 5px 12px;
  border-radius: 20px;
  background: var(--primary, #98292b);
  color: #fff;
  z-index: 2;
}
.al-featured-body {
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.al-featured-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-secondary, #64748b);
  margin-bottom: 16px;
}
.al-featured-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary, #1a2030);
  line-height: 1.28;
  margin: 0 0 16px;
  letter-spacing: -.025em;
  transition: color .2s;
}
.al-featured:hover .al-featured-title { color: var(--primary, #98292b); }
.al-featured-excerpt {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary, #64748b);
  margin: 0 0 28px;
}
.al-featured-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--primary, #98292b);
  padding: 11px 22px;
  border-radius: 8px;
  text-decoration: none;
  transition: all .2s;
  width: fit-content;
}
.al-featured-link:hover {
  background: #7a2123;
  gap: 12px;
}
.al-featured-link svg {
  width: 16px; height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- Pagination --- */
.al-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.al-page-btn {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary, #64748b);
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
  text-decoration: none;
}
.al-page-btn:hover {
  border-color: var(--primary, #98292b);
  color: var(--primary, #98292b);
}
.al-page-btn.active {
  background: var(--primary, #98292b);
  border-color: var(--primary, #98292b);
  color: #fff;
  font-weight: 600;
}
.al-page-btn svg {
  width: 16px; height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* ============================================================
   ARTICLE DETAIL PAGE
   ============================================================ */

/* --- Article Hero Strip --- */
.av-hero {
  background: linear-gradient(135deg, #1a2332 0%, #2a3654 40%, #1e2842 100%);
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}
.av-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(152,41,43,.05);
}
.av-hero-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 24px;
}
.av-hero-category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,.5);
  margin-bottom: 18px;
}
.av-hero-category-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--primary, #98292b);
}
.av-hero h1 {
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  line-height: 1.18;
  letter-spacing: -.025em;
  margin: 0 0 22px;
}
.av-hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: rgba(255,255,255,.5);
}
.av-hero-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.av-hero-meta-item svg {
  width: 14px; height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .7;
}

/* --- Article Layout: content + sidebar --- */
.av-layout {
  max-width: 1320px;
  margin: 0 auto;
  padding: 56px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: start;
}

/* --- Article Content --- */
.av-content {
  min-width: 0;
}
.av-content-lead {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.68;
  color: var(--text-primary, #1a2030);
  margin: 0 0 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #eef0f4;
}
.av-content-body {
  font-size: 16px;
  line-height: 1.8;
  color: #374151;
}
.av-content-body h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary, #1a2030);
  margin: 40px 0 18px;
  letter-spacing: -.02em;
}
.av-content-body h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-primary, #1a2030);
  margin: 32px 0 14px;
}
.av-content-body p {
  margin: 0 0 22px;
}
.av-content-body ul,
.av-content-body ol {
  margin: 0 0 22px;
  padding-left: 28px;
}
.av-content-body li {
  margin-bottom: 8px;
}
.av-content-body strong {  font-weight: 600; }

/* Highlight / pull-quote block */
.av-highlight {
  background: linear-gradient(135deg, #fdf2f2, #faf5f5);
  border-left: 4px solid var(--primary, #98292b);
  padding: 24px 28px;
  margin: 32px 0;
  border-radius: 0 10px 10px 0;
}
.av-highlight p {
  font-size: 17px;
  font-weight: 600;
  color: var(--primary, #98292b);
  line-height: 1.55;
  margin: 0;
}

/* Key data stat boxes */
.av-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 32px 0;
}
.av-stat-box {
  background: #f8f9fb;
  border: 1px solid #eef0f4;
  border-radius: 12px;
  padding: 22px 20px;
  text-align: center;
}
.av-stat-box strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--primary, #98292b) !important;
  letter-spacing: -.02em;
  margin-bottom: 6px;
}
.av-stat-box span {
  font-size: 12px;
  color: var(--text-secondary, #64748b);
  text-transform: uppercase;
  letter-spacing: .8px;
}

/* Article image block */
.av-img-block {
  margin: 32px 0;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a2332, #2a3654);
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.av-img-block svg {
  width: 100px; height: 100px;
  stroke: rgba(255,255,255,.1);
  fill: none;
  stroke-width: 0.7;
}
.av-img-caption {
  font-size: 13px;
  color: #9ca3af;
  text-align: center;
  margin-top: 10px;
  font-style: italic;
}

/* Tags */
.av-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #eef0f4;
}
.av-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary, #64748b);
  background: #f1f3f6;
  padding: 5px 12px;
  border-radius: 20px;
  text-decoration: none;
  transition: all .2s;
}
.av-tag:hover {
  background: rgba(152,41,43,.1);
  color: var(--primary, #98292b);
}

/* Share bar */
.av-share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #eef0f4;
}
.av-share-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary, #64748b);
  white-space: nowrap;
}
.av-share-btn {
  width: 38px; height: 38px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
  color: var(--text-secondary, #64748b);
}
.av-share-btn:hover {
  border-color: var(--primary, #98292b);
  color: var(--primary, #98292b);
  background: rgba(152,41,43,.05);
}
.av-share-btn svg {
  width: 16px; height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- Sidebar --- */
.av-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.av-sidebar-card {
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 14px;
  padding: 24px;
}
.av-sidebar-card-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary, #64748b);
  margin: 0 0 18px;
}

/* Related articles in sidebar */
.av-related-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.av-related-item a {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.av-related-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary, #1a2030);
  line-height: 1.38;
  transition: color .2s;
}
.av-related-item a:hover .av-related-title { color: var(--primary, #98292b); }
.av-related-meta {
  font-size: 12px;
  color: #aab0bc;
}

/* Product CTA card in sidebar */
.av-cta-card {
  background: linear-gradient(135deg, #1a2332 0%, #2a3654 100%);
  border: none;
}
.av-cta-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
}
.av-cta-desc {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,.6);
  margin: 0 0 18px;
}
.av-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--primary, #98292b);
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  transition: all .2s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.av-cta-btn:hover { background: #7a2123; gap: 10px; }
.av-cta-btn svg {
  width: 15px; height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* TOC */
.av-toc {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.av-toc-item a {
  display: block;
  font-size: 13px;
  color: var(--text-secondary, #64748b);
  text-decoration: none;
  padding: 7px 10px;
  border-radius: 6px;
  transition: all .2s;
  line-height: 1.4;
}
.av-toc-item a:hover {
  background: rgba(152,41,43,.06);
  color: var(--primary, #98292b);
}
.av-toc-item.active a {
  background: rgba(152,41,43,.08);
  color: var(--primary, #98292b);
  font-weight: 600;
}

/* --- Related Articles at Bottom --- */
.av-more-section {
  background: #f8f9fb;
  padding: 48px 0;
  border-top: 1px solid #eef0f4;
}
.av-more-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}
.av-more-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.av-more-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary, #1a2030);
  margin: 0;
  letter-spacing: -.02em;
}
.av-more-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary, #98292b);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap .2s;
}
.av-more-link:hover { gap: 9px; }
.av-more-link svg {
  width: 14px; height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.av-more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .al-hero h1 { font-size: 38px; }
  .al-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .al-featured { grid-template-columns: 1fr; }
  .al-featured-thumb { min-height: 220px; }
  .al-featured-body { padding: 28px 30px; }
  .al-featured-title { font-size: 22px; }

  .av-layout { grid-template-columns: 1fr; gap: 40px; }
  .av-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .av-sidebar-card { flex: 1 1 260px; }
  .av-hero h1 { font-size: 32px; }
  .av-more-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}

@media (max-width: 768px) {
  .al-hero { padding: 32px 0; }
  .al-hero h1 { font-size: 30px; }
  .al-hero-stats { gap: 24px; }
  .al-hero-stat strong { font-size: 22px; }
  .al-grid { grid-template-columns: 1fr; gap: 18px; }
  .al-featured-body { padding: 24px 20px; }
  .al-featured-title { font-size: 20px; }

  .av-hero { padding: 32px 0; }
  .av-hero h1 { font-size: 26px; }
  .av-layout { padding: 40px 16px 60px; }
  .av-stats-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .av-more-grid { grid-template-columns: 1fr; gap: 18px; }
  .av-sidebar { flex-direction: column; }
  .av-sidebar { display: none !important; }
}

@media (max-width: 480px) {
  .al-hero h1 { font-size: 26px; }
  .al-hero-stats { flex-direction: column; gap: 16px; }
  .al-section { padding: 32px 0; }
  .al-section-inner { padding: 0 16px; }
  .av-stats-row { grid-template-columns: 1fr; }
  .av-more-inner { padding: 0 16px; }
  .al-featured-title { font-size: 18px; }
}

/* ============================================================
   PAGINATION — WordPress paginate_links( type='list' )
   Output: <ul class="page-numbers"><li><a class="page-numbers">
   Used on: category-education.php, category-news-and-events.php, etc.
   ============================================================ */
.pl-pagination,
.site-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
  padding: 20px 0;
}
ul.page-numbers {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none !important;
  margin: 0;
  padding: 0;
}
ul.page-numbers li {
  margin: 0;
}
ul.page-numbers a,
ul.page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary, #4a5568);
  background: #fff;
  border: 1.5px solid #e2e6eb;
  text-decoration: none;
  transition: all .2s ease;
  line-height: 1;
  list-style: none !important;
}
ul.page-numbers a:hover {
  border-color: var(--primary, #98292b);
  color: var(--primary, #98292b);
  background: rgba(152,41,43,.04);
  transform: translateY(-1px);
}
ul.page-numbers .current {
  background: var(--primary, #98292b);
  color: #fff;
  border-color: var(--primary, #98292b);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(152,41,43,.25);
}
ul.page-numbers .dots {
  border: none;
  background: transparent;
  color: var(--text-muted, #8896ab);
  cursor: default;
  padding: 0 4px;
}
ul.page-numbers .prev svg,
ul.page-numbers .next svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 768px) {
  .pl-pagination,
  .site-pagination {
    margin-top: 32px;
    gap: 4px;
  }
  ul.page-numbers a,
  ul.page-numbers span {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    font-size: 13px;
    border-radius: 8px;
  }
}
