/*
  wd_top_actions.css
  - Shared top action bar layout for actor/work detail pages.
  - Goal: identical alignment/spacing between pages (single source of truth).
*/

.wd-top-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:nowrap;
}

/* Grouping within the top action bar (e.g., share buttons, list/overflow group) */
.wd-top-actions .wd-top-group{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:nowrap;
}

/* Make admin actions sit in the same baseline/gap system */
.wd-top-actions .wd-admin-actions{
  margin:0;
}

/* Prevent <details> (overflow) from shifting layout */
.wd-top-actions details{
  margin:0;
}

/* Tighten on small screens */
@media (max-width: 520px){
  .wd-top-actions{ gap:8px;  flex-wrap:wrap; }

  .wd-top-actions .wd-top-group{ gap:6px;  flex-wrap:wrap; }
}
