/* Professional Pioneers v1.9.118 focused project navigation refinements */

/* Project archive filter: category title and helper start on the same logical edge. */
.pp-archive-page-shell .pp-archive-toolbar .pp-work-filter-tab-copy {
  align-items: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
  text-align: start !important;
}

.pp-archive-page-shell .pp-archive-toolbar .pp-work-filter-tab-title,
.pp-archive-page-shell .pp-archive-toolbar .pp-archive-filter-label,
.pp-archive-page-shell .pp-archive-toolbar .pp-work-filter-state {
  display: block !important;
  align-self: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: 0 !important;
  padding-inline: 0 !important;
  text-align: start !important;
}

/* The archive CTA now belongs to the true bottom action area. */
.pp-archive-bottom-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(34px, 5vw, 72px);
  padding-top: clamp(26px, 4vw, 48px);
  border-top: 1px solid rgba(255,255,255,.12);
}

.pp-archive-bottom-actions .pp-archive-bottom-navigation {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.pp-archive-bottom-start-link {
  margin-inline-start: auto;
}

html[dir="rtl"] .pp-archive-bottom-actions,
body.rtl .pp-archive-bottom-actions {
  flex-direction: row-reverse;
}

html[dir="rtl"] .pp-archive-bottom-start-link,
body.rtl .pp-archive-bottom-start-link {
  margin-inline-start: 0;
  margin-inline-end: auto;
}

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

  .pp-archive-bottom-actions .pp-page-btn,
  .pp-archive-bottom-actions .pp-archive-bottom-navigation,
  .pp-archive-bottom-actions .pp-archive-bottom-navigation .pp-page-btn {
    width: 100% !important;
  }

  .pp-archive-bottom-start-link {
    margin-inline: 0 !important;
  }
}
