/* Professional Pioneers v1.9.142 — centered, equal-width project archive actions. */

.pp-archive-page-shell .pp-archive-bottom-actions,
html[dir="rtl"] .pp-archive-page-shell .pp-archive-bottom-actions,
body.rtl .pp-archive-page-shell .pp-archive-bottom-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 320px)) !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 20px !important;
  width: 100% !important;
  margin-inline: auto !important;
}

.pp-archive-page-shell .pp-archive-bottom-actions .pp-archive-bottom-start-link,
.pp-archive-page-shell .pp-archive-bottom-actions .pp-archive-bottom-navigation {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  align-self: stretch !important;
}

.pp-archive-page-shell .pp-archive-bottom-actions .pp-archive-bottom-navigation {
  display: flex !important;
}

.pp-archive-page-shell .pp-archive-bottom-actions .pp-page-btn,
.pp-archive-page-shell .pp-archive-bottom-actions .pp-archive-bottom-navigation .pp-page-btn {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  min-height: 80px !important;
  margin: 0 !important;
  text-align: center !important;
}

@media (max-width: 767px) {
  .pp-archive-page-shell .pp-archive-bottom-actions,
  html[dir="rtl"] .pp-archive-page-shell .pp-archive-bottom-actions,
  body.rtl .pp-archive-page-shell .pp-archive-bottom-actions {
    grid-template-columns: minmax(0, 1fr) !important;
    max-width: 360px !important;
    gap: 14px !important;
  }

  .pp-archive-page-shell .pp-archive-bottom-actions .pp-archive-bottom-start-link,
  html[dir="rtl"] .pp-archive-page-shell .pp-archive-bottom-actions .pp-archive-bottom-start-link,
  body.rtl .pp-archive-page-shell .pp-archive-bottom-actions .pp-archive-bottom-start-link {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: stretch !important;
  }

  .pp-archive-page-shell .pp-archive-bottom-actions .pp-archive-bottom-navigation,
  html[dir="rtl"] .pp-archive-page-shell .pp-archive-bottom-actions .pp-archive-bottom-navigation,
  body.rtl .pp-archive-page-shell .pp-archive-bottom-actions .pp-archive-bottom-navigation {
    grid-column: 1 !important;
    grid-row: 2 !important;
    justify-self: stretch !important;
  }
}
