/* Profile controls and project navigation refinements */

/* Project pages use the hamburger as the only persistent header control. */
.project-page .project-nav {
  justify-content: flex-end !important;
}

/* Align profile text with the top edge of the adjacent photography. */
.page-profile .about-content,
.page-profile .person-content {
  padding-top: 0 !important;
}

.page-profile .about-heading-row {
  margin-bottom: clamp(26px, 3vw, 38px);
}

/* Place the view selector directly to the left of Explore Work. */
.page-profile .profile-actions {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  margin-top: 18px;
}

.page-profile .profile-actions .view-switcher--inline {
  display: block;
  width: auto;
  margin: 0;
}

.page-profile .profile-actions .view-switcher__button {
  min-width: 0;
  padding: 10px 15px;
  border: 1px solid rgba(61, 51, 44, 0.38);
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.11em;
  line-height: 1;
  white-space: nowrap;
}

.page-profile .profile-actions .view-switcher__arrow {
  font-size: 11px;
}

.page-profile .profile-actions .explore-work {
  margin-top: 0;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .page-profile .about-content,
  .page-profile .person-content {
    padding-top: 0 !important;
  }

  .page-profile .profile-actions {
    gap: 10px;
    margin-top: 16px;
  }

  .page-profile .profile-actions .view-switcher__button {
    padding: 9px 13px;
    font-size: 9.5px;
  }
}

@media (max-width: 360px) {
  .page-profile .profile-actions {
    gap: 8px;
  }

  .page-profile .profile-actions .view-switcher__button {
    padding-inline: 11px;
  }

  .page-profile .profile-actions .explore-work {
    padding-inline: 16px;
  }
}
