.dialog {
  position: relative;

  & .dialog__trigger {
    cursor: pointer;
  }

  & .dialog__content-wrapper {
    width: 100%;
    z-index: 99;
  }

  & .dialog__content {
    width: 90%;
    position: relative;
  }
}

.work-list .dialog, .section-work-list .dialog {
  position: absolute;
  inset: 0;
  & .dialog__content > * {
    flex-shrink: 0;
  }
}